.console-shell{display:flex;min-height:100vh;background:#f9fafb;color:#111827;font:14px Inter,sans-serif}.console-sidebar{width:240px;flex-shrink:0;border-right:1px solid #e5e7eb;background:white;display:flex;flex-direction:column;padding:20px 16px;gap:32px}.console-brand{display:flex;align-items:center;gap:10px;font-weight:700}.console-brand img{width:28px;height:28px}.console-sidebar nav{display:grid;gap:8px}.console-sidebar nav a{padding:9px 12px;border-radius:7px;color:#6b7280}.console-sidebar nav a.selected{background:#eef2ff;color:#1c2dc5}.sidebar-user{margin-top:auto;font-size:12px;overflow-wrap:anywhere}.console-content{flex:1;min-width:0}.console-topbar{height:64px;border-bottom:1px solid #e5e7eb;background:white;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.console-main{max-width:1200px;padding:32px;margin:auto}.console-main h1{font:600 24px Inter,sans-serif;margin-bottom:8px}.console-main h2{font:600 18px Inter,sans-serif}.page-heading{display:flex;align-items:center;justify-content:space-between}.primary{background:#1c2dc5;color:white;border:0;border-radius:7px;padding:10px 16px;font-weight:600;cursor:pointer}.muted{color:#6b7280;margin:10px 0 24px}.settings-panel{max-width:640px;background:white;border:1px solid #e5e7eb;border-radius:8px;padding:24px;display:grid;gap:14px;margin:24px 0}.settings-panel input:not([type=checkbox]),.settings-panel select{border:1px solid #d1d5db;border-radius:7px;padding:10px;width:100%;color:#111827;background:white}.method-setting{display:flex;align-items:center;gap:10px}.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:24px}.project-card{background:white;border:1px solid #e5e7eb;border-radius:8px;padding:24px}.mono{font:12px 'JetBrains Mono',monospace;color:#6b7280;margin-top:12px}.resource-status{font-size:12px;display:inline-block;margin-top:20px;color:#6b7280}.empty-projects{margin:48px auto;text-align:center;padding:48px;border:1px dashed #d1d5db;border-radius:8px;max-width:640px}.empty-projects img{width:48px;margin:0 auto 24px}.empty-projects p{color:#6b7280;margin:16px 0 24px}.callback-card{font:14px Inter,sans-serif;max-width:480px;margin:15vh auto;padding:32px;border:1px solid #e5e7eb;border-radius:8px;display:grid;gap:20px}.callback-card button{padding:12px;background:#1c2dc5;color:white;border-radius:7px}.auth-error,.notice.error{padding:12px;border:1px solid #fecaca;background:#fef2f2;color:#991b1b}.auth-error{position:fixed;top:68px;left:50%;transform:translateX(-50%);z-index:10;max-width:90vw}.notice{margin:20px 0}button:disabled{opacity:.5;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #1c2dc5;outline-offset:3px}@media(max-width:767px){.console-shell{flex-direction:column}.console-sidebar{width:auto;border-right:0;border-bottom:1px solid #e5e7eb;padding:16px;gap:16px}.console-sidebar nav{display:flex;flex-wrap:wrap}.sidebar-user{display:none}.console-main{padding:20px}.console-topbar{padding:0 20px}.page-heading{align-items:flex-start;gap:16px}.callback-card{margin:10vh 16px}.empty-projects{padding:24px}}
/* States retain the marketing StateExperience stylesheet and exact SVG sources. */
#boot-status{min-height:100vh;display:grid;place-items:center}#boot-status .st-body{width:min(440px,100%)}
.auth-state-brand{width:18px;height:18px}.auth-inline-state{background:transparent;margin-bottom:16px}.auth-inline-state .st-banner{font-size:12px;line-height:1.6}
@media(prefers-reduced-motion:reduce){.states-ui *{animation:none!important;transition:none!important}}
.states-ui .st-trigger>header,.states-ui .st-trigger>footer{position:relative;z-index:1;background:#fafbff;flex-shrink:0}
.dark .states-ui .st-trigger>header,.dark .states-ui .st-trigger>footer{background:#08081c}
/* One centered stack for both the pre-WASM splash and session loading state. */
.auth-loading{padding:24px}.auth-loading .st-body{width:100%;max-width:360px;margin:auto;align-items:center;text-align:center}
.auth-loading .st-wide{display:flex;flex-direction:column;align-items:center;gap:20px;width:min(280px,100%)}
.auth-loading .st-pulse{display:flex;justify-content:center;align-items:center;width:100%}.auth-loading .st-pulse svg{display:block;width:64px;height:70px;margin:0 auto}
.auth-loading .st-progress{width:100%;margin:0}.auth-loading .st-body h3{margin:12px 0 0}.auth-loading .st-body p{margin:0}

/* The authentication boundary must preserve full-height dashboard layouts. */
.authenticated-console{display:contents}
