:root{font-family:Avenir Next,Segoe UI,sans-serif;color:#17232a;background:#f3f6f7;font-synthesis:none;--ink: #0b1f2a;--teal: #007f7a;--teal-dark: #00645f;--income: #15803d;--income-dark: #166534;--expense: #b42318;--expense-dark: #912018;--line: #d7e0e3;--muted: #66757c;--paper: #ffffff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button{font:inherit;border-radius:999px;border:1px solid #b7c5c9;background:#fff;color:var(--ink);cursor:pointer;min-height:36px;padding:0 14px;font-weight:650}input,select{font:inherit;color:inherit;border-radius:10px}button:disabled{cursor:wait;opacity:.58}.app-shell{min-width:0;min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:30px 20px 22px;min-width:0;color:#f7fbfc;background:var(--ink);display:flex;flex-direction:column}.sidebar-home-link{display:block;width:fit-content;margin:0 8px 12px;color:#c8d6da;font-size:.88rem;text-underline-offset:.2em}.sidebar-home-link:hover{color:#fff}.sidebar-home-link:focus-visible{outline:2px solid #69ddd1;outline-offset:4px}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 34px}.brand-mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:var(--ink);background:#69ddd1;font-weight:800}.brand strong,.brand small{display:block}.brand strong{font-size:1rem;letter-spacing:.01em}.brand small,.privacy-note small{color:#a9bdc4;font-size:.75rem;margin-top:3px}nav{display:grid;gap:6px}.nav-item{border:0;border-radius:10px;padding:12px 13px;color:#c8d6da;background:transparent;cursor:pointer;text-align:left;display:flex;align-items:center;justify-content:space-between;font-weight:500;min-height:0}.nav-item:hover,.nav-item.active{color:#fff;background:#173642}.nav-item.active{box-shadow:inset 3px 0 #69ddd1}.advanced-view{display:grid;gap:16px}.advanced-hub-head h2{margin:0 0 6px}.advanced-hub-head p{margin:0;color:var(--muted);max-width:60ch}.advanced-scenario-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.advanced-scenario-card{display:grid;gap:8px;text-align:left;padding:16px 18px;border:1px solid #bdd0d3;border-radius:12px;background:#fff;cursor:pointer;font:inherit;width:auto}.advanced-scenario-card:hover{border-color:#07535b;box-shadow:0 8px 20px #05121814}.advanced-scenario-card strong{color:#05343a;font-size:1.05rem}.advanced-scenario-card span{color:var(--muted);line-height:1.4}.advanced-back{width:auto;justify-self:start}.advanced-panel{display:grid;gap:14px}.advanced-panel-head h2{margin:0 0 6px}.advanced-panel-head p{margin:0;color:var(--muted);max-width:72ch;line-height:1.45}.advanced-card{border:1px solid #bdd0d3;border-radius:12px;background:#fbfefe;padding:16px 18px;display:grid;gap:12px}.advanced-card h2,.advanced-card h3{margin:0;color:#05343a}.advanced-card h2{font-size:1.17em}.exchange-rate-details{margin:0}.exchange-rate-details>div{display:grid;grid-template-columns:minmax(0,min(42%,12rem)) minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--line)}.exchange-rate-details dt{font-weight:650}.exchange-rate-details dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.advanced-help{margin:0;color:var(--muted);line-height:1.45;max-width:72ch}.advanced-file-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.advanced-file-row button{width:auto}.advanced-file-count{color:var(--muted);font-weight:600}.advanced-file-list{margin:0;padding-left:1.2rem;color:#05343a}.advanced-file-list.compact{font-size:.9rem;color:var(--muted)}.advanced-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.advanced-actions button{width:auto;min-height:44px;padding:10px 16px}.advanced-table-wrap{overflow:auto;border:1px solid #bdd0d3;border-radius:8px;background:#fff}.advanced-month-table{width:100%;border-collapse:collapse;font-size:.9rem}.advanced-month-table th,.advanced-month-table td{border-bottom:1px solid #dde8e9;padding:10px 12px;text-align:left;vertical-align:top}.advanced-month-table th{background:#e7f2f2;position:sticky;top:0}.advanced-sub{display:block;color:var(--muted);font-size:.78rem;margin-top:2px}.advanced-warnings{margin:0;padding:10px 12px;background:#fff6e8;border-radius:8px;color:#8a5a12}.advanced-skipped{color:var(--muted);font-size:.88rem}.advanced-skipped ul{margin:6px 0 0;padding-left:1.2rem}.advanced-error{margin:0;padding:10px 12px;border-radius:8px;background:#fde8e8;color:#8a1f1f;font-weight:600}.count{min-width:24px;padding:2px 7px;border-radius:999px;text-align:center;background:#f5a641;color:#291700;font-size:.75rem}.sidebar-tips{margin:18px 4px 0;padding:12px 12px 14px;border:1px solid #28434c;border-radius:12px;background:#12323c;color:#d5e4e8;font-size:.78rem;line-height:1.45}.sidebar-tips-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;color:#9ec0c8;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.sidebar-tips-title{margin:0 0 6px;color:#f7fbfc;font-size:.86rem;font-weight:700}.sidebar-tips-body,.sidebar-tips-empty{margin:0;color:#b7c0c8}.sidebar-tips-body{margin-bottom:10px}.sidebar-tips-empty{color:#8eacb4}.sidebar-tips-drafts{display:grid;gap:6px;margin-bottom:10px}.sidebar-tips-draft{width:100%;min-height:32px;padding:6px 10px;border:1px solid #3a5862;border-radius:999px;background:#0f2a32;color:#e7f4f6;text-align:left;font-size:.75rem;font-weight:600;cursor:pointer}.sidebar-tips-draft:hover{border-color:#69ddd1;color:#fff}.sidebar-tips-next{width:auto;min-height:30px;padding:4px 10px;border:1px solid #3a5862;border-radius:999px;background:transparent;color:#c8d6da;font-size:.72rem;font-weight:650;cursor:pointer}.sidebar-tips-next:hover{color:#fff;border-color:#69ddd1}.sidebar-footer{margin-top:auto;display:grid;gap:12px}.sidebar>.app-version-badge{margin:14px 10px 0;justify-self:start}.sidebar-scan{margin:0 4px;padding:12px 12px 14px;border:1px solid #28434c;border-radius:12px;background:#12323c;color:#d5e4e8;font-size:.78rem;line-height:1.45}.sidebar-scan-head{margin-bottom:8px;color:#9ec0c8;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.sidebar-scan-line,.sidebar-scan-empty,.sidebar-scan-error{margin:0;color:#b7c0c8}.sidebar-scan-line+.sidebar-scan-line{margin-top:4px}.sidebar-scan-error{color:#f5b5ad}.privacy-note{padding:14px 10px 0;border-top:1px solid #28434c;font-size:.875rem}.privacy-note small{display:block;margin-left:16px}.status-dot{display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#69ddd1}main{width:min(1320px,100%);min-width:0;margin:0 auto;padding:34px 42px 60px}.topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow{color:var(--teal-dark);font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.period-selector{display:grid;gap:6px;margin-bottom:8px;max-width:420px}.period-selector>span{color:var(--muted);font-size:.78rem;font-weight:650}.period-selector-row{display:flex;gap:10px;align-items:center}.period-selector select{min-height:44px;width:100%;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.period-gate-badge{flex:none;padding:4px 10px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.period-gate-locked{color:#6b2a12;background:#f8d7c4}.period-gate-reopened{color:#1f4d3a;background:#d7f0e4}.period-window{margin:0}.period-lock-banner,.period-reopen-banner{margin:-8px 0 18px;padding:14px 16px;border-radius:12px;display:flex;gap:16px;align-items:center;justify-content:space-between}.period-lock-banner{border:1px solid #e4b49a;background:#fff4ed}.period-reopen-banner{border:1px solid #9ed5bf;background:#eefaf4}.period-lock-banner p,.period-reopen-banner p{margin:4px 0 0;color:var(--muted);font-size:.88rem}.choice-dialog{width:min(480px,calc(100vw - 32px));max-width:480px;max-height:calc(100vh - 32px);overflow:auto;display:flex;flex-direction:column;gap:0;padding:0;border-radius:14px;background:#fff;box-shadow:0 24px 64px #00000047}.choice-dialog-header{display:grid;gap:10px;padding:24px 24px 0;border:0;background:transparent}.choice-dialog-header h2{margin:0;font-size:1.2rem;line-height:1.3;color:var(--ink)}.choice-dialog-header p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.45}.choice-dialog-body{display:grid;gap:6px;padding:16px 24px 0;margin:0}.choice-dialog-body textarea{width:100%;min-height:88px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit;resize:vertical}.choice-dialog-actions{display:flex;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:10px;margin:0;padding:22px 24px 24px;border-top:0}.choice-dialog-actions button{flex:0 0 auto;width:auto;margin:0;min-height:38px;padding:0 16px;border-radius:999px;font-weight:700;white-space:nowrap}.choice-dialog-actions .primary{background:var(--teal);border-color:var(--teal);color:#fff}.choice-dialog-actions .primary:hover{background:var(--teal-dark);border-color:var(--teal-dark)}@media(max-width:520px){.choice-dialog-actions{flex-wrap:wrap}.choice-dialog-actions button{flex:1 1 auto;white-space:normal}}h1{margin:5px 0 0;font-size:clamp(2rem,4vw,3.25rem);line-height:1;letter-spacing:-.045em;color:var(--ink)}.actions{display:flex;gap:10px}.actions button{min-height:40px;padding:0 16px;border-radius:999px;cursor:pointer;font-weight:700}.primary{border:1px solid var(--teal);background:var(--teal);color:#fff}.primary:hover{background:var(--teal-dark)}.secondary{border:1px solid #b7c5c9;background:#fff;color:var(--ink)}.btn-add-record{border:1px solid var(--teal);background:var(--teal);color:#fff}.btn-add-record:hover:not(:disabled){background:var(--teal-dark);border-color:var(--teal-dark)}.btn-import-expense{border:1px solid var(--expense);background:var(--expense);color:#fff}.btn-import-expense:hover:not(:disabled){background:var(--expense-dark);border-color:var(--expense-dark)}.btn-import-income{border:1px solid var(--income);background:var(--income);color:#fff}.btn-import-income:hover:not(:disabled){background:var(--income-dark);border-color:var(--income-dark)}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.summary-grid article{min-height:128px;padding:20px 14px;background:var(--paper);border:1px solid var(--line);border-radius:13px;min-width:0}.summary-grid span,.summary-grid small{display:block}.summary-grid span{color:var(--muted);font-size:.86rem;font-weight:650}.summary-grid strong{display:block;margin:15px 0 5px;font-size:clamp(1.15rem,1.6vw,1.8rem);color:var(--ink);letter-spacing:-.03em;overflow-wrap:anywhere;white-space:normal}.summary-grid small{color:var(--muted)}.summary-grid .summary-ato-entry{margin-top:-2px;margin-bottom:6px;color:var(--ink);font-weight:700;font-size:.78rem;letter-spacing:.01em}.summary-grid .outcome{background:#dff7f3;border-color:#9eddd5}.summary-grid .outcome strong{color:#005e59}.surface{overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:15px;box-shadow:0 12px 34px #122b350f}.surface-head{min-height:92px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.pending-mapping-card{margin-bottom:16px}.pending-mapping-body{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px}.pending-mapping-body h2{margin:0;font-size:1.05rem}.pending-mapping-body p{margin:6px 0 0;color:var(--muted);font-size:.9rem}.pending-mapping-body button{width:auto;flex:0 0 auto;min-height:40px;padding:0 16px;border-radius:999px;white-space:nowrap}@media(max-width:720px){.pending-mapping-body{flex-direction:column;align-items:stretch}.pending-mapping-body button{width:auto;align-self:flex-start}}h2{margin:0;color:var(--ink);font-size:1.15rem}.surface-head p{margin:5px 0 0;color:var(--muted);font-size:.88rem}.filters{display:flex;padding:4px;border-radius:9px;background:#edf2f3}.filters button{min-width:4.5rem;padding:6px 11px;border:0;border-radius:7px;color:#52636a;background:transparent;cursor:pointer;font-size:.82rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1.15}.filters button.selected{color:var(--ink);background:#fff;box-shadow:0 1px 4px #0b1f2a1f;font-weight:700}.filters button.filter-failed-alert,.filters button.filter-failed-alert.selected{color:#b42318}.filter-label{white-space:nowrap}.filter-failed-label{color:#b42318;font-weight:800}.filter-count{color:#6a7a80;font-size:.78rem;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.filters button.selected .filter-count{color:var(--ink)}.filter-count.is-review{color:#b54708;font-weight:800}.filters button.selected .filter-count.is-review{color:#b54708}.filter-count.is-failed,.filter-failed-count{color:#b42318;font-weight:900}.filters button.selected .filter-count.is-failed,.filters button.selected .filter-failed-label{color:#b42318}.record-list-surface{position:relative}.record-table-scroll{max-height:min(56vh,640px);overflow:auto;overscroll-behavior:contain}.record-bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 16px 0;padding:10px 12px;border:1px solid #d7e2e6;border-radius:10px;background:#f4f8f9}.record-bulk-count{margin-right:auto;font-size:.9rem;font-weight:700;color:#2f4a52}.record-bulk-bar .danger-button,.record-bulk-bar .secondary{width:auto;min-height:34px;padding:0 14px}.record-bulk-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:#0512188c}.record-bulk-backdrop .choice-dialog{width:min(440px,100%);box-shadow:0 24px 64px #00000059}.record-select{display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:36px;margin:0;cursor:pointer}.record-select input{width:16px;height:16px;margin:0;accent-color:#0f6b63;cursor:pointer}.record-row{width:100%;min-height:56px;padding:0 16px;border:0;border-bottom:1px solid #e6ecee;background:#fff;color:inherit;text-align:left;display:grid;grid-template-columns:36px minmax(0,1fr) 150px;align-items:center;gap:10px}.record-row.is-selected{background:#f0faf8}.record-open{width:100%;min-height:56px;padding:8px 0;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;display:grid;grid-template-columns:88px 104px minmax(140px,1.4fr) 120px 100px 110px;align-items:center;gap:10px;cursor:pointer;font-weight:400}.record-open:hover{background:#f8fbfb}.record-open>span{min-width:0}.record-open>span:nth-child(3) strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-open>span:nth-child(4),.record-open>span:nth-child(5){font-variant-numeric:tabular-nums;overflow-wrap:anywhere}button.record-row{cursor:pointer}button.record-row:hover{background:#f8fbfb}.record-row.headings{position:sticky;top:0;z-index:5;min-height:40px;color:#6a7a80;background:#f6f8f9;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;box-shadow:0 1px #e6ecee;overflow:visible}.record-row.headings .record-open{min-height:40px;padding:0;cursor:default}.record-headings{width:100%;min-height:40px;padding:0;display:grid;grid-template-columns:88px 104px minmax(140px,1.4fr) 120px 100px 110px;align-items:center;gap:10px}.record-sort-btn{display:inline-flex;align-items:center;gap:4px;min-height:28px;width:auto;max-width:100%;margin:0;padding:2px 4px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;cursor:pointer}.record-sort-btn:hover,.record-sort-btn:focus-visible{background:#e8eef0;outline:none}.record-sort-caret{display:inline-block;width:0;height:0;border-left:3.5px solid transparent;border-right:3.5px solid transparent;border-top:5px solid #9aabb0;opacity:.35;flex:0 0 auto}.record-sort-btn.is-asc .record-sort-caret{border-top:0;border-bottom:5px solid #2f4a52;opacity:1}.record-sort-btn.is-desc .record-sort-caret{border-top-color:#2f4a52;opacity:1}.record-row strong,.record-row small{display:block}.record-row small{margin-top:4px;color:var(--muted);font-size:.78rem}.record-party-cell{min-width:0}.record-party-cell .record-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.record-party-line{display:flex;align-items:baseline;gap:0;min-width:0;max-width:100%}.record-party-line strong{display:inline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:0 1 auto}.record-party-line .evidence-filename{display:inline;margin:0;color:#49636d;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto;min-width:0}.record-row .evidence-filename{color:#49636d;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem;overflow-wrap:anywhere}.record-party-heading{position:relative;display:inline-flex;align-items:center;gap:2px;max-width:100%;min-width:0}.record-party-heading.is-filtered .record-party-filter-btn{color:#0f5c56}.record-party-filter-btn{min-width:0}.record-party-filter-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-party-sort-btn{flex:0 0 auto;min-width:22px;padding:2px;justify-content:center}.record-party-filter-pop{position:absolute;top:calc(100% + 4px);left:0;z-index:8;width:min(280px,70vw);padding:10px;border:1px solid var(--line, #cad6d8);border-radius:10px;background:#fff;box-shadow:0 12px 32px #102a2e24;display:grid;gap:8px;text-transform:none;letter-spacing:normal;font-weight:500;color:var(--ink, #102a2e)}.record-party-filter-field input{width:100%;min-height:34px;padding:0 10px;border:1px solid var(--line, #cad6d8);border-radius:8px;font:inherit;font-size:.85rem}.record-party-filter-list{display:grid;gap:2px;max-height:180px;overflow:auto}.record-party-filter-option{width:100%;min-height:32px;margin:0;padding:4px 8px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:.82rem;text-align:left;cursor:pointer}.record-party-filter-option:hover,.record-party-filter-option.is-active{background:#e8f6f3}.record-party-filter-empty{margin:0;padding:6px 4px;color:var(--muted);font-size:.78rem}.record-party-filter-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.record-party-filter-actions button{min-height:30px;padding:0 10px;font-size:.78rem}.record-filter-empty{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:18px 16px;color:var(--muted);font-size:.9rem;border-bottom:1px solid #e6ecee}.intent,.posted,.reviewing{display:inline-block;width:fit-content;padding:4px 7px;border-radius:5px;font-size:.68rem;letter-spacing:.045em}.intent.income{color:#005f59;background:#daf5f0}.intent.expense{color:#814600;background:#fff0d7}.posted{color:#17613b;background:#e1f3e8}.reviewing{color:#864c00;background:#fff0d3}.new-marker{display:block;width:fit-content;margin-top:5px;color:#00645f;font-size:.66rem;font-style:normal;font-weight:800}.loading-screen{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.onboarding{min-height:100vh;max-width:none;padding:48px 20px;display:grid;place-items:center;background:radial-gradient(circle at 15% 10%,rgba(46,183,170,.18),transparent 33rem),linear-gradient(145deg,#e9f2f3,#f8fafb 58%)}.welcome{width:min(760px,100%);padding:44px;border:1px solid #cad8dc;border-radius:22px;background:#fffffff0;box-shadow:0 26px 70px #0b1f2a1f}.welcome-mark{width:48px;height:48px;margin-bottom:26px;display:grid;place-items:center;border-radius:13px;color:var(--ink);background:#69ddd1;font-size:1.3rem;font-weight:900}.welcome h1{max-width:590px;margin:8px 0 16px}.welcome>p{max-width:600px;margin:0 0 26px;color:var(--muted);font-size:1.05rem;line-height:1.65}.setup-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.setup-card{position:relative;min-height:130px;padding:20px;border:1px solid #cbd6d9;border-radius:13px;color:inherit;background:#fff;cursor:pointer;text-align:left}.setup-card:hover{border-color:var(--teal);box-shadow:0 7px 18px #007f7a17}.setup-card strong,.setup-card span{display:block}.setup-card strong{margin-bottom:8px;font-size:1rem}.setup-card span{color:var(--muted);font-size:.86rem;line-height:1.45}.setup-card b{position:absolute;top:12px;right:12px;padding:4px 7px;border-radius:5px;color:#005f59;background:#daf5f0;font-size:.65rem;text-transform:uppercase;letter-spacing:.04em}.linked-setup{margin-top:20px;padding:24px;border:1px solid #95d5cd;border-radius:15px;background:#f0faf8}.recommendation-line{margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.recommendation-line strong{padding:5px 8px;border-radius:6px;color:#005f59;background:#d5f2ed;font-size:.72rem;letter-spacing:.035em;text-transform:uppercase}.recommendation-line span{color:#496269;font-size:.8rem}.linked-setup h2{margin-bottom:8px;font-size:1.2rem}.linked-setup>p{margin:0;color:#496269;line-height:1.55}.folder-preview{margin:18px 0;padding:14px 16px;border:1px solid #cae5e1;border-radius:9px;background:#fff;display:grid;gap:6px}.folder-preview strong{color:var(--ink);font-size:.88rem}.folder-preview span{padding-left:18px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.76rem}.folder-preview span:before{content:"↳ ";margin-left:-16px;color:var(--teal)}.setup-primary{min-height:46px;padding:0 18px;border-radius:9px;cursor:pointer;font-weight:750}.linked-setup>small{display:block;margin-top:10px;color:var(--muted);line-height:1.45}.linked-unavailable{margin-top:20px;padding:16px;border:1px solid #e2c99c;border-radius:10px;background:#fffaf0}.linked-unavailable strong,.linked-unavailable span{display:block}.linked-unavailable span{margin-top:4px;color:var(--muted);font-size:.84rem}.existing-actions{margin:16px 0;display:flex;align-items:center;flex-wrap:wrap;gap:14px}.existing-actions .secondary{min-height:42px;padding:0 15px;border-radius:8px;cursor:pointer;font-weight:700}.privacy-copy{display:block;margin-top:25px;color:var(--muted)}.inline-status{color:var(--teal-dark)}.error{color:#9b241b}.field{display:grid;gap:7px}.field>span{color:#4f6067;font-size:.78rem;font-weight:700}.field input,.field select{width:100%;min-height:43px;padding:8px 11px;border:1px solid #bdcbd0;border-radius:8px;background:#fff}.field input:focus,.field select:focus{outline:3px solid rgba(0,127,122,.16);border-color:var(--teal)}.text-action{padding:6px 0;border:0;color:var(--teal-dark);background:transparent;cursor:pointer;font-weight:750}.activity-message{margin:-12px 0 20px;padding:10px 13px;border-left:3px solid var(--teal);color:#365158;background:#e8f5f3;font-size:.86rem}.empty-state{min-height:210px;padding:44px 24px;display:grid;align-content:center;justify-items:center;text-align:center}.empty-state h3{margin:0 0 8px}.empty-state p{margin:0;color:var(--muted)}.failed-list article{min-height:68px;padding:13px 20px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(220px,1fr) 1fr;gap:18px;align-items:center}.failed-list strong,.failed-list small{display:block}.failed-list small,.failed-list span{margin-top:4px;color:var(--muted);font-size:.8rem}.dialog-backdrop{position:fixed;inset:0;z-index:20;padding:12px 16px;display:grid;place-items:center;background:#051218ad}.record-dialog{width:min(1680px,92vw);max-width:none;max-height:calc(100vh - 24px);overflow:hidden;display:flex;flex-direction:column;border-radius:14px;background:#fff;box-shadow:0 30px 90px #00000047}.record-dialog.entry-wide,.record-dialog.unified-entry.entry-wide{width:min(1680px,92vw);max-width:none}.record-dialog>header,.record-dialog>header.entry-dialog-header{flex:none;z-index:2;padding:10px 16px;border-bottom:1px solid var(--line);background:#fffffff5;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.record-dialog h2{margin:0;font-size:1.2rem;line-height:1.2}.entry-header-lead{min-width:0;max-width:40%}.entry-header-lead p{margin:2px 0 0;color:var(--muted);font-size:.8rem}.entry-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:0;flex:1 1 auto}.entry-header-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;width:auto;max-width:100%}.entry-header-actions button,.entry-header-row button{min-height:34px!important;height:34px;padding:0 12px!important;border-radius:999px;font-size:.8rem;width:auto;flex:0 0 auto}.entry-header-source .source-preview-metadata{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.72rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.icon-button{width:36px;height:36px;min-height:36px;padding:0;border:1px solid var(--line);border-radius:999px;color:#51636a;background:#fff;cursor:pointer;font-size:1.35rem;line-height:1}.record-dialog form.entry-shell{flex:1;min-height:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,340px)}.record-dialog form.entry-shell.entry-shell-preview{grid-template-columns:minmax(0,1fr) minmax(420px,560px)}.record-dialog input:not([type=checkbox]):not([type=range]):not([type=radio]),.record-dialog select{height:40px;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;box-sizing:border-box}.record-dialog .form-grid .field>span{display:flex;align-items:flex-end;min-height:1.2em;line-height:1.2}.entry-main{min-height:0;overflow-y:auto;padding:14px 18px 20px}.entry-aside{min-height:0;overflow:visible;padding:14px 14px 12px;border-left:1px solid var(--line);background:#f4faf9;display:flex;flex-direction:column;gap:10px;min-width:0}.entry-aside-top{min-width:0;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:8px;flex:1}.entry-aside h3{margin:0;font-size:1.05rem}.entry-aside-hint{margin:0;color:var(--muted);font-size:.82rem;line-height:1.35}.entry-aside dl{margin:0;display:grid;grid-template-columns:1fr;gap:0;min-width:0}.entry-aside dl>div{display:grid;grid-template-columns:auto minmax(72px,1fr);gap:12px;align-items:baseline;min-width:0;padding:7px 0;border-bottom:1px solid #d7e6e3}.entry-aside dt{color:var(--muted);font-size:.8rem;white-space:nowrap}.entry-aside dd{margin:0;font-weight:650;font-size:.92rem;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-fx-confirm-row{grid-column:1 / -1;min-width:0;margin-top:4px;padding:0;border:0;background:transparent}.entry-fx-check{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;padding:0;border:0;background:transparent;font:inherit;font-size:.86rem;font-weight:600;line-height:1.3;cursor:pointer;border-radius:0;min-height:0;width:100%;max-width:100%;white-space:normal}.entry-fx-check input[type=checkbox]{width:16px;height:16px;min-height:16px;margin:0;flex:0 0 16px;order:0;accent-color:var(--teal)}.entry-fx-check span{flex:1 1 auto;min-width:0;order:1;white-space:normal;overflow-wrap:break-word;word-break:normal}.platform-sale-host{border:0;margin:0;padding:0;min-width:0}.platform-sale-stack,.platform-fee-stack{display:grid;gap:10px;min-width:0}.entry-bank-payout{display:grid;gap:8px}.entry-bank-payout-toggle-row{margin:0;width:fit-content;max-width:100%}.entry-bank-payout-fields{margin:0}.entry-card-title-row{display:inline-flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.entry-card-badge{display:inline-flex;align-items:center;margin:0;padding:2px 8px;border-radius:999px;border:1px solid var(--line, #cad6d8);background:#f3f7f7;color:var(--muted, #4a6469);font-size:.68rem;font-weight:650;letter-spacing:.01em;white-space:nowrap;flex:0 0 auto}.record-bank-payout{display:block;color:#8a4b1f;font-size:.78rem;font-weight:600}.platform-sale-gate{display:grid;gap:8px}.platform-sale-question{margin:0;font-size:.92rem;font-weight:650;line-height:1.35;color:var(--ink, #102a2e)}.platform-sale-gate .platform-open-btn,.platform-open-btn{width:auto;justify-self:start}.platform-sale-section{display:grid;gap:8px}.platform-sale-section>summary.platform-section-summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:0;-webkit-user-select:none;user-select:none}.platform-sale-section>summary.platform-section-summary::-webkit-details-marker{display:none}.platform-section-chevron{flex:0 0 10px;width:10px;height:10px;border-right:2px solid #5b6f76;border-bottom:2px solid #5b6f76;transform:rotate(45deg);transition:transform .15s ease}.platform-sale-section[open]>summary .platform-section-chevron{transform:rotate(-135deg)}.platform-section-body{display:grid;gap:8px;min-width:0}.platform-sale-active-head .entry-card-head{align-items:flex-start}.platform-fee-toolbar{display:grid;gap:8px}.platform-fee-toolbar .platform-remove-btn,.platform-remove-btn,.platform-add-btn,.platform-fee-enter-btn{width:auto;justify-self:start}.platform-remove-btn{min-height:30px;height:30px;padding:0 12px;font-size:.78rem;border-color:#d0b4b0;color:#912018;background:#fff}.platform-remove-btn:hover{background:#fef3f2;border-color:#b42318}.platform-check-list{display:grid;gap:6px;margin:2px 0}.platform-check{justify-content:flex-start;width:100%;max-width:100%;padding:6px 8px;border:1px solid var(--line, #cad6d8);border-radius:8px;background:#f7fbfa}.platform-check input[type=checkbox]{order:0;margin-right:0}.platform-check span{order:1;text-align:left}.platform-deduction-card{border:1px solid var(--line, #cad6d8);border-radius:8px;padding:8px 10px;margin:0;display:grid;gap:8px;min-width:0}.entry-period-mismatch{display:grid;gap:8px;padding:10px 12px;border:1px solid #f0c36d;border-radius:10px;background:#fff8eb}.entry-period-mismatch p{margin:0;color:#7a4e00;font-size:.8rem;line-height:1.4}.entry-period-mismatch button{justify-self:start;min-height:30px!important;height:30px;padding:0 12px!important;font-size:.75rem}.record-period-chip{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;border:1px solid #f0c36d;background:#fff8eb;color:#7a4e00;font-size:.68rem;font-weight:650;font-style:normal;vertical-align:middle;white-space:nowrap}.source-preview-collapsed{padding:10px 12px;border:1px solid #cfe0dd;border-radius:10px;background:#fff}.source-preview-collapsed p{margin:0 0 8px;color:var(--muted);font-size:.78rem;line-height:1.35}.source-preview-collapsed-actions{display:flex;flex-wrap:wrap;gap:8px}.source-preview-panel{display:grid;gap:8px;padding:10px;border:1px solid #cfe0dd;border-radius:10px;background:#fff;min-height:320px}.source-preview-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.source-preview-toolbar h4{margin:0;font-size:.92rem}.source-preview-filename{margin:2px 0 0;color:var(--muted);font-size:.72rem;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-preview-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.source-preview-actions button{min-height:30px!important;height:30px;padding:0 10px!important;font-size:.75rem}.source-preview-page{align-self:center;font-size:.75rem;color:var(--muted);font-variant-numeric:tabular-nums}.source-preview-stage{position:relative;height:min(42vh,420px);min-height:300px;overflow:hidden;border-radius:8px;background:#e8f0ef;cursor:grab;touch-action:none}.source-preview-stage:active{cursor:grabbing}.source-preview-stage canvas,.source-preview-stage img{position:absolute;left:50%;top:50%;transform-origin:center center;max-width:none;-webkit-user-select:none;user-select:none;pointer-events:none}.source-preview-text{margin:0;max-height:min(42vh,420px);min-height:220px;overflow:auto;padding:10px;border-radius:8px;background:#f4f8f8;font-size:.78rem;line-height:1.45;white-space:pre-wrap}.source-preview-fallback{display:grid;gap:8px;justify-items:start;padding:12px}.source-preview-error,.source-preview-loading{margin:0;color:#b42318;font-size:.78rem}.source-preview-loading{color:var(--muted);padding:12px}.entry-aside-actions{flex:none;position:relative;z-index:4;overflow:visible;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px;padding-top:10px;border-top:1px solid #d7e6e3}.entry-aside-actions button{width:auto!important;flex:0 0 auto;min-height:34px!important;height:34px;padding:0 14px!important;border-radius:999px!important;font-size:.84rem;white-space:nowrap}.entry-aside-actions .entry-confirm-btn{min-width:96px;padding:0 18px!important}.entry-secondary-row{display:grid;grid-template-columns:minmax(240px,.92fr) minmax(260px,1.08fr);gap:10px;align-items:start;max-width:none;width:100%}.entry-secondary-row>.entry-payment-card,.entry-secondary-row>.entry-secondary-side{align-self:start;height:auto}.entry-secondary-side{display:grid;gap:8px;min-width:0;align-content:start}.entry-tip-muted{opacity:.85}.entry-refund-check{margin-bottom:4px}.entry-refund-check input[type=checkbox]{min-height:16px!important;height:16px;width:16px}.entry-card{margin:0!important;min-width:0;padding:8px 10px!important}.entry-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px}.entry-card-head .entry-card-title,.entry-card-head h4{margin:0;padding:0;display:block;font-size:.95rem;font-weight:650;line-height:1.25;color:var(--ink, #102a2e)}.entry-card-head h4{font-size:.9rem}.entry-card .form-grid.entry-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.entry-tip{margin:0 0 6px;color:var(--muted);font-size:.78rem;line-height:1.35}.entry-fx-grid,.unified-entry .form-grid.entry-fx-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 10px}.entry-fx-grid .field>input,.entry-fx-grid .field>select{height:36px;min-height:36px;padding:0 10px;border-radius:8px;font-size:inherit}.entry-fx-grid .entry-fx-confirm-row{grid-column:1 / -1;margin-top:2px}.entry-record-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}.entry-record-tools button{width:auto}.entry-business-compact{grid-column:1 / -1}.entry-business-compact .entry-business-controls{display:grid;grid-template-columns:64px minmax(100px,1fr);gap:8px;align-items:center;width:100%;min-height:34px}.entry-business-compact .entry-business-controls input[data-testid=entry-businessPercent],.entry-business-compact .entry-business-controls input:not([type=range]){width:64px;max-width:64px;height:34px;min-height:34px;padding:0 8px;text-align:right;box-sizing:border-box}.entry-business-compact .entry-business-controls input[type=range]{width:100%;min-width:120px;min-height:28px;height:28px;padding:0;margin:0;accent-color:var(--teal, #0d9488)}button.linkish,.linkish{min-height:28px!important;height:auto;padding:0 10px;border:0;border-radius:999px;background:transparent;color:var(--teal-dark, #0a6b63);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;white-space:nowrap}button.linkish:hover{background:#e8f7f3;text-decoration:none}.entry-record-tools .danger-button{border-radius:999px}.entry-record-tools .entry-action-tip:after{left:0;right:auto;bottom:calc(100% + 8px);width:min(320px,70vw);z-index:6}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px;align-items:start}.form-grid .span-4,.unified-entry .form-grid .span-4,.form-grid .wide{grid-column:1 / -1}.form-grid .span-2{grid-column:span 2}.form-grid .span-3{grid-column:span 3}.form-grid .field{display:flex;flex-direction:column;gap:4px;min-width:0}.form-grid .field>span{min-height:1.15em;color:var(--muted);font-size:.74rem;font-weight:650}.form-grid .field>input,.form-grid .field>select{height:40px;min-height:40px;box-sizing:border-box;width:100%;border-radius:10px}.source-candidate-review{flex:none;margin:0;padding:14px 22px;border-bottom:1px solid var(--line);background:#f7fafb;max-height:220px;overflow-y:auto}.source-candidate-review h3{margin:0 0 6px;font-size:1rem}.source-candidate-review p{margin:0 0 10px;color:var(--muted);font-size:.82rem}.source-candidate-review dl{margin:0;display:grid;gap:8px}.source-candidate-review dl>div{display:grid;grid-template-columns:minmax(140px,220px) 1fr;gap:10px;padding-bottom:8px;border-bottom:1px solid #e4ecee}.source-candidate-review dt{color:var(--muted);font-size:.78rem}.source-candidate-review dd{margin:0;font-size:.86rem}.fx-rate-applied{margin:0 0 6px;padding:6px 10px;border:1px solid #b9ded9;border-radius:8px;background:#f0faf8;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.fx-rate-applied p{margin:0;font-size:.82rem;line-height:1.3;color:#365158;flex:1 1 220px;min-width:0}.entry-fx-coverage{margin:0 0 6px;color:var(--muted);font-size:.78rem}.entry-fx-gst-hint{display:block;margin-top:4px;color:var(--muted);font-size:.75rem}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.check-field{padding:13px;border-radius:8px;background:#edf7f5;color:#24454a;font-size:.88rem;line-height:1.45}.check-field input{margin-right:8px}.check-field.bas-include-control{display:flex;align-items:flex-start;gap:12px;padding:18px;font-size:1rem}.check-field.bas-include-control input{width:22px;height:22px;margin-top:3px;flex:none}.check-field.bas-include-control small{display:block;margin-top:6px;color:#496269;font-weight:400}.bas-include{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.78rem;line-height:1.3}.fx-assistant{padding:13px;border:1px solid #b9ded9;border-radius:9px;background:#f0faf8;display:flex;align-items:center;justify-content:space-between;gap:14px}.fx-assistant strong,.fx-assistant span{display:block}.fx-assistant span{margin-top:3px;color:#496269;font-size:.8rem;line-height:1.45}.fx-assistant button{min-height:38px;padding:0 13px;border-radius:7px;white-space:nowrap;cursor:pointer}.record-dialog footer{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:10px}.record-dialog footer .footer-actions{display:flex;gap:10px;margin-left:auto}.danger-button{min-height:34px;padding:0 14px;border:1px solid #b42318;border-radius:999px;background:#fff;color:#b42318;cursor:pointer;font:inherit;font-weight:700}.danger-button:hover{background:#fff1f0}.danger-button:disabled{cursor:not-allowed;opacity:.55}.record-dialog footer button,.bas-period-strip-actions button,.bas-workpaper-actions button{min-height:36px;padding:0 14px;border-radius:999px;cursor:pointer;font-weight:700}.provenance{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.provenance h3{margin:0;font-size:1rem}.provenance p{margin:5px 0 14px;color:var(--muted);font-size:.82rem}.provenance-row{padding:9px 0;display:grid;grid-template-columns:130px minmax(120px,1fr) 190px;gap:12px;border-top:1px solid #edf1f2;font-size:.82rem}.provenance-row span{display:grid;gap:3px}.provenance-row em{font-style:normal;font-weight:650}.provenance-row small{color:var(--muted)}.source-frame{width:100%;height:340px;margin-top:18px;border:1px solid var(--line);border-radius:8px}.review-stack{display:grid;gap:14px}.review-card{padding:25px;border:1px solid #e2c99c;border-radius:14px;background:#fffdfa;box-shadow:0 8px 24px #2c23140d}.review-code{margin-bottom:10px;color:#895100;font-size:.72rem;font-weight:800;letter-spacing:.08em}.review-card>h2{font-size:1.15rem}.review-card>p{color:var(--muted)}.evidence-summary{width:100%;margin:12px 0 18px;padding:14px;border:1px solid #e2d8c7;border-radius:9px;background:#fff;display:grid;grid-template-columns:1fr 2fr auto;gap:16px;text-align:left;cursor:pointer}.evidence-summary span{color:var(--muted)}.review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.review-actions .secondary,.review-actions .primary,.review-actions .danger{min-height:38px;padding:0 13px;border-radius:7px;cursor:pointer;width:auto}.review-delete-confirm{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center}.review-actions .danger{background:#fde8e8;border:1px solid #e2a0a0;color:#8a1f1f}.review-actions .danger:hover{background:#f8d4d4}.bas-report-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.bas-report-tab{width:auto;min-height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--muted);font-weight:650;font-size:.82rem;cursor:pointer}.bas-report-tab.selected{background:#005e59;border-color:#005e59;color:#fff}.fy-tax-workpaper>header.fy-tax-header,.fy-tax-workpaper .fy-tax-header{padding:18px 22px;border-bottom:1px solid var(--line)}.fy-tax-workpaper .fy-tax-header p{margin:6px 0 0;color:var(--muted)}.fy-tax-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;justify-content:space-between;padding:14px 22px;border-bottom:1px solid var(--line);background:#f7fbfa}.fy-tax-fy-field{min-width:min(100%,280px);margin:0}.fy-tax-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px}.fy-tax-toolbar-actions button{width:auto}.fy-tax-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 22px;border-bottom:1px solid var(--line)}.fy-tax-summary>div{display:grid;gap:4px;min-width:0}.fy-tax-summary span{color:var(--muted);font-size:.8rem}.fy-tax-summary strong{font-size:1.15rem;overflow-wrap:anywhere}.fy-tax-bridge{padding:16px 22px;border-bottom:1px solid var(--line)}.fy-tax-bridge h3{margin:0;font-size:1rem}.fy-tax-bridge>p{margin:6px 0 10px;color:var(--muted);font-size:.86rem}.fy-tax-bridge-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.fy-tax-bridge-list li{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:.84rem}.fy-tax-section{padding:12px 22px 16px;border-bottom:1px solid var(--line)}.fy-tax-section>summary{cursor:pointer;font-weight:700;margin-bottom:10px}.fy-tax-bucket{margin-bottom:12px}.fy-tax-bucket-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;font-size:.9rem}.fy-tax-lines{display:grid;gap:6px}.fy-tax-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;width:100%;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.fy-tax-line:disabled{opacity:.7;cursor:default}.fy-tax-line-main{display:grid;gap:2px;min-width:0;flex:1 1 220px}.fy-tax-line-desc,.fy-tax-line-files{color:var(--muted);font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fy-tax-line-meta{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline;justify-content:flex-end;font-size:.8rem;color:var(--muted)}.fy-tax-line-meta strong{color:inherit;font-size:.95rem}.fy-tax-exclusion-list{margin:0;padding-left:1.1rem;font-size:.82rem;color:var(--muted)}.muted{color:var(--muted)}@media(max-width:720px){.fy-tax-summary{grid-template-columns:1fr}.fy-tax-toolbar{align-items:stretch}.fy-tax-toolbar-actions{width:100%}}.bas-period-strip{margin-bottom:12px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}.bas-period-strip-meta{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;min-width:0}.bas-period-strip-meta strong{font-size:.95rem}.bas-period-strip-meta span{color:var(--muted);font-size:.82rem}.bas-period-strip-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.bas-period-strip-actions button{width:auto;min-height:34px;padding:0 12px;font-size:.8rem}.bas-workpaper-actions{display:flex;flex-wrap:wrap;gap:8px;padding:14px 22px;border-bottom:1px solid var(--line);background:#f7fbfa}.bas-workpaper-actions button{width:auto;min-height:36px;padding:0 14px}.bas-workpaper-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;padding:12px 22px;border-bottom:1px solid #e5ebed;font-size:.86rem}.bas-workpaper-meta span{color:var(--muted);margin-right:6px}.bas-adjustments-panel{margin-top:14px}.bas-adjustments-panel>summary{padding:16px 18px;cursor:pointer;font-weight:700}.bas-adjustments-panel>.bas-adjustments-body{padding:0 18px 18px;display:grid;gap:14px}.bas-adjustment-block h3{margin:0 0 4px;font-size:1rem}.bas-adjustment-block>header p,.bas-adjustment-block>p{margin:0 0 10px;color:var(--muted);font-size:.84rem;line-height:1.4}.bas-adjustment-block.external-tax>summary{cursor:pointer;font-weight:650;margin-bottom:8px}.period-presets{display:flex;flex-wrap:wrap;gap:7px}.period-presets button{min-height:36px;padding:0 10px;font-size:.8rem;width:auto}.snapshot-history{margin-top:14px;margin-bottom:0;padding:0}.snapshot-history>summary{padding:16px 18px;cursor:pointer;font-weight:700}.snapshot-history>.snapshot-history-body{padding:0 18px 18px}.snapshot-history header{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.snapshot-history header p{margin:0;color:var(--muted);font-size:.86rem}.snapshot-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.snapshot-actions button,.snapshot-item{min-height:40px;padding:0 13px;border-radius:8px;cursor:pointer;font-weight:700;width:auto}.snapshot-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin-top:14px}.snapshot-item{border:1px solid #b7c5c9;background:#fff;color:var(--ink);text-align:left;display:grid;gap:3px;width:100%}.snapshot-item span{color:var(--muted);font-size:.75rem;font-weight:500}.snapshot-item:hover,.snapshot-item.selected{border-color:var(--teal);background:#effaf8}.snapshot-item:disabled{cursor:not-allowed;opacity:.62}.bas-workpaper>header{padding:18px 22px;border-bottom:1px solid var(--line)}.bas-workpaper>header p{margin:6px 0 0;color:var(--muted)}.bas-row{min-height:58px;padding:0 22px;display:grid;grid-template-columns:1fr 220px 120px;align-items:center;border-bottom:1px solid #e5ebed}.bas-row>*{min-width:0;overflow-wrap:anywhere;white-space:normal}.bas-row.headings{min-height:40px;color:var(--muted);background:#f6f8f9;font-size:.72rem;font-weight:800;text-transform:uppercase}.bas-workpaper>footer{padding:22px;display:flex;justify-content:space-between;align-items:center;color:#005e59;background:#dff7f3}.bas-workpaper>footer strong{font-size:1.6rem}.bas-workpaper>footer>*{min-width:0;overflow-wrap:anywhere;white-space:normal}.period-declaration{margin-top:14px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.period-declaration strong,.period-declaration span{display:block}.period-declaration span{margin-top:4px;color:var(--muted);font-size:.82rem}.period-declaration button{min-height:40px;padding:0 13px;border-radius:8px;cursor:pointer}.contributors{margin-top:14px}.contributors summary{padding:18px 22px;cursor:pointer;color:var(--ink);font-weight:750}.contributors-row{width:100%;min-height:58px;padding:10px 22px;border:0;border-top:1px solid var(--line);background:#fff;display:grid;grid-template-columns:minmax(0,1fr) 180px minmax(170px,.6fr);gap:14px;align-items:center;text-align:left}.contributors button.contributors-row{cursor:pointer}.contributors button.contributors-row:hover{background:#f7fafb}.contributors-row span:first-child b{display:inline-block;min-width:72px;color:var(--teal-dark)}.contributors-row span:nth-child(2){color:var(--muted);font-size:.78rem}.contributors-row strong{text-align:right}.contributors-row>*{min-width:0;overflow-wrap:anywhere;white-space:normal}.warning{padding:13px;border-left:3px solid #c77b10;color:#704506;background:#fff3df}.workspace-view{container-type:inline-size;display:grid;gap:12px}.workspace-view>.error{margin:0}.workspace-topbar{margin-bottom:18px}.workspace-page-heading{width:100%;display:grid;gap:6px 20px}.workspace-period .period-selector{margin-bottom:4px}.workspace-summary-grid,.workspace-main-grid,.workspace-tools-grid{display:grid;gap:12px}.workspace-card,.workspace-overview{min-width:0;align-content:start}.workspace-card-heading{display:grid;gap:4px;overflow-wrap:anywhere}.workspace-view .advanced-help{font-size:.9rem}.workspace-card{gap:10px}.workspace-card-section{display:grid;gap:8px;min-width:0;overflow-wrap:anywhere}.workspace-card-section+.workspace-card-section{border-top:1px solid var(--line);padding-top:12px}.workspace-card h3{font-size:.96rem}.workspace-actions{justify-content:flex-start}.workspace-actions button{max-width:100%;white-space:normal}.workspace-meta{margin:0;color:var(--muted);font-size:.86rem;line-height:1.45}.workspace-backup-warning{margin:0;padding:8px 10px;font-size:.86rem}.workspace-facts{margin:0;display:grid;gap:8px 16px;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-facts>div{min-width:0}.workspace-facts dt{color:var(--muted);font-size:.78rem;font-weight:700}.workspace-facts dd{margin:3px 0 0;font-size:.9rem;overflow-wrap:anywhere}.workspace-facts code{font-size:.81rem}.workspace-settings-fields{display:grid;gap:6px 14px}.workspace-settings-fields .field:not(.checkbox){grid-row:span 3;grid-template-rows:subgrid;min-width:0;align-items:start}.workspace-settings-fields .field>small,.workspace-card .field-check-copy small{color:var(--muted);font-size:.82rem;line-height:1.4}.workspace-settings-fields .field>small{padding-bottom:4px}.workspace-settings-fields .field :is(input,select){min-width:0}.workspace-card .field.checkbox{grid-column:1 / -1;grid-template-columns:20px minmax(0,1fr);gap:8px;margin-top:4px;align-items:start}.workspace-card .field.checkbox input{width:20px;height:20px;min-height:0;margin:1px 0 0}.workspace-card .field-check-copy{display:grid;gap:3px}.workspace-card .field-check-copy small{font-weight:400}@container (min-width: 440px){.workspace-settings-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (min-width: 690px){.workspace-summary-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.workspace-technical{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (min-width: 780px){.workspace-main-grid{grid-template-columns:minmax(0,6fr) minmax(0,5fr)}.workspace-overview .workspace-facts{grid-template-columns:repeat(4,minmax(0,1fr))}}@container (min-width: 1080px){.workspace-settings-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.23fr)}.workspace-settings-fields .field:nth-child(6).checkbox{grid-column:auto;grid-row:span 3;align-self:start}}@media(min-width:641px){.workspace-page-heading{grid-template-columns:minmax(0,1fr) minmax(240px,330px);align-items:center}.workspace-period{grid-column:2}}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:16px;flex-direction:row;align-items:center;gap:16px}.sidebar-home-link{margin-inline:0}.brand{padding:0}.brand small,.privacy-note,.sidebar-tips,.sidebar-scan,.sidebar-footer,.sidebar>.app-version-badge{display:none}nav{display:flex;margin-left:auto}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-dialog,.record-dialog.entry-wide,.unified-entry.entry-wide{width:calc(100vw - 16px);max-width:none;max-height:calc(100vh - 16px)}.record-dialog form.entry-shell,.entry-secondary-row{grid-template-columns:1fr}.entry-header-actions{align-items:stretch}.entry-header-row{justify-content:flex-start}.entry-fx-grid,.unified-entry .form-grid.entry-fx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-aside{border-left:0;border-top:1px solid var(--line);overflow-y:auto;max-height:none}.form-grid,.unified-entry .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .span-2,.form-grid .span-3{grid-column:span 2}.entry-aside dl{grid-template-columns:1fr 1fr}.entry-preview dl{grid-template-columns:repeat(3,minmax(0,1fr))}.record-table{overflow:visible}.record-table-scroll{max-height:min(60vh,560px)}.record-row.headings{min-height:42px;padding:0 12px;grid-template-columns:32px minmax(0,1fr) auto}.record-row{min-width:0;min-height:118px;padding:14px 12px;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:8px}.record-row .bas-include{grid-column:2}.record-open{min-height:0;grid-template-columns:84px minmax(0,1fr) minmax(140px,25%);grid-template-areas:"type party total" "date party gst" "state party gst";align-items:start;gap:5px 10px}.record-open>span:nth-child(1){grid-area:type}.record-open>span:nth-child(2){grid-area:date;color:var(--muted);font-size:.75rem}.record-open>span:nth-child(3){grid-area:party;overflow-wrap:anywhere}.record-open>span:nth-child(4){grid-area:total;text-align:right;font-weight:700}.record-open>span:nth-child(5){grid-area:gst;text-align:right;color:var(--muted);font-size:.78rem}.record-open>span:nth-child(4),.record-open>span:nth-child(5){max-width:100%;overflow-wrap:anywhere;white-space:normal}.record-open>span:nth-child(5):before{content:"GST "}.record-open>span:nth-child(6){grid-area:state}}@media(max-width:640px){main{padding:24px 16px 44px}.sidebar{align-items:stretch;flex-direction:column;overflow-x:visible}.brand{min-width:0}nav{display:grid;width:100%;min-width:0;margin-left:0;grid-template-columns:repeat(2,minmax(0,1fr))}.nav-item{padding:10px}.topbar,.surface-head{align-items:stretch;flex-direction:column}.actions button{flex:1}.summary-grid{grid-template-columns:1fr}.summary-grid article{min-height:112px;padding:15px}.summary-grid strong{font-size:clamp(1rem,4vw,1.45rem)}.filters{overflow-x:auto}.record-table{overflow:visible}.record-table-scroll{max-height:min(58vh,520px)}.record-row.headings{display:none}.record-open{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"type type" "total total" "party party" "date gst" "state state"}.welcome{padding:28px 20px}.linked-setup{padding:18px}.recommendation-line{align-items:flex-start;flex-direction:column;gap:7px}.setup-options,.form-grid,.unified-entry .form-grid{grid-template-columns:1fr}.form-grid .wide,.form-grid .span-2,.form-grid .span-3{grid-column:auto}.entry-aside dl,.entry-preview dl{grid-template-columns:1fr}.entry-aside-actions{flex-wrap:wrap}.provenance-row{grid-template-columns:1fr;gap:4px}.evidence-summary{grid-template-columns:1fr;gap:5px}.bas-row{grid-template-columns:1fr 120px 70px;gap:8px;padding:0 14px;font-size:.84rem}.bas-workpaper-actions{padding:12px 14px}.bas-workpaper>footer{padding:18px 0;align-items:flex-start;flex-direction:column;gap:8px}.bas-workpaper>footer strong{max-width:100%;text-align:left}.contributors-row{grid-template-columns:minmax(0,1fr);gap:8px;align-items:start}.contributors-row span:nth-child(2){display:none}.contributors-row strong{text-align:left}.period-declaration{align-items:stretch;flex-direction:column}.failed-list article{grid-template-columns:1fr;gap:4px}}.unified-entry{position:relative}.unified-entry.entry-wide{max-width:none;width:min(1680px,92vw)}.unified-entry fieldset{border:1px solid var(--line, #cad6d8);border-radius:8px;margin:8px 0;padding:10px 12px;min-width:0}.unified-entry legend{font-weight:650}.unified-entry input,.unified-entry select{min-height:36px}.unified-entry .entry-main{padding:8px 12px 10px}.unified-entry .form-grid{gap:6px 8px}.unified-entry .form-grid .field{gap:3px}.unified-entry fieldset.entry-card{margin:6px 0}.unified-entry .form-grid .field>span{min-height:1.15em;font-size:.74rem;font-weight:650;color:var(--muted)}.unified-entry input:not([type=checkbox]):not([type=range]):not([type=radio]),.unified-entry select{height:34px;min-height:34px;padding:0 10px;border-radius:8px}.entry-fx-grid .field>input,.entry-fx-grid .field>select{height:34px;min-height:34px}.entry-card .entry-tip{margin:0 0 6px;font-size:.78rem}.entry-payment-confirm-strip,[data-testid=entry-payment-confirm-block]{margin:8px 0 0;padding:6px 10px;border:1px solid var(--line, #cad6d8);border-radius:8px;background:#f7fbfa}.entry-payment-card .entry-payment-confirm-strip{width:100%;box-sizing:border-box}.entry-payment-confirm-strip.field-attention,[data-testid=entry-payment-confirm-block].field-attention{border-color:#f3c1bc;background:#fff5f4}[data-testid=entry-payment-confirm-block] .field-attention-msg{margin:4px 0 0;font-size:.74rem;line-height:1.35}.unified-entry summary{min-height:36px;border-radius:999px}.unified-entry button,.entry-drafts button{min-height:34px;border-radius:999px}.unified-entry .payment-shortcuts{display:flex;flex-wrap:wrap;gap:6px;grid-column:1 / -1}.unified-entry .payment-shortcuts button{min-width:0;min-height:30px;height:30px;padding:0 10px;border-radius:999px;font-size:.78rem}.unified-entry .entry-aside-actions button{min-height:34px!important}.unified-entry .field small{line-height:1.5;font-weight:400}.unified-entry .field-attention>span{color:#b42318}.unified-entry .field-attention input,.unified-entry .field-attention select{border-color:#d92d20;box-shadow:0 0 0 1px #d92d202e}.unified-entry .field-attention input:focus,.unified-entry .field-attention select:focus{outline:3px solid rgba(217,45,32,.18);border-color:#d92d20}.unified-entry .required-mark{color:#d92d20;margin-left:.2em;font-weight:800;text-decoration:none}.unified-entry .field-attention-msg{color:#b42318;font-size:.72rem;line-height:1.35;font-weight:600}.entry-attention-list{margin:10px 0 0;padding:8px 10px 8px 1.4em;border-radius:8px;background:#fff5f4;border:1px solid #f3c1bc;color:#b42318;font-size:.78rem;line-height:1.4}.entry-attention-list li+li{margin-top:4px}.entry-fx-confirm-row.field-attention{border:1px solid #f3c1bc;border-radius:8px;padding:6px 8px;background:#fff5f4}.unified-entry .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.unified-entry input,.unified-entry select{width:100%;min-width:0}.unified-entry footer{position:sticky;bottom:0;background:#fff;padding:14px 0 max(14px,env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;gap:10px}.entry-preview{flex:none;background:#eef6f6;padding:10px 12px;border-radius:8px}.entry-preview h4{margin:0 0 6px;font-size:.9rem}.entry-preview p{margin:0 0 6px;font-size:.82rem}.entry-preview dl{display:grid;grid-template-columns:1fr;gap:5px}.entry-preview dl>div{display:grid;grid-template-columns:1fr auto;gap:10px;padding:0;align-items:baseline}.entry-preview dt{color:var(--muted);font-size:.78rem;white-space:nowrap}.entry-preview dd{margin:0;font-variant-numeric:tabular-nums;font-weight:650;font-size:.9rem;text-align:right;white-space:nowrap}.record-dialog.unified-entry{position:relative}.entry-nested-backdrop{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:24px;background:#0512188c;border-radius:inherit}.entry-nested-dialog{width:min(480px,100%);max-width:480px;box-shadow:0 24px 64px #00000059}.entry-nested-dialog.entry-danger-confirm{border:1px solid #f3c0bb}.choice-dialog-actions-stack{display:flex;flex-direction:column;align-items:stretch;align-self:center;gap:10px;box-sizing:border-box;width:61.8%;max-width:100%;margin-inline:auto}.choice-dialog-actions-stack button{flex:0 0 auto;width:100%;box-sizing:border-box;white-space:nowrap}.entry-nested-dialog .danger-button{border-color:#b42318;color:#b42318;background:#fff}.entry-nested-dialog .danger-button:hover{background:#fef3f2}.entry-action-tip{position:relative}.entry-action-tip:after{content:attr(data-tip);position:absolute;left:0;bottom:calc(100% + 8px);width:min(280px,70vw);padding:8px 10px;border-radius:8px;background:#102a2e;color:#f5fbfb;font-size:.75rem;font-weight:500;line-height:1.35;text-align:left;white-space:normal;opacity:0;pointer-events:none;z-index:6;box-shadow:0 8px 20px #102a2e47}.entry-action-tip:hover:after,.entry-action-tip:focus-visible:after{opacity:1}.entry-aside-actions .entry-action-tip:after{left:auto;right:0;width:min(300px,calc(100vw - 48px));max-width:340px}.entry-drafts{margin:0 0 18px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#f7fbfb}.entry-drafts h2{margin:0 0 6px;font-size:1rem}.entry-drafts-hint,.entry-drafts-empty{margin:0 0 10px;color:var(--muted);font-size:.82rem;line-height:1.4;max-width:72ch}.entry-drafts-empty{margin-bottom:0}.entry-drafts button{margin:0 8px 8px 0}@media(max-width:600px){.unified-entry{padding:16px;width:calc(100vw - 16px)}.unified-entry.entry-wide{width:calc(100vw - 16px)}.unified-entry footer button{flex:1 1 120px}}@media(min-width:981px)and (max-width:1280px){.form-grid,.unified-entry .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid .span-2{grid-column:span 2}.form-grid .span-3,.form-grid .span-4{grid-column:1 / -1}.unified-entry .form-grid.entry-details-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.unified-entry .form-grid.entry-fx-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.unified-entry .form-grid.entry-details-grid .span-2{grid-column:span 2}.unified-entry .form-grid.entry-details-grid .span-4{grid-column:1 / -1}}.adjustment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;align-items:start}.adjustment-form>.field{min-width:0}.adjustment-form>.field small{display:block;grid-column:auto;max-width:none;white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.4}.adjustment-form>button{width:auto;justify-self:start;align-self:end}@media(max-width:720px){.adjustment-form,.bas-workpaper-meta{grid-template-columns:1fr}}.adjustment-list,.adjustment-result{display:grid;gap:8px;margin-top:14px}.adjustment-row,.adjustment-result>div{display:flex;flex-wrap:wrap;gap:12px;padding:10px 12px;border:1px solid #c9d6d8;border-radius:8px;background:#f7fbfb}.adjustment-row small{flex-basis:100%;color:var(--muted)}.external-tax summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}.external-tax[open] summary{margin-bottom:10px}.external-tax>p{color:var(--muted);max-width:72ch}.sit-banner{grid-column:1 / -1;padding:10px 20px;background:#d9eced;color:#07535b;border-bottom:1px solid #9fc8cc;font-weight:700;font-size:14px}.welcome>.sit-banner{margin-bottom:20px;border:1px solid #9fc8cc;border-radius:8px}.app-version-badge{display:inline-flex;align-items:baseline;gap:8px;width:auto;margin:2px 10px 0;padding:4px 10px;border:1px solid #28434c;border-radius:999px;background:#12323c;color:#9ec0c8;font-size:.68rem;font-weight:650;letter-spacing:.02em}.app-version-badge .app-version-build{color:#c8d6da;font-variant-numeric:tabular-nums}.welcome .app-version-badge{margin:18px 0 0;background:#0b1f2a;color:#9ec0c8}.mapping-dialog{width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;background:#fff;border:1px solid #9fc8cc;border-radius:12px;box-shadow:0 18px 48px #05121847;padding:20px 22px 18px}.mapping-dialog .dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:0 0 14px}.mapping-dialog .dialog-head h2{margin:0 0 4px}.mapping-dialog .dialog-head p{margin:0;color:var(--muted);font-size:.9rem}.mapping-stepper{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-wrap:wrap;gap:8px}.mapping-step{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #bdd0d3;border-radius:999px;background:#f4f9f9;font:inherit;font-weight:600;color:#07535b;cursor:pointer}.mapping-step.active{background:#07535b;border-color:#07535b;color:#fff}.mapping-step-num{display:inline-grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;background:#ffffff38;font-size:.8rem}.mapping-step:not(.active) .mapping-step-num{background:#d9eced}.mapping-table-wrap{min-width:0}.mapping-table-name{margin:0 0 10px;color:#07535b}.mapping-card{border:1px solid #bdd0d3;border-radius:10px;margin:0 0 14px;padding:16px 16px 14px;background:#fbfefe;min-width:0}.mapping-card h3{margin:0 0 8px;font-size:1.05rem;color:#05343a}.mapping-card-help{margin:0 0 14px;color:var(--muted);max-width:72ch;line-height:1.45}.mapping-card label{display:grid;gap:5px;font-weight:600}.mapping-card select,.mapping-header-jump input{min-height:44px;width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font:inherit;background:#fff}.mapping-header-jump{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0 4px}.mapping-header-jump label{flex:1 1 140px}.mapping-header-jump button{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:8px;font:inherit;cursor:pointer;width:auto}.mapping-table{border:1px solid #bdd0d3;border-radius:8px;margin:18px 0;padding:16px;min-width:0}.mapping-table legend{font-weight:700;color:#07535b}.mapping-table label{display:grid;gap:5px;font-weight:600}.mapping-table select{min-height:44px;width:100%}.mapping-block-reason{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fde8e8;color:#8a1f1f;font-weight:600}.mapping-section-title{grid-column:1 / -1;margin:0 0 4px;font-size:.92rem;font-weight:700;color:#07535b}.mapping-columns{margin:14px 0 0}.mapping-column-list{margin:0;padding:8px 10px;max-height:180px;overflow:auto;list-style:none;display:grid;gap:4px;background:#f4f9f9;border:1px solid #d7e6e7;border-radius:8px;font-size:.86rem}.mapping-column-list li{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.mapping-column-index{flex:0 0 1.75rem;font-variant-numeric:tabular-nums;color:var(--muted)}.mapping-column-name{font-weight:600}.mapping-column-used{color:#07535b;font-size:.8rem}.mapping-roles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:16px 0}.mapping-role-required select{border-color:#c0392b;box-shadow:0 0 0 1px #c0392b33}.mapping-row-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px}.mapping-row-toolbar button{width:auto;min-height:40px;padding:8px 12px}.mapping-row-count{color:var(--muted);font-weight:600;margin-left:auto}.mapping-consolidate{display:flex!important;align-items:flex-start;gap:10px;margin:0 0 12px;padding:10px 12px;border:1px solid #bdd0d3;border-radius:8px;background:#f4f9f9;font-weight:600}.mapping-consolidate input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}.mapping-consolidate span{display:grid;gap:2px}.mapping-consolidate small{font-weight:400;color:var(--muted)}.mapping-row-table-wrap{max-height:280px;overflow:auto;border:1px solid #bdd0d3;border-radius:8px;background:#fff}.mapping-row-table{width:100%;border-collapse:collapse;font-size:.82rem}.mapping-row-table th,.mapping-row-table td{border-bottom:1px solid #dde8e9;padding:7px 8px;text-align:left;white-space:nowrap;max-width:200px;overflow:hidden;text-overflow:ellipsis}.mapping-row-table th{position:sticky;top:0;background:#e7f2f2;z-index:1}.mapping-row-check{width:3.2rem;text-align:center}.mapping-row-off{opacity:.55;background:#f7f7f7}.mapping-auto-skipped{margin-top:10px;color:var(--muted);font-size:.88rem}.mapping-auto-skipped ul{margin:6px 0 0;padding-left:1.2rem}.mapping-preview{margin:12px 0 0}.mapping-preview p{margin:0 0 8px}.mapping-preview table{width:100%;border-collapse:collapse;font-size:.82rem}.mapping-preview th,.mapping-preview td{border:1px solid #bdd0d3;padding:6px 8px;text-align:left;white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis}.mapping-preview th{background:#e7f2f2}.mapping-row-list{max-height:220px;overflow:auto;display:grid;gap:5px;padding:8px;background:#f4f9f9}.mapping-row-list label{display:block;font-weight:400}.mapping-row-list input{margin-right:8px}.mapping-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin-top:16px}.mapping-footer-nav{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.mapping-footer button{width:auto;min-height:44px;padding:10px 16px}.mapping-dialog .dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}@media(max-width:520px){.mapping-stepper{gap:6px}.mapping-step{font-size:.85rem;padding:7px 10px}.mapping-footer{flex-direction:column;align-items:stretch}.mapping-footer-nav{width:100%}.mapping-footer-nav button{flex:1 1 auto}}.invoice-dialog{padding:24px;max-width:760px}.invoice-dialog>header{margin:-24px -24px 20px}.invoice-dialog>label{display:grid;gap:6px;margin:12px 0;font-weight:600}.invoice-dialog input:not([type=checkbox]),.invoice-dialog select{width:100%;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:8px;font:inherit}.invoice-dialog input[type=checkbox]{width:20px;height:20px}.invoice-dialog button{min-height:44px;margin:6px 8px 6px 0;padding:10px 16px;border:1px solid var(--line);border-radius:8px;font:inherit;cursor:pointer}.invoice-dialog button:disabled{opacity:.55;cursor:not-allowed}.invoice-dialog [aria-label="Rust invoice preview"],.invoice-dialog [aria-label="Confirm invoice issue"]{padding:16px;background:#edf7f5;border-radius:8px;margin:16px 0}.invoice-dialog p{overflow-wrap:anywhere}.reconciliation-dialog{width:min(880px,94vw);max-width:none;max-height:calc(100vh - 24px);padding:0;overflow:hidden;display:flex;flex-direction:column}.reconciliation-dialog>header.reconciliation-header,.reconciliation-dialog>.reconciliation-header{flex:none;margin:0;padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:12px;background:#fff}.reconciliation-eyebrow{margin:4px 0 0;color:var(--muted);font-size:.85rem;font-weight:500}.reconciliation-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:16px 20px 24px;-webkit-overflow-scrolling:touch}.reconciliation-footer{flex:none;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid var(--line);background:#f7fafb}.reconciliation-footer button{width:auto;margin:0}.reconciliation-purpose{margin:0 0 16px;padding:14px 16px;border:1px solid #c5ddd9;border-radius:10px;background:#f3faf8}.reconciliation-purpose h3{margin:0 0 8px;font-size:1rem}.reconciliation-purpose>p{margin:0 0 10px;color:#2f4a52;line-height:1.45}.reconciliation-steps{margin:0;padding-left:1.2rem;display:grid;gap:8px;color:#2f4a52;line-height:1.4}.reconciliation-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}.reconciliation-toolbar button{margin:0;width:auto}.reconciliation-session-status{margin:0;flex:1 1 180px;color:var(--muted);font-size:.9rem}.reconciliation-saved{margin:0 0 16px}.reconciliation-balances{background:#edf7f5;padding:16px;margin:0 0 16px;border-radius:8px}.reconciliation-balance-card{margin-top:10px}.reconciliation-confirm{background:#edf7f5;padding:16px;margin:16px 0;border-radius:8px}.reconciliation-dialog fieldset{border:1px solid var(--line);border-radius:8px;padding:16px;margin:16px 0;min-width:0}.reconciliation-dialog fieldset label{display:grid;gap:6px;margin:12px 0}.reconciliation-dialog fieldset label:has(input[type=checkbox]),.reconciliation-dialog .reconciliation-match{display:flex;align-items:center;gap:8px}.reconciliation-dialog [aria-label="Rust reconciliation preview"],.reconciliation-dialog [aria-label="Confirm reconciliation matches"]{background:#edf7f5;padding:16px;margin:16px 0;border-radius:8px}.invoice-dialog [aria-label="Original sale error facts"]>label,.invoice-dialog [aria-label="Original error review"] label{display:block;margin:14px 0;line-height:1.5}.invoice-dialog [aria-label="Original sale error facts"] input[type=checkbox]{vertical-align:middle;margin-right:8px}.invoice-dialog [aria-label="Original error review"] textarea{display:block;width:100%;min-height:96px;padding:10px;border:1px solid var(--line);border-radius:8px;font:inherit}.site-shell{--site-text: #41545c;--site-mint: #69ddd1;color:var(--ink);min-height:100vh;display:flex;flex-direction:column;background:#f3f6f7}.site-shell a{color:var(--teal-dark);text-underline-offset:.22em}.site-shell a:focus-visible,.site-shell button:focus-visible,.site-shell input:focus-visible{outline:3px solid var(--teal);outline-offset:4px}.site-shell h1:focus{outline:none}.site-wrap{width:min(100% - 64px,1200px);margin-inline:auto}.site-shell main{padding:0;flex:1}.site-shell h1,.site-shell h2,.site-shell h3,.site-shell p{margin:0}.site-shell p,.site-shell dd{color:var(--site-text);line-height:1.65}.site-shell h2{font-size:clamp(1.95rem,3.35vw,3.35rem);line-height:1.08;letter-spacing:-.046em}.site-shell .site-kicker{color:var(--teal-dark);font-size:.75rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.site-dot{display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:var(--teal)}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.site-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.site-header-inner{min-height:76px}.site-header nav,.site-footer nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0}.site-header a{color:var(--ink);text-decoration:none}.site-header nav a,.site-footer nav a{font-size:.9rem;font-weight:650}.site-header nav a:hover,.site-footer nav a:hover{text-decoration:underline}.site-brand{display:inline-flex;align-items:center;gap:11px;font-size:1.14rem;font-weight:800}.site-brand .brand-mark{flex:none}.site-header-access{padding:10px 15px;border:1px solid var(--site-mint);border-radius:999px;background:var(--site-mint);font-size:.875rem;font-weight:750}.site-header-access:hover{border-color:var(--teal-dark)}.site-hero{display:grid;grid-template-columns:1fr minmax(0,.95fr);gap:clamp(36px,6vw,90px);align-items:center;padding-block:clamp(64px,7vw,108px)}.site-hero h1{margin:17px 0 22px;font-size:clamp(3.25rem,5.6vw,5.4rem);line-height:.99;letter-spacing:-.067em;max-width:11ch}.site-hero-copy>p:not(.site-kicker){max-width:45ch;font-size:clamp(1rem,1.4vw,1.18rem)}.site-kicker .site-dot,.site-preview .site-dot{margin-right:7px;vertical-align:.06em}.site-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px 23px;margin-top:28px}.site-shell .site-cta{display:inline-flex;justify-content:center;align-items:center;gap:13px;min-height:47px;padding:10px 19px;border:1px solid transparent;border-radius:999px;background:var(--teal-dark);color:#fff;text-decoration:none;font-size:.95rem;font-weight:750}.site-shell .site-cta:hover{background:#004d49}.site-shell .site-cta:disabled{cursor:not-allowed;background:#dbe4e5;color:#4b5d63;opacity:1}.site-text-link{font-size:.93rem;font-weight:700}.site-preview{min-width:0;margin:0;overflow:hidden;border:1px solid #20434c;border-radius:17px;background:var(--ink);box-shadow:0 16px 32px #0b1f2a1f;color:#fff}.site-preview-head,.site-preview figcaption{padding:14px 19px;font-size:.82rem}.site-preview-head,.site-preview-head>span:first-child{display:flex;align-items:center;gap:9px}.site-preview-head{justify-content:space-between;font-weight:700}.site-preview-head>span:last-child,.site-preview figcaption{color:#c8d6da}.site-preview-head .brand-mark{width:25px;height:25px;border:1px solid #46626c;border-radius:7px}.site-preview>img{display:block;width:100%;height:auto;background:#fff}.site-preview .site-dot{background:var(--site-mint)}.site-local{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(28px,6vw,90px);padding:clamp(30px,5vw,68px);border-radius:18px;background:var(--ink);color:#fff}.site-local h2{max-width:15ch;margin:12px 0 20px;color:inherit}.site-local .site-kicker,.site-local a{color:var(--site-mint)}.site-local a{font-weight:700}.site-local a:focus-visible{outline-color:var(--site-mint)}.site-local dl{margin:0}.site-local dl>div+div{margin-top:17px;padding-top:17px;border-top:1px solid #31505b}.site-local dt{font-weight:750}.site-local dd{margin:4px 0 0;color:#c8d6da;font-size:.96rem}.site-features{padding-block:clamp(57px,7vw,96px)}.site-feature-list{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(25px,5vw,76px);margin-top:27px;border-bottom:1px solid var(--line)}.site-feature-list article{border-top:1px solid var(--line);padding:21px 0}.site-feature-list article:last-child{grid-column:1 / -1}.site-feature-list h3{margin-bottom:6px;font-size:1.13rem}.site-feature-list p{max-width:54ch}.site-feature-list article:last-child p{max-width:70ch}.site-bottom{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin-bottom:clamp(55px,7vw,90px);overflow:hidden;border:1px solid var(--line);border-radius:17px;background:var(--line)}.site-bottom section{padding:clamp(24px,3.6vw,48px);background:var(--paper)}.site-bottom section:last-child{background:#e6f2f2;container-type:inline-size}.site-bottom h2{margin:10px 0 14px;font-size:clamp(1.65rem,3vw,2.65rem)}#site-beta-title{font-size:min(clamp(1.65rem,3vw,2.65rem),7.25cqi);white-space:nowrap}.site-bottom p+p,.site-bottom .site-cta{margin-top:16px}.site-footer{background:var(--ink)}.site-footer-inner{display:grid;justify-items:center;gap:24px;padding-block:34px}.site-footer nav{justify-content:center;gap:12px 20px}.site-footer nav a{color:#e0ecee}.site-footer a:focus-visible{outline-color:var(--site-mint)}.site-footer .site-studio-credit{display:inline-flex;align-items:center;gap:13px;color:#fff;text-decoration:none}.site-studio-credit>img{border-radius:12px}.site-studio-signature{display:grid;justify-items:center;gap:4px}.site-studio-signature small{color:#c8d6da;font-size:.75rem}.site-studio-signature img{display:block}.site-studio-signature strong{font-size:.66rem;letter-spacing:.26em;text-transform:uppercase}.site-studio-credit:hover small{text-decoration:underline}.site-shell .site-access,.site-shell .site-policy{padding-block:clamp(32px,6vw,72px)}.site-access{max-width:625px}.site-policy{max-width:810px}.site-back{display:inline-block;margin-bottom:20px;font-weight:700}.site-access-card,.site-policy article{padding:clamp(20px,5vw,46px);border:1px solid var(--line);border-radius:17px;background:var(--paper)}.site-access h1,.site-policy h1{margin:8px 0 15px;font-size:clamp(2.25rem,5vw,3.45rem);line-height:1.03;letter-spacing:-.052em}.site-access-policies{display:flex;flex-wrap:wrap;gap:12px 20px;margin:22px 0;font-weight:750}.site-agreement{display:flex;align-items:flex-start;gap:11px;margin-bottom:22px;padding:15px;border:1px solid #c7dfdf;border-radius:10px;background:#edf6f6;line-height:1.5;cursor:pointer}.site-agreement input{width:1.15rem;height:1.15rem;margin:.13em 0 0;flex-shrink:0;accent-color:var(--teal-dark)}.site-access .site-access-note{margin-top:10px;font-size:.86rem}.site-policy h2{margin:27px 0 7px;font-size:1.3rem;letter-spacing:-.02em}.site-hero-copy>p+p:not(.site-kicker),.site-access-card>p+p,.site-policy p+p{margin-top:10px}.site-policy article>a:last-child{display:inline-block;margin-top:27px}@media(max-width:850px){.site-hero{gap:30px}.site-wrap{width:calc(100% - 40px)}}@media(max-width:690px){.site-header-inner{min-height:64px;flex-wrap:wrap;padding-block:12px;gap:12px}.site-header nav{order:1;width:100%}.site-hero,.site-local,.site-bottom,.site-feature-list{grid-template-columns:minmax(0,1fr)}.site-hero{padding-block:43px}.site-hero h1{font-size:clamp(2.7rem,10.5vw,4rem)}.site-preview{max-width:500px}}@media(max-width:360px){.site-header-access{padding-inline:10px}.site-brand{gap:7px;font-size:1rem}.site-brand .brand-mark{width:32px;height:32px}.site-footer nav{column-gap:8px}}
