/* Duescope / 2026.10 — restrained product design for real counters and offices.
   Overrides legacy presentation tokens without disturbing customer data or forms. */
:root{
  --ink:#1a3036;--muted:#77878c;--muted-dark:#50676e;--bg:#f4f6f5;
  --line:#e1e9e7;--green:#155f57;--green-light:#edf5f2;
  --lime:#d8e9e1;--shadow:0 12px 35px rgba(28,62,62,.045);
}
body{background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif}
.sidebar{background:#172f35;border-right:1px solid #28434a}
.brand-mark{background:#e2c393;color:#213a3e;border-radius:11px;box-shadow:inset 0 0 0 1px #c5a873}
.brand-dot{color:#e2c393}.brand-words small{color:#afc0bf;letter-spacing:1.35px}
.workspace-tag{background:#213a40;border-color:#315057;color:#bdcece;box-shadow:none}
.workspace-free{background:#325349;color:#e1eecf}.pulse-dot{background:#c3d9a4;box-shadow:0 0 0 3px #3a6551}
.nav-link{color:#c0ced0;font-size:12px;font-weight:600;letter-spacing:0}
.nav-link:hover{background:#29464b;color:#fff}.nav-link.active{background:#e9f2ee;color:#153d3a;box-shadow:none}
.nav-link.active .nav-count,.nav-link.active .nav-shortcut{color:#49756a}
.nav-count,.nav-shortcut{color:#8da6ac}.nav-caption{color:#8eaaae}
.side-tip{background:#234048;border-color:#34555c}.side-tip-icon,.side-tip a{color:#dbd6b1}
.side-tip b{color:#f3f7f5}.side-tip p{color:#a8bec2}
.topbar{height:72px;border-bottom:1px solid #e8efec}.top-add,.btn{border-radius:10px;background:#155f57;border-color:#155f57;box-shadow:none}
.top-add:hover,.btn:hover{background:#104a45;border-color:#104a45}.btn.secondary{background:#fff;border-color:#dce7e3;color:#24514e}
.btn.secondary:hover{background:#eff6f3;border-color:#bcd7cc}
.avatar{background:#e9e5d6;color:#40564e;box-shadow:none}.search-trigger{background:#f8faf9;border-color:#e1e8e5;color:#657b7b}
.search-trigger kbd{background:#edf1f0}.local-badge{color:#557970}
.page{max-width:1550px}.eyebrow{color:#567e77;letter-spacing:1.35px}
.premium-page{gap:24px}.premium-page-title{order:0}.premium-hero{order:1}.premium-context{order:2}
.business-launch-grid{order:3}.premium-metrics{order:4}.premium-section-head{order:5}
.premium-focus-grid{order:6}.premium-ledger{order:7}.premium-capabilities{order:8}.premium-trust-note{order:9}
.premium-page-title h1,.page-header h1{color:#183339;letter-spacing:-.047em}
.premium-page-title h1 .period{color:#c19562}.premium-page-title p{color:#6d8085}
.premium-hero{grid-template-columns:1fr;min-height:218px;padding:35px 42px;border-radius:17px;
  background:linear-gradient(118deg,#e4eee9 0%,#eef4f0 72%,#fbf8f2 100%);
  border:1px solid #d2e0da;box-shadow:none;color:#153f40}
.premium-hero:before{display:none}.premium-hero-side{display:none}
.premium-live-marker{color:#527a72;font-weight:800;letter-spacing:1.2px;margin-bottom:10px}
.premium-live-marker span{background:#4b9685;box-shadow:0 0 0 4px #4b968522}
.premium-hero h2{color:#193f3e;font-size:clamp(28px,3vw,41px);max-width:680px}
.premium-hero h2 em{color:#387a68}.premium-hero p{color:#5b7a75;max-width:650px;font-size:13px}
.premium-hero .btn{background:#155f57;color:#fff;border-color:#155f57}
.premium-hero .btn.soft{background:#ffffffbb;color:#22574e;border:1px solid #bcd5c9}
.premium-context{color:#7c8c88}
.business-launch-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:12px}
.business-launch-card{min-height:117px;padding:21px;background:#fff;border:1px solid #dfe8e5;border-radius:15px;
  color:#244349;box-shadow:0 6px 25px #26484509;transition:transform .16s,border-color .16s,box-shadow .16s}
.business-launch-card:hover{background:#fafffd;border-color:#93bfb1;box-shadow:0 14px 27px #183d3815;transform:translateY(-2px)}
.business-launch-icon{background:#edf5f2;color:#277b6a;border-radius:11px}
.business-launch-card small{color:#64877f;letter-spacing:1.05px;font-size:9px}
.business-launch-card strong{font-size:15px;color:#233d42}.business-launch-card em{color:#7e8d8d}
.business-launch-card>svg{color:#8ca9a3}
.premium-metric,.premium-focus-card,.premium-capabilities,.premium-ledger{border-color:#e0e9e5;box-shadow:none;border-radius:15px}
.premium-metric{min-height:133px}.premium-metric:after{height:3px;background:#d9eae2!important}
.premium-metric:first-child:after{background:#6bb39f!important}.premium-metric.is-risk:after{background:#e4a7a0!important}
.metric-symbol,.premium-focus-icon,.premium-capability>span{background:#edf5f2;color:#397d6f}
.premium-metric strong,.premium-section-head h2,.premium-ledger-head h2,.premium-capabilities h2{color:#203d42}
.premium-focus-card{min-height:235px}.premium-capability b{color:#264d4c}
.panel,.studio-templates,.studio-editor,.studio-preview-panel,.studio-saved-panel{border-color:#e1e9e6;box-shadow:none}
.business-page-head h1,.business-panel-head h2,.business-empty h3{color:#193d43}
.business-page-head p,.business-panel-head p,.business-note,.business-modal-note{color:#778e8d}
.business-summary>div,.business-panel,.business-contact,.business-empty,.business-stock-row,.business-watch,.business-checklist p{background:#fff;border:1px solid #dfe9e5;color:#24434a;box-shadow:none}
.business-summary strong,.business-stock-qty,.business-contact-copy strong,.business-stock-row>div:first-child strong,.business-watch strong,.business-checklist b{color:#204446}
.business-summary small,.business-contact-copy p,.business-contact-copy small,.business-stock-row small,.business-watch p,.business-checklist span{color:#708b8a}
.business-summary .business-summary-warning{background:#fffbf5;border-color:#f2e7d3}
.business-summary .business-summary-danger{background:#fff8f7;border-color:#f1dddb}
.business-search,.studio-flow-bar,.studio-area-tabs,.studio-stock-picker{background:#f7faf8;border:1px solid #e0e9e5;color:#325652}
.business-search input,.studio-stock-picker select{background:#fff;border-color:#d8e5df;color:#1f4240}
.business-search input::placeholder{color:#9aaca9}.business-avatar{background:#eaf3ef;color:#2f7e6d;border-color:#d2e6dc}
.business-card-actions button,.business-inline-tools button{background:#f0f6f3;border-color:#d9e8e1;color:#296b5d}
.business-empty-mark,.business-watch-icon{background:#edf5f1;color:#297562;border-color:#d7e8dd}
.business-muted{color:#7d918b}.business-stock-head{color:#738a85}
.biz-pill.good{background:#e7f5ed;color:#206849}.biz-pill.warn{background:#fff2de;color:#896031}.biz-pill.danger{background:#ffebec;color:#b1444e}
.business-field span,.business-form-break strong{color:#2e5e59}
.business-field input,.business-field textarea{background:#fff;border-color:#d5e4dc;color:#203f42}
.business-form-break{border-color:#e2ebe7}.business-form-break p{color:#78908a}
.studio-hero{background:linear-gradient(105deg,#e9f2ee,#fbfcfa);border-color:#dce8e1;border-radius:17px}
.studio-hero h1{color:#1c4340}.studio-hero h1 em{color:#428b75}.studio-hero p{color:#65877d}
.studio-hero{padding:22px 27px;margin-bottom:12px}.studio-hero h1{font-size:clamp(25px,2.25vw,31px);margin:4px 0}
.studio-hero-card{padding:14px 20px;min-width:185px;border-radius:12px;box-shadow:none}
.studio-hero-card strong{font-size:22px}.studio-hero-card small{margin-top:2px}
.studio-head-actions{margin-bottom:12px}.studio-actions .btn{padding:10px 13px}
.studio-start,.studio-quick-bill{box-shadow:none;border-color:#dce8e2;border-radius:15px}
.studio-quick-bill{background:#f5faf7}.studio-quick-title h3{color:#214b45}
.studio-quick-grid :is(input,select){background:#fff;border-color:#d4e5db}
.studio-flow-bar{padding:18px 22px;border-radius:14px}
.studio-flow-bar{margin:11px 0}.studio-flow-bar>div{max-width:520px}
.studio-flow-bar .studio-field input{background:#fff;color:#183e3c;border-color:#c9ded5}
.studio-flow-bar>div{color:#325650}.studio-flow-bar>div span{color:#718f86}
.studio-area-tabs{background:#fff;border-radius:13px;padding:7px}
.studio-area-tabs button{color:#5f8179;border-radius:9px}.studio-area-tabs button.active{background:#e6f1eb;color:#235e52;border-color:#c9e0d4;box-shadow:none}
.studio-view-switch button.active,.studio-steps button.active,.studio-filters button.active{background:#e7f1eb;color:#1f6558;border-color:#cce2d5}
.studio-quick-customer{display:flex;align-items:center;gap:14px;justify-content:space-between;border-top:1px solid #d9e7de;padding-top:14px;margin-top:13px}
.studio-quick-customer span{font-size:11px;color:#58786e;font-weight:650}
.studio-quick-customer select{min-width:210px;max-width:65%;padding:11px 12px;border:1px solid #cfe1d7;border-radius:10px;color:#28544b;background:#fff}
.studio-fast-stock{display:grid;grid-template-columns:1fr minmax(150px,1.2fr) auto;gap:11px;align-items:center;
  border:1px solid #dce7e0;border-radius:12px;background:#f5faf6;padding:14px;margin:0 0 17px}
.studio-fast-stock>div{display:flex;flex-direction:column;gap:3px}.studio-fast-stock strong{color:#2a6056;font-size:12px}
.studio-fast-stock span{font-size:10px;color:#78918b}
.studio-fast-stock input{min-width:0;border:1px solid #cee0d5;border-radius:9px;background:#fff;color:#1b4840;padding:12px}
.studio-fast-stock button{border:0;border-radius:9px;background:#1d675a;color:#fff;padding:12px 16px;cursor:pointer;font-weight:750;font-size:11px}
.studio-stock-picker{background:#f5faf7}.studio-stock-picker small{color:#64857c}
.studio-field>span{color:#4d746b}.studio-field input,.studio-field select,.studio-field textarea{background:#fff;color:#25453f;border-color:#d8e7df}
.template-tile.selected{border-color:#448b78;background:#f2f8f4;box-shadow:none}.studio-template-grid{gap:12px}
.template-tile{box-shadow:none}.template-tile strong{color:#264f47}
.studio-paper-wrap{background:#eef2ef}.studio-preview-head strong{color:#31544c}
.studio-quick-add button,.studio-add-line{background:#17675b;border-color:#17675b;color:#fff}
.studio-quick-add button:hover,.studio-add-line:hover{background:#0d554a}
.footer{color:#8d9b97}.toast{max-width:min(560px,calc(100vw - 24px))}

/* Distinct print document personalities — no platform brand on customer stationery. */
.invoice-v7{font-family:'DM Sans',Arial,sans-serif;color:#22383c;border-color:#e5e9e7;box-shadow:none;border-radius:3px}
.invoice-v7 h2,.invoice-v7 h3{color:#1c3139}
.invoice-v7 .invoice-title span{letter-spacing:-.9px;font-size:23px}
.invoice-v7 .invoice-table th{font-size:8px;letter-spacing:.45px}
.invoice-v7 .invoice-table td{padding-top:11px;padding-bottom:11px}
.invoice-v7 .invoice-grand{border-radius:0}
.invoice-total-words{display:block!important;background:#f7faf8;border-top:1px solid #e5ece7;padding:12px!important}
.invoice-total-words span{display:block;font-size:8px;font-weight:800;letter-spacing:.7px;color:#718980}
.invoice-total-words b{display:block;margin-top:5px;white-space:normal!important;color:#244940;font-size:10px;line-height:1.55}
.invoice-paid,.invoice-balance{border-top:1px solid #e3ebe7}.invoice-balance{background:#fbf7ed}
.invoice-balance.fully-paid{background:#eaf6ef;color:#186849}.invoice-balance strong{font-size:12px}
.invoice-v7.theme-minimal .invoice-table th{background:#edf4f1;color:#235649;border-bottom:2px solid #28765e}
.invoice-v7.theme-minimal .invoice-refs{background:#f8faf9;border-radius:0}
.invoice-v7.theme-executive .invoice-header{background:#1e3544;padding:25px 22px;border-bottom:5px solid #afc6c1;margin:-32px -31px 20px;color:#fff}
.invoice-v7.theme-executive .invoice-header h2,.invoice-v7.theme-executive .invoice-header p,.invoice-v7.theme-executive .invoice-title span,.invoice-v7.theme-executive .invoice-title b{color:#fff}
.invoice-v7.theme-executive .invoice-refs{background:#edf2f4}.invoice-v7.theme-executive .invoice-table th{background:#273e4d}
.invoice-v7.theme-ledger{font-family:Georgia,'Times New Roman',serif;border:2px solid #c9b9a3}
.invoice-v7.theme-ledger .invoice-header{border-bottom:double 4px #806f58}
.invoice-v7.theme-ledger .invoice-table th{background:#f0eae0;color:#493c2e;border-top:1px solid #b8a88e;border-bottom:2px solid #b8a88e}
.invoice-v7.theme-ledger .invoice-table tbody tr:nth-child(even){background:#f9f6f0}
.invoice-v7.theme-midnight .invoice-header{background:#171f29;padding:25px;margin:-32px -31px 19px;border-bottom:4px solid #b6a07d}
.invoice-v7.theme-midnight .invoice-header h2,.invoice-v7.theme-midnight .invoice-header p,.invoice-v7.theme-midnight .invoice-title span,.invoice-v7.theme-midnight .invoice-title b{color:#f0ece3}
.invoice-v7.theme-midnight .invoice-table th{background:#242d37;color:#e9e6df}
.invoice-v7.theme-emerald{border-left:6px solid #146d5d}
.invoice-v7.theme-emerald .invoice-header{border-bottom:1px solid #b6d9c9}
.invoice-v7.theme-emerald .invoice-table th{background:#135d51}
.invoice-v7.theme-mono{font-family:Arial,sans-serif;--invoice-accent:#232e32!important;border-radius:0}
.invoice-v7.theme-mono .invoice-refs{background:#f2f2f2;border:1px solid #c9d2d4}
.invoice-v7.theme-mono .invoice-table th{background:#272b2e}.invoice-v7.theme-mono .invoice-parties>div{border-radius:0}
.invoice-v7.theme-modern .invoice-header{border-bottom-width:7px;border-image:linear-gradient(90deg,#2b777c,#b2dcd0) 1}
.invoice-v7.theme-modern .invoice-table th{background:#2b6168}
.invoice-v7.theme-receipt{max-width:530px;min-height:600px;margin:auto;font-family:'DM Sans',Arial,sans-serif;border:1px dashed #afbdb9}
.invoice-v7.theme-receipt .invoice-header{border-bottom:2px dashed #617671}
.invoice-v7.theme-receipt .invoice-table th{background:#e9eeea;color:#2e4540}
.invoice-v7.theme-receipt .invoice-refs{grid-template-columns:repeat(2,1fr);background:#fff;border-block:1px dashed #cad4d0}
.invoice-v7.theme-peach .invoice-header{border-bottom-color:#d48866}.invoice-v7.theme-peach .invoice-table th{background:#a85d48}
.invoice-v7.theme-peach .invoice-refs{background:#fff3eb}
.invoice-v7.theme-lavender .invoice-header{border-bottom-color:#8575ac}.invoice-v7.theme-lavender .invoice-table th{background:#65578b}
.invoice-v7.theme-lavender .invoice-refs{background:#f5f2fa}
.invoice-v7.theme-editorial{font-family:Georgia,serif}
.invoice-v7.theme-editorial .invoice-title span{font-size:32px;font-weight:400;font-style:italic}
.invoice-v7.theme-editorial .invoice-header{border-bottom:1px solid #9b8b76}
.invoice-v7.theme-editorial .invoice-table th{background:#eeeae4;color:#493e33}
.invoice-v7.theme-studio .invoice-header{border-bottom-width:10px;border-color:#c8616d}
.invoice-v7.theme-studio .invoice-table th{background:#ac4d5c}.invoice-v7.theme-studio .invoice-refs{background:#fff1f2}
.invoice-v7.theme-clinic .invoice-med-header{border-bottom-color:#4d8aa9}.invoice-v7.theme-clinic .invoice-med-table th{background:#346d8d}
.invoice-v7.theme-pharmacy .invoice-med-header{border-bottom-color:#1a8065}.invoice-v7.theme-pharmacy .invoice-med-table th{background:#216957}
.invoice-v7.theme-lab .invoice-med-header{border-bottom-color:#3b96a2}.invoice-v7.theme-lab .invoice-med-table th{background:#216f81}
.invoice-v7.theme-dental .invoice-med-header{border-bottom-color:#5b9a8b}.invoice-v7.theme-dental .invoice-med-table th{background:#417e75}
.invoice-v7.theme-hospital .invoice-med-header{border-bottom-color:#364f7b}.invoice-v7.theme-hospital .invoice-med-table th{background:#263c63}
.invoice-v7.theme-optical .invoice-med-header{border-bottom-color:#8478ac}.invoice-v7.theme-optical .invoice-med-table th{background:#6d6094}
.invoice-v7 .invoice-table tbody tr{break-inside:avoid;page-break-inside:avoid}
.invoice-v7 .invoice-refs,.invoice-v7 .invoice-parties,.invoice-v7 .invoice-patient{break-inside:avoid;page-break-inside:avoid}
.invoice-v7 .invoice-footer-block{break-inside:avoid;page-break-inside:avoid}
.data-safety-callout{display:flex;align-items:center;gap:15px;margin:24px 0 12px;padding:18px 21px;border:1px solid #d7e4db;border-radius:17px;background:linear-gradient(110deg,#f2f8f2,#fff);color:#28493e}
.data-safety-callout>span{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e1f0e5;flex:none}
.data-safety-callout svg{width:21px;height:21px}.data-safety-callout>div{flex:1;min-width:0}
.data-safety-callout strong{font-size:14px;letter-spacing:-.15px}.data-safety-callout p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#617b70}
.data-safety-callout .btn{flex:none}
.studio-recurring-panel{margin:23px 0;padding:23px 25px;border:1px solid #e0e9e3;border-radius:20px;background:#f6faf7;color:#244b3d}
.studio-recurring-panel h3{margin:5px 0;font-size:21px;letter-spacing:-.65px}.studio-recurring-panel p{margin:0;max-width:740px;color:#637b70;font-size:13px;line-height:1.55}
.studio-recurring-list{display:grid;gap:10px;margin-top:18px}.studio-recurring-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;background:white;border:1px solid #e4ebe5;border-radius:12px}
.studio-recurring-row>span{display:grid;gap:5px}.studio-recurring-row strong{font-size:13px}.studio-recurring-row small{font-size:11px;color:#6a8175}.studio-recurring-row>div{display:flex;flex-wrap:wrap;gap:7px}
.studio-recurring-row button{padding:8px 12px;border:1px solid #c9dfd0;border-radius:8px;background:white;color:#28594b;font:inherit;font-weight:700;font-size:11px;cursor:pointer}
.studio-recurring-row button:first-child{background:#22644e;color:white;border-color:#22644e}
.studio-recurring-empty{font-size:13px;color:#728a7c;padding-top:15px}.studio-recurring-tag{padding:7px 11px;background:#e7f4eb;color:#28714f;border-radius:8px;font-size:11px;font-weight:700}
.business-movement-panel{margin-top:19px}.business-movement-list{display:grid;gap:0}
.business-movement-list>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #e8ede8}
.business-movement-list>div:last-child{border-bottom:0}.business-movement-list>div>span:first-child{display:grid;gap:4px}
.business-movement-list strong{font-size:13px;color:#243e35}.business-movement-list small{font-size:11px;color:#70877c}
.business-movement-list .is-in,.business-movement-list .is-out{font-size:13px;font-weight:800;white-space:nowrap}
.business-movement-list .is-in{color:#28744e}.business-movement-list .is-out{color:#b15b43}
.studio-quick-grid>.studio-field:first-child{position:relative;z-index:10}
.studio-customer-hints[hidden],.studio-customer-hints:empty{display:none!important}
.studio-customer-hints:not([hidden]):not(:empty){position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:40;display:grid;max-height:225px;overflow-y:auto;border:1px solid #c6dcd2;border-radius:13px;padding:5px;background:#fff;box-shadow:0 15px 35px rgba(24,59,48,.2)}
.studio-customer-hints button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;width:100%;padding:11px 12px;border:0;border-radius:9px;background:transparent;color:#1c4537;font:inherit;cursor:pointer}
.studio-customer-hints button:hover,.studio-customer-hints button:focus-visible{background:#ebf6ef;outline-color:#357e60}
.studio-customer-hints strong{font-size:13px;font-weight:750}.studio-customer-hints small{font-size:11px;color:#6a8075}
.tax-chat-shell{position:fixed;right:26px;bottom:23px;z-index:990;display:grid;justify-items:end;gap:12px;font-family:'DM Sans',Arial,sans-serif;color:#203d32}
.tax-chat-launch{order:2;display:flex;align-items:center;gap:9px;padding:10px 14px 10px 9px;border:1px solid #12533e;border-radius:99px;background:#174f3c;color:#fff;box-shadow:0 9px 32px #1b473a3e;cursor:pointer;font-size:13px;font-weight:800}
.tax-chat-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#1d6147;background:#d4f3d9;font-family:Georgia,serif;font-size:17px}
.tax-chat-launch small{font-size:10px;font-weight:800;background:#ffffff2b;border:1px solid #ffffff34;border-radius:99px;padding:4px 7px;white-space:nowrap}
.tax-chat-launch small.has-warnings{background:#ffedd1;color:#79480f;border-color:#ffedd1}
.tax-chat-panel{order:1;display:flex;flex-direction:column;width:min(395px,calc(100vw - 28px));height:min(585px,calc(100dvh - 120px));border:1px solid #d7e8dd;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 20px 70px #143e3540}
.tax-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 19px;background:linear-gradient(110deg,#164b39,#286b51);color:white}
.tax-chat-head>div{display:grid;gap:3px}.tax-chat-head small{font-size:9px;letter-spacing:2px;color:#b1e9ce;font-weight:800}
.tax-chat-head strong{font-size:18px;letter-spacing:-.5px}.tax-chat-head button{width:30px;height:30px;border:1px solid #ffffff77;border-radius:50%;background:#ffffff1b;color:#fff;cursor:pointer;font-size:22px;line-height:1}
.tax-chat-fine{margin:0;padding:10px 17px;font-size:11px;line-height:1.5;color:#587366;background:#f1f8f3;border-bottom:1px solid #dfeee4}
.tax-chat-messages{display:flex;flex:1;flex-direction:column;gap:10px;overflow-y:auto;padding:15px 14px;background:#fafcfb;overscroll-behavior:contain}
.tax-chat-msg{max-width:94%;width:fit-content;margin:0;padding:11px 12px;border-radius:13px 13px 13px 3px;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;background:#eef4ef;color:#365348;border:1px solid #e0e9e2}
.tax-chat-msg.from-user{align-self:flex-end;background:#1c6149;color:#fff;border-color:#1c6149;border-radius:13px 13px 3px 13px}
.tax-chat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 13px 6px;background:white}
.tax-chat-chips button{border:1px solid #d2e2d5;border-radius:99px;background:#f5f9f5;padding:7px 9px;font:inherit;font-size:10px;font-weight:700;color:#2b654e;cursor:pointer}
.tax-chat-chips button:hover,.tax-chat-chips button:focus-visible{background:#e1f1e6}
.tax-chat-write{display:flex;gap:7px;padding:9px 12px;background:#fff}.tax-chat-write input{flex:1;min-width:0;padding:11px 12px;border:1px solid #ccdcd1;border-radius:10px;font:inherit;font-size:12px;color:#244638}
.tax-chat-write input:focus-visible{outline:2px solid #6cb990}.tax-chat-write button{padding:0 15px;border:none;border-radius:10px;background:#23664e;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.tax-chat-footer{display:block;padding:0 13px 10px;color:#899b8f;font-size:9px;background:#fff}

@media(max-width:1250px){.business-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.business-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-hero{padding:28px}.studio-fast-stock{grid-template-columns:1fr auto}.studio-fast-stock>div{grid-column:1/-1}}
@media(max-width:620px){
  .tax-chat-shell{right:9px;bottom:12px;z-index:995}.tax-chat-panel{max-width:calc(100vw - 18px);height:min(585px,calc(100dvh - 99px))}
  .data-safety-callout{flex-wrap:wrap;padding:16px}.data-safety-callout .btn{width:100%}
  .studio-recurring-panel{padding:18px 16px}.studio-recurring-row{align-items:stretch;flex-direction:column}.studio-recurring-row>div button{flex:1}
  .page{padding:18px 14px 35px}.premium-hero{padding:25px 22px}.premium-hero h2{font-size:30px}
  .business-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.business-launch-card{min-height:120px;padding:14px}
  .business-launch-card strong{font-size:13px}.premium-page-title h1{font-size:33px}
  .studio-quick-customer{align-items:stretch;flex-direction:column;gap:8px}.studio-quick-customer select{max-width:none;width:100%}
  .studio-fast-stock{grid-template-columns:1fr}.studio-fast-stock>div{grid-column:auto}
  .studio-fast-stock button{width:100%}.studio-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-quick-grid .studio-field input,.studio-quick-grid .studio-field select{font-size:16px}
}
@media print{
  .tax-chat-shell{display:none!important}
  body{background:#fff!important}.invoice-v7{border:0!important;box-shadow:none!important}
  #duescope-print-root .invoice-v7.theme-executive .invoice-header,#duescope-print-root .invoice-v7.theme-midnight .invoice-header{margin:0 0 18px}
  #duescope-print-root .invoice-table tr{page-break-inside:avoid}
  .studio-fast-stock,.studio-quick-customer{display:none!important}
}

/* Business identity: a single master profile instead of repeated invoice-level setup. */
.settings-grid:has(.profile-card){grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);align-items:start}
.profile-card{grid-row:span 3;padding:30px!important;border:1px solid #dce8e0;box-shadow:0 14px 38px #1438280d}
.profile-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:26px}
.profile-card-heading h3{font-size:27px;letter-spacing:-1px;margin:7px 0 6px}.profile-card-heading p{max-width:570px;font-size:12px;color:#718679;line-height:1.6}
.profile-status{padding:6px 11px;border-radius:50px;background:#e5f5eb;color:#236647;font-size:10px;font-weight:900;white-space:nowrap}
.profile-status.needed{background:#fff2da;color:#916019}
.profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 19px}
.profile-form-grid>.full{grid-column:1/-1}.profile-form-grid .field{min-width:0;margin:0}.profile-form-grid .field label{font-size:10px;letter-spacing:.7px;font-weight:800;color:#506a5d;display:block;margin-bottom:7px}
.profile-form-grid input,.profile-form-grid select,.profile-form-grid textarea{width:100%;border:1px solid #d8e3db;background:#fff;color:#243c31;border-radius:11px;padding:12px 13px;font-size:13px;min-height:44px;line-height:1.4}
.profile-form-grid textarea{min-height:80px;resize:vertical}.profile-form-grid input:focus,.profile-form-grid select:focus,.profile-form-grid textarea:focus{border-color:#2b805c;outline:3px solid #d5efe0}
.profile-form-grid .field small{font-size:10px;color:#829588}.profile-form-grid input[type=file]{font-size:11px;padding:10px}
.profile-subheading{border-top:1px solid #e8eee9;margin:27px 0 20px;padding-top:22px}.profile-subheading h4{font-size:18px;letter-spacing:-.5px;margin:5px 0 3px}.profile-subheading p{color:#7f9187;font-size:11px}
.profile-save-bar{margin-top:26px;padding:17px;border-radius:14px;background:#f0f7f1;display:flex;justify-content:space-between;align-items:center;gap:16px}
.profile-save-bar p{display:flex;gap:8px;align-items:center;font-size:11px;color:#537660;line-height:1.5}.profile-save-bar svg{width:20px;height:20px}
.profile-logo-preview{display:flex;align-items:center;gap:10px;font-size:11px;color:#6f8779;margin:12px 0}.profile-logo-preview img{width:44px;height:44px;object-fit:contain;border:1px solid #dfe8e0;border-radius:9px;background:#fff}
.onboarding-modal{width:min(95vw,760px)}.onboarding-modal .modal-head{background:linear-gradient(128deg,#f7faf5,#ecf7ed)}.onboarding-modal .modal-head h2{font-size:30px;letter-spacing:-1.2px;margin:5px 0}.onboarding-modal .modal-head p{font-size:12px;line-height:1.6;max-width:520px}
.profile-onboarding-note{display:flex;gap:9px;background:#e8f5ea;color:#246346;border-radius:11px;padding:11px 13px;margin-bottom:21px;font-size:11px;font-weight:650}.profile-onboarding-note svg{width:17px;height:17px}
.studio-seller-card{display:flex;align-items:center;gap:18px;padding:18px 23px;border:1px solid #d8e9de;border-radius:18px;background:linear-gradient(110deg,#f4faf4,#fff);margin:16px 0 24px;box-shadow:0 7px 26px #1b60450a}
.studio-seller-mark{width:53px;height:53px;flex:0 0 53px;border-radius:13px;display:grid;place-items:center;background:#174f3b;color:#fff;font-size:15px;font-weight:900}.studio-seller-mark img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:9px}
.studio-seller-content{min-width:0;flex:1}.studio-seller-content .eyebrow{font-size:9px;letter-spacing:1.1px;color:#55836a}.studio-seller-content h3{margin:4px 0;font-size:19px;line-height:1.3}.studio-seller-content p{color:#6b8274;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.studio-seller-edit{padding:11px 13px;border:1px solid #bed6c5;border-radius:10px;color:#205e42;background:#fff;font-size:11px;font-weight:900;white-space:nowrap}.studio-seller-edit:hover{background:#e7f3e9}
.studio-seller-summary{margin:19px 0;padding:18px;border:1px solid #dcebe1;background:#f8fbf8;border-radius:12px}.studio-seller-summary strong{display:block;font-size:17px;margin-bottom:9px}.studio-seller-summary p{font-size:12px;color:#567263;margin-top:5px;overflow-wrap:anywhere}.studio-identity-actions{display:flex;flex-wrap:wrap;gap:9px}
@media(max-width:1000px){.settings-grid:has(.profile-card){grid-template-columns:1fr}.profile-card{grid-row:auto}}
@media(max-width:620px){.profile-card{padding:18px!important}.profile-card-heading{flex-direction:column}.profile-form-grid{grid-template-columns:1fr}.profile-form-grid>.full{grid-column:auto}.profile-save-bar{flex-direction:column;align-items:stretch}.profile-save-bar .btn{width:100%}.studio-seller-card{padding:15px;gap:12px;flex-wrap:wrap}.studio-seller-edit{width:100%}.studio-seller-mark{width:42px;height:42px;flex-basis:42px}.studio-seller-content h3{font-size:16px}.onboarding-modal .modal-head h2{font-size:23px}}

/* Quiet operational polish: the imports remain legible and confidence-building for shop owners. */
.business-import-guide{background:linear-gradient(120deg,#eaf4ee,#f7fbf7);border-color:#d2e6d8;color:#536f61}
.business-import-guide strong{color:#205a40}
.business-import-stat-grid>div{background:#f4f9f5;border-color:#dceae1}
.business-import-stat-grid small{color:#708d7a}
.business-import-stat-grid strong{color:#173d30}
.business-import-preview{background:#fcfefb;border-color:#dce8e0}
.business-import-preview>strong{color:#295842}
.business-import-preview-row{border-bottom-color:#edf2ec}
.business-import-preview-row strong{color:#254433}
.business-import-preview-row span,.business-import-preview>p{color:#729080}
.business-stock-row:hover,.business-contact:hover{border-color:#c2d9c9;box-shadow:0 8px 23px #285a3610;transform:translateY(-1px);transition:box-shadow .18s,transform .18s,border-color .18s}
.business-inline-tools button{background:#f2f9f3;color:#285b43;border-color:#d2e6da}
.business-inline-tools button:hover{background:#e3f3e8;border-color:#8ab99c}
.business-contact-copy .business-customer-balance{background:#e9f5ec;color:#2d7250}
.studio-quick-secondary{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;margin-top:17px;padding-top:17px;border-top:1px solid #e0ece4}
.studio-quick-secondary .studio-field{margin:0;min-width:0}
.studio-quick-secondary .studio-field input,.studio-quick-secondary .studio-field select{width:100%;min-height:44px}
.studio-quick-secondary>small{color:#648772;font-size:11px;padding-bottom:13px;white-space:nowrap}
@media(max-width:820px){.studio-quick-secondary{grid-template-columns:1fr 1fr}.studio-quick-secondary>small{grid-column:1/-1;padding-bottom:0}}
@media(max-width:540px){.studio-quick-secondary{grid-template-columns:1fr}}
