/* Cadence · Editorial workspace. Shared system across planning, writing and review. */
:root {
  --cd-ink:#24262b; --cd-muted:#626772; --cd-subtle:#717783;
  --cd-border:#e7e9ed; --cd-control:#c7ccd5; --cd-rail:#f7f8fa; --cd-surface:#fbfcfd;
  --cd-accent:#293b93; --cd-accent-soft:#eef1fb; --cd-hover:#f2f4f7;
  --cd-rail-width:232px; --cd-topbar-height:52px; --cd-page-padding:32px;
  --color-ink:var(--cd-ink); --color-muted:var(--cd-muted); --color-line:var(--cd-border);
  --color-indigo:var(--cd-accent); --color-paper:#fff; --color-red:#a83240;
  --surface-indigo:var(--cd-accent-soft); --surface-warning:#fff8e8;
  --surface-error:#fff2f3; --line:var(--cd-border); --muted:var(--cd-muted);
  --accent:var(--cd-accent); --teal:var(--cd-accent); --studio-accent:var(--cd-accent);
  --studio-ink:var(--cd-ink); --studio-muted:var(--cd-muted); --studio-surface:var(--cd-surface);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px; line-height:1.5; font-synthesis:none; color:var(--cd-ink); background:#fff;
}
body {color:var(--cd-ink);-webkit-font-smoothing:antialiased}
button,input,select,textarea {font:inherit}
button {min-height:34px;padding:7px 11px;font-size:13px;font-weight:500;border-color:var(--cd-control);border-radius:7px;box-shadow:none;line-height:1.35;color:var(--cd-ink)}
button:hover {background:var(--cd-hover);border-color:#adb4c0;box-shadow:none}
button:disabled {opacity:.5;cursor:not-allowed}
button svg,svg {width:16px;height:16px}
a {color:var(--cd-accent);text-underline-offset:3px}
h1,h2,h3,h4 {color:var(--cd-ink);font-weight:600}
h1 {font-size:26px;line-height:1.25;letter-spacing:-.8px}
h2 {font-size:19px;line-height:1.4;letter-spacing:-.35px}
h3 {font-size:15px;line-height:1.5}
p {line-height:1.65}
input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea {color:var(--cd-ink);font-size:14px;line-height:1.5;background:#fff;border:1px solid var(--cd-control);border-radius:7px;min-height:36px;padding:8px 10px;max-width:100%}
input::placeholder,textarea::placeholder {color:#6b7380;opacity:1}
textarea {font-family:inherit;resize:vertical}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {outline:2px solid var(--cd-accent);outline-offset:3px}
:where(button,input,select,textarea,a,summary) {scroll-margin-block:24px}
summary {font-size:13px;min-height:34px;gap:12px;color:var(--cd-ink);font-weight:500}
details {border-color:var(--cd-border);padding-top:16px}
details[open]>summary {margin-bottom:12px}
summary:after {color:var(--cd-muted)}
hr {border:0;border-top:1px solid var(--cd-border)}
.quiet,.studio-small-btn {box-shadow:none}
.studio-primary,.studio-primary:hover {background:var(--cd-accent);border-color:var(--cd-accent);color:#fff;filter:none}
.studio-primary:hover {background:#21317d;border-color:#21317d}
.studio-primary:focus-visible {outline-offset:4px}
.studio-danger {color:var(--color-red)}
.studio-small-btn {font-size:12px;min-height:30px;padding:5px 9px}
.studio-muted,.muted,.small,.studio-field small,.studio-source-meta,.studio-form-hint,.studio-caption,.studio-save-indicator,.studio-code-url,.studio-revision small {font-size:12px;line-height:1.65;color:var(--cd-muted)}
/* A quiet, consistent frame for every project page. */
.sidebar {width:var(--cd-rail-width);padding:20px 14px 12px;background:var(--cd-rail);border-right:1px solid var(--cd-border)}
.sidebar .brand {padding:0 10px 23px;font-size:22px;letter-spacing:-.8px;gap:10px}
.brand-mark {background:#2e333d;width:30px;height:30px;border-radius:8px;font-size:27px;box-shadow:inset 0 0 0 1px #ffffff12}
.brand small {font-size:11px;letter-spacing:0;color:var(--cd-muted)}
.nav-label {font-size:10px;letter-spacing:.08em;font-weight:600;padding:0 10px;margin:18px 0 8px;color:var(--cd-muted)}
.nav-item {color:#525865;min-height:37px;padding:9px 10px;margin:2px 0;font-size:13px;gap:10px;border-radius:7px}
.nav-item svg,.studio-nav-icon {width:16px;height:16px;font-size:16px;opacity:.85}
.nav-item.active {color:#273981;background:#e9edf6;font-weight:600}
.nav-item:hover {background:#eaeef3;border-color:transparent}
.nav-dot {display:none}
.nav-divider {margin:18px 10px;height:1px;background:var(--cd-border)}
.project-switcher {padding:0 8px;margin:0 0 10px}
.project-switcher label {font-size:11px;letter-spacing:0;color:var(--cd-muted)}
.project-switcher select {font-size:13px;min-height:36px;margin-top:6px;border-color:#d8dde5;background:#fff;font-weight:500}
.project-switcher button {margin-top:5px;min-height:32px;border:0;font-size:12px;color:var(--cd-muted);justify-content:flex-start;padding-left:8px}
.project-home-return {margin-bottom:13px}
.workspace-note {display:none}
.workspace-user {padding:15px 8px 4px;font-size:12px;border-top-color:var(--cd-border)}
.workspace-user small {font-size:11px;color:var(--cd-muted);max-width:145px}
.workspace-avatar,.avatar {color:#566176;background:#e9edf3;border:0}
.workspace-avatar {height:30px;width:30px;border-radius:50%}
.workspace-signout {margin-top:6px}
.app-shell {margin-left:var(--cd-rail-width)}
.topbar {height:var(--cd-topbar-height);padding:0 var(--cd-page-padding);gap:16px;background:#fff;border-bottom-color:var(--cd-border)}
.breadcrumb {font-size:12px;gap:10px;color:var(--cd-muted)}
.breadcrumb strong {font-weight:500;color:var(--cd-ink)}
.breadcrumb svg {color:#858c98}
.saved {font-size:11px;color:var(--cd-muted);gap:6px;white-space:nowrap}
.saved>span:first-child {width:5px;height:5px;background:#448d78}
#export {font-size:12px;background:transparent;border-color:transparent;padding:7px 8px}
#export:hover {background:var(--cd-hover)}
.page-heading {padding:27px var(--cd-page-padding) 16px;gap:18px;align-items:center}
.page-title {gap:10px}
.title-icon {display:none}
.platform {font-size:11px;color:var(--cd-muted);background:var(--cd-surface);border-color:var(--cd-border);padding:3px 6px}
.page-heading p {font-size:13px;color:var(--cd-muted);margin-top:6px}
.month-control input {width:155px!important;min-height:34px;font-size:13px!important;padding:6px 10px!important;border-color:var(--cd-border)}
.metrics {padding:0 0 18px;margin:0 var(--cd-page-padding);gap:18px;flex-wrap:wrap}
.metrics>div {font-size:12px;gap:5px;color:var(--cd-muted)}
.metrics strong {font-size:13px;letter-spacing:0;font-weight:600;color:var(--cd-ink)}
.metrics>div+div {border:0;padding-left:0}
.metrics .team-metric {font-size:12px;margin-left:auto}
.metrics .avatar-group {display:none}
.studio-setup-invitation {margin:0 var(--cd-page-padding) 18px;padding:14px 16px;border:1px solid var(--cd-border);border-radius:8px;background:var(--cd-surface);font-size:13px;gap:18px}
.studio-setup-invitation p {font-size:12px;color:var(--cd-muted)}
.studio-setup-invitation button {flex-shrink:0}
.plan-toolbar {min-height:46px;height:auto;padding:0 var(--cd-page-padding);border-top:0;border-bottom:1px solid var(--cd-border);gap:12px}
.view-buttons {gap:20px;min-height:46px}
.view-buttons button {font-size:13px;color:var(--cd-muted);padding:0 1px}
.view-buttons button[aria-pressed=true] {color:var(--cd-ink);font-weight:600}
.view-buttons button[aria-pressed=true]:after {height:2px;background:var(--cd-ink)}
.toolbar-actions {gap:7px}
.toolbar-actions button,#toggleMix {font-size:12px;min-height:32px}
.planning-body,.planning-body.mix-closed {grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 225px)}
.planner {padding:0 var(--cd-page-padding) 30px}
.week-nav {padding:15px 0;gap:12px;align-items:center}
.date-navigation {gap:3px;min-width:0}
.date-navigation button {width:30px;min-width:30px;height:32px;min-height:32px;font-size:20px;border-color:transparent;background:transparent}
.date-navigation button:hover {background:var(--cd-hover)}
.date-navigation h2 {font-size:13px;font-weight:500;margin-left:8px;letter-spacing:0;color:var(--cd-ink)}
.week-nav select {min-height:32px;font-size:12px;margin:0;padding:5px 8px;border-color:var(--cd-border);max-width:165px}
.week-nav #personFilter {margin-left:auto}
.studio-review-filter {font-size:12px;gap:8px;color:var(--cd-muted)}
.week-nav>.studio-review-filter {margin-left:0}
.week-nav .studio-review-filter select {max-width:185px;width:185px}
#scheduleTimezone {font-size:11px;color:var(--cd-muted);margin-left:8px}
.planner-footnote {font-size:12px;color:var(--cd-muted);margin-top:24px;max-width:720px}
/* Schedule is an editorial list, with one decision on each row. */
.day,.schedule-day {border:0;border-radius:0;margin:0 0 10px;overflow:visible}
.day-head,.schedule-day-header {min-height:34px;padding:7px 0;gap:8px;background:transparent;border:0;font-size:12px;color:var(--cd-muted)}
.date-number {border:0;background:transparent;border-radius:0;display:inline;width:auto;min-width:19px;height:auto;color:var(--cd-ink);font-size:13px;font-weight:600}
.day-head strong {font-size:12px;font-weight:600;color:var(--cd-ink)}
.day-topic {font-size:11px;margin-left:auto;color:var(--cd-muted)}
.schedule-day-posts {min-width:0}
.post,.post.has-production {border:0;border-radius:0;background:#fff;box-shadow:none;margin:0;padding:14px 12px;font-weight:400;line-height:1.5}
.schedule-day-posts>.post {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px;border-bottom:1px solid var(--cd-border)}
.schedule-day-posts>.post:first-child {border-top:1px solid var(--cd-border)}
.post:hover {border-color:var(--cd-border);box-shadow:none;background:#fafbfd}
.post .post-open {min-width:0;min-height:44px;display:block;padding:0;border:0;box-shadow:none;color:var(--cd-ink)}
.post .post-open:focus-visible {outline-offset:5px;border-radius:2px}
.post-title,.schedule-post-title {font-size:14px;line-height:1.5;font-weight:550;color:var(--cd-ink);margin:0 0 5px;overflow-wrap:anywhere}
.post-meta,.schedule-post-meta {justify-content:flex-start;flex-wrap:wrap;gap:5px 12px;font-size:12px;margin:0;line-height:1.5;color:var(--cd-muted)}
.post-meta span:last-child {white-space:normal;overflow:visible;text-overflow:clip}
.schedule-post-person {display:inline-flex;align-items:center;gap:6px}
.schedule-post-meta .avatar {width:18px;height:18px;display:inline-grid;font-size:8px;font-weight:600}
.post-sub,.schedule-post-taxonomy {font-size:11px;line-height:1.5;color:var(--cd-muted);margin-top:5px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.schedule-post-taxonomy .category-tag {font-size:11px;padding:0;border:0;background:transparent!important;color:var(--cd-muted)!important;margin:0}
.schedule-post-taxonomy .category-tag:before {content:"";display:inline-block;height:6px;width:6px;border-radius:50%;background:var(--tag-bg,#b5bdc9);margin-right:6px;vertical-align:1px}
.schedule-day-empty {color:var(--cd-muted);font-size:12px;padding:16px 12px}
.week-heading {font-size:15px;font-weight:600;color:var(--cd-ink);padding:20px 0 10px}
.post-review-controls {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0;min-width:0}
.post-review-state {display:block;font-size:12px;color:var(--cd-muted)}
.post-review-state>span {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.post-review-state select,.post-review-controls[data-review-state] select {width:auto;min-width:140px;max-width:205px;font-size:12px;min-height:32px;padding:5px 26px 5px 9px;color:#505965;border:1px solid var(--cd-border);border-radius:6px;background-color:#fff;cursor:pointer}
.post-review-controls[data-review-state=approved] select {color:#24684e;background-color:#f4faf6;border-color:#dcebe1}
.post-review-controls[data-review-state=changes_requested] select {color:#8d472c;background-color:#fff9f5;border-color:#eee0d7}
.post-review-controls[data-review-state=awaiting_approval] select {color:#355485;background-color:#f5f8fd;border-color:#dfe7f2}
.post-review-markers {display:flex;align-items:center;gap:4px;font-size:11px}
.post-review-marker,.post-review-markers>span {font-size:11px;line-height:1.5;border-radius:4px;padding:2px 6px;color:#82571d;background:#fff5dd;white-space:nowrap}
.post-review-options {padding:0;position:relative;border:0;margin:0;min-width:0}
.post-review-options>summary {font-size:18px;justify-content:center;min-height:32px;width:30px;color:var(--cd-muted);border-radius:6px;line-height:1}
.post-review-options>summary:after {content:none}
.post-review-options[open]>summary {margin:0;background:var(--cd-hover)}
.post-review-options-panel {position:absolute;right:0;top:calc(100% + 6px);width:185px;padding:10px 12px;background:#fff;border:1px solid var(--cd-border);border-radius:9px;box-shadow:0 8px 32px #2028391c;z-index:15}
.post-review-options-panel .post-review-toggle {display:flex;min-height:36px;margin:0;font-size:12px;gap:8px}
.post-review-toggle input[type=checkbox] {width:16px;height:16px;min-width:16px;border-color:var(--cd-control)}
.post-review-toggle.is-on span {background:transparent;padding:0;color:var(--cd-ink)}
.post-review-feedback {font-size:11px;line-height:1.5;flex-basis:100%;margin:0;text-align:right;max-width:230px}
.post .studio-status {font-size:11px;margin:5px 5px 0 0;padding:2px 5px}
#schedule[data-view=calendar],.schedule-calendar {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;align-items:stretch;border:1px solid var(--cd-border);border-radius:9px;min-height:380px;overflow:visible}
#schedule[data-view=calendar] .schedule-day,.schedule-calendar .schedule-day {margin:0;border-right:1px solid var(--cd-border);min-width:0}
#schedule[data-view=calendar] .schedule-day:last-child,.schedule-calendar .schedule-day:last-child {border-right:0}
#schedule[data-view=calendar] .day-head,.schedule-calendar .day-head {padding:12px 10px;align-items:flex-start;flex-wrap:wrap;border-bottom:1px solid var(--cd-border);min-height:66px;gap:4px 7px}
#schedule[data-view=calendar] .day-topic,.schedule-calendar .day-topic {width:100%;margin:0;font-size:10px}
#schedule[data-view=calendar] .post,.schedule-calendar .post {display:block;padding:12px 10px;margin:0;border-top:0;border-bottom:1px solid var(--cd-border)}
#schedule[data-view=calendar] .post-title,.schedule-calendar .post-title {font-size:13px;line-height:1.55}
#schedule[data-view=calendar] .post-meta,.schedule-calendar .post-meta {font-size:11px;gap:6px}
#schedule[data-view=calendar] .post-review-controls,.schedule-calendar .post-review-controls {justify-content:flex-start;margin-top:12px;gap:3px}
#schedule[data-view=calendar] .post-review-state,.schedule-calendar .post-review-state {flex:1;min-width:0}
#schedule[data-view=calendar] .post-review-state select,.schedule-calendar .post-review-state select {width:100%;min-width:0;max-width:100%;font-size:11px;padding-left:6px;padding-right:4px}
#schedule[data-view=calendar] .post-review-options-panel,.schedule-calendar .post-review-options-panel {right:0;max-width:190px}
/* A single status system; restrained color, always paired with words. */
.studio-status {font-size:11px;font-weight:500;line-height:1.45;padding:3px 7px;border-radius:5px;border-color:var(--cd-border);color:var(--cd-muted);background:#f7f8fa;text-transform:none}
.studio-status.draft {background:#f5f6f8;color:#626875;border-color:#e6e8ed}
.studio-status.scheduled,.studio-status.publishing {background:#eff5fc;color:#375b85;border-color:#dbe8f6}
.studio-status.grounded,.studio-status.approved,.studio-status.published,.studio-status.connected {background:#eef7f1;color:#30664b;border-color:#d9eadf}
.studio-status.mixed,.studio-status.unverified,.studio-status.needs_context,.studio-status.unknown {background:#fff7e6;color:#7e5a19;border-color:#f0e3c6}
.studio-status.failed {background:#fff2f3;color:#a83240;border-color:#efd3d8}
.category-tag {font-size:11px;padding:3px 7px;border:0;filter:none}
.metadata-tag,.pill-list span {font-size:11px;padding:3px 7px;border-color:var(--cd-border);border-radius:5px;background:#f8f9fb;color:var(--cd-muted)}
.studio-note {font-size:13px;line-height:1.7;padding:14px 16px;border-radius:8px;background:var(--cd-accent-soft);border-color:#e0e5f6;color:var(--cd-ink)}
.studio-note.warning,#notice {background:#fff9ed;border-color:#eee2c8;color:#72521d;font-size:13px}
.studio-note.success {background:#f0f8f3;border-color:#d8eadf;color:#30664b}
.studio-note.error,.auth-error {background:var(--surface-error);border-color:#edcdd3;color:#9b2e3b}
/* Sustained work is a page, while bounded decisions remain dialogs. */
dialog {border-color:var(--cd-border);color:var(--cd-ink);box-shadow:0 18px 80px #17203326;border-radius:12px}
dialog::backdrop {background:#1f273545;backdrop-filter:blur(2px)}
.studio-overlay {width:min(960px,calc(100vw - 48px));max-height:90dvh}
.studio-header {padding:22px 28px;border-color:var(--cd-border);align-items:center}
.studio-header h2 {font-size:21px;letter-spacing:-.5px;font-weight:600}
.studio-header p {font-size:13px;line-height:1.5;margin-top:5px;color:var(--cd-muted)}
.studio-header>button {font-size:20px;min-width:34px;min-height:34px;padding:5px;background:transparent;border:0;border-radius:7px;flex-shrink:0}
.studio-modal-content {padding:28px;max-height:calc(90dvh - 85px)}
#studioModal.studio-workspace-page {position:fixed;inset:var(--cd-topbar-height) 0 0 var(--cd-rail-width);margin:0;width:auto;max-width:none;height:calc(100dvh - var(--cd-topbar-height));max-height:none;border:0;border-radius:0;box-shadow:none;background:#fff;z-index:25;overflow:auto}
#studioModal.studio-workspace-page[open] {display:flex;flex-direction:column}
#studioModal.studio-workspace-page>.studio-header {padding:26px var(--cd-page-padding) 20px;border:0;flex:none;min-height:96px}
#studioModal.studio-workspace-page>.studio-header h2 {font-size:26px}
#studioModal.studio-workspace-page .studio-modal-content {padding:4px var(--cd-page-padding) 40px;max-height:none;overflow:visible;min-height:0;flex:1}
#studioModal.studio-workspace-page .studio-modal-content>.studio-tabs {margin:0 calc(var(--cd-page-padding) * -1) 26px;padding:0 var(--cd-page-padding)}
#studioModal.studio-workspace-page .studio-modal-content:has(>.studio-tabs) {padding-top:0}
.studio-tabs {min-height:46px;gap:26px;padding:0 28px;border-bottom-color:var(--cd-border)}
.studio-tabs button,.studio-post-panel .studio-tabs button {font-size:13px;color:var(--cd-muted);padding:12px 0;min-height:46px}
.studio-tabs button[aria-selected=true] {color:var(--cd-ink);font-weight:600}
.studio-tabs button[aria-selected=true]:after {background:var(--cd-ink);height:2px;border-radius:0}
.studio-modal-content>.studio-tabs {margin:0 -28px 24px}
.studio-grid,.studio-connection-grid {gap:24px}
.studio-section {margin-bottom:28px}
.studio-section+.studio-section {padding-top:26px;border-top-color:var(--cd-border)}
.studio-section>h3,.studio-heading-row h3,.studio-post-panel .studio-section h3 {font-size:15px;color:var(--cd-ink);font-weight:600}
.studio-section>p,.studio-post-panel .studio-section p {font-size:14px;line-height:1.8;color:var(--cd-ink)}
.studio-section .studio-muted,.studio-post-panel .studio-section .studio-muted {font-size:12px;color:var(--cd-muted);line-height:1.65}
.studio-field {font-size:13px;font-weight:500;color:var(--cd-ink);line-height:1.5;margin-bottom:20px}
.studio-field input,.studio-field select,.studio-field textarea,textarea.studio-textarea {font-size:14px;color:var(--cd-ink);border-color:var(--cd-control);border-radius:7px;padding:9px 11px;margin-top:7px;line-height:1.65;font-weight:400}
.studio-field small {margin-top:7px}
.studio-field textarea,textarea.studio-textarea {min-height:120px}
.studio-actions {gap:8px 10px;margin-top:18px}
.studio-actions p,.studio-post-panel .studio-actions p {font-size:12px}
.studio-actions>button {white-space:normal}
.studio-check {font-size:13px;color:var(--cd-ink);gap:9px;line-height:1.6;margin:16px 0}
.studio-check input[type=checkbox] {min-width:17px;width:17px;height:17px;margin-top:2px}
.studio-card {padding:20px;border-color:var(--cd-border);border-radius:9px;margin-bottom:14px;background:#fff}
.studio-card h3 {font-size:14px;font-weight:600;line-height:1.5;color:var(--cd-ink)}
.studio-card p,.studio-post-panel .studio-card p {font-size:13px;line-height:1.7;color:var(--cd-muted)}
.studio-card pre {font:13px/1.75 inherit;color:var(--cd-muted)}
.studio-card details,.studio-card a {font-size:13px}
.studio-empty {border:1px solid var(--cd-border);background:var(--cd-surface);border-radius:10px;padding:48px 24px}
.studio-empty h3 {font-size:17px;color:var(--cd-ink);margin-bottom:8px}
.studio-empty p {font-size:13px;color:var(--cd-muted);line-height:1.7}
.studio-heading-row {gap:16px;margin-bottom:18px;align-items:center}
.studio-heading-row p {font-size:13px;color:var(--cd-muted);line-height:1.6;margin-top:4px}
.studio-project-intro {margin-bottom:24px}
.studio-project-intro h3 {font-size:23px;color:var(--cd-ink);line-height:1.4;font-weight:600}
.studio-project-intro p {font-size:13px;color:var(--cd-muted)}
.studio-kicker {font-size:11px;color:var(--cd-muted);letter-spacing:.06em}
.studio-step-list {gap:14px;margin:20px 0 28px}
.studio-step-list div {font-size:12px;padding:16px;border-color:var(--cd-border);border-radius:8px;line-height:1.7}
/* Complete writing, with related evidence close to the document. */
#detail.studio-post-panel {inset:var(--cd-topbar-height) 0 0 var(--cd-rail-width);margin:0;width:calc(100vw - var(--cd-rail-width))!important;max-width:none;height:calc(100dvh - var(--cd-topbar-height));max-height:calc(100dvh - var(--cd-topbar-height));border:0;border-radius:0;background:#fff;box-shadow:none}
#detail.studio-post-panel::backdrop {background:#1d26331c;backdrop-filter:none}
.studio-post-panel .detail-toolbar {min-height:44px;padding:8px var(--cd-page-padding);font-size:12px;border:0;gap:16px;color:var(--cd-muted)}
.studio-post-panel .detail-toolbar>span {min-width:0;overflow-wrap:anywhere}
.studio-post-panel .detail-toolbar .icon-button {min-width:32px;min-height:32px;font-size:17px}
.studio-post-top {padding:10px var(--cd-page-padding) 0}
.studio-post-top .eyebrow {font-size:12px;line-height:1.6;letter-spacing:0;color:var(--cd-muted)}
.studio-post-panel .studio-post-top h2 {font-size:25px;line-height:1.35;font-weight:600;letter-spacing:-.65px;margin:8px 0 12px;max-width:1020px;overflow-wrap:anywhere}
.studio-post-top .pill-list {gap:5px}
.studio-post-top .post-review-mount {margin:12px 0 0}
.studio-post-top .post-review-controls {display:flex;justify-content:flex-start;gap:8px;min-height:32px}
.studio-post-top .post-review-feedback {max-width:none;text-align:left}
.studio-post-panel .studio-tabs {padding:0 var(--cd-page-padding);margin-top:14px;min-height:46px;gap:28px}
.studio-post-panel .detail-content {padding:26px var(--cd-page-padding) 50px;overflow:auto;min-height:0;flex:1}
.studio-post-panel .detail-content>* {max-width:1000px;margin-left:auto;margin-right:auto}
.studio-post-panel .detail-content>.studio-writing-layout {max-width:1320px}
.studio-post-panel .studio-note {font-size:13px}
.studio-writing-layout,.studio-write-layout {display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:40px;align-items:start}
.studio-writing-main,.studio-write-main {min-width:0;max-width:780px;width:100%}
.studio-writing-context,.studio-write-inspector {min-width:0;border-left:1px solid var(--cd-border);padding-left:24px;font-size:12px;color:var(--cd-muted)}
.studio-writing-context .studio-section,.studio-write-inspector .studio-section {margin-bottom:24px}
.studio-writing-context .studio-grounding,.studio-write-inspector .studio-grounding {margin-top:0;padding:0;border:0;border-radius:0;background:transparent}
.studio-writing-context .studio-grounding+.studio-grounding {margin-top:24px;padding-top:24px;border-top:1px solid var(--cd-border)}
.studio-writing-context summary,.studio-write-inspector summary {font-size:12px}
.studio-writing-context .studio-section p,.studio-write-inspector .studio-section p {font-size:13px}
#studioPostDraftForm {margin-top:22px!important}
.studio-field:has(.studio-draft) {font-size:13px;margin-bottom:0}
.studio-draft,textarea.studio-textarea.studio-draft {min-height:320px!important;font-size:16px!important;line-height:1.85!important;letter-spacing:0;padding:20px 22px;background:#fff;border-color:var(--cd-border);box-shadow:none;border-radius:8px}
.studio-draft:hover {border-color:#bfc6d1}
#studioPostDraftForm .studio-actions {margin-top:10px}
#studioPostDraftForm .studio-actions button {font-size:12px}
.studio-written-media {margin-top:34px;padding-top:30px!important}
.studio-written-slides {display:block;margin:8px 0 20px}
.studio-written-slide {position:relative;border:0;border-bottom:1px solid var(--cd-border);border-radius:0;padding:24px 0 26px 44px;background:transparent}
.studio-written-slide:last-child {border-bottom:0}
.studio-post-panel .studio-written-slide .studio-copy-number {position:absolute;left:0;top:27px;width:33px;margin:0;font-size:11px;color:var(--cd-muted);line-height:1.6;letter-spacing:0;text-transform:none}
.studio-post-panel .studio-copy-kicker {font-size:12px;line-height:1.6;color:var(--cd-muted);margin:0 0 6px}
.studio-written-slide h4 {font-size:18px;line-height:1.5;margin:0 0 10px;letter-spacing:-.3px;font-weight:550;max-width:720px}
.studio-post-panel .studio-written-slide .studio-copy-body,.studio-copy-body {font-size:16px;line-height:1.85;white-space:pre-wrap;color:var(--cd-ink);max-width:720px}
.studio-slide-editor textarea {width:100%;font-size:16px;line-height:1.75;border-color:var(--cd-border);padding:12px;min-height:92px}
.studio-slide-editor input {font-size:17px;border-color:var(--cd-border)}
.studio-slide-editor .studio-field {margin-bottom:14px}
.studio-generation-options {border:0;padding:0;margin:0 0 16px;max-width:100%}
.studio-generation-options>summary {display:inline-flex;justify-content:flex-start;gap:8px;border:1px solid var(--cd-border);border-radius:7px;padding:7px 11px;font-size:12px;color:var(--cd-muted);min-height:34px}
.studio-generation-options>summary:after {font-size:14px}
.studio-generation-options[open] {border-bottom:1px solid var(--cd-border);padding-bottom:18px}
.studio-generation-options .studio-engine-selector {padding-top:8px;max-width:750px;gap:10px}
.studio-engine-selector .studio-provider {font-size:12px;color:var(--cd-muted);gap:6px;flex-wrap:wrap;flex:1;min-width:130px}
.studio-engine-selector select {font-size:13px;min-height:34px;border-color:var(--cd-control);padding:6px 8px;max-width:100%;width:100%}
.studio-provider select {font-size:13px}
.studio-grounding {border-color:var(--cd-border);background:var(--cd-surface);padding:20px;border-radius:8px;margin-top:26px}
.studio-grounding h3 {font-size:13px;color:var(--cd-ink);gap:12px;flex-wrap:wrap}
.studio-grounding h4 {font-size:12px;color:var(--cd-muted);font-weight:600}
.studio-grounding ul {font-size:12px;color:var(--cd-muted);line-height:1.8}
.studio-citation {font-size:12px;line-height:1.75;color:var(--cd-muted);border-bottom-color:var(--cd-border);overflow-wrap:anywhere}
.studio-citation strong,.studio-citation q {color:var(--cd-muted)}
.studio-revision {font-size:13px;padding:14px 0;border-color:var(--cd-border)}
.studio-history {max-height:350px}
.studio-autosave {font-size:12px;min-height:24px}
/* Large artwork and orderly exports share the same surfaces as Write. */
.studio-design-slides {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.studio-design-slides figure {border:1px solid var(--cd-border);border-radius:9px;background:#fff;overflow:hidden}
.studio-design-slides img {background:#f7f8fa}
.studio-design-slides figcaption {padding:12px 14px;gap:10px;font-size:12px}
.studio-design-slides figcaption span {font-size:12px;color:var(--cd-muted)}
.studio-asset {padding:15px 0;gap:14px;font-size:13px;border-color:var(--cd-border)}
.studio-asset img {width:72px;height:60px;border-radius:6px;background:var(--cd-surface)}
.studio-asset small {font-size:12px}
.studio-approval-copy {font-size:16px;line-height:1.85;padding:20px;border-color:var(--cd-border);background:var(--cd-surface);border-radius:8px}
.studio-approval-slide {gap:20px;margin:22px 0;grid-template-columns:180px minmax(0,1fr)}
.studio-approval-slide figcaption {font-size:14px;line-height:1.75}
.studio-approval-slide img {border-color:var(--cd-border);border-radius:7px}
/* Knowledge, all content and review use the same readable list grammar. */
.studio-library-tools,.studio-source-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.studio-library-search {max-width:390px;min-width:200px;flex:1}
.studio-library-search input {margin:0!important;min-height:36px}
.studio-library-filters {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.studio-library-filters select,.studio-source-toolbar select {width:auto;min-width:150px;max-width:220px;margin:0;font-size:13px}
.studio-content-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px;border:0;border-bottom:1px solid var(--cd-border);border-radius:0;margin:0;padding:18px 10px;background:#fff}
.studio-content-row:hover {background:var(--cd-surface)}
.studio-content-row h3 {font-size:14px;line-height:1.5;margin-bottom:5px}
.studio-content-row p {font-size:12px;color:var(--cd-muted)}
.studio-content-row .studio-card-top {align-items:center}
.studio-content-row .studio-actions {margin:8px 0 0}
.studio-content-row .post-review-controls {margin:0}
.studio-content-row .post-open {border:0;background:transparent;padding:0;justify-content:flex-start;text-align:left;font-size:14px;white-space:normal;color:var(--cd-ink)}
.studio-source-list {margin-top:20px}
.studio-source-row {border:0;border-bottom:1px solid var(--cd-border);border-radius:0;padding:20px 8px;margin:0;background:#fff}
.studio-source-row h3 {font-size:14px;margin:0 0 5px}
.studio-source-row details {margin-top:12px;padding-top:10px}
.studio-source-row pre {padding:18px;background:var(--cd-surface);border-radius:6px;font-size:13px;line-height:1.8}
.studio-source-meta {gap:6px 10px;font-size:12px;margin-top:5px}
.studio-source-actions {gap:7px}
.studio-source-editor {padding:22px;background:var(--cd-surface);border-color:var(--cd-border);border-radius:9px;margin-top:22px}
.studio-file-input {background:#fafbfd!important;border-color:var(--cd-control)!important;padding:18px!important;border-radius:8px!important}
.studio-connection-grid {gap:20px}
.studio-connection-grid .studio-card {padding:24px}
.studio-mcp {margin-top:36px;padding-top:28px;border-color:var(--cd-border)}
.studio-mcp-projects {border-color:var(--cd-border);border-radius:8px;padding:16px 20px}
.studio-copy-row {gap:10px}
.studio-copy-row input {font-size:13px!important}
.studio-export-scope legend {font-size:14px}
.studio-json {font-size:13px;line-height:1.75}
/* Strategy and the compact mix inspector. */
.mix-panel {position:fixed;right:0;top:var(--cd-topbar-height);bottom:0;width:340px;max-width:calc(100vw - var(--cd-rail-width));overflow:auto;z-index:30;background:#fff;border-left:1px solid var(--cd-border);box-shadow:-12px 0 40px #2028390e}
.panel-heading {padding:24px 24px 18px;align-items:center}
.panel-heading h2 {font-size:18px;color:var(--cd-ink)}
.panel-heading p {font-size:12px;color:var(--cd-muted);margin-top:4px}
.panel-content {padding:0 24px 28px}
.mix-description {font-size:12px;line-height:1.6;padding:12px;background:var(--cd-surface);border:1px solid var(--cd-border);border-radius:7px;margin-bottom:22px}
.weight-row {margin:18px 0 22px}
.weight-label label {font-size:13px;line-height:1.5;color:var(--cd-ink)}
.weight-value input {font-size:12px!important;min-width:40px;min-height:30px;border-color:var(--cd-control)!important}
.weight-value span {font-size:12px;min-width:30px;color:var(--cd-muted)}
.group-note,.settings label,.settings>p,.reset-mix {font-size:12px;line-height:1.7;color:var(--cd-muted)}
.reset-mix {padding:8px 0;min-height:34px}
.settings input,.settings select {font-size:13px}
input[type=range] {height:24px;background:linear-gradient(#dce1e9,#dce1e9) center/100% 3px no-repeat;margin-top:7px;accent-color:var(--cd-accent)}
input[type=range]::-webkit-slider-thumb {width:15px;height:15px;background:var(--cd-accent);box-shadow:0 0 0 1px var(--cd-accent);border:2px solid #fff}
input[type=range]::-moz-range-thumb {width:11px;height:11px;background:var(--cd-accent);box-shadow:0 0 0 1px var(--cd-accent);border:2px solid #fff}
.audit-group {padding:24px;border:1px solid var(--cd-border);border-radius:9px;margin:0 0 20px}
.audit-group h3 {font-size:15px}
.audit-row {font-size:13px;grid-template-columns:minmax(0,1fr) 90px 100px;gap:16px;padding:12px 0;color:var(--cd-muted);border-color:var(--cd-border)}
.audit-heading {font-size:12px}
.stack {height:6px;margin:20px 0 12px;border-radius:3px}
.strategy {padding:30px;gap:28px}
.strategy h2 {font-size:26px}
.strategy h3 {font-size:15px}
.strategy p {font-size:13px;line-height:1.8;color:var(--cd-muted)}
/* Project entry and authentication belong to the same product. */
.project-home {background:var(--cd-surface)}
.project-home-topbar {min-height:72px;padding:16px 36px;border-color:var(--cd-border)}
.project-home-logo strong {font-size:23px;color:var(--cd-ink)}
.project-home-account strong {font-size:13px;color:var(--cd-ink)}
.project-home-account div>span {font-size:12px;color:var(--cd-muted)}
.project-home-account>button {font-size:12px;border-color:var(--cd-border)}
.project-home-content {max-width:1160px;padding:48px 36px 60px}
.project-home-heading {margin-bottom:28px;align-items:center}
.project-home-eyebrow {font-size:11px;color:var(--cd-muted);letter-spacing:.06em;margin-bottom:10px}
.project-home-heading h1 {font-size:30px;line-height:1.3;font-weight:600;color:var(--cd-ink);letter-spacing:-.9px}
.project-home-heading div>p:last-child {font-size:14px;color:var(--cd-muted);margin-top:9px}
.project-home-heading>button {font-size:13px;min-height:36px}
.project-home-toolbar {margin-bottom:22px;gap:16px}
.project-search {border-color:var(--cd-control);border-radius:7px;max-width:380px;padding:0 12px;min-height:38px}
.project-search input[type=search] {font-size:14px;min-height:36px;border:0;border-radius:0;padding:8px 0}
.project-search svg {color:var(--cd-muted)}
.project-search input::placeholder {color:#6b7380}
.project-home-count {font-size:12px;color:var(--cd-muted)}
.project-home-tools button {font-size:12px}
.project-home-grid {grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.project-card-item {border-color:var(--cd-border);border-radius:10px;box-shadow:none;transition:border-color .15s}
.project-card-item:has(.project-home-card:hover) {border-color:#bec7d7}
.project-home-card,.project-card-item .project-home-card {min-height:196px;padding:24px;border-radius:10px;box-shadow:none;background:#fff;border-color:var(--cd-border)}
.project-home-card:hover {background:#fff;border-color:#bec7d7;box-shadow:none}
.project-card-top {margin-bottom:17px}
.project-card-icon,.project-card-icon[class*=tone-] {width:32px;height:32px;font-size:13px;border:0;border-radius:8px;background:#eef1f6;color:#657087}
.project-card-name {font-size:17px;font-weight:600;color:var(--cd-ink);line-height:1.5;margin-bottom:6px}
.project-card-description {font-size:13px;line-height:1.65;color:var(--cd-muted);min-height:43px}
.project-card-stats {border-top-color:var(--cd-border);font-size:12px;color:var(--cd-muted);margin-top:18px;padding-top:14px;gap:8px 16px}
.project-card-actions {padding:0 18px 14px}
.project-card-actions button {font-size:12px;color:var(--cd-muted)}
.project-card-actions button:hover {background:var(--surface-error);color:var(--color-red);border-color:transparent}
.project-home-empty {border:1px solid var(--cd-border);border-radius:10px;padding:52px 24px}
.project-home-empty>span {border:0;background:var(--cd-accent-soft)}
.project-home-empty h2 {font-size:21px;color:var(--cd-ink)}
.project-home-empty p,.project-home-footnote {font-size:13px;color:var(--cd-muted)}
.project-home-empty>button {font-size:13px;min-height:36px}
.project-setup-badge {font-size:11px!important;color:var(--cd-muted)!important;background:#f3f5f8}
.auth-page {background:var(--cd-surface);color:var(--cd-ink)}
.auth-topbar {padding:26px 36px}
.auth-topbar>span {font-size:12px;color:var(--cd-muted)}
.auth-main {padding:44px 24px 80px;min-height:calc(100dvh - 90px)}
.auth-card {max-width:440px;padding:36px;border-color:var(--cd-border);border-radius:12px;box-shadow:0 12px 36px #25314506}
.auth-symbol {width:40px;height:40px;border:0;background:var(--cd-accent-soft);color:var(--cd-accent);border-radius:10px;margin-bottom:22px}
.auth-card h1 {font-size:27px;line-height:1.3;color:var(--cd-ink);font-weight:600;letter-spacing:-.7px}
.auth-intro {font-size:14px;color:var(--cd-muted);line-height:1.7;margin-bottom:28px}
.auth-google-button {font-size:14px;color:var(--cd-ink);border-color:var(--cd-control);border-radius:7px;min-height:44px;box-shadow:none}
.auth-google-button:hover {border-color:#a7b2c3;background:var(--cd-surface)}
.auth-domain-note,.auth-admin p,.auth-footer {font-size:12px;line-height:1.7;color:var(--cd-muted)}
.auth-admin summary,.auth-admin label {font-size:13px;color:var(--cd-ink)}
.auth-admin input {font-size:14px!important;border-color:var(--cd-control)}
.auth-divider {background:var(--cd-border)}
.auth-error,.auth-setup {font-size:13px;line-height:1.7;border-radius:7px}
/* Feedback stays legible without interrupting unaffected work. */
.studio-toast {font-size:13px;line-height:1.6;padding:12px 18px;border-radius:9px;background:#2c3340;border-color:#3b4554;box-shadow:0 8px 32px #20283926}
.studio-toast.error {background:#912c39;border-color:#912c39}
.studio-sync-notice {left:calc(var(--cd-rail-width) + 24px);right:24px;bottom:20px;border-color:#edcdd3;box-shadow:0 8px 30px #20283914;border-radius:9px;font-size:13px;z-index:60}
.studio-conflict-value {font-size:13px;border-color:var(--cd-border);border-radius:7px;background:var(--cd-surface)}
.studio-busy-banner {font-size:14px;background:#ffffffdf}
.studio-busy-banner div {max-width:500px}
.studio-deleted-project {border-color:var(--cd-border);padding:20px 0}
.studio-deleted-project p {font-size:13px;color:var(--cd-muted)}
.studio-delete-summary {padding:18px;border-radius:8px;background:var(--cd-surface);border-color:var(--cd-border)}
.studio-delete-summary p {font-size:13px}
.skip-link {left:calc(var(--cd-rail-width) + 12px);font-size:14px;border-radius:7px}
/* Responsive adaptation preserves readable text, not miniature desktop layouts. */
@media(min-width:1700px){:root{--cd-page-padding:40px}.studio-writing-layout,.studio-write-layout{grid-template-columns:minmax(0,1fr) 300px;gap:56px}.studio-post-panel .detail-content>*{max-width:1120px}}
@media(max-width:1180px){:root{--cd-rail-width:208px;--cd-page-padding:24px}.nav-item{font-size:12px}.studio-writing-layout,.studio-write-layout{grid-template-columns:minmax(0,1fr) 235px;gap:26px}.studio-writing-context,.studio-write-inspector{padding-left:20px}.schedule-day-posts>.post{column-gap:16px}.post-review-state select{max-width:180px;min-width:132px}.week-nav{gap:8px}.date-navigation h2{font-size:12px}#scheduleTimezone{margin-left:0}.metrics{gap:14px}}
@media(max-width:1040px){.studio-writing-layout,.studio-write-layout{grid-template-columns:minmax(0,1fr)}.studio-writing-main,.studio-write-main{max-width:none}.studio-writing-context,.studio-write-inspector{border-left:0;border-top:1px solid var(--cd-border);padding:24px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.studio-writing-context>*{min-width:0}.studio-writing-context>.studio-section{margin:0}.studio-post-panel .detail-content>*{max-width:none}#schedule[data-view=calendar],.schedule-calendar{display:block;min-height:0;border:0}#schedule[data-view=calendar] .schedule-day,.schedule-calendar .schedule-day{border:0;margin-bottom:10px}#schedule[data-view=calendar] .day-head,.schedule-calendar .day-head{min-height:36px;padding:8px 0;border:0;align-items:center;gap:8px}#schedule[data-view=calendar] .day-topic,.schedule-calendar .day-topic{width:auto;margin-left:auto}#schedule[data-view=calendar] .post,.schedule-calendar .post{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:16px 10px;border-top:1px solid var(--cd-border)}#schedule[data-view=calendar] .post-title,.schedule-calendar .post-title{font-size:14px}#schedule[data-view=calendar] .post-meta,.schedule-calendar .post-meta{font-size:12px}#schedule[data-view=calendar] .post-review-controls,.schedule-calendar .post-review-controls{margin:0}#schedule[data-view=calendar] .post-review-state select,.schedule-calendar .post-review-state select{min-width:140px;font-size:12px;padding-right:22px}.studio-library-tools{align-items:flex-start}.studio-content-row{column-gap:16px}}
@media(max-width:900px){.schedule-day-posts>.post{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px 10px}.post-review-controls{justify-content:flex-start}.post-review-feedback{text-align:left}.studio-content-row{grid-template-columns:minmax(0,1fr);gap:12px}.studio-content-row .post-review-controls{justify-content:flex-start}.studio-connection-grid{grid-template-columns:1fr}.week-nav #personFilter{margin-left:auto}.studio-review-filter{margin-left:auto!important}.studio-post-panel .studio-post-top h2{font-size:23px}.studio-grid{gap:18px}}
@media(max-width:760px){
 :root{--cd-rail-width:60px;--cd-page-padding:18px;--cd-topbar-height:52px}
 .sidebar{width:var(--cd-rail-width);padding:12px 6px;background:var(--cd-rail)}
 .sidebar .brand{padding:0 8px 20px}.brand-mark{width:30px;height:30px}
 .workspace-menu-toggle{min-width:44px;min-height:44px;align-self:center;margin-bottom:12px;border:0;background:transparent}
 .sidebar .nav-item{min-height:44px;padding:10px 6px;justify-content:center}
 .sidebar .nav-item svg{width:18px;height:18px}
 .sidebar .studio-nav-icon{font-size:18px;width:18px;height:18px}
 .project-switcher{padding:0;margin-bottom:14px}.project-switcher label{font-size:0}
 .project-switcher select{width:46px;padding:8px 2px;min-height:38px;font-size:11px}
 .project-switcher button{font-size:0;min-height:38px;justify-content:center;padding:0}.project-switcher button:after{font-size:21px;content:'+'}
 .workspace-user{padding:14px 0 4px}.workspace-signout{margin-top:6px}
 .sidebar.mobile-nav-open{width:min(280px,90vw);padding:12px;background:var(--cd-rail);box-shadow:12px 0 48px #25314a22}
 .sidebar.mobile-nav-open .brand{padding:0 10px 24px}.sidebar.mobile-nav-open .nav-item{padding:10px 12px;font-size:14px;justify-content:flex-start}
 .sidebar.mobile-nav-open .project-switcher{padding:0 10px}.sidebar.mobile-nav-open .project-switcher label{font-size:11px}
 .sidebar.mobile-nav-open .project-switcher select{width:100%;font-size:16px;padding:9px 10px;min-height:44px}
 .sidebar.mobile-nav-open .project-switcher button{font-size:13px;justify-content:flex-start;border:0;padding:8px;min-height:40px}.sidebar.mobile-nav-open .project-switcher button:after{content:none}
 .sidebar.mobile-nav-open .workspace-user{padding:16px 10px 4px;justify-content:flex-start}.sidebar.mobile-nav-open .nav-label{font-size:11px}.sidebar.mobile-nav-open .nav-divider{margin:16px 10px}
 .topbar{height:var(--cd-topbar-height);padding:0 16px;gap:8px}.breadcrumb{font-size:12px}.breadcrumb strong{font-size:12px;line-height:1.4}#export{font-size:12px;margin-left:auto;padding:6px;min-height:36px}.saved{display:none}
 h1{font-size:24px}.page-heading{padding:22px var(--cd-page-padding) 15px;gap:14px}.page-heading p{font-size:13px;line-height:1.6}.page-title{gap:8px}.platform{display:none}
 .month-control input{font-size:14px!important;width:156px!important;min-height:40px}
 .metrics{padding-bottom:18px;gap:10px 16px}.metrics>div{font-size:12px;display:flex}.metrics strong{font-size:13px}.metrics>div+div{padding:0;border:0}.metrics .team-metric{display:none}
 .plan-toolbar{flex-wrap:wrap;min-height:48px;gap:6px}.view-buttons{gap:18px;min-height:44px}.view-buttons button{font-size:13px;min-height:44px}.view-buttons button svg{display:none}.toolbar-actions{margin:0 0 8px}.toolbar-actions button,#toggleMix{font-size:12px;min-height:36px}
 .week-nav{padding:16px 0;gap:10px;align-items:center}.date-navigation{flex-wrap:wrap;gap:4px}.date-navigation button{min-height:38px;min-width:34px;width:34px}.date-navigation h2{font-size:12px;margin-left:4px}.week-nav select{font-size:14px!important;min-height:40px;max-width:175px}.week-nav #personFilter{margin-left:0}.week-nav>.studio-review-filter{margin-left:0!important;gap:8px}.studio-review-filter{font-size:12px}.week-nav .studio-review-filter select{font-size:14px!important;width:auto;max-width:200px}#scheduleTimezone{font-size:11px;flex-basis:100%}
 .day-head{padding:8px 0;font-size:12px;min-height:36px}.day-topic{display:none}.post-title{font-size:14px}.post-meta,.post-sub{font-size:12px}.schedule-day-posts>.post{padding:16px 2px;gap:12px}.post-review-controls{gap:7px}.post-review-state select,.post-review-controls[data-review-state] select{font-size:13px!important;min-height:40px;min-width:144px;max-width:100%;padding:7px 22px 7px 9px}.post-review-options>summary{min-height:40px;width:36px}.post-review-options-panel{width:185px}.post-review-options-panel .post-review-toggle{min-height:44px;font-size:13px}.post-review-marker,.post-review-markers>span{font-size:11px}
 #schedule[data-view=calendar],.schedule-calendar{display:block;min-height:0;border:0}#schedule[data-view=calendar] .schedule-day,.schedule-calendar .schedule-day{border:0;margin-bottom:10px}#schedule[data-view=calendar] .day-head,.schedule-calendar .day-head{padding:8px 0;min-height:36px;border:0;align-items:center;gap:8px}#schedule[data-view=calendar] .day-topic,.schedule-calendar .day-topic{width:auto;margin-left:auto}#schedule[data-view=calendar] .post,.schedule-calendar .post{padding:16px 2px;border-top:1px solid var(--cd-border)}#schedule[data-view=calendar] .post-title,.schedule-calendar .post-title{font-size:14px}#schedule[data-view=calendar] .post-meta,.schedule-calendar .post-meta{font-size:12px}#schedule[data-view=calendar] .post-review-state,.schedule-calendar .post-review-state{flex:0 1 auto}#schedule[data-view=calendar] .post-review-state select,.schedule-calendar .post-review-state select{font-size:13px!important;width:auto;min-width:140px}
 .studio-overlay{width:calc(100vw - 24px);max-height:94dvh;border-radius:10px}.studio-header{padding:20px;gap:12px}.studio-header h2{font-size:21px}.studio-header p{font-size:13px}.studio-modal-content{padding:20px;max-height:calc(94dvh - 92px)}.studio-modal-content>.studio-tabs{margin:0 -20px 22px}.studio-tabs{padding:0 20px;gap:22px}.studio-tabs button,.studio-post-panel .studio-tabs button{font-size:13px;min-height:46px}
 #studioModal.studio-workspace-page>.studio-header{padding:24px var(--cd-page-padding) 18px;min-height:90px}#studioModal.studio-workspace-page>.studio-header h2{font-size:24px}#studioModal.studio-workspace-page .studio-modal-content{padding:0 var(--cd-page-padding) 36px}
 .studio-post-panel .detail-toolbar{padding:8px var(--cd-page-padding);font-size:11px}.studio-post-top{padding:10px var(--cd-page-padding) 0}.studio-post-panel .studio-post-top h2{font-size:22px;line-height:1.4;letter-spacing:-.5px;margin:8px 0 12px}.studio-post-top .eyebrow{font-size:12px}.studio-post-top .pill-list{display:flex}.studio-post-top .pill-list span{font-size:11px}.studio-post-top .post-review-mount{margin-top:12px}.studio-post-panel .studio-tabs{padding:0 var(--cd-page-padding);gap:23px;margin-top:10px}.studio-post-panel .detail-content{padding:24px var(--cd-page-padding) 40px}
 .studio-heading-row{align-items:flex-start;gap:12px;flex-direction:column}.studio-heading-row h3,.studio-post-panel .studio-section h3{font-size:15px}.studio-heading-row p{font-size:13px}.studio-section>p,.studio-post-panel .studio-section p{font-size:14px}.studio-post-panel .studio-section .studio-muted{font-size:12px}.studio-grid,.studio-connection-grid{grid-template-columns:minmax(0,1fr);gap:0}.studio-connection-grid{gap:18px}.studio-connection-grid .studio-card{padding:20px}.studio-card{padding:18px}.studio-card p,.studio-post-panel .studio-card p{font-size:13px}.studio-card-top{gap:14px;flex-wrap:wrap}.studio-card-top>*{max-width:100%}.studio-field{font-size:13px}.studio-field input,.studio-field select,.studio-field textarea,textarea.studio-textarea{font-size:16px!important;min-height:44px;padding:10px 11px}.studio-actions{gap:8px}.studio-actions button{min-height:40px;font-size:13px}.studio-check{font-size:13px;min-height:32px;align-items:flex-start}
 .studio-writing-context,.studio-write-inspector{display:block;padding-top:26px}.studio-writing-context>*+*{margin-top:24px}.studio-draft,textarea.studio-textarea.studio-draft{padding:16px;min-height:320px!important;font-size:16px!important;line-height:1.8!important}.studio-written-slide{padding:24px 0}.studio-post-panel .studio-written-slide .studio-copy-number{position:static;width:auto;font-size:11px;margin:0 0 10px}.studio-written-slide h4{font-size:18px}.studio-post-panel .studio-written-slide .studio-copy-body{font-size:16px;line-height:1.8}.studio-generation-options .studio-engine-selector{gap:12px}.studio-engine-selector .studio-provider{min-width:100%;font-size:13px}.studio-engine-selector select{min-height:44px;font-size:16px!important}.studio-generation-options>summary{font-size:13px;min-height:40px}.studio-provider select{font-size:16px!important}
 .studio-grounding{padding:16px}.studio-design-slides{grid-template-columns:minmax(0,1fr);gap:20px}.studio-design-slides figcaption{font-size:12px;padding:12px}.studio-asset{align-items:flex-start}.studio-asset img{width:58px;height:52px}.studio-approval-slide{grid-template-columns:minmax(0,1fr)}.studio-approval-slide img{max-width:320px}.studio-approval-copy{font-size:16px;padding:16px}.studio-library-tools,.studio-source-toolbar{align-items:stretch;gap:12px}.studio-library-search{min-width:100%;max-width:none}.studio-library-filters{gap:8px;width:100%}.studio-library-filters select,.studio-source-toolbar select{min-width:0;max-width:100%;flex:1;font-size:16px!important;min-height:44px}.studio-content-row{padding:18px 0;grid-template-columns:minmax(0,1fr)}.studio-source-row{padding:18px 0}.studio-source-editor{padding:16px}.studio-source-actions{flex-wrap:wrap}.studio-source-actions button{font-size:12px;min-height:36px}.studio-source-meta{font-size:12px}.studio-empty{padding:34px 20px}
 .mix-panel{top:var(--cd-topbar-height);width:330px;max-width:calc(100vw - var(--cd-rail-width))}.panel-heading{padding:22px 20px 16px}.panel-content{padding:0 20px 24px}.weight-label label{font-size:13px}.weight-value input{font-size:13px!important}.audit-group{padding:18px}.audit-row{font-size:12px;grid-template-columns:minmax(0,1fr) 55px 65px;gap:8px}.strategy{padding:22px;grid-template-columns:1fr}
 .studio-setup-invitation{flex-direction:column;align-items:flex-start;padding:16px;margin:0 var(--cd-page-padding) 20px;font-size:13px}.studio-setup-invitation p{font-size:12px}.studio-project-head{align-items:flex-start;gap:16px}.studio-project-intro h3{font-size:22px}.studio-step-list{grid-template-columns:1fr 1fr;gap:12px}.studio-step-list div{font-size:12px;padding:14px}
 .project-home-topbar{padding:18px 24px;min-height:70px}.project-home-content{padding:34px 24px 46px}.project-home-heading h1{font-size:28px}.project-home-heading div>p:last-child{font-size:14px}.project-home-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px}.project-home-card,.project-card-item .project-home-card{padding:22px;min-height:190px}.project-home-heading>button{font-size:13px;min-height:40px}.project-search input[type=search]{font-size:16px!important;min-height:44px}.project-home-toolbar{flex-wrap:wrap}.project-home-account strong{font-size:13px}.project-home-account div>span{font-size:12px}.project-card-description{font-size:13px}.project-home-empty h2{font-size:20px}.auth-main{padding:25px 22px 50px}.auth-topbar{padding:24px}.auth-card{padding:30px}.auth-card h1{font-size:26px}.auth-intro{font-size:14px}.auth-admin input{font-size:16px!important}.auth-google-button{font-size:14px}
 .studio-sync-notice{left:12px;right:12px;bottom:12px;font-size:13px;gap:12px;flex-wrap:wrap}.studio-toast{bottom:12px;font-size:13px}.skip-link{left:8px}
}
@media(max-width:480px){
 :root{--cd-page-padding:14px}
 .topbar{padding:0 12px}.breadcrumb>svg:first-child{display:none}.breadcrumb strong{font-size:12px}.topbar #export span{display:none}.topbar #export{min-width:36px;min-height:36px}.page-heading{padding-top:22px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.metrics{gap:8px 12px}.metrics>div{font-size:11px}.metrics strong{font-size:12px}.metrics span{margin:0}.date-navigation h2{width:100%;margin:4px 0 0}.week-nav #personFilter{width:100%;max-width:none}.week-nav>.studio-review-filter{width:100%;justify-content:space-between}.week-nav .studio-review-filter select{flex:1;max-width:100%;width:auto;min-width:0}.plan-toolbar{gap:4px}.view-buttons{gap:16px}.view-buttons button{font-size:12px}.toolbar-actions{width:100%;justify-content:flex-start;gap:6px}.toolbar-actions button,#toggleMix{font-size:12px}.post-review-controls{align-items:flex-start;gap:6px}.post-review-state{min-width:0;flex:1}.post-review-state select,.post-review-controls[data-review-state] select{width:100%;max-width:100%;min-width:0;font-size:12px!important;padding-right:5px}.post-review-options{flex-shrink:0}.post-review-markers{order:3;flex-basis:100%}.post-review-feedback{max-width:100%}.post-review-options-panel{right:0;max-width:200px}.studio-post-top .post-review-controls{display:flex}.studio-post-panel .detail-toolbar{padding:6px 14px;font-size:11px}.studio-post-panel .studio-post-top h2{font-size:20px;line-height:1.4}.studio-post-top .pill-list{gap:4px}.studio-post-top .pill-list span{font-size:10px;padding:3px 5px}.studio-post-panel .studio-tabs{gap:20px}.studio-post-panel .studio-tabs button{font-size:13px}.studio-heading-row p{font-size:12px}.studio-actions{align-items:stretch}.studio-actions>button{max-width:100%;min-height:44px;text-align:center}.studio-draft,textarea.studio-textarea.studio-draft{padding:14px;font-size:16px!important}.studio-check{font-size:13px}.studio-writing-context .studio-grounding h3{font-size:13px}.studio-card{padding:16px}.studio-connection-grid .studio-card{padding:16px}.studio-card-top{flex-direction:column;align-items:flex-start}.studio-step-list{grid-template-columns:1fr}.studio-library-filters{flex-direction:column;align-items:stretch}.studio-library-filters select{width:100%;max-width:none}.studio-source-toolbar{flex-direction:column}.studio-source-toolbar select{width:100%}.studio-header{padding:18px}.studio-modal-content{padding:18px}.studio-modal-content>.studio-tabs{margin:0 -18px 22px;padding:0 18px}.studio-header h2{font-size:20px}.studio-header p{font-size:12px}.studio-design-slides figcaption{padding:10px;gap:9px}.studio-grounding{padding:14px}.studio-revision{flex-wrap:wrap}.studio-revision small{font-size:12px}.studio-note{padding:12px 14px}.audit-group{padding:15px}.audit-row{font-size:12px;grid-template-columns:minmax(0,1fr) 44px 54px;gap:6px}.panel-heading{padding:20px 14px 16px}.panel-content{padding:0 14px 22px}.project-home-topbar{padding:18px 20px}.project-home-content{padding:30px 20px 40px}.project-home-heading{align-items:flex-start;gap:18px;flex-wrap:wrap}.project-home-grid{grid-template-columns:1fr}.project-home-heading h1{font-size:27px}.project-home-heading div>p:last-child{font-size:13px}.project-home-card,.project-card-item .project-home-card{padding:20px}.project-home-account{width:100%}.project-home-account div>span{font-size:11px}.project-home-account>button{font-size:12px;min-height:40px}.project-home-tools{width:100%;justify-content:flex-start}.project-home-tools button{font-size:12px;min-height:40px}.auth-topbar{padding:22px}.auth-main{padding:12px 18px 36px}.auth-card{padding:27px 24px}.auth-card h1{font-size:25px}.auth-intro{font-size:14px}.auth-google-button{font-size:14px}.studio-copy-row{flex-direction:column;align-items:stretch}
}
@media(pointer:coarse){
 button,summary,.nav-item,.studio-tabs button,.post-review-options>summary,.post-review-toggle,.date-navigation button,.icon-button {min-height:44px}
 .icon-button,.date-navigation button,.post-review-options>summary {min-width:44px}
 input:not([type=range]):not([type=checkbox]):not([type=radio]),select,.post-review-state select,.post-review-controls[data-review-state] select {min-height:44px}
 input[type=range]{min-height:36px}.post-review-options-panel .post-review-toggle{min-height:44px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Runtime workspace navigation and list titles. */
.studio-primary-navigation{display:grid;gap:2px;margin-bottom:6px}.studio-primary-navigation .nav-item{margin:0}.studio-content-title{padding:0;min-height:28px;border:0;border-radius:3px;background:transparent;text-align:left;justify-content:flex-start;font-size:14px;font-weight:550;line-height:1.5;white-space:normal;color:var(--cd-ink)}.studio-content-title:hover{background:transparent;color:var(--cd-accent)}.schedule-day-header h3{display:flex;align-items:baseline;gap:9px;font-size:12px;line-height:1.5;font-weight:600;letter-spacing:0}.schedule-day-date{font-size:11px;color:var(--cd-muted);font-weight:400}.schedule-post-meta .schedule-post-category{font-size:11px;padding:0;background:transparent!important;color:var(--cd-muted)!important;border:0;margin:0}.schedule-post-category:before{content:"";display:inline-block;width:6px;height:6px;background:var(--tag-bg,#b5bdc9);border-radius:50%;vertical-align:1px;margin-right:6px}.post-review-hint{font-size:11px;line-height:1.55;color:var(--cd-muted);margin:4px 0 2px}#schedule[data-view=calendar] .schedule-day-header h3,.schedule-calendar .schedule-day-header h3{flex-wrap:wrap;gap:2px 6px}
[hidden]{display:none!important}

/* Final hierarchy for grouped navigation, collection filters and the writing inspector. */
.studio-primary-navigation{display:flex;flex-direction:column;gap:2px;flex:1 0 auto;min-height:326px}
.studio-primary-navigation .nav-item:nth-child(4){margin-top:18px}
.studio-primary-navigation #studioConnections{margin-top:auto}
.page-heading>div:first-child{margin-right:auto}
.page-heading>.month-control{margin-left:auto;flex-shrink:0}
.page-heading>.studio-create-posts{flex-shrink:0}
.page-heading p:empty{display:none}
.studio-library-filters{padding-bottom:18px;border-bottom:1px solid var(--cd-border);margin-bottom:4px}
.studio-library-filters button{background:transparent;color:var(--cd-muted);border-color:transparent;font-size:13px}
.studio-library-filters button[aria-pressed=true]{background:var(--cd-accent-soft);color:var(--cd-accent);font-weight:600}
.studio-library-filters button:hover{background:var(--cd-hover)}
.studio-source-import{border:1px solid var(--cd-border);border-radius:8px;padding:8px 14px;margin-bottom:20px;background:var(--cd-surface)}
.studio-source-import>summary{font-size:13px;color:var(--cd-ink)}
.studio-source-import[open]{background:#fff;padding-bottom:20px}
.studio-source-import[open]>summary{margin-bottom:22px}
.studio-writing-layout{margin-top:26px}
.studio-writing-main #studioPostDraftForm{margin-top:0!important}
.studio-writing-context>h3{font-size:13px;font-weight:600;margin:0 0 14px}
.studio-writing-context .studio-copy-body{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--cd-muted)}
.studio-writing-context .studio-revision{font-size:12px;flex-wrap:wrap;gap:8px}
.studio-writing-context .studio-revision small{font-size:11px}
.studio-content-summary{min-width:0}
.studio-content-summary p{font-size:12px;line-height:1.6;margin-top:4px;overflow-wrap:anywhere}
.studio-content-row .post-review-mount{min-width:0}
.studio-content-row .studio-source-meta{margin-top:7px}
@media(max-width:760px){.studio-primary-navigation{min-height:336px}.studio-writing-layout{margin-top:24px}.studio-source-import{padding:8px 12px}.studio-library-filters{flex-direction:row;overflow-x:auto;flex-wrap:nowrap;padding-bottom:14px}.studio-library-filters button{flex-shrink:0;min-height:40px}.studio-primary-navigation .nav-item:nth-child(4){margin-top:14px}}
@media(max-width:480px){.page-heading>div:first-child{flex-basis:100%}.page-heading>.month-control{margin-left:0}.page-heading>.studio-create-posts{margin-left:0;font-size:12px;padding:8px 10px}.studio-primary-navigation{min-height:336px}.studio-source-import>summary{font-size:12px}.studio-library-filters button{font-size:12px}.studio-writing-context .studio-copy-body{font-size:14px}}

/* Strategy allocations and expandable source rows. */
.studio-strategy-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 48px;margin:30px 0;max-width:1280px}
.studio-strategy-groups>.studio-section{margin:0;padding:0;border:0;min-width:0}
.studio-strategy-groups>.studio-section>h3{margin-bottom:12px;font-size:16px}
.studio-strategy-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 66px;align-items:baseline;gap:14px;padding:13px 0;border-bottom:1px solid var(--cd-border);font-size:13px;line-height:1.6}
.studio-strategy-row>span:first-child{min-width:0;overflow-wrap:anywhere;color:var(--cd-ink)}
.studio-strategy-row>span:not(:first-child){text-align:right;color:var(--cd-muted);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.studio-source-row>details{margin:0;padding:0;border:0}
.studio-source-row>details>summary{display:grid;grid-template-columns:minmax(0,1fr) 16px;gap:4px 16px;align-items:start;min-height:44px}
.studio-source-title{grid-column:1;grid-row:1;font-size:14px;font-weight:550;line-height:1.5;color:var(--cd-ink);overflow-wrap:anywhere}
.studio-source-row>details>summary>.studio-source-meta{grid-column:1;grid-row:2;margin:0;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
.studio-source-row>details>summary:after{grid-column:2;grid-row:1/3;align-self:center;text-align:center}
.studio-source-row>details[open]>summary{margin-bottom:16px}
.studio-source-row pre{font-family:inherit;font-size:13px;line-height:1.8}
@media(max-width:900px){.studio-strategy-groups{grid-template-columns:minmax(0,1fr);gap:30px}.studio-strategy-row{grid-template-columns:minmax(0,1fr) 90px 66px}#schedule[data-view=calendar] .post,.schedule-calendar .post{display:block}#schedule[data-view=calendar] .post-review-controls,.schedule-calendar .post-review-controls{margin-top:12px}}
@media(max-width:480px){.studio-strategy-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 16px}.studio-strategy-row>span:first-child{grid-column:1/-1}.studio-strategy-row>span:nth-child(2){text-align:left}.studio-source-row>details>summary{gap:5px 10px}.studio-source-row>details>summary>.studio-source-meta{font-size:12px}}

/* Content approval is distinct from Figma production and final review. */
.studio-design-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:20px 0 28px;counter-reset:design-stage}
.studio-design-workflow li{counter-increment:design-stage;padding:12px 0;border-top:1px solid var(--cd-border,#e5e7eb)}
.studio-design-workflow li::before{content:counter(design-stage);display:block;font-size:12px;color:var(--cd-text-muted,#626873);margin-bottom:9px}
.studio-design-workflow strong,.studio-design-workflow span{display:block}.studio-design-workflow span{font-size:13px;color:var(--cd-text-muted,#626873);margin-top:5px}
.studio-content-approval{border-top:1px solid var(--cd-border,#e5e7eb);padding-top:24px;margin-top:28px}
#studioFigmaHandoff{font-size:14px;line-height:1.6;min-height:330px;resize:vertical}
@media(max-width:600px){.studio-design-workflow{grid-template-columns:1fr;gap:0}.studio-design-workflow li{padding:13px 0}.studio-design-workflow li::before{float:left;margin:2px 12px 24px 0}}

/* Shared client design reference and local design-worker status. */
.studio-brand-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:48px;max-width:1050px;padding-top:12px}
.studio-brand-intro{display:flex;align-items:flex-start;gap:16px;margin-bottom:30px}.studio-brand-intro h3{font-size:21px;letter-spacing:-.4px;margin:0 0 8px}.studio-brand-intro p{line-height:1.7;color:var(--cd-text-muted);max-width:480px}.studio-brand-symbol{display:grid;place-items:center;width:46px;height:46px;flex:none;font-size:25px;color:var(--cd-accent,#5e5ce6);background:#f2f1fd;border-radius:12px}.studio-brand-main .studio-section{padding-top:24px;margin-top:26px;border-top:1px solid var(--cd-border)}.studio-brand-main .studio-heading-row p{font-size:13px}.studio-guide-scope{font-size:11px;white-space:nowrap;color:#525a66;background:#f1f3f5;border:1px solid #e5e7eb;border-radius:5px;padding:4px 7px}.studio-brand-aside{border-left:1px solid var(--cd-border);padding-left:32px}.studio-brand-aside h3{font-size:13px;margin:0 0 22px}.studio-brand-aside ol{padding:0;list-style:none;counter-reset:brand-step}.studio-brand-aside li{counter-increment:brand-step;position:relative;padding:0 0 24px 30px}.studio-brand-aside li:before{content:counter(brand-step);position:absolute;left:0;top:0;width:19px;height:19px;display:grid;place-items:center;border:1px solid var(--cd-border);border-radius:50%;font-size:10px;color:var(--cd-text-muted)}.studio-brand-aside strong{font-size:13px;font-weight:550}.studio-brand-aside li span{display:block;font-size:12px;color:var(--cd-text-muted);line-height:1.7;margin-top:5px}.studio-worker-state{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--cd-text-muted);line-height:1.5}.studio-worker-state>span{height:6px;width:6px;flex:none;border-radius:50%;background:#8b909a}.studio-worker-state.online>span{background:#278b69}.studio-design-job{border-left:2px solid var(--cd-accent,#5e5ce6);padding:10px 16px;margin:20px 0;background:#f8f8fc;font-size:13px}.studio-design-job p{color:var(--cd-text-muted);margin:6px 0 0;line-height:1.6}.studio-design-job.error{border-color:#bd5649;background:#fff7f6}.studio-design-job.error p{color:#914539}
@media(max-width:850px){.studio-brand-layout{grid-template-columns:1fr;gap:30px}.studio-brand-aside{border-left:0;border-top:1px solid var(--cd-border);padding:25px 0 0}.studio-brand-aside ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(max-width:560px){.studio-brand-aside ol{grid-template-columns:1fr;gap:0}.studio-brand-intro h3{font-size:19px}.studio-guide-scope{white-space:normal}}
