/* BentoX Studio compact corporate theme */
body.studio-app{margin:0;background:#f2f4f7;color:#24364a;font:13px/1.45 Arial, sans-serif}
.studio-app .studio-header{height:42px;background:#1e4b7d;color:#fff;padding:0 14px;display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;gap:8px}
.studio-app .studio-header strong{font-size:15px}.studio-header>span:last-child{text-align:right;font-size:12px}.hotel-heading{text-align:center;font-size:15px;font-weight:600}
.studio-app .studio-shell{display:flex;min-height:calc(100vh - 42px)}
.studio-app .studio-sidebar{width:180px;flex:0 0 180px;background:#20354c;color:#fff;padding:12px 8px;font-size:13px}
.studio-sidebar small{display:block;color:#afc3d7;font-size:10px;letter-spacing:.4px;margin:2px 8px 10px}.studio-sidebar a{display:block;color:#fff;text-decoration:none;padding:7px 9px;margin:2px 0;border-radius:4px}.studio-sidebar a:hover,.studio-sidebar a.active{background:#365775}.studio-sidebar form{margin:10px 8px}
.studio-app main{flex:1;min-width:0;padding:12px 16px}.studio-app h1,.studio-app h2{font-size:18px;font-weight:600;margin:0 0 12px}.studio-app h3,.studio-app h4,.studio-app h5,.studio-app .modal-title{font-size:16px}
.studio-app .studio-panel,.studio-app .studio-login{background:#fff;border:1px solid #d9e0e8;border-radius:6px;padding:10px}.studio-app .studio-login{max-width:400px;margin:35px auto;padding:22px}.studio-login label{display:block;margin:12px 0 5px}
.studio-app .form-control,.studio-app .form-select,.studio-app .btn{font-size:12px;padding:5px 9px;line-height:1.4;border-radius:4px}.studio-app .btn-primary{background:#1e4b7d;border-color:#1e4b7d;color:white}.studio-app .btn-primary:hover{background:#163c67}
.studio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.studio-search{position:relative;width:min(420px,75%);margin:0}.studio-search .form-control{padding-right:34px;border-radius:16px}.studio-search-button{position:absolute;right:4px;top:0;height:100%;border:0;background:transparent;color:#657789;padding:0 8px}
.studio-app .table{font-size:12px;margin:0;color:#24364a;--bs-table-color:#24364a;--bs-table-hover-bg:#f3f7fb}.studio-app .table th,.studio-app .table td{padding:5px 8px;height:30px;vertical-align:middle;border-color:#e8edf2}.studio-app .table thead th{font-weight:600;background:#f5f7fa;white-space:nowrap}.studio-action{border:0;background:transparent;color:#1e4b7d;padding:2px 4px;line-height:1;vertical-align:middle;border-radius:3px}.studio-action:hover,.studio-action:focus-visible{background:#e3edf7}.studio-active{color:#16804a}.studio-suspended{color:#b33b3b}.studio-grid-footer{padding:8px 4px 2px;color:#667788;font-size:11px}
.studio-app .modal-content{border-radius:6px}.studio-app .modal-header,.studio-app .modal-footer{padding:10px 14px}.studio-app .modal-body{padding:14px}.studio-app .form-label{margin-bottom:4px}
@media(max-width:700px){.studio-app .studio-shell{display:block}.studio-app .studio-sidebar{width:auto;display:flex;flex-wrap:wrap;align-items:center;gap:4px}.studio-sidebar small{width:100%}.studio-app main{padding:10px}.studio-app .studio-header{grid-template-columns:1fr 1fr 1fr}.studio-app .studio-header strong,.hotel-heading{font-size:12px}}

/* Authentication cards and standard grid toolbar */
.studio-anonymous .studio-header{height:70px}.auth-tagline{display:block;font-size:12px;margin-top:5px;font-weight:400}.studio-anonymous .studio-shell{min-height:calc(100vh - 70px);background:#f0f4f8}.studio-app .auth-card{max-width:390px;margin:20px auto;padding:18px;border-radius:12px;border-color:#ddd}.studio-app .auth-card h1{color:#1e4b7d;font-size:18px;margin-bottom:16px}.auth-tabs{display:flex;gap:3px;flex-wrap:wrap;margin-bottom:15px}.auth-tabs button{border:0;border-radius:22px;background:transparent;color:#777;padding:7px 9px;font:600 12px Arial}.auth-tabs button[aria-pressed=true]{background:#e8eef5;color:#1e4b7d}.studio-app .auth-card .form-control,.studio-app .auth-card .form-select{border-radius:22px;padding:9px 15px;font-size:13px}.studio-app .auth-card label{font-size:13px;font-weight:500}.studio-app .auth-submit{width:100%;padding:12px;margin-top:12px;border-radius:7px;font-weight:600;font-size:13px}.auth-link{display:block;text-align:center;margin-top:16px;color:#222;text-decoration:none}.auth-link[hidden]{display:none}.auth-identity{background:#eaf1f8;border-radius:6px;padding:10px;display:flex;flex-direction:column;gap:5px}.auth-identity strong{font-size:22px;color:#1e4b7d}.studio-toolbar .studio-search{flex:1;width:auto}.studio-toolbar .studio-toolbar-actions{display:flex;gap:7px;align-items:center}.studio-app .studio-toolbar .btn{border-radius:20px;padding:5px 13px;white-space:nowrap}.studio-app .studio-toolbar .btn-primary{background:#171717;border-color:#171717}.studio-toolbar svg{vertical-align:-2px}

/* OTP: one accessible input, six visual digit cells */
.otp-entry{position:relative}.otp-cells{display:none}.otp-enhanced .otp-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;pointer-events:none}.otp-enhanced .otp-cells span{display:flex;align-items:center;justify-content:center;aspect-ratio:1;border:1px solid #cbd5e1;border-radius:5px;background:white;font-size:22px;font-weight:600;color:#1e4b7d}.studio-app .auth-card .otp-enhanced .otp-code{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:text;z-index:1}.otp-enhanced:focus-within .otp-current{border-color:#1e4b7d;box-shadow:0 0 0 2px #dce8f5}

/* Phase 1 visual foundation: no remote assets or additional data requests. */
body.studio-app{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#20334a;background:#eef2f6;font-size:13px}
.studio-app .studio-header{height:52px;padding:0 20px;background:#1e4b7d}.studio-app .studio-header strong{font-size:17px;letter-spacing:-.3px}.studio-app .studio-shell{min-height:calc(100vh - 52px)}
.studio-app .studio-sidebar{width:208px;flex-basis:208px;background:#172d45;padding:16px 10px}.studio-sidebar a{padding:8px 12px;border-radius:6px;color:#e2ebf4}.studio-sidebar a:hover,.studio-sidebar a.active{background:#2b4c6c;color:white}.studio-sidebar small{letter-spacing:1px;font-weight:600}.studio-sidebar form .btn{width:100%;text-align:left}
.studio-app main{padding:20px;min-width:0}.studio-app h1,.studio-app h2{font-size:21px;letter-spacing:-.35px;color:#142e4c;font-weight:650}.studio-app .studio-panel{padding:14px;border-color:#dce3eb;border-radius:10px;box-shadow:0 2px 6px #172d4508}.studio-app .table{font-size:13px}.studio-app .table th,.studio-app .table td{height:32px;padding:6px 9px}.studio-app .table thead th{background:#f0f4f8;color:#40566d}.studio-app .form-control,.studio-app .form-select,.studio-app .btn{font-family:inherit;font-size:13px;border-radius:6px}.studio-app .form-control,.studio-app .form-select{border-color:#d4dee8}.studio-app .form-control:focus,.studio-app .form-select:focus{border-color:#7092b5;box-shadow:0 0 0 3px #1e4b7d15}.studio-app .modal-content{border:1px solid #dce3eb;border-radius:12px;box-shadow:0 12px 32px #142e4c20}.studio-app .modal-header,.studio-app .modal-footer{padding:14px 18px}.studio-app .modal-body{padding:18px}.studio-app .modal-title{font-weight:650;color:#142e4c}.studio-app .studio-toolbar .btn{border-radius:7px;padding:7px 13px}.studio-app .studio-toolbar .btn-primary{background:#1e4b7d;border-color:#1e4b7d}.studio-app .studio-search .form-control{border-radius:7px}
.studio-anonymous .studio-shell{min-height:100vh;background:#edf1f5}.studio-anonymous main{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px 16px}.studio-app .auth-card{width:100%;max-width:440px;margin:24px auto;padding:30px 32px;border:1px solid #dce3eb;border-radius:18px;box-shadow:0 12px 32px #142e4c0c}.studio-anonymous .auth-card{margin:0 auto}.auth-brand{text-align:center;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #e2e8f0}.auth-mark{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 12px;background:#1e4b7d;color:white;border-radius:14px;font-size:32px;font-weight:750}.auth-brand-name{font-size:27px;font-weight:750;color:#142e4c;letter-spacing:-.8px}.auth-brand-tagline,.auth-company,.auth-subtitle{color:#60758e;font-size:13px}.auth-company{font-size:12px;margin-top:4px}.studio-app .auth-card h1{font-size:22px;margin-bottom:6px;color:#142e4c}.auth-subtitle{margin-bottom:20px}.auth-tabs{background:#edf1f5;padding:4px;border-radius:8px;gap:2px;margin:16px 0}.auth-tabs button{flex:1;white-space:nowrap;border-radius:6px;padding:9px 4px;font:600 11px system-ui;color:#60758e}.auth-tabs button[aria-pressed=true]{background:white;color:#1e4b7d;box-shadow:0 1px 3px #142e4c15}.studio-app .auth-card label{font-weight:600;color:#20334a;margin:16px 0 7px}.studio-app .auth-card .form-control{border-radius:8px;padding:12px;font-size:14px;min-height:44px}.studio-app .auth-submit{margin-top:22px;border-radius:8px;min-height:46px;font-size:14px}.auth-link{color:#1e4b7d;font-weight:600;margin-top:20px}.auth-footer{color:#60758e;font-size:12px;text-align:center;margin-top:20px}.auth-password-wrap{position:relative}.studio-app .auth-password-wrap input{padding-right:64px}.auth-password-toggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#1e4b7d;font-size:12px;padding:6px}.auth-password-toggle:focus-visible{outline:2px solid #1e4b7d}.studio-app .auth-card .otp-enhanced .otp-code{min-height:0}.auth-card [role=status]:empty{display:none}
@media(max-width:700px){.studio-app .studio-sidebar{width:auto}.studio-app main{padding:12px}.studio-app .auth-card{padding:24px 20px}.studio-app .studio-header{padding:0 10px}.studio-app .studio-toolbar{flex-wrap:wrap}.studio-app .studio-toolbar .studio-search{min-width:140px}.studio-anonymous main{padding:20px 12px}.auth-tabs button{font-size:11px}}

/* Preserve the approved top-aligned authentication layout. */
.studio-app.studio-anonymous main{justify-content:flex-start;align-items:center;padding:40px 16px 24px}
/* Shared authenticated grid design. */
.studio-page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}
.studio-page-heading h1{margin:3px 0 4px;font-size:23px}.studio-page-heading p{margin:0;color:#64748b;font-size:13px}.studio-eyebrow{font-size:11px;font-weight:650;color:#64748b;letter-spacing:.5px;text-transform:uppercase}
.studio-app:not(.studio-anonymous) .studio-header{background:#fff;color:#142e4c;border-bottom:1px solid #dce3eb}.studio-app:not(.studio-anonymous) .studio-header>span:last-child{color:#52677e}.studio-app .studio-sidebar{padding:18px 12px}.studio-sidebar a{font-weight:500}.studio-sidebar a.active{box-shadow:inset 3px 0 #90b9e6}
.studio-app .studio-grid-panel{padding:0;overflow:hidden}.studio-grid-panel .studio-toolbar{padding:14px 16px;margin:0;flex-wrap:wrap}.studio-grid-panel .studio-search{max-width:380px}.studio-grid-panel .studio-search .form-control{min-height:35px}.studio-grid-panel .studio-toolbar .btn{min-height:35px;display:inline-flex;align-items:center;gap:6px;font-weight:600}.studio-grid-panel .table thead th{border-top:1px solid #e2e8f0;border-bottom:1px solid #dce3eb;font-size:12px}.studio-grid-panel .table td,.studio-grid-panel .table th{padding:7px 12px;height:34px}.studio-grid-panel .studio-grid-footer{padding:11px 16px;border-top:1px solid #e2e8f0;font-size:12px}.studio-grid-panel .studio-action{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;text-decoration:none}.studio-grid-panel .studio-active,.studio-grid-panel .studio-suspended{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600}.studio-grid-panel .studio-active:before,.studio-grid-panel .studio-suspended:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.studio-grid-panel .studio-empty{text-align:center;padding:28px;color:#64748b}.studio-app .modal-body .form-label{font-weight:600;color:#40566d}.studio-app .modal-footer .btn{min-width:76px}.studio-app .modal-body .form-control,.studio-app .modal-body .form-select{min-height:34px}
@media(max-width:700px){.studio-app.studio-anonymous main{padding:20px 12px}.studio-grid-panel .studio-toolbar{padding:10px}.studio-page-heading h1{font-size:20px}}

/* Approved grid and application header colors */
.studio-app .table > tbody > tr:nth-child(odd) > * {--bs-table-bg:#fff;--bs-table-striped-bg:#fff;background-color:#fff}
.studio-app .table > tbody > tr:nth-child(even) > * {--bs-table-bg:#f1f5f9;--bs-table-striped-bg:#f1f5f9;background-color:#f1f5f9}
.studio-app .table thead th {background:#e2e9f1;color:#40566d;border-bottom:1px solid #cdd8e4}
.studio-app .table {--bs-table-hover-bg:#e6eef7}
.studio-app:not(.studio-anonymous) .studio-header {background:#e0e7ef;color:#142e4c;border-bottom:1px solid #cdd8e4}
/* Shared dialog refinement */
.studio-app .modal-header{background:#e0e7ef;border-radius:11px 11px 0 0}
.studio-app .modal-body .validation-summary-valid{display:none}
.studio-app .modal-body .form-control,.studio-app .modal-body .form-select{min-height:36px}
/* Rights allocation */
.studio-rights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;align-items:start}
.studio-rights-group{min-width:0;border:1px solid #d4dee8;border-radius:8px;background:#fff;overflow:hidden;padding:0 0 8px;margin:0}
.studio-rights-group legend{float:none;width:100%;font-size:14px;font-weight:650;color:#142e4c;background:#e2e9f1;padding:10px 14px;margin:0 0 4px}
.studio-rights-all,.studio-rights-option{display:flex;align-items:center;gap:9px;padding:7px 14px;margin:0;cursor:pointer}
.studio-rights-all{font-size:12px;color:#52677e;border-bottom:1px solid #e2e8f0;margin-bottom:3px}
.studio-rights-option:hover{background:#f1f5f9}
.studio-rights-group .form-check-input{float:none;margin:0;flex-shrink:0}
.studio-rights-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;padding:12px 14px;background:#fff;border:1px solid #d4dee8;border-radius:8px;color:#52677e}

/* Administrator dialog */
#adminModal .admin-dialog{max-width:560px;margin:30px auto}
#adminModal .modal-body{padding:18px}
#adminModal .admin-description{color:#64748b;margin:0 0 12px}
#adminModal .admin-field{margin:0 0 12px;padding:0;border:0;min-width:0}
#adminModal .admin-field legend{float:none;width:auto;font-size:13px}
#adminModal .admin-required{color:#b42318}
#adminModal.admin-view .admin-required{display:none}
#adminModal .admin-help{font-size:12px;color:#64748b;margin-top:5px}
#adminModal .admin-status-options{display:flex;gap:20px;align-items:center}
#adminModal .admin-status-options label{display:inline-flex;gap:7px;align-items:center;cursor:pointer}
#adminModal .form-check-input{margin:0;float:none}
#adminModal .form-check-input:checked{background-color:#1e4b7d;border-color:#1e4b7d}
#adminModal .admin-notice{display:flex;gap:8px;align-items:flex-start;background:#f1f5f9;color:#40566d;padding:10px;border-radius:6px;font-size:12px}
#adminModal .admin-notice svg{flex-shrink:0}
#adminModal [hidden]{display:none!important}
#adminModal .modal-footer .btn{min-height:36px}
@media(max-width:600px){#adminModal .admin-dialog{margin:16px 10px}}
