.invoice-feature{padding-bottom:24px}.invoice-feature .invoice-list-page{min-width:0}.invoice-feature .invoice-tabs{margin:8px 0 14px;max-width:360px}.invoice-list-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.invoice-filter-chips{flex:1;min-width:0}.invoice-filter-chips .chip{height:34px;padding-inline:12px}.invoice-filter-chips .chip span{opacity:.72}.invoice-create{flex:none}.invoice-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:12px}.invoice-search>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--subtle);font-size:23px;line-height:1}.invoice-search .inp{padding-left:42px;height:44px}.invoice-period .inp{height:44px;width:160px}.invoice-outstanding{margin:12px 4px 0}.invoice-list-card{margin-top:10px}.invoice-load-more{display:flex;justify-content:center;padding:12px}.invoice-row-wrap .inv{min-height:76px}.invoice-row-wrap .inv .r{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.invoice-back{display:flex;align-items:center;gap:8px;margin:0 0 8px}.invoice-back .icon-btn{font-size:27px}.invoice-detail .inv-hero{margin-top:8px;padding:20px}.invoice-detail-heading{align-items:flex-start;justify-content:space-between}.invoice-detail-heading h2{font-size:18px;font-weight:800;color:var(--b800)}.invoice-no{font-weight:700}.invoice-detail-balance{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:16px}.invoice-detail .sisa{font-size:clamp(22px,7vw,30px);font-weight:800;letter-spacing:-.02em;white-space:nowrap}.invoice-total-meta{text-align:right;font-size:12px;color:var(--muted);line-height:1.8}.invoice-total-meta b{color:var(--text)}.invoice-progress,.invoice-overdue{margin-top:12px}.invoice-cancelled-copy{margin-top:10px}.invoice-flow-step{display:contents}.invoice-flow-step .ln{display:block}.invoice-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:12px 0}.invoice-detail-actions .btn{height:42px}.invoice-detail-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px}.invoice-detail-grid>*{min-width:0}.invoice-detail-grid .card{overflow:hidden}.invoice-detail-grid .card-b{padding:16px}.invoice-detail-grid .list-card{padding:6px}.invoice-totals{margin-top:8px}.invoice-metadata{margin-top:12px}.invoice-payment-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px}.invoice-payment-row+.invoice-payment-row{border-top:1px solid var(--line2)}.invoice-payment-row span{display:grid;gap:2px}.invoice-payment-row small{font-size:12px;color:var(--muted)}.customer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.customer-toolbar p{flex:1;min-width:180px}.customer-directory .invoice-search{margin-top:12px}.customer-list{margin-top:10px}.customer-list-row{position:relative;padding-right:64px}.customer-open{padding-right:8px}.customer-edit{position:absolute;right:7px;top:50%;transform:translateY(-50%)}.customer-list-row .divider{margin-right:-64px}.customer-invoice-head{display:flex;align-items:center;gap:12px;margin:8px 0 14px}.customer-invoice-head h2{font-size:20px;color:var(--b800)}.customer-contact{display:grid;gap:10px;margin-bottom:18px}.customer-contact div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line2)}.customer-contact dt{font-size:12px;font-weight:700;color:var(--subtle)}.customer-contact dd{min-width:0;overflow-wrap:anywhere}.customer-invoice-filter{margin-top:12px}.customer-invoice-filter .inv{justify-content:space-between;background:#fff;margin-bottom:4px}.invoice-form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.invoice-form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.invoice-auto-number{margin-bottom:14px}.invoice-editor .lbl-row{display:flex;justify-content:space-between;align-items:center;margin:20px 0 8px}.invoice-editor .item-edit{grid-template-columns:minmax(0,1fr) 88px;gap:8px 10px}.invoice-editor .item-edit .field:first-child{grid-column:1/-1}.invoice-editor .item-edit .field:nth-child(2){grid-column:1}.invoice-editor .item-edit .field:nth-child(3){grid-column:2}.item-edit-subtotal{grid-column:1/-1;display:flex;align-items:center;gap:8px}.item-edit-subtotal b{margin-right:auto;color:var(--text)}.invoice-due-chips,.invoice-pay-chips{overflow-x:auto}.invoice-editor .sheet-f{flex-direction:column;align-items:stretch}.invoice-editor .sticky-total{margin:0}.invoice-editor-actions{width:100%}.invoice-editor-actions .btn{flex:1}.invoice-payment-editor .field,.invoice-wa-composer .field{display:block}.invoice-payment-editor .field:first-of-type{margin-top:12px}.invoice-payment-editor .acc-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.invoice-payment-editor .acc-opt{min-height:58px}.invoice-wa-composer textarea{min-height:190px}.invoice-wa-composer .sheet-f,.invoice-confirm .sheet-f,.invoice-preview .sheet-f{display:flex;gap:8px}.invoice-wa-composer .sheet-f .btn,.invoice-confirm .sheet-f .btn,.invoice-preview .sheet-f .btn{flex:1}.invoice-preview-scale{overflow:auto;max-height:min(72vh,850px)}.invoice-preview-scale .paper{box-shadow:var(--sh2);border-radius:4px}.invoice-editor-body{min-width:0}.paper{background:#fff;color:#222;font-size:13px;padding:40px;width:100%;max-width:794px;margin:0 auto}.paper .kop{display:flex;gap:16px;align-items:center;border-bottom:3px solid var(--g700);padding-bottom:16px}.paper-logo{width:72px;height:72px;-o-object-fit:contain;object-fit:contain;flex:none;border-radius:50%}.paper .paper-business{flex:1;min-width:0}.paper .kop h1{font-size:22px;color:var(--g800)}.paper .kop p{color:#666;font-size:12px}.paper .meta{display:flex;justify-content:space-between;gap:18px;margin:20px 0}.paper .meta h2{font-size:26px;color:var(--b700);letter-spacing:.06em}.paper-kicker{color:#888;font-size:11px;font-weight:700}.paper-customer-name{font-size:15px}.paper-muted{color:#666}.paper-invoice-meta{text-align:right;white-space:nowrap}.paper table{width:100%;border-collapse:collapse;margin-top:12px}.paper th{background:var(--g700);color:#fff;text-align:left;padding:8px;font-size:12px}.paper td{padding:8px;border-bottom:1px solid #eee}.paper .r{text-align:right}.paper .tot{width:280px;margin-left:auto;margin-top:12px}.paper .tot div{display:flex;justify-content:space-between;gap:12px;padding:4px 0}.paper .tot .g{font-weight:800;font-size:16px;border-top:2px solid var(--b700);padding-top:8px;margin-top:4px}.paper .paper-balance{font-weight:800}.paper .pay{margin-top:28px;background:var(--b50);border-radius:8px;padding:12px 16px;font-size:12.5px}.paper .stamp{display:inline-block;border:3px solid var(--g700);color:var(--g700);font-weight:800;padding:4px 14px;border-radius:8px;transform:rotate(-8deg);font-size:18px;letter-spacing:.1em}.paper .invoice-cancelled-stamp{border-color:#999;color:#999}.paper-note{margin-top:16px}.paper-thanks{margin-top:24px;color:#999;font-size:11px;text-align:center}.preview-scale{background:#ede7e0;border-radius:16px;padding:16px}#print-root{display:none}@media (min-width:720px){.invoice-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.invoice-form-grid,.invoice-form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:719px){.invoice-list-controls{align-items:flex-start}.invoice-filter-chips{width:100%;flex-basis:100%;padding-bottom:4px}.invoice-create{margin-left:auto}.invoice-search-row{grid-template-columns:minmax(0,1fr)}.invoice-period .inp{width:100%}.invoice-detail-actions{justify-content:stretch}.invoice-detail-actions .btn{flex:1;min-width:calc(50% - 8px);padding-inline:10px}.invoice-detail-balance{align-items:flex-start}.invoice-total-meta{padding-top:18px}.invoice-preview-scale{padding:10px}.invoice-preview-scale .paper{padding:20px;font-size:11px}.paper .paper-logo{width:52px;height:52px}.paper .kop h1{font-size:17px}.paper .meta h2{font-size:20px}.paper .tot{width:100%}.paper .meta{gap:8px}.paper-invoice-meta{white-space:normal}.customer-toolbar{align-items:flex-start}.customer-toolbar .btn{margin-left:auto}}@media print{body>*:not(#print-root){display:none!important}#print-root{display:block!important}#print-root .paper{padding:0;box-shadow:none;max-width:none;border-radius:0}#print-root .paper,#print-root .paper *{-webkit-print-color-adjust:exact;print-color-adjust:exact}#print-root .paper .kop{-moz-column-break-inside:avoid;break-inside:avoid}#print-root .paper table{-moz-column-break-inside:auto;break-inside:auto}#print-root .paper tr{-moz-column-break-inside:avoid;break-inside:avoid;-moz-column-break-after:auto;break-after:auto}@page{size:A4;margin:16mm}}@media (prefers-reduced-motion:reduce){.invoice-feature *,#print-root *{animation-duration:.01ms!important;transition-duration:.01ms!important}}.sheet>:not(.grab):not(.sheet-h):not(.sheet-b):not(.sheet-f),.sheet-content{display:flex;flex:1;min-height:0;flex-direction:column}.sheet-content>.sheet-b,.sheet>*>.sheet-b{min-height:0}.sheet>*>.sheet-h,.sheet>*>.sheet-f{flex:none}.sheet>*>.sheet-b{flex:1 1 auto;overflow-y:auto}.side .brand{text-decoration:none}.side .brand img,.topbar .brand img{-o-object-fit:cover;object-fit:cover}.topbar .brand small{display:block}.topbar .icon-btn{flex:none}.side .catat{width:100%}.filters .chips{margin-top:8px}.lock .pad button:disabled{opacity:.5}.sheet .sheet-h{min-height:52px}.sheet .sheet-h:has(+.sheet-b>:first-child){position:sticky;top:0;background:#fff;z-index:2}.sheet .sheet-h h3:empty{display:none}.sheet .sheet-h h3:empty+button{margin-left:auto}.sheet .sheet-b{min-height:0}.sheet .sheet-h,.sheet .sheet-f,.sheet .grab{flex:none}.sheet .sheet-b{flex:1 1 auto;overflow-y:auto}.sheet .chips{flex-wrap:wrap;overflow:visible}@media print{body{background:#fff}.side,.topbar,.bottom-nav,.filters,.actions,.toasts{display:none!important}.main{padding:0}.wrap{max-width:none;padding:0}.card{box-shadow:none;border:0}#rep-body{padding:0}}.pager{display:flex;align-items:center;gap:8px;margin:12px 0 4px;flex-wrap:wrap}.pager .pager-info{flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;line-height:1.25}.pager .pager-info b{font-size:13.5px;color:var(--b800)}.pager .pager-info small{font-size:11.5px;color:var(--muted);font-weight:600}.pager .pager-step{gap:4px}.pager .pager-size{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted)}.pager .pager-size .inp{width:auto;min-width:72px;height:36px;border-radius:10px;padding:0 32px 0 12px;background-position:right 8px center;font-size:13px}.list-loading{opacity:.55;transition:opacity .15s}@media (max-width:520px){.pager{display:grid;grid-template-columns:auto 1fr auto;row-gap:8px}.pager .pager-step-text{display:none}.pager .pager-step{width:40px;padding:0}.pager .pager-size{grid-column:1 / -1;justify-content:center}}*{-webkit-tap-highlight-color:transparent}button,a,.chip,.cat{touch-action:manipulation}.toast-title{display:block;font-weight:800;line-height:1.3}.toast button{flex:none}.install-steps{padding-left:20px;display:grid;gap:12px}.install-steps .ic{display:inline-block;vertical-align:-3px;color:var(--g700)}:root .topbar{padding-top:env(safe-area-inset-top)}:root .filters{top:calc(60px + env(safe-area-inset-top))}:root .wrap{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}:root .bottom-nav{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}:root .lock{padding:calc(32px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom))}:root .onb{padding:calc(24px + env(safe-area-inset-top)) 20px calc(40px + env(safe-area-inset-bottom))}@media (min-width:960px){:root .side{padding-top:calc(20px + env(safe-area-inset-top))}:root .wrap{padding-left:max(32px,env(safe-area-inset-left));padding-right:max(32px,env(safe-area-inset-right))}:root .toasts{bottom:calc(24px + env(safe-area-inset-bottom))}}:root .sheet .sheet-b:last-child{padding-bottom:calc(20px + env(safe-area-inset-bottom))}@media (max-width:719px){:root .sheet{max-height:min(94vh,calc(100% - env(safe-area-inset-top) - 12px))}}body:before{content:"";position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top);background:var(--g700);z-index:200;pointer-events:none}@media (display-mode:standalone){html,body{overscroll-behavior:none}.overlay{overscroll-behavior:contain}.bottom-nav,.side,.topbar,.fab,.pad,.btn,.chip,.seg{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none}@supports (-webkit-touch-callout:none){:root .inp{font-size:16px}}}@media print{body:before{display:none}}
