/* Shared working-page palette; the published A/B/C setting is the only selector.
   No selectors for Studio, audio playback, private data, or hidden teacher controls. */
:root{--work-bg:#faf9f6;--work-paper:#fff;--work-ink:#272b39;--work-muted:#626b7b;--work-accent:#755585;--work-soft:#eee7f3;--work-line:#e2dce7;--work-radius:20px;--work-shadow:0 8px 28px rgba(37,28,52,.04);--work-display:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color-scheme:light}
:root[data-workspace-theme=A]{--work-bg:#f6f7f9;--work-accent:#61518a;--work-soft:#efecf5;--work-line:#e0e2e8;--work-radius:16px;--work-shadow:0 4px 18px rgba(28,33,49,.035)}
:root[data-workspace-theme=B]{--work-bg:#fbf6f3;--work-accent:#865d76;--work-soft:#f3e5ed;--work-line:#e9dce3;--work-radius:24px;--work-shadow:0 8px 26px rgba(80,43,58,.045)}
:root[data-workspace-theme=C]{--work-bg:#f8f7f3;--work-accent:#735781;--work-soft:#ece5f1;--work-line:#e2dce6;--work-radius:20px;--work-display:Georgia,'Times New Roman',serif}
body.ac-workspace{background:var(--work-bg);color:var(--work-ink);--ink:var(--work-ink);--muted:var(--work-muted);--line:var(--work-line);--violet:var(--work-accent);--radius:var(--work-radius)}
/* Existing ordinary account hosts retain their layout; full screen redesign is staged. */
.ac-workspace #root .card,.ac-workspace #root .tw-section{border-color:var(--work-line);border-radius:var(--work-radius);box-shadow:var(--work-shadow)}
.ac-workspace #root .button.primary,.ac-workspace #root button.primary{background:var(--work-accent);border-color:var(--work-accent);color:#fff}
.ac-workspace #root .button.soft,.ac-workspace #root button.secondary{background:var(--work-paper);border-color:var(--work-line);color:var(--work-ink)}
.ac-workspace #root .tw-tabs a[aria-current=page]{background:var(--work-soft);color:var(--work-accent)}
.ac-workspace .ac-header{--ac-accent:var(--work-accent)}

/* Working-page text actions share a readable scale. Compact does not mean tiny hit targets. */
:root{--work-control-font:14px;--work-control-height:44px;--work-control-radius:10px;--work-control-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
body.ac-workspace :is(.th-btn,.hub-btn,.bw-btn,.os-button,.sw-button){font-family:var(--work-control-family);font-size:var(--work-control-font);font-weight:600;line-height:1.35;min-height:var(--work-control-height);border-radius:var(--work-control-radius)}
@media(max-width:650px){body.ac-workspace :is(.th-dialog,.stw-dialog,.sw-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}}

/* Text actions share the same legible hit area; calendar cells and media controls are not targeted. */
body.ac-workspace .hub-row-actions :is(a,button),body.ac-workspace .th-work-tabs>a{font:600 var(--work-control-font)/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;min-height:var(--work-control-height);box-sizing:border-box;display:inline-flex;align-items:center}
body.ac-workspace .th-shell[data-view=students] .th-search input{font-size:16px;min-height:44px}
