/* Workspace composition. Colors belong to the shared theme; customer brand
   previews keep their own palette. These rules are loaded after page styles. */
:root { --font:var(--studio-font);--sidebar-w:240px;--topbar-h:60px; }
body { font-family:var(--font);font-size:14px; }
.shell h1,.shell h2,.shell h3 { font-weight:600; }
.shell h1 { letter-spacing:-.035em; }
.sidebar { padding:18px 12px 12px;gap:18px;height:100dvh; }
.sidebar .logo { padding:0 9px 4px;gap:10px; }
.sidebar .logo-mark { width:32px;height:32px; }
.sidebar .logo-text strong { font-size:15px;letter-spacing:.08em; }
.sidebar .logo-text small { font-size:11px;margin-top:2px; }
.sidebar .side-new { height:38px;min-height:38px;font-size:13px;font-weight:600;border-radius:7px; }
.nav { gap:19px; }
.nav-list { gap:3px; }
.nav-item { min-height:37px;padding:8px 10px;gap:10px;font-size:13px;font-weight:500;border-radius:6px; }
.nav-item.active::before { display:none; }
.nav-group-title { font-size:10px;letter-spacing:.09em;font-weight:600;padding:0 10px 9px; }
.nav-g-avatar { width:21px;height:21px;border-radius:6px; }
.nav-item[data-g] .nav-g-text small { display:none; }
.nav-cr-panel { gap:7px;padding-top:9px;margin-left:18px;padding-left:9px; }
.nav-cr-list { max-height:min(23vh,182px); }
.cr-item { font-size:12px;padding:7px 5px; }
.nav-cr-all { font-size:11px;font-weight:500;padding:7px 5px; }
.cr-search { border-color:var(--line);border-radius:6px; }
.cr-search input { font-size:11px; }
.account-trigger { border-top:1px solid var(--line);border-radius:0;padding:14px 7px 2px; }
.account-trigger .account-avatar { width:32px;height:32px;border-radius:8px;font-size:11px; }
.account-trigger .side-user-meta strong { font-size:12px;font-weight:600; }
.account-trigger .side-user-meta small { font-size:11px; }
.topbar { padding:0 30px;gap:14px;backdrop-filter:none; }
.crumbs { font-size:12px; }
.crumbs strong { font-weight:500; }
.local-preview { display:none; }
.search-trigger { width:260px;padding:7px 10px;border-radius:7px;font-size:12px; }
.search-trigger kbd { font-size:10px;background:transparent;border-color:var(--line); }
.top-help { font-size:12px;font-weight:500;background:transparent;border-color:var(--line); }
.top-actions .icon-btn { width:34px;height:34px; }
#announcement-slot { padding:16px 32px 0; }
.announcement-banner { padding:10px 14px;gap:12px;border-radius:9px;box-shadow:none; }
.announcement-emblem { width:32px;height:32px;border-radius:7px; }
.announcement-emblem svg { width:18px;height:18px; }
.announcement-tag { font-size:9px;font-weight:500;letter-spacing:.09em;margin-bottom:2px; }
.announcement-copy strong { font-size:13px;font-weight:500; }
.announcement-copy p { font-size:11px; }
.announcement-item { border-radius:9px; }
.content { max-width:1440px;padding:30px 32px 88px; }
.btn { min-height:36px;font-size:12px;font-weight:600;border-radius:7px;box-shadow:none; }
.btn-sm { min-height:30px; }
.btn svg { width:15px;height:15px; }
[data-theme=graphite] .btn-gold,[data-theme=graphite] .side-new { color:var(--graphite-on-orange);border-color:transparent;box-shadow:none; }
[data-theme=graphite] .btn-gold:hover,[data-theme=graphite] .side-new:hover { box-shadow:none; }
.card { border-radius:10px;box-shadow:none; }
[data-theme=graphite] .card { box-shadow:none; }
.card-head { padding:18px 20px; }
.card-head h2 { font-size:14px; }
.eyebrow { font-size:10px;font-weight:600;letter-spacing:.1em; }
.page-head { align-items:center;margin-bottom:26px; }
.page-head h1,.hub-page-head h1 { font-size:29px;line-height:1.25;margin-top:0; }
.page-head p,.hub-page-head p { font-size:13px;color:var(--tx-3);line-height:1.65; }
.page-head .eyebrow { margin-bottom:9px; }
.input,.select,.textarea { border-radius:7px;font-size:13px; }
.input,.select { min-height:38px; }
.field > label { font-size:12px;font-weight:500; }
.tabs { gap:18px; }
.tab { font-size:13px;font-weight:500; }
.chip { border-radius:6px;font-weight:500; }
.empty { padding:32px 20px; }
.empty img { max-width:64px;max-height:64px; }
.empty h3 { font-size:15px; }
.empty p { font-size:13px;max-width:370px;margin-left:auto;margin-right:auto; }
.fab { padding:8px 11px;border-radius:9px; }
.fab img { width:28px;height:28px; }
.fab strong { font-size:11px; }

/* Overview: concise greeting, four real counts, then ongoing work. */
.workspace-heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px; }
.workspace-heading h1 { font-size:29px;line-height:1.3;margin:7px 0; }
.workspace-heading p { color:var(--tx-3);font-size:13px;line-height:1.7; }
.workspace-date { color:var(--tx-3);font-size:12px;text-transform:capitalize; }
.workspace-actions { display:flex;align-items:center;gap:8px;flex-shrink:0; }
.hub-metrics { gap:14px;margin-bottom:26px; }
.hub-metrics > a { position:relative;align-items:flex-start;padding:18px;border-radius:9px;gap:12px; }
.hub-metrics a > span { width:30px;height:30px;background:var(--bg-3);color:var(--tx-3);border-radius:7px; }
.hub-metrics a > span svg { width:16px;height:16px; }
.hub-metrics strong { font-size:25px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums; }
.hub-metrics p { font-size:12px;margin-top:6px; }
.hub-metrics a > svg { width:13px; }
.hub-home-grid { grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:20px; }
.hub-recent .card-head { padding:18px 20px; }
.hub-recent h2 { margin:0;font-size:14px; }
.hub-section-caption { font-size:12px;color:var(--tx-3);margin-top:5px; }
.hub-recent-row { padding:16px 20px;gap:12px; }
.hub-recent-row:hover { background:var(--bg-3); }
.hub-recent-icon { width:34px;height:34px;border-radius:8px;color:var(--tx-3);border:0; }
.hub-recent-icon svg { width:17px;height:17px; }
.hub-recent-row strong { font-size:13px;font-weight:500; }
.hub-recent-row p { margin-top:6px;font-size:11px; }
.hub-status { font-size:11px;font-weight:400;border-radius:4px;padding:2px 6px; }
.hub-recent-foot { padding:13px 20px;font-size:11px; }
.hub-brand-card,.hub-agenda-card { padding:18px 20px; }
.hub-aside-title { font-size:13px;font-weight:600;color:var(--tx-1); }
.hub-aside-title > .g-medal { width:25px;height:25px; }
.hub-aside-title > svg { color:var(--tx-3);width:17px; }
.hub-brand-card > h2 { font-size:20px;letter-spacing:-.025em;margin:12px 0 6px; }
.hub-brand-palette { margin-top:14px; }
.hub-brand-palette > span { width:18px;height:18px;border:0; }
.hub-zone { font-size:11px;line-height:1.6;margin:3px 0 12px; }
.hub-agenda-item strong { font-weight:500; }
.hub-agenda-item small { font-size:11px; }
.hub-quick-links { gap:14px;margin:24px 0; }
.hub-quick-links > a { padding:17px;border-radius:9px;border-color:var(--line);align-items:flex-start; }
.hub-quick-links a > span { width:30px;height:30px;background:var(--bg-3);color:var(--tx-3);border-radius:7px; }
.hub-quick-links a > span svg { width:16px;height:16px; }
.hub-quick-links h2 { font-size:13px;font-weight:500; }
.hub-quick-links p { font-size:12px; }
.hub-quick-links a > svg { width:13px;align-self:center; }
.hub-learning { border-radius:9px; }
.hub-learning > summary { padding:15px 18px;gap:12px; }
.hub-learning summary .g-medal { width:28px;height:28px; }
.hub-learning summary strong { font-size:13px;font-weight:500; }
.hub-learning summary small { font-size:12px; }
.workspace-loading { display:grid;gap:18px;padding-top:12px; }
.workspace-loading .skeleton { height:80px;border-radius:9px; }
.workspace-loading .skeleton:last-child { height:280px; }

/* Library and brand workbench share the same component rhythm. */
.hub-toolbar { gap:10px; }
.hub-toolbar input,.hub-sort .select { height:38px;min-height:38px; }
.hub-sort .select { padding:7px 30px 7px 10px;line-height:1.4; }
.hub-view-switch { border-radius:7px;border-color:var(--line); }
.hub-view-switch .icon-btn { width:30px;height:30px; }
.hub-filters { gap:6px; }
.hub-filters .chip { padding:6px 10px;border-color:var(--line); }
.hub-chat-card { border-radius:9px; }
.hub-chat-card h2 { font-size:14px;font-weight:500; }
.hub-chat-card time,.hub-chat-card p { font-size:12px; }
.hub-chat-glyph { width:32px;height:32px;border-radius:7px;color:var(--tx-3); }
.hub-chat-results.list { gap:0;border:1px solid var(--line);border-radius:9px;overflow:hidden; }
.hub-chat-results.list .hub-chat-card { border:0;border-bottom:1px solid var(--line);border-radius:0; }
.hub-chat-results.list .hub-chat-card:last-child { border-bottom:0; }
.hub-chat-results.list .hub-chat-card:hover { background:var(--bg-3);box-shadow:none; }
.hub-chat-results.list .hub-chat-open { grid-template-columns:115px minmax(0,1fr) auto;padding:15px 18px;gap:4px 16px; }
.hub-chat-results.list .hub-chat-top { grid-row:1 / span 2; }
.hub-chat-results.list .hub-chat-card.pinned { box-shadow:inset 2px 0 var(--gold-500); }
.bs-hero { align-items:center;gap:24px;margin-bottom:22px;padding:0; }
.bs-hero .eyebrow { color:var(--tx-3);margin-bottom:8px; }
.bs-hero h1 { font-size:29px;line-height:1.3;margin:7px 0;font-weight:600;letter-spacing:-.035em; }
.bs-hero h1 span { color:var(--tx-1); }
.bs-hero p { font-size:13px;max-width:620px;line-height:1.65; }
.bs-mascot { min-width:0;width:70px; }
.bs-mascot img { width:64px;height:64px;filter:none; }
.bs-mascot span { display:none; }
.brand-studio { --bs-radius:10px; }
.bs-overview { padding:14px 18px;border-radius:9px; }
.bs-layout { gap:20px; }
.bs-fields { padding:22px; }
.bs-editor-tabs { padding:5px;gap:3px; }
.bs-editor-tabs button { min-height:38px;border-radius:6px;font-size:12px;font-weight:500; }
.bs-section-heading { gap:10px; }
.bs-section-heading > span { width:28px;height:28px;font-size:11px;border-radius:7px; }
.bs-section-heading h2 { font-size:15px;font-weight:600; }
.bs-section-heading p,.bs-field small,.bs-logo-controls p { font-size:12px;line-height:1.6; }
.bs-field > label { font-size:12px;font-weight:500; }
.bs-field .input,.bs-field .select { height:40px;font-size:13px; }
.bs-preset,.bs-tone { border-radius:7px; }
.bs-savebar { border-radius:0 0 10px 10px; }
.bs-overview,.bs-editor,.bs-preview-card,.bs-quality,.bs-checklist { border-color:var(--line); }
.bs-logo-area p { font-size:12px; }
.bs-logo-actions .btn { font-size:12px; }
.g-hero,[data-theme=graphite] .g-hero { min-height:0;background:var(--bg-1);border-radius:10px;grid-template-columns:minmax(0,1fr) 100px; }
.g-hero::before,.g-hero-art::before { display:none; }
.g-hero-body { padding:24px;gap:10px; }
.g-hero h1 { font-size:28px;line-height:1.25;font-weight:600; }
.g-hero-body > p { font-size:13px; }
.g-hero-kicker { font-size:10px;letter-spacing:.09em;font-weight:500; }
.g-hero-art { width:100px;align-items:center; }
.g-hero-art img { height:86px;max-height:86px;margin:0;filter:none; }
.g-hero-speech { display:none; }
.modal,.video-options-panel { border-radius:12px; }
.modal-head h2,.video-options-panel h2 { font-size:19px;font-weight:600;letter-spacing:-.025em; }
.vo-level-card { border-radius:9px; }
.view-enter { animation-duration:180ms; }

@media(max-width:1100px) {
  .hub-home-grid { grid-template-columns:minmax(0,1fr); }
  .hub-home-aside { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hub-quick-links > a { gap:10px;padding:15px; }
}
@media(max-width:760px) {
  .topbar { padding:0 14px;gap:10px; }
  .content { padding:24px 18px 88px; }
  #announcement-slot { padding:12px 18px 0; }
  .announcement-banner { display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px; }
  .announcement-emblem { display:none; }
  .announcement-copy { grid-column:1;grid-row:1; }
  .announcement-banner > [data-read] { grid-column:2;grid-row:1;align-self:start; }
  .announcement-banner > [data-discover] { grid-column:1 / -1;grid-row:2; }
  .workspace-heading { align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:22px; }
  .workspace-heading h1,.page-head h1,.bs-hero h1 { font-size:25px; }
  .hub-metrics { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
  .hub-metrics > a { padding:14px 12px;gap:9px; }
  .hub-metrics a > svg { display:none; }
  .hub-metrics strong { font-size:22px; }
  .hub-metrics p { font-size:11px; }
  .hub-home-aside,.hub-quick-links { grid-template-columns:minmax(0,1fr); }
  .hub-chat-results.list .hub-chat-card { display:block; }
  .hub-chat-results.list .hub-chat-open { grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:16px; }
  .hub-chat-results.list .hub-chat-top { grid-column:1;grid-row:1; }
  .hub-chat-results.list h2 { grid-column:1;grid-row:2; }
  .hub-chat-results.list p { grid-column:1;grid-row:3; }
  .hub-chat-results.list .hub-chat-resume { grid-column:2;grid-row:1 / span 3; }
  .hub-chat-results.list footer { padding:0 12px 8px 16px; }
  .bs-hero { gap:12px; }
  .bs-mascot { display:none; }
  .bs-fields { padding:18px; }
  .g-hero,[data-theme=graphite] .g-hero { grid-template-columns:minmax(0,1fr); }
  .g-hero-body { padding:20px; }
  .g-hero-art { display:none; }
  .g-hero h1 { font-size:25px; }
  .hub-load-notice { align-items:flex-start;flex-direction:column;gap:10px; }
}
@media(pointer:coarse) {
  .btn,.icon-btn,.nav-item,.cr-item,.chip,.tab,.hub-view-switch .icon-btn { min-height:44px; }
  .icon-btn,.hub-view-switch .icon-btn { min-width:44px; }
}
