:root {
  --canvas: #faf9f7;
  --surface: #fff;
  --ink: #20202c;
  --muted: #777687;
  --line: #e7e6ed;
  --accent: #6250db;
  --accent-hover: #5140c7;
  --lavender: #eeebff;
  --amber: #92600d;
  --amber-bg: #fff1c9;
  --green: #327448;
  --green-bg: #e8f6eb;
  --radius: 12px;
  --sidebar: 232px;
  --rail: 308px;
}

body.is-workspace {
  display: block;
  margin: 0;
  min-height: 100vh;
  background: #faf9f7;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

body.is-workspace #legacy { display: none; }
body:not(.is-workspace) #workspace,
body:not(.is-workspace) #workspace ~ .sprite,
body:not(.is-workspace) #workspace ~ .overlay { display: none; }

#back-workspace {
  position: sticky;
  top: 0;
  z-index: 30;
  border: 0;
  background: #20202c;
  color: #fff;
  padding: 10px 16px;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

body.is-workspace .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
body.is-workspace svg.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
body.is-workspace button { font: inherit; color: inherit; cursor: pointer; }
body.is-workspace button:disabled { cursor: default; opacity: 0.6; }
body.is-workspace button:focus-visible { outline: 3px solid #a398f0; outline-offset: 4px; }

body.is-workspace .app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
body.is-workspace .sidebar { border-right: 1px solid var(--line); background: #fdfcfb; position: sticky; top: 0; height: 100vh; padding: 24px 12px 18px; display: flex; flex-direction: column; z-index: 20; min-width: 0; }
body.is-workspace .logo { flex-shrink: 0; width: 44px; height: 44px; }
body.is-workspace .sidebar nav { flex: 1; min-height: 0; overflow: auto; align-content: start; }
body.is-workspace .brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 25px; font-weight: 650; letter-spacing: -0.3px; }
body.is-workspace .logo { width: 56px; height: 56px; display: block; object-fit: contain; border: 0; background: none; padding: 0; }
body.is-workspace .workspace-switch { display: flex; align-items: center; gap: 12px; padding: 10px 14px 22px; font-weight: 600; }
body.is-workspace nav { display: grid; gap: 5px; }
body.is-workspace .nav-item { border: 0; background: transparent; display: flex; align-items: center; gap: 16px; padding: 13px 16px; width: 100%; border-radius: 9px; text-align: left; }
body.is-workspace .nav-item:hover { background: #f2f0f6; }
body.is-workspace .nav-item.active { background: var(--lavender); color: #5844d5; font-weight: 600; }
body.is-workspace .badge-count { margin-left: auto; background: #ffdf8e; color: #744f10; min-width: 25px; height: 25px; padding: 0 6px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
body.is-workspace .badge-count[hidden] { display: none; }
body.is-workspace .nav-divider { border-top: 1px solid var(--line); margin: 26px 12px; }
body.is-workspace .eyebrow { font-size: 11px; letter-spacing: 1.6px; font-weight: 650; color: var(--muted); margin: 0 14px 13px; text-transform: uppercase; }
body.is-workspace .work-links { display: grid; gap: 2px; margin: 0 0 4px 28px; }
body.is-workspace .work-links[hidden] { display: none !important; }
body.is-workspace .work-link { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 12px; width: 100%; text-align: left; border-radius: 8px; }
body.is-workspace .work-link:hover, body.is-workspace .work-link.active { background: #f3f1f7; }
body.is-workspace .tile { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
body.is-workspace .tile.small { width: 35px; height: 35px; }
body.is-workspace .tile.green { background: var(--green-bg); color: var(--green); }
body.is-workspace .tile.blue { background: #eaf3ff; color: #2673e3; }
body.is-workspace .tile.red { background: #ffeaeb; color: #b93943; }
body.is-workspace .tile.gold { background: #fff3d6; color: #ce900d; }
body.is-workspace .sidebar-bottom { margin-top: auto; padding-top: 24px; }
body.is-workspace .profile { display: flex; gap: 12px; align-items: center; padding: 22px 12px 0; }
body.is-workspace .avatar { width: 36px; height: 36px; background: #eae5ff; color: #3d355a; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 650; flex-shrink: 0; }
body.is-workspace .profile small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
body.is-workspace .profile strong { font-weight: 650; }

body.is-workspace .shell { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; padding: 0; background: var(--canvas); align-items: stretch; }
body.is-workspace .topbar { height: 62px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 22px; padding: 0 26px; background: #fdfcfbd9; position: sticky; top: 0; z-index: 5; }
body.is-workspace .breadcrumbs { display: flex; gap: 12px; font-size: 13px; white-space: nowrap; }
body.is-workspace .breadcrumbs span { color: #a3a1af; }
body.is-workspace .search { margin-left: auto; display: flex; align-items: center; gap: 10px; width: 36%; max-width: 420px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; background: #f7f6f8; color: var(--muted); }
body.is-workspace .search input { border: 0; outline: 0; background: none; width: 100%; font: inherit; font-size: 13px; color: var(--ink); }
body.is-workspace .icon-button { border: 0; background: none; padding: 5px; display: grid; place-items: center; color: var(--muted); }
body.is-workspace .mobile-menu { display: none; }
body.is-workspace .body-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); align-items: start; flex: 1; }
body.is-workspace #ws-main { padding: 25px 27px 28px; min-width: 0; max-width: 1150px; width: 100%; margin: 0 auto; }
body.is-workspace #ws-main h1 { font-size: 32px; line-height: 1.2; letter-spacing: -1.15px; margin: 0 0 8px; font-weight: 700; }
body.is-workspace .intro { margin: 0; color: #737184; font-size: 16px; }
body.is-workspace .chief-welcome { margin: 22px 0 18px; }
body.is-workspace .chief-header { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 16px; }
body.is-workspace .chief-mark { display: grid; place-items: center; color: #fff; background: #6250db; width: 48px; height: 48px; border-radius: 12px; font-size: 22px; flex-shrink: 0; box-shadow: 0 2px 6px #6250db33; }
body.is-workspace .chief-header h2 { font-size: 20px; margin: 0; font-weight: 700; }
body.is-workspace .chief-copy { min-width: 0; flex: 1; }
body.is-workspace .chief-header p { font-size: 16px; color: #5c5a6b; margin: 2px 0 0; font-weight: 500; }
body.is-workspace .chief-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.is-workspace .chief-cards article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 1px 2px #1614250a; }
body.is-workspace .chief-cards article:hover { border-color: #d4d2dc; }
body.is-workspace .chief-card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
body.is-workspace .chief-card-title h3 { margin: 0; font-size: 14px; font-weight: 700; }
body.is-workspace .chief-card-icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
body.is-workspace .chief-card-icon .icon { width: 16px; height: 16px; }
body.is-workspace .chief-card-icon.server { background: #eef0ff; color: #4f46c8; }
body.is-workspace .chief-card-icon.shield { background: var(--green-bg); color: var(--green); }
body.is-workspace .chief-card-icon.custom { background: #f3eaff; color: #7c3aed; }
body.is-workspace .chief-card-icon.custom circle { fill: #f3eaff; }
body.is-workspace .chief-cards p { margin: 0; font-size: 15px; line-height: 1.5; color: #5e5c6b; }
body.is-workspace .user-message { display: flex; gap: 14px; align-items: flex-start; justify-content: flex-end; margin: 8px 0 20px; }
body.is-workspace .bubble { padding: 11px 15px; border-radius: 11px; background: var(--lavender); font-size: 13px; max-width: 520px; }
body.is-workspace .assistant-message { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
body.is-workspace .assistant-message .chief-mark { width: 35px; height: 35px; font-size: 18px; margin-top: 4px; }
body.is-workspace .assistant-message .bubble { background: #f0eff3; max-width: none; white-space: pre-wrap; }
body.is-workspace .message-meta { font-size: 12px; color: #9390a2; margin: 4px 2px 12px; }
body.is-workspace .email-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 8px 0 18px; }
body.is-workspace .email-inner { padding: 21px 24px 0; }
body.is-workspace .email-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-bottom: 17px; }
body.is-workspace .email-heading h3 { font-size: 16px; margin: 0; font-weight: 650; }
body.is-workspace .status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; font-size: 12px; color: var(--amber); background: var(--amber-bg); }
body.is-workspace .status::before { content: ""; height: 6px; width: 6px; background: #e2a022; border-radius: 50%; }
body.is-workspace .fields { display: grid; grid-template-columns: 76px minmax(0, 1fr); row-gap: 5px; font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
body.is-workspace .fields .label { color: #6e697c; }
body.is-workspace .letter { padding: 8px 0 16px; overflow: auto; }
body.is-workspace .email-footer { border-top: 1px solid var(--line); padding: 16px 23px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
body.is-workspace .email-footer p { font-size: 12px; color: #777184; margin: 0; }
body.is-workspace .button { border: 1px solid #dedbe8; background: #fff; border-radius: 8px; min-height: 40px; padding: 9px 17px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; color: var(--ink); }
body.is-workspace .button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
body.is-workspace .button.primary:hover { background: var(--accent-hover); }
body.is-workspace .composer { background: #fff; border: 1px solid #cfcdda; border-radius: 16px; padding: 16px; box-shadow: 0 1px 2px #1614250a; }
body.is-workspace .composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #6250db33; }
body.is-workspace .composer textarea { display: block; border: 0; outline: 0; resize: vertical; min-height: 72px; width: 100%; font: inherit; font-size: 15px; padding: 0; color: var(--ink); background: none; }
body.is-workspace .composer textarea::placeholder { color: #8b879b; }
body.is-workspace .composer-bottom { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid #f0eef4; }
body.is-workspace .composer-label { font-size: 12px; font-weight: 650; color: #5844d5; display: flex; gap: 6px; align-items: center; background: var(--lavender); border: 1px solid #ddd8ff; border-radius: 6px; padding: 4px 8px; }
body.is-workspace .mini-chief { color: var(--accent); }
body.is-workspace .send-button { margin-left: auto; background: var(--accent); border: 0; border-radius: 12px; width: 36px; height: 36px; display: grid; place-items: center; color: white; box-shadow: 0 1px 2px #16142514; }
body.is-workspace .send-button:disabled { opacity: 0.4; }
body.is-workspace .send-button .icon { stroke: #fff; }
body.is-workspace .rail { padding: 25px 23px; border-left: 1px solid var(--line); background: #fdfcfb; }
body.is-workspace .rail h2 { font-size: 16px; margin: 0 0 14px; font-weight: 650; }
body.is-workspace .rail-section { padding-bottom: 25px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
body.is-workspace .rail-section:last-child { border: 0; margin: 0; padding: 0; }
body.is-workspace .team-row { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; border-left: 0; border-right: 0; border-top: 0; background: none; text-align: left; }
body.is-workspace .row-copy { flex: 1; min-width: 0; }
body.is-workspace .row-copy strong { display: block; font-size: 13px; font-weight: 600; }
body.is-workspace .row-copy small { font-size: 12px; color: var(--muted); display: block; margin-top: 4px; }
body.is-workspace .dot { width: 8px; height: 8px; background: #d1cfd7; border-radius: 50%; flex-shrink: 0; }
body.is-workspace .dot.complete { background: #50825e; }
body.is-workspace .dot.pending { background: #dda122; }
body.is-workspace .pill { flex-shrink: 0; font-size: 11px; border-radius: 12px; padding: 4px 7px; background: var(--lavender); color: var(--accent); }
body.is-workspace .activity-link { color: var(--accent); font-size: 13px; border: 0; background: none; display: flex; align-items: center; gap: 8px; padding: 12px 0; }
body.is-workspace .empty { color: var(--muted); margin: 8px 0; }
body.is-workspace .work-card, body.is-workspace .knowledge-card, body.is-workspace .connection-list article, body.is-workspace .settings-list button { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 12px; }
body.is-workspace .tool-host .guide { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 20px; }
body.is-workspace .tool-host .guide h2 { font-family: inherit; font-weight: 700; font-size: 28px; line-height: 1.15; letter-spacing: -0.6px; margin: 0 0 8px; }
body.is-workspace .tool-host .guide h3 { margin: 0 0 6px; font-size: 15px; }
body.is-workspace .tool-host .eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 11px; letter-spacing: 0.14em; }
body.is-workspace .tool-host .guide p { color: #5e5c6b; max-width: 68ch; }
body.is-workspace .tool-host .textlink[data-back],
body.is-workspace .tool-host #move-back,
body.is-workspace .tool-host #improve-back,
body.is-workspace .tool-host #google-connect-back { display: none; }
body.is-workspace .tool-host button.go,
body.is-workspace .tool-host a.go,
body.is-workspace .tool-host #move-status button {
  width: auto;
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: 600 13px/1.2 inherit;
  padding: 10px 16px;
}
body.is-workspace .tool-host button.go:hover,
body.is-workspace .tool-host a.go:hover,
body.is-workspace .tool-host #move-status button:hover { background: var(--accent-hover); }
body.is-workspace .tool-host .actions { display: flex; justify-content: flex-start; gap: 10px; margin: 16px 0 0; }
body.is-workspace .tool-host .move-place { margin: 26px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
body.is-workspace .tool-host .move-form { margin: 10px 0 0; padding-top: 4px; }
body.is-workspace .tool-host .move-form h3 { margin: 0 0 6px; font-size: 16px; }
body.is-workspace .tool-host .move-form > p { margin: 0 0 4px; font-size: 14px; }
body.is-workspace .tool-host .move-form label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
body.is-workspace .tool-host .move-form input,
body.is-workspace .tool-host .move-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #dedce7;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
body.is-workspace .tool-host #move-hours { max-width: 96px; }
body.is-workspace .tool-host #move-code { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--lavender); color: var(--ink); }
body.is-workspace .tool-host #move-status { display: grid; gap: 10px; margin-top: 16px; }
body.is-workspace .tool-host #move-status article { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #faf9f7; }
body.is-workspace .tool-host #move-status p { margin: 4px 0 0; font-size: 13px; overflow-wrap: anywhere; }
body.is-workspace #ws-tool-back { margin: 0 0 12px; padding-left: 0; }
body.is-workspace .connection-list { display: grid; gap: 12px; margin-top: 18px; }
body.is-workspace .work-card { display: block; }
body.is-workspace .connection-list article h2, body.is-workspace .work-card h2, body.is-workspace .knowledge-card h2 { margin: 0 0 6px; font-size: 16px; }
body.is-workspace .work-card p { margin: 0; color: var(--ink); font-size: 14px; }
body.is-workspace .work-card .meta, body.is-workspace .knowledge-card .meta { margin: 0 0 6px; color: var(--muted); font-size: 12px; }
body.is-workspace .assignees { list-style: none; margin: 12px 0 0; padding: 0; }
body.is-workspace .assignees li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
body.is-workspace .assignees .button { min-height: 32px; padding: 6px 12px; }
body.is-workspace .history { margin-top: 28px; }
body.is-workspace .history h2 { font-size: 16px; margin: 0; }
body.is-workspace .history-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
body.is-workspace .history-head input { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fff; font: inherit; font-size: 13px; width: min(240px, 46vw); }
body.is-workspace .history-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
body.is-workspace .range-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
body.is-workspace .range-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; }
body.is-workspace .range-tabs button[aria-pressed="true"] { background: var(--lavender); color: #5844d5; border-color: transparent; font-weight: 650; }
body.is-workspace .range-months { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; }
body.is-workspace .range-bound { display: flex; align-items: center; gap: 6px; }
body.is-workspace .range-clear { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 12px; font-size: 13px; }
body.is-workspace .range-months select, body.is-workspace .day-pick > button { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); }
body.is-workspace .day-pick { position: relative; }
body.is-workspace .day-pick > button { min-width: 3.4rem; }
body.is-workspace .day-pick > button:disabled { color: var(--muted); }
body.is-workspace .day-grid { position: absolute; z-index: 8; top: calc(100% + 6px); right: 0; display: grid; grid-template-columns: repeat(5, 2rem); gap: 4px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px #1614251a; }
body.is-workspace .day-grid button { width: 2rem; height: 2rem; border: 0; border-radius: 6px; background: transparent; padding: 0; }
body.is-workspace .day-grid button:hover, body.is-workspace .day-grid button[aria-pressed="true"] { background: var(--lavender); color: #5844d5; font-weight: 650; }
body.is-workspace .queue-head { font-size: 16px; margin: 0 0 12px; }
body.is-workspace .queue-empty { border: 1px dashed #d9d7e2; border-radius: 12px; background: #f7f6f8; text-align: center; padding: 28px 20px; }
body.is-workspace .queue-check { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--green-bg); color: var(--green); font-weight: 700; }
body.is-workspace .queue-empty h3 { margin: 0 0 6px; font-size: 16px; }
body.is-workspace .queue-empty p { margin: 0 auto; max-width: 42ch; color: var(--muted); font-size: 14px; }
body.is-workspace .approval-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; color: var(--muted); font-size: 12px; }
body.is-workspace .agent-badge { background: var(--lavender); color: #5844d5; border-radius: 6px; padding: 2px 8px; font-weight: 650; }
body.is-workspace .decision-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
body.is-workspace .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
body.is-workspace .decision-table { border: 0; border-radius: 0; }
body.is-workspace .decision-table th { text-align: left; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: #f7f6f8; padding: 10px 12px; font-weight: 650; }
body.is-workspace .decision-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
body.is-workspace .decision-table tr.is-hidden { display: none; }
body.is-workspace .decision-table .detail { color: var(--muted); }
body.is-workspace .pill.pending { background: var(--amber-bg); color: var(--amber); }
body.is-workspace .pill.sent { background: #e7f0ff; color: #2458a8; }
body.is-workspace .pill.approved { background: var(--green-bg); color: var(--green); }
body.is-workspace .pill.aside { background: #f1f0f4; color: #5e5c6b; }
body.is-workspace .text-button { border: 0; background: none; color: var(--accent); font-weight: 650; padding: 0; }
body.is-workspace .count-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 12px; }
body.is-workspace .lookup { display: flex; gap: 8px; margin: 18px 0; }
body.is-workspace .lookup input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
body.is-workspace #ws-works .work-tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
body.is-workspace #ws-works .cp-action, body.is-workspace #ws-works .go { color: #fff; background: var(--accent); border: 0; border-radius: 8px; padding: 8px 14px; }
body.is-workspace #ws-works .cp-card { border-color: var(--line); border-radius: 12px; }
body.is-workspace #ws-works .work-create input, body.is-workspace #ws-works .work-create textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
body.is-workspace #ws-works .name-line { display: flex; align-items: center; gap: 8px; }
body.is-workspace #ws-works .name-line input { width: auto; flex: 1; }
body.is-workspace #ws-works #member-work .eyebrow { display: none; }
body.is-workspace #ws-works #work-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
body.is-workspace #ws-works #work-close { border: 0; background: none; color: var(--accent); font-weight: 600; padding: 8px 12px 8px 0; }
body.is-workspace .settings-list { display: grid; gap: 10px; margin-top: 18px; }
body.is-workspace [hidden] { display: none !important; }
body.is-workspace .settings-list button { text-align: left; width: 100%; }
body.is-workspace .settings-list button span { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 4px; }
body.is-workspace .who-row { display: flex; gap: 8px; margin-top: 16px; }
body.is-workspace .who-row button[aria-pressed="true"] { background: var(--lavender); color: #5844d5; border-color: transparent; }

body.is-workspace .overlay { display: none; }
body.is-workspace .overlay.open { display: block; position: fixed; inset: 0; background: #16142555; z-index: 19; }

@media (max-width: 1000px) {
  body.is-workspace .body-grid { grid-template-columns: minmax(0, 1fr); }
  body.is-workspace .rail { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  body.is-workspace .app { display: block; }
  body.is-workspace .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 240px; transform: translateX(-100%); }
  body.is-workspace .sidebar.open { transform: none; }
  body.is-workspace .mobile-menu { display: grid; }
  body.is-workspace .search { display: none; }
  body.is-workspace #ws-main { padding: 23px 16px 16px; }
  body.is-workspace #ws-main h1 { font-size: 26px; }
  body.is-workspace .chief-cards { grid-template-columns: 1fr; }
}
