/* Vivid theme: solid fills for pills, buttons, sidebar chips, table headers and icon chips.
   Active only when <html data-theme="vivid">; the classic look is the base app.css. */
/* ═══ Solid colour system ═════════════════════════════════════════════════════
   Pills, buttons and the sidebar use solid fills from the Octa palette. --t-solid is the fill, --t-on the text on it. */
html[data-theme="vivid"] .tone-green { --t-solid: #1d8311; --t-on: #fff; }
/* Fern */
html[data-theme="vivid"] .tone-blue { --t-solid: #1669b8; --t-on: #fff; }
/* Lagoon */
html[data-theme="vivid"] .tone-amber { --t-solid: #f5b301; --t-on: #3a2800; }
/* Marigold */
html[data-theme="vivid"] .tone-orange { --t-solid: #c9501c; --t-on: #fff; }
/* Terracotta */
html[data-theme="vivid"] .tone-red { --t-solid: #c4302a; --t-on: #fff; }
/* Ember */
html[data-theme="vivid"] .tone-violet { --t-solid: #6a3fd0; --t-on: #fff; }
/* Plum */
html[data-theme="vivid"] .tone-teal { --t-solid: #0c8577; --t-on: #fff; }
/* Spruce */
html[data-theme="vivid"] .tone-slate { --t-solid: #55687a; --t-on: #fff; }
/* Slate */
html[data-theme="vivid"] .tone-pink { --t-solid: #c22d7a; --t-on: #fff; }
/* Berry */

html[data-theme="vivid"] /* Pills */
.badge[class*="tone-"] { background: var(--t-solid); color: var(--t-on); box-shadow: none; padding: 4px 10px; border-radius: 6px; font-weight: 650; }
html[data-theme="vivid"] .badge[class*="tone-"]::before { display: none; }
html[data-theme="vivid"] .tbl .tiny .badge[class*="tone-"] { padding: 2px 8px; }
html[data-theme="vivid"] .badge-status { box-shadow: none !important; }
html[data-theme="vivid"] .badge-draft { background: #f5b301; color: #3a2800; --s-acc: #3a2800; }
html[data-theme="vivid"] .badge-in_review { background: #6a3fd0; color: #fff; --s-acc: #fff; }
html[data-theme="vivid"] .badge-ready { background: #1669b8; color: #fff; --s-acc: #fff; }
html[data-theme="vivid"] .badge-final { background: #183a21; color: #d6efb6; --s-acc: #8fd15f; }
html[data-theme="vivid"] .st-m b { opacity: .3; }
html[data-theme="vivid"] .badge-ok { background: #1d8311; color: #fff; border-color: #1d8311; }
html[data-theme="vivid"] .badge-err { background: #c4302a; color: #fff; border-color: #c4302a; }
html[data-theme="vivid"] .badge-type { background: #55687a; color: #fff; border-color: #55687a; }
html[data-theme="vivid"] .status-pick.is-draft { background: #f5b301; border-color: #f5b301; color: #3a2800; }
html[data-theme="vivid"] .status-pick.is-draft .status-dot { background: #3a2800; }
html[data-theme="vivid"] .status-pick.is-in_review { background: #6a3fd0; border-color: #6a3fd0; color: #fff; }
html[data-theme="vivid"] .status-pick.is-in_review .status-dot { background: #fff; }
html[data-theme="vivid"] .status-pick.is-in_review .icon { color: #fff; }
html[data-theme="vivid"] .status-pick.is-ready { background: #1669b8; border-color: #1669b8; color: #fff; }
html[data-theme="vivid"] .status-pick.is-ready .status-dot { background: #fff; }
html[data-theme="vivid"] .status-pick.is-ready .icon { color: #fff; }
html[data-theme="vivid"] .b-dot.st-draft { background: #f5b301; }
html[data-theme="vivid"] .b-dot.st-in_review { background: #6a3fd0; }
html[data-theme="vivid"] .b-dot.st-ready { background: #1669b8; }
html[data-theme="vivid"] .ev-ic[class*="tone-"] { background: var(--t-solid); color: var(--t-on); border-color: transparent; }
html[data-theme="vivid"] .ai-chip[class*="tone-"] { background: var(--t-solid); color: var(--t-on); }
html[data-theme="vivid"] .chip.chip-tone .b-dot { background: var(--t-solid); }
html[data-theme="vivid"] .chip.chip-tone.is-on { background: var(--t-solid); border-color: var(--t-solid); color: var(--t-on); }
html[data-theme="vivid"] .chip.chip-tone.is-on .b-dot { background: var(--t-on); }
html[data-theme="vivid"] .chip.chip-tone.is-on .muted { color: var(--t-on); opacity: .8; }
html[data-theme="vivid"] .chip.is-on:not(.chip-tone) { background: #1d8311; border-color: #1d8311; color: #fff; }
html[data-theme="vivid"] .chip.is-on:not(.chip-tone) .muted { color: #fff; opacity: .8; }
html[data-theme="vivid"] .jt-card[class*="tone-"] .jt-ic, html[data-theme="vivid"] .jt-card[class*="tone-"].is-on .jt-ic { background: var(--t-solid); }
html[data-theme="vivid"] .jt-card[class*="tone-"] .jt-ic .icon { color: var(--t-on); }
html[data-theme="vivid"] .tab-note.is-ok { background: #1d8311; color: #fff; }
html[data-theme="vivid"] .tab-note.is-warn { background: #f5b301; color: #3a2800; }
html[data-theme="vivid"] .toast-ic { background: #1669b8; }
html[data-theme="vivid"] .toast-ic .icon { color: #fff; }
html[data-theme="vivid"] .toast.ok .toast-ic { background: #1d8311; }
html[data-theme="vivid"] .toast.ok .toast-ic .icon { color: #fff; }
html[data-theme="vivid"] .toast.err .toast-ic { background: #c4302a; }
html[data-theme="vivid"] .toast.err .toast-ic .icon { color: #fff; }
html[data-theme="vivid"] .modal-ic, html[data-theme="vivid"] .cf-ic { background: #1d8311; box-shadow: 0 0 0 4px #1d831122; }
html[data-theme="vivid"] .modal-ic .icon, html[data-theme="vivid"] .cf-ic .icon { color: #fff; }
html[data-theme="vivid"] .cf.is-danger .cf-ic { background: #c4302a; box-shadow: 0 0 0 4px #c4302a22; }
html[data-theme="vivid"] .cf.is-danger .cf-ic .icon { color: #fff; }
/* Buttons: solid fills. Default = linen, primary = fern, strong = forest, danger = ember. */
html[data-theme="vivid"] .btn { background: #e2ebd6; border: 1px solid #e2ebd6; color: #1f3a25; box-shadow: none; }
html[data-theme="vivid"] .btn:hover { background: #d2dfc1; border-color: #d2dfc1; color: #14301b; }
html[data-theme="vivid"] .btn-primary { background: #1d8311; border-color: #1d8311; color: #fff; box-shadow: 0 2px 0 #145c0c; }
html[data-theme="vivid"] .btn-primary:hover { background: #176c0d; border-color: #176c0d; color: #fff; }
html[data-theme="vivid"] .btn-primary .icon { color: #fff; }
html[data-theme="vivid"] .btn-danger, html[data-theme="vivid"] .modal-f .btn-danger { background: #c4302a; border-color: #c4302a; color: #fff; }
html[data-theme="vivid"] .btn-danger:hover { background: #a3251f; border-color: #a3251f; color: #fff; }
html[data-theme="vivid"] .btn-ghost { background: transparent; border-color: transparent; }
html[data-theme="vivid"] .btn-ghost:hover { background: #e2ebd6; }
html[data-theme="vivid"] .btn-xs, html[data-theme="vivid"] .btn-sm { background: #e2ebd6; border-color: #e2ebd6; }
html[data-theme="vivid"] .btn-xs.btn-primary, html[data-theme="vivid"] .btn-sm.btn-primary { background: #1d8311; border-color: #1d8311; }
html[data-theme="vivid"] .btn-xs.btn-danger, html[data-theme="vivid"] .btn-sm.btn-danger { background: #c4302a; border-color: #c4302a; color: #fff; }
html[data-theme="vivid"] .row-actions .btn { background: #183a21; border-color: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .row-actions .btn:hover { background: #24502d; border-color: #24502d; color: #fff; }
html[data-theme="vivid"] .row-more { background: #e2ebd6; border-color: #e2ebd6; color: #1f3a25; }
html[data-theme="vivid"] .row-more:hover { background: #183a21; border-color: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .cf-no { background: #e2ebd6; border-color: #e2ebd6; }
html[data-theme="vivid"] .cf-no:hover { background: #d2dfc1; border-color: #d2dfc1; }
html[data-theme="vivid"] .cf-danger { background: #c4302a; border-color: #c4302a; box-shadow: 0 2px 0 #8f1d14; }
html[data-theme="vivid"] .modal-f .btn-primary { box-shadow: 0 2px 0 #145c0c; }
html[data-theme="vivid"] .btn-group .btn { background: #e2ebd6; border-color: #cddabd; }
html[data-theme="vivid"] .btn-group .btn.is-on { background: #183a21; border-color: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .seg { background: #e2ebd6; border-color: #e2ebd6; }
html[data-theme="vivid"] .seg-btn { color: #3f5a41; }
html[data-theme="vivid"] .seg-btn.is-on { background: #183a21; color: #d6efb6; box-shadow: none; }
html[data-theme="vivid"] .seg-btn.is-on .icon { color: #d6efb6; }
html[data-theme="vivid"] .seg-btn.is-on .seg-n { background: #ffffff2e; color: #fff; }
html[data-theme="vivid"] .tab-btn.is-on { color: #183a21; border-bottom-color: #1d8311; }
html[data-theme="vivid"] .icon-btn:hover { background: #e2ebd6; }
html[data-theme="vivid"] .fstep-n, html[data-theme="vivid"] .wz-step.is-on .wz-dot { background: #1d8311; border-color: #1d8311; }
/* Sidebar: every destination has a solid colour chip; the current page is a solid lime tab */
html[data-theme="vivid"] .sidebar .nav a { gap: 10px; color: #c4d8b8; }
html[data-theme="vivid"] .sidebar .nav-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--n, #2f5a34); color: var(--n-on, #fff); flex: 0 0 auto; }
html[data-theme="vivid"] .sidebar .nav-ic .icon { width: 14px; height: 14px; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="dashboard"] { --n: #1d8311; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="reports"] { --n: #1669b8; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="drafts"] { --n: #f5b301; --n-on: #3a2800; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="jobs"] { --n: #0c8577; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="scope"] { --n: #c9501c; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="makesafe"] { --n: #c4302a; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="frompdf"] { --n: #c22d7a; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="estimate"] { --n: #6a3fd0; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="activity"] { --n: #55687a; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="emails"] { --n: #1669b8; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="settings"] { --n: #55687a; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="users"] { --n: #0c8577; }
html[data-theme="vivid"] .sidebar .nav a:hover { background: #24502d; color: #fff; }
html[data-theme="vivid"] .sidebar .nav a.active { background: #c7e4a4; color: #183a21; font-weight: 700; box-shadow: none; }
html[data-theme="vivid"] .sidebar .nav a.active .nav-ic { box-shadow: 0 0 0 2px #183a2126; }
html[data-theme="vivid"] .sidebar .nav-count { background: #f5b301; color: #3a2800; border-radius: 6px; font-weight: 700; padding: 1px 7px; }
html[data-theme="vivid"] .sidebar .nav a.active .nav-count { background: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .sidebar .nav-count-warn:not(:empty) { background: #c4302a; color: #fff; }
html[data-theme="vivid"] .sidebar .nav-label { color: #8fd15f; }
/* Sidebar: only the Documents group carries colour; Reports and Workspace destinations stay in forest tones. */
html[data-theme="vivid"] .sidebar .nav a[data-nav="dashboard"], html[data-theme="vivid"] .sidebar .nav a[data-nav="reports"], html[data-theme="vivid"] .sidebar .nav a[data-nav="drafts"], html[data-theme="vivid"] .sidebar .nav a[data-nav="jobs"], html[data-theme="vivid"] .sidebar .nav a[data-nav="activity"], html[data-theme="vivid"] .sidebar .nav a[data-nav="emails"], html[data-theme="vivid"] .sidebar .nav a[data-nav="settings"], html[data-theme="vivid"] .sidebar .nav a[data-nav="users"] { --n: #2c5632; --n-on: #cfe6bd; }
html[data-theme="vivid"] .sidebar .nav a:hover:not(.active) .nav-ic { filter: brightness(1.12); }
html[data-theme="vivid"] .sidebar .nav a.active:not([data-nav="scope"]):not([data-nav="makesafe"]):not([data-nav="frompdf"]):not([data-nav="estimate"]) .nav-ic { background: #183a21; color: #d6efb6; box-shadow: none; }
html[data-theme="vivid"] .sidebar .nav-count { background: #3f6b3a; color: #e3f3d0; }
html[data-theme="vivid"] .sidebar .nav a[data-nav="scope"] .nav-count, html[data-theme="vivid"] .sidebar .nav a[data-nav="makesafe"] .nav-count, html[data-theme="vivid"] .sidebar .nav a[data-nav="frompdf"] .nav-count, html[data-theme="vivid"] .sidebar .nav a[data-nav="estimate"] .nav-count { background: var(--n); color: var(--n-on, #fff); }
html[data-theme="vivid"] .sidebar .nav a.active .nav-count { background: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .sidebar .nav-count-warn:not(:empty) { background: #c4302a; color: #fff; }
/* Row "Open" button: forest fill wins over page-level small-button rules (the dashboard repaints .btn-xs pale). */
html[data-theme="vivid"] .tbl .row-actions a.btn, html[data-theme="vivid"] .row-actions a.btn.btn-xs { background: #183a21; border-color: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .tbl .row-actions a.btn:hover, html[data-theme="vivid"] .row-actions a.btn.btn-xs:hover { background: #24502d; border-color: #24502d; color: #fff; }
html[data-theme="vivid"] .dashboard-lower .btn-xs:not(.btn-primary):not(.btn-danger) { background: #e2ebd6; border-color: #e2ebd6; color: #1f3a25; }
html[data-theme="vivid"] .dashboard-lower .btn-xs:not(.btn-primary):not(.btn-danger):hover { background: #d2dfc1; border-color: #d2dfc1; }
/* ═══ Icon chips everywhere use the solid palette ═══════════════════════════ */
html[data-theme="vivid"] .tone-forest { --t-solid: #183a21; --t-on: #d6efb6; --t-bg: #d8f0c4; --t-fg: #183a21; }
/* Dashboard KPI symbols: solid, coloured by what the tile counts */
html[data-theme="vivid"] .kpis .metric-symbol, html[data-theme="vivid"] .compact-kpis .metric-symbol, html[data-theme="vivid"] body[data-page=dashboard] .kpi .metric-symbol { background: var(--t-solid, #1d8311); color: var(--t-on, #fff); border: 0; }
html[data-theme="vivid"] .kpis .metric-symbol .icon, html[data-theme="vivid"] body[data-page=dashboard] .kpi .metric-symbol .icon { color: var(--t-on, #fff); }
html[data-theme="vivid"] body[data-page=dashboard] .kpi:nth-child(n) .metric-symbol { background: var(--t-solid); color: var(--t-on); border-color: transparent; }
/* Panel header icons, page icon, wizard intro icon, empty-state icon, job facts, upload zone, section-step numbers */
html[data-theme="vivid"] .ph-ic, html[data-theme="vivid"] .page-icon, html[data-theme="vivid"] .wz-intro-ic, html[data-theme="vivid"] .empty-ic, html[data-theme="vivid"] .drop-ic, html[data-theme="vivid"] .file-ic, html[data-theme="vivid"] .job-fact > .icon-wrap { background: #1d8311 !important; color: #fff !important; border-color: transparent !important; }
html[data-theme="vivid"] .ph-ic .icon, html[data-theme="vivid"] .page-icon .icon, html[data-theme="vivid"] .wz-intro-ic .icon, html[data-theme="vivid"] .empty-ic .icon, html[data-theme="vivid"] .drop-ic .icon, html[data-theme="vivid"] .file-ic .icon { color: #fff !important; }
html[data-theme="vivid"] .job-fact > .icon { color: #1d8311; }
html[data-theme="vivid"] .ed-panel-h { color: #3f5a41; }
/* Dashboard summary strip and section captions */
html[data-theme="vivid"] .desk-summary .icon { color: #1d8311; }
html[data-theme="vivid"] .desk-summary .summary-error, html[data-theme="vivid"] .desk-summary .summary-error .icon { color: #c4302a; }
/* Sidebar connection pill + account shortcut */
html[data-theme="vivid"] .conn.ok .dot { background: #8fd15f; }
html[data-theme="vivid"] .account-shortcut { background: #1d8311; color: #fff; border-color: #183a21; }
/* Wizard stepper: done steps solid fern, current step solid forest */
html[data-theme="vivid"] .wz-step.is-done .wz-dot { background: #1d8311; border-color: #1d8311; color: #fff; }
html[data-theme="vivid"] .wz-step.is-done .wz-dot .icon { filter: brightness(0) invert(1); }
html[data-theme="vivid"] .wz-step.is-on .wz-dot { background: #183a21; border-color: #183a21; box-shadow: 0 0 0 4px #183a2122; }
html[data-theme="vivid"] .wz-step.is-done .wz-line { background: #1d8311; }
/* Session device icons, settings tab notes already toned; photo-count facts */
html[data-theme="vivid"] .sess-item.is-current > .icon { color: #1d8311; }
/* ═══ Buttons, final word ═══════════════════════════════════════════════════
   Three looks only: primary = solid fern, strong (row Open, selected segment) = solid forest, secondary = white with a
   forest border. The pale linen fill is gone — it read as a disabled state. These rules sit last so page-level tweaks
   (dashboard, workspace) cannot wash buttons out again. */
html[data-theme="vivid"] .btn, html[data-theme="vivid"] .btn-xs, html[data-theme="vivid"] .btn-sm, html[data-theme="vivid"] .dashboard-lower .btn-xs:not(.btn-primary):not(.btn-danger), html[data-theme="vivid"] .dashboard-lower .btn-xs, html[data-theme="vivid"] .panel-h .btn, html[data-theme="vivid"] .toolbar .btn, html[data-theme="vivid"] .row-more, html[data-theme="vivid"] .cf-no, html[data-theme="vivid"] .btn-group .btn, html[data-theme="vivid"] .icon-btn.row-more { background: #fffefa; border: 1px solid #2f5634; color: #183a21; box-shadow: none; }
html[data-theme="vivid"] .btn:hover, html[data-theme="vivid"] .btn-xs:hover, html[data-theme="vivid"] .btn-sm:hover, html[data-theme="vivid"] .dashboard-lower .btn-xs:hover, html[data-theme="vivid"] .row-more:hover, html[data-theme="vivid"] .cf-no:hover, html[data-theme="vivid"] .btn-group .btn:hover { background: #183a21; border-color: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .btn:hover .icon, html[data-theme="vivid"] .row-more:hover .icon { color: #d6efb6; }
html[data-theme="vivid"] .btn-primary, html[data-theme="vivid"] .btn-xs.btn-primary, html[data-theme="vivid"] .btn-sm.btn-primary, html[data-theme="vivid"] .modal-f .btn-primary, html[data-theme="vivid"] .cf-yes.btn-primary { background: #1d8311; border-color: #1d8311; color: #fff; box-shadow: 0 2px 0 #145c0c; }
html[data-theme="vivid"] .btn-primary:hover, html[data-theme="vivid"] .btn-xs.btn-primary:hover, html[data-theme="vivid"] .btn-sm.btn-primary:hover { background: #176c0d; border-color: #176c0d; color: #fff; }
html[data-theme="vivid"] .btn-danger, html[data-theme="vivid"] .btn-xs.btn-danger, html[data-theme="vivid"] .btn-sm.btn-danger, html[data-theme="vivid"] .modal-f .btn-danger, html[data-theme="vivid"] .cf-danger { background: #c4302a; border-color: #c4302a; color: #fff; }
html[data-theme="vivid"] .btn-danger:hover, html[data-theme="vivid"] .cf-danger:hover { background: #a3251f; border-color: #a3251f; color: #fff; }
html[data-theme="vivid"] .btn-ghost, html[data-theme="vivid"] .btn-ghost:hover { border-color: transparent; }
html[data-theme="vivid"] .btn-ghost { background: transparent; color: #3f5a41; }
html[data-theme="vivid"] .btn-ghost:hover { background: #e2ebd6; color: #183a21; }
html[data-theme="vivid"] .btn-group .btn.is-on, html[data-theme="vivid"] .seg-btn.is-on { background: #183a21; border-color: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .tbl .row-actions a.btn, html[data-theme="vivid"] .row-actions a.btn.btn-xs, html[data-theme="vivid"] .dashboard-lower .row-actions a.btn.btn-xs { background: #183a21; border-color: #183a21; color: #d6efb6; }
html[data-theme="vivid"] .tbl .row-actions a.btn:hover, html[data-theme="vivid"] .row-actions a.btn.btn-xs:hover { background: #24502d; border-color: #24502d; color: #fff; }
html[data-theme="vivid"] .btn:disabled, html[data-theme="vivid"] .btn[aria-disabled="true"] { background: #f1f4ee; border-color: #d9e2cf; color: #8a9784; box-shadow: none; }
/* Fourth KPI tile (dark variant in the old theme): its symbol follows the same tone rule as the others */
html[data-theme="vivid"] body[data-page=dashboard] .kpi:nth-child(4) .metric-symbol, html[data-theme="vivid"] .kpis .kpi:nth-child(4) .metric-symbol { background: var(--t-solid) !important; color: var(--t-on) !important; }
/* Panel headers: every title gets a solid fern icon chip (pages that still rely on the ::before glyph included) */
html[data-theme="vivid"] .panel-h h2::before { background: #fff; width: 13px; height: 13px; }
html[data-theme="vivid"] .panel-h h2:not(:has(.ph-ic):not(:has(.icon)))::before { display: none; }
html[data-theme="vivid"] .panel-h h2:not(:has(.ph-ic)):not(:has(.icon)) { position: relative; padding-left: 34px; }
html[data-theme="vivid"] .panel-h h2:not(:has(.ph-ic)):not(:has(.icon))::after { content: ''; position: absolute; left: 0; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); background: #1d8311; border-radius: 6px; z-index: 0; }
html[data-theme="vivid"] .panel-h h2:not(:has(.ph-ic)):not(:has(.icon))::before { display: inline-block; position: absolute; left: 6.5px; top: 50%; transform: translateY(-50%); z-index: 1; }
html[data-theme="vivid"] .panel-h h2 .ph-ic { margin-right: 0; }
html[data-theme="vivid"] .panel-h h2 { gap: 9px; color: #203523; }
/* Summary strip under the KPIs: solid figure chips on a cream band */
html[data-theme="vivid"] .desk-summary { background: #fffefa; color: #3d4d3e; font-weight: 500; }
html[data-theme="vivid"] .sum-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border-radius: 6px; background: var(--t-solid); color: var(--t-on); font-weight: 700; font-size: 11px; font-variant-numeric: tabular-nums; }
html[data-theme="vivid"] .sum-chip .icon { width: 12px !important; height: 12px !important; color: var(--t-on) !important; }
html[data-theme="vivid"] .desk-summary .summary-error { color: #8f1d14; font-weight: 600; }
html[data-theme="vivid"] body[data-page=dashboard] .desk-summary, html[data-theme="vivid"] .desk-summary { background: #fffefa !important; border-color: #e0e6d8; }
/* Option cards: every icon chip is a solid tone; untoned cards default to fern */
html[data-theme="vivid"] .jt-card .jt-ic { background: #1d8311; color: #fff; }
html[data-theme="vivid"] .jt-card .jt-ic .icon { color: #fff; }
html[data-theme="vivid"] .jt-card[class*="tone-"] .jt-ic, html[data-theme="vivid"] .jt-card[class*="tone-"].is-on .jt-ic { background: var(--t-solid); }
html[data-theme="vivid"] .jt-card[class*="tone-"] .jt-ic .icon { color: var(--t-on); }
html[data-theme="vivid"] .jt-card.is-on { border-color: #183a21; background: #f3f9ee; box-shadow: inset 0 0 0 1px #183a21; }
html[data-theme="vivid"] .type-card.is-on { border-color: #183a21; box-shadow: inset 0 0 0 1px #183a21; }
/* Summary strip: original layout; icons and figures in solid fern, failure in ember. Band stays the strip's own soft tint. */
html[data-theme="vivid"] body[data-page=dashboard] .desk-summary, html[data-theme="vivid"] .desk-summary { background: #edf2e7 !important; color: #3d4d3e; font-weight: 500; }
html[data-theme="vivid"] .desk-summary .icon { color: #1d8311; width: 14px; height: 14px; }
html[data-theme="vivid"] .desk-summary strong { color: #1d8311; font-weight: 700; }
html[data-theme="vivid"] .desk-summary .summary-error, html[data-theme="vivid"] .desk-summary .summary-error strong, html[data-theme="vivid"] .desk-summary .summary-error .icon { color: #c4302a; }
/* Table header rows: solid forest band with lime column labels, instead of the pale green wash */
html[data-theme="vivid"] .tbl th, html[data-theme="vivid"] .dashboard-lower .tbl th, html[data-theme="vivid"] body[data-page=dashboard] .dashboard-lower .tbl th, html[data-theme="vivid"] .modal .tbl th { background: #183a21; color: #c7e4a4; border-bottom: none; }
html[data-theme="vivid"] .tbl thead tr th:first-child { border-top-left-radius: 0; }
html[data-theme="vivid"] .tbl thead tr th:last-child { border-top-right-radius: 0; }
/* Summary strip: same layout, solid forest band with lime text */
html[data-theme="vivid"] body[data-page=dashboard] .desk-summary, html[data-theme="vivid"] .desk-summary { background: #183a21 !important; border-color: #183a21; color: #c4d8b8; }
html[data-theme="vivid"] .desk-summary .icon { color: #8fd15f; }
html[data-theme="vivid"] .desk-summary strong { color: #fff; }
html[data-theme="vivid"] .desk-summary > a:hover { color: #fff; }
html[data-theme="vivid"] .desk-summary .summary-error, html[data-theme="vivid"] .desk-summary .summary-error strong { color: #ffb3ab; }
html[data-theme="vivid"] .desk-summary .summary-error .icon { color: #ff7b70; }
/* Stage-of-job cards: solid toned icon chip (same as the loss-type cards), forest outline when selected, no pale wash */
html[data-theme="vivid"] .type-card { padding-top: 22px; background: #fffefa; }
html[data-theme="vivid"] .type-card::before { display: none !important; }
html[data-theme="vivid"] .type-card .tc-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 12px; background: var(--t-solid, #1d8311); color: var(--t-on, #fff); }
html[data-theme="vivid"] .type-card .tc-ic .icon { width: 16px; height: 16px; color: var(--t-on, #fff); }
html[data-theme="vivid"] .type-card.is-on { background: #f3f9ee; border-color: #183a21; box-shadow: inset 0 0 0 1px #183a21; }
html[data-theme="vivid"] .type-card.is-on::after { background: #183a21; }
html[data-theme="vivid"] .ed-topbar .icon-btn { background: #fffefa; border: 1px solid #2f5634; color: #183a21; }
html[data-theme="vivid"] .ed-topbar .icon-btn:hover, html[data-theme="vivid"] .ed-topbar .icon-btn:focus-visible { background: #183a21; border-color: #183a21; color: #d6efb6; }
