.st-invoice{color:var(--st-charcoal);min-width:0}.st-invoice-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.st-invoice-editor,.st-invoice-preview-wrap{min-width:0}.st-invoice-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:0 0 16px}.st-invoice-section-head h2{font-size:19px;line-height:1.3;margin:0 0 4px;color:var(--st-navy)}.st-invoice-section-head p{font-size:13px;color:var(--st-muted);margin:0}.st-invoice-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.st-invoice-field{display:flex;flex-direction:column;gap:6px;margin-bottom:13px;min-width:0}.st-invoice-field>label,.st-invoice-fieldset label{font-size:13px;font-weight:700}.st-invoice input:not([type=file]),.st-invoice select,.st-invoice textarea{box-sizing:border-box;width:100%;min-width:0;min-height:42px;border:1px solid var(--st-line);border-radius:8px;background:#fff;color:var(--st-charcoal);padding:9px 10px;font:inherit;font-size:14px}.st-invoice input[type=file]{max-width:100%;font-size:12px}.st-invoice textarea{resize:vertical}.st-invoice input:focus-visible,.st-invoice select:focus-visible,.st-invoice textarea:focus-visible,.st-invoice button:focus-visible{outline:3px solid rgba(177,30,46,.25);outline-offset:2px}.st-invoice-two-col{gap:12px}.st-invoice-fieldset{min-width:0;margin:0 0 18px;padding:13px;border:1px solid var(--st-line);border-radius:10px}.st-invoice-fieldset legend{padding:0 5px;font-weight:800;color:var(--st-navy);font-size:14px}.st-invoice-fieldset label{display:block;margin:0 0 5px}.st-invoice-fieldset input,.st-invoice-fieldset textarea{margin-bottom:11px}.st-invoice-line-head{align-items:center;margin-top:2px}.st-invoice-items{display:flex;flex-direction:column;gap:10px}.st-invoice-item{display:grid;grid-template-columns:minmax(0,1fr) 66px 104px auto 28px;gap:8px;align-items:end;padding:12px;border:1px solid var(--st-line);border-radius:10px;background:#fffdf8}.st-invoice-item .st-invoice-field{margin:0}.st-invoice-item label{font-size:12px}.st-invoice-item input{padding:8px!important;min-height:39px!important}.st-invoice-item-total{min-width:70px;padding-bottom:10px}.st-invoice-item-total span{display:block;color:var(--st-muted);font-size:11px;margin-bottom:4px}.st-invoice-item-total strong{font-size:12px;overflow-wrap:anywhere}.st-invoice-remove{height:35px;width:28px;border:1px solid var(--st-line);border-radius:7px;background:#fff;color:#9b2635;font-size:23px;line-height:1;cursor:pointer}.st-invoice-adjustments{margin-top:16px}.st-invoice-message{font-size:13px;min-height:1.5em;color:var(--st-muted)}.st-invoice-editor-actions{display:flex;gap:9px;flex-wrap:wrap}.st-invoice-note{font-size:12px;line-height:1.55;color:var(--st-muted);margin:12px 0 0}.st-invoice-preview-wrap{position:sticky;top:16px}.st-invoice-preview-label{font-size:13px;font-weight:800;margin-bottom:10px;color:var(--st-navy)}.st-invoice-preview-label span{font-weight:500;color:var(--st-muted)}.st-invoice-paper{background:#fff;color:#252b34;border:1px solid #e4e7eb;border-radius:8px;box-shadow:0 8px 28px rgba(11,37,69,.08);padding:clamp(16px,2.5vw,30px);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.sti-paper-header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:2px solid #b11e2e;padding-bottom:18px}.sti-brand{display:flex;align-items:flex-start;gap:10px;min-width:0}.sti-brand img{max-width:72px;max-height:58px;object-fit:contain}.sti-business-name{font-size:17px;font-weight:800;color:#0b2545;overflow-wrap:anywhere}.sti-muted-lines{white-space:pre-line;color:#626b76;font-size:11px;margin-top:4px}.sti-invoice-title{text-align:right;flex-shrink:0}.sti-invoice-title h2{font-size:24px;letter-spacing:.06em;color:#0b2545;margin:0 0 2px}.sti-invoice-title div{font-weight:700;overflow-wrap:anywhere}.sti-paper-dates{display:flex;gap:22px;padding:18px 0}.sti-paper-dates span,.sti-bill-to>span{display:block;color:#6b7280;font-size:9px;font-weight:800;letter-spacing:.08em;margin-bottom:4px}.sti-paper-dates strong{font-size:11px}.sti-bill-to{background:#f8f1e4;border-radius:6px;padding:12px;margin-bottom:20px}.sti-bill-to>strong{display:block;font-size:13px;color:#0b2545}.sti-table-wrap{width:100%;overflow:visible}.sti-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:11px}.sti-table th{background:#0b2545;color:#fff;text-align:left;padding:9px 7px;font-weight:700}.sti-table td{padding:9px 7px;border-bottom:1px solid #e8ebef;vertical-align:top}.sti-table th:first-child,.sti-table td:first-child{width:44%;overflow-wrap:anywhere}.sti-number-col{text-align:right;white-space:normal}.sti-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,.8fr);gap:16px;margin-top:22px}.sti-terms strong{color:#0b2545}.sti-terms p{white-space:pre-line;margin:5px 0;color:#626b76}.sti-totals>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #e8ebef}.sti-totals strong{text-align:right;overflow-wrap:anywhere}.sti-grand-total{margin-top:4px;border:0!important;background:#f8f1e4;padding:11px!important;border-radius:5px;color:#0b2545;font-size:13px}.sti-paper-footer{text-align:center;border-top:1px solid #e8ebef;margin-top:24px;padding-top:12px;color:#6b7280;font-size:10px}.st-invoice [hidden]{display:none!important}@media(max-width:980px){.st-invoice-workspace{grid-template-columns:1fr}.st-invoice-preview-wrap{position:static;grid-row:1}.st-invoice-paper{max-width:760px;margin:0 auto}.st-invoice-editor{grid-row:2}}@media(max-width:520px){.st-invoice-form-grid{grid-template-columns:1fr;gap:0}.st-invoice-item{grid-template-columns:minmax(0,1fr) 62px 92px 27px;gap:7px}.st-invoice-item-desc{grid-column:1/-1}.st-invoice-item-total{grid-column:1/4;padding:0 0 2px}.st-invoice-item-total span{display:inline;margin-right:7px}.st-invoice-item-total strong{font-size:13px}.st-invoice-remove{grid-column:4;grid-row:2;align-self:center}.sti-paper-header{gap:8px}.sti-invoice-title h2{font-size:20px}.sti-brand img{max-width:52px}.sti-business-name{font-size:14px}.sti-table{font-size:10px}.sti-table th,.sti-table td{padding:7px 4px}.sti-bottom{grid-template-columns:1fr}.sti-totals{max-width:300px;width:100%;justify-self:end}}@media(max-width:360px){.sti-invoice-title h2{font-size:18px}.sti-paper-dates{gap:12px}.sti-table th:first-child,.sti-table td:first-child{width:36%}.st-invoice-item{grid-template-columns:minmax(0,1fr) 55px 82px 24px;gap:5px}}
@media print{@page{size:auto;margin:0}.st-invoice-editor,.st-invoice-preview-label,.st-invoice-note{display:none!important}.st-invoice-workspace{display:block!important}.st-invoice-preview-wrap{position:static!important;display:block!important}.st-invoice-paper{max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:10pt!important;color:#111!important;overflow:visible!important}.sti-paper-header,.sti-paper-dates,.sti-bill-to,.sti-table,.sti-bottom,.sti-paper-footer{break-inside:avoid;page-break-inside:avoid}.sti-table thead{display:table-header-group}.sti-table tr{break-inside:avoid;page-break-inside:avoid}.sti-table th{background:#0b2545!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.sti-bill-to,.sti-grand-total{background:#f8f1e4!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.sti-paper-footer{margin-top:18px}}

/* Print only the invoice paper; explicitly suppress the global site header and translation widget. */
@media print {
  body * { visibility: hidden !important; }
  /* The live translation plugin sets visibility:visible!important, so hide its header by display too. */
  body .st-ref-ajrak-strip,
  body .st-ref-header,
  body .st-ref-header .st-ref-actions,
  body .st-ref-header .st-ref-lang-wrap,
  body .st-ref-lang-wrap,
  body .st-ref-lang-wrap * { display: none !important; visibility: hidden !important; }
  #st-invoice-tool { position: absolute !important; left: 0 !important; top: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  #st-invoice-tool .st-invoice-editor,
  #st-invoice-tool .st-invoice-preview-label,
  #st-invoice-tool .st-invoice-note { display: none !important; }
  #st-invoice-tool .st-invoice-workspace { display: block !important; }
  #st-invoice-tool .st-invoice-preview-wrap { display: block !important; position: static !important; margin: 0 !important; padding: 0 !important; }
  #st-invoice-tool .st-invoice-paper,
  #st-invoice-tool .st-invoice-paper * { visibility: visible !important; }
  #st-invoice-tool .st-invoice-paper { position: relative !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 12mm !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; }
}
