/* Duescope Invoice Studio — responsive editor and print documents. */
.studio-hero{background:linear-gradient(120deg,#eaf4e4 0%,#f6f8f1 65%,#e0eee7 100%);border:1px solid #ddebdc;border-radius:19px;padding:31px 35px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:19px;overflow:hidden}.studio-hero h1{font-size:clamp(26px,2.7vw,37px);margin:7px 0 7px;color:#1c4d3d}.studio-hero h1 em{font-style:normal;color:#69976d}.studio-hero p{color:#749182;font-size:12px;max-width:520px}.studio-hero-card{background:#fff;border:1px solid #e1eee3;border-radius:15px;padding:20px 27px;min-width:225px;box-shadow:0 14px 24px #163c2510;display:grid;gap:4px}.studio-hero-card strong{font:800 27px/1.2 Manrope,sans-serif;letter-spacing:-1.3px}.studio-hero-card span{color:#90a69a;font-size:11px}.studio-hero-card small{color:#578f6b;font-size:11px;font-weight:800;margin-top:7px}.studio-head-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px;flex-wrap:wrap}.studio-view-switch{display:flex;background:#fff;border:1px solid #e4eae5;border-radius:11px;padding:4px}.studio-view-switch button{border:0;background:transparent;border-radius:8px;padding:10px 17px;color:#83978a;font-size:12px;font-weight:800}.studio-view-switch button.active{background:#e8f2e8;color:#2b7054}.studio-view-switch span{background:#d1e7d7;padding:2px 5px;border-radius:6px;font-size:10px}.studio-actions{display:flex;flex-wrap:wrap;gap:8px}.studio-templates,.studio-editor,.studio-preview-panel,.studio-saved-panel{background:#fff;border:1px solid #e2ebe1;border-radius:19px;box-shadow:0 10px 28px #1b3f2610}.studio-templates{padding:24px;margin-bottom:22px}.studio-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.studio-section-head h3{font-size:16px;color:#244638}.studio-section-head p{font-size:11px;color:#90a399;margin-top:5px}.studio-section-head>span{font-size:10px;font-weight:900;letter-spacing:1.3px;color:#9faea6;white-space:nowrap}.studio-filters{display:flex;gap:7px;margin:18px 0 14px;flex-wrap:wrap}.studio-filters button{padding:7px 13px;background:#f6f8f5;border:1px solid #e9eee7;border-radius:20px;color:#829586;font-weight:800;font-size:11px}.studio-filters button.active{background:#e1f0e2;color:#2e7556;border-color:#c5e2cc}.studio-template-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px}.template-tile{text-align:left;border:1px solid #e7ece6;background:white;padding:9px;border-radius:12px;display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;transition:.15s;position:relative}.template-tile:hover{border-color:#adcdb7;transform:translateY(-2px)}.template-tile.selected{border:2px solid #3b9168;background:#f1f8f0;padding:8px;box-shadow:0 3px 10px #225b3721}.template-tile.selected:after{content:'✓';position:absolute;right:7px;top:7px;background:#368f61;color:white;height:18px;width:18px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800}.template-tile strong{font-size:10px;color:#315447;line-height:1.3}.template-tile small{color:#9caaa2;font-size:9px;line-height:1.35}.template-mini{height:78px;width:100%;border:1px solid #e6e9e4;border-radius:7px;background:#fff;display:flex;flex-direction:column;padding:10px;overflow:hidden;gap:6px;position:relative}.mini-bar{height:5px;background:var(--bill-accent);width:55%;border-radius:2px}.mini-name{font-size:6px;font-weight:900;letter-spacing:1px;color:var(--bill-accent)}.mini-lines{display:grid;gap:5px}.mini-lines i{display:block;height:3px;background:#e9e9e5;width:100%}.mini-lines i:nth-child(2){width:78%}.mini-lines i:nth-child(3){width:89%}.mini-total{height:7px;background:var(--bill-accent);width:40%;align-self:flex-end;border-radius:2px}.template-mini.theme-midnight,.template-mini.theme-executive,.template-mini.theme-hospital{background:#25374a}.template-mini.theme-midnight .mini-name,.template-mini.theme-executive .mini-name,.template-mini.theme-hospital .mini-name{color:#fff}.template-mini.theme-editorial{background:#f7f1e7}.template-mini.theme-peach{background:#fff0e6}.template-mini.theme-lavender{background:#f4efff}.template-mini.theme-clinic,.template-mini.theme-lab{background:#f2fbfe}.template-mini.theme-pharmacy{background:#eaf8ef}.template-mini.theme-dental{background:#eef9f8}.template-mini.theme-optical{background:#f1f0fa}.template-mini.theme-receipt{max-width:65px;margin:auto;border:1px dashed #bac9be}.studio-workspace{display:grid;grid-template-columns:minmax(330px,.96fr) minmax(0,1.15fr);gap:20px;align-items:start}.studio-editor{padding:25px;min-width:0}.studio-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;border-bottom:1px solid #e8eee6;margin:19px 0 20px;padding-bottom:12px}.studio-steps button{border:0;background:#f7faf6;border-radius:8px;padding:9px 3px;color:#7d9386;font-size:11px;font-weight:800;white-space:nowrap}.studio-steps button.active{background:#ddf0e1;color:#2e7650}.studio-form-title{display:flex;align-items:center;gap:11px;margin:8px 0 21px}.studio-form-title>span{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#e5f3e6;color:#398361;font:800 11px Manrope}.studio-form-title h4{font-size:15px}.studio-form-title p{font-size:11px;color:#94a398;margin-top:2px}.studio-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.studio-field{display:flex;flex-direction:column;gap:5px;min-width:0}.studio-field>span{font-size:10px;letter-spacing:.25px;font-weight:800;color:#5f7f6a}.studio-field input,.studio-field textarea,.studio-field select{min-width:0;width:100%;border:1px solid #e0e8e0;background:#fbfcfa;padding:10px 11px;border-radius:9px;color:#264837;font-size:12px;outline:none;min-height:42px}.studio-field textarea{min-height:86px;resize:vertical}.studio-field input:focus,.studio-field textarea:focus,.studio-field select:focus{border-color:#72ae87;background:#fff;box-shadow:0 0 0 2px #e7f5e8}.studio-field input[type=color]{padding:4px;cursor:pointer}.studio-fields .studio-field:has(textarea){grid-column:span 2}.studio-upload{padding:15px 12px;margin-top:18px;background:#f5f9f3;border:1px dashed #cbdcce;border-radius:11px;display:flex;gap:11px;align-items:center;flex-wrap:wrap}.studio-upload-label{background:#deeddf;color:#3a7752;border-radius:7px;padding:7px 10px;font-weight:800;font-size:11px;cursor:pointer}.studio-upload span{color:#88a091;font-size:10px}.studio-upload button{margin-left:auto;color:#bc635e;background:none;border:0;font-size:10px}.studio-privacy{background:#fff8ed;color:#8a765c;border:1px solid #f3e5d0;border-radius:10px;font-size:11px;line-height:1.6;padding:13px;margin-top:22px}.studio-item{padding:15px;border:1px solid #e5ece4;border-radius:13px;background:#fcfdfa;margin-bottom:13px}.studio-item-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.studio-item-head strong{font-size:12px}.studio-item-head button{background:none;border:0;color:#bd6a5a;font-size:11px}.studio-item-head button:disabled{color:#c8cfc8}.studio-item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.studio-item-grid .studio-field.wide{grid-column:span 3}.studio-add-line{width:100%;padding:11px;border:1px dashed #a6ceae;border-radius:10px;background:#f0f9ed;color:#3d855b;font-weight:800;font-size:12px}.studio-divider{border-top:1px solid #e9efe8;margin:20px 0}.studio-timer{border:1px solid #dae9db;border-radius:13px;padding:17px;background:#f7fbf5}.studio-timer strong{font-size:12px}.studio-timer p{font:800 26px/1.5 Manrope;color:#2c6b4d;letter-spacing:1px}.studio-timer-btns{display:flex;gap:6px;margin:8px 0 15px}.studio-timer-btns button{border:1px solid #cfe2d4;background:white;color:#367651;font-size:11px;font-weight:800;border-radius:7px;padding:8px 12px}.studio-timer-btns button:disabled{opacity:.4}.studio-timer label{display:flex;align-items:center;gap:13px;font-size:11px;color:#66836b}.studio-timer label input{width:115px;border:1px solid #dbe9dd;border-radius:6px;padding:7px}.studio-timer small{color:#94a89a;font-size:10px;display:block;margin-top:9px}.studio-preview-panel{padding:21px;position:sticky;top:105px;min-width:0}.studio-preview-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.studio-preview-head strong{display:block;font-size:13px}.studio-preview-head small{font-size:10px;color:#95a49a}.studio-due{display:inline-flex;color:#49825a;background:#e5f5e7;border-radius:20px;font-size:9px;font-weight:800;padding:5px 9px;white-space:nowrap}.studio-due.over{background:#ffebe7;color:#b44c45}.studio-paper-wrap{padding:12px;background:#edf1ec;border-radius:12px;overflow:auto}.studio-paper-wrap #studioPaper{min-width:360px}.studio-preview-actions{display:flex;gap:8px;margin:15px 0}.studio-preview-actions .btn{flex:1}.studio-fineprint{font-size:10px;color:#91a198;line-height:1.5}.studio-saved-panel{padding:24px}.studio-saved-list{margin-top:20px;display:grid;gap:11px}.studio-saved-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:14px;border:1px solid #e9eee7;border-radius:12px;padding:12px 15px}.studio-saved-card strong{font-size:13px}.studio-saved-card p{font-size:11px;color:#97a49a;margin:4px 0}.studio-saved-card small{font-size:10px;color:#8b9b8f}.studio-saved-card>b{font:800 14px Manrope}.studio-saved-mark{height:45px;width:45px;border-radius:11px;background:#e5f3e7;color:#2a6750;display:grid;place-items:center;font-size:12px;font-weight:900}.studio-saved-actions{display:flex;gap:5px;flex-wrap:wrap}.studio-saved-actions button{border:1px solid #e0ebe1;background:#fff;color:#52775e;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:800}.studio-saved-actions button:hover{background:#eaf4e9}.studio-saved-actions button:last-child{color:#ba6960}.studio-saved-empty{text-align:center;padding:80px 20px;color:#2c5944}.studio-saved-empty strong{font:800 17px Manrope}.studio-saved-empty p{color:#9cae9f;margin:10px 0 20px}.studio-saved-empty button{border:0;background:#e6f3e9;border-radius:9px;color:#2e7050;padding:10px 16px;font-weight:800}
/* A single semantic invoice structure becomes 18 purposeful print themes. */
.voice-ai-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;border-top:1px dashed #d5e8d8;padding-top:12px}.voice-ai-row button{border:1px solid #c1dacf;background:#fff;color:#327153;border-radius:9px;padding:9px 14px;font-size:11px;font-weight:900}.voice-ai-row button:disabled{background:#edf3ef;color:#94a99b;cursor:default}.voice-ai-row span{color:#779183;font-size:10px;line-height:1.4}.voice-dialog #voiceAccept,.voice-dialog #voiceReject{justify-self:start;margin-top:6px;border:0;border-radius:8px;padding:9px 13px;font-size:11px;font-weight:850;background:#317f5a;color:#fff}.voice-dialog #voiceReject{background:#fff;color:#517762;border:1px solid #c7ddcc}
.bill-sheet{--bill-accent:#234e46;background:white;color:#24352e;font-family:Arial,Helvetica,sans-serif;padding:34px 31px;min-height:595px;box-shadow:0 5px 17px #244c3512;position:relative;font-size:11px;line-height:1.58;overflow-wrap:anywhere}.bill-sheet *{box-sizing:border-box}.bill-sheet .bill-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:2px solid var(--bill-accent);padding-bottom:21px}.bill-brand{display:flex;gap:12px;align-items:center;min-width:0;max-width:65%}.bill-brand h2{font:800 19px/1.3 Arial,sans-serif;letter-spacing:-.6px;color:#1e3430;overflow-wrap:anywhere;margin:0 0 4px}.bill-brand p{font-size:9px;color:#8b9890;line-height:1.45;margin:1px 0}.bill-logo{width:47px;height:47px;object-fit:contain;flex:none}.bill-title{text-align:right;min-width:0}.bill-title small{display:block;color:var(--bill-accent);font-size:7px;font-weight:800;letter-spacing:1.1px}.bill-title h1{font-size:24px;font-weight:800;letter-spacing:-1px;color:var(--bill-accent);line-height:1.2;margin:5px 0}.bill-title b{font-size:9px;font-weight:700;color:#8b978e}.bill-identity{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:24px 0}.bill-identity h3{font-size:13px;margin:7px 0 4px}.bill-identity p{font-size:9px;color:#7f9086;margin:3px 0;max-width:310px}.bill-cap{font-size:8px;letter-spacing:1.3px;font-weight:900;color:var(--bill-accent)}.bill-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bill-facts div{display:grid;gap:2px}.bill-facts span{font-size:8px;color:#8d9c91}.bill-facts strong{font-size:10px;line-height:1.4}.bill-items{width:100%;border-collapse:collapse;table-layout:auto;margin:6px 0 22px}.bill-items thead{background:#f2f6f1;color:#557363}.bill-items th{text-align:left;font-size:8px;letter-spacing:.55px;padding:10px 8px;white-space:nowrap}.bill-items td{padding:10px 8px;border-bottom:1px solid #e8eee9;font-size:9px;vertical-align:top}.bill-items td b{font-size:10px}.bill-items td small{display:block;color:#87988b;font-size:8px}.bill-items .align-right{text-align:right}.bill-bottom{display:grid;grid-template-columns:1fr minmax(170px,.8fr);gap:20px;margin-top:21px}.bill-notes p{font-size:9px;color:#7a8b82;margin:7px 0;white-space:pre-wrap}.bill-totals>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;font-size:9px}.bill-totals span{color:#78887f}.bill-totals strong{white-space:nowrap}.bill-totals .bill-grand{border-top:2px solid var(--bill-accent);padding:13px 0 0;margin-top:11px;align-items:center}.bill-grand span{font-size:9px;font-weight:800;color:var(--bill-accent)}.bill-grand strong{font-size:15px;color:var(--bill-accent);font-family:Arial,sans-serif}.bill-footer{border-top:1px solid #e4ede6;margin-top:40px;padding-top:12px;display:flex;justify-content:space-between;gap:10px;color:#9ca99d;font-size:8px}.bill-sheet.theme-executive .bill-header,.bill-sheet.theme-midnight .bill-header,.bill-sheet.theme-hospital .bill-header{background:var(--bill-accent);padding:22px;margin:-34px -31px 21px;border:0}.bill-sheet.theme-executive .bill-header :is(h1,h2,p,b,small),.bill-sheet.theme-midnight .bill-header :is(h1,h2,p,b,small),.bill-sheet.theme-hospital .bill-header :is(h1,h2,p,b,small){color:#fff}.bill-sheet.theme-executive .bill-items thead{background:#eaf0f7}.bill-sheet.theme-ledger{border:6px double #756e61}.bill-sheet.theme-ledger .bill-header{border-bottom:1px solid var(--bill-accent)}.bill-sheet.theme-ledger .bill-items td{border-bottom:1px dotted #a7a19b}.bill-sheet.theme-midnight{background:#f6f8fa}.bill-sheet.theme-midnight .bill-grand{background:var(--bill-accent);padding:13px}.bill-sheet.theme-midnight .bill-grand *{color:white}.bill-sheet.theme-emerald .bill-header{border-bottom-width:5px}.bill-sheet.theme-emerald .bill-items thead{background:#dcf2e8}.bill-sheet.theme-emerald .bill-grand{background:#e5f5ee;padding:13px}.bill-sheet.theme-mono{font-family:'Courier New',monospace}.bill-sheet.theme-mono :is(h1,h2,h3){font-family:'Courier New',monospace;letter-spacing:0}.bill-sheet.theme-mono .bill-items thead{background:white;border-top:1px dashed #444;border-bottom:1px dashed #444}.bill-sheet.theme-mono .bill-items td{border-bottom:1px dashed #999}.bill-sheet.theme-modern .bill-identity{background:#f4f8fd;padding:15px;margin:17px 0}.bill-sheet.theme-modern .bill-header{border-left:6px solid var(--bill-accent);border-bottom:0;padding-left:15px}.bill-sheet.theme-modern .bill-items thead{background:#e9f1fc}.bill-sheet.theme-receipt{max-width:430px;margin:auto;padding:24px 18px;min-height:540px;border:1px dashed #aaa;font-family:'Courier New',monospace}.bill-sheet.theme-receipt .bill-header{display:block;text-align:center;border-bottom:1px dashed #777}.bill-sheet.theme-receipt .bill-brand{max-width:none;justify-content:center}.bill-sheet.theme-receipt .bill-title{text-align:center;margin-top:18px}.bill-sheet.theme-receipt .bill-identity{display:block;padding:14px 0}.bill-sheet.theme-receipt .bill-facts{margin-top:12px}.bill-sheet.theme-receipt .bill-bottom{display:block}.bill-sheet.theme-receipt .bill-totals{margin-top:20px}.bill-sheet.theme-receipt .bill-items thead{background:#fff;border-top:1px dashed #888;border-bottom:1px dashed #888}.bill-sheet.theme-peach{background:#fff8f2}.bill-sheet.theme-peach .bill-header{border-bottom:6px solid #f6d5bf}.bill-sheet.theme-peach .bill-grand{background:#fbe9dd;padding:13px}.bill-sheet.theme-lavender{background:#fbfaff}.bill-sheet.theme-lavender .bill-items thead{background:#eeeafe}.bill-sheet.theme-lavender .bill-header{border-bottom:5px solid #d9d0f4}.bill-sheet.theme-editorial{font-family:Georgia,'Times New Roman',serif}.bill-sheet.theme-editorial :is(h1,h2,h3){font-family:Georgia,'Times New Roman',serif;font-weight:normal;letter-spacing:-.7px}.bill-sheet.theme-editorial .bill-items thead{background:#f4f0e7}.bill-sheet.theme-studio .bill-title h1{font-size:30px;text-transform:uppercase;letter-spacing:-2px}.bill-sheet.theme-studio .bill-items thead{background:#fcebef}.bill-sheet.theme-studio .bill-header{border-bottom-width:7px}.bill-sheet.theme-clinic .bill-header{border-bottom:4px solid #8ac8e8}.bill-sheet.theme-clinic .bill-items thead{background:#eaf6fd}.bill-sheet.theme-pharmacy .bill-items thead{background:#e0f3e8}.bill-sheet.theme-pharmacy .bill-brand h2{color:#1a795c}.bill-sheet.theme-pharmacy .bill-header{border-bottom:6px solid #d5f0df}.bill-sheet.theme-lab .bill-header{border-bottom:4px solid #73c8d5}.bill-sheet.theme-lab .bill-items thead{background:#e3f5f8}.bill-sheet.theme-dental .bill-header{border-bottom:5px solid #d4f0e7}.bill-sheet.theme-dental .bill-items thead{background:#eff9f5}.bill-sheet.theme-hospital .bill-items thead{background:#e6eef8}.bill-sheet.theme-optical .bill-header{border-bottom:4px double #8277a0}.bill-sheet.theme-optical .bill-items thead{background:#f0edfb}
#duescope-print-root{display:none}
/* Business-tailored quick settings and the free Saathi assistant. */
.studio-business-choice{border:1px solid #dce9dd;border-radius:12px;background:#f3faf3;padding:12px 14px;margin-bottom:20px}.studio-business-choice label{display:block;color:#4f8563;font-size:10px;letter-spacing:.8px;font-weight:900;margin-bottom:7px}.studio-business-choice select{width:100%;background:white;border:1px solid #cfe2d2;border-radius:9px;padding:11px;font-weight:750;color:#26583d;min-height:42px}.studio-business-choice p{margin-top:8px;color:#749482;font-size:11px;line-height:1.5}
.voice-copilot{border:1px solid #c9e1d2;border-radius:20px;background:linear-gradient(120deg,#f5fcf5,#fff);box-shadow:0 12px 26px #255d3620;padding:24px;margin:0 0 22px;overflow:hidden}.voice-top{display:flex;gap:14px;align-items:center}.voice-glyph{width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:14px;background:linear-gradient(140deg,#307959,#6ac58c);box-shadow:0 6px 13px #306c4b26;color:#fff;font:800 24px/1 Manrope,sans-serif}.voice-heading{flex:1;min-width:0}.voice-eyebrow{font-size:9px;font-weight:900;letter-spacing:1.3px;color:#73a684}.voice-heading h3{font-size:19px;color:#1c4934;margin:4px 0}.voice-heading p{font-size:11px;color:#8ca697}.voice-live-pill{border-radius:24px;background:#e6f7ea;color:#367a4c;font-size:9px;white-space:nowrap;font-weight:900;padding:7px 11px;align-self:flex-start}.voice-commands{display:flex;align-items:end;gap:10px;margin-top:18px;flex-wrap:wrap}.voice-language{display:grid;gap:6px;color:#578363;font-size:10px;font-weight:800}.voice-language select{border:1px solid #d2e4d7;background:#fff;border-radius:9px;padding:10px 12px;color:#2d5a3f;font-size:12px;min-width:175px}.voice-mic{background:#317e5a;border:1px solid #2a714f;color:#fff;padding:12px 21px;border-radius:10px;font-size:12px;font-weight:800;min-height:40px}.voice-mic.listening{background:#ae594b;border-color:#a44c41;box-shadow:0 0 0 5px #f3dad4;animation:voice-pulse 1.1s infinite alternate}.voice-mic:disabled{background:#b3c5b8;border-color:#b3c5b8;cursor:not-allowed}.voice-speak{display:flex;gap:6px;align-items:center;color:#668871;font-size:11px;font-weight:700;padding:9px}.voice-speak input{accent-color:#367e55}.voice-input-row{display:flex;gap:9px;margin-top:12px}.voice-input-row input{flex:1;min-width:0;border:1px solid #cfe2d4;background:white;padding:12px 13px;border-radius:9px;color:#27503a;font-size:12px;outline:none}.voice-input-row input:focus{border-color:#4c9b69;box-shadow:0 0 0 2px #d8f1df}.voice-input-row button{border:0;border-radius:9px;background:#e1f1e4;color:#327951;font-weight:900;font-size:11px;padding:10px 15px}.voice-examples{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.voice-examples button{font-size:10px;background:#fff;border:1px solid #e1ede4;color:#63866f;padding:6px 10px;border-radius:18px}.voice-examples button:hover{border-color:#6aa07b;color:#356e48}.voice-dialog{display:grid;gap:5px;margin-top:15px;padding:12px 14px;border-radius:10px;background:#eaf6eb}.voice-dialog small{font-size:10px;color:#7f9b86;overflow-wrap:anywhere}.voice-dialog strong{font-size:12px;color:#32694a;line-height:1.5;overflow-wrap:anywhere;font-weight:700}.voice-privacy{font-size:10px;line-height:1.5;color:#91a69a;margin-top:12px}@keyframes voice-pulse{from{box-shadow:0 0 0 2px #f3dad4}to{box-shadow:0 0 0 7px #f3dad4}}@media(max-width:720px){.voice-copilot{padding:16px}.voice-live-pill{display:none}.voice-commands{align-items:stretch}.voice-language{flex:1}.voice-language select{min-width:0}.voice-input-row{flex-direction:column}.voice-input-row button{min-height:42px}}
@media(max-width:1520px){.studio-template-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:1200px){.studio-workspace{grid-template-columns:1fr}.studio-preview-panel{position:static}.studio-template-grid{grid-template-columns:repeat(6,1fr)}.studio-paper-wrap{display:flex;justify-content:center}.studio-paper-wrap #studioPaper{max-width:680px;width:100%}}@media(max-width:720px){.studio-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-hero{padding:22px;flex-direction:column;align-items:flex-start}.studio-hero-card{min-width:0;width:100%}.studio-templates,.studio-editor,.studio-preview-panel,.studio-saved-panel{padding:16px}.studio-head-actions{align-items:stretch}.studio-actions{flex:1}.studio-actions .btn{padding:10px;flex:1}.studio-fields{grid-template-columns:1fr}.studio-fields .studio-field:has(textarea){grid-column:span 1}.studio-saved-card{grid-template-columns:46px minmax(0,1fr) auto}.studio-saved-actions{grid-column:1/-1;justify-content:flex-end}}@media(max-width:420px){.studio-template-grid{grid-template-columns:repeat(2,1fr)}.studio-steps{grid-template-columns:repeat(2,1fr)}.studio-item-grid{grid-template-columns:repeat(2,1fr)}.studio-item-grid .studio-field.wide{grid-column:span 2}.studio-paper-wrap{padding:6px}.studio-paper-wrap #studioPaper{min-width:315px}.studio-paper-wrap .bill-sheet{padding:18px 13px}.bill-sheet .bill-identity{grid-template-columns:1fr 1fr;gap:11px}.bill-sheet .bill-brand h2{font-size:15px}.bill-sheet .bill-title h1{font-size:17px}.bill-sheet .bill-items :is(th,td){padding:7px 4px;font-size:8px}.bill-sheet .bill-items th{font-size:7px}.bill-sheet .bill-facts{grid-template-columns:1fr 1fr}.bill-sheet .bill-bottom{grid-template-columns:1fr 1fr;gap:11px}.bill-sheet :is(.bill-grand strong){font-size:12px}}
@media print{ @page{size:A4;margin:10mm}body{background:#fff!important;margin:0!important}body>*:not(#duescope-print-root){display:none!important}#duescope-print-root{display:block!important;width:100%;padding:0!important;margin:0!important}#duescope-print-root .bill-sheet{box-shadow:none!important;border-radius:0!important;max-width:none;min-height:0;padding:14px 16px;margin:0 auto;page-break-after:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}#duescope-print-root .bill-sheet.theme-receipt{max-width:80mm;padding:8mm 3mm!important;font-size:9px}#duescope-print-root .bill-sheet.theme-receipt .bill-title h1{font-size:20px}.bill-items tr{break-inside:avoid}.bill-bottom,.bill-header{break-inside:avoid}}

/* Numbering is a saved workspace preference, independent of invoice design. */
.studio-series-panel{margin:14px 0 18px;padding:19px 21px;border:1px solid #cce1dc;border-radius:17px;background:#f5faf8;color:#173b34}
.studio-series-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}
.studio-series-heading>div{display:grid;gap:6px;max-width:540px}
.studio-series-heading strong{font-size:15px;font-weight:800}
.studio-series-heading small,.studio-series-note{font-size:12px;line-height:1.5;color:#526f64}
.studio-series-heading .studio-field{min-width:215px;margin:0}
.studio-series-grid{display:grid;grid-template-columns:minmax(180px,1.8fr) minmax(100px,.8fr) minmax(90px,.7fr) auto;gap:12px;align-items:end}
.studio-series-grid .studio-field{margin:0}
.studio-series-grid .btn{min-height:43px;white-space:nowrap}
.studio-series-note{margin:11px 0 0}
.studio-series-warning{margin:12px 0 0;padding:10px 13px;border:1px solid #e9c48a;border-radius:10px;background:#fff7e9;color:#7a4d13;font-size:12px;line-height:1.5}
.studio-original-date{display:block;max-width:260px;margin-top:14px}
.studio-series-panel [disabled]{opacity:.65;cursor:not-allowed}
@media(max-width:800px){.studio-series-heading{align-items:stretch;flex-direction:column}.studio-series-grid{grid-template-columns:1fr 1fr}.studio-series-grid .btn{grid-column:1/-1}}
@media(max-width:480px){.studio-series-panel{padding:14px}.studio-series-grid{grid-template-columns:1fr}.studio-series-grid .btn{grid-column:auto}}
