/* OPTION D / BOLD CREATIVE — Duescope visual system.
   Interface-only changes: invoice paper, print output, calculations and saved data
   intentionally retain their independent styles and implementations. */

/* Free-first GST Desk: a distinct, calm working-paper workflow for owners and CAs. */
.gst-workspace{display:grid;gap:19px;min-width:0}
.gst-workspace .page-header{margin-bottom:0}
.gst-workspace .page-header .header-actions .btn{display:inline-flex;align-items:center;gap:8px}
.gst-workspace :is(.btn,.gst-official a,.gst-panel-footer a) svg{width:16px;height:16px;flex:none}
.gst-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 27px;border-radius:19px;background:linear-gradient(110deg,#153cbf,#315bda);color:white;box-shadow:0 18px 38px #2346be1f}
.gst-intro .eyebrow{color:#c0d5ff;font-size:10px}
.gst-intro h2{font-size:clamp(18px,2vw,27px);line-height:1.22;letter-spacing:-.75px;margin:8px 0}
.gst-intro p{max-width:620px;font-size:12px;color:#d8e4ff;line-height:1.65}
.gst-intro label{display:grid;gap:8px;color:#dbe6ff;font-size:10px;font-weight:800;letter-spacing:1px;min-width:180px}
.gst-intro input{appearance:auto;background:#fff;border:1px solid #cddbf7;border-radius:10px;color:#152e72;padding:12px;font:700 14px inherit;min-height:43px}
.gst-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.gst-stat-grid article{display:grid;gap:11px;align-content:space-between;min-width:0;background:#fff;border:1px solid #e6eaf6;border-radius:17px;padding:21px 18px;box-shadow:0 9px 28px #2b4d9307}
.gst-stat-grid small{color:#7282a1;font-size:10px;letter-spacing:.8px;font-weight:850}
.gst-stat-grid strong{font:800 clamp(21px,2vw,30px)/1.2 Manrope,system-ui,sans-serif;color:#263c6f;letter-spacing:-1px;overflow-wrap:anywhere}
.gst-stat-grid span{font-size:10px;color:#8794aa;line-height:1.45}
.gst-stat-grid .gst-attention{background:#fffaf4;border-color:#f6d9bf}
.gst-stat-grid .gst-attention strong{color:#b56a26}
.gst-two-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:14px;align-items:start}
.gst-panel{background:#fff;border:1px solid #e5eaf4;border-radius:18px;padding:23px;min-width:0;box-shadow:0 10px 29px #284c9009}
.gst-panel-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:16px}
.gst-panel-head h3,.gst-official h3{font-size:16px;font-weight:850;letter-spacing:-.45px;color:#273759}
.gst-panel-head p,.gst-official p{font-size:11px;color:#8491aa;line-height:1.7;margin-top:5px}
.gst-panel-head .btn{display:inline-flex;align-items:center;gap:7px;font-size:11px;min-height:36px}
.gst-table{min-width:620px}
.gst-table td{font-size:11px;line-height:1.55}
.gst-table td small{display:block;color:#93a0b7;font-size:10px;margin-top:3px}
.gst-table td strong{color:#233b73}
.gst-flag{color:#bd6b27;font-weight:800}
.gst-empty{background:#f6f8fd;color:#7c8da9;border:1px dashed #d9e2f3;border-radius:12px;padding:24px;font-size:12px;line-height:1.6}
.gst-checklist{display:grid;gap:16px}
.gst-checklist>div{display:flex;align-items:flex-start;gap:11px}
.gst-checklist>div>span{display:grid;place-items:center;min-width:29px;height:29px;border-radius:8px;background:#ecf6f1;color:#15926f}
.gst-checklist>div>span.gst-warning{background:#fff1e6;color:#db7b34}
.gst-checklist svg{width:16px;height:16px}
.gst-checklist p{display:grid;gap:4px;margin:0;font-size:11px}
.gst-checklist b{color:#2c3c5d;font-size:12px}
.gst-checklist small{color:#8491a8;line-height:1.55}
.gst-search{display:grid;gap:8px;margin-bottom:12px;color:#8090ab;font-size:10px;letter-spacing:.8px;font-weight:800}
.gst-search input{min-height:41px;width:100%;border-radius:10px;border:1px solid #dce4f3;padding:0 12px;background:#f9faff;color:#26375c;font-size:12px}
.gst-stock-list{display:grid;gap:0;max-height:290px;overflow-y:auto}
.gst-stock-list article{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 3px;border-bottom:1px solid #edf0f6;font-size:11px}
.gst-stock-list article[hidden]{display:none}
.gst-stock-list article>div{display:grid;gap:4px;min-width:0}
.gst-stock-list article strong{color:#273657;overflow-wrap:anywhere}
.gst-stock-list article b{color:#2250c7}
.gst-stock-list article small,.gst-stock-list article span{color:#8a98b0;font-size:10px}
.gst-panel-footer{margin-top:17px}
.gst-panel-footer a{color:#264bc3;font-size:11px;font-weight:800;display:inline-flex;gap:6px;align-items:center}
.gst-official{display:grid;gap:14px}
.gst-official .eyebrow{font-size:10px}
.gst-official a{display:flex;gap:10px;align-items:center;border:1px solid #e2eafa;background:#f7f9ff;padding:13px 12px;border-radius:11px;color:#2446aa;font-size:11px;font-weight:750;line-height:1.4}
.gst-official a:hover{border-color:#bbcdf9;background:#ecf2ff}
.gst-official .gst-legal-note{border-left:3px solid #ea9654;padding-left:12px;font-size:10px;color:#776f68}
@media(max-width:1150px){.gst-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gst-two-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.gst-intro{padding:20px;align-items:stretch;flex-direction:column}.gst-intro label{min-width:0}.gst-stat-grid{gap:9px}.gst-stat-grid article{padding:15px 13px}.gst-stat-grid small{font-size:9px}.gst-stat-grid strong{font-size:20px}.gst-panel{padding:18px}.gst-workspace .page-header .header-actions .btn{width:100%;justify-content:center}}

/* A quiet, one-time owner journey; disappears once the first invoice exists. */
.owner-start-guide{display:grid;gap:18px;padding:23px 24px;border-radius:18px;border:1px solid #dfE6f5;background:linear-gradient(145deg,#fff,#f7faff);box-shadow:0 9px 30px #294a9708}
.owner-start-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.owner-start-heading h2{font:800 19px/1.3 Manrope,system-ui,sans-serif;letter-spacing:-.6px;color:#25375a;margin:5px 0}
.owner-start-heading p{font-size:12px;color:#7b8aa4;line-height:1.55}
.owner-start-progress{background:#eaf1ff;border:1px solid #d8e4fc;border-radius:999px;color:#2852bf;font-size:11px;font-weight:800;padding:9px 13px;white-space:nowrap}
.owner-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.owner-start-step{display:flex;gap:12px;align-items:flex-start;border:1px solid #e5eafa;border-radius:12px;background:#fff;padding:16px;color:inherit;min-width:0;transition:border-color .15s,transform .15s}
.owner-start-step:hover{border-color:#b3c6f6;transform:translateY(-2px)}
.owner-start-number{display:grid;place-items:center;flex:none;width:35px;height:35px;background:#eaf0ff;border-radius:10px;color:#2450c8;font:800 12px Manrope,system-ui,sans-serif}
.owner-start-number svg{width:17px;height:17px}
.owner-start-step>div{min-width:0}
.owner-start-step b{display:block;color:#21365e;font-size:12px;margin:1px 0 5px}
.owner-start-step p{color:#8391a8;font-size:11px;line-height:1.55;min-height:35px}
.owner-start-step small{display:inline-flex;align-items:center;gap:5px;margin-top:8px;font-size:10px;color:#2855c7;font-weight:800}
.owner-start-step small svg{width:13px;height:13px}
@media(max-width:950px){.owner-start-grid{grid-template-columns:1fr}.owner-start-step p{min-height:0}.owner-start-heading{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:650px){.owner-start-guide{padding:19px 16px}.owner-start-heading h2{font-size:17px}.owner-start-step{padding:14px}.owner-start-step b,.owner-start-step p{font-size:12px}.gst-panel-head p,.gst-official p,.gst-table td,.gst-checklist small{font-size:12px}.gst-stock-list article strong,.gst-stock-list article b{font-size:12px}}
html[data-ui-theme="vibrant"] {
  --bg:#f7f8fc;--ink:#15213e;--muted:#75829c;--muted-dark:#52627f;
  --line:#e3e8f3;--green:#1e49db;--green-light:#edf3ff;
  --orange:#fa7445;--shadow:0 15px 44px rgba(34,57,119,.055);
}
html[data-ui-theme="vibrant"] body {background:#f7f8fc;color:#182443}
html[data-ui-theme="vibrant"] :is(button,a,input,select,textarea):focus-visible {outline:3px solid #f7a36d;outline-offset:3px}
html[data-ui-theme="vibrant"] .shell {max-width:none;grid-template-columns:248px minmax(0,1fr)}
html[data-ui-theme="vibrant"] .sidebar {width:248px;background:linear-gradient(164deg,#163cc4 0%,#1232b6 53%,#172cad 100%);border:0;color:#fff;padding:25px 14px 19px;box-shadow:6px 0 25px rgba(20,45,134,.09)}
html[data-ui-theme="vibrant"] .brand-block{padding:0 10px 24px}
html[data-ui-theme="vibrant"] .brand-mark {width:41px;height:41px;border-radius:12px;background:#fff;color:#1741cc;box-shadow:0 5px 16px #0b269960}
html[data-ui-theme="vibrant"] .brand-words{color:#fff;font-size:22px}
html[data-ui-theme="vibrant"] .brand-dot{color:#ffae72}
html[data-ui-theme="vibrant"] .brand-words small{color:#b4c5ff;letter-spacing:1.9px}
html[data-ui-theme="vibrant"] .workspace-tag{margin:0 6px 27px;background:#ffffff12;border:1px solid #ffffff23;border-radius:10px;padding:10px 11px;color:#dfe8ff;font-size:9px}
html[data-ui-theme="vibrant"] .workspace-free{background:#ffffff23;color:#fff}
html[data-ui-theme="vibrant"] .pulse-dot{background:#66ecc2;box-shadow:0 0 0 4px #74f1c02b}
html[data-ui-theme="vibrant"] .nav-caption{color:#8faafa;padding:0 16px;font-size:9px;letter-spacing:1.5px}
html[data-ui-theme="vibrant"] .secondary-caption{margin-top:23px}
html[data-ui-theme="vibrant"] .nav-link{color:#c6d3ff;min-height:43px;padding:0 13px;border-radius:10px;font-weight:700;font-size:12px;gap:11px}
html[data-ui-theme="vibrant"] .nav-link:hover{background:#ffffff17;color:#fff}
html[data-ui-theme="vibrant"] .nav-link.active{color:#173ac5;background:#fff;box-shadow:0 6px 22px #0b248d37}
html[data-ui-theme="vibrant"] .nav-link .nav-count,html[data-ui-theme="vibrant"] .nav-shortcut{color:#96b0f7}
html[data-ui-theme="vibrant"] .nav-link.active .nav-count,html[data-ui-theme="vibrant"] .nav-link.active .nav-shortcut{color:#4666c8}
html[data-ui-theme="vibrant"] .nav-more-toggle{background:transparent;border-color:#ffffff3a;color:#dfebff;min-height:43px;border-radius:10px;font-size:12px}
html[data-ui-theme="vibrant"] .nav-more-toggle:hover,html[data-ui-theme="vibrant"] .nav-more-toggle[aria-expanded="true"]{background:#ffffff1b;color:#fff;border-color:#ffffff56}
html[data-ui-theme="vibrant"] .sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#6389fc transparent}
html[data-ui-theme="vibrant"] .side-tip{background:linear-gradient(146deg,#ffffff17,#ffffff0d);border:1px solid #ffffff30;border-radius:15px;color:#fff;padding:16px}
html[data-ui-theme="vibrant"] .side-tip-icon{color:#ffbb92;margin-bottom:9px}
html[data-ui-theme="vibrant"] .side-tip b{font-size:12px;color:#fff}
html[data-ui-theme="vibrant"] .side-tip p{color:#bdccff;font-size:11px}
html[data-ui-theme="vibrant"] .side-tip a{color:#ffd8c5}
html[data-ui-theme="vibrant"] .sidebar-foot{color:#84a4f2}
html[data-ui-theme="vibrant"] .topbar{height:76px;background:#fff;border-bottom:1px solid #e8ecf4;padding:0 clamp(20px,2.6vw,42px);box-shadow:0 3px 14px #1e3c7205}
html[data-ui-theme="vibrant"] .crumb{color:#8894aa}
html[data-ui-theme="vibrant"] .crumb strong{color:#243354;font-size:12px}
html[data-ui-theme="vibrant"] .search-trigger{background:#f6f8fc;border-color:#e7ebf4;border-radius:10px;color:#7786a3}
html[data-ui-theme="vibrant"] .search-trigger kbd{background:#e9eefa;color:#63749f}
html[data-ui-theme="vibrant"] .local-badge{color:#73928e}
html[data-ui-theme="vibrant"] .theme-quick-control{color:#8491a8}
html[data-ui-theme="vibrant"] .theme-quick-control select{background:#f8faff;color:#2c448b;border:1px solid #e3e8f6}
html[data-ui-theme="vibrant"] .top-add,html[data-ui-theme="vibrant"] .btn:not(.secondary):not(.ghost):not(.soft):not(.danger){background:#f67544;border-color:#f67544;color:white;box-shadow:0 5px 15px #fa74442e}
html[data-ui-theme="vibrant"] .top-add:hover,html[data-ui-theme="vibrant"] .btn:not(.secondary):not(.ghost):not(.soft):not(.danger):hover{background:#eb6133;border-color:#eb6133}
html[data-ui-theme="vibrant"] .btn.secondary{background:white;color:#244ac6;border-color:#dbe4f4}
html[data-ui-theme="vibrant"] .btn.secondary:hover{background:#edf3ff}
html[data-ui-theme="vibrant"] .btn.ghost{color:#5d7194;border-color:#e3e9f4}
html[data-ui-theme="vibrant"] .avatar{background:#e7edff;color:#2648c3;box-shadow:0 0 0 1px #dce5fe}
html[data-ui-theme="vibrant"] .page{max-width:1600px;padding:30px clamp(20px,2.6vw,42px) 55px}
html[data-ui-theme="vibrant"] .eyebrow{color:#5473c1;letter-spacing:1.4px}
html[data-ui-theme="vibrant"] .page-header h1,html[data-ui-theme="vibrant"] .premium-page-title h1{color:#1b2645;letter-spacing:-1.55px}
html[data-ui-theme="vibrant"] .page-header p,html[data-ui-theme="vibrant"] .premium-page-title p{color:#7e89a0}
html[data-ui-theme="vibrant"] :is(.panel,.premium-ledger,.premium-focus-card,.project-card,.settings-card,.theme-settings){border-color:#e7ecf5;box-shadow:0 10px 30px #31477f07;border-radius:17px}
html[data-ui-theme="vibrant"] :is(.page-header,.premium-page-title){min-width:0}
html[data-ui-theme="vibrant"] .data-table thead{background:#f7f9ff}
html[data-ui-theme="vibrant"] .data-table th{color:#7282a5}
html[data-ui-theme="vibrant"] .data-table td{border-color:#edf0f7}
html[data-ui-theme="vibrant"] .data-table tbody tr:hover{background:#f7faff}
html[data-ui-theme="vibrant"] .cell-primary{color:#273858}
html[data-ui-theme="vibrant"] .mini-action{color:#224bc8;background:#fff;border-color:#dfe6f7}
html[data-ui-theme="vibrant"] .mini-action:hover{background:#eef3ff}
html[data-ui-theme="vibrant"] .tab.active,html[data-ui-theme="vibrant"] .tone-selector button.active{background:#eaf0ff;color:#2047c4;border-color:#cbd8fc}
html[data-ui-theme="vibrant"] .inline-search,html[data-ui-theme="vibrant"] .field :is(input,select,textarea){border-color:#dfe6f4;color:#273858}
html[data-ui-theme="vibrant"] .client-avatar,html[data-ui-theme="vibrant"] .empty-icon{background:#e9efff;color:#3157c9}
html[data-ui-theme="vibrant"] .help-banner{background:#eef3ff;border-color:#dce6fc;color:#38538b}
html[data-ui-theme="vibrant"] .help-banner b{color:#1b43ba}
html[data-ui-theme="vibrant"] .footer{border-color:#e6ecf5;color:#929fb6}
html[data-ui-theme="vibrant"] .toast{background:#2044bd}

/* The Option D owner overview: distinguish billed turnover, recorded receipts,
   receivables, taxes and estimated margin without presenting them as net profit. */
.option-d-overview .premium-hero,.option-d-overview .premium-capabilities,.option-d-overview .premium-metrics{display:none!important}
.option-d-overview .premium-page-title{order:0}
.option-d-overview .premium-context{order:1;margin-top:-14px}
.option-d-overview .owner-start-guide{order:2}
.option-d-overview .bold-deck{order:3}
.option-d-overview .owner-pharmacy-panel{order:4}
.option-d-overview .premium-section-head{order:5}
.option-d-overview .premium-focus-grid{order:6}
.option-d-overview .premium-ledger{order:7}
.option-d-overview .data-safety-callout{order:8}
.option-d-overview .premium-trust-note{order:9}
html[data-ui-theme="vibrant"] .option-d-overview{gap:22px}
html[data-ui-theme="vibrant"] .option-d-overview .premium-page-title{align-items:flex-end;margin-bottom:0}
html[data-ui-theme="vibrant"] .option-d-overview .premium-page-title h1{font-size:clamp(29px,3.1vw,43px);margin:7px 0 9px;line-height:1.13}
html[data-ui-theme="vibrant"] .premium-page-title-actions>.btn{min-height:42px}
.bold-deck{display:grid;gap:16px;min-width:0}
.bold-range-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bold-range{display:flex;gap:4px;flex-wrap:wrap;padding:4px;border-radius:11px;background:#edf1fb}
.bold-range button{border:0;border-radius:8px;background:transparent;padding:9px 15px;font-size:11px;font-weight:800;color:#6a7b9a;cursor:pointer}
.bold-range button.active{background:#fff;color:#2148c9;box-shadow:0 2px 9px #182e6d19}
.bold-hero-row{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(170px,.83fr) minmax(170px,.83fr);gap:14px}
.bold-sales-hero{position:relative;overflow:hidden;border-radius:19px;min-height:218px;padding:25px 28px;background:linear-gradient(120deg,#1d4bdc 0%,#244ce2 60%,#3866f2 100%);color:#fff;display:flex;align-items:stretch;justify-content:space-between;box-shadow:0 16px 35px #244bdc27}
.bold-sales-hero:after{content:"";position:absolute;right:-45px;top:-65px;height:245px;width:245px;border-radius:50%;border:1px solid #ffffff22;box-shadow:0 0 0 46px #ffffff08,0 0 0 100px #ffffff04;pointer-events:none}
.bold-sales-copy{position:relative;z-index:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.bold-sales-overline{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.2px;font-weight:800;color:#d2dfff}
.bold-sales-overline svg{width:16px;height:16px}
.bold-sales-copy>strong{font:800 clamp(31px,3.8vw,48px)/1.13 Manrope,sans-serif;letter-spacing:-1.7px;margin:17px 0 7px;overflow-wrap:anywhere}
.bold-sales-copy p{font-size:11px;color:#d7e2ff;line-height:1.5}
.bold-hero-action{display:flex;align-items:center;gap:8px;background:#fff;color:#214cd4;border-radius:9px;padding:9px 13px;font-size:11px;font-weight:850;margin-top:auto;min-height:37px;box-shadow:0 5px 13px #1637ab30}
.bold-hero-action svg{width:13px;height:13px}
.bold-hero-action:hover{background:#ffeadb;color:#1739bb}
.bold-mini-chart{display:flex;align-items:flex-end;gap:6px;align-self:flex-end;height:116px;width:26%;min-width:70px;margin:0 -2px 0 8px;position:relative;z-index:1}
.bold-mini-chart span{width:100%;min-height:8px;background:#ffffff45;border-radius:6px 6px 0 0}
.bold-mini-chart span.latest{background:#ffb98a}
.bold-side-metric{border:1px solid #e4eaf7;border-radius:19px;background:#fff;padding:23px 19px;min-width:0;display:flex;flex-direction:column;box-shadow:0 11px 30px #3047770c}
.bold-side-icon{height:41px;width:41px;display:grid;place-items:center;border-radius:13px;background:#e9f8f1;color:#1b9f70;margin-bottom:17px}
.bold-side-icon svg{width:19px;height:19px}
.bold-side-metric.pending .bold-side-icon{color:#e87e39;background:#fff0e6}
.bold-side-metric>small{font-size:9px;letter-spacing:1.15px;font-weight:850;color:#7b88a2}
.bold-side-metric>strong{font:800 clamp(23px,2.4vw,31px)/1.18 Manrope,sans-serif;letter-spacing:-1.3px;color:#193755;overflow-wrap:anywhere;margin:11px 0 8px}
.bold-side-metric.collected>strong{color:#17906c}
.bold-side-metric.pending>strong{color:#e47b35}
.bold-side-metric>p{font-size:10px;color:#8794a8;line-height:1.5;margin-top:auto}
.bold-lower-row{display:grid;grid-template-columns:minmax(0,1.17fr) minmax(0,1fr);gap:16px}
.bold-trend-card,.bold-shortcuts-card{border:1px solid #e5ebf6;background:#fff;border-radius:19px;padding:22px 24px;min-width:0;box-shadow:0 10px 28px #30477709}
.bold-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.bold-card-heading h2{font:800 18px/1.2 Manrope,sans-serif;color:#243151;letter-spacing:-.55px}
.bold-card-heading p{font-size:11px;color:#8b97af;margin-top:5px}
.bold-card-heading>a{display:flex;gap:5px;align-items:center;color:#244dcf;font-size:11px;font-weight:800;white-space:nowrap}
.bold-card-heading>a svg{height:13px;width:13px}
.bold-weekly-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;align-items:end;height:178px}
.bold-weekday{min-width:0;height:100%;display:flex;flex-direction:column;align-items:center;gap:8px}
.bold-weekday>small{font-size:9px;color:#8b99b2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bold-bar-rail{height:100%;max-height:118px;width:min(100%,42px);background:#edf3ff;border-radius:7px;display:flex;align-items:flex-end;overflow:hidden}
.bold-bar-rail span{display:block;width:100%;border-radius:7px 7px 0 0;background:linear-gradient(180deg,#5b84ff,#234dce)}
.bold-weekday>b{font-size:10px;color:#7181a3;font-weight:800;white-space:nowrap}
.bold-zero-note{color:#93a0b5;font-size:10px;margin-top:12px;line-height:1.5}
.bold-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.bold-action{display:flex;align-items:center;gap:11px;background:#f7f9ff;border:1px solid #edf0f8;padding:13px 11px;border-radius:13px;min-width:0;transition:transform .16s,border-color .16s}
.bold-action:hover{transform:translateY(-2px);border-color:#cad8fd}
.bold-action-icon{height:37px;width:37px;min-width:37px;border-radius:11px;display:grid;place-items:center;background:#fee7de;color:#eb7546}
.bold-action-icon svg{height:19px;width:19px}
.bold-action.blue .bold-action-icon{background:#e5edff;color:#315bd4}
.bold-action.mint .bold-action-icon{background:#e2f6ec;color:#119c71}
.bold-action.purple .bold-action-icon{background:#eeebff;color:#8057d5}
.bold-action>span:nth-child(2){display:grid;gap:3px;min-width:0}
.bold-action strong{color:#253353;font-size:11px;font-weight:850}
.bold-action small{font-size:9px;line-height:1.35;color:#90a0b4}
.bold-action>svg{height:13px;width:13px;color:#94a2bc;margin-left:auto;min-width:13px}
.bold-bottom-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bold-bottom-strip>span{display:flex;flex-direction:column;gap:6px;border:1px solid #e5eaf4;background:#fff;border-radius:14px;padding:16px;min-width:0}
.bold-bottom-strip b{font-size:9px;letter-spacing:.9px;color:#7f8ba4}
.bold-bottom-strip strong{font:800 clamp(16px,1.7vw,22px)/1.18 Manrope,sans-serif;color:#203c71;overflow-wrap:anywhere}
.bold-bottom-strip small{font-size:9px;line-height:1.4;color:#929db0}
html[data-ui-theme="vibrant"] .premium-section-head h2,html[data-ui-theme="vibrant"] .premium-ledger h2{color:#203155}
html[data-ui-theme="vibrant"] .premium-focus-card h3{color:#263451}
html[data-ui-theme="vibrant"] .premium-focus-icon{background:#edf2ff;color:#3158d3}
html[data-ui-theme="vibrant"] .premium-promise-card .premium-focus-icon{background:#f3efff;color:#8065c4}
html[data-ui-theme="vibrant"] .premium-focus-callout{background:#f2f5ff;color:#56719f}
html[data-ui-theme="vibrant"] .owner-pharmacy-panel{background:#fff9f3;border-color:#f6e3d4}

/* Industry workspaces: replace unrelated dark cards with one coherent surface. */
html[data-ui-theme="vibrant"] .business-page-head h1{color:#182844}
html[data-ui-theme="vibrant"] .business-page-head p{color:#7e8ca5}
html[data-ui-theme="vibrant"] .business-summary>div{background:#fff;border:1px solid #e3eaf6;border-radius:15px;box-shadow:0 9px 25px #243e7508}
html[data-ui-theme="vibrant"] .business-summary small{color:#7a8aa8}
html[data-ui-theme="vibrant"] .business-summary strong{color:#243eaa}
html[data-ui-theme="vibrant"] .business-summary span{color:#8896aa}
html[data-ui-theme="vibrant"] .business-summary .business-summary-warning{background:#fff7ed;border-color:#f5ddc3}
html[data-ui-theme="vibrant"] .business-summary .business-summary-warning strong{color:#c57b28}
html[data-ui-theme="vibrant"] .business-summary .business-summary-danger{background:#fff1f1;border-color:#f0d6d9}
html[data-ui-theme="vibrant"] .business-summary .business-summary-danger strong{color:#c94c58}
html[data-ui-theme="vibrant"] .business-panel{background:#fff;border:1px solid #e4eaf5;border-radius:18px;box-shadow:0 12px 30px #263e7409}
html[data-ui-theme="vibrant"] .business-panel-head h2{color:#263452}
html[data-ui-theme="vibrant"] .business-panel-head p{color:#8796b0}
html[data-ui-theme="vibrant"] .business-search{background:#f7f9fd;border-color:#e1e7f3;color:#7890af}
html[data-ui-theme="vibrant"] .business-search input{color:#273b60}
html[data-ui-theme="vibrant"] .business-search input::placeholder{color:#9aa8b9}
html[data-ui-theme="vibrant"] .business-contact{background:#f9faff;border-color:#e8edf7;border-radius:14px}
html[data-ui-theme="vibrant"] .business-avatar{background:#e9efff;border-color:#dbe4ff;color:#335bd5}
html[data-ui-theme="vibrant"] .business-contact-copy strong{color:#253657}
html[data-ui-theme="vibrant"] .business-contact-copy p{color:#697c9c}
html[data-ui-theme="vibrant"] .business-contact-copy small{color:#90a0b6}
html[data-ui-theme="vibrant"] .business-contact-copy .business-customer-balance{background:#e8f9f0;color:#158b63}
html[data-ui-theme="vibrant"] .business-card-actions button,html[data-ui-theme="vibrant"] .business-inline-tools button{background:#edf3ff;border-color:#d9e5fd;color:#284fd1}
html[data-ui-theme="vibrant"] .business-card-actions button:hover,html[data-ui-theme="vibrant"] .business-inline-tools button:hover{background:#dfe9ff;border-color:#b3c6ff}
html[data-ui-theme="vibrant"] .business-empty{background:#f9faff;border-color:#d7e2f6}
html[data-ui-theme="vibrant"] .business-empty-mark{background:#e8f0ff;border-color:#cbdafa;color:#2451cf}
html[data-ui-theme="vibrant"] .business-empty h3{color:#293955}
html[data-ui-theme="vibrant"] .business-empty p,html[data-ui-theme="vibrant"] .business-note,html[data-ui-theme="vibrant"] .business-modal-note{color:#8999b2}
html[data-ui-theme="vibrant"] .business-stock-head{color:#8496b2}
html[data-ui-theme="vibrant"] .business-stock-row{background:#f9faff;border-color:#e7edf7;color:#506380}
html[data-ui-theme="vibrant"] .business-stock-row>div:first-child strong,html[data-ui-theme="vibrant"] .business-stock-qty{color:#243653}
html[data-ui-theme="vibrant"] .business-stock-row small{color:#8192ac}
html[data-ui-theme="vibrant"] .biz-pill.good{background:#e2f8ee;color:#16835b}
html[data-ui-theme="vibrant"] .biz-pill.warn{background:#fff0dc;color:#a86918}
html[data-ui-theme="vibrant"] .biz-pill.danger{background:#ffebec;color:#c84f5c}
html[data-ui-theme="vibrant"] .business-import-guide{background:#edf4ff;border-color:#d9e5fa;color:#617ba2}
html[data-ui-theme="vibrant"] .business-import-guide strong{color:#224cc6}
html[data-ui-theme="vibrant"] .business-import-stat-grid>div,html[data-ui-theme="vibrant"] .business-import-preview{background:#f9fbff;border-color:#e1e8f5}
html[data-ui-theme="vibrant"] .business-import-stat-grid small,html[data-ui-theme="vibrant"] .business-import-preview>strong{color:#6680a6}
html[data-ui-theme="vibrant"] .business-import-stat-grid strong,html[data-ui-theme="vibrant"] .business-import-preview-row strong{color:#254ac4}
html[data-ui-theme="vibrant"] .business-import-preview-row{border-color:#e5ebf5}
html[data-ui-theme="vibrant"] .business-import-preview-row span,html[data-ui-theme="vibrant"] .business-import-preview>p{color:#8998ad}
html[data-ui-theme="vibrant"] .business-watch,html[data-ui-theme="vibrant"] .business-checklist p{background:#fafbff;border-color:#e8edf6}
html[data-ui-theme="vibrant"] .business-watch-icon{background:#fff0e8;color:#ce713a}
html[data-ui-theme="vibrant"] .business-watch strong,html[data-ui-theme="vibrant"] .business-checklist b{color:#243855}
html[data-ui-theme="vibrant"] .business-watch p,html[data-ui-theme="vibrant"] .business-checklist span,html[data-ui-theme="vibrant"] .business-muted{color:#8798b1}
html[data-ui-theme="vibrant"] .business-field span{color:#627a9b}
html[data-ui-theme="vibrant"] .business-field :is(input,textarea){background:#fbfcff;border-color:#dce5f2;color:#283958}
html[data-ui-theme="vibrant"] .business-field :is(input,textarea):focus{border-color:#6590e8;box-shadow:0 0 0 3px #e7efff}
html[data-ui-theme="vibrant"] .business-form-break{border-color:#e4ebf5}
html[data-ui-theme="vibrant"] .business-form-break strong{color:#293855}
html[data-ui-theme="vibrant"] .business-form-break p{color:#8a9ab1}

/* Invoice Studio shell only. PDF paper and template architecture are untouched. */
html[data-ui-theme="vibrant"] .studio-hero{background:linear-gradient(120deg,#edf3ff,#fff9f5);border:1px solid #dfe7f9;border-radius:18px}
html[data-ui-theme="vibrant"] .studio-hero h1{color:#233d92}
html[data-ui-theme="vibrant"] .studio-hero h1 em{color:#f17748}
html[data-ui-theme="vibrant"] .studio-hero p{color:#6e7f9d}
html[data-ui-theme="vibrant"] .studio-hero-card{border-color:#e0e8f7}
html[data-ui-theme="vibrant"] .studio-hero-card strong{color:#2446b7}
html[data-ui-theme="vibrant"] .studio-start,html[data-ui-theme="vibrant"] .studio-quick-bill{background:#fff;border-color:#e0e7f6}
html[data-ui-theme="vibrant"] .studio-quick-title h3{color:#243858}
html[data-ui-theme="vibrant"] .studio-quick-grid :is(input,select){border-color:#dbe5f5;color:#243858}
html[data-ui-theme="vibrant"] .studio-quick-customer{border-color:#e2eaf8}
html[data-ui-theme="vibrant"] .studio-quick-customer span{color:#6d80a2}
html[data-ui-theme="vibrant"] .studio-quick-customer select{border-color:#d5e1f5;color:#2b4a87}
html[data-ui-theme="vibrant"] .studio-quick-add button{background:#204dd2;border-color:#204dd2;color:#fff}
html[data-ui-theme="vibrant"] .studio-quick-add button:hover{background:#173dad}
html[data-ui-theme="vibrant"] .studio-quick-secondary{border-color:#e0e7f6}
html[data-ui-theme="vibrant"] .studio-quick-secondary>small{color:#7890b1}
html[data-ui-theme="vibrant"] .studio-seller-card{background:linear-gradient(110deg,#f2f5ff,#fff);border-color:#dee7f8}
html[data-ui-theme="vibrant"] .tax-chat-launch{background:#244cd3;border-color:#2348c9;box-shadow:0 10px 28px #1b42c240}
html[data-ui-theme="vibrant"] .voice-copilot{background:linear-gradient(120deg,#f4f7ff,#fff);border-color:#dce7fa}
html[data-ui-theme="vibrant"] .voice-glyph{background:linear-gradient(140deg,#2351d6,#6a8cfc)}
html[data-ui-theme="vibrant"] .voice-eyebrow{color:#567dca}
html[data-ui-theme="vibrant"] .voice-heading h3{color:#27395a}
html[data-ui-theme="vibrant"] .voice-live-pill{background:#e9f0ff;color:#325bd1}
html[data-ui-theme="vibrant"] .voice-language{color:#5878aa}
html[data-ui-theme="vibrant"] .voice-language select{border-color:#d5e0f4;color:#2a4682}
html[data-ui-theme="vibrant"] .voice-mic{background:#244dce;border-color:#244dce}
html[data-ui-theme="vibrant"] .voice-mic.listening{background:#be5546;border-color:#b9463a}
html[data-ui-theme="vibrant"] .voice-input-row button{background:#e5edff;color:#2552c9}
html[data-ui-theme="vibrant"] .voice-dialog{background:#ecf2ff}
html[data-ui-theme="vibrant"] .voice-dialog strong{color:#29498c}
html[data-ui-theme="vibrant"] :is(.studio-quick-bill,.studio-templates,.studio-editor,.studio-preview-panel,.studio-saved-panel){border-color:#e3e9f4;box-shadow:0 11px 28px #253f7909}
html[data-ui-theme="vibrant"] .studio-section-head h3{color:#233654}
html[data-ui-theme="vibrant"] .studio-view-switch button.active,html[data-ui-theme="vibrant"] .studio-steps button.active{background:#e8efff;color:#224ed0}
html[data-ui-theme="vibrant"] .studio-filters button.active{background:#e7efff;color:#224bc7;border-color:#cbdafb}
html[data-ui-theme="vibrant"] .template-tile.selected{background:#f0f5ff;border-color:#4169e4;box-shadow:0 4px 12px #3158c91e}
html[data-ui-theme="vibrant"] .template-tile.selected:after{background:#254ccc}
html[data-ui-theme="vibrant"] .studio-form-title>span{background:#e9f0ff;color:#2452c8}
html[data-ui-theme="vibrant"] .studio-field>span{color:#647b9e}
html[data-ui-theme="vibrant"] .studio-field :is(input,textarea,select){background:#fbfcff;border-color:#dfe6f3;color:#243a5f}
html[data-ui-theme="vibrant"] .studio-field :is(input,textarea,select):focus{border-color:#6592ed;box-shadow:0 0 0 3px #e6efff}
html[data-ui-theme="vibrant"] .studio-item{background:#fbfcff;border-color:#e4eaf5}
html[data-ui-theme="vibrant"] .studio-add-line{background:#eef3ff;border-color:#becdf8;color:#244dcc}
html[data-ui-theme="vibrant"] .studio-flow-bar{background:#f1f5ff;border-color:#dbe4f7}
html[data-ui-theme="vibrant"] .studio-flow-bar>div{color:#284477}
html[data-ui-theme="vibrant"] .studio-flow-bar>div span{color:#8193ad}
html[data-ui-theme="vibrant"] .studio-flow-bar .studio-field input{background:#fff;color:#213c75;border-color:#c6d5f5}
html[data-ui-theme="vibrant"] .studio-area-tabs{background:#eaf0fd;border-color:#dbe4f7}
html[data-ui-theme="vibrant"] .studio-area-tabs button{color:#657c9e}
html[data-ui-theme="vibrant"] .studio-area-tabs button.active{background:#fff;border-color:#d1dcf6;color:#204cc8;box-shadow:0 4px 11px #234ac011}
html[data-ui-theme="vibrant"] .studio-stock-picker{background:#eff4ff;border-color:#d8e3f8}
html[data-ui-theme="vibrant"] .studio-stock-picker select{background:#fff;color:#24447f;border-color:#d2dff6}
html[data-ui-theme="vibrant"] .studio-stock-picker small{color:#7290af}
html[data-ui-theme="vibrant"] .studio-paper-wrap{background:#eef1f7}

/* Reports, collections, shared expenses and appearance settings. */
html[data-ui-theme="vibrant"] .report-control-bar{background:#f0f4ff;border-color:#dee7fa}
html[data-ui-theme="vibrant"] .report-control-bar>span{color:#6980a3}
html[data-ui-theme="vibrant"] .report-periods button{border-color:#dce5f5;color:#526a93}
html[data-ui-theme="vibrant"] .report-periods button.active{background:#214ad5;color:#fff;border-color:#214ad5}
html[data-ui-theme="vibrant"] .report-tabs button,html[data-ui-theme="vibrant"] .report-stat,html[data-ui-theme="vibrant"] .report-panel{border-color:#e1e8f5}
html[data-ui-theme="vibrant"] .report-tabs b,html[data-ui-theme="vibrant"] .report-panel-head h3{color:#263958}
html[data-ui-theme="vibrant"] .report-tabs small{color:#8293b0}
html[data-ui-theme="vibrant"] .report-tabs button.active{background:#204bd8;border-color:#204bd8;box-shadow:0 10px 25px #244dcc26}
html[data-ui-theme="vibrant"] .report-tabs button.active b{color:#fff}
html[data-ui-theme="vibrant"] .report-tabs button.active small{color:#dbe5ff}
html[data-ui-theme="vibrant"] .report-stat small{color:#778cab}
html[data-ui-theme="vibrant"] .report-stat strong{color:#2549b5}
html[data-ui-theme="vibrant"] .report-stat.highlight{background:#eef3ff}
html[data-ui-theme="vibrant"] .report-stat.risk{background:#fff4ee}
html[data-ui-theme="vibrant"] .report-trend-track{background:#eff3fb}
html[data-ui-theme="vibrant"] .report-trend-track span{background:linear-gradient(#6490ff,#244bc8)}
html[data-ui-theme="vibrant"] .report-aging-tile{background:#f2f6ff}
html[data-ui-theme="vibrant"] .report-aging-tile strong{color:#244ec8}
html[data-ui-theme="vibrant"] .report-aging-tile.risk{background:#fff0e8}
html[data-ui-theme="vibrant"] .report-text-link{color:#254ed0}
html[data-ui-theme="vibrant"] .theme-choice.selected{background:#edf3ff;border-color:#2e55d4}
html[data-ui-theme="vibrant"] .theme-choice.selected strong:after{color:#234cd0}
html[data-ui-theme="vibrant"] .swatch-vibrant{background:#f8f9fd}
html[data-ui-theme="vibrant"] .swatch-vibrant i:first-child{background:#1e45ce}
html[data-ui-theme="vibrant"] .swatch-vibrant i:nth-child(2){background:#ffffff}
html[data-ui-theme="vibrant"] .swatch-vibrant i:nth-child(3){background:#fa794a}

/* Mobile / tablet: preserve all modules, collapse secondary controls gracefully. */
@media(max-width:1300px){
  html[data-ui-theme="vibrant"] .shell{grid-template-columns:224px minmax(0,1fr)}
  html[data-ui-theme="vibrant"] .sidebar{width:224px}
  .bold-hero-row{grid-template-columns:minmax(0,1.55fr) repeat(2,minmax(145px,.8fr))}
  .bold-sales-hero{padding:22px}
  .bold-action{padding:11px 8px;gap:7px}
  .bold-action-icon{width:32px;height:32px;min-width:32px}
}
@media(max-width:1100px){
  .bold-hero-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bold-sales-hero{grid-column:span 2;min-height:200px}
  .bold-mini-chart{width:23%}
  .bold-side-metric{min-height:162px}
  .bold-lower-row{grid-template-columns:1fr}
  .bold-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bold-action{flex-direction:column;align-items:flex-start;min-height:103px}
  .bold-action>svg{display:none}
}
@media(max-width:800px){
  html[data-ui-theme="vibrant"] .shell{display:block}
  html[data-ui-theme="vibrant"] .sidebar{width:272px;left:-290px;position:fixed}
  html[data-ui-theme="vibrant"] .sidebar.open{left:0}
  html[data-ui-theme="vibrant"] .topbar{height:69px;padding:0 17px}
  html[data-ui-theme="vibrant"] .page{padding:23px 17px 42px}
  html[data-ui-theme="vibrant"] .option-d-overview .premium-page-title{align-items:flex-start}
}
@media(max-width:650px){
  html[data-ui-theme="vibrant"] .topbar{gap:8px;padding:0 12px}
  html[data-ui-theme="vibrant"] .page{padding:19px 12px 35px}
  html[data-ui-theme="vibrant"] .top-add{font-size:0;gap:0;padding:0 10px;height:37px}
  html[data-ui-theme="vibrant"] .search-trigger{padding:0 9px}
  html[data-ui-theme="vibrant"] .theme-quick-control select{max-width:90px}
  html[data-ui-theme="vibrant"] .option-d-overview .premium-page-title{flex-direction:column;gap:15px}
  html[data-ui-theme="vibrant"] .option-d-overview .premium-page-title h1{font-size:29px}
  .bold-hero-row{gap:9px}
  .bold-sales-hero{padding:20px 18px;min-height:200px}
  .bold-sales-copy>strong{font-size:33px;letter-spacing:-1px}
  .bold-mini-chart{width:19%;min-width:48px;gap:3px}
  .bold-side-metric{padding:15px;min-height:149px;border-radius:14px}
  .bold-side-icon{width:35px;height:35px;margin-bottom:10px}
  .bold-side-metric>strong{font-size:23px}
  .bold-lower-row{gap:11px}
  .bold-trend-card,.bold-shortcuts-card{padding:18px 15px;border-radius:15px}
  .bold-weekly-chart{gap:5px;height:148px}
  .bold-weekday>small{font-size:8px}
  .bold-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .bold-action{min-height:105px;padding:12px}
  .bold-bottom-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .bold-bottom-strip>span{padding:13px 11px}
  .bold-bottom-strip strong{font-size:18px}
  .bold-range button{padding:8px 11px}
  .business-panel{overflow:hidden}
}
@media(max-width:390px){
  html[data-ui-theme="vibrant"] .crumb>span:first-child,html[data-ui-theme="vibrant"] .crumb>svg{display:none}
  .bold-mini-chart{display:none}
  .bold-side-metric>strong{font-size:20px}
  .bold-card-heading{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  .bold-action,.bold-hero-action,html[data-ui-theme="vibrant"] :is(.btn,.top-add,.nav-link){transition:none!important}
}
@media print{
  .bold-deck{display:none!important}
}
