@charset "UTF-8";

/* Soft Studio. Screen presentation only; existing IDs and print layouts remain authoritative. */
@media screen {
  html[data-workbench-theme="studio"] {
    --text:#26312c; --muted:#66716a; --line:#e4e8e2; --border:var(--line);
    --canvas:#e9ecef; --surface:#fff; --surface-subtle:#f7f9f6; --surface-muted:#f0f3ef;
    --sidebar:#fafbf9; --sidebar-text:#606d63; --sidebar-muted:#727b73;
    --sidebar-hover:#eef2e9; --sidebar-active:#253b31; --sidebar-selected-text:#fff;
    --accent:#3f5e3c; --accent-hover:#334e31; --focus:#6b844c;
    --number-settled:#496742; --number-pending:#845f31;
    --chart-1:#a7c659; --chart-2:#b3a3d7; --chart-3:#638b76; --chart-4:#92b9ba;
    --chart-5:#cda983; --chart-6:#9ca68b; --chart-7:#aeb6bd; --chart-unclassified:#7c8681;
    --tone:#607064; --tone-fill:#f0f3ed; --tone-line:#dfe6da;
    --studio-lime:#dceda4; --studio-violet:#e6dff1; --studio-ink:#253b31;
    --workbench-radius:23px; --workbench-control-radius:13px;
    --workbench-shadow:0 3px 10px #28392c04;
    color:var(--text); background:var(--canvas); color-scheme:light;
    font-size:14px; line-height:1.6;
  }
  html[data-workbench-theme="studio"] body { background:var(--canvas); color:var(--text); }
  html[data-workbench-theme="studio"] :is([data-tone="receiving"],.tone-receiving) { --tone:#5a6d39; --tone-fill:#f1f6e6; --tone-line:#dce7c6; }
  html[data-workbench-theme="studio"] :is([data-tone="invoice"],.tone-invoice,[data-tone="waiting"],.tone-waiting) { --tone:#886738; --tone-fill:#fbf4e6; --tone-line:#ebdec4; }
  html[data-workbench-theme="studio"] :is([data-tone="payment"],.tone-payment) { --tone:#456958; --tone-fill:#edf4ef; --tone-line:#d6e5da; }
  html[data-workbench-theme="studio"] :is([data-tone="success"],.tone-success) { --tone:#57743c; --tone-fill:#f0f5e7; --tone-line:#dce6cb; }
  html[data-workbench-theme="studio"] :is([data-tone="task"],.tone-task,[data-tone="contract"],.tone-contract) { --tone:#74628a; --tone-fill:#f2edf8; --tone-line:#e1d7ed; }
  html[data-workbench-theme="studio"] :is([data-tone="danger"],.tone-danger) { --tone:#9a5356; --tone-fill:#fbefef; --tone-line:#eed8da; }
  html[data-workbench-theme="studio"] :is([data-tone="neutral"],.tone-neutral) { --tone:#667468; --tone-fill:#f2f4ef; --tone-line:#e2e7dc; }

  /* A solid top edge keeps scrolling records from peeking around the command bar. */
  html[data-workbench-theme="studio"] .topbar {
    position:sticky; top:0; z-index:25; width:100%; max-width:none;
    min-height:64px; height:auto; margin:0 auto 18px; padding:8px max(22px,calc((100% - 1840px)/2));
    gap:14px; border:0; border-bottom:1px solid var(--line); border-radius:0;
    background:#fafbf9; box-shadow:none;
  }
  html[data-workbench-theme="studio"] .brand { color:var(--studio-ink); font-size:22px; font-weight:750; letter-spacing:-.7px; }
  html[data-workbench-theme="studio"] .brand span { color:var(--muted); font-size:12px; font-weight:450; letter-spacing:0; border-color:#dce2d8; }
  html[data-workbench-theme="studio"] .account { gap:7px; font-size:12px; color:var(--muted); }
  html[data-workbench-theme="studio"] .account :is(button,select) { font-size:12px; }
  html[data-workbench-theme="studio"] .workbench-header-options { position:relative; margin:0; min-width:0; }
  html[data-workbench-theme="studio"] .workbench-header-options > summary {
    display:flex; align-items:center; justify-content:center; gap:5px; min-height:44px; padding:9px 12px;
    border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--muted);
    cursor:pointer; font-size:12px; list-style:none; white-space:nowrap;
  }
  html[data-workbench-theme="studio"] .workbench-header-options > summary::after { content:"⌄"; }
  html[data-workbench-theme="studio"] .workbench-header-options[open] > summary::after { content:"⌃"; }
  html[data-workbench-theme="studio"] .workbench-header-options > summary::-webkit-details-marker { display:none; }
  html[data-workbench-theme="studio"] .workbench-header-options > .compact-controls-body {
    position:absolute; z-index:35; top:calc(100% + 8px); right:0; display:flex; align-items:center; flex-wrap:wrap; gap:10px;
    width:320px; max-width:calc(100vw - 32px); max-height:calc(100dvh - var(--workbench-header-height,64px) - 24px);
    overflow:auto; padding:14px; border:1px solid var(--line); border-radius:16px;
    background:#fff; box-shadow:0 12px 32px #253b311a;
  }
  html[data-workbench-theme="studio"] .workbench-header-options:not([open]) > .compact-controls-body { display:none; }
  html[data-workbench-theme="studio"] .workbench-header-options .workbench-theme-switch { display:flex; flex-basis:100%; width:100%; }
  html[data-workbench-theme="studio"] .workbench-header-options .workbench-theme-switch button { flex:1; white-space:normal; }
  html[data-workbench-theme="studio"] .workbench-header-options .interface-language { flex-basis:100%; }
  html[data-workbench-theme="studio"] .workbench-header-options .interface-language select { width:100%; max-width:none; }
  html[data-workbench-theme="studio"] .workbench-header-options #session-label { display:block; flex-basis:100%; max-width:none; padding-top:10px; border-top:1px solid var(--line); }
  html[data-workbench-theme="studio"] .workspace {
    width:calc(100% - 44px); max-width:1840px; grid-template-columns:200px minmax(0,1fr);
    gap:22px; margin:0 auto 22px; min-height:calc(100dvh - 124px); background:transparent;
  }
  html[data-workbench-theme="studio"] .sidebar {
    position:sticky; top:calc(var(--workbench-header-height,64px) + 16px); align-self:start;
    height:calc(100dvh - var(--workbench-header-height,64px) - 34px);
    max-height:calc(100dvh - var(--workbench-header-height,64px) - 34px);
    margin:0; padding:20px 11px; border:1px solid #fff; border-radius:24px;
    background:var(--sidebar); overflow-y:auto; scrollbar-width:thin; scrollbar-color:#d5dccf transparent;
  }
  html[data-workbench-theme="studio"] .sidebar > .eyebrow { margin:0 0 12px; padding-left:13px; font-size:11px; color:var(--muted); letter-spacing:.7px; }
  html[data-workbench-theme="studio"] .sidebar nav { position:static; gap:13px; max-height:none; overflow:visible; }
  html[data-workbench-theme="studio"] .sidebar .nav-group { padding:0; border:0; }
  html[data-workbench-theme="studio"] .sidebar .nav-group > summary { min-height:44px; padding:10px 13px; font-size:11px; font-weight:500; color:var(--muted); }
  html[data-workbench-theme="studio"] .sidebar .nav-group-items { gap:4px; }
  html[data-workbench-theme="studio"] .sidebar .nav-button {
    display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:10px 13px;
    border:1px solid transparent; border-radius:14px; background:transparent;
    color:var(--sidebar-text); font-size:13px; font-weight:500; line-height:1.6;
  }
  html[data-workbench-theme="studio"] .sidebar .nav-button::before { content:""; flex:none; width:7px; height:7px; border-radius:3px; background:#c2cbbb; }
  html[data-workbench-theme="studio"] .sidebar .nav-button[data-module="overview"]::before { width:9px; height:9px; border-radius:50%; background:#a0b976; }
  html[data-workbench-theme="studio"] .sidebar .nav-button:hover { color:#40523b; background:var(--sidebar-hover); }
  html[data-workbench-theme="studio"] .sidebar .nav-button:is([data-module],[data-tone]).active { background:var(--studio-ink); color:#f5f9ee; box-shadow:none; border-color:var(--studio-ink); font-weight:600; }
  html[data-workbench-theme="studio"] .sidebar .nav-button.active::before { background:var(--studio-lime); }
  html[data-workbench-theme="studio"] .sidebar .nav-button:has(.nav-symbol)::before { content:none; }
  html[data-workbench-theme="studio"] .sidebar .nav-symbol { width:18px; height:18px; flex:none; color:#7d8b77; }
  html[data-workbench-theme="studio"] .sidebar .nav-button.active .nav-symbol { color:#dcec9f; }
  html[data-workbench-theme="studio"] .nav-count { margin-left:auto; min-width:23px; min-height:22px; border-radius:8px; background:#ecf0e5; color:#637454; font-size:11px; }
  html[data-workbench-theme="studio"] .sidebar .nav-button.active .nav-count { background:#dcec9f; color:#3a4d24; }
  html[data-workbench-theme="studio"] :is(.content,.content.overview-page) { padding:0 0 24px; background:transparent; min-width:0; }
  html[data-workbench-theme="studio"] :is(.page-heading,.ledger-page .page-heading) { margin:0 0 20px; padding:0 3px; gap:18px; align-items:center; }
  html[data-workbench-theme="studio"] :is(.page-heading h1,.ledger-page .page-heading h1) { margin:0 0 7px; color:var(--text); font-size:31px; font-weight:600; letter-spacing:-1px; line-height:1.3; }
  html[data-workbench-theme="studio"] .page-heading .muted { color:var(--muted); font-size:12px; line-height:1.8; }
  html[data-workbench-theme="studio"] .page-heading .toolbar { gap:8px; }
  html[data-workbench-theme="studio"] .page-heading .toolbar button { padding:10px 15px; font-size:12px; }
  html[data-workbench-theme="studio"] .page-count { background:#e2e9d6; color:#5b713c; border-radius:10px; min-height:28px; }
  html[data-workbench-theme="studio"] .local-storage-note { margin:0 3px 9px; gap:5px 10px; color:var(--muted); font-size:11px; }
  html[data-workbench-theme="studio"] .local-storage-note :is(button,summary) { min-height:44px; font-size:11px; }
  html[data-workbench-theme="studio"] .local-storage-note .quiet { color:var(--muted); }
  html[data-workbench-theme="studio"] .storage-explanation[open] { padding:8px 13px; background:#fff; border:1px solid var(--line); border-radius:14px; }
  html[data-workbench-theme="studio"] :is(.workspace-footer,.dashboard-meta-note) { color:var(--muted); font-size:11px; line-height:1.8; }
  html[data-workbench-theme="studio"] .read-freshness { background:#f5f7f1; color:var(--muted); border-color:#e0e6d7; border-radius:8px; font-size:11px; }

  /* Main actions, navigation tabs, and supporting actions have different weights. */
  html[data-workbench-theme="studio"] :is(button,button.quiet,button.secondary,button.primary) { min-height:44px; border-radius:13px; font-size:13px; padding:10px 14px; box-shadow:none; }
  html[data-workbench-theme="studio"] button { background:#f0f3eb; color:#55684a; }
  html[data-workbench-theme="studio"] :is(.primary,button.primary,.topbar #quick-task-button) { background:#dcec9f; color:#374a22; border-color:#d1e18e; font-weight:600; box-shadow:none; }
  html[data-workbench-theme="studio"] :is(button.primary,.topbar #quick-task-button):not(:disabled):hover { background:#d3e68a; border-color:#c0d571; color:#30411f; }
  html[data-workbench-theme="studio"] :is(.secondary,button.secondary) { color:var(--muted); background:#fff; border-color:#e1e7d9; }
  html[data-workbench-theme="studio"] button.secondary:not(:disabled):hover { background:#f4f7ee; border-color:#ced9bc; }
  html[data-workbench-theme="studio"] button.quiet { color:var(--muted); background:transparent; }
  html[data-workbench-theme="studio"] button.quiet:not(:disabled):hover { background:#eff4e5; }
  html[data-workbench-theme="studio"] button:not(:disabled):hover { filter:none; }
  html[data-workbench-theme="studio"] button:disabled { opacity:.6; box-shadow:none; }
  html[data-workbench-theme="studio"] :is(button,a,input,select,textarea,summary):focus-visible { outline:2px solid #6c844d; outline-offset:3px; }
  html[data-workbench-theme="studio"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea) { min-height:46px; border:1px solid #dce4d4; border-radius:13px; background:#fff; color:var(--text); font-size:14px; }
  html[data-workbench-theme="studio"] :is(input[type="checkbox"],input[type="radio"]) { accent-color:#748e4f; }
  html[data-workbench-theme="studio"] :is(input,textarea)::placeholder { color:var(--muted); }
  html[data-workbench-theme="studio"] :is(.badge,.tone-chip) { padding:4px 8px; border-radius:7px; background:var(--tone-fill,#f1f4eb); color:var(--tone,#637356); border:1px solid var(--tone-line,#dce5d2); font-size:11px; font-weight:500; line-height:1.5; }
  html[data-workbench-theme="studio"] .badge.complete { background:#f2f4ee; color:#6f7b64; border-color:#e3e8db; }
  html[data-workbench-theme="studio"] .badge.waiting { background:#fbf4e6; color:#886738; border-color:#ebdec4; }
  html[data-workbench-theme="studio"] :is(.amount,.expense-amount,.task-workflow-amount,.budget-money,.ledger-total strong) { font-variant-numeric:tabular-nums; }
  html[data-workbench-theme="studio"] :is(.purchase-views,.purchase-detail-tabs,.ledger-view-toggle,.task-area-tabs,.task-view-tabs,.task-category-tabs,.budget-center .budget-tabs,.column-editor-tabs) {
    gap:4px; margin-bottom:17px; padding:4px; border:1px solid #e1e6da; border-radius:16px; background:#f2f4ee;
  }
  html[data-workbench-theme="studio"] :is(.purchase-views,.purchase-detail-tabs,.ledger-view-toggle,.task-area-tabs,.task-view-tabs,.task-category-tabs,.budget-center .budget-tabs,.column-editor-tabs) > button {
    min-height:44px; padding:9px 14px; border:1px solid transparent; border-radius:12px;
    background:transparent; color:var(--muted); font-size:12px; font-weight:500;
  }
  html[data-workbench-theme="studio"] :is(.purchase-views,.purchase-detail-tabs,.ledger-view-toggle,.task-area-tabs,.task-view-tabs,.task-category-tabs,.budget-center .budget-tabs,.column-editor-tabs) > button:is(.primary,[aria-pressed="true"]) { border-color:#ddd4e7; background:#e8e1f1; color:#675477; font-weight:600; box-shadow:none; }
  html[data-workbench-theme="studio"] :is(.purchase-views,.purchase-detail-tabs,.ledger-view-toggle,.task-area-tabs,.task-view-tabs,.task-category-tabs,.budget-center .budget-tabs,.column-editor-tabs) > button:not(:disabled):hover { background:#e9eee1; }
  html[data-workbench-theme="studio"] .ledger-navigation :is(.purchase-views,.ledger-view-toggle) { margin-bottom:0; }
  html[data-workbench-theme="studio"] .ledger-navigation :is(.purchase-views,.ledger-view-toggle) button { font-size:12px; padding:9px 13px; }
  html[data-workbench-theme="studio"] .ledger-navigation .ledger-view-toggle button.primary { background:#e8e1f1; color:#675477; border-color:#ddd4e7; }

  /* Lists and details are independent white panels, preserving the existing resize mechanics. */
  html[data-workbench-theme="studio"] .split-view { gap:14px; border:0; border-radius:0; background:transparent; overflow:visible; box-shadow:none; min-height:580px; }
  html[data-workbench-theme="studio"] .split-view.detail-open:not(.full-width) { gap:7px; }
  html[data-workbench-theme="studio"] :is(.record-panel,.detail) { border:1px solid #fff; border-radius:23px; background:#fff; box-shadow:var(--workbench-shadow); }
  html[data-workbench-theme="studio"] .record-panel { overflow:hidden; }
  html[data-workbench-theme="studio"] :is(.detail,.full-width .detail) { padding:25px; }
  html[data-workbench-theme="studio"] .detail-header { padding-bottom:16px; margin-bottom:21px; border-bottom:1px solid var(--line); }
  html[data-workbench-theme="studio"] .detail-header h2 { margin:0 0 7px; font-size:25px; font-weight:600; color:var(--text); letter-spacing:-.6px; line-height:1.45; }
  html[data-workbench-theme="studio"] .detail-meta { color:var(--muted); font-size:12px; line-height:1.8; }
  html[data-workbench-theme="studio"] .detail-back { min-height:44px; background:#f3f6ed; border-radius:12px; }
  html[data-workbench-theme="studio"] .pane-resizer { border-radius:9px; background:#dfe5d9; }
  html[data-workbench-theme="studio"] .pane-resizer::after { background:#a6b699; }
  html[data-workbench-theme="studio"] .pane-tools { right:14px; top:9px; }
  html[data-workbench-theme="studio"] .pane-tools button { min-height:44px; background:#f3f6ee; border:1px solid #e3e9da; border-radius:12px; }
  html[data-workbench-theme="studio"] .record-row { min-height:75px; padding:15px 19px; border-bottom-color:#eef1e9; }
  html[data-workbench-theme="studio"] .record-row:hover { background:#f7f9f2; }
  html[data-workbench-theme="studio"] .record-row.selected { background:#f0f5e4; box-shadow:inset 3px 0 #acc779; }
  html[data-workbench-theme="studio"] .record-row strong { font-size:14px; font-weight:550; color:var(--text); }
  html[data-workbench-theme="studio"] :is(.record-row .meta,.ledger-row-data) { color:var(--muted); font-size:11px; }
  html[data-workbench-theme="studio"] .ledger-navigation { padding:15px 18px 6px; }
  html[data-workbench-theme="studio"] .ledger-controls { padding:14px 18px 11px; gap:10px; background:#fff; }
  html[data-workbench-theme="studio"] .ledger-controls .search { flex:1 1 280px; max-width:480px; }
  html[data-workbench-theme="studio"] .ledger-controls .search input { min-height:46px; height:46px; padding:11px 63px 11px 14px; background:#f6f8f1; border-color:#e2e8d8; }
  html[data-workbench-theme="studio"] .ledger-controls .search button { top:1px; min-height:44px; padding-inline:12px; }
  html[data-workbench-theme="studio"] .ledger-controls .quick-filters select { min-height:46px; }
  html[data-workbench-theme="studio"] .ledger-meta { padding:0 18px 15px; border-bottom:1px solid #ebeee5; gap:8px 14px; }
  html[data-workbench-theme="studio"] .list-heading { color:var(--muted); font-size:11px; }
  html[data-workbench-theme="studio"] .table-toolbar { gap:6px; }
  html[data-workbench-theme="studio"] :is(.table-toolbar > button,.ledger-meta .table-toolbar > button,.ledger-meta .table-toolbar button[aria-pressed]) { min-height:44px; font-size:11px; padding:9px 11px; border-radius:12px; }
  html[data-workbench-theme="studio"] .ledger-meta .table-toolbar button[aria-pressed="true"] { color:#665178; background:#eee7f6; border-color:#e0d5eb; }
  html[data-workbench-theme="studio"] :is(.ledger-filter-options,.ledger-export-options,.ledger-totals,.table-columns) > summary { min-height:44px; padding:10px 12px; color:var(--muted); background:#f7f9f3; border:1px solid #e1e8d7; border-radius:12px; font-size:11px; }
  html[data-workbench-theme="studio"] .ledger-total { padding:5px 18px 5px 0; color:var(--muted); }
  html[data-workbench-theme="studio"] .ledger-total strong { font-size:19px; font-weight:550; color:#405a33; }
  html[data-workbench-theme="studio"] .ledger-summary-note { color:var(--muted); font-size:11px; }
  html[data-workbench-theme="studio"] .filter-chip { min-height:44px; background:#f3f7eb; color:#5f7744; border-color:#dce7ca; border-radius:11px; }
  html[data-workbench-theme="studio"] :is(.ledger-table,.purchase-page .ledger-table) { font-size:12px; line-height:1.6; }
  html[data-workbench-theme="studio"] .ledger-table th { padding:12px 13px; color:var(--muted); background:#f6f8f2; font-size:11px; font-weight:500; border-color:#e5ebda; }
  html[data-workbench-theme="studio"] .ledger-table td { padding:11px 13px; color:var(--text); border-color:#edf1e6; vertical-align:middle; }
  html[data-workbench-theme="studio"] .ledger-table tr:hover td { background:#f8faf4; }
  html[data-workbench-theme="studio"] .ledger-table tr.selected td { background:#f1f6e5; }
  html[data-workbench-theme="studio"] .ledger-table .table-record-link { min-height:44px; padding:5px 0; font-size:12px; color:var(--text); font-weight:600; }
  html[data-workbench-theme="studio"] .ledger-table .table-record-link:not(:disabled):hover { color:#3a5227; background:transparent; text-decoration:underline; text-underline-offset:4px; }
  html[data-workbench-theme="studio"] .ledger-table .identity-cell { border-color:#e6ecdd; }
  html[data-workbench-theme="studio"] .empty-detail { padding:110px 20px; color:#78816f; font-size:13px; }
  html[data-workbench-theme="studio"] .empty-detail h2 { color:#5b6b4e; font-size:21px; font-weight:500; }

  /* Detail facts, purchase stages, and real receipt/handover forms. */
  html[data-workbench-theme="studio"] .section { margin-top:24px; padding-top:22px; border-color:#e9ede3; }
  html[data-workbench-theme="studio"] .section > h3 { color:var(--text); font-size:15px; font-weight:600; }
  html[data-workbench-theme="studio"] .values { gap:0; padding:1px; background:#e7ecdf; border:1px solid #e7ecdf; border-radius:17px; overflow:hidden; }
  html[data-workbench-theme="studio"] .values > div { padding:14px 16px; background:#f8faf4; border-right:1px solid #e7ecdf; border-bottom:1px solid #e7ecdf; }
  html[data-workbench-theme="studio"] .values dt { margin-bottom:6px; color:var(--muted); font-size:11px; }
  html[data-workbench-theme="studio"] .values dd { color:var(--text); font-size:14px; line-height:1.8; font-variant-numeric:tabular-nums; }
  html[data-workbench-theme="studio"] :is(.purchase-progress,.business-chain) { padding:16px; gap:12px; border:1px solid #e3e9d8; border-radius:17px; background:#f5f8ee; }
  html[data-workbench-theme="studio"] :is(.purchase-progress small,.purchase-metric small,.business-chain small) { color:var(--muted); font-size:11px; }
  html[data-workbench-theme="studio"] :is(.purchase-progress strong,.purchase-metric strong,.business-chain strong) { color:var(--text); font-size:14px; font-weight:550; line-height:1.75; }
  html[data-workbench-theme="studio"] .purchase-next { margin-top:18px; padding:15px 16px; background:#f2edf8; border:1px solid #e6ddec; border-radius:16px; color:#726080; }
  html[data-workbench-theme="studio"] :is(.purchase-actionbar,.form-actions) { padding:17px 0; border-color:#e5ebdb; background:#fff; box-shadow:0 -10px 18px #ffffffe8; }
  html[data-workbench-theme="studio"] .receipt-effect { padding:15px 17px; border:1px solid #e0e7d4; border-left:3px solid #a1b970; border-radius:14px; background:#f3f7ea; color:#657b4a; }
  html[data-workbench-theme="studio"] :is(.recipient-requirement,.inventory-scope-note,.inventory-scope-label) { background:#f4f7ed; border-color:#a9bc82; color:#647a49; border-radius:12px; }
  html[data-workbench-theme="studio"] :is(.details-box,.reference-picker,.erp-context-note,.workflow-source-summary,.batch-line,.supplier-candidate,.submission-preview,.step-editor,.erp-lines) { border:1px solid #e0e7d4; border-radius:17px; background:#f9fbf5; }
  html[data-workbench-theme="studio"] :is(.details-box,.reference-picker,.batch-line,.submission-preview,.workflow-source-summary) { padding:16px; }
  html[data-workbench-theme="studio"] :is(.details-box > summary,.optional-fields > summary,.metric-evidence > summary) { min-height:44px; color:#667b49; font-size:12px; }
  html[data-workbench-theme="studio"] .reference-chip { background:#eaf1dc; color:#637b44; border-radius:9px; }
  html[data-workbench-theme="studio"] .related-record { min-height:52px; padding:12px 14px; background:#f8faf3; border:1px solid #e4ebd9; border-radius:14px; color:#526b3b; }
  html[data-workbench-theme="studio"] :is(.history time,.hint,.field small) { color:var(--muted); font-size:11px; line-height:1.75; }
  html[data-workbench-theme="studio"] .history li { border-left-color:#dcd3e8; padding-left:16px; }
  html[data-workbench-theme="studio"] .history p { color:#576948; line-height:1.85; }
  html[data-workbench-theme="studio"] .attachment-row { min-height:58px; border-color:#e9eede; font-size:12px; }

  /* Forms use clear labels and generous focus space inside a quieter panel. */
  html[data-workbench-theme="studio"] .form-section { margin-bottom:25px; }
  html[data-workbench-theme="studio"] .form-section legend { padding-bottom:14px; color:var(--text); font-size:15px; font-weight:600; }
  html[data-workbench-theme="studio"] .field-grid { gap:18px 20px; }
  html[data-workbench-theme="studio"] :is(.field,.forms-field,.budget-field) { gap:8px; color:var(--muted); font-size:12px; }
  html[data-workbench-theme="studio"] .field :is(input,select,textarea) { min-height:48px; padding:12px 14px; border-color:#dce6d0; border-radius:13px; background:#fff; color:var(--text); font-size:14px; }
  html[data-workbench-theme="studio"] .field textarea { min-height:112px; line-height:1.8; }
  html[data-workbench-theme="studio"] .field:focus-within { color:#536e39; }
  html[data-workbench-theme="studio"] .field :is(input,select,textarea):focus { border-color:#aabc89; outline:2px solid #e1ebd1; outline-offset:2px; }
  html[data-workbench-theme="studio"] .check { min-height:44px; color:var(--muted); font-size:12px; }
  html[data-workbench-theme="studio"] .form-readiness { padding:10px 13px; border-radius:12px; background:#f1f6e7; border-color:#d7e3c3; color:#5a743d; }
  html[data-workbench-theme="studio"] :is(.form-missing,.disabled-reason,.task-workflow-blocked) { color:#886d44; font-size:12px; line-height:1.8; }
  html[data-workbench-theme="studio"] :is(.notice,.pending,.recovery) { padding:15px 17px; border-radius:17px; font-size:13px; }
  html[data-workbench-theme="studio"] .notice { background:#eef5e3; border-color:#d5e2be; color:#5a713c; }
  html[data-workbench-theme="studio"] :is(.notice.error,.budget-error) { background:#fcf0ee; border-color:#eddbd7; color:#955f53; }
  html[data-workbench-theme="studio"] :is(.pending,.recovery) { background:#fcf5e8; border-color:#eadebe; color:#866d3f; }

  /* Existing overview stays fully usable before the optional A-specific composition is installed. */
  html[data-workbench-theme="studio"] body:is([data-workbench-module="overview"],[data-workbench-module="work_queue"],[data-workbench-module="budget_center"]) .split-view { min-height:0; }
  html[data-workbench-theme="studio"] body:is([data-workbench-module="overview"],[data-workbench-module="work_queue"],[data-workbench-module="budget_center"]) .full-width > .detail { padding:0; background:transparent; border:0; box-shadow:none; }
  html[data-workbench-theme="studio"] .dashboard-grid { gap:17px; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); }
  html[data-workbench-theme="studio"] .dashboard-grid > .section { padding:21px 23px; border:1px solid #fff; border-radius:23px; background:#fff; }
  html[data-workbench-theme="studio"] .dashboard-grid h3 { margin-bottom:15px; color:var(--text); font-size:17px; font-weight:550; }
  html[data-workbench-theme="studio"] .dashboard-queue-total { padding-bottom:15px; border-color:#e5edd9; }
  html[data-workbench-theme="studio"] .overview-page .dashboard-queue-total > strong { color:#314c23; font-size:37px; font-weight:550; letter-spacing:-1px; }
  html[data-workbench-theme="studio"] .dashboard-stage { border-radius:15px; padding:11px 6px; }
  html[data-workbench-theme="studio"] .dashboard-stage-ring { width:78px; height:78px; background:conic-gradient(var(--ring-state,var(--tone)) 0 var(--ring-turn,0%),#eef2e7 var(--ring-turn,0%) 100%); }
  html[data-workbench-theme="studio"] .dashboard-stage-ring::before { inset:7px; background:#fff; }
  html[data-workbench-theme="studio"] .dashboard-stage-count { font-size:25px; font-weight:550; }
  html[data-workbench-theme="studio"] .dashboard-stage-share { color:var(--muted); font-size:11px; }
  html[data-workbench-theme="studio"] .dashboard-attention .attention-count { padding:15px; min-height:94px; border-radius:17px; background:#f4f7ec; border:1px solid #e5ecd7; }
  html[data-workbench-theme="studio"] .dashboard-attention .attention-count[data-tone="danger"] { background:#faf0ef; border-color:#eddfdd; }
  html[data-workbench-theme="studio"] .dashboard-attention .attention-count strong { font-weight:550; font-size:28px; }
  html[data-workbench-theme="studio"] .dashboard-finance-body > .overview-cards.key-money { gap:12px; border:0; padding:0; background:transparent; box-shadow:none; }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card { padding:19px; border:1px solid #fff; border-radius:20px; background:#f9fbf6; }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card[data-metric="cash_balance"] { background:#e3f0b6; border-color:#ebf5cf; }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card[data-metric="cashflow"] { background:#e9e1f3; border-color:#efe8f7; }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card:is([data-metric="cash_balance"],[data-metric="cashflow"]) :is(h3,.muted) { color:#58644f; }
  html[data-workbench-theme="studio"] .dashboard-finance .overview-card h3 { color:var(--muted); font-size:12px; }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card > strong { color:var(--text); font-size:29px; font-weight:550; letter-spacing:-.8px; }
  html[data-workbench-theme="studio"] .dashboard-finance-body > .dashboard-expense { padding:21px 23px; border:1px solid #fff; border-radius:23px; background:#fff; }
  html[data-workbench-theme="studio"] .expense-legend-row { padding:10px 7px; border-color:#e8edde; border-radius:11px; }
  html[data-workbench-theme="studio"] .expense-legend-row[aria-pressed="true"] { background:#f0f6e2; border-color:#dbe8c2; }
  html[data-workbench-theme="studio"] .expense-share { color:var(--muted); }
  html[data-workbench-theme="studio"] .expense-coverage { background:#f6f8ef; border-color:#e3ead6; color:var(--muted); border-radius:12px; }
  html[data-workbench-theme="studio"] .dashboard-shortcuts .overview-action { min-height:65px; padding:13px 15px; border:1px solid #fff; border-radius:17px; background:#fff; }
  html[data-workbench-theme="studio"] .dashboard-shortcuts .overview-action strong { font-size:13px; font-weight:550; }
  html[data-workbench-theme="studio"] .dashboard-shortcuts .overview-action small { font-size:11px; color:var(--muted); }

  /* Light semantic hooks for an A-specific overview; these do not require changed business IDs. */
  html[data-workbench-theme="studio"] .studio-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin:0 0 18px; }
  html[data-workbench-theme="studio"] .studio-stat { position:relative; display:flex; flex-direction:column; align-items:flex-start; min-width:0; min-height:144px; padding:21px; border:1px solid #fff; border-radius:23px; background:#fff; text-align:left; }
  html[data-workbench-theme="studio"] .studio-stat-lime { background:#deefa9; border-color:#e8f4c4; }
  html[data-workbench-theme="studio"] .studio-stat-violet { background:#e6dff1; border-color:#eee7f6; }
  html[data-workbench-theme="studio"] .studio-stat-ink { background:#253b31; border-color:#253b31; color:#f3f8ec; }
  html[data-workbench-theme="studio"] .studio-stat-label { color:#566c43; font-size:12px; font-weight:500; line-height:1.6; margin-bottom:17px; }
  html[data-workbench-theme="studio"] .studio-stat-value { color:#354c26; font-size:37px; font-weight:550; letter-spacing:-1.3px; line-height:1.15; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
  html[data-workbench-theme="studio"] .studio-stat-value small { margin-left:6px; font-size:13px; font-weight:500; letter-spacing:0; }
  html[data-workbench-theme="studio"] .studio-stat-note { margin-top:9px; color:#657952; font-size:11px; line-height:1.6; }
  html[data-workbench-theme="studio"] .studio-stat-lime :is(.studio-stat-label,.studio-stat-note) { color:#52614a; }
  html[data-workbench-theme="studio"] .studio-stat-violet :is(.studio-stat-label,.studio-stat-note) { color:#70617d; }
  html[data-workbench-theme="studio"] .studio-stat-violet .studio-stat-value { color:#59486a; }
  html[data-workbench-theme="studio"] .studio-stat-ink :is(.studio-stat-label,.studio-stat-note) { color:#c3d2bd; }
  html[data-workbench-theme="studio"] .studio-stat-ink .studio-stat-value { color:#e1f0b1; }
  html[data-workbench-theme="studio"] .studio-bento { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:17px; }
  html[data-workbench-theme="studio"] .studio-bento-panel { min-width:0; padding:22px 23px; border:1px solid #fff; border-radius:23px; background:#fff; }
  html[data-workbench-theme="studio"] .studio-panel-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:17px; }
  html[data-workbench-theme="studio"] .studio-panel-heading :is(h2,h3) { margin:0; font-size:17px; font-weight:550; color:var(--text); }
  html[data-workbench-theme="studio"] .dashboard-content { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:17px; align-items:start; }
  html[data-workbench-theme="studio"] .dashboard-content > :is(.dashboard-meta,.dashboard-health,.overview-readiness) { grid-column:1/-1; order:0; margin-bottom:0; }
  html[data-workbench-theme="studio"] :is(.dashboard-finance,.dashboard-finance-body,.dashboard-grid) { display:contents; }
  html[data-workbench-theme="studio"] .dashboard-finance-heading { grid-column:1/-1; order:4; margin:0; }
  html[data-workbench-theme="studio"] .dashboard-finance-body > .overview-cards.key-money { grid-column:1/-1; order:2; grid-template-columns:repeat(4,minmax(0,1fr)); }
  html[data-workbench-theme="studio"] .studio-overview-queue { display:block; grid-column:1; order:3; padding:22px 23px; border:1px solid #fff; border-radius:23px; background:#fff; min-width:0; }
  html[data-workbench-theme="studio"] .dashboard-queue { grid-column:2; order:3; }
  html[data-workbench-theme="studio"] .dashboard-attention { grid-column:1/-1; order:4; }
  html[data-workbench-theme="studio"] .dashboard-shortcuts { grid-column:1/-1; order:1; padding:14px 18px; margin:0; border:1px solid #fff; border-radius:23px; background:#fff; grid-template-columns:minmax(0,1fr) auto; }
  html[data-workbench-theme="studio"] .dashboard-shortcuts > .overview-actions { grid-column:1/-1; grid-row:2; grid-template-columns:repeat(4,minmax(0,1fr)); }
  html[data-workbench-theme="studio"] .dashboard-shortcuts > .details-box { grid-column:2; grid-row:1; }
  html[data-workbench-theme="studio"] .dashboard-shortcuts > .details-box[open] { grid-column:1/-1; grid-row:3; }
  html[data-workbench-theme="studio"] .dashboard-finance-body > .dashboard-expense { grid-column:1/-1; order:4; }
  html[data-workbench-theme="studio"] :is(.dashboard-history,.dashboard-content > .all-functions) { grid-column:1/-1; order:5; }
  html[data-workbench-theme="studio"] .dashboard-queue .dashboard-stage-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  html[data-workbench-theme="studio"] .dashboard-queue .dashboard-stage { padding:12px 7px; }
  html[data-workbench-theme="studio"] .dashboard-queue .dashboard-stage-ring { width:76px; height:76px; }
  html[data-workbench-theme="studio"] .studio-queue-preview { display:grid; gap:0; max-height:470px; overflow-y:auto; padding-right:3px; scrollbar-width:thin; scrollbar-color:#d9e2ce transparent; }
  html[data-workbench-theme="studio"] .studio-preview-row { display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:12px; padding:17px 0; border-bottom:1px solid #edf1e6; }
  html[data-workbench-theme="studio"] .studio-preview-row:first-child { padding-top:5px; }
  html[data-workbench-theme="studio"] .studio-preview-row:last-child { border-bottom:0; padding-bottom:3px; }
  html[data-workbench-theme="studio"] .studio-preview-mark { width:38px; height:38px; flex:none; display:grid; place-items:center; background:#eee7f5; border:1px solid #e7dcf0; border-radius:14px; color:#8a729d; font-size:15px; }
  html[data-workbench-theme="studio"] .studio-preview-body { min-width:0; }
  html[data-workbench-theme="studio"] .studio-preview-body h4 { margin:0 0 5px; color:var(--text); font-size:14px; font-weight:600; line-height:1.7; }
  html[data-workbench-theme="studio"] .studio-preview-body h4 button { min-height:44px; padding:0; background:transparent; text-align:left; color:inherit; font-size:14px; }
  html[data-workbench-theme="studio"] .studio-preview-body p { margin:0 0 8px; color:var(--muted); font-size:12px; line-height:1.8; }
  html[data-workbench-theme="studio"] .studio-preview-tags { display:flex; flex-wrap:wrap; gap:5px; }
  html[data-workbench-theme="studio"] .studio-preview-tags .badge { font-size:10px; padding:3px 7px; }
  html[data-workbench-theme="studio"] .studio-preview-actions { display:flex; flex-direction:column; align-items:flex-end; gap:9px; min-width:88px; }
  html[data-workbench-theme="studio"] .studio-preview-actions :is(strong,.amount) { color:#506a3d; font-size:15px; font-weight:550; font-variant-numeric:tabular-nums; }
  html[data-workbench-theme="studio"] .studio-preview-actions button { min-height:44px; font-size:11px; padding:9px 12px; border-radius:12px; }
  html[data-workbench-theme="studio"] .workbench-theme-switch { display:flex; align-items:center; gap:3px; padding:4px; border:1px solid #e3e9d9; border-radius:17px; background:#f1f4ec; }
  html[data-workbench-theme="studio"] .workbench-theme-switch button { min-height:44px; padding:9px 12px; font-size:11px; border-radius:12px; background:transparent; color:var(--muted); }
  html[data-workbench-theme="studio"] .workbench-theme-switch button:is([aria-pressed="true"],[data-workbench-theme-choice="studio"]) { color:#624c74; background:#e8dff1; border-color:#ddd0e7; }

  /* Supplier queues and personal tasks retain stage meaning and an obvious next action. */
  html[data-workbench-theme="studio"] .queue-controls { padding:14px 17px; background:#fff; border:1px solid #fff; border-radius:20px; gap:10px; margin-bottom:17px; }
  html[data-workbench-theme="studio"] .queue-search input { background:#f6f8ef; border-color:#e2e9d6; }
  html[data-workbench-theme="studio"] .queue-type-filters { gap:6px; }
  html[data-workbench-theme="studio"] .queue-type-filters button { min-height:44px; border-radius:12px; background:#f6f8ef; border-color:#e2e9d6; color:#6a7e53; }
  html[data-workbench-theme="studio"] .queue-type-filters button[aria-pressed="true"] { color:#665076; background:#ece4f5; border-color:#dfd2e9; }
  html[data-workbench-theme="studio"] .work-queue-list { gap:15px; }
  html[data-workbench-theme="studio"] .queue-supplier-group { border:1px solid #fff; border-radius:23px; background:#fff; box-shadow:var(--workbench-shadow); }
  html[data-workbench-theme="studio"] .queue-supplier-group > summary { min-height:66px; padding:18px 22px; border-radius:23px; color:var(--text); font-size:14px; }
  html[data-workbench-theme="studio"] .queue-supplier-group[open] > summary { border-radius:23px 23px 0 0; background:#f7faf1; border-color:#e9efdf; }
  html[data-workbench-theme="studio"] .queue-supplier-body > .toolbar { padding:10px 22px; }
  html[data-workbench-theme="studio"] .queue-business-record { min-height:105px; padding:18px 22px; gap:18px; border-color:#edf1e5; }
  html[data-workbench-theme="studio"] .queue-record-info h3 { color:var(--text); font-size:14px; font-weight:600; margin-bottom:7px; }
  html[data-workbench-theme="studio"] :is(.queue-record-info p,.queue-record-info small,.queue-record-meta) { color:var(--muted); font-size:12px; line-height:1.8; }
  html[data-workbench-theme="studio"] .queue-record-status .badge { font-size:11px; }
  html[data-workbench-theme="studio"] .queue-category-label { color:var(--muted); font-size:11px; }
  html[data-workbench-theme="studio"] .queue-record-actions { gap:7px; }
  html[data-workbench-theme="studio"] .queue-record-actions :is(.queue-main-action,.queue-primary-action) { min-height:46px; background:#dcec9f; color:#3c5228; border-color:#d1e18e; border-radius:13px; }
  html[data-workbench-theme="studio"] .queue-record-actions .queue-stage-action { background:var(--tone-fill); color:var(--tone); border-color:var(--tone-line); border-radius:13px; }
  html[data-workbench-theme="studio"] .queue-record-actions > button { font-size:12px; padding:10px 13px; }
  html[data-workbench-theme="studio"] .queue-more-actions > summary { min-height:44px; padding:10px 12px; border-radius:13px; border-color:#e2e9d7; color:var(--muted); }
  html[data-workbench-theme="studio"] .queue-other { border:1px solid #fff; border-radius:23px; background:#fff; }
  html[data-workbench-theme="studio"] .queue-other > h3 { padding:18px 22px; border-radius:23px 23px 0 0; background:#f8faf3; font-size:14px; color:var(--text); }
  html[data-workbench-theme="studio"] .task-card { margin-bottom:10px; padding:19px 21px; border:1px solid #e5ecd9; border-radius:19px; background:#fff; }
  html[data-workbench-theme="studio"] .task-card-title { min-height:44px; font-size:14px; font-weight:600; color:var(--text); }
  html[data-workbench-theme="studio"] .task-workflow-footer { padding-top:13px; border-top:1px solid #edf2e4; }
  html[data-workbench-theme="studio"] .task-workflow-amount { color:#4d6a35; font-size:18px; font-weight:550; }
  html[data-workbench-theme="studio"] .task-next-action { font-size:12px; color:var(--muted); line-height:1.9; }
  html[data-workbench-theme="studio"] :is(.task-more-filters,.task-history-entry) { background:#f7faf2; border-color:#e1ead4; border-radius:14px; }

  /* Budget cards make the month, known amount, and pending basis easy to scan. */
  html[data-workbench-theme="studio"] .budget-center .budget-toolbar { padding:16px 19px; border:1px solid #fff; border-radius:20px; background:#fff; gap:12px; margin-bottom:18px; }
  html[data-workbench-theme="studio"] .budget-center .budget-tabs { width:fit-content; max-width:100%; gap:4px; }
  html[data-workbench-theme="studio"] .budget-center .budget-section { margin:25px 0; }
  html[data-workbench-theme="studio"] .budget-center .budget-section h2 { color:var(--text); font-size:18px; font-weight:550; margin-bottom:17px; }
  html[data-workbench-theme="studio"] .budget-center .budget-groups { gap:14px; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }
  html[data-workbench-theme="studio"] .budget-center .budget-group { padding:21px; background:#fff; border:1px solid #fff; border-radius:22px; }
  html[data-workbench-theme="studio"] .budget-center .budget-group h3 { color:var(--muted); font-size:13px; font-weight:550; }
  html[data-workbench-theme="studio"] .budget-center .budget-known { color:var(--text); font-size:20px; font-variant-numeric:tabular-nums; line-height:1.55; }
  html[data-workbench-theme="studio"] .budget-center .budget-category { padding:22px; background:#fff; border:1px solid #fff; border-radius:23px; }
  html[data-workbench-theme="studio"] .budget-center .budget-category-heading { padding-bottom:14px; border-bottom:1px solid #e8eedc; gap:15px; }
  html[data-workbench-theme="studio"] .budget-center .budget-category-heading h3 { color:var(--text); font-size:17px; font-weight:550; }
  html[data-workbench-theme="studio"] .budget-center .budget-table-wrap { border-color:#e0e9d1; border-radius:16px; }
  html[data-workbench-theme="studio"] .budget-center .budget-table th { padding:12px 14px; color:#647d4b; background:#f4f8e9; font-size:11px; font-weight:500; }
  html[data-workbench-theme="studio"] .budget-center .budget-table td { padding:12px 14px; border-color:#eaf0e0; color:var(--text); font-size:12px; line-height:1.8; }
  html[data-workbench-theme="studio"] .budget-center :is(.budget-frozen,.budget-reviewed-preview,.budget-freeze-form) { padding:20px; border:1px solid #dfd4eb; border-radius:21px; background:#f3edf8; }
  html[data-workbench-theme="studio"] .budget-center .budget-reviewed-link { color:#77608a; font-size:16px; }
  html[data-workbench-theme="studio"] .budget-center .budget-warning { padding:16px 18px; background:#fcf5e7; border:1px solid #ecdcc1; border-radius:17px; }
  html[data-workbench-theme="studio"] .budget-center .budget-actions { gap:9px; }
  html[data-workbench-theme="studio"] .budget-center :is(.budget-source-count,.budget-asof,.budget-dimensions,.budget-group small) { color:var(--muted); font-size:12px; }

  /* Dialogs, export tools, appearance settings, and personnel share the same surface language. */
  html[data-workbench-theme="studio"] :is(dialog,.ledger-popover,.purchase-action-menu,.queue-more-actions > div) { color:var(--text); background:#fff; border:1px solid #fff; border-radius:24px; box-shadow:0 20px 75px #2b3e2b28; }
  html[data-workbench-theme="studio"] dialog::backdrop { background:#33423544; }
  html[data-workbench-theme="studio"] :is(.draft-confirm,.inline-inventory-dialog,.task-payment-dialog) { padding:27px; }
  html[data-workbench-theme="studio"] :is(.column-settings-heading,.forms-heading) { padding:22px 25px; background:#f8faf4; border-color:#e3ead7; }
  html[data-workbench-theme="studio"] :is(.column-settings-heading,.forms-heading) h2 { font-size:23px; font-weight:550; color:var(--text); }
  html[data-workbench-theme="studio"] :is(.column-settings-body,.forms-body,.export-settings-body) { padding:23px 25px; }
  html[data-workbench-theme="studio"] :is(.column-settings-footer,.forms-footer) { padding:18px 25px; border-color:#e3ebd6; background:#fff; }
  html[data-workbench-theme="studio"] .forms-field :is(input,select) { min-height:46px; border-radius:13px; border-color:#dce7cd; color:var(--text); }
  html[data-workbench-theme="studio"] .forms-check { min-height:44px; color:#607b49; }
  html[data-workbench-theme="studio"] :is(.forms-table-wrap,.export-columns-preview) { border-color:#e2ead6; border-radius:16px; }
  html[data-workbench-theme="studio"] .forms-table th { background:#f4f8e9; color:#607b49; border-color:#e1e9d3; }
  html[data-workbench-theme="studio"] .forms-table td { color:var(--text); border-color:#eaf0e0; }
  html[data-workbench-theme="studio"] .forms-message { background:#f1f7e5; color:#617d44; border-radius:13px; padding:13px 15px; }
  html[data-workbench-theme="studio"] #workbench-appearance-button { border-radius:13px; color:var(--muted); }
  html[data-workbench-theme="studio"] #workbench-appearance-button::before { background:linear-gradient(135deg,#dceb9b 0 48%,#e2d7ef 49% 100%); border-color:#ced7be; border-radius:6px; }
  html[data-workbench-theme="studio"] .workbench-appearance-dialog { padding:27px; color:var(--text); background:#fbfcf8; border-color:#fff; border-radius:26px; }
  html[data-workbench-theme="studio"] .appearance-description { color:var(--muted); font-size:13px; line-height:1.8; }
  html[data-workbench-theme="studio"] .appearance-close { background:#f0f4e9; color:#73875a; border-radius:14px; }
  html[data-workbench-theme="studio"] .appearance-theme-card { border:1px solid #e0e7d5; border-radius:19px; background:#fff; }
  html[data-workbench-theme="studio"] .appearance-theme-card[aria-checked="true"] { border:2px solid #acbf85; box-shadow:0 0 0 3px #eaf2dc; }
  html[data-workbench-theme="studio"] .appearance-theme-card[aria-checked="true"]::after { background:#59713d; color:#f4f8eb; }
  html[data-workbench-theme="studio"] .appearance-theme-description { color:var(--muted); }
  html[data-workbench-theme="studio"] [data-theme-choice="studio"] .appearance-theme-preview { background:#ecefe6; border-color:#e1e7d7; }
  html[data-workbench-theme="studio"] [data-theme-choice="studio"] .appearance-preview-card { border-radius:9px; border-color:#fff; }
  html[data-workbench-theme="studio"] [data-theme-choice="studio"] .appearance-preview-card:first-child { background:#ddeb9f; }
  html[data-workbench-theme="studio"] [data-theme-choice="studio"] .appearance-preview-card:nth-child(2) { background:#e5daf0; }
  html[data-workbench-theme="studio"] [data-theme-choice="studio"] .appearance-preview-card::before { background:#839967; }
  html[data-workbench-theme="studio"] .employee-group-toggle { padding:17px 20px; color:var(--text); border-color:#e6eddb; }
  html[data-workbench-theme="studio"] :is(.employee-group-toggle[aria-expanded="true"],.employee-row.selected) { background:#f0f6e4; }
  html[data-workbench-theme="studio"] .employee-group-people { background:#f8fbf1; }
  html[data-workbench-theme="studio"] .employee-row { border-color:#e7efda; color:var(--text); }
}

@media screen and (min-width:1101px) {
  html[data-workbench-theme="studio"] .split-view.detail-open:not(.full-width) > .detail { padding-top:63px; border-left:1px solid #fff; }
}
@media screen and (max-width:1200px) {
  html[data-workbench-theme="studio"] .workspace { grid-template-columns:178px minmax(0,1fr); gap:17px; }
  html[data-workbench-theme="studio"] .sidebar { padding-inline:9px; }
  html[data-workbench-theme="studio"] .studio-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-workbench-theme="studio"] .studio-stat { min-height:132px; }
  html[data-workbench-theme="studio"] :is(.studio-bento,.dashboard-grid) { grid-template-columns:minmax(0,1fr); }
  html[data-workbench-theme="studio"] .dashboard-content { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
  html[data-workbench-theme="studio"] .dashboard-finance-body > .overview-cards.key-money { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-workbench-theme="studio"] .studio-preview-row { grid-template-columns:34px minmax(0,1fr); gap:9px; }
  html[data-workbench-theme="studio"] .studio-preview-mark { width:34px; height:34px; border-radius:12px; }
  html[data-workbench-theme="studio"] .studio-preview-actions { grid-column:2; flex-direction:row; align-items:center; justify-content:space-between; gap:10px; }
  html[data-workbench-theme="studio"] :is(.queue-columns,.queue-business-record) { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
  html[data-workbench-theme="studio"] .queue-business-record > .queue-record-actions { grid-column:1/-1; justify-content:flex-start; }
}
@media screen and (max-width:900px) {
  html[data-workbench-theme="studio"] .topbar { position:relative; top:0; margin:0 auto 13px; width:100%; padding:8px 14px; flex-wrap:wrap; border-radius:0; }
  html[data-workbench-theme="studio"] .workspace { display:block; width:calc(100% - 28px); margin-bottom:16px; }
  html[data-workbench-theme="studio"] .sidebar { position:static; height:auto; max-height:none; margin:0 0 17px; padding:5px 10px; border-radius:19px; overflow:visible; }
  html[data-workbench-theme="studio"] .sidebar > .eyebrow { display:none; }
  html[data-workbench-theme="studio"] .sidebar .module-menu-toggle { display:flex; width:100%; padding:10px 12px; background:transparent; border:0; border-radius:13px; color:#5e7945; }
  html[data-workbench-theme="studio"] .sidebar .module-menu-toggle:not(:disabled):is(:hover,:active) { background:var(--sidebar-hover); color:#40523b; }
  html[data-workbench-theme="studio"] .sidebar nav { display:none; }
  html[data-workbench-theme="studio"] .sidebar.menu-open nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-height:58dvh; overflow-y:auto; gap:12px; padding:4px 0 12px; }
  html[data-workbench-theme="studio"] :is(.content,.content.overview-page) { padding:0 0 24px; }
  html[data-workbench-theme="studio"] :is(.page-heading h1,.ledger-page .page-heading h1) { font-size:28px; }
  html[data-workbench-theme="studio"] .split-view { min-height:420px; }
  html[data-workbench-theme="studio"] .detail { padding:23px; }
}
/* A desktop split pane can be as narrow as the mobile list. */
@media screen {
  @container (max-width:650px) {
    html[data-workbench-theme="studio"] .ledger-navigation { flex-direction:column; align-items:stretch; gap:8px; }
    html[data-workbench-theme="studio"] .ledger-navigation > :is(.purchase-views,.ledger-view-toggle,.receiving-filters) { flex:0 0 auto; width:100%; min-width:0; }
    html[data-workbench-theme="studio"] .ledger-navigation :is(.purchase-views,.ledger-view-toggle) { display:flex; flex-wrap:wrap; gap:3px; padding:4px; }
    html[data-workbench-theme="studio"] .ledger-navigation :is(.purchase-views,.ledger-view-toggle) > button { flex:0 0 auto; min-height:44px; padding:9px; white-space:nowrap; }
    html[data-workbench-theme="studio"] .ledger-navigation .receiving-filters { display:flex; flex-wrap:wrap; gap:6px; padding:0; }
  }
}
@media screen and (max-width:650px) {
  html[data-workbench-theme="studio"] .topbar {
    display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; width:100%; margin:0 auto 10px;
    padding:8px 10px; gap:6px 12px; border-radius:0;
  }
  html[data-workbench-theme="studio"] .topbar .brand { display:flex; flex:1 1 180px; flex-wrap:wrap; align-items:center; align-self:stretch; width:auto; min-width:0; min-height:44px; font-size:20px; white-space:normal; }
  html[data-workbench-theme="studio"] .brand span { margin-left:9px; padding-left:9px; font-size:10px; }
  html[data-workbench-theme="studio"] .topbar .account { position:relative; display:flex; flex:0 1 auto; flex-wrap:nowrap; align-items:center; justify-content:flex-end; width:auto; min-width:0; gap:6px; margin-left:auto; }
  html[data-workbench-theme="studio"] .topbar .account > :is(button,a,.interface-language,.workbench-theme-control,.workbench-theme-switch) { flex:0 0 auto; max-width:100%; }
  html[data-workbench-theme="studio"] .topbar .account > a { display:inline-flex; align-items:center; min-height:44px; padding:8px 9px; font-size:11px; }
  html[data-workbench-theme="studio"] .topbar .account :is(button,select) { font-size:11px; padding:8px 7px; min-height:44px; }
  html[data-workbench-theme="studio"] .topbar .interface-language select { width:auto; min-width:76px; max-width:140px; padding-right:22px; }
  html[data-workbench-theme="studio"] .topbar .workbench-theme-control { width:auto; }
  html[data-workbench-theme="studio"] .topbar .workbench-theme-control #workbench-appearance-button { width:auto; min-width:74px; padding:8px 10px; }
  html[data-workbench-theme="studio"] .topbar #quick-task-button { flex:0 1 auto; width:auto; min-width:0; white-space:normal; font-size:11px; padding:8px 10px; }
  html[data-workbench-theme="studio"] .topbar #print-button { width:auto; min-width:44px; }
  html[data-workbench-theme="studio"] .workbench-theme-switch { gap:2px; padding:3px; }
  html[data-workbench-theme="studio"] .workbench-theme-switch button { flex:0 0 auto; min-height:44px; padding:8px 9px; font-size:10px; }
  html[data-workbench-theme="studio"] .workbench-header-options > summary { max-width:160px; padding:9px 10px; white-space:normal; text-align:center; font-size:11px; }
  html[data-workbench-theme="studio"] .ledger-more-tools { margin:0; min-width:0; }
  html[data-workbench-theme="studio"] .ledger-more-tools > summary { display:flex; align-items:center; justify-content:center; gap:5px; min-height:44px; padding:9px 10px; border:1px solid var(--line); border-radius:12px; background:#f3f6ed; color:var(--muted); cursor:pointer; font-size:11px; list-style:none; white-space:nowrap; }
  html[data-workbench-theme="studio"] .ledger-more-tools > summary::after { content:"⌄"; }
  html[data-workbench-theme="studio"] .ledger-more-tools[open] > summary::after { content:"⌃"; }
  html[data-workbench-theme="studio"] .ledger-more-tools > summary::-webkit-details-marker { display:none; }
  html[data-workbench-theme="studio"] .ledger-more-tools > .compact-controls-body { display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:10px 0 0; }
  html[data-workbench-theme="studio"] .ledger-more-tools:not([open]) > .compact-controls-body { display:none; }
  html[data-workbench-theme="studio"] .ledger-more-tools .compact-controls-body > button { min-height:44px; padding:9px 11px; font-size:11px; }
  html[data-workbench-theme="studio"] .workspace { width:calc(100% - 20px); }
  html[data-workbench-theme="studio"] .sidebar { margin-bottom:16px; }
  html[data-workbench-theme="studio"] :is(.page-heading,.ledger-page .page-heading) { flex-direction:row; flex-wrap:wrap; margin-bottom:17px; gap:12px; }
  html[data-workbench-theme="studio"] :is(.page-heading h1,.ledger-page .page-heading h1) { font-size:27px; }
  html[data-workbench-theme="studio"] .page-heading > .toolbar { gap:6px; justify-content:flex-start; width:auto; }
  html[data-workbench-theme="studio"] .page-heading .toolbar button { font-size:11px; padding:10px 12px; }
  html[data-workbench-theme="studio"] .local-storage-note { font-size:11px; flex-wrap:wrap; margin-bottom:7px; gap:2px 7px; }
  html[data-workbench-theme="studio"] :is(.record-panel,.detail) { border-radius:20px; }
  html[data-workbench-theme="studio"] :is(.detail,.full-width .detail) { padding:20px 17px; }
  html[data-workbench-theme="studio"] .detail-header { flex-direction:row; align-items:flex-start; gap:12px; padding-bottom:12px; margin-bottom:12px; }
  html[data-workbench-theme="studio"] .detail-header > .material-art { width:64px; height:64px; margin-right:0; border-radius:15px; }
  html[data-workbench-theme="studio"] .detail-header > .material-detail-heading { flex:1; min-width:0; }
  html[data-workbench-theme="studio"] .detail-header h2 { font-size:21px; margin-bottom:4px; }
  html[data-workbench-theme="studio"] .detail-header .detail-meta { font-size:11px; }
  html[data-workbench-theme="studio"] .detail-back { margin:-6px 0 10px; }
  html[data-workbench-theme="studio"] .purchase-detail-tabs { margin-bottom:10px; }
  html[data-workbench-theme="studio"] .purchase-detail-content { padding-top:8px; }
  html[data-workbench-theme="studio"] .purchase-progress { margin:0 0 12px; padding:12px; gap:8px; }
  html[data-workbench-theme="studio"] .purchase-metric { margin:12px 0; padding:12px; }
  html[data-workbench-theme="studio"] .purchase-actionbar { flex-wrap:wrap; gap:6px; }
  html[data-workbench-theme="studio"] .purchase-actionbar > .action-control { flex:1 1 120px; min-width:120px; }
  html[data-workbench-theme="studio"] .purchase-actionbar .action-control > button { word-break:keep-all; overflow-wrap:normal; }
  html[data-workbench-theme="studio"] .purchase-actionbar > :is(.purchase-more-actions,button) { max-width:100%; }
  html[data-workbench-theme="studio"] .field-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  html[data-workbench-theme="studio"] .field :is(input,select,textarea) { font-size:16px; }
  html[data-workbench-theme="studio"] :is(.purchase-views,.purchase-detail-tabs,.ledger-view-toggle,.task-area-tabs,.task-view-tabs,.task-category-tabs,.budget-center .budget-tabs) { gap:3px; flex-wrap:wrap; }
  html[data-workbench-theme="studio"] :is(.purchase-views,.purchase-detail-tabs,.ledger-view-toggle,.task-area-tabs,.task-view-tabs,.task-category-tabs,.budget-center .budget-tabs) > button { padding:9px 11px; font-size:11px; }
  html[data-workbench-theme="studio"] .ledger-navigation { flex-direction:column; align-items:stretch; gap:8px; padding:10px 13px 2px; }
  html[data-workbench-theme="studio"] .ledger-navigation > :is(.purchase-views,.ledger-view-toggle,.receiving-filters) { flex:0 0 auto; width:100%; min-width:0; }
  html[data-workbench-theme="studio"] .ledger-navigation :is(.purchase-views,.ledger-view-toggle) { display:flex; flex-wrap:wrap; gap:3px; padding:4px; }
  html[data-workbench-theme="studio"] .ledger-navigation :is(.purchase-views,.ledger-view-toggle) > button { flex:0 0 auto; min-height:44px; padding:9px 9px; font-size:11px; white-space:nowrap; }
  html[data-workbench-theme="studio"] .ledger-navigation .receiving-filters { display:flex; flex-wrap:wrap; gap:6px; padding:0; }
  html[data-workbench-theme="studio"] .ledger-navigation .receiving-filters > button { min-height:44px; padding:9px 10px; font-size:11px; white-space:nowrap; }
  html[data-workbench-theme="studio"] .ledger-controls { padding:12px 13px; }
  html[data-workbench-theme="studio"] .ledger-meta { padding:0 13px 13px; }
  html[data-workbench-theme="studio"] .ledger-table :is(th,td) { padding:10px 11px; }
  html[data-workbench-theme="studio"] .ledger-table .table-record-link { min-height:44px; }
  html[data-workbench-theme="studio"] .form-actions { padding-bottom:calc(16px + env(safe-area-inset-bottom)); }
  html[data-workbench-theme="studio"] .studio-stats { gap:10px; }
  html[data-workbench-theme="studio"] .studio-stat { min-height:136px; padding:17px; border-radius:20px; }
  html[data-workbench-theme="studio"] .studio-stat-value { font-size:31px; letter-spacing:-.8px; }
  html[data-workbench-theme="studio"] .studio-stat-label { font-size:11px; margin-bottom:14px; }
  html[data-workbench-theme="studio"] .studio-stat-note { font-size:11px; }
  html[data-workbench-theme="studio"] .dashboard-content { grid-template-columns:minmax(0,1fr); gap:14px; }
  html[data-workbench-theme="studio"] :is(.studio-overview-queue,.dashboard-queue,.dashboard-attention,.dashboard-shortcuts,.dashboard-finance-heading,.dashboard-finance-body > .overview-cards.key-money,.dashboard-finance-body > .dashboard-expense) { grid-column:1; }
  html[data-workbench-theme="studio"] .studio-overview-queue { order:3; padding:19px 17px; border-radius:21px; }
  html[data-workbench-theme="studio"] .dashboard-queue { order:3; }
  html[data-workbench-theme="studio"] .dashboard-attention { order:4; }
  html[data-workbench-theme="studio"] .dashboard-shortcuts { order:1; padding:12px 15px; }
  html[data-workbench-theme="studio"] .dashboard-shortcuts > .overview-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-workbench-theme="studio"] .dashboard-finance-heading { order:6; }
  html[data-workbench-theme="studio"] .dashboard-finance-body > .dashboard-expense { order:6; }
  html[data-workbench-theme="studio"] :is(.dashboard-history,.dashboard-content > .all-functions) { order:7; }
  html[data-workbench-theme="studio"] .studio-queue-preview { max-height:none; overflow:visible; }
  html[data-workbench-theme="studio"] .studio-preview-row { padding:16px 0; }
  html[data-workbench-theme="studio"] :is(.studio-bento-panel,.dashboard-grid > .section,.dashboard-finance-body > .dashboard-expense) { padding:19px 17px; border-radius:21px; }
  html[data-workbench-theme="studio"] .dashboard-stage-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-workbench-theme="studio"] .dashboard-stage { padding:9px 3px; }
  html[data-workbench-theme="studio"] .dashboard-stage-ring { width:62px; height:62px; }
  html[data-workbench-theme="studio"] .dashboard-stage-count { font-size:22px; }
  html[data-workbench-theme="studio"] .dashboard-finance-body > .overview-cards.key-money { grid-template-columns:minmax(0,1fr); }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card { display:flex; flex-direction:column; align-items:stretch; gap:6px; padding:16px; }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card > :is(h3,p,.metric-evidence) { margin:0; }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card > strong { font-size:24px; overflow-wrap:anywhere; }
  html[data-workbench-theme="studio"] .dashboard-finance .key-money .overview-card > button { align-self:flex-start; max-width:100%; }
  html[data-workbench-theme="studio"] :is(.queue-columns,.queue-business-record) { grid-template-columns:minmax(0,1fr); }
  html[data-workbench-theme="studio"] .queue-controls { padding:12px; border-radius:19px; }
  html[data-workbench-theme="studio"] .queue-supplier-group > summary { padding:17px; }
  html[data-workbench-theme="studio"] .queue-business-record { padding:17px; gap:12px; }
  html[data-workbench-theme="studio"] .queue-business-record > .queue-record-actions { grid-column:1; justify-content:flex-start; }
  html[data-workbench-theme="studio"] .queue-record-actions > button { font-size:11px; padding:10px 12px; }
  html[data-workbench-theme="studio"] .task-card { padding:17px; }
  html[data-workbench-theme="studio"] .task-workflow-footer { flex-direction:row; flex-wrap:wrap; align-items:center; }
  html[data-workbench-theme="studio"] .task-workflow-footer button { width:auto; }
  html[data-workbench-theme="studio"] .budget-center :is(.budget-toolbar,.budget-category,.budget-group) { padding:18px; border-radius:20px; }
  html[data-workbench-theme="studio"] .budget-center .budget-groups { grid-template-columns:minmax(0,1fr); }
  html[data-workbench-theme="studio"] .budget-center .budget-known { font-size:19px; }
  html[data-workbench-theme="studio"] :is(dialog,.forms-dialog,.column-settings-dialog,.export-settings-dialog) { border-radius:23px; max-width:calc(100vw - 20px); }
  html[data-workbench-theme="studio"] :is(.draft-confirm,.inline-inventory-dialog,.task-payment-dialog,.workbench-appearance-dialog) { padding:23px 19px; }
  html[data-workbench-theme="studio"] :is(.forms-heading,.column-settings-heading,.forms-body,.column-settings-body,.export-settings-body) { padding:20px 18px; }
  html[data-workbench-theme="studio"] :is(.forms-footer,.column-settings-footer) { padding:17px 18px calc(17px + env(safe-area-inset-bottom)); }
  html[data-workbench-theme="studio"] .forms-dialog { width:calc(100vw - 20px); margin:auto; height:auto; max-height:calc(100dvh - 24px); }
}
@media screen and (max-width:380px) {
  html[data-workbench-theme="studio"] .brand span { display:block; padding:0; margin:2px 0 0; border:0; font-size:10px; }
  html[data-workbench-theme="studio"] .studio-stat { padding:15px; }
  html[data-workbench-theme="studio"] .studio-stat-value { font-size:28px; }
  html[data-workbench-theme="studio"] .values > div { padding:12px 13px; }
}
/* The desktop overview keeps at least the first work items within the initial viewport. */
@media screen and (min-width:901px) {
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .content.overview-page {
    display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:16px; align-items:start;
    grid-template-areas:"notice notice" "recovery recovery" "pending pending" "heading storage" "split split" "footer footer";
  }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] #notice { grid-area:notice; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] #recovery-panel { grid-area:recovery; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] #pending-panel { grid-area:pending; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .page-heading { grid-area:heading; margin-bottom:12px; gap:12px; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .page-heading h1 { margin-bottom:4px; font-size:30px; line-height:1.25; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .page-heading .muted { font-size:12px; line-height:1.65; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .local-storage-note { grid-area:storage; justify-self:end; max-width:330px; margin:0 0 8px; gap:3px 8px; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .split-view { grid-area:split; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .workspace-footer { grid-area:footer; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .overview-readiness { gap:6px 10px; margin-bottom:8px; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .overview-readiness .notice { padding:9px 12px; border-radius:13px; font-size:12px; line-height:1.65; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .overview-readiness > p { margin:0; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-content { row-gap:10px; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-meta { gap:4px 10px; margin:0; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-meta :is(.read-freshness,.dashboard-meta-note) { font-size:11px; line-height:1.55; margin:0; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card {
    display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto 1fr;
    align-items:start; gap:4px 8px; min-height:140px; padding:12px 15px;
  }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card h3 { grid-column:1/-1; grid-row:1; margin:0; font-size:12px; line-height:1.6; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card > strong { grid-column:1; grid-row:2; align-self:center; font-size:clamp(24px,1.9vw,27px); line-height:1.25; letter-spacing:-.6px; margin:0; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card > p { grid-column:1/-1; grid-row:3; margin:0; font-size:12px; line-height:1.6; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card > :is(.metric-evidence,button) { grid-column:2; grid-row:2; align-self:center; max-width:72px; margin:0; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card > button { padding:8px 0; min-height:44px; font-size:11px; line-height:1.45; white-space:normal; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card > .metric-evidence ~ button { grid-column:1/-1; grid-row:4; justify-self:start; max-width:none; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card > .metric-evidence[open] ~ button { grid-row:5; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card .metric-evidence > summary { min-height:44px; font-size:11px; line-height:1.45; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card > .metric-evidence[open] { grid-column:1/-1; grid-row:4; max-width:none; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .dashboard-finance .key-money .overview-card > small { grid-column:1/-1; grid-row:4; margin:0; font-size:11px; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .studio-overview-queue { margin:0; padding-top:18px; padding-bottom:18px; }
  html[data-workbench-theme="studio"] body[data-workbench-module="overview"] .studio-overview-queue .studio-panel-heading { margin-bottom:13px; }
}
@media screen and (prefers-reduced-motion:no-preference) {
  html[data-workbench-theme="studio"] :is(button,a,summary) { transition:background-color .14s ease,border-color .14s ease,color .14s ease; }
  html[data-workbench-theme="studio"] button:not(:disabled):active { transform:none; box-shadow:inset 0 0 0 1px #7d946445; }
}
@media screen and (prefers-reduced-motion:reduce) {
  html[data-workbench-theme="studio"],
  html[data-workbench-theme="studio"] *,
  html[data-workbench-theme="studio"] *::before,
  html[data-workbench-theme="studio"] *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
@media screen and (forced-colors:active) {
  html[data-workbench-theme="studio"] :is(.topbar,.sidebar,.record-panel,.detail,.studio-stat,.studio-bento-panel,.queue-supplier-group,.task-card,.budget-group,.budget-category,dialog) { background:Canvas; color:CanvasText; border:1px solid CanvasText; box-shadow:none; }
  html[data-workbench-theme="studio"] :is(.sidebar .nav-button.active,.primary,.studio-stat-ink) { background:Highlight; color:HighlightText; border-color:Highlight; }
  html[data-workbench-theme="studio"] :is(button,a,input,select,textarea,summary):focus-visible { outline-color:Highlight; }
}
