:root { color-scheme: dark; --background: #09090e; --sidebar: #0d0d15; --surface: #11111c; --border: #252534; --text: #eeeef6; --muted: #a0a0b7; --purple: #b49aff; --blue: #86b1ff; font-family: "Segoe UI", system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 14px; line-height: 1.55; }
a { color: var(--purple); text-decoration: none; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a:hover { color: #d3c2ff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
h1:focus, main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 600; }
h2 { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
h3 { font-size: 1rem; font-weight: 500; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--surface); }
.skip-link:focus { top: 1rem; }
.app-shell { display: grid; grid-template-columns: 248px minmax(0,1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 30px 18px 20px; background: var(--sidebar); border-right: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; letter-spacing: .13em; font-weight: 650; margin: 0 10px 52px; }
.brand small { display: block; font-size: 9px; color: var(--muted); letter-spacing: .21em; margin-top: 2px; font-weight: 500; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 40px; flex-shrink: 0; font-size: 24px; font-weight: 500; letter-spacing: -.12em; padding-right: 3px; color: #e3d9ff; background: linear-gradient(145deg,#6844ad,#273c77); border: 1px solid #7d61b5; border-radius: 10px; }
.nav-label { font-size: 10px; letter-spacing: .15em; font-weight: 600; color: #8c8ca8; padding: 0 14px; margin-bottom: 12px; }
.primary-nav { display: grid; gap: 6px; }
.primary-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; color: #aaaac0; font-weight: 500; border: 1px solid transparent; }
.primary-nav a:hover { background: #191923; color: var(--text); }
.primary-nav a.active { color: #d7c7ff; background: linear-gradient(100deg,#302344,#1b1c33); border-color: #403251; }
.nav-symbol { width: 20px; text-align: center; font-size: 20px; line-height: 1; }
.sidebar-footer { margin-top: auto; padding-top: 48px; }
.preview-note { border-top: 1px solid var(--border); margin-top: 22px; padding: 22px 14px 0; color: var(--muted); font-size: 11px; display: flex; gap: 9px; align-items: center; }
.status-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--purple); }
.workspace { display: flex; flex-direction: column; min-width: 0; }
.workspace-header { height: 78px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
.workspace-name { color: #b8b8c9; font-size: 12px; }
.workspace-name span { margin: 0 12px; color: #62627d; }
.preview-badge, .subtle-badge, .small-label { font-size: 10px; font-weight: 500; letter-spacing: .09em; }
.preview-badge { color: var(--purple); background: #211a32; border: 1px solid #3a2d50; border-radius: 5px; padding: 5px 9px; white-space: nowrap; }
main { flex: 1; padding: 42px 40px; min-width: 0; }
.workspace-footer { display: flex; justify-content: space-between; gap: 12px; padding: 20px 40px; color: #85859d; font-size: 11px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.eyebrow { font-size: 10px; letter-spacing: .18em; font-weight: 600; color: var(--purple); margin-bottom: 12px; }
.page-description { color: var(--muted); margin-top: 12px; }
.dashboard-canvas { min-height: 55vh; }
.subtle-badge { color: var(--muted); border: 1px solid var(--border); border-radius: 20px; padding: 7px 12px; white-space: nowrap; }
.notice { display: flex; gap: 12px; align-items: center; background: #101827; border: 1px solid #23314d; border-radius: 9px; padding: 15px 18px; color: #a7bbdb; font-size: 12px; margin-bottom: 24px; }
.notice-icon { border: 1px solid #708cb8; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 10px; }
.authorization-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,1fr); gap: 24px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 23px 24px; border-bottom: 1px solid var(--border); }
.panel-heading p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.small-label { color: var(--muted); }
.request-columns { display: flex; justify-content: space-between; padding: 13px 24px; background: #141420; border-bottom: 1px solid var(--border); color: #9494ac; font-size: 10px; letter-spacing: .08em; }
.empty-state { min-height: 330px; padding: 60px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-symbol { font-size: 38px; color: #b39bdc; margin-bottom: 18px; }
.empty-state p { color: var(--muted); max-width: 280px; font-size: 12px; margin-top: 10px; }
.review-body { padding: 24px; }
.worker-details { margin: 0 0 18px; }
.worker-details div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
dt { color: var(--muted); font-size: 12px; }
dd { margin: 0; color: #c3c3d7; }
.pairing-placeholder { color: var(--purple); letter-spacing: .1em; }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.7; }
.panel-divider { height: 1px; background: var(--border); margin: 24px 0; }
label { display: block; font-size: 12px; color: #b6b6cc; margin: 18px 0 8px; }
select { width: 100%; padding: 11px 12px; border: 1px solid #303041; background: #0d0d16; color: #a4a4ba; border-radius: 7px; }
select:disabled { opacity: 1; cursor: not-allowed; }
.button { border-radius: 7px; border: 1px solid transparent; padding: 11px 17px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; }
.button-primary { background: linear-gradient(110deg,#7954c8,#466bd4); color: #fff; }
.button-secondary { background: #1d1d2b; color: #b9b9ce; border-color: #343445; }
.button:disabled { cursor: not-allowed; opacity: .65; }
.review-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.login-stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; max-width: 1040px; min-height: 65vh; margin: auto; }
.login-introduction h1 { font-size: clamp(2.4rem,4vw,3.5rem); letter-spacing: -.055em; line-height: 1.15; margin: 22px 0; }
.login-introduction h1 span { color: #b3a0e9; }
.login-introduction > p:not(.eyebrow) { color: var(--muted); max-width: 280px; font-size: 15px; }
.login-lines { display: flex; gap: 12px; height: 80px; align-items: flex-end; margin-top: 48px; }
.login-lines span { width: 50px; height: 42px; border-top: 2px solid #8560cf; background: linear-gradient(#39264e55,transparent); transform: skewY(-20deg); }
.login-lines span:nth-child(2) { height: 64px; border-color: #7777df; }
.login-lines span:nth-child(3) { height: 80px; border-color: #528de2; }
.login-panel { border: 1px solid #363044; border-radius: 16px; padding: 38px; background: radial-gradient(ellipse at top right,#24203855,transparent 65%),#11111c; }
.panel-symbol { display: grid; place-items: center; height: 42px; width: 42px; background: #27203c; color: var(--purple); border-radius: 10px; font-size: 24px; margin-bottom: 30px; }
.login-panel h2 { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.login-panel > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.sign-in-button { width: 100%; margin: 30px 0 14px; }
.microsoft-mark { display: grid; grid-template-columns: 6px 6px; gap: 2px; }
.microsoft-mark i { width: 6px; height: 6px; background: currentColor; }
.text-link { display: flex; justify-content: space-between; font-size: 12px; }
@media (min-width: 1600px) { main { padding: 50px 64px; } }
@media (max-width: 1100px) { .app-shell { grid-template-columns: 218px minmax(0,1fr); } main { padding: 30px 24px; } .workspace-header,.workspace-footer { padding-left: 24px; padding-right: 24px; } .authorization-grid { grid-template-columns: 1fr; } .empty-state { min-height: 220px; } .login-stage { grid-template-columns: 1fr; gap: 32px; max-width: 500px; } .login-lines { display: none; } }
@media (max-width: 640px) { .app-shell { grid-template-columns: 1fr; } .sidebar { position: relative; height: auto; padding: 20px 16px 12px; border-right: 0; border-bottom: 1px solid var(--border); } .brand { margin: 0 6px 20px; } .sidebar > .nav-label,.sidebar-footer .nav-label,.preview-note { display: none; } .primary-nav { display: flex; flex-wrap: wrap; gap: 4px; } .primary-nav a { padding: 10px 12px; } .sidebar-footer { margin-top: 6px; padding-top: 0; } .workspace-header { height: 62px; padding: 0 20px; } .workspace-name { font-size: 11px; } .workspace-name span { margin: 0 5px; } main { padding: 28px 20px; } .page-heading { align-items: flex-start; flex-direction: column; gap: 14px; } .login-panel { padding: 26px; } .workspace-footer { padding: 20px; } .panel-heading,.review-body { padding: 20px; } .review-actions { flex-wrap: wrap; } }

.account-name { color: var(--muted); overflow-wrap: anywhere; padding: 8px 14px; font-size: 12px; }
.menu-signout { background: transparent; color: var(--purple); border: 0; padding: 12px 14px; cursor: pointer; text-align: left; min-height: 44px; }

.emergency-page { max-width: 1200px; margin: 0 auto; }
.emergency-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.emergency-panel { background:#14121f; border:1px solid #39304d; border-radius:16px; padding:1.5rem; display:flex; flex-direction:column; gap:.75rem; }
.emergency-panel input:not([type=checkbox]), .emergency-panel select { background:#0b0a13; color:#eee; border:1px solid #61507d; border-radius:6px; padding:.75rem; width:100%; }
.emergency-panel[hidden] { display:none; }
.emergency-fingerprint { overflow-wrap:anywhere; font: .8rem monospace; }
