/* Professional workspace. All layout changes are scoped to the staff frame. */
body.workspace11{padding-bottom:0;font-family:var(--font-interface);font-size:15px;line-height:1.6;background:var(--bg);--workspace-panel-padding:24px;--workspace-row-padding:14px}
body.workspace11 .workspace11-header{position:sticky;top:0;z-index:110;background:var(--surface);border-bottom:1px solid var(--border)}
body.workspace11 .workspace11-header .shell{max-width:1480px}
body.workspace11 .workspace11-header-main{min-height:84px;display:flex;align-items:center;gap:24px;padding-block:14px}
body.workspace11 .workspace11-brand{flex:none;display:flex;align-items:center;min-height:44px;text-decoration:none}
body.workspace11 .workspace11-brand .brh-brand{width:150px;height:44px}
body.workspace11 .workspace11-heading{min-width:0;display:grid;gap:3px;padding-left:24px;border-left:1px solid var(--border)}
body.workspace11 .workspace11-heading strong{font-size:15px;font-weight:650;color:var(--text)}
body.workspace11 .workspace11-heading>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
body.workspace11 .workspace11-identity{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0;max-width:260px}
body.workspace11 .workspace11-identity>svg{width:20px;height:20px;flex:none;color:var(--accent)}
body.workspace11 .workspace11-identity>span{min-width:0}
body.workspace11 .workspace11-identity strong{display:block;font-size:14px;font-weight:650;overflow-wrap:anywhere}
body.workspace11 .workspace11-identity small{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
body.workspace11 .workspace11-header-actions{display:flex;align-items:center;gap:8px;flex:none}
body.workspace11 :is(.workspace11-site,.workspace11-logout,.workspace11-theme>summary,.workspace11-density,.workspace11-menu>summary){display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:44px;padding:10px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:600 14px/1.5 var(--font-interface);text-decoration:none;cursor:pointer;list-style:none}
body.workspace11 :is(.workspace11-theme>summary,.workspace11-menu>summary)::-webkit-details-marker{display:none}
body.workspace11 :is(.workspace11-site,.workspace11-logout,.workspace11-theme>summary,.workspace11-density,.workspace11-menu>summary)>svg{width:18px;height:18px;flex:none}
body.workspace11 .workspace11-logout{color:var(--muted)}
body.workspace11 .workspace11-theme{position:relative}
body.workspace11 .workspace11-theme-options{position:absolute;right:0;top:calc(100% + 10px);width:210px;padding:10px;background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-dialog);z-index:3}
body.workspace11 .workspace11-theme-options>span{display:block;padding:8px 10px;color:var(--muted);font-size:12px}
body.workspace11 .workspace11-theme-options button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px;border:0;border-radius:var(--radius-sm);font:600 14px/1.5 var(--font-interface);text-align:left;background:transparent;color:var(--text);cursor:pointer}
body.workspace11 .workspace11-theme-options button[aria-pressed=true]{background:var(--soft);color:var(--accent)}
body.workspace11 .workspace11-theme-options button>svg{width:18px;height:18px}
body.workspace11 .workspace11-header-tools{position:relative;display:flex;align-items:center;gap:20px;padding-block:10px;border-top:1px solid var(--border)}
body.workspace11 .workspace11-menu{flex:none}
body.workspace11 .workspace11-menu>summary{background:var(--soft);border-color:transparent}
body.workspace11 .workspace11-menu>summary>svg:last-child{width:14px;transform:rotate(90deg);transition:transform var(--motion-fast)}
body.workspace11 .workspace11-menu[open]>summary>svg:last-child{transform:rotate(-90deg)}
body.workspace11 .workspace11-sections{position:absolute;left:0;right:0;top:calc(100% + 8px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;max-height:calc(100dvh - 175px);overflow:auto;overscroll-behavior:contain;padding:26px;background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-dialog)}
body.workspace11 .workspace11-sections>section{min-width:0}
body.workspace11 .workspace11-sections h2{font:650 12px/1.6 var(--font-interface);letter-spacing:.07em;color:var(--muted);text-transform:uppercase;margin:0 0 10px;padding:0 10px}
body.workspace11 .workspace11-sections a{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px;border-radius:var(--radius-sm);font-size:14px;line-height:1.5;text-decoration:none;color:var(--text);overflow-wrap:anywhere}
body.workspace11 .workspace11-sections a>svg{width:18px;height:18px;flex:none;color:var(--muted)}
body.workspace11 .workspace11-sections a[aria-current=page]{background:var(--soft);color:var(--accent);font-weight:650}
body.workspace11 .workspace11-context{display:flex;align-items:center;gap:8px;min-width:0;margin:0;color:var(--muted);font-size:12px}
body.workspace11 .workspace11-context>svg{width:16px;height:16px;flex:none}
body.workspace11 .workspace11-context span{overflow-wrap:anywhere}
body.workspace11 .workspace11-density{margin-left:auto;flex:none;color:var(--muted)}
body.workspace11 .workspace11-density[aria-pressed=true]{background:var(--soft);color:var(--accent);border-color:var(--accent)}

/* Retain the existing sidebar and subject layouts; improve the common reading surface. */
body.workspace11 #content{min-height:calc(100dvh - 154px);scroll-margin-top:165px}
body.workspace11 #content :is(h1,h2,h3,h4){font-family:var(--font-interface);font-weight:600;letter-spacing:-.025em;line-height:1.3;overflow-wrap:anywhere}
body.workspace11 #content h1{font-size:clamp(26px,2.5vw,40px)}
body.workspace11 #content h2{font-size:clamp(20px,1.8vw,24px)}
body.workspace11 #content h3{font-size:18px}
body.workspace11 #content :is(p,li){font-size:14px;line-height:1.7}
body.workspace11 #content .eyebrow{font-size:12px;letter-spacing:.1em}
body.workspace11 #content .page-head{padding-block:30px 24px}
body.workspace11 #content .page-head h1{margin-block:12px 16px}
body.workspace11 .admin-shell{max-width:1480px;padding-block:28px 56px}
body.workspace11 .dashboard-layout{grid-template-columns:242px minmax(0,1fr);gap:28px}
body.workspace11 .admin-sidebar{background:var(--surface);color:var(--text);border-color:var(--border);top:176px;max-height:calc(100dvh - 196px);overflow:auto;padding:20px 12px;scrollbar-width:thin;scrollbar-gutter:stable}
body.workspace11 .admin-sidebar .admin-brand{color:var(--text);border-color:var(--border);font-size:16px;font-weight:650;letter-spacing:0}
body.workspace11 .admin-sidebar :is(.admin-brand>svg,.admin-sidebar nav .active>svg){color:var(--accent)}
body.workspace11 .admin-sidebar :is(.admin-brand small,.admin-user small){color:var(--muted);font-size:12px;letter-spacing:.04em}
body.workspace11 .admin-sidebar nav a{font-size:14px;line-height:1.5;min-height:44px;padding:10px 12px;color:var(--text);white-space:normal;overflow-wrap:anywhere}
body.workspace11 .admin-sidebar nav a>svg{color:var(--muted);width:18px;height:18px;flex:none}
body.workspace11 .admin-sidebar nav a.active{background:var(--soft);color:var(--accent);font-weight:650}
body.workspace11 .admin-sidebar nav a.active>svg{color:var(--accent)}
body.workspace11 .admin-sidebar .admin-nav-group{font-size:12px;color:var(--muted);padding-block:18px 8px}
body.workspace11 .admin-sidebar .admin-back{color:var(--accent);font-size:14px;min-height:44px}
body.workspace11 .admin-sidebar .admin-user{border-color:var(--border);font-size:14px}
body.workspace11 .admin-nav-search{width:100%;min-width:0;font-size:16px;padding:12px;margin-bottom:12px}
body.workspace11 :is(.admin-title,.admin-intro){gap:16px;flex-wrap:wrap}
body.workspace11 .admin-topline{font-size:12px;line-height:1.6;flex-wrap:wrap;padding-bottom:20px;gap:8px 20px}
body.workspace11 .admin-content .card{padding:var(--workspace-panel-padding)}
body.workspace11 .admin-content :is(.table-wrap,.form-grid,.split,.metrics-grid){min-width:0}
body.workspace11 .admin-content .table-wrap{max-height:70dvh;max-width:100%;border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:auto;scrollbar-gutter:stable}
body.workspace11 .admin-content table{width:100%;font-size:14px;border-collapse:collapse}
body.workspace11 .admin-content :is(th,td){padding:var(--workspace-row-padding);font-size:14px;line-height:1.6;vertical-align:top;font-variant-numeric:tabular-nums}
body.workspace11 .admin-content th{position:sticky;top:0;z-index:1;background:var(--surface-raised);color:var(--text);font-weight:650;white-space:normal}
body.workspace11 .admin-content :is(td small,td code){font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body.workspace11 .admin-content td strong{font-weight:650}
body.workspace11 .admin-content tbody tr:focus-within{background:var(--soft)}
body.workspace11 .admin-content :is(.btn.small,.table-actions .btn){min-height:44px;font-size:14px;white-space:normal;padding:10px 13px}
body.workspace11 .admin-content .table-actions{display:flex;gap:8px;flex-wrap:wrap;min-width:150px;max-width:360px}
body.workspace11 .admin-table-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;margin-block:22px 16px}
body.workspace11 .admin-table-toolbar .search-input{flex:1 1 260px;width:auto;min-width:0}
body.workspace11 .admin-table-toolbar>select{flex:0 1 210px;min-width:0;max-width:100%}
body.workspace11 .admin-table-toolbar .workspace11-reset{flex:none}
body.workspace11 .admin-table-toolbar input{width:100%;min-width:0}
body.workspace11 .table-pagination{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding-block:16px;font-size:13px}
body.workspace11 .table-pagination>div{gap:10px}
body.workspace11 #content .empty{padding:36px 22px}
body.workspace11 #content .empty p{max-width:540px;margin-inline:auto}
body.workspace11 #content :is(.notice,.form-error){font-size:14px;line-height:1.7;overflow-wrap:anywhere}
body.workspace11 #content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;max-width:100%;min-width:0}
body.workspace11 #content label{font-size:14px;line-height:1.6}
body.workspace11 #content .field small{font-size:12px}
body.workspace11 #content fieldset{min-width:0;border-color:var(--border);border-radius:var(--radius-sm)}
body.workspace11 #content legend{padding-inline:8px;font-size:14px;font-weight:650}
body.workspace11 .admin-content :is(.admin-stat-link,.mapping-details summary){font-size:14px;min-height:44px}
body.workspace11 .admin-metrics .metric{box-shadow:none}
body.workspace11 .admin-metrics .metric strong{font:650 clamp(24px,2vw,32px)/1.3 var(--font-interface);font-variant-numeric:tabular-nums}
body.workspace11 .admin-metrics .metric span{font-size:14px}
body.workspace11 .admin-content .sales-chart-row{font-size:12px}
body.workspace11.workspace11-compact{--workspace-row-padding:10px;--workspace-panel-padding:20px}
body.workspace11 .toast{bottom:24px}
body.workspace11 :is(.workspace11-site,.workspace11-logout,.workspace11-density,.workspace11-menu>summary,.workspace11-theme>summary,.workspace11-theme-options button,.workspace11-sections a):focus-visible{outline:3px solid var(--focus);outline-offset:3px}

@media(hover:hover) and (pointer:fine){
 body.workspace11 :is(.workspace11-site,.workspace11-logout,.workspace11-theme>summary,.workspace11-density,.workspace11-theme-options button,.workspace11-sections a):hover{background:var(--soft);color:var(--accent)}
}
@media(max-width:1180px){
 body.workspace11 .workspace11-header-main{gap:16px}
 body.workspace11 .workspace11-heading{padding-left:16px}
 body.workspace11 .workspace11-heading>span{display:none}
 body.workspace11 .workspace11-identity{max-width:210px}
 body.workspace11 .workspace11-site span{display:none}
 body.workspace11 .dashboard-layout{grid-template-columns:218px minmax(0,1fr);gap:22px}
 body.workspace11 .workspace11-sections{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:960px){
 body.workspace11 .workspace11-heading{display:none}
 body.workspace11 .workspace11-identity{max-width:none;flex:1}
 body.workspace11 .dashboard-layout{grid-template-columns:minmax(0,1fr)}
 body.workspace11 .admin-sidebar{position:static;display:block;max-height:none;padding:12px;overflow:visible}
 body.workspace11 .admin-sidebar :is(.admin-brand,.admin-user,.admin-back){display:none}
 body.workspace11 .admin-sidebar nav{display:flex;flex-direction:row;align-items:center;overflow-x:auto;gap:6px;max-width:100%;padding-bottom:5px;scrollbar-width:thin}
 body.workspace11 .admin-sidebar nav .admin-nav-group{display:none}
 body.workspace11 .admin-sidebar nav a{flex:none;white-space:nowrap;min-height:44px}
 body.workspace11 .admin-nav-search{margin-bottom:10px}
 body.workspace11 .admin-content .split{grid-template-columns:minmax(0,1fr)}
 body.workspace11 .workspace11-sections{grid-template-columns:repeat(2,minmax(0,1fr));max-height:calc(100dvh - 175px)}
}
@media(max-width:680px){
 body.workspace11 .admin-shell .admin-sidebar{display:none}
 body.workspace11 .workspace11-header-main{min-height:76px;gap:12px;padding-block:10px;flex-wrap:wrap}
 body.workspace11 .workspace11-brand .brh-brand{width:128px;height:40px}
 body.workspace11 .workspace11-identity{flex:1;max-width:calc(100% - 140px)}
 body.workspace11 .workspace11-identity>svg{display:none}
 body.workspace11 .workspace11-header-actions{width:100%;justify-content:flex-end;gap:8px}
 body.workspace11 .workspace11-site{margin-right:auto}
 body.workspace11 .workspace11-site span{display:inline}
 body.workspace11 .workspace11-header-tools{gap:10px;padding-block:10px}
 body.workspace11 .workspace11-menu>summary{font-size:14px;gap:8px;padding-inline:10px}
 body.workspace11 .workspace11-context{display:none}
 body.workspace11 .workspace11-density{padding-inline:10px;font-size:13px}
 body.workspace11 .workspace11-sections{left:0;right:0;max-height:calc(100dvh - 218px);gap:20px;padding:18px}
 body.workspace11 .workspace11-sections a{padding:10px 8px;font-size:14px}
 body.workspace11 #content{scroll-margin-top:220px}
 body.workspace11 .admin-shell{padding-block:20px 40px}
 body.workspace11 .dashboard-layout{gap:20px}
 body.workspace11 .admin-content .card{padding:20px 16px}
 body.workspace11 .admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.workspace11 .admin-metrics .metric{min-width:0;padding:16px}
 body.workspace11 .admin-metrics .metric span{font-size:12px;overflow-wrap:anywhere}
 body.workspace11 .admin-content :is(th,td){padding:12px}
 body.workspace11.workspace11-compact .admin-content :is(th,td){padding-block:9px}
 body.workspace11 .admin-table-toolbar{padding:12px;gap:10px}
 body.workspace11 .admin-table-toolbar :is(.search-input,select){width:100%;flex-basis:100%}
 body.workspace11 .table-pagination{align-items:flex-start;gap:12px}
 body.workspace11 .table-pagination>span{width:100%}
 body.workspace11 #content .form-grid{grid-template-columns:minmax(0,1fr)}
 body.workspace11 #content .page-head{padding-block:24px 20px}
 body.workspace11 #content .page-head h1{font-size:28px}
 body.workspace11 .workspace11-theme-options{right:-6px}
 body.workspace11 .toast{bottom:16px;max-width:calc(100% - 32px)}
}
@media(max-width:400px){
 body.workspace11 .workspace11-sections{grid-template-columns:minmax(0,1fr);padding:16px}
 body.workspace11 .workspace11-density span{display:none}
 body.workspace11 .workspace11-brand .brh-brand{width:118px}
 body.workspace11 .workspace11-identity{max-width:calc(100% - 130px)}
 body.workspace11 .workspace11-identity strong{font-size:13px}
 body.workspace11 .admin-metrics .metric strong{font-size:24px}
}
@media(prefers-reduced-motion:reduce){body.workspace11 .workspace11-menu>summary>svg:last-child{transition:none}}
body.workspace11 .workspace12-support{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:44px;min-height:44px;padding:10px 13px;border:1px solid color-mix(in srgb,var(--accent) 40%,var(--border));border-radius:var(--radius-sm);background:var(--soft);color:var(--accent);font:600 14px/1.5 var(--font-interface);text-decoration:none}
body.workspace11 .workspace12-support>svg{width:18px;height:18px;flex:none}
body.workspace11 .workspace12-support>b{display:grid;place-items:center;min-width:22px;height:22px;padding-inline:4px;border-radius:999px;background:var(--accent);color:var(--surface);font-size:12px;font-variant-numeric:tabular-nums}
body.workspace11 .workspace12-support>b[hidden]{display:none}
@media(max-width:1100px){body.workspace11 .workspace12-support>span{display:none}body.workspace11 .workspace12-support>b{position:absolute;right:-5px;top:-5px;border:2px solid var(--surface);min-width:23px;height:23px}}
@media(max-width:400px){body.workspace11 .workspace11-header-actions{flex-wrap:wrap}body.workspace11 .workspace11-site{padding-inline:10px;font-size:13px}body.workspace11 .workspace11-logout{padding-inline:10px}body.workspace11 .workspace11-logout>span{display:none}}
