.turnstile-box{justify-content:center;min-height:70px;margin-block:6px 12px;display:flex}.otp-digits{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:14px 0 22px;display:grid}.otp-digits input{text-align:center;font-variant-numeric:tabular-nums;direction:ltr;border-radius:10px;width:100%;min-width:0;height:58px;padding:0;font-size:26px;font-weight:650}.local-entry .auth-secondary{color:inherit;box-shadow:none;background:0 0;border:1px solid #cbd5e1;margin-top:10px}.auth-success{text-align:center;padding-top:14px}.auth-success button{width:100%}.auth-success-mark{color:#176747;background:#e7f6ef;border-radius:50%;place-items:center;width:56px;height:56px;margin:2px auto 20px;font-size:30px;display:grid}@media (max-width:380px){.otp-digits{gap:5px}.otp-digits input{height:50px;font-size:22px}}.auth-notice{overflow-wrap:anywhere;color:var(--muted,#526071);margin-block:1rem 0;font-size:.875rem;line-height:1.7}.resend-section{gap:.65rem;min-width:0;margin-block-start:1rem;display:grid}.resend-countdown{margin:0;font-size:.875rem;line-height:1.6}.resend-button{cursor:pointer;min-height:44px}.resend-button:disabled{cursor:not-allowed;opacity:.5}.app-header{z-index:900;border-bottom:1px solid var(--border-default);background:color-mix(in srgb, var(--bg-surface) 94%, transparent);width:100%;box-shadow:var(--shadow-header);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);position:sticky;top:0}.app-header-inner{justify-content:space-between;align-items:center;gap:1rem;width:min(100%,1160px);min-height:68px;margin-inline:auto;padding-inline:clamp(1rem,4vw,4rem);display:flex}.app-brand{min-width:0;color:var(--text-primary);white-space:nowrap;align-items:center;gap:.7rem;font-size:1.02rem;font-weight:800;line-height:1.5;text-decoration:none;display:inline-flex}.app-brand-mark{width:2.35rem;height:2.35rem;color:var(--text-on-brand);background:var(--brand-primary);box-shadow:var(--shadow-control);border-radius:.72rem;flex:none;place-items:center;display:grid}.app-header-actions{justify-content:flex-end;align-items:center;gap:.55rem;min-width:0;display:flex}.header-control{border:1px solid var(--border-default);min-width:44px;min-height:44px;color:var(--text-primary);background:var(--bg-surface);box-shadow:none;white-space:nowrap;border-radius:.72rem;justify-content:center;align-items:center;gap:.42rem;margin:0;padding:.55rem .72rem;font-size:.84rem;display:inline-flex}.header-control:hover:not(:disabled){color:var(--brand-primary-hover);border-color:var(--brand-accent);background:var(--bg-brand-soft)}.icon-control{padding:.55rem}.icon-control svg{display:block}.user-menu-root{position:relative}.user-menu{z-index:1000;overscroll-behavior:contain;border:1px solid var(--border-default);width:min(19rem,100vw - 2rem);max-height:min(70dvh,30rem);color:var(--text-primary);background:var(--bg-elevated);box-shadow:var(--shadow-dialog);border-radius:.9rem;padding:.42rem;position:absolute;inset-block-start:calc(100% + .55rem);inset-inline-end:0;overflow-y:auto}.user-menu-section{gap:.18rem;display:grid}.user-menu-section+.user-menu-section{border-top:1px solid var(--border-default);margin-top:.38rem;padding-top:.38rem}.user-menu a,.user-menu button{width:100%;min-height:44px;color:var(--text-primary);box-shadow:none;text-align:start;background:0 0;border:0;border-radius:.62rem;align-items:center;margin:0;padding:.68rem .78rem;font-size:.9rem;font-weight:700;line-height:1.5;text-decoration:none;display:flex}.user-menu a:hover,.user-menu button:hover:not(:disabled),.user-menu a[aria-current=page]{color:var(--brand-primary-hover);background:var(--bg-brand-soft)}.admin-menu-section a{color:var(--brand-primary)}@media (max-width:599px){.app-header-inner{gap:.5rem;min-height:62px;padding-inline:.75rem}.app-header-actions{gap:.35rem}.header-control{padding-inline:.55rem}.language-control span[aria-hidden=true]{display:none}.app-brand{gap:.5rem;font-size:.92rem}.app-brand-mark{width:2.15rem;height:2.15rem}}@media (max-width:359px){.app-header-inner{padding-inline:.55rem}.header-control{min-width:42px;min-height:42px;padding:.45rem}.language-control span:last-child{font-size:.77rem}}@media (prefers-reduced-motion:reduce){.app-header{-webkit-backdrop-filter:none;backdrop-filter:none}}.admin-overview{gap:1.25rem;display:grid}.admin-hub-hero{border:1px solid var(--border);background:linear-gradient(135deg,var(--surface),var(--tint));border-radius:1.25rem;padding:clamp(1.25rem,3vw,2rem)}.admin-hub-hero h2,.admin-hub-hero p{margin:0}.admin-hub-hero h2{font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.3}.admin-hub-hero p:not(.eyebrow){color:var(--muted);margin-top:.55rem;line-height:1.75}.admin-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.admin-feature-card{border:1px solid var(--border);min-width:0;color:var(--text);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:1rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:.85rem;padding:1.1rem;text-decoration:none;display:grid}.admin-feature-card.is-primary{border-color:color-mix(in srgb,var(--primary) 45%,var(--border));background:linear-gradient(135deg,var(--surface),var(--tint));grid-column:span 2}.admin-feature-card h3,.admin-feature-card p{margin:0}.admin-feature-card p{color:var(--muted);margin-top:.35rem;line-height:1.65}.admin-feature-card div>span{color:var(--primary);margin-top:.55rem;font-size:.82rem;font-weight:700;display:block}.admin-feature-card>b{color:var(--primary);align-self:center}.admin-subheading{margin-top:1.25rem!important}.admin-intro p{color:var(--muted);max-width:48rem;margin:.55rem 0 0;line-height:1.75}.admin-title-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.read-only-badge{border:1px solid var(--border);background:var(--tint);color:var(--primary-dark);border-radius:999px;padding:.35rem .7rem;font-size:.875rem;font-weight:700;display:inline-flex}.admin-updated{color:var(--muted);margin:0;font-size:.875rem;line-height:1.7}.admin-section{min-width:0}.admin-section>h3{margin:0 0 .8rem;font-size:1.1rem;line-height:1.6}.admin-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.admin-status-card{background:var(--surface);border:1px solid var(--border);border-radius:1rem;min-width:0;padding:1.15rem}.admin-status-title{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.65rem;display:flex}.admin-status-title h4{margin:0;font-size:1rem;line-height:1.6}.health-badge{border-radius:999px;align-items:center;gap:.4rem;padding:.3rem .6rem;font-size:.875rem;font-weight:700;line-height:1.5;display:inline-flex}.health-badge>span{background:currentColor;border-radius:50%;flex:none;width:.45rem;height:.45rem}.health-unavailable{color:var(--muted);background:var(--neutral-bg)}.admin-status-card dl{gap:.55rem;margin:1rem 0 0;display:grid}.admin-status-card dl>div{flex-wrap:wrap;justify-content:space-between;gap:.35rem .6rem;font-size:.875rem;line-height:1.7;display:flex}.admin-status-card dt{color:var(--muted)}.admin-status-card dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0}.admin-reason{margin:.85rem 0 0;font-size:.875rem;line-height:1.7}.health-text-delayed{color:var(--warning)}.health-text-stale{color:var(--danger)}.health-text-unavailable{color:var(--muted)}.admin-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:0;display:grid}.admin-metric{background:var(--surface);border:1px solid var(--border);border-radius:1rem;min-width:0;padding:1.1rem 1.2rem}.admin-metric dt{min-height:2.8rem;color:var(--muted);align-items:center;gap:.4rem;font-size:.9rem;line-height:1.5;display:flex}.admin-metric dd{color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:.5rem 0 0;font-size:clamp(1.5rem,2.8vw,2rem);font-weight:700;line-height:1.5}.metric-help{width:1.5rem;height:1.5rem;color:var(--primary);cursor:help;border-radius:50%;flex:none;place-items:center;display:inline-grid}.admin-unavailable-note{color:var(--muted);background:var(--neutral-bg);border-radius:.75rem;margin:.75rem 0 0;padding:.85rem 1rem;font-size:.875rem;line-height:1.75}.admin-message{border:1px solid var(--border);background:var(--surface);border-radius:1rem;padding:1.2rem;line-height:1.8}.admin-message p{margin:0 0 .75rem}.admin-entry-button{border:1px solid var(--primary);color:var(--primary);background:var(--surface)}@media (max-width:1023px){.admin-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-feature-card.is-primary{grid-column:1/-1}.admin-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-status-grid>:last-child{grid-column:1/-1}.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:599px){.admin-feature-grid{grid-template-columns:minmax(0,1fr)}.admin-feature-card.is-primary{grid-column:auto}.admin-feature-card{grid-template-columns:auto minmax(0,1fr)}.admin-feature-card>b{grid-column:2}.admin-status-grid,.admin-metric-grid{grid-template-columns:minmax(0,1fr)}.admin-status-grid>:last-child{grid-column:auto}.admin-metric dt{min-height:0}.admin-status-card,.admin-metric{padding:1rem}.admin-metric{justify-content:space-between;align-items:center;gap:1rem;display:flex}.admin-metric dd{margin:0;font-size:1.6rem}.admin-metric dt{max-width:65%}}.profile-heading,.page-header,.dashboard-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.profile-heading{margin-bottom:1.5rem}.profile-logout,.profile-retry,.dashboard-actions button,.page-header button{width:auto;min-height:44px;margin:0;padding:.68rem 1rem;font-size:.9rem}.profile-retry{margin-top:.75rem}.dashboard-header{background:linear-gradient(130deg,#f4fbf9 0%,#fff 68%);border:1px solid #d9e7e3;border-radius:1.1rem;align-items:flex-end;margin-bottom:clamp(1.25rem,2.5vw,2rem);padding:clamp(1rem,2vw,1.5rem)}.dashboard-welcome{flex:26rem;min-width:0}.dashboard-welcome>p:last-child{color:#64748b;max-width:42rem;margin:.45rem 0 0;line-height:1.7}.active-account{color:#14645c;align-items:center;gap:.5rem;margin:0 0 .55rem;font-size:.84rem;font-weight:700;display:inline-flex}.active-account span{background:#18a47d;border-radius:50%;width:.55rem;height:.55rem;box-shadow:0 0 0 4px #18a47d1f}.dashboard-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.dashboard-actions .primary-service-button{background:#0c766f;min-width:10.5rem}.dashboard-actions .profile-logout{color:#173b53;background:#fff;border:1px solid #cbd5e1}.dashboard-actions .profile-logout:hover:not(:disabled){background:#edf8f5;border-color:#12827b}.dashboard-card-grid{grid-template-columns:minmax(0,1.2fr) minmax(18rem,.8fr);align-items:stretch;gap:clamp(1rem,2vw,1.5rem);display:grid}.profile-details dt,.summary-metrics dt{color:#64748b;margin-bottom:.35rem;font-size:.88rem}.card-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.card-title-row h3{margin-bottom:0}.super-admin-badge{color:#165239;white-space:nowrap;background:#eaf5ee;border:1px solid #bdd6cd;border-radius:999px;align-items:center;padding:.38rem .68rem;font-size:.8rem;font-weight:700;display:inline-flex}.summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1.35rem 0;display:grid}.summary-metrics div{background:#f7faf9;border-radius:.8rem;min-width:0;padding:.85rem}.summary-metrics dd{color:#173b53;overflow-wrap:anywhere;margin:0;font-size:1rem;font-weight:700;line-height:1.55}.details-button{color:#0c625d;background:#fff;border:1px solid #b8d8d1;width:100%;min-height:44px;margin:0}.details-button:hover:not(:disabled){background:#edf8f5;border-color:#0c766f}.permissions-status{color:#654d16;background:#fff9ea;border:1px solid #ead9ab;border-radius:.85rem;margin:0 0 1.25rem;padding:1rem;font-size:1rem;line-height:1.7}.access-dialog{color:#10233f;background:#fff;border:0;border-radius:1.1rem;width:min(100% - 2rem,43rem);max-height:min(90dvh,46rem);padding:0;overflow:hidden;box-shadow:0 24px 80px #081c2d47}.access-dialog[open]{flex-direction:column;display:flex}.access-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#081c2d94}.access-dialog>header{z-index:1;background:#fff;border-bottom:1px solid #e5ece8;flex:none;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.35rem 1.35rem 1rem;display:flex;position:relative}.access-dialog .eyebrow,.catalog-intro .eyebrow{color:#0c766f;margin:0 0 .35rem}.access-dialog h2{font-size:clamp(1.35rem,2vw,1.65rem)}.dialog-close{color:#173b53;background:#fff;border:1px solid #d4dee7;border-radius:.75rem;flex:none;width:44px;height:44px;margin:0;padding:0;font-size:1.6rem;line-height:1}.access-dialog-content{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;padding:1rem 1.35rem 1.25rem;overflow:hidden auto}.access-dialog>footer{background:#fff;border-top:1px solid #e5ece8;flex:none;width:100%;padding:.9rem 1.35rem 1.2rem;position:relative}.access-dialog>footer button{width:100%;min-height:44px;margin:0}.dialog-handle{display:none}.all-companies-label{color:#14645c;margin:0 0 1rem;font-weight:700}.company-access{border-bottom:1px solid #e5ece8;min-width:0}.company-access:last-child{border-bottom:0}.company-access summary{cursor:pointer;overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:1rem;min-height:52px;padding:.75rem .25rem;font-weight:700;display:flex}.company-access summary span{color:#14645c;background:#eaf5ee;border-radius:999px;flex:none;place-items:center;min-width:1.8rem;height:1.8rem;padding-inline:.35rem;font-size:.8rem;display:grid}.scope-permission-chips{flex-wrap:wrap;gap:.55rem;margin:0;padding:0 0 1rem;list-style:none;display:flex}.scope-permission-chips li{color:#254b3c;overflow-wrap:anywhere;background:#f3f8f5;border:1px solid #dce7e1;border-radius:.7rem;min-width:0;padding:.55rem .75rem;font-size:.9rem;line-height:1.5}.service-catalog-page{gap:clamp(1.25rem,2.5vw,2rem);display:grid}.page-header{border-bottom:1px solid #e2e8f0;padding-bottom:1rem}.page-header .back-button{color:#173b53;background:#fff;border:1px solid #cbd5e1}.page-header .back-button:hover:not(:disabled){background:#edf8f5;border-color:#12827b}.catalog-intro{max-width:45rem}.catalog-intro h2{margin-bottom:.45rem}.catalog-intro>p:last-child{color:#64748b;margin:0;line-height:1.75}.service-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.service-card{background:#fff;border:1px solid #dce7e1;border-radius:1rem;grid-template-rows:auto 1fr auto;gap:1rem;min-width:0;min-height:15rem;padding:1.25rem;display:grid;box-shadow:0 4px 18px #10233f0a}.service-card-icon{color:#0c766f;background:#eaf7f4;border-radius:.8rem;place-items:center;width:2.7rem;height:2.7rem;font-size:1.25rem;display:grid}.service-card h3{margin:0 0 .45rem;font-size:1.1rem;line-height:1.55}.service-card p{color:#64748b;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;line-height:1.7;display:-webkit-box;overflow:hidden}.service-card button{align-self:end;width:100%;min-height:44px;margin:0}.empty-services{text-align:center;background:#fafcfc;border:1px dashed #cbd5e1;border-radius:1rem;padding:clamp(1.5rem,4vw,3rem)}.empty-services h3{margin:0 0 .5rem}.empty-services p{color:#64748b;margin:0}@media (max-width:1023px){.dashboard-card-grid{grid-template-columns:minmax(0,1fr)}.service-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.dashboard-header{align-items:stretch}.dashboard-actions{justify-content:stretch;width:100%}.dashboard-actions>button{flex:9rem}.summary-metrics{grid-template-columns:minmax(0,1fr)}}@media (max-width:599px){.profile-heading{gap:.8rem;margin-bottom:1.25rem}.dashboard-header{padding:1rem}.dashboard-actions{grid-template-columns:1fr;display:grid}.dashboard-actions .profile-logout,.dashboard-actions .primary-service-button{width:100%}.service-card-grid{grid-template-columns:minmax(0,1fr)}.page-header{align-items:stretch}.page-header>button{width:100%}.access-dialog{border-radius:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;inset:0}.dialog-handle{display:none}.access-dialog>header{padding-top:max(.9rem, env(safe-area-inset-top))}.access-dialog>footer{padding-bottom:max(1rem, env(safe-area-inset-bottom))}}@media (max-width:359px){.dashboard-header,.profile-card,.service-card{padding:1rem}.access-dialog>header,.access-dialog-content,.access-dialog>footer{padding-inline:1rem}}@media (prefers-reduced-motion:reduce){.access-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}:root{color:#10233f;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f7fb;font-family:Segoe UI,Tahoma,Arial,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}.shell{min-height:100vh;background:#fff;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);min-height:100svh;display:grid}.intro{color:#fff;background:linear-gradient(145deg,#0b1930 0%,#123e5c 58%,#0d6f73 100%);flex-direction:column;justify-content:space-between;padding:clamp(2rem,5vw,4.5rem);display:flex;position:relative;overflow:hidden}.intro:before,.intro:after{content:"";pointer-events:none;border-radius:50%;position:absolute}.intro:before{border:1px solid #ffffff29;width:28rem;height:28rem;inset:-13rem auto auto -14rem}.intro:after{background:#25c4b11a;width:22rem;height:22rem;inset:auto -9rem -10rem auto}.brand,.trust-note{z-index:1;align-items:center;gap:.75rem;display:flex;position:relative}.brand{letter-spacing:.02em;white-space:nowrap;min-width:0;font-size:1.05rem;font-weight:700;line-height:1.7}.brand-mark{color:#72e3cf;border:1px solid #fff6;border-radius:.8rem;flex:none;place-items:center;width:2.5rem;height:2.5rem;font-size:1.15rem;display:grid}.intro-copy{z-index:1;max-width:36rem;position:relative}.eyebrow{color:#72e3cf;letter-spacing:.05em;margin-bottom:1rem;font-size:.84rem;font-weight:700;display:inline-block}h1{letter-spacing:-.035em;overflow-wrap:break-word;margin:0 0 1.2rem;font-size:clamp(2.3rem,4.7vw,4.8rem);line-height:1.15}html[lang=ar] h1{letter-spacing:0;line-height:1.45}html[lang=ar] .brand,html[lang=ar] .eyebrow{letter-spacing:0}.intro-copy p{color:#ffffffbf;max-width:30rem;margin:0;font-size:clamp(1rem,1.8vw,1.2rem);line-height:1.9}.trust-note{color:#ffffffbf;font-size:.88rem}.trust-note svg{color:#72e3cf;flex:none}.access-panel{background:radial-gradient(circle at 90% 8%,#eef9f7 0,#0000 34%),#fff;flex-direction:column;align-items:center;gap:1.5rem;min-width:0;padding:2rem clamp(1.5rem,4.5vw,4.5rem);display:flex}.access-header{justify-content:space-between;align-items:center;gap:1rem;width:min(100%,30rem);display:flex}.access-content{flex:1;align-items:center;width:min(100%,30rem);min-width:0;padding-block:1.5rem;display:flex}.compact-brand{display:none}.language-toggle{margin:0;color:#173b53;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:.65rem;justify-content:center;align-items:center;gap:.45rem;min-height:40px;margin-inline-start:auto;padding:.4rem .8rem;font-size:.84rem;display:inline-flex}.language-toggle:hover{color:#075b57;background:#edf8f5}.language-toggle:focus-visible{outline-offset:3px;outline:3px solid #118278}.card{width:min(100%,30rem)}.stage-badge{color:#086c68;background:#e7f7f4;border-radius:999px;padding:.45rem .8rem;font-size:.78rem;font-weight:700;display:inline-flex}h2{letter-spacing:-.025em;overflow-wrap:break-word;margin:1.25rem 0 .55rem;font-size:clamp(1.8rem,3.1vw,2.5rem);line-height:1.3}html[lang=ar] h2{letter-spacing:0;line-height:1.5}.lead{color:#64748b;margin:0 0 2rem;line-height:1.8}.local-entry{gap:.8rem;display:grid}label{font-size:.9rem;font-weight:700}input{color:#10233f;background:#fff;border:1px solid #cbd5e1;border-radius:.85rem;outline:none;width:100%;padding:.95rem 1rem;transition:border-color .2s,box-shadow .2s}input:focus{border-color:#12827b;box-shadow:0 0 0 4px #12827b1f}input::placeholder{color:#9aa7b8}button{color:#fff;cursor:pointer;background:#102e4c;border:0;border-radius:.85rem;margin-top:.35rem;padding:1rem 1.2rem;font-weight:700;transition:transform .2s,background .2s}button:disabled{opacity:.55;cursor:not-allowed}.language-toggle:hover:not(:disabled){background:#edf8f5}.local-entry .auth-secondary:hover:not(:disabled){background:#edf8f5;border-color:#12827b}button:active{transform:translateY(1px)}button:focus-visible{outline-offset:3px;outline:3px solid #12827b47}.status{color:#65758a;min-height:1.6rem;margin:1rem 0 0;font-size:.82rem;line-height:1.7}footer{color:#94a3b8;width:min(100%,30rem);font-size:.76rem}@media (max-width:1023px){.shell{grid-template-columns:1fr}.intro{display:none}.compact-brand{display:flex}.compact-brand .brand-mark{background:#102e4c;border-color:#0000}.access-panel{gap:1rem;padding:1.5rem 1.25rem 1.25rem}.access-content{padding-block:1.75rem}footer{margin-top:auto}}@media (max-width:400px){.brand{gap:.5rem;font-size:.98rem}.brand-mark{width:2.2rem;height:2.2rem}.access-header{gap:.65rem}.language-toggle{padding-inline:.65rem}.lead{margin-bottom:1.4rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.dashboard-shell{grid-template-columns:minmax(0,1fr)}.dashboard-shell .intro{display:none}.dashboard-shell .compact-brand{display:flex}.dashboard-shell .compact-brand .brand-mark{background:#102e4c;border-color:#0000}.dashboard-shell .access-panel{justify-content:flex-start;gap:1.75rem;padding:2rem clamp(1.25rem,4vw,4rem)}.dashboard-shell .access-header,.dashboard-shell .access-content,.dashboard-shell footer{width:100%;max-width:1160px}.dashboard-shell .access-header{border-bottom:1px solid #e2e8f0;padding-bottom:1.25rem}.dashboard-shell .access-content{flex:0;align-items:flex-start;padding-block:0}.dashboard-shell .card{width:100%;max-width:none}.dashboard-shell footer{margin-top:0}.dashboard-shell .status{min-height:0;margin-top:1rem}.dashboard-shell .status:empty{display:none}.employee-home{width:100%;min-width:0}.profile-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.employee-home h2{letter-spacing:0;text-transform:none;overflow-wrap:anywhere;min-width:0;margin:0;font-size:clamp(1.5rem,2vw,2rem);line-height:1.5}.profile-grid{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:1.25rem;display:grid}.profile-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;min-width:0;padding:clamp(1.25rem,2.2vw,1.75rem);box-shadow:0 3px 14px #10233f08}.profile-card h3{margin:0 0 1.5rem;font-size:1.05rem;line-height:1.6}.profile-details{gap:1rem;margin:0;display:grid}.profile-details div{min-width:0}.profile-details div+div{border-top:1px solid #edf2f7;padding-top:1rem}.profile-details dt{color:#64748b;margin-bottom:.4rem;font-size:.88rem}.profile-details dd{overflow-wrap:anywhere;text-align:start;margin:0;font-size:1rem;line-height:1.7}.profile-permissions ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.profile-permissions li{color:#14645c;overflow-wrap:anywhere;background:#f0faf7;border:1px solid #cce9e2;border-radius:.75rem;align-items:center;gap:.6rem;min-height:48px;padding:.75rem .9rem;font-size:.94rem;line-height:1.6;display:flex}.profile-permissions li:before{content:"✓";color:#167568;flex:none;font-weight:700}.profile-permissions p{color:#64748b;margin:0;line-height:1.8}.profile-logout{flex:none;width:auto;min-height:44px;margin:0;padding:.65rem 1rem;font-size:.9rem}.profile-retry{margin-bottom:1rem}@media (min-width:1024px){.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}}@media (max-width:599px){.dashboard-shell .access-panel{gap:1.25rem;padding-block:1.25rem}.profile-heading{gap:.8rem;margin-bottom:1.25rem}}:root,:root[data-theme=light]{--bg-page:#f4f7fb;--bg-surface:#fff;--bg-elevated:#fff;--bg-brand-soft:#edf8f5;--bg-neutral:#f2f5f8;--text-primary:#10233f;--text-secondary:#64748b;--text-on-brand:#fff;--border-default:#dce6ed;--border-strong:#cbd5e1;--brand-primary:#102e4c;--brand-primary-hover:#0c766f;--brand-accent:#12827b;--brand-accent-soft:#72e3cf;--focus-ring:#12827b;--success-text:#176747;--success-bg:#e7f6ef;--success-border:#a7cdba;--warning-text:#654d16;--warning-bg:#fff9ea;--warning-border:#ead9ab;--danger-text:#843d39;--danger-bg:#fff1ee;--danger-border:#e6cabc;--overlay:#081c2d94;--shadow-control:0 4px 14px #10233f14;--shadow-card:0 8px 28px #10233f12;--shadow-header:0 1px 10px #10233f0f;--shadow-dialog:0 24px 80px #081c2d47;--primary:var(--brand-primary);--primary-dark:var(--brand-primary-hover);--accent:var(--brand-accent);--page:var(--bg-page);--surface:var(--bg-surface);--tint:var(--bg-brand-soft);--border:var(--border-default);--text:var(--text-primary);--muted:var(--text-secondary);--neutral-bg:var(--bg-neutral);--success:var(--success-text);--warning:var(--warning-text);--danger:var(--danger-text);--focus:var(--focus-ring);color:var(--text-primary);background:var(--bg-page)}:root[data-theme=dark]{--bg-page:#0b1930;--bg-surface:#10263d;--bg-elevated:#16324a;--bg-brand-soft:#153c46;--bg-neutral:#182c40;--text-primary:#edf6f7;--text-secondary:#b5c6d2;--text-on-brand:#fff;--border-default:#2c4b60;--border-strong:#3b5d71;--brand-primary:#167e81;--brand-primary-hover:#1b9991;--brand-accent:#72e3cf;--brand-accent-soft:#94eadb;--focus-ring:#72e3cf;--success-text:#8ed9b6;--success-bg:#153c35;--success-border:#2c7058;--warning-text:#f2d38b;--warning-bg:#3b321e;--warning-border:#6e5b2c;--danger-text:#f0b3ad;--danger-bg:#432825;--danger-border:#7c4944;--overlay:#030c18bd;--shadow-control:0 4px 14px #00000038;--shadow-card:0 10px 32px #0000003d;--shadow-header:0 1px 12px #00000047;--shadow-dialog:0 28px 90px #0000007a;--primary:var(--brand-primary);--primary-dark:var(--brand-primary-hover);--accent:var(--brand-accent);--page:var(--bg-page);--surface:var(--bg-surface);--tint:var(--bg-brand-soft);--border:var(--border-default);--text:var(--text-primary);--muted:var(--text-secondary);--neutral-bg:var(--bg-neutral);--success:var(--success-text);--warning:var(--warning-text);--danger:var(--danger-text);--focus:var(--focus-ring)}html,body,#root{background:var(--bg-page);min-height:100%}body{color:var(--text-primary)}.shell,.access-panel{background:var(--bg-page)}.intro{background:linear-gradient(145deg,#0b1930 0%,#123e5c 58%,#0d6f73 100%)}.intro:after{background:#25c4b11a}.intro .brand-mark,.intro .eyebrow,.trust-note svg{color:var(--brand-accent-soft)}.intro-copy p,.trust-note{color:#ffffffc7}.brand-mark,.compact-brand .brand-mark,.dashboard-shell .compact-brand .brand-mark{color:var(--text-on-brand);background:var(--brand-primary);border-color:#0000}.eyebrow{color:var(--brand-accent)}.stage-badge,.super-admin-badge,.read-only-badge{color:var(--brand-primary-hover);background:var(--bg-brand-soft);border-color:var(--border-default)}.stage-badge{font-size:.875rem}.lead,.status,.auth-notice,footer,.profile-details dt,.summary-metrics dt,.dashboard-welcome>p:last-child,.catalog-intro>p:last-child,.service-card p,.empty-services p,.profile-permissions p{color:var(--text-secondary)}.status,footer{font-size:.875rem}input,select,textarea{color:var(--text-primary);background:var(--bg-surface);border-color:var(--border-strong)}input::placeholder,textarea::placeholder{color:var(--text-secondary);opacity:.78}input:focus,select:focus,textarea:focus{border-color:var(--brand-accent);box-shadow:0 0 0 4px color-mix(in srgb, var(--focus-ring) 18%, transparent)}button{background:var(--brand-primary);color:var(--text-on-brand)}button:hover:not(:disabled){background:var(--brand-primary-hover)}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible,.language-toggle:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.language-toggle,.auth-theme-toggle,.page-header .back-button,.dialog-close,.details-button,.admin-entry-button,.local-entry .auth-secondary{color:var(--text-primary);background:var(--bg-surface);border-color:var(--border-default)}.language-toggle:hover,.language-toggle:hover:not(:disabled),.page-header .back-button:hover:not(:disabled),.details-button:hover:not(:disabled),.admin-entry-button:hover:not(:disabled),.local-entry .auth-secondary:hover:not(:disabled){color:var(--brand-primary-hover);background:var(--bg-brand-soft);border-color:var(--brand-accent)}.auth-header-actions{justify-content:flex-end;align-items:center;gap:.55rem;margin-inline-start:auto;display:flex}.auth-theme-toggle{min-width:42px;padding-inline:.65rem}.dashboard-actions .primary-service-button{background:var(--brand-primary);color:var(--text-on-brand)}.dashboard-actions .primary-service-button:hover:not(:disabled){background:var(--brand-primary-hover)}.dashboard-shell .access-panel{gap:0;padding:0}.dashboard-shell .access-content,.dashboard-shell .card{width:100%;max-width:none}.dashboard-shell .access-content>.card>.status,.dashboard-shell .access-panel>footer{display:none}.authenticated-app{background:var(--bg-page);min-height:100dvh}.authenticated-page{width:min(100%,1160px);margin-inline:auto;padding:clamp(1rem,3vw,2.25rem) clamp(1rem,4vw,4rem) 2.5rem}.dashboard-header{background:linear-gradient(130deg, var(--bg-brand-soft) 0%, var(--bg-surface) 68%);border-color:var(--border-default)}.active-account{color:var(--success-text)}.active-account span{background:var(--success-text);box-shadow:0 0 0 4px color-mix(in srgb, var(--success-text) 15%, transparent)}.profile-card,.service-card,.access-dialog,.admin-status-card,.admin-metric,.admin-message{color:var(--text-primary);background:var(--bg-surface);border-color:var(--border-default);box-shadow:var(--shadow-card)}.profile-details div+div,.page-header,.company-access{border-color:var(--border-default)}.summary-metrics div{background:var(--bg-neutral)}.summary-metrics dd{color:var(--text-primary)}.service-card-icon,.company-access summary span,.scope-permission-chips li,.profile-permissions li{color:var(--brand-primary-hover);background:var(--bg-brand-soft);border-color:var(--border-default)}.profile-permissions li:before,.all-companies-label,.access-dialog .eyebrow,.catalog-intro .eyebrow,.service-card-icon{color:var(--brand-accent)}.empty-services{border-color:var(--border-default);background:var(--bg-surface)}.permissions-status{color:var(--warning-text);background:var(--warning-bg);border-color:var(--warning-border)}.super-admin-badge{color:var(--success-text);background:var(--success-bg);border-color:var(--success-border)}.access-dialog{color:var(--text-primary);background:var(--bg-elevated);box-shadow:var(--shadow-dialog)}.access-dialog::backdrop{background:var(--overlay)}.access-dialog>header,.access-dialog>footer{color:var(--text-primary);background:var(--bg-elevated);border-color:var(--border-default)}.dialog-handle{background:var(--border-strong)}.health-healthy{color:var(--success-text);background:var(--success-bg)}.health-delayed{color:var(--warning-text);background:var(--warning-bg)}.health-stale{color:var(--danger-text);background:var(--danger-bg)}@media (max-width:599px){.authenticated-page{padding-inline:.85rem}.auth-header-actions{gap:.35rem}}@media (max-width:359px){.access-panel,.dashboard-shell .access-panel{padding-inline:1rem}.language-toggle{min-height:44px}.brand{font-size:.9rem}}
