@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";.received-review-modal{width:min(1040px,calc(100vw - 48px));max-height:calc(100vh - 48px);padding:14px 16px 12px;border-radius:15px}.received-review-modal .received-modal-header{margin-bottom:10px}.received-review-modal .received-section-icon{width:34px;height:34px;flex-basis:34px;border-radius:9px}.received-review-modal .received-section-heading{gap:9px}.received-review-modal .received-section-heading h2{font-size:14px}.received-review-modal .received-section-heading p{font-size:9px}.received-review-modal .received-modal-close{width:28px;height:28px;flex-basis:28px}.received-review-modal .received-modal-header-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.received-review-modal .received-modal-header-actions .received-change-file{min-height:28px;display:inline-flex;align-items:center;justify-content:center;margin:0}.received-review-fields .received-review-notice-inline{grid-column:1 / -1;margin-bottom:0}.received-review-modal .received-review-notice{margin-bottom:10px;padding:7px 9px;border-radius:9px;font-size:8.8px;line-height:1.3}.received-review-modal .received-review-notice strong{font-size:9.3px}.received-review-layout{grid-template-columns:minmax(320px,.82fr) minmax(430px,1.18fr);grid-template-areas:"fields preview";gap:12px;align-items:start}.received-review-fields{grid-area:fields;align-content:start;gap:10px 11px}.received-review-fields .label{margin-bottom:4px;font-size:9px}.received-review-fields .input{min-height:37px;padding-top:7px;padding-bottom:7px;font-size:11px}.received-review-preview-card{grid-area:preview;min-width:0;overflow:hidden;border-radius:11px;background:#f4f2f6}.received-review-modal .received-review-preview-head{padding:8px 10px}.received-review-modal .received-review-preview-head strong{font-size:10px}.received-review-modal .received-review-preview-head span{font-size:8px}.received-review-modal .received-change-file{padding:5px 8px;border-radius:7px;font-size:8.5px}.received-review-modal .received-form-error{margin-top:9px;padding:7px 9px;font-size:9px}.received-review-modal .received-modal-actions{margin-top:11px;padding-top:10px}.received-review-modal .received-modal-cancel,.received-review-modal .btn-primary{min-height:35px;padding-top:7px;padding-bottom:7px}.received-react-pdf-shell{width:100%;background:#efedf2}.received-react-pdf-viewport{position:relative;height:338px;overflow:auto;display:block;padding:10px;background:#e9e7ec;scrollbar-color:#aaa3b2 transparent;scrollbar-width:thin}.received-react-pdf-pages-list{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px}.received-react-pdf-canvas,.received-react-image-preview{display:block;background:#fff;border:1px solid #d8d3df;box-shadow:0 4px 12px #211b2b24}.received-react-image-preview{width:100%;height:auto;-o-object-fit:contain;object-fit:contain}.received-react-pdf-state,.received-react-pdf-empty{width:100%;min-height:180px;display:flex;align-items:center;justify-content:center;padding:20px;color:#7d7586;font-size:9.5px;text-align:center}.received-react-pdf-error{color:#b91c1c}@media (max-width: 980px){.received-review-modal{width:min(760px,calc(100vw - 28px))}.received-review-layout{grid-template-columns:1fr;grid-template-areas:"fields" "preview"}.received-react-pdf-viewport{height:320px}}@media (max-width: 560px){.received-review-modal{width:calc(100vw - 20px);padding:12px}.received-react-pdf-viewport{height:285px;padding:8px}}.invoice-file-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;display:flex;align-items:center;justify-content:center;padding:20px;background:#19142385;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.invoice-file-preview-modal{width:min(900px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:hidden;display:flex;flex-direction:column;border:1px solid #e4deec;border-radius:16px;background:#fff;box-shadow:0 24px 70px #1d172742,0 6px 20px #1d17271a}.invoice-file-preview-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-bottom:1px solid #eeeaf3}.invoice-file-preview-header h2{margin:0;color:var(--text-primary, #241f2d);font-size:14px;line-height:1.25;font-weight:800}.invoice-file-preview-header p{margin:2px 0 0;color:var(--text-secondary, #7f7789);font-size:9px;line-height:1.35}.invoice-file-preview-close{width:30px;height:30px;flex:0 0 30px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:#f6f3f9;color:#71697b;font-family:inherit;font-size:19px;line-height:1;cursor:pointer}.invoice-file-preview-close:hover:not(:disabled){background:#f1edff;color:var(--brand-700, #6d28d9)}.invoice-file-preview-close:disabled,.invoice-file-preview-done:disabled{opacity:.55;cursor:not-allowed}.invoice-file-preview-body{min-height:280px;overflow:hidden;background:#eeecf1}.invoice-file-preview-modal .received-react-pdf-viewport{height:min(64vh,560px);min-height:320px}.invoice-file-preview-state{min-height:420px;display:flex;align-items:center;justify-content:center;padding:24px;color:#756d80;font-size:11px;text-align:center}.invoice-file-preview-error{color:#b91c1c;background:snow}.invoice-file-preview-footer{display:flex;justify-content:flex-end;padding:10px 14px;border-top:1px solid #eeeaf3;background:#fff}.invoice-file-preview-done{min-height:34px;padding:7px 13px;border:1px solid #ddd6e7;border-radius:8px;background:#fff;color:#5f5769;font-family:inherit;font-size:10px;font-weight:750;cursor:pointer}.invoice-file-preview-done:hover:not(:disabled){border-color:#c7b8ed;background:#faf8ff;color:var(--brand-700, #6d28d9)}@media (max-width: 700px){.invoice-file-preview-backdrop{padding:10px}.invoice-file-preview-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.invoice-file-preview-modal .received-react-pdf-viewport{height:64vh;min-height:260px}}.invoice-file-preview-modal{width:min(1100px,calc(100vw - 40px))}.invoice-file-preview-body{height:calc(100vh - 190px);max-height:none}.invoice-file-preview-header-actions{display:flex;align-items:center;gap:8px}.invoice-file-preview-action{padding:7px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text-primary);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.invoice-file-preview-action:hover{border-color:var(--brand-400);color:var(--brand-700)}.invoice-file-preview-action-primary{border-color:var(--brand-600);background:var(--brand-600);color:#fff}.invoice-file-preview-action-primary:hover{background:var(--brand-700);color:#fff}@media (max-width: 700px){.invoice-file-preview-body{height:calc(100vh - 170px)}.invoice-file-preview-action:not(.invoice-file-preview-action-primary){display:none}}.invoice-file-preview-modal .received-react-pdf-viewport{height:calc(100vh - 190px)}@media (max-width: 700px){.invoice-file-preview-modal .received-react-pdf-viewport{height:calc(100vh - 170px)}}.pc-page{display:grid;gap:18px}.pc-page>.summary-strip{margin-bottom:0}.pc-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.pc-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:16px 20px}.pc-card-head h2{font-size:16px;font-weight:800}.pc-card-head p{margin-top:2px;color:var(--text-secondary);font-size:12.5px}.pc-card-head-sub{padding-top:6px;border-top:1px solid var(--border)}.pc-head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pc-btn-primary,.pc-btn-ghost{height:38px;padding:0 16px;border-radius:10px;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}.pc-btn-primary{border:1px solid var(--brand-600);background:var(--brand-600);color:#fff}.pc-btn-primary:hover:not(:disabled){background:var(--brand-700)}.pc-btn-primary:disabled{opacity:.5;cursor:not-allowed}.pc-btn-ghost{border:1px solid #ddd6fe;background:#f7f5ff;color:var(--brand-700)}.pc-btn-ghost:hover{background:#ede9fe}.pc-holders{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;padding:0 20px 20px}.pc-holder{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--border);border-radius:14px;background:#fcfbfe}.pc-holder.is-selected{border-color:var(--brand-500);box-shadow:0 0 0 1px var(--brand-500)}.pc-holder.is-inactive{opacity:.6}.pc-holder-top{display:flex;align-items:center;gap:10px}.pc-holder-name{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;padding:0;border:0;background:none;font-family:inherit;text-align:left;cursor:pointer}.pc-holder-name strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.pc-holder-name small{overflow:hidden;color:var(--text-muted);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.pc-holder-balance{color:#15803d;font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}.pc-holder-balance.is-negative{color:#b91c1c}.pc-holder-meta{color:var(--text-secondary);font-size:11.5px}.pc-holder-actions{display:flex;gap:6px;margin-top:2px}.pc-chip-btn{flex:1 1 0;height:32px;border-radius:8px;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}.pc-chip-expense{border:1px solid #fed7aa;background:#fff7ed;color:#c2410c}.pc-chip-topup{border:1px solid #bbf7d0;background:#ecfdf5;color:#15803d}.pc-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:26px 20px 30px;color:var(--text-secondary);text-align:center}.pc-empty svg{color:#a78bfa}.pc-empty strong{color:var(--text-primary)}.pc-periods{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border:1px solid #e6e1ef;border-radius:10px;background:#f7f5fa}.pc-periods button{height:30px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#6b6477;font-family:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.pc-periods button.is-active{background:#fff;color:var(--brand-700);box-shadow:0 1px 3px #2518311f}.pc-custom-range{display:flex;flex-wrap:wrap;gap:12px;padding:0 20px 12px}.pc-custom-range label{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:12.5px;font-weight:600}.pc-custom-range .input{width:auto}.pc-flow{display:flex;flex-wrap:wrap;gap:0;margin:0 20px 14px;border:1px solid var(--border);border-radius:12px;overflow:hidden}.pc-flow>div{display:flex;flex:1 1 140px;flex-direction:column;gap:3px;padding:10px 14px;border-right:1px solid var(--border)}.pc-flow>div:last-child{border-right:0}.pc-flow span{color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.pc-flow strong{font-size:15px;font-variant-numeric:tabular-nums}.pc-flow-in strong{color:#15803d}.pc-flow-out strong{color:#c2410c}.pc-flow-close{background:#f5f1ff}.pc-flow-close strong{color:var(--brand-700)}.pc-table .pc-voucher{color:var(--brand-700);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;white-space:nowrap}.pc-details{max-width:340px}.pc-details strong{display:block;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.pc-details small{display:block;overflow:hidden;color:var(--text-muted);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.pc-amount{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.pc-amount.is-in{color:#15803d}.pc-amount.is-out{color:#c2410c}.pc-running{color:var(--text-secondary);font-variant-numeric:tabular-nums;white-space:nowrap}.pc-running.is-negative{color:#b91c1c}.pc-type-pill{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.pc-type-pill-expense{background:#fff7ed;color:#c2410c}.pc-type-pill-top_up{background:#ecfdf5;color:#15803d}.pc-type-pill-return{background:#eff6ff;color:#1d4ed8}.pc-type-pill-adjustment{background:#f3f4f6;color:#4b5563}.pc-reports{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;align-items:start}.pc-bars{display:grid;gap:8px;padding:0 20px 18px}.pc-bar-row{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr) auto;align-items:center;gap:10px;font-size:12.5px}.pc-bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-bar-track{height:8px;overflow:hidden;border-radius:999px;background:#f1eef7}.pc-bar-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#a78bfa,#7c3aed)}.pc-bar-value{font-weight:700;font-variant-numeric:tabular-nums}.pc-empty-small{padding:0 20px 18px;color:var(--text-muted);font-size:12.5px}.pc-modal{max-width:620px}.pc-form{display:grid;gap:12px}.pc-type-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:3px;border:1px solid #e6e1ef;border-radius:10px;background:#f7f5fa}.pc-type-option{height:34px;border:0;border-radius:7px;background:transparent;color:#6b6477;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}.pc-type-option.is-active{background:#fff;box-shadow:0 1px 3px #2518311f}.pc-type-option.pc-type-expense.is-active{color:#c2410c}.pc-type-option.pc-type-top_up.is-active{color:#15803d}.pc-type-option.pc-type-return.is-active{color:#1d4ed8}.pc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pc-field{display:grid;gap:5px;min-width:0}.pc-field>span{color:var(--text-secondary);font-size:12px;font-weight:700}.pc-field-wide{grid-column:1 / -1}.pc-file{padding:7px 10px}.pc-check{display:flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:12px}.pc-book-balance{font-size:18px;font-variant-numeric:tabular-nums}.pc-balance-preview{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:10px 12px;border:1px solid #bbf7d0;border-radius:10px;background:#f0fdf4;color:#166534;font-size:13px}.pc-balance-preview.is-negative{border-color:#fecaca;background:#fef2f2;color:#991b1b}.pc-balance-preview small{flex:1 1 100%;font-size:12px}@media (max-width: 1100px){.pc-reports{grid-template-columns:minmax(0,1fr)}}@media (max-width: 640px){.pc-card-head{padding:14px}.pc-holders{padding:0 14px 14px}.pc-flow,.pc-custom-range{margin-left:14px;margin-right:14px;padding-left:0}.pc-form-grid{grid-template-columns:1fr}.pc-head-actions{width:100%}.pc-head-actions .pc-btn-primary{flex:1 1 auto}.pc-bar-row{grid-template-columns:minmax(0,100px) minmax(0,1fr) auto}}.pc-type-pill-transfer_out{background:#f5f3ff;color:#6d28d9}.pc-type-pill-transfer_in{background:#f0fdfa;color:#0f766e}.pc-transfer-line{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e4dcfb;border-radius:10px;background:#faf7ff;font-size:14px}.pc-transfer-line span{color:var(--brand-600);font-weight:800}.pc-balance-preview>span{flex:1 1 auto}.pc-card-head-tight{padding:12px 16px}.pc-card-head-tight h2{font-size:15px}.pc-card-head-tight p{font-size:12px}.pc-holders{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;padding:0 16px 16px}.pc-holder{gap:8px;padding:10px 12px;border-radius:12px}.pc-holder .list-avatar{flex:0 0 32px;width:32px;height:32px;font-size:11px}.pc-holder-top .pc-holder-balance{flex:0 0 auto;font-size:16px}.pc-holder-name small{font-size:11px}.pc-chip-btn{height:28px;font-size:11.5px}.pc-filterbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pc-views{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:#1f1630}.pc-views button{height:32px;padding:0 16px;border:0;border-radius:7px;background:transparent;color:#c4b5fd;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}.pc-views button.is-active{background:#fff;color:#3b0764}.pc-filterbar .pc-custom-range{display:inline-flex;align-items:center;gap:6px;margin:0;padding:0;color:var(--text-secondary);font-size:12.5px}.pc-filterbar .pc-custom-range .input{height:36px}.pc-person-select{margin-left:auto;min-width:180px}.pc-refreshing{opacity:.6;transition:opacity .15s ease}.pc-flow{margin:14px 16px 12px}.pc-flow>div{padding:8px 12px;flex-basis:120px}.pc-flow strong{font-size:14px}.pc-analysis{display:grid;gap:16px}.pc-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.pc-stat{display:flex;flex-direction:column;gap:3px;min-width:0;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.pc-stat span{color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.pc-stat strong{color:var(--text-primary);font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.pc-stat .pc-stat-text{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.pc-stat small{color:var(--text-muted);font-size:11.5px}.pc-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pc-chart{position:relative;padding:0 8px 10px}.pc-chart svg{display:block;overflow:visible}.pc-grid{stroke:#efedf3;stroke-width:1}.pc-baseline{stroke:#d9d4e2;stroke-width:1}.pc-crosshair{stroke:#9a93a6;stroke-width:1}.pc-axis{fill:#8a8295;font-size:11px;font-variant-numeric:tabular-nums}.pc-direct{fill:var(--text-primary);font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums}.pc-tip{position:absolute;z-index:5;display:flex;flex-direction:column;gap:1px;min-width:120px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 8px 20px #1e14321f;pointer-events:none;transform:translate(-50%)}.pc-tip strong{font-size:13px;font-variant-numeric:tabular-nums}.pc-tip span{color:var(--text-secondary);font-size:11.5px;white-space:nowrap}.pc-subhead{padding:4px 16px 8px;color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.pc-bar-row{grid-template-columns:minmax(0,150px) minmax(0,1fr) auto 36px}.pc-bar-share{color:var(--text-muted);font-size:11.5px;text-align:right;font-variant-numeric:tabular-nums}.pc-bars{padding:0 16px 14px}@media (max-width: 1100px){.pc-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pc-chart-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width: 640px){.pc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-person-select{margin-left:0;flex:1 1 100%}.pc-periods{flex:1 1 100%}.pc-bar-row{grid-template-columns:minmax(0,90px) minmax(0,1fr) auto 32px}}.pc-holder-name strong,.pc-holder-name small{min-width:0;max-width:100%}.pc-holder-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.pc-holder-row .pc-holder-balance{font-size:18px}.pc-holder-row .pc-holder-actions{display:flex;gap:6px;margin:0}.pc-holder-row .pc-chip-btn{flex:0 0 auto;padding:0 10px}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.inline{display:inline}.table{display:table}.hidden{display:none}.shrink{flex-shrink:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.text-right{text-align:right}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:root{--brand-50: #f5f3ff;--brand-100: #ede9fe;--brand-200: #ddd6fe;--brand-400: #a78bfa;--brand-500: #8b5cf6;--brand-600: #7c3aed;--brand-700: #6d28d9;--brand-800: #5b21b6;--orange-500: #f97316;--orange-600: #ea580c;--green-500: #22c55e;--green-600: #16a34a;--surface: #ffffff;--bg: #f4f2fb;--bg-dark: #1a1625;--text-primary: #1e1b30;--text-secondary: #6b7280;--border: #e5e0f0;--radius: 12px;--radius-lg: 16px;--shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);--shadow-md: 0 4px 16px rgba(0,0,0,.08);--shadow-lg: 0 8px 32px rgba(0,0,0,.1)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text-primary);-webkit-font-smoothing:antialiased}.text-right{text-align:right!important}.font-semibold{font-weight:600!important}.app-shell{min-height:100vh;display:flex;flex-direction:column}.header{background:var(--bg-dark);border-bottom:1px solid rgba(255,255,255,.06);position:sticky;top:0;z-index:100}.header-inner{max-width:1440px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between}.header-left{display:flex;align-items:center;gap:14px}.header-logo{height:36px;width:auto;filter:brightness(1.1)}.header-divider{width:1px;height:28px;background:#ffffff26}.header-title{font-size:16px;font-weight:700;color:#fff;line-height:1.2}.header-subtitle{font-size:11px;color:#ffffff80;font-weight:400}.header-right{display:flex;align-items:center;gap:12px}.header-version{font-size:10px;font-weight:700;color:var(--brand-400);background:#8b5cf626;padding:3px 8px;border-radius:20px;letter-spacing:.5px}.dash-nav{background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 1px 4px #00000008}.dash-nav-inner{max-width:1440px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.dash-tabs{display:flex;gap:0}.dash-tab{display:inline-flex;align-items:center;gap:8px;padding:14px 20px;font-size:13px;font-weight:600;color:var(--text-secondary);background:none;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:all .2s;font-family:inherit}.dash-tab:hover{color:var(--brand-600);background:var(--brand-50)}.dash-tab-active{color:var(--brand-600)!important;border-bottom-color:var(--brand-600)!important;background:none!important}.dash-tab svg{opacity:.6}.dash-tab-active svg{opacity:1}.dash-nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto}.gst-calc-trigger,.seq-pill{height:36px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border-radius:999px;font-family:inherit;white-space:nowrap}.gst-calc-trigger{border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;cursor:pointer;text-align:left;transition:background .15s ease,border-color .15s ease}.gst-calc-trigger:hover{border-color:#fb923c;background:#ffedd5}.gst-calc-trigger-title{color:#9a3412;font-size:13px;font-weight:700}.gst-calc-trigger-meta{color:#c2410c;font-size:12px;font-weight:500}.seq-pill{padding-right:4px;border:1px solid var(--brand-200);background:var(--brand-50);color:var(--brand-800)}.seq-pill-label{color:var(--text-secondary);font-size:12px;font-weight:600}.seq-pill-number{font-size:15px;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.seq-pill-fy{color:var(--text-secondary);font-size:12px}.seq-pill-tag{padding:1px 7px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:700}.seq-pill-edit{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#fff;color:var(--brand-700);cursor:pointer;transition:background .15s ease,color .15s ease}.seq-pill-edit:hover{background:var(--brand-600);color:#fff}.seq-pill-edit:focus-visible{outline:2px solid var(--brand-600);outline-offset:2px}.seq-pill-edit:disabled{cursor:default;opacity:1}.seq-pill-manual{border-color:#fcd34d;background:#fffbeb;color:#92400e}.seq-pill-manual .seq-pill-edit{color:#b45309}.seq-pill-manual .seq-pill-edit:hover{background:#d97706;color:#fff}.seq-widget-wrap{position:relative;display:flex;align-items:center;z-index:40}.seq-focus-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 8px 7px 14px;border:1px solid var(--border);border-left:4px solid var(--brand-600);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-sm)}.seq-focus-card-manual{border-left-color:#d97706;background:#fffbeb}.seq-focus-copy{display:flex;flex-direction:column;gap:1px;min-width:0}.seq-focus-label-row{display:flex;align-items:center;gap:8px}.seq-focus-label{font-size:11px;font-weight:600;color:var(--text-secondary)}.seq-mode-badge{padding:1px 7px;border-radius:999px;background:#dcfce7;color:#166534;font-size:10px;font-weight:700;line-height:1.5}.seq-mode-badge-manual{background:#fef3c7;color:#92400e}.seq-focus-number{color:var(--text-primary);font-size:20px;font-weight:800;line-height:1.2;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.seq-focus-meta{color:var(--text-secondary);font-size:11px;white-space:nowrap}.seq-edit-button{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border:1px solid var(--brand-200);border-radius:8px;background:var(--brand-50);color:var(--brand-700);font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.seq-edit-button:hover{background:var(--brand-600);border-color:var(--brand-600);color:#fff}.seq-edit-button:focus-visible{outline:2px solid var(--brand-600);outline-offset:2px}.seq-focus-card-manual .seq-edit-button{border-color:#fcd34d;background:#fff;color:#b45309}.seq-focus-card-manual .seq-edit-button:hover{background:#d97706;border-color:#d97706;color:#fff}.seq-editor-popover{position:absolute;top:calc(100% + 10px);right:0;width:360px;padding:16px;border-radius:16px;border:1px solid #ddd6fe;background:#fff;box-shadow:0 18px 48px #1f18322e,0 3px 12px #6d28d914;animation:seq-pop-in .16s ease-out}.seq-editor-popover:before{content:"";position:absolute;top:-6px;right:22px;width:11px;height:11px;background:#fff;border-left:1px solid #ddd6fe;border-top:1px solid #ddd6fe;transform:rotate(45deg)}@keyframes seq-pop-in{0%{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.seq-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.seq-editor-title{color:#241b38;font-size:14px;line-height:1.3;font-weight:800}.seq-editor-subtitle{margin-top:2px;color:#7c7589;font-size:10px;line-height:1.4}.seq-editor-close{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;border:0;border-radius:8px;background:#f7f5fb;color:#726a80;cursor:pointer}.seq-editor-close:hover{background:#ede9fe;color:#6d28d9}.seq-editor-field{margin-top:12px}.seq-editor-label{display:block;margin-bottom:6px;color:#3f3850;font-size:10px;font-weight:700}.seq-required{color:#dc2626}.seq-number-input-wrap{display:flex;align-items:stretch;overflow:hidden;border:1px solid #d8d1e5;border-radius:10px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}.seq-number-input-wrap:focus-within{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.seq-number-prefix{display:inline-flex;align-items:center;padding:0 11px;background:#f7f4ff;border-right:1px solid #e7e1f0;color:#6d28d9;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.seq-number-input{min-width:0;width:100%;padding:9px 10px;border:0;outline:0;background:transparent;color:#241b38;font-family:inherit;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.seq-reason-input{width:100%;min-height:72px;resize:vertical;padding:9px 10px;border:1px solid #d8d1e5;border-radius:10px;outline:0;background:#fff;color:#241b38;font-family:inherit;font-size:11px;line-height:1.5;transition:border-color .18s ease,box-shadow .18s ease}.seq-reason-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.seq-reason-input::-moz-placeholder{color:#a29aaa}.seq-reason-input::placeholder{color:#a29aaa}.seq-editor-help{margin-top:5px;color:#8b8496;font-size:9px;line-height:1.45}.seq-editor-error{margin-top:11px;padding:8px 10px;border:1px solid #fecaca;border-radius:9px;background:#fff7f7;color:#b91c1c;font-size:10px;line-height:1.4;font-weight:600}.seq-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #eeeaf4}.seq-editor-cancel,.seq-editor-save{border-radius:9px;padding:8px 11px;font-family:inherit;font-size:10px;font-weight:700;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}.seq-editor-cancel{border:1px solid #ddd8e6;background:#fff;color:#625a70}.seq-editor-cancel:hover{background:#f7f5fa;border-color:#cbc3d8}.seq-editor-save{border:1px solid #7c3aed;background:#7c3aed;color:#fff;box-shadow:0 3px 9px #7c3aed2e}.seq-editor-save:hover{background:#6d28d9;border-color:#6d28d9}.gst-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:24px;background:#1812247a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:gst-fade-in .16s ease-out}.gst-modal{width:min(470px,100%);max-height:calc(100vh - 48px);overflow-y:auto;padding:18px;border:1px solid #e7e0ef;border-radius:18px;background:#fff;box-shadow:0 24px 70px #1f183242,0 6px 20px #1f18321a;animation:gst-modal-in .18s ease-out}@keyframes gst-fade-in{0%{opacity:0}to{opacity:1}}@keyframes gst-modal-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.gst-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.gst-modal-title-wrap{display:flex;align-items:center;gap:10px}.gst-modal-icon{width:36px;height:36px;flex:0 0 36px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;box-shadow:0 5px 13px #ea580c33}.gst-modal-title{color:#241b38;font-size:16px;line-height:1.2;font-weight:800}.gst-modal-subtitle{margin-top:2px;color:#81788e;font-size:10px;line-height:1.35}.gst-modal-close{width:30px;height:30px;flex:0 0 30px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:#f7f5fa;color:#746c80;cursor:pointer}.gst-modal-close:hover{background:#ede9fe;color:#6d28d9}.gst-context-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:9px 11px;border:1px solid #e7e0ef;border-radius:11px;background:#faf9fc}.gst-context-name{color:#352a46;font-size:10px;font-weight:800}.gst-context-rate{padding:3px 7px;border-radius:999px;font-size:8px;font-weight:800;white-space:nowrap}.gst-context-domestic .gst-context-rate{background:#ede9fe;color:#6d28d9}.gst-context-igst .gst-context-rate{background:#ffedd5;color:#c2410c}.gst-context-foreign .gst-context-rate{background:#dcfce7;color:#15803d}.gst-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:12px;padding:4px;border:1px solid #e8e2ef;border-radius:12px;background:#f7f5fa}.gst-mode-tab{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#746c80;font-family:inherit;text-align:left;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.gst-mode-tab span{font-size:10px;line-height:1.2;font-weight:850}.gst-mode-tab small{color:#9a92a4;font-size:7.5px;line-height:1.25;font-weight:600}.gst-mode-tab:hover{background:#fff}.gst-mode-tab-active{border-color:#f0d5bf;background:#fff;color:#c2410c;box-shadow:0 2px 7px #49342a14}.gst-mode-tab-active small{color:#8b7465}.gst-modal-field{margin-top:16px}.gst-modal-label{display:block;margin-bottom:6px;color:#4d4559;font-size:10px;line-height:1.3;font-weight:700}.gst-amount-input-wrap{display:flex;align-items:stretch;overflow:hidden;border:1px solid #d8d1e5;border-radius:11px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}.gst-amount-input-wrap:focus-within{border-color:#f97316;box-shadow:0 0 0 3px #f973161a}.gst-amount-symbol{min-width:42px;display:inline-flex;align-items:center;justify-content:center;border-right:1px solid #eee8f2;background:#fff8f1;color:#c2410c;font-size:14px;font-weight:800}.gst-amount-input{width:100%;min-width:0;padding:10px 12px;border:0;outline:0;background:transparent;color:#241b38;font-family:inherit;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}.gst-amount-input::-moz-placeholder{color:#b1a9bb;font-weight:600}.gst-amount-input::placeholder{color:#b1a9bb;font-weight:600}.gst-target-note{margin-top:5px;color:#928a9d;font-size:8px;line-height:1.35}.gst-breakdown{margin-top:14px;overflow:hidden;border:1px solid #e8e3ed;border-radius:13px;background:#fcfbfd}.gst-breakdown-row,.gst-tax-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #eeeaf2}.gst-breakdown-row span{color:#756d80;font-size:10px;font-weight:600}.gst-breakdown-row strong,.gst-tax-option>strong{color:#32283f;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.gst-tax-option-left{display:flex;align-items:center;gap:9px}.gst-tax-check{width:22px;height:22px;flex:0 0 22px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;font-size:11px;font-weight:900}.gst-tax-check-fixed{background:#ede9fe;color:#6d28d9}.gst-tax-name{color:#3d3349;font-size:10px;line-height:1.25;font-weight:800}.gst-tax-name span{color:#847b90;font-weight:700}.gst-tax-note{margin-top:1px;color:#9991a3;font-size:8px;line-height:1.3}.gst-tax-option-toggle{cursor:pointer;transition:background .18s ease}.gst-tax-option-toggle:hover{background:#faf7ff}.gst-tax-option-selected{background:#fbfaff}.gst-tax-checkbox{width:18px;height:18px;margin:0 2px;accent-color:#7c3aed;cursor:pointer}.gst-no-tax{display:flex;align-items:center;gap:9px;padding:12px;border-bottom:1px solid #eeeaf2;background:#f7fff9}.gst-no-tax-icon{width:24px;height:24px;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#dcfce7;color:#15803d;font-size:11px;font-weight:900}.gst-no-tax div{display:flex;flex-direction:column;gap:1px}.gst-no-tax strong{color:#166534;font-size:10px}.gst-no-tax span:last-child{color:#6b8d73;font-size:8px}.gst-total-row{display:grid;grid-template-columns:1fr 1fr;background:#fff}.gst-total-row>div{display:flex;flex-direction:column;gap:2px;padding:11px 12px}.gst-total-row>div+div{border-left:1px solid #eeeaf2}.gst-total-label{color:#81798b;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.gst-total-row strong{color:#342741;font-size:14px;font-weight:850;font-variant-numeric:tabular-nums}.gst-grand-total strong{color:#6d28d9}.gst-insert-note{margin-top:11px;padding:8px 10px;border:1px solid #fde5cf;border-radius:9px;background:#fffaf5;color:#8a5a3d;font-size:9px;line-height:1.45}.gst-modal-error{margin-top:10px;padding:8px 10px;border:1px solid #fecaca;border-radius:9px;background:#fff7f7;color:#b91c1c;font-size:10px;line-height:1.4;font-weight:600}.gst-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:13px;border-top:1px solid #eeeaf2}.gst-modal-cancel,.gst-modal-insert{padding:9px 13px;border-radius:9px;font-family:inherit;font-size:10px;font-weight:800;cursor:pointer}.gst-modal-cancel{border:1px solid #ddd8e5;background:#fff;color:#625a70}.gst-modal-cancel:hover{background:#f8f6fa}.gst-modal-insert{border:1px solid #ea580c;background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;box-shadow:0 4px 10px #ea580c2e}.gst-modal-insert:hover{background:linear-gradient(135deg,#ea580c,#c2410c)}@media (max-width: 760px){.dash-nav-inner{align-items:stretch;flex-direction:column;padding-bottom:10px}.dash-tabs{width:100%}.dash-nav-actions{width:100%;margin-top:6px}.gst-calc-trigger{flex:1;min-width:0}.seq-widget-wrap{flex:1;margin:0}.seq-focus-card{width:100%}.seq-editor-popover{width:min(360px,calc(100vw - 48px));right:0}}.dash-main{flex:1;max-width:1440px;margin:0 auto;width:100%;padding:24px}.split-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}@media (max-width: 1100px){.split-layout{grid-template-columns:1fr}}.split-left,.split-right{min-width:0}.split-left .invoice-form{max-height:calc(100vh - 160px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d1d0e0 transparent}.split-left .invoice-form::-webkit-scrollbar{width:5px}.split-left .invoice-form::-webkit-scrollbar-track{background:transparent}.split-left .invoice-form::-webkit-scrollbar-thumb{background:#d1d0e0;border-radius:999px}.preview-sticky{position:sticky;top:100px}@media (max-width: 1100px){.split-left .invoice-form{max-height:none;overflow-y:visible;overscroll-behavior:auto}}.input{width:100%;border-radius:10px;border:1.5px solid var(--border);background:var(--surface);padding:9px 12px;font-size:13px;outline:none;transition:border-color .2s,box-shadow .2s;font-family:inherit;color:var(--text-primary)}.input:focus{border-color:var(--brand-400);box-shadow:0 0 0 3px #8b5cf61f}.label{display:block;font-size:11px;font-weight:600;color:var(--text-secondary);margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}.invoice-form{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:1px solid var(--border);padding:24px}.form-section{margin-top:22px}.form-section-title{font-size:13px;font-weight:700;color:var(--text-primary);margin-bottom:12px;display:flex;align-items:center;gap:8px}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.col-span-2{grid-column:span 2}.form-actions{margin-top:24px;display:flex;gap:10px}.type-btn-active.type-btn-domestic-active{border-color:var(--brand-500)!important;background:var(--brand-50)!important;box-shadow:0 0 0 1px var(--brand-500),var(--shadow-md)}.type-btn-active.type-btn-domestic-active:before{background:var(--brand-500)}.items-table-wrap{overflow-x:auto}.items-table{width:100%;border-collapse:collapse;font-size:13px}.items-table th{text-align:left;padding:8px 4px;font-size:11px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border)}.items-table td{padding:6px 4px;vertical-align:middle}.items-table .input{border-radius:8px;padding:7px 10px}.btn-icon-sm{width:28px;height:28px;border-radius:6px;border:1px solid var(--border);background:var(--surface);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:14px;color:#999;transition:all .15s;font-family:inherit}.btn-icon-sm:hover{background:#fee2e2;color:#ef4444;border-color:#fca5a5}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 24px;font-size:13px;font-weight:700;border-radius:10px;border:none;cursor:pointer;color:#fff;background:linear-gradient(135deg,var(--brand-600),var(--brand-700));box-shadow:0 2px 8px #7c3aed40;transition:all .2s;font-family:inherit}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c3aed59}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;font-size:13px;font-weight:600;border-radius:10px;border:1.5px solid var(--border);cursor:pointer;background:var(--surface);color:var(--text-secondary);transition:all .2s;font-family:inherit}.btn-ghost:hover{background:#f9f7ff;border-color:var(--brand-200);color:var(--brand-600)}.btn-sm{padding:6px 10px;font-size:12px;border-radius:8px}.type-btn-active{border-color:var(--brand-500)!important;background:var(--brand-50)!important;box-shadow:0 0 0 1px var(--brand-500),var(--shadow-md)}.type-btn-active:before{background:var(--brand-500)}.type-btn-active.type-btn-igst{border-color:var(--orange-600)!important;background:#fff7ed!important;box-shadow:0 0 0 1px var(--orange-600),var(--shadow-md)}.type-btn-active.type-btn-igst:before{background:var(--orange-600)}.type-btn-active.type-btn-foreign{border-color:var(--green-600)!important;background:#ecfdf5!important;box-shadow:0 0 0 1px var(--green-600),var(--shadow-md)}.type-btn-active.type-btn-foreign:before{background:var(--green-600)}.tax-summary{background:#f8f7fd;border-radius:10px;padding:12px 14px;margin-bottom:12px;border:1px solid #eeebf7}.tax-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;padding:4px 0}.tax-auto{font-size:11px;color:#b3aec7;font-style:italic}.roundoff-section{margin-top:12px}.roundoff-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.roundoff-btns{display:flex;gap:6px;padding-bottom:2px}.round-btn{padding:6px 12px;border-radius:8px;border:1.5px solid var(--brand-200);background:var(--brand-50);font-size:12px;font-weight:600;color:var(--brand-600);cursor:pointer;transition:all .15s;font-family:inherit;white-space:nowrap}.round-btn:hover{background:var(--brand-100);border-color:var(--brand-400);transform:translateY(-1px);box-shadow:0 2px 6px #7c3aed1f}.round-btn-clear{border-color:#fca5a5;background:#fef2f2;color:#dc2626}.round-btn-clear:hover{background:#fee2e2;border-color:#f87171}.final-total{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:10px 14px;border-radius:10px;background:linear-gradient(135deg,#1e1b30,#2d2547);color:#fff;font-size:14px;font-weight:800;letter-spacing:.5px}.badge{display:inline-block;padding:2px 8px;border-radius:20px;font-size:10px;font-weight:700}.badge-type{background:var(--brand-100);color:var(--brand-700)}.preview-panel{border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-lg);border:1px solid var(--border);overflow:hidden}.preview-panel-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:linear-gradient(135deg,#1e1b30,#2d2547);color:#fff}.preview-panel-title{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700}.preview-type-badge{font-size:10px;font-weight:700;padding:2px 8px;border-radius:20px}.preview-type-igst{background:#f9731633;color:#fb923c}.preview-type-domestic{background:#8b5cf633;color:#a78bfa}.preview-type-foreign{background:#22c55e33;color:#4ade80}.preview-scroll{max-height:calc(100vh - 160px);overflow-y:auto}.preview-scroll::-webkit-scrollbar{width:4px}.preview-scroll::-webkit-scrollbar-thumb{background:#d1d0e0;border-radius:4px}.inv-preview{padding:28px 24px;font-family:Inter,system-ui,sans-serif;font-size:10px;line-height:1.5;color:#222;background:#fff;position:relative}.inv-preview:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--brand-600),var(--orange-600));z-index:2}.inv-watermark-layer{position:absolute;top:4px;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:0}.inv-watermark-text{position:absolute;display:block;width:190px;color:#c8cbd2;opacity:.36;font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:300;line-height:1;letter-spacing:.9px;white-space:nowrap;transform:rotate(-28deg);transform-origin:left center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.inv-preview>:not(.inv-watermark-layer){position:relative;z-index:1}.inv-logo-row{display:flex;justify-content:flex-end;margin-bottom:8px}.inv-logo{height:36px;width:auto}.inv-title{text-align:center;font-size:16px;font-weight:800;letter-spacing:2px;margin:8px 0 16px;color:#1a1a1a}.inv-info-grid{display:flex;gap:16px;margin-bottom:4px}.inv-info-left{flex:1}.inv-info-right{flex:1;text-align:right}.inv-company{font-weight:700;font-size:12px;margin-bottom:2px;color:#111}.inv-detail{font-size:8.5px;color:#555;margin:1px 0;line-height:1.5}.inv-num{font-weight:700;font-size:11px;color:#111;margin-bottom:2px}.inv-bank-block{margin-top:8px}.inv-bank-title{font-weight:700;font-size:10px;color:#111;margin-bottom:2px}.inv-paypal-block{margin-top:8px}.inv-bill-section{margin-top:12px;padding-top:10px;border-top:1px solid #eee}.inv-to-name{font-weight:700;font-size:10px;color:#111}.inv-link{font-size:8.5px;color:#2563eb;text-decoration:underline}.inv-for{font-weight:700;font-size:10px;color:#111}.inv-table{width:100%;border-collapse:collapse;margin-top:14px;font-size:9px}.inv-th{font-weight:700;font-size:8px;text-transform:uppercase;letter-spacing:.5px;padding:6px;border:1px solid #2a2a2a;background:#f7f6fb;text-align:left;color:#333}.inv-th-right{text-align:right}.inv-td{padding:5px 6px;border:1px solid #ccc;font-size:9px;vertical-align:top}.inv-td-right{text-align:right}.inv-summary-table{width:100%;margin-top:0;font-size:9px;border-collapse:collapse}.inv-sum-label{text-align:right;font-weight:600;padding:5px 10px;color:#333;border-bottom:1px solid #eee}.inv-sum-value{text-align:right;padding:5px 6px;width:100px;color:#111;border-bottom:1px solid #eee}.inv-sum-total .inv-sum-label,.inv-sum-total .inv-sum-value{font-weight:800;font-size:10px;border-top:2px solid #333;border-bottom:2px solid #333;padding:6px 10px;color:#111}.inv-thanks{text-align:center;font-weight:700;color:#e67e22;margin-top:16px;font-size:10px;letter-spacing:.3px}.history-section{animation:fadeUp .3s ease-out}@keyframes fadeUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}@media (max-width: 768px){.stats-grid{grid-template-columns:repeat(2,1fr)}}.stat-card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);padding:16px 18px;display:flex;align-items:center;gap:14px;box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-icon{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}.stat-icon svg{stroke:#fff}.stat-icon-total{background:linear-gradient(135deg,var(--brand-500),var(--brand-700));color:#fff}.stat-icon-domestic{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.stat-icon-igst{background:linear-gradient(135deg,#f97316,#ea580c)}.stat-icon-foreign{background:linear-gradient(135deg,#22c55e,#16a34a)}.stat-value{font-size:22px;font-weight:800;color:var(--text-primary);line-height:1.1}.stat-label{font-size:11px;font-weight:500;color:var(--text-secondary);margin-top:2px}.history-card{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-sm);overflow:hidden}.history-card-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border)}.history-title{font-size:15px;font-weight:700}.loading-dot{font-size:11px;color:var(--text-secondary);animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.history-table-wrap{overflow-x:auto}.history-table{width:100%;border-collapse:collapse;font-size:13px}.history-table th{text-align:left;padding:10px 16px;font-size:11px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;background:#faf9fe;border-bottom:1px solid var(--border)}.history-table td{padding:12px 16px;border-bottom:1px solid #f3f1f9;vertical-align:middle}.history-table tr:hover td{background:var(--brand-50)}.history-table tr:last-child td{border-bottom:none}.client-cell{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-company{color:var(--text-secondary);font-size:12px}.type-badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:10px;font-weight:700;letter-spacing:.5px}.type-badge-igst{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.type-badge-domestic{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.type-badge-foreign{background:#ecfdf5;color:#15803d;border:1px solid #bbf7d0}.download-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:8px;border:1.5px solid var(--border);background:var(--surface);font-size:11px;font-weight:600;color:var(--text-secondary);cursor:pointer;transition:all .15s;font-family:inherit}.download-btn:hover{background:var(--brand-50);border-color:var(--brand-400);color:var(--brand-600)}.reuse-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:8px;border:1.5px solid #ddd6fe;background:#f5f3ff;font-size:11px;font-weight:600;color:var(--brand-600);cursor:pointer;transition:all .15s;font-family:inherit}.reuse-btn:hover{background:var(--brand-100);border-color:var(--brand-400);color:var(--brand-700);transform:translateY(-1px);box-shadow:0 2px 6px #7c3aed26}.empty-state{text-align:center!important;padding:48px 16px!important;color:var(--text-secondary)}.empty-icon{font-size:40px;margin-bottom:8px;opacity:.5}.empty-sub{font-size:12px;color:#b3aec7;margin-top:4px}.toast{position:fixed;bottom:24px;right:24px;z-index:1000;display:flex;align-items:center;gap:10px;padding:14px 20px;border-radius:var(--radius);box-shadow:var(--shadow-lg);cursor:pointer;animation:slideUp .3s ease-out;max-width:380px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.toast-success{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #a7f3d0;color:#065f46}.toast-error{background:linear-gradient(135deg,#fef2f2,#fee2e2);border:1px solid #fca5a5;color:#991b1b}.toast-info{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93c5fd;color:#1e40af}.toast-icon{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0}.toast-success .toast-icon{background:#a7f3d0;color:#065f46}.toast-error .toast-icon{background:#fca5a5;color:#991b1b}.toast-info .toast-icon{background:#93c5fd;color:#1e40af}.toast-title{font-size:13px;font-weight:700}.toast-desc{font-size:12px;opacity:.8;margin-top:1px}@media (max-width: 640px){.form-grid-2{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.header-inner{padding:10px 16px}.dash-main{padding:16px}.gst-modal-backdrop{padding:12px}.gst-modal{padding:15px;border-radius:15px}.gst-context-banner{align-items:flex-start;flex-direction:column;gap:6px}}.line-items-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:10px}.line-items-toolbar .form-section-title{margin-right:auto!important}.calculation-mode-switch{display:inline-flex;align-items:stretch;gap:6px}.calculation-mode-option{min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #ddd7e8;border-radius:9px;background:#fff;color:#5f576b;font-family:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.calculation-mode-option:hover{border-color:#bca8ee;background:#fbf9ff}.calculation-mode-option>span:last-child{display:flex;flex-direction:column;gap:1px}.calculation-mode-option strong{font-size:10.5px;line-height:1.2;font-weight:750}.calculation-mode-option small{color:#91899c;font-size:8.5px;line-height:1.2;font-weight:600}.calculation-mode-dot{width:14px;height:14px;flex:0 0 14px;border:2px solid #c9c2d4;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 3px #fff}.calculation-mode-option-active{border-color:#8b5cf6;background:#f7f4ff;color:#5b21b6;box-shadow:0 0 0 1px #8b5cf614}.calculation-mode-option-active .calculation-mode-dot{border-color:#7c3aed;background:#7c3aed}.calculation-mode-option-active small{color:#7c3aed}.items-table-quantity{min-width:720px}.calculated-amount-input{background:#f7f6fa!important;color:#393143!important;font-weight:700;cursor:default}@media (max-width: 860px){.line-items-toolbar{align-items:flex-start;flex-wrap:wrap}.line-items-toolbar .form-section-title{width:100%}.calculation-mode-switch{flex:1 1 auto;flex-wrap:wrap}}.inv-for{font-size:11px;font-weight:700;text-align:right;color:#111}.row-icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:8px;border:1.5px solid var(--border);background:var(--surface);color:var(--text-secondary);cursor:pointer;vertical-align:middle;transition:all .15s}.row-icon-btn:hover{background:var(--brand-50);border-color:var(--brand-400);color:var(--brand-600)}.row-icon-btn-danger:hover{background:#fef2f2;border-color:#fca5a5;color:#b91c1c}.invoice-edit-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:12px 14px;border:1px solid #fcd34d;border-left:4px solid #d97706;border-radius:10px;background:#fffbeb}.invoice-edit-banner strong{display:block;color:#92400e;font-size:14px}.invoice-edit-banner span{color:#a16207;font-size:12px}.split-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.split-layout.split-layout-preview-hidden{grid-template-columns:minmax(0,1fr) auto}.preview-panel-title{display:flex;align-items:center;gap:8px}.preview-panel-actions{display:flex;gap:6px}.preview-panel-actions button{padding:4px 10px;border:1px solid rgba(255,255,255,.18);border-radius:7px;background:#ffffff0f;color:#fff;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.preview-panel-actions button:hover{background:#ffffff29}.preview-scroll-compact .invoice-preview,.preview-scroll-compact>*{zoom:.78}.preview-show-tab{position:sticky;top:100px;display:inline-flex;align-items:center;gap:6px;padding:10px 12px;border:1px solid var(--brand-200);border-radius:10px;background:var(--surface);color:var(--brand-700);font-family:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer;box-shadow:var(--shadow-sm)}.preview-show-tab:hover{background:var(--brand-50)}.preview-full-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:flex;justify-content:center;padding:24px 12px;background:#0f0c198c;overflow-y:auto}.preview-full-dialog{width:min(900px,100%);height:-moz-max-content;height:max-content;border-radius:14px;background:var(--surface);box-shadow:var(--shadow-lg);overflow:hidden}.preview-full-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--bg-dark);color:#fff}.preview-full-header button{display:inline-flex;border:0;background:transparent;color:#fff;cursor:pointer}.preview-full-body{padding:8px}@media (max-width: 1100px){.split-layout,.split-layout.split-layout-preview-hidden{grid-template-columns:1fr}.preview-show-tab{position:static}}.stat-money .stat-value+.stat-value{margin-top:2px}.summary-strip{display:grid;grid-template-columns:minmax(110px,.6fr) repeat(3,minmax(0,1fr));margin-bottom:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.summary-strip-item{display:flex;flex-direction:column;gap:4px;min-width:0;padding:12px 18px}.summary-strip-item+.summary-strip-item{border-left:1px solid var(--border)}.summary-strip-label{display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.summary-strip-label i{width:7px;height:7px;border-radius:50%}.summary-strip-unpaid .summary-strip-label i{background:#ea580c}.summary-strip-paid .summary-strip-label i{background:#16a34a}.summary-strip-value{color:var(--text-primary);font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.summary-strip-unpaid .summary-strip-value{color:#c2410c}.summary-strip-paid .summary-strip-value{color:#15803d}.summary-strip-5{grid-template-columns:minmax(110px,.6fr) repeat(4,minmax(0,1fr))}.received-invoices-page .summary-strip{margin-bottom:0}@media (max-width: 1100px){.summary-strip-value{font-size:15px}}@media (max-width: 760px){.summary-strip,.summary-strip-5,.summary-strip-6{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-strip-item:nth-child(odd){border-left:0}.summary-strip-item:nth-child(n+3){border-top:1px solid var(--border)}.summary-strip-5 .summary-strip-item:nth-child(5){grid-column:1 / -1}}.past-badge{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:999px;background:#e0f2fe;color:#075985;font-size:10.5px;font-weight:700;vertical-align:middle}.past-invoice-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;margin-top:12px}.past-invoice-fields label{display:grid;gap:5px;font-size:12.5px;font-weight:600}.past-invoice-fields small{color:var(--text-secondary);font-size:11.5px;font-weight:400}.past-invoice-note{margin-top:10px;color:var(--text-secondary);font-size:12px}.past-invoice-error{display:flex;align-items:center;justify-content:space-between;gap:10px}.past-invoice-error button{flex:0 0 auto;padding:6px 10px;border:1px solid currentColor;border-radius:8px;background:#fff;color:inherit;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}@media (max-width: 640px){.past-invoice-fields{grid-template-columns:1fr}}.dash-tab{white-space:nowrap}.inv-table td{overflow-wrap:anywhere}.doc-mode{margin-bottom:18px}.doc-mode-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:3px;border:1px solid #e6e1ef;border-radius:10px;background:#f7f5fa}.doc-mode-tab{min-width:0;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:#6b6477;font-family:inherit;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.doc-mode-tab:hover{color:#2e2637}.doc-mode-tab.is-active{background:#fff;color:var(--brand-700);box-shadow:0 1px 3px #2518311f}.doc-mode-hint{margin-top:7px;color:var(--text-secondary);font-size:12px;line-height:1.45}.invoice-type-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 14px;margin-bottom:4px}.invoice-type-field{display:flex;flex-direction:column;gap:5px;min-width:0}.invoice-type-label{color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.invoice-type-switch{display:inline-flex;gap:2px;padding:3px;border:1px solid #e6e1ef;border-radius:10px;background:#f7f5fa}.invoice-type-option{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#6b6477;font-family:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}.invoice-type-option:hover{color:#2e2637}.invoice-type-option.is-active{background:#fff;box-shadow:0 1px 3px #2518311f}.invoice-type-option.is-domestic{color:var(--brand-700)}.invoice-type-option.is-foreign{color:#047857}.invoice-type-option.is-igst{color:#c2410c;cursor:default}.invoice-type-select{width:auto;min-width:200px;height:42px;padding-top:0;padding-bottom:0}.invoice-type-static{display:inline-flex;align-items:center;height:42px;font-size:13px;font-weight:600}.invoice-type-note{flex:1 1 100%;color:var(--text-muted);font-size:11.5px}.form-action-bar{position:sticky;bottom:-24px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px -24px -24px;padding:14px 24px;border-top:1px solid var(--border);border-radius:0 0 var(--radius-lg) var(--radius-lg);background:#fffffff7;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.form-action-bar-main{display:flex;align-items:center;gap:14px;min-width:0}.form-action-bar .btn-primary,.form-action-bar .btn-ghost{min-height:42px}.send-email-toggle{display:inline-flex;align-items:center;gap:9px;min-width:0;color:var(--text-primary);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.send-email-toggle input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:var(--primary)}.send-email-toggle span{display:flex;flex-direction:column;min-width:0;line-height:1.25}.send-email-toggle strong{font-size:12.5px;font-weight:700}.send-email-toggle small{max-width:200px;overflow:hidden;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.send-email-toggle.is-disabled{opacity:.55;cursor:not-allowed}@media (max-width: 640px){.doc-mode-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-type-field,.invoice-type-select{width:100%}.invoice-type-switch{display:flex}.invoice-type-option{flex:1 1 0;justify-content:center}.form-action-bar{position:static;flex-wrap:wrap;padding:12px 24px;-webkit-backdrop-filter:none;backdrop-filter:none}.send-email-toggle{flex:1 1 100%}.form-action-bar-main{flex:1 1 100%;flex-wrap:wrap;justify-content:space-between;order:-1}.form-action-bar-main .btn-primary{flex:1 1 100%}}.row-view-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid #ddd6fe;border-radius:8px;background:#f7f5ff;color:#6d28d9;font-family:inherit;font-size:11.5px;font-weight:700;vertical-align:middle;cursor:pointer;transition:background .16s ease,border-color .16s ease}.row-view-btn:hover{border-color:#a78bfa;background:#ede9fe}.history-table-wrap,.received-table-wrap{position:relative}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.history-table .select-cell{width:44px;padding-right:4px;padding-left:18px}.row-check{width:16px;height:16px;margin:0;vertical-align:middle;accent-color:var(--brand-600);cursor:pointer}.history-table tr.is-selected td{background:#f5f1ff}.history-table .nowrap-cell{white-space:nowrap}.history-actions-head{width:1%}.history-actions-cell{width:1%;white-space:nowrap}.history-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.history-row-actions .row-view-btn,.history-row-actions .invoice-email-action{height:30px;padding:0 10px;font-size:11.5px}.row-more-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #dcd6e8;border-radius:8px;background:#fff;color:#5d5568;cursor:pointer;transition:background .15s ease,border-color .15s ease}.row-more-btn:hover,.row-more-btn.is-open{border-color:#a78bfa;background:#f5f1ff;color:var(--brand-700)}.row-menu{position:fixed;z-index:1000;min-width:200px;padding:6px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 12px 32px #1e143229}.row-menu-item{display:flex;align-items:center;gap:10px;width:100%;height:36px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--text-primary);font-family:inherit;font-size:13px;font-weight:500;text-align:left;cursor:pointer}.row-menu-item:hover,.row-menu-item:focus-visible{outline:0;background:var(--brand-50)}.row-menu-icon{display:inline-flex;width:16px;justify-content:center;color:var(--text-secondary)}.row-menu-item.is-danger{margin-top:4px;border-top:1px solid var(--border);border-radius:0 0 8px 8px;color:#b91c1c}.row-menu-item.is-danger .row-menu-icon{color:#b91c1c}.row-menu-item.is-danger:hover{background:#fef2f2}.selection-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 20px;border-bottom:1px solid #e9e1fb;background:#f5f1ff;color:var(--brand-800, #4c1d95);font-size:13px}.selection-bar-actions{display:flex;align-items:center;gap:8px}.selection-download-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--brand-600);border-radius:8px;background:var(--brand-600);color:#fff;font-family:inherit;font-size:12.5px;font-weight:700;cursor:pointer}.selection-download-btn:hover:not(:disabled){background:var(--brand-700)}.selection-download-btn:disabled{opacity:.6;cursor:wait}.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 20px;border-top:1px solid var(--border);background:#fcfbfe}.pager-info{color:var(--text-secondary);font-size:12.5px}.pager-buttons{display:flex;align-items:center;gap:4px}.pager-buttons button{min-width:32px;height:32px;padding:0 10px;border:1px solid #dcd6e8;border-radius:8px;background:#fff;color:#3f3849;font-family:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.pager-buttons button:hover:not(:disabled){border-color:#a78bfa;background:#f5f1ff}.pager-buttons button.is-current{border-color:var(--brand-600);background:var(--brand-600);color:#fff}.pager-buttons button:disabled{opacity:.45;cursor:not-allowed}.pager-gap{padding:0 4px;color:var(--text-muted)}.required-star{color:#dc2626}.project-picker{display:flex;gap:8px}.project-picker .input{flex:1 1 auto;min-width:0}.project-new-btn{flex:0 0 auto;padding:0 14px;border:1px solid #ddd6fe;border-radius:10px;background:#f7f5ff;color:var(--brand-700);font-family:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}.project-new-btn:hover{border-color:#a78bfa;background:#ede9fe}.project-hint{margin-top:5px;color:var(--text-muted);font-size:11.5px;line-height:1.45}.project-hint strong{color:var(--text-secondary)}.project-hint button{padding:0;border:0;background:none;color:var(--brand-700);font-family:inherit;font-size:11.5px;font-weight:700;text-decoration:underline;cursor:pointer}.project-modal{max-width:460px}.project-modal-label{color:var(--text-secondary);font-size:12px;font-weight:700}.project-modal-label span{color:#dc2626}.project-modal-preview{margin:8px 0 4px;color:var(--text-secondary);font-size:12.5px}.project-filter-select{max-width:230px}.received-view-switch{display:inline-flex;gap:2px;padding:3px;border:1px solid #e6e1ef;border-radius:10px;background:#f7f5fa}.received-view-switch button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#6b6477;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.received-view-switch button.is-active{background:#fff;color:var(--brand-700);box-shadow:0 1px 3px #2518311f}.received-view-count{padding:1px 7px;border-radius:999px;background:#ede9fe;color:var(--brand-700);font-size:11px}.vendor-filter-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 20px;border-bottom:1px solid #e9e1fb;background:#f5f1ff}.vendor-filter-bar>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;min-width:0}.vendor-filter-label{color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.vendor-filter-bar strong{font-size:14px}.vendor-filter-meta{color:var(--text-secondary);font-size:12.5px}.vendor-filter-actions{display:flex;flex-wrap:wrap;gap:6px}.vendors-row{cursor:pointer}.vendor-count-pill{display:inline-block;min-width:26px;padding:2px 8px;border-radius:999px;background:#f1eef7;font-size:12px;font-weight:700;text-align:center}.vendor-unpaid{color:#c2410c;font-weight:600}.vendor-muted{color:var(--text-muted)}.list-identity{display:flex;align-items:center;gap:12px;min-width:0}.list-avatar{display:inline-flex;flex:0 0 36px;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f1ecff;color:var(--brand-700);font-size:12px;font-weight:800;letter-spacing:.02em}.list-avatar-vendor{background:#fff1e6;color:#c2410c}.list-identity-text{min-width:0}.list-identity-name{overflow:hidden;color:var(--text-primary);font-size:13.5px;font-weight:700;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.list-identity-sub{margin-top:2px;overflow:hidden;max-width:420px;color:var(--text-secondary);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.list-identity-meta{margin-top:2px;color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.clients-identity-cell .clients-primary{font-size:13.5px}.project-chips{display:flex;flex-wrap:nowrap;gap:4px;max-width:260px}.project-chip{flex:0 1 auto;min-width:0;max-width:120px;padding:3px 9px;overflow:hidden;border:1px solid #e4dcfb;border-radius:999px;background:#f8f5ff;color:#5b21b6;font-size:11.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.project-chip-more{flex:0 0 auto;border-color:#e5e7eb;background:#f3f4f6;color:#4b5563}.pay-summary{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.pay-pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap}.pay-pill-paid{border:1px solid #bbf7d0;background:#ecfdf5;color:#15803d}.pay-pill-unpaid{border:1px solid #fed7aa;background:#fff7ed;color:#c2410c}.pay-amount{color:#9a3412;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.vendor-total{font-size:13.5px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.vendors-table td{padding-top:12px;padding-bottom:12px}.payment-cell{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px}.payment-cell-due{color:#a16207;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.payment-status-writtenoff{border:1px solid #d1d5db;background:#f3f4f6;color:#4b5563}.payment-status-writtenoff:hover{background:#e5e7eb}.payment-modal{max-width:560px}.payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0 14px}.payment-option{position:relative;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e2dcec;border-radius:10px;background:#fff;cursor:pointer}.payment-option input{position:absolute;opacity:0;pointer-events:none}.payment-option strong{display:block;font-size:13px}.payment-option small{display:block;color:var(--text-muted);font-size:11.5px}.payment-option-dot{flex:0 0 14px;width:14px;height:14px;border:2px solid #cbc4d8;border-radius:50%}.payment-option.is-active{border-color:var(--brand-500);background:var(--brand-50)}.payment-option.is-active .payment-option-dot{border-color:var(--brand-600);background:var(--brand-600);box-shadow:inset 0 0 0 2px #fff}.payment-option-written_off.is-active{border-color:#9ca3af;background:#f3f4f6}.payment-option-written_off.is-active .payment-option-dot{border-color:#4b5563;background:#4b5563}.payment-option:has(input:disabled){opacity:.45;cursor:not-allowed}.payment-field{display:grid;gap:6px;margin-bottom:12px}.payment-field textarea{resize:vertical}.payment-remaining{display:block;margin-top:0;color:#a16207;font-size:12px;font-weight:600}.payment-writeoff-note{margin-bottom:12px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb;color:#374151;font-size:12.5px;line-height:1.5}.payment-history{margin:4px 0 6px;padding-top:10px;border-top:1px solid var(--border)}.payment-history-title{margin-bottom:6px;color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.payment-history-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:4px 0;color:var(--text-secondary);font-size:12px}.payment-history-row strong{color:var(--text-primary)}.payment-history-row em{color:var(--text-muted);font-style:normal}.summary-strip-note{margin-left:4px;color:#a16207;font-style:normal;font-weight:600;letter-spacing:0;text-transform:none}.summary-strip-writtenoff .summary-strip-label i{background:#9ca3af}.summary-strip-writtenoff .summary-strip-value{color:#4b5563}.summary-strip-6{grid-template-columns:minmax(110px,.6fr) repeat(5,minmax(0,1fr))}@media (max-width: 640px){.payment-options{grid-template-columns:1fr}.payment-history-row{grid-template-columns:1fr;gap:0}}.gst-suggestion{display:flex;flex:1 1 100%;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:9px 12px;border-radius:10px;font-size:12.5px;line-height:1.45}.gst-suggestion-warn{border:1px solid #fde68a;background:#fffbeb;color:#92400e}.gst-suggestion-info{border:1px solid #c7d2fe;background:#eef2ff;color:#3730a3}.gst-suggestion button{flex:0 0 auto;height:30px;padding:0 12px;border:1px solid currentColor;border-radius:8px;background:#fff;color:inherit;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}.inv-pos{text-align:right}.dash-tab-locked{color:#9a95ab}.dash-tab-locked svg{color:#9a95ab}.create-locked{max-width:560px;margin:48px auto;padding:32px 28px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.create-locked-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#f3efff;color:#6d28d9}.create-locked strong{font-size:16px;color:var(--text-primary)}.create-locked span{font-size:13.5px;line-height:1.55;color:var(--text-secondary)}.create-locked .pc-btn-ghost{margin-top:6px}.amounts-inr{display:inline-flex;flex-direction:column;gap:2px;min-width:0;cursor:help}.amounts-split{color:var(--text-muted);font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.amounts-split em{color:#b45309;font-style:normal}.mv-table .amounts-split{font-size:11px}.payment-cell-age{color:var(--text-muted);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.payment-cell-age.is-overdue{color:#dc2626;font-weight:700}.month-archive-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.month-filter-wrap{display:inline-flex;align-items:center;gap:7px}.month-filter-label{color:var(--text-secondary);font-size:10px;font-weight:700;white-space:nowrap}.month-filter-select{min-width:152px;height:34px;padding:0 30px 0 10px;border:1px solid var(--border);border-radius:9px;outline:0;background:#fff;color:var(--text-primary);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.month-filter-select:hover,.month-filter-select:focus{border-color:var(--brand-400)}.month-filter-select:focus{box-shadow:0 0 0 3px #8b5cf614}.month-download-btn{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid #d7d0e2;border-radius:9px;background:#fff;color:#5f566a;font-family:inherit;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.month-download-btn:hover:not(:disabled){transform:translateY(-1px);border-color:#b9a7eb;background:#f8f5ff;color:var(--brand-700)}.month-download-btn:disabled{opacity:.5;cursor:not-allowed}.history-header-actions,.received-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}@media (max-width: 760px){.history-card-header,.received-list-header{align-items:stretch;flex-direction:column}.history-header-actions,.received-header-actions,.month-archive-controls{width:100%;justify-content:flex-start}.month-filter-wrap{flex:1 1 180px}.month-filter-select{width:100%;min-width:0}}.client-filter-select{min-width:210px}@media (max-width: 760px){.client-filter-select{width:100%;min-width:0}}.payment-status-cell{min-width:132px;white-space:nowrap}.payment-status-display,.payment-status-editor{display:inline-flex;align-items:center;gap:6px}.payment-status-button{height:29px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:78px;padding:0 10px;border-radius:8px;font-family:inherit;font-size:10px;font-weight:750;line-height:1;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease}.payment-status-button:hover{transform:translateY(-1px);box-shadow:0 2px 6px #1f183214}.payment-status-button-edit{display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1;opacity:.78}.payment-status-paid{background:#ecfdf5;color:#15803d;border:1px solid #bbf7d0}.payment-status-paid:hover{background:#dcfce7;border-color:#86efac}.payment-status-unpaid{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.payment-status-unpaid:hover{background:#ffedd5;border-color:#fdba74}.payment-status-partial{background:#fefce8;color:#a16207;border:1px solid #fde68a}.payment-status-partial:hover{background:#fef9c3;border-color:#fcd34d}.payment-status-cancel{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;border:1px solid #ddd6fe;border-radius:7px;background:#fff;color:var(--brand-600);cursor:pointer;font-family:inherit;font-size:14px;line-height:1}.payment-status-cancel:hover:not(:disabled){background:var(--brand-50);border-color:var(--brand-400)}.payment-status-select{height:30px;min-width:82px;padding:0 7px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text-primary);font:inherit;font-size:11px;outline:none}.payment-status-select:focus{border-color:var(--brand-400);box-shadow:0 0 0 2px var(--brand-50)}.payment-status-save{height:30px;padding:0 9px;border:0;border-radius:7px;background:var(--brand-600);color:#fff;font-family:inherit;font-size:10px;font-weight:700;cursor:pointer}.payment-status-save:disabled,.payment-status-cancel:disabled,.payment-status-select:disabled{opacity:.6;cursor:not-allowed}.list-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 20px;border-bottom:1px solid var(--border);background:#faf9fd}.list-search{flex:1 1 260px;min-width:0;height:36px;padding:0 12px;border:1px solid var(--border);border-radius:9px;outline:0;background:#fff;color:var(--text-primary);font-family:inherit;font-size:13px}.list-search:focus{border-color:var(--brand-400);box-shadow:0 0 0 3px #8b5cf614}.list-toolbar .month-filter-select{min-width:140px;height:36px}.list-clear-btn{height:36px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--brand-700);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.list-clear-btn:hover{background:var(--brand-50)}.list-count{margin-left:auto;color:var(--text-secondary);font-size:12px;white-space:nowrap}@media (max-width: 640px){.list-toolbar .month-filter-select{flex:1 1 140px}.list-count{width:100%;margin-left:0}}.month-accountant-email-btn{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid #cfc4f7;border-radius:9px;background:#f5f1ff;color:#5b3fd2;font-family:inherit;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.month-accountant-email-btn:hover:not(:disabled){transform:translateY(-1px);border-color:#ab96ed;background:#ede7ff;color:#4e33bf}.month-accountant-email-btn:disabled{opacity:.55;cursor:not-allowed}.invoice-email-action{height:29px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:1px solid #dcd6e8;border-radius:8px;background:#fff;color:#5d5568;font-family:inherit;font-size:10px;font-weight:700;cursor:pointer;vertical-align:middle;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.invoice-email-action:hover{transform:translateY(-1px);border-color:#bba9ec;background:#f8f5ff;color:#5b3fd2}.invoice-email-action.is-sent{border-color:#cfe9d8;background:#f6fcf8;color:#287a49}.invoice-email-sent-dot{width:6px;height:6px;border-radius:999px;background:#22a35a}.filter-menu{position:relative}.filter-menu-btn{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface, #fff);color:var(--text-primary);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.filter-menu-btn:hover{border-color:#c4b5fd}.filter-menu-btn.is-active{border-color:#8b5cf6;color:#6d28d9;background:#f5f3ff}.filter-menu-count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#7c3aed;color:#fff;font-size:11px;line-height:18px;text-align:center}.filter-menu-panel{position:absolute;top:calc(100% + 6px);right:0;z-index:40;display:flex;flex-direction:column;gap:12px;width:min(340px,calc(100vw - 32px));padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface, #fff);box-shadow:0 12px 32px #110c2e29}.filter-menu-field{display:flex;flex-direction:column;gap:5px;color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.filter-menu-field select{width:100%;text-transform:none;letter-spacing:0}.filter-menu-foot{display:flex;justify-content:flex-end;gap:8px}.filter-menu-done{height:32px;padding:0 14px;border:0;border-radius:8px;background:#7c3aed;color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.selection-bar-info{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap}.selection-bar-info .summary-strip-value{font-size:14px}.selection-bar-info .amounts-inr{flex-direction:row;align-items:baseline;gap:8px}.selection-confirm{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#15803d}.selection-bar .selection-paid-btn{background:#16a34a;border-color:#16a34a}.selection-bar .selection-paid-btn:disabled{opacity:.5;cursor:not-allowed}.history-table thead th{white-space:nowrap}@media (max-width: 760px){.filter-menu-panel{right:auto;left:0}}.client-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:24px;background:#1812247a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.client-modal{width:min(620px,100%);max-height:calc(100vh - 48px);overflow-y:auto;padding:20px;border:1px solid #e5dff0;border-radius:18px;background:#fff;box-shadow:0 24px 70px #1f18323d,0 6px 20px #1f183217;animation:client-modal-in .18s ease-out}.client-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.client-modal-title{color:var(--text-primary);font-size:16px;line-height:1.2;font-weight:800}.client-modal-subtitle{margin-top:3px;color:var(--text-secondary);font-size:10px;line-height:1.4}.client-modal-close{width:30px;height:30px;flex:0 0 30px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:#f6f3fa;color:#716879;font-family:inherit;font-size:18px;line-height:1;cursor:pointer}.client-modal-close:hover{background:var(--brand-100);color:var(--brand-700)}.client-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.client-modal-field label{display:block;margin-bottom:5px;color:var(--text-secondary);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.client-modal-field label span{color:#dc2626}.client-modal-span-2{grid-column:span 2}.client-modal-address{min-height:72px;resize:vertical}.client-modal-error{margin-top:13px;padding:9px 11px;border:1px solid #fecaca;border-radius:9px;background:#fff7f7;color:#b91c1c;font-size:10px;line-height:1.4;font-weight:600}.client-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid #eeeaf3}.client-modal-cancel,.client-modal-save{padding:9px 14px;border-radius:9px;font-family:inherit;font-size:10px;font-weight:800;cursor:pointer}.client-modal-cancel{border:1px solid #ddd7e6;background:#fff;color:#625a70}.client-modal-save{border:1px solid var(--brand-600);background:var(--brand-600);color:#fff;box-shadow:0 3px 9px #7c3aed2b}.client-modal-save:hover:not(:disabled){background:var(--brand-700);border-color:var(--brand-700)}.client-modal-cancel:disabled,.client-modal-save:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 700px){.client-modal-backdrop{padding:12px}.client-modal{padding:16px;border-radius:15px}.client-modal-grid{grid-template-columns:1fr}.client-modal-span-2{grid-column:span 1}}.client-edit-button,.client-delete-button{width:30px;flex:0 0 30px;padding:0}.client-delete-button:hover{border-color:#fecaca!important;background:#fef2f2!important;color:#b91c1c!important}.client-delete-modal{max-width:520px}.client-delete-body{display:grid;gap:12px;padding:4px 0 6px}.client-delete-note{color:var(--text-primary);font-size:13.5px;line-height:1.55}.client-delete-label{color:var(--text-secondary);font-size:12px;font-weight:700}.client-delete-hint{color:var(--text-muted);font-size:12px;line-height:1.5}.client-delete-confirm{border-color:#dc2626!important;background:#dc2626!important}.client-delete-confirm:hover:not(:disabled){background:#b91c1c!important}.bb-no-access{display:grid;gap:10px;max-width:520px;margin:60px auto;text-align:center}@keyframes client-modal-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.lm-loading{flex:1;min-height:calc(100vh - 61px);background:var(--bg);display:grid;place-items:center;font-size:13px;color:var(--text-secondary)}.pcapp-logo{width:38px;height:38px;border-radius:10px;box-shadow:0 2px 8px #0f766e40;flex:none}.pcapp-header .header-left{gap:12px}.pcapp-user{display:flex;align-items:center;gap:12px}.pcapp-user span{display:grid;text-align:right;line-height:1.25}.pcapp-user strong{font-size:13.5px;color:#fff}.pcapp-user small{font-size:11.5px;color:#ffffffa6}html.bbws-rail-full .pcapp-user{display:none}html,body{overflow-x:clip}@media (max-width: 900px){.history-table-wrap,.received-table-wrap,.clients-table-wrap,.client-detail-table-wrap,.lm-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.history-table,.received-table,.client-detail-table,.lm-table,.clients-table-wrap table{min-width:720px}.history-table th,.history-table td,.received-table th,.received-table td,.client-detail-table th,.client-detail-table td,.lm-table th,.lm-table td,.clients-table-wrap th,.clients-table-wrap td{white-space:nowrap}}@media (max-width: 900px){.dash-nav-inner{flex-direction:column;align-items:stretch;padding:0 12px 10px}.dash-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.dash-tabs::-webkit-scrollbar{display:none}.dash-tab{flex:0 0 auto;white-space:nowrap;padding:12px 14px}.dash-nav-actions{width:100%;margin:4px 0 0;flex-wrap:wrap;justify-content:flex-start;gap:8px}.gst-calc-trigger,.seq-widget-wrap{flex:0 0 auto;min-width:0}.dash-main{padding:16px 12px}.lm-user-strip{width:100%;justify-content:flex-end;padding-bottom:4px}}@media (max-width: 640px){.header-inner{padding:10px 12px;gap:10px}.header-logo{height:30px}.header-divider,.header-subtitle{display:none}.header-title{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-left{min-width:0;gap:10px}.header-left>div:last-child{min-width:0}.header-inner:has(.bb-header-actions) .header-left>div:last-child{display:none}.bb-header-actions{gap:8px}.bb-workspace-switch button{padding:6px 10px;font-size:12px}.bb-env-banner{padding:4px 10px;font-size:11px}.gst-calc-trigger-meta,.seq-pill-fy{display:none}.seq-editor-popover{position:fixed;left:12px;right:12px;top:auto;width:auto}}@media (max-width: 640px){.stats-grid,.clients-quick-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:12px;gap:10px}.stat-icon{width:34px;height:34px;flex:0 0 34px}.stat-value{font-size:17px}.stat-label{font-size:12px}}@media (max-width: 640px){.history-card-header,.received-list-header{flex-direction:column;align-items:stretch;gap:10px;padding:14px}.history-header-actions,.received-header-actions,.month-archive-controls{width:100%;flex-direction:column;align-items:stretch}.month-filter-wrap,.month-filter-select,.month-download-btn,.received-upload-trigger{width:100%}.list-toolbar{padding:10px 14px}.list-search{flex-basis:100%}}@media (max-width: 640px){.items-table thead{display:none}.items-table,.items-table tbody{display:block;width:100%}.items-table tr{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;padding:10px;margin-bottom:10px;border:1px solid var(--border);border-radius:10px;background:#faf9fd;position:relative}.items-table td{display:flex;flex-direction:column;gap:4px;padding:0!important;border:0!important}.items-table td[data-label]:before{content:attr(data-label);color:var(--text-secondary);font-size:11px;font-weight:600}.items-table .item-cell-desc{grid-column:1 / -1;padding-right:32px!important}.items-table .item-cell-remove{position:absolute;top:6px;right:6px}.items-table .item-cell-remove:empty{display:none}.line-items-toolbar{flex-wrap:wrap;gap:8px}}@media (max-width: 640px){.gst-modal,.bb-admin-modal,.client-modal,.invoice-file-preview-modal{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:14px}.gst-modal-backdrop,.bb-admin-modal-backdrop,.client-modal-backdrop,.invoice-file-preview-backdrop,.received-modal-backdrop,.lm-activity-modal-backdrop{padding:12px!important;align-items:flex-end}}@media (max-width: 900px){.lm-users-layout{grid-template-columns:minmax(0,1fr)}.lm-users-layout>*,.lm-panel,.history-card,.received-list-card,.split-left,.split-right{min-width:0}}@media (max-width: 640px){.month-archive-controls .month-filter-wrap,.invoice-archive-filter-controls .month-filter-wrap{flex:0 0 auto}.clients-search-wrap{width:100%}.lm-kpi-grid,.lm-kpi-grid-admin,.lm-kpi-grid-user{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
