@charset "UTF-8";
/* Shared design tokens: light by default; original forest/gold palette in dark mode. */
:root {
  color-scheme: light;
  --bg:#f5f6f8; --surface:#fff; --surface-raised:#fff; --surface-subtle:#f8f9fb;
  --text:#202b3c; --muted:#647084; --line:#e5e9ef; --line-strong:#cbd3de;
  --accent:#4355b9; --accent-hover:#334397; --accent-soft:#eef0fc; --on-accent:#fff;
  --green:#167757; --green-soft:#eaf5ef; --gold:#966520; --gold-soft:#fcf5e8;
  --violet:#7855b8; --violet-soft:#f3eefb; --error:#b82e47;
  --shadow:0 2px 6px #18223b03,0 8px 24px #18223b04; --radius:12px;
  --portal-header-height:80px; --portal-sidebar-width:230px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis:none; font-weight:400; color:var(--text); background:var(--bg);
}
[data-theme="dark"] {
  color-scheme:dark;
  --bg:#0d1d18; --surface:#142a22; --surface-raised:#1a3329; --surface-subtle:#10231c;
  --text:#f2f0e6; --muted:#a2b2a8; --line:#2a4136; --line-strong:#4a6556;
  --accent:#d8c28f; --accent-hover:#e8d6ae; --accent-soft:#303a27; --on-accent:#17261c;
  --green:#95c7aa; --green-soft:#1b382b; --gold:#d8c28f; --gold-soft:#323423;
  --violet:#c0afe3; --violet-soft:#2e303c; --error:#ffa5b1; --shadow:0 8px 28px #00000012;
}
*{box-sizing:border-box}body{margin:0;min-width:0;background:var(--bg);font-size:14px;line-height:1.5}
[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,p{margin-top:0}svg{display:block}
.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:absolute;top:-100px;left:24px;z-index:20;padding:12px 20px;background:var(--accent);color:var(--on-accent);border-radius:6px}.skip-link:focus{top:12px}main:focus{outline:none}
.site-header{height:80px;display:flex;align-items:center;gap:30px;padding:0 32px;background:var(--surface);border-bottom:1px solid var(--line);position:relative;z-index:5}.brand{display:flex;align-items:center;gap:12px;flex:none}.brand-logo{width:42px;height:42px;object-fit:contain}.brand-name{font-size:23px;font-weight:750;letter-spacing:2px;line-height:1.05}.brand-name>span{display:block;color:var(--muted);font-weight:600;font-size:8px;letter-spacing:1.5px;margin-top:5px}.header-context{display:flex;align-items:center;gap:25px;color:var(--muted);font-size:12px}.header-separator{display:block;height:25px;width:1px;background:var(--line)}.header-right{display:flex;align-items:center;gap:18px;margin-left:auto}
.environment-badge,.release-badge{display:inline-flex;align-items:center;gap:7px;background:var(--gold-soft);color:var(--gold);border:1px solid color-mix(in srgb,var(--gold) 15%,transparent);border-radius:5px;font-size:11px;font-weight:600;padding:5px 9px;white-space:nowrap}.header-access{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.header-access .icon{width:14px;height:14px}.icon-button{width:37px;height:37px;border:1px solid var(--line);background:var(--surface);border-radius:8px;display:grid;place-items:center;color:var(--muted)}.icon-button:hover{color:var(--accent);background:var(--accent-soft);border-color:var(--line-strong)}.icon-button .icon{width:18px;height:18px}.theme-sun,[data-theme="dark"] .theme-moon{display:none}[data-theme="dark"] .theme-sun{display:block}.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:8px 12px;background:var(--surface);font-size:12px;color:var(--muted)}.quiet-button:hover{background:var(--surface-subtle);color:var(--text)}.logout-button{border-color:transparent}.logout-button .icon{width:17px;height:17px}
.boot-state{display:flex;justify-content:center;align-items:center;gap:12px;min-height:70vh;color:var(--muted)}.loading-ring{width:20px;height:20px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* Public sign-in shares the same visual language without private workspace data. */
.welcome-view{max-width:1272px;margin:0 auto;padding:90px 52px 0;display:grid;grid-template-columns:minmax(0,1fr) 420px;column-gap:90px}.hero-copy{padding-top:22px}.eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;line-height:1.4;letter-spacing:1.7px;font-weight:700;color:var(--muted);margin:0 0 22px}.eyebrow>span{width:22px;height:2px;background:var(--gold)}.hero-copy h1{font-weight:650;font-size:clamp(48px,5vw,70px);line-height:1.09;letter-spacing:-3px;margin-bottom:26px}.hero-copy h1 em{color:var(--accent);font-style:normal}.hero-intro{font-size:16px;line-height:1.85;color:var(--muted);max-width:395px;margin-bottom:0}.hero-caption{display:flex;gap:16px;align-items:center;color:var(--muted);font-size:12px;line-height:1.85;margin-top:29px}.hero-caption strong{color:var(--text);font-weight:500}.caption-rule{width:33px;height:1px;background:var(--line-strong)}.hero-trust{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-top:38px}.hero-trust .icon{color:var(--green);width:16px;height:16px}
.access-card{padding:28px 30px 25px;align-self:start;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.access-topline{display:flex;justify-content:space-between;gap:10px;font-size:9px;font-weight:650;letter-spacing:1px;color:var(--muted)}.secure-label{display:flex;gap:5px;align-items:center;font-size:10px;font-weight:400;letter-spacing:0}.secure-label .icon{width:12px;height:12px}.access-brand{display:flex;gap:13px;align-items:center;margin:34px 0 25px}.access-brand img{object-fit:contain}.access-brand>span{font-size:25px;font-weight:700;letter-spacing:2px;line-height:1.1}.access-brand>span>span{display:block;color:var(--muted);font-size:8px;letter-spacing:1.25px;margin-top:7px;font-weight:600}.access-card h2{margin-bottom:11px;font-size:24px;font-weight:650;letter-spacing:-.6px}.access-card>p{color:var(--muted);font-size:13px;line-height:1.8;margin-bottom:24px}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 17px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:600}.primary-button{background:var(--accent);color:var(--on-accent)}.primary-button:hover{background:var(--accent-hover)}.primary-button[aria-disabled="true"]{opacity:.5;cursor:not-allowed}.secondary-button{background:var(--surface);border-color:var(--line-strong)}.secondary-button:hover{background:var(--surface-subtle);border-color:var(--accent)}.login-button{width:100%}.discord-icon{width:21px;height:21px;fill:currentColor;stroke:none}.discord-icon ellipse{fill:var(--accent)}.login-button .arrow-icon{margin-left:auto;width:17px;height:17px}.access-card>.access-note{font-size:10px;line-height:1.7;margin:12px 0 24px;text-align:center}.access-security{display:flex;gap:10px;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:10px;line-height:1.8}.access-security .icon{width:16px;height:16px;margin-top:2px;color:var(--green)}.access-security strong{font-weight:400}
.welcome-modules{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:65px;padding:27px 0 31px;border-top:1px solid var(--line);gap:24px}.welcome-modules article{display:flex;align-items:center;gap:13px;min-width:0;position:relative}.welcome-modules h2{font-size:12px;font-weight:650;margin-bottom:5px}.welcome-modules p{color:var(--muted);font-size:10px;margin-bottom:0}.welcome-modules .module-tag{display:none}.module-icon,.large-module-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:10px;background:var(--accent-soft);color:var(--accent)}.violet{background:var(--violet-soft);color:var(--violet)}.amber{background:var(--gold-soft);color:var(--gold)}.module-tag{display:inline-flex;align-items:center;width:max-content;max-width:100%;font-size:10px;font-weight:500;line-height:1.4;color:var(--muted);background:var(--surface-subtle);border:1px solid var(--line);padding:4px 7px;border-radius:5px}
/* The private workspace becomes a compact horizontal navigation rail on phones. */
.portal-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 132px)}.sidebar{display:flex;flex-direction:column;gap:0;border-right:1px solid var(--line);background:var(--surface);padding:28px 18px 20px}.workspace-label{display:flex;gap:10px;align-items:center;padding:0 5px 28px}.workspace-avatar{display:grid;place-items:center;width:32px;height:34px;font-size:14px;font-weight:700;background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px}.workspace-label>div{display:flex;flex-direction:column;gap:2px}.workspace-label strong{font-size:12px;font-weight:650}.workspace-label>div>span{font-size:10px;color:var(--muted)}.workspace-label>.icon{margin-left:auto;width:13px;height:13px;color:var(--muted)}.sidebar-label{font-size:9px;letter-spacing:1.3px;font-weight:650;color:var(--muted);margin:5px 12px 12px}.portal-nav{display:flex;flex-direction:column;gap:5px}.nav-button{display:flex;align-items:center;gap:11px;width:100%;border:1px solid transparent;border-radius:7px;text-align:left;padding:11px 12px;color:var(--muted);background:transparent;font-size:12px;font-weight:500;min-height:43px}.nav-button .icon{width:18px;height:18px}.nav-button:hover{background:var(--surface-subtle);color:var(--text)}.nav-button.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-soon{margin-left:auto;font-size:8px;border-radius:3px;padding:1px 4px;border:1px solid var(--line);color:var(--muted)}
.sidebar-note{margin:auto 8px 25px;padding-top:62px;color:var(--muted)}.sidebar-note>.icon{width:19px;height:19px;margin-bottom:12px;color:var(--gold)}.sidebar-note strong{font-size:11px;color:var(--text);font-weight:600}.sidebar-note p{font-size:10px;line-height:1.8;margin:6px 0 0;max-width:155px}.sidebar-bottom{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:20px 5px 0}.user-initials{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:var(--accent-soft);font-size:11px;font-weight:700;color:var(--accent);flex:none}.sidebar-bottom>div{display:flex;flex-direction:column;gap:3px;min-width:0}.sidebar-bottom strong{font-size:11px;overflow-wrap:anywhere}.sidebar-bottom div>span{color:var(--muted);font-size:9px;overflow-wrap:anywhere}
.portal-content{width:100%;max-width:1550px;padding:25px 38px 45px;min-width:0;container:workspace/inline-size}.portal-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:32px}.breadcrumb{display:flex;gap:10px;color:var(--muted);font-size:11px}.breadcrumb>span:last-child{color:var(--text);font-weight:500}.live-status{display:inline-flex;gap:7px;align-items:center;color:var(--muted);font-size:10px;white-space:nowrap}.live-status>span:first-child,.status-dot,.release-badge>span{width:6px;height:6px;border-radius:50%;background:var(--gold);display:inline-block;flex:none}.live-status[data-state="connected"]{color:var(--green)}.live-status[data-state="connected"]>span:first-child{background:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.live-status[data-state="offline"]{color:var(--error)}.live-status[data-state="offline"]>span:first-child{background:var(--error)}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.panel-heading .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:8px}.panel-heading h1{font-size:30px;line-height:1.25;font-weight:650;letter-spacing:-.9px;margin-bottom:8px}.panel-heading p:not(.eyebrow){font-size:12px;color:var(--muted);margin-bottom:0}.release-badge{font-size:10px;padding:6px 9px;background:var(--surface);color:var(--muted);border-color:var(--line)}.release-badge>span{width:5px;height:5px}.foundation-banner{display:flex;gap:14px;align-items:center;padding:19px 20px;background:var(--green-soft);border:1px solid color-mix(in srgb,var(--green) 13%,transparent);border-radius:10px;margin-bottom:30px}.banner-icon{color:var(--green);border:1px solid color-mix(in srgb,var(--green) 22%,transparent);border-radius:50%;width:29px;height:29px;display:grid;place-items:center;flex:none}.banner-icon .icon{width:17px;height:17px}.foundation-banner strong{font-size:12px;font-weight:600}.foundation-banner p{font-size:11px;margin:3px 0 0;line-height:1.7;color:var(--muted)}.banner-label{color:var(--green);font-size:9px;font-weight:500;margin-left:auto;white-space:nowrap}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}.section-heading h2{font-size:13px;font-weight:600;margin:0}.section-heading>span{font-size:10px;color:var(--muted)}
.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dashboard-card{display:flex;flex-direction:column;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.card-topline{display:flex;justify-content:space-between;align-items:start;gap:8px;margin-bottom:22px}.dashboard-card h2{font-size:16px;font-weight:600;letter-spacing:-.25px;margin-bottom:9px}.dashboard-card p{font-size:11px;line-height:1.85;color:var(--muted);margin-bottom:25px}.text-button{display:inline-flex;gap:8px;align-items:center;width:fit-content;max-width:100%;text-align:left;border:0;padding:0;color:var(--accent);background:transparent;font-size:11px;font-weight:600}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.text-button .icon{width:15px;height:15px}.dashboard-card>.text-button{margin-top:auto}
.overview-bottom{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:18px;margin-top:22px}.sync-panel,.workspace-info{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.sync-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.module-icon.small{width:30px;height:30px;border-radius:7px}.module-icon.small .icon{width:16px;height:16px}.sync-heading h2,.workspace-info h2{font-size:13px;font-weight:600;margin:0}.revision-label{margin-left:auto;color:var(--muted);font-size:9px;overflow-wrap:anywhere}.sync-details{padding:17px 0 22px}.sync-details p{font-size:11px;line-height:1.85;color:var(--muted);margin-bottom:14px}.sync-timestamp{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);background:var(--surface-subtle);border-radius:6px}.sync-timestamp p{margin:0;font-size:10px;overflow-wrap:anywhere}.status-dot{background:var(--muted);width:5px;height:5px}.panel-footnote{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:9px;border-top:1px solid var(--line);padding-top:14px}.panel-footnote .icon{width:12px;height:12px}.workspace-info dl{margin:17px 0}.workspace-info dl>div{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:9px 0;font-size:10px}.workspace-info dl>div:last-child{border:0}.workspace-info dt{color:var(--muted)}.workspace-info dd{display:flex;align-items:center;gap:6px;margin:0;text-align:right}.workspace-info dd .icon{width:13px;height:13px}.muted-value{color:var(--muted)}
.empty-module{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:70px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:var(--shadow)}.large-module-icon{width:66px;height:66px;border-radius:17px;margin-bottom:22px}.large-module-icon .icon{width:30px;height:30px}.empty-module .module-tag{margin-bottom:16px}.empty-module h2{font-size:24px;letter-spacing:-.65px;font-weight:600;margin-bottom:12px}.empty-module p{max-width:450px;color:var(--muted);font-size:12px;line-height:1.9;margin-bottom:26px}.settings-card{padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);max-width:880px;margin-bottom:20px;box-shadow:var(--shadow)}.settings-card h2{font-size:15px;font-weight:600;margin-bottom:13px}.settings-card>p,.settings-card>div>p{font-size:12px;color:var(--muted);line-height:1.85}.settings-card>.module-tag{margin-bottom:13px}.access-list{margin:0}.access-list>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;font-size:12px;padding:13px 0;border-bottom:1px solid var(--line)}.access-list dt{color:var(--muted)}.access-list dd{margin:0;text-align:right;font-weight:500;overflow-wrap:anywhere}.settings-card>.settings-note{display:flex;align-items:center;gap:7px;margin:18px 0 0;font-size:10px}.settings-note .icon{width:14px;height:14px}.appearance-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:25px}.appearance-card h2{margin-bottom:7px}.appearance-card>.settings-note{grid-column:1/-1}.theme-options{display:flex;gap:10px}.theme-option{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;padding:5px;width:116px;text-align:left}.theme-option[aria-pressed="true"]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.theme-preview{display:grid;grid-template-columns:22px 1fr 1fr;gap:4px;padding:9px 7px;height:57px;border:1px solid #e1e5eb;background:#f1f3f7;border-radius:4px}.theme-preview i{background:white;border:1px solid #e1e5eb;border-radius:2px}.theme-preview i:first-child{grid-row:span 2;height:37px}.theme-preview i:not(:first-child){margin-top:8px;height:25px}.dark-preview{background:#0d1d18;border-color:#2a4136}.dark-preview i{background:#1a3329;border-color:#2a4136}.theme-option>span:last-child{display:flex;align-items:center;gap:6px;padding:8px 3px 3px;font-size:10px;font-weight:500}.theme-option .icon{width:13px;height:13px}.theme-option .selected-check{margin-left:auto;visibility:hidden;color:var(--accent)}.theme-option[aria-pressed="true"] .selected-check{visibility:visible}
.inline-error{color:var(--error);font-size:12px}.fatal-view{max-width:580px;text-align:center;margin:100px auto;padding:0 25px}.fatal-view .large-module-icon{margin-inline:auto}.fatal-view h1{font-size:27px;font-weight:600;letter-spacing:-.6px}.fatal-view p{color:var(--muted);font-size:13px;line-height:1.9}.site-footer{max-width:1600px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 32px;color:var(--muted);font-size:9px;border-top:1px solid var(--line)}.site-footer>span:first-child>span{padding-inline:6px}body[data-authenticated="true"] .site-footer{max-width:none;background:var(--surface)}.toast{position:fixed;right:25px;bottom:25px;max-width:420px;padding:14px 20px;border:1px solid var(--line-strong);border-radius:9px;color:var(--text);background:var(--surface-raised);box-shadow:var(--shadow);font-size:12px;z-index:30}.noscript-message{padding:20px;text-align:center;color:var(--error)}

@container workspace (max-width:900px){
  .dashboard-card{padding:18px}.card-topline{gap:6px}.card-topline .module-tag{font-size:9px}.banner-label{display:none}.overview-bottom{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
}
@container workspace (max-width:650px){
  .dashboard-grid{grid-template-columns:1fr;gap:12px}.dashboard-card{display:grid;grid-template-columns:1fr auto;column-gap:16px}.card-topline{grid-column:2;grid-row:1/span 3;align-items:end;flex-direction:column;margin:0}.dashboard-card h2{grid-column:1;font-size:15px}.dashboard-card p{grid-column:1;margin-bottom:15px}.dashboard-card>.text-button{grid-column:1}.overview-bottom{grid-template-columns:1fr;gap:12px;margin-top:16px}
}
@media (min-width:1600px){.portal-content{margin-inline:auto;padding:32px 50px 55px}.portal-topline{margin-bottom:38px}.dashboard-card{padding:26px}}
@media (max-width:1150px){.welcome-view{padding:65px 38px 0;column-gap:45px;grid-template-columns:minmax(0,1fr) 380px}.hero-copy h1{font-size:58px}.hero-intro{font-size:14px}.portal-layout{grid-template-columns:210px minmax(0,1fr)}.portal-content{padding:25px 27px 38px}.sidebar{padding-inline:13px}}
@media (max-width:850px){.header-context,.header-access{display:none}.welcome-view{grid-template-columns:minmax(0,1fr) 340px;gap:30px;padding:48px 28px 0}.hero-copy h1{font-size:48px;letter-spacing:-2px}.hero-copy .eyebrow{font-size:8px;letter-spacing:1px}.hero-intro{font-size:13px}.hero-trust{font-size:9px;margin-top:25px}.hero-trust .icon{display:none}.access-card{padding:25px 24px}.access-card h2{font-size:22px}.welcome-modules{gap:15px;margin-top:35px}.welcome-modules article{gap:10px}.welcome-modules p{font-size:9px}.welcome-modules .module-icon{width:34px;height:34px}.welcome-modules .module-icon .icon{width:18px;height:18px}.portal-layout{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding-inline:10px}.nav-button{padding-inline:9px;font-size:11px;gap:8px}.nav-soon{display:none}.portal-content{padding:24px}.panel-heading h1{font-size:28px}.panel-heading>.release-badge{display:none}.appearance-card{grid-template-columns:1fr}.theme-options{margin-top:10px}}
@media (max-width:780px){.welcome-view{max-width:560px;grid-template-columns:1fr;padding:40px 25px 0;gap:0}.hero-copy{padding-top:0}.hero-copy h1{font-size:56px}.hero-intro{font-size:14px;max-width:400px}.hero-caption,.hero-trust{display:none}.access-card{margin-top:32px;padding:25px}.access-brand{margin-top:25px}.welcome-modules{display:flex;flex-direction:column;margin-top:30px;padding-block:5px 15px;gap:0}.welcome-modules article{padding:18px 0;border-bottom:1px solid var(--line);gap:13px}.welcome-modules article:last-child{border-bottom:0}.welcome-modules .module-tag{display:inline-flex;margin-left:auto;font-size:8px}.welcome-modules h2{font-size:12px}.welcome-modules p{font-size:10px}}
@media (max-width:680px){
  .site-header{height:72px;padding:0 18px;gap:12px}.brand{gap:9px}.brand-logo{width:34px;height:34px}.brand-name{font-size:20px}.brand-name>span{font-size:7px;letter-spacing:1px}.header-right{gap:9px}.environment-badge{font-size:9px;padding:4px 6px}.icon-button{width:33px;height:33px}.logout-button{padding:6px}.logout-button>span{display:none}.logout-button .icon{width:19px;height:19px}
  .portal-layout{display:flex;flex-direction:column;min-height:calc(100vh - 125px)}.sidebar{padding:10px 12px;border-right:0;border-bottom:1px solid var(--line)}.workspace-label,.sidebar-label,.sidebar-note,.sidebar-bottom{display:none}.portal-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.nav-button{flex-direction:column;gap:6px;padding:9px 2px;min-height:58px;border-radius:6px;font-size:9px;justify-content:center;text-align:center}.nav-button .icon{width:18px;height:18px}.portal-content{padding:20px 18px 30px}.portal-topline{margin-bottom:25px;align-items:start}.breadcrumb{font-size:10px;gap:7px}.live-status{font-size:9px;max-width:55%;white-space:normal}.panel-heading{margin-bottom:22px}.panel-heading h1{font-size:27px}.panel-heading p:not(.eyebrow){font-size:11px}.foundation-banner{padding:16px 14px;gap:10px;align-items:start;margin-bottom:25px}.foundation-banner strong{font-size:11px}.foundation-banner p{font-size:10px}.banner-icon{width:24px;height:24px}.banner-label,.section-heading>span{display:none}.section-heading h2{font-size:12px}.dashboard-card{padding:18px}.dashboard-card p{font-size:10px}.card-topline .module-icon{width:35px;height:35px}.card-topline .module-icon .icon{width:19px;height:19px}.card-topline .module-tag{font-size:8px}.sync-panel,.workspace-info{padding:18px}.revision-label{font-size:8px}.sync-details p{font-size:10px}.panel-footnote{font-size:8px}.empty-module{padding:45px 22px}.empty-module h2{font-size:22px}.empty-module p{font-size:11px}.settings-card{padding:22px 18px}.access-list>div{font-size:11px;gap:10px}.settings-card>.settings-note{align-items:start;font-size:9px}.settings-note .icon{margin-top:2px}.site-footer{padding:16px 20px;font-size:8px}.site-footer>span:last-child{text-align:right}.toast{left:18px;right:18px;bottom:18px;max-width:none}
}
@media (max-width:380px){.site-header{padding-inline:14px}.header-right{gap:5px}.hero-copy h1{font-size:46px}.welcome-view{padding-inline:20px}.hero-intro{font-size:13px}.access-card{padding:22px 20px}.access-card h2{font-size:21px}.access-card>p{font-size:12px}.welcome-modules p{font-size:9px}.welcome-modules .module-tag{font-size:7px;padding:3px 5px}.portal-content{padding-inline:14px}.nav-button{font-size:8px}.card-topline .module-tag{max-width:70px;text-align:center}.dashboard-card{column-gap:10px;padding:16px}.dashboard-card h2{font-size:14px}.sync-heading{gap:7px}.sync-heading h2{font-size:12px}.revision-label{margin-left:0}.workspace-info dl>div{font-size:9px}}
/* One persistent workspace shell, shared by the dashboard and the kingdom map. */
body[data-authenticated="true"]{padding-top:var(--portal-header-height)}
body[data-authenticated="true"] .site-header{position:fixed;inset:0 0 auto;height:var(--portal-header-height);z-index:70}
body[data-authenticated="true"] .portal-layout{display:block;min-height:calc(100dvh - var(--portal-header-height) - 52px);padding-left:var(--portal-sidebar-width)}
body[data-authenticated="true"] .sidebar{position:fixed;inset:var(--portal-header-height) auto 0 0;width:var(--portal-sidebar-width);z-index:65;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
body[data-authenticated="true"] .site-footer{margin-left:var(--portal-sidebar-width)}
.navigation-toggle{display:none;flex:none}
.navigation-toggle .icon{width:19px;height:19px}
.navigation-toggle-lines{display:block;width:17px;height:12px;border-block:1.5px solid currentColor;position:relative}
.navigation-toggle-lines::after{content:"";position:absolute;inset:4px 0 auto;border-top:1.5px solid currentColor}
.sidebar-backdrop{display:none;border:0;position:fixed;inset:var(--portal-header-height) 0 0;background:#10182b66;z-index:64;cursor:default}
.portal-map-page .site-header{box-shadow:none}
.portal-map-page .sidebar{border-bottom:0}
.portal-map-page .sidebar-note{padding-top:32px}
.portal-map-page .map-shell-notice{position:fixed;right:24px;bottom:24px;z-index:100;max-width:360px;background:var(--surface);color:var(--error);border:1px solid var(--line-strong);border-radius:10px;padding:14px 18px;box-shadow:var(--shadow);font-size:12px}
@media (max-width:1150px){:root{--portal-sidebar-width:210px}}
@media (max-width:850px){:root{--portal-sidebar-width:185px}}
@media (max-width:680px){
  :root{--portal-header-height:64px;--portal-sidebar-width:230px}
  body[data-authenticated="true"] .site-header{height:var(--portal-header-height);padding-inline:14px;gap:12px}
  body[data-authenticated="true"] .navigation-toggle{display:grid}
  body[data-authenticated="true"] .portal-layout{padding-left:0}
  body[data-authenticated="true"] .site-footer{margin-left:0}
  body[data-authenticated="true"] .sidebar{padding:24px 16px 20px;border-right:1px solid var(--line);transform:translateX(-100%);transition:transform .18s ease;visibility:hidden}
  body[data-authenticated="true"][data-navigation-open="true"] .sidebar{transform:translateX(0);visibility:visible}
  body[data-authenticated="true"][data-navigation-open="true"] .sidebar-backdrop{display:block}
  body[data-authenticated="true"][data-navigation-open="true"]{overflow:hidden}
  body[data-authenticated="true"] .workspace-label{display:flex;padding-bottom:25px}
  body[data-authenticated="true"] .sidebar-label{display:block}
  body[data-authenticated="true"] .sidebar-note{display:block;padding-top:35px}
  body[data-authenticated="true"] .sidebar-bottom{display:flex}
  body[data-authenticated="true"] .portal-nav{display:flex;flex-direction:column;gap:5px}
  body[data-authenticated="true"] .nav-button{flex-direction:row;justify-content:flex-start;gap:11px;padding:11px 12px;min-height:43px;text-align:left;font-size:12px}
  body[data-authenticated="true"] .header-right{gap:5px}
  body[data-authenticated="true"] .brand-name{font-size:18px}
  body[data-authenticated="true"] .brand-logo{width:32px;height:32px}
  body[data-authenticated="true"] .brand{gap:8px}
  .portal-map-page .map-shell-notice{right:14px;left:14px;bottom:14px;max-width:none}
}
@media (max-width:380px){body[data-authenticated="true"] .environment-badge{font-size:8px;padding:4px 5px}body[data-authenticated="true"] .site-header{gap:8px;padding-inline:10px}body[data-authenticated="true"] .brand-name{font-size:16px}body[data-authenticated="true"] .brand-name>span{font-size:6px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
