/* Account and access management surfaces; the application remains hidden until authentication. */
body.auth-locked>.sidebar,body.auth-locked>.main{display:none!important}body:not(.auth-locked)>#authScreen{display:none!important}.auth-screen{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(350px,.85fr);align-items:center;gap:7vw;padding:65px max(6vw,25px);max-width:1500px;margin:auto}.auth-intro{position:relative;min-width:0;padding:10px 0}.auth-brand{display:flex;align-items:center;gap:13px;color:#e1f5f5;font-size:29px;font-weight:600;margin-bottom:66px}.auth-brand small{display:block;font-size:9px;color:#638b9f;letter-spacing:3px;margin-top:5px}.auth-brand-mark{display:flex;width:47px;height:49px;align-items:center;justify-content:center;background:linear-gradient(150deg,#8effe3,#25bdd8);box-shadow:0 0 32px #25cfda26;color:#075064;border-radius:12px;font-size:32px}.auth-intro>.eyebrow{font-size:10px;letter-spacing:3px;color:#499db3}.auth-intro h1{font-size:43px;line-height:1.5;color:#d3eef6;font-weight:550;letter-spacing:1px;margin:19px 0 22px}.auth-intro>p{font-size:13px;line-height:2.2;color:#7e9fb5}.auth-deployment{display:flex;align-items:center;gap:8px;font-size:11px;color:#567f98;margin-top:26px}.auth-deployment i{height:14px;width:14px}.auth-visual{position:relative;height:185px;max-width:440px;margin:22px 0 5px;overflow:hidden;transform:perspective(580px) rotateX(27deg);background:linear-gradient(90deg,transparent,#10253466,transparent)}.auth-lane{position:absolute;inset:9px 80px 0;border-left:1px solid #2c627966;border-right:1px solid #2c627966;transform:skew(-13deg)}.auth-lane:before{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:2px dashed #35778c5e}.auth-car{position:absolute;width:47px;height:73px;border:1px solid #53d3d89c;border-radius:12px;background:linear-gradient(#173c4d,#122739);box-shadow:0 0 25px #18b7d219,inset 0 0 15px #71ebdf0d;transform:skew(-13deg)}.auth-car:before{content:"";position:absolute;inset:13px 7px 26px;border-radius:5px;border:1px solid #34748a;background:#0a1e32}.auth-car.one{left:30%;top:15px}.auth-car.two{left:58%;top:95px;border-color:#47d7a89e}.auth-scan{position:absolute;left:12%;right:5%;top:95px;height:1px;background:linear-gradient(90deg,transparent,#5ef6d9,transparent);box-shadow:0 0 22px #5feacf75}.auth-card{width:100%;max-width:470px;justify-self:end;background:linear-gradient(135deg,#10243a,#0b1627 68%);border:1px solid #2b4d66;border-radius:17px;padding:34px;box-shadow:0 28px 100px #0005,inset 0 1px #6fd9e508}.auth-card-heading{margin-bottom:28px}.auth-card-heading .eyebrow{font-size:9px;letter-spacing:2.8px;color:#5daabe}.auth-card h2{font-size:25px;margin:10px 0 12px;line-height:1.5}.auth-card-heading p{font-size:12px;line-height:1.9;color:#729bb2}.auth-card .form-field{font-size:12px;margin-bottom:20px}.auth-card .form-field input{width:100%;height:43px;font-size:13px;background:#081625;border-color:#2a475d}.auth-card .form-field small{font-size:10px;line-height:1.8}.auth-submit{width:100%;height:44px;margin-top:9px;justify-content:center;font-size:13px}.auth-note{margin:23px 0 0;padding-top:21px;border-top:1px solid #233e54;font-size:10px;line-height:1.9;color:#65869f}.auth-loading{padding:24px 0;color:#79b8cb;font-size:12px;line-height:1.9}.auth-card .form-error{font-size:11px;line-height:1.9;margin:12px 0}.auth-card #retryAuthButton{margin-top:13px;font-size:11px}
.account-menu{position:relative;z-index:30}.account-menu>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;color:#91b6cb}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>summary>i{width:12px;height:12px;transform:rotate(90deg);color:#527c94}.account-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;background:#123b47;color:#8cdbd5;border:1px solid #2a6672;border-radius:50%;font-size:12px;font-weight:600}.account-name{max-width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.account-dropdown{position:absolute;right:0;top:calc(100% + 15px);width:250px;border:1px solid #31526c;background:#0f2033;box-shadow:0 18px 55px #0007;border-radius:10px;padding:8px;z-index:60}.account-info{padding:10px 9px 13px;margin-bottom:5px;border-bottom:1px solid #274157;display:flex;flex-direction:column;gap:8px}.account-info strong{color:#c2e4ee;font-size:12px;font-weight:500;overflow-wrap:anywhere}.account-info span{font-size:10px;color:#6c97b0}.account-dropdown>button{display:flex;align-items:center;gap:10px;background:none;border:0;border-radius:6px;color:#92b3c9;width:100%;text-align:left;padding:11px 10px;font-size:11px}.account-dropdown>button i{height:14px;width:14px;color:#59afc2}.account-dropdown>button:hover{background:#19364c;color:#b4ebf0}.account-menu>summary:focus-visible{outline:2px solid #22d3ee;outline-offset:5px;border-radius:5px}
.access-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:5px 0 23px}.access-summary h2{font-size:17px;color:#c5e4ef;font-weight:550;margin-bottom:8px}.access-summary p{font-size:11px;color:#6f96af;line-height:1.9}.access-table .table-scroll{max-width:100%;overflow:auto}.access-table table{width:100%;border-collapse:collapse}.access-table th{font-size:11px;padding:17px 20px}.access-table td{padding:20px;font-size:12px}.access-user-name{display:flex;flex-direction:column;gap:8px;min-width:130px}.access-user-name strong{color:#c3e0ed;font-size:13px;font-weight:500}.access-user-name small{font-size:10px;color:#6f91a9;overflow-wrap:anywhere}.access-role-tag{display:inline-block;background:#112f43;border:1px solid #2b526a;border-radius:5px;color:#93c8da;padding:5px 8px;font-size:10px;line-height:1.5;white-space:normal}.access-super-label{display:block;color:#7ba7b9;font-size:9px;margin-top:7px}.access-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap}.access-status:before{content:"";height:5px;width:5px;border-radius:50%;background:currentColor}.access-status.enabled{color:#65d7ac}.access-status.disabled{color:#d0969f}.access-pending-password{display:block;font-size:9px;color:#af986d;margin-top:8px;line-height:1.7}.access-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.access-actions .button{font-size:10px;padding:6px 9px;white-space:nowrap}.access-actions .text-button{font-size:10px;white-space:nowrap}.access-actions .icon-button{width:27px;height:27px;color:#8e7b87}.access-actions .icon-button i{width:14px;height:14px}.role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.role-card{padding:22px;min-width:0}.role-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.role-heading h3{font-size:16px;color:#c7e7f1;font-weight:550;overflow-wrap:anywhere}.role-description{font-size:11px;line-height:1.9;color:#759cb3;min-height:42px;overflow-wrap:anywhere}.role-menu-tags{display:flex;flex-wrap:wrap;gap:6px;margin:19px 0 21px;min-height:26px}.role-menu-tags>span{padding:5px 7px;border-radius:4px;background:#14283a;color:#76a9bd;font-size:9px;border:1px solid #223e52}.role-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #223a4f;padding-top:16px}.role-footer>span,.role-footer small{font-size:10px;color:#6289a2;line-height:1.8}.role-footer>div{display:flex;align-items:center;gap:8px}.role-footer .text-button{font-size:10px;white-space:nowrap}.role-footer .icon-button{width:27px;height:27px}.role-footer .icon-button i{width:14px;height:14px}.access-empty{padding:50px 25px;text-align:center;color:#7ca4bb;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center}.access-empty>i{width:36px;height:36px;color:#4b9eb6;margin-bottom:18px}.access-empty h2{font-size:18px;margin-bottom:15px}.access-empty p{font-size:12px;line-height:1.9;max-width:480px}.access-dialog{width:520px}.access-dialog .form-field{font-size:12px}.access-dialog .form-field input,.access-dialog .form-field select{width:100%;font-size:12px;height:39px}.access-dialog .form-field small{font-size:10px;line-height:1.8}.access-dialog .checkbox-field{display:flex;align-items:center;gap:9px;font-size:12px;margin:3px 0 18px}.access-dialog .checkbox-field input{height:16px;width:16px;accent-color:#23bfcb}.access-dialog .form-error{font-size:11px;line-height:1.8;margin-top:14px}.role-dialog{width:740px}.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 5px}.permission-group{margin:0;padding:14px 13px 8px;border:1px solid #2a465e;border-radius:8px;background:#0b1a2b;min-width:0}.permission-group legend{font-size:12px;color:#a8cfde;padding:0 7px;font-weight:500}.permission-option{display:flex;align-items:flex-start;gap:9px;margin:0 0 14px;cursor:pointer}.permission-option input{height:15px;width:15px;margin:2px 0 0;accent-color:#26c0cb;flex-shrink:0}.permission-option>span{display:flex;flex-direction:column;gap:5px;min-width:0}.permission-option strong{font-size:11px;color:#9cbdd0;font-weight:500;line-height:1.5}.permission-option small{font-size:9px;color:#5f88a3;line-height:1.8;overflow-wrap:anywhere}.permission-option:has(input:disabled){opacity:.6}.access-dialog .modal-header h2{font-size:20px}.access-dialog .form-columns{gap:16px}.auth-locked .toast-stack{z-index:200}
@media(max-width:1180px){.auth-screen{gap:5vw;padding:50px 5vw}.auth-intro h1{font-size:36px}.auth-card{padding:28px}.auth-brand{margin-bottom:48px}.access-table th,.access-table td{padding:15px 13px}.access-actions{gap:6px}.access-actions .button{padding:6px}.role-card{padding:19px}.role-heading h3{font-size:15px}}
@media(max-width:970px){.auth-screen{grid-template-columns:minmax(0,1fr);max-width:520px;padding:42px 24px;gap:30px;align-content:center}.auth-intro{padding:0}.auth-brand{margin-bottom:22px}.auth-intro>.eyebrow,.auth-intro h1,.auth-intro>p,.auth-visual,.auth-deployment{display:none}.auth-card{justify-self:stretch;max-width:none}.account-name{max-width:88px}.role-grid{grid-template-columns:minmax(0,1fr)}.access-table table{min-width:650px}}
@media(max-width:720px){.auth-screen{padding:25px 19px;gap:22px;min-height:100dvh}.auth-brand{font-size:26px;margin:0 0 2px;gap:10px}.auth-brand-mark{height:40px;width:39px;border-radius:9px;font-size:26px}.auth-brand small{font-size:8px;letter-spacing:2.5px}.auth-card{padding:25px 21px;border-radius:13px}.auth-card h2{font-size:22px}.auth-card-heading{margin-bottom:23px}.auth-card-heading p{font-size:11px}.auth-card .form-field input{font-size:16px;height:43px}.auth-card .form-field{font-size:11px;margin-bottom:18px}.auth-note{font-size:9px;margin-top:20px;padding-top:17px}.account-name{display:none}.account-menu>summary{gap:5px}.account-avatar{height:27px;width:27px;font-size:11px}.account-dropdown{width:240px;right:0}.account-menu>summary>i{height:10px;width:10px}.access-toolbar{align-items:flex-start;gap:12px;margin:3px 0 19px}.access-summary h2{font-size:15px}.access-summary p{font-size:10px;max-width:195px}.access-toolbar>.button{font-size:10px;padding:8px 10px;white-space:nowrap}.access-toolbar>.button i{width:13px;height:13px}.access-table table,.access-table tbody{display:block;min-width:0}.access-table thead{display:none}.access-table tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px 12px;padding:18px 15px;border-bottom:1px solid #243b50}.access-table td{display:block;padding:0;border:0;white-space:normal}.access-table td:nth-child(1){grid-column:1;grid-row:1}.access-table td:nth-child(2){grid-column:2;grid-row:1;text-align:right}.access-table td:nth-child(3){grid-column:1/-1;grid-row:2}.access-table td:nth-child(4){grid-column:1/-1;grid-row:3}.access-table .table-empty{grid-column:1/-1}.access-user-name{min-width:0}.access-user-name strong{font-size:12px;overflow-wrap:anywhere}.access-user-name small{font-size:10px}.access-pending-password{display:inline;margin-left:10px}.access-actions{gap:10px}.access-actions .button{padding:6px 10px}.access-role-tag{font-size:9px;max-width:125px}.role-grid{gap:15px}.role-card{padding:18px 16px}.role-heading h3{font-size:14px}.role-description{font-size:10px}.role-footer>span,.role-footer small{font-size:9px}.role-menu-tags>span{font-size:8px}.role-menu-tags{margin:16px 0}.access-empty h2{font-size:16px}.access-empty p{font-size:11px}.access-empty{padding:36px 18px}.access-dialog .modal-header h2{font-size:18px}.access-dialog .modal-body{padding:20px 17px}.access-dialog .form-field input,.access-dialog .form-field select{font-size:16px}.access-dialog .form-field{font-size:11px}.access-dialog .form-field small{font-size:9px}.access-dialog .form-columns,.permission-groups{grid-template-columns:minmax(0,1fr)}.permission-groups{gap:14px}.permission-option strong{font-size:11px}.permission-option small{font-size:9px}.access-dialog .modal-footer .button{font-size:11px}}
