.workspace-tabs{--wst-line:#e3e8ee;--wst-muted:#667383;--wst-accent:#176b54;--wst-soft:#e8f4f0;display:flex;gap:3px;overflow-x:auto;border-bottom:1px solid var(--wst-line);margin:0 0 12px;padding:0 2px}
.workspace-tabs a{display:flex;align-items:center;border:0;border-bottom:3px solid transparent;background:transparent;padding:9px 12px 8px;white-space:nowrap;color:var(--wst-muted);font-size:.74rem;font-weight:700;text-decoration:none}
.workspace-tabs a:hover{color:var(--wst-accent)}
.workspace-tabs a.active{color:var(--wst-accent);border-color:var(--wst-accent)}

/* Analysis view switcher: a contained pill group, not a second full-width nav bar.
   Anchored under the page title so it reads as "which view", not "where in the app". */
.analysis-pillbar{display:flex;gap:.2rem;overflow-x:auto;background:var(--app-surface-muted,#f8fafc);border:1px solid var(--app-border,#e2e8f0);border-radius:11px;margin:0 0 1rem;padding:.3rem;scrollbar-width:thin}
.analysis-pillbar a{border-radius:8px;color:var(--app-muted,#64748b);font-size:.72rem;font-weight:700;padding:.42rem .7rem;text-decoration:none;white-space:nowrap}
.analysis-pillbar a:hover{color:var(--app-text,#111827)}
.analysis-pillbar a.active{background:var(--app-accent,#2563eb);color:#fff}

/* Grouped-dropdown variant of .workspace-tabs: used where a module has too many destinations for a
   flat pill row (currently Administration). Same tokens/sizing as .workspace-tabs a so a <details>
   summary is visually indistinguishable from a plain tab until it's opened. */
.administration-tabs{overflow:visible;flex-wrap:wrap}
.admin-tab-group{position:relative}
.admin-tab-group>summary{list-style:none;cursor:pointer;display:flex;align-items:center;padding:9px 12px 8px;white-space:nowrap;color:var(--wst-muted);font-size:.74rem;font-weight:700;border-bottom:3px solid transparent}
.admin-tab-group>summary::-webkit-details-marker{display:none}
.admin-tab-group>summary:after{content:" ▾";font-size:.65em}
.admin-tab-group>summary:hover{color:var(--wst-accent)}
.admin-tab-group>summary.active{color:var(--wst-accent);border-color:var(--wst-accent)}
.admin-tab-group>div{position:absolute;z-index:20;top:calc(100% + .25rem);left:0;min-width:220px;background:var(--app-surface,#fff);border:1px solid var(--wst-line);border-radius:.5rem;box-shadow:0 .5rem 1.5rem rgba(15,23,42,.14);padding:.35rem}
.admin-tab-group:not([open])>div{display:none}
.admin-tab-group>div a{display:block;padding:.5rem .65rem;border-radius:.35rem;text-decoration:none;color:var(--app-text,inherit);font-size:.82rem}
.admin-tab-group>div a:hover{background:var(--wst-soft)}
.admin-tab-group[open]>summary:before{content:"";position:fixed;inset:0;z-index:-1}
