:root{color:#163438;background:#f3f6f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:#066f70;text-underline-offset:3px}a:hover{color:#034849}.top{background:#fff;border-bottom:1px solid #d8e4e3;justify-content:space-between;align-items:center;height:72px;padding:0 40px;display:flex}.brand{letter-spacing:-1px;font-size:24px;font-weight:750}.brand span{letter-spacing:.08em;text-transform:uppercase;color:#637d7e;margin-left:10px;font-size:12px}.notice{color:#60461c;background:#fff1ce;border-bottom:1px solid #ecd395;padding:13px 40px;font-size:13px}.shell{max-width:1480px;min-height:75vh;margin:0 auto;display:flex}nav{flex-direction:column;flex-shrink:0;gap:8px;width:205px;padding:32px 20px;display:flex}nav a{border-radius:5px;padding:10px 14px;font-weight:600;text-decoration:none}nav a:hover{background:#e2eded}main{width:100%;min-width:0;padding:38px 34px 60px}.eyebrow{letter-spacing:.15em;color:#6b8385;font-size:11px;font-weight:700}h1{letter-spacing:-.8px;margin:7px 0 27px;font-size:30px}h2{margin:0 0 18px;font-size:18px}p{line-height:1.65}button,.button{color:#fff;cursor:pointer;white-space:nowrap;background:#087373;border:1px solid #087373;border-radius:5px;padding:11px 18px;font-size:14px;font-weight:650;text-decoration:none;display:inline-block}button:hover,.button:hover{color:#fff;background:#05595a}button:disabled{opacity:.45;cursor:not-allowed}.secondary{color:#24565a;background:#fff;border-color:#bfcece}.secondary:hover{color:#143b40;background:#edf4f4}.danger{color:#9b3030}.compact{padding:7px 12px}.card{background:#fff;border:1px solid #d7e2e2;border-radius:7px;margin-bottom:22px;padding:26px;box-shadow:0 2px 4px #173b3b04}.cardhead{justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;display:flex}.cardhead h2{margin:0}.narrow{max-width:650px}.badge{color:#755620;background:#fff1ce;border-radius:30px;padding:6px 11px;font-size:12px;font-weight:650}.badge.active{color:#1c6354;background:#e1f3eb}dl{grid-template-columns:190px 1fr;gap:14px;margin-top:26px;display:grid}dt{color:#667d7f}dd{margin:0;font-weight:550}label{flex-direction:column;gap:7px;margin-bottom:14px;font-size:13px;font-weight:600;display:flex}input,select{color:#173638;background:#fff;border:1px solid #bdcccc;border-radius:4px;width:100%;min-width:0;padding:10px}input:focus,select:focus,button:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #79c3bd}.check{flex-direction:row;align-items:center;gap:10px;margin:20px 0;display:flex}.check input{flex-shrink:0;width:17px;height:17px}.fields{grid-template-columns:1.1fr 1fr 1fr;gap:6px 20px;display:grid}.wide{grid-column:1/-1}.hint,.muted{color:#6b7f80;font-size:12px}.hint{line-height:1.7}.message{background:#e5f1ef;border:1px solid #b9dcd5;border-radius:5px;margin:0 0 20px;padding:16px 20px;line-height:1.6}.message.error{color:#822d23;background:#fff0ed;border-color:#e5b6aa}.actions{flex-wrap:wrap;gap:12px;margin-top:22px;display:flex}.tablewrap{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}th{color:#617b7d;background:#f4f7f7;font-size:12px;font-weight:600}td,th{vertical-align:top;border-bottom:1px solid #e0e8e8;padding:13px 12px}tfoot{font-weight:700}.number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.lines th:first-child{width:42%}.lines td:nth-child(2),.lines td:nth-child(3){width:14%}.lines td:nth-child(4){width:25%}.lines td input,.lines td select{margin-bottom:6px;font-size:13px}.lines td label{font-size:11px}fieldset{border:0;min-width:0;padding:0}.totals{background:#e7efee;border:1px solid #d1dfdd;border-radius:6px;justify-content:flex-end;gap:36px;padding:20px 28px;display:flex}.totals div{color:#577174;font-size:12px}.totals strong{font-variant-numeric:tabular-nums;color:#173b3e;margin-top:5px;font-size:23px;display:block}.filters{align-items:end;gap:14px;margin:24px 0;display:flex}.filters label{flex:1;margin:0}.choices{flex-wrap:wrap;gap:12px;display:flex}.sr{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}footer{color:#7b9091;border-top:1px solid #dae5e4;padding:25px 40px;font-size:12px}@media (max-width:800px){.top{padding:0 20px}.notice{padding:12px 20px}.shell{display:block}nav{flex-flow:wrap;width:100%;padding:12px}main{padding:22px 16px}.fields{grid-template-columns:1fr}.filters{flex-wrap:wrap}.totals{gap:18px;padding:15px}.totals strong{font-size:18px}dl{grid-template-columns:130px 1fr}.lines{min-width:800px}.top>div:last-child{max-width:45%;font-size:12px}}textarea{font:inherit;resize:vertical;border:1px solid #bdcccc;border-radius:4px;width:100%;padding:10px}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:500px;font-size:12px;overflow:auto}summary{cursor:pointer;padding:12px 0;font-weight:600}label:has(>input[type=checkbox]){flex-direction:row;align-items:center;display:flex}input[type=checkbox]{flex-shrink:0;width:18px;height:18px}.wizard{background:#fff;border:1px solid #d7e2e2;border-radius:12px;max-width:760px;margin:0 auto;padding:32px}.wizard h2{margin:28px 0;font-size:29px;line-height:1.25}.wizard-top{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.wizard progress{accent-color:#087373;width:100%;height:6px}.wizard-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0;display:grid}.wizard-options button{white-space:normal;text-align:left;color:#164b4b;background:#f2f8f7;border:2px solid #bdd8d5;width:100%;min-height:64px;font-size:17px}.wizard-options button:hover,.wizard-options button.selected{background:#d9eeea;border-color:#087373}.large-input{padding:18px;font-size:30px}.primary-large{min-height:58px;padding:18px 28px;font-size:18px}.wizard .primary-large{width:100%;margin-top:28px}.text-button{color:#076c6b;white-space:normal;background:0 0;border:0;padding:8px 4px;font-size:14px;text-decoration:underline}.text-button:hover{color:#034849;background:#edf6f4}.field-error{color:#982c20;background:#fff0eb;border-radius:4px;padding:10px;font-size:14px}.purchase-summary article{border-bottom:1px solid #d7e2e2;margin-bottom:20px;padding-bottom:18px}.purchase-summary p{font-size:19px;line-height:1.7}.review-reason{background:#fff3d9;border-radius:6px;padding:16px}.vat-total{font-size:22px;font-weight:700}.expense-row{border-bottom:1px solid #d7e2e2;justify-content:space-between;gap:20px;padding:18px 0;display:flex}@media (max-width:600px){.wizard{padding:20px 14px}.wizard h2{font-size:25px}.wizard-options{grid-template-columns:1fr}.wizard-top{flex-wrap:wrap}.wizard-top button{font-size:12px}.expense-row{flex-direction:column;gap:6px}.purchase-summary p{font-size:17px}}.field-warning{color:#75510c;background:#fff4d8;border-radius:4px;padding:10px;font-size:14px}.vat-page table{max-width:100%;display:block;overflow-x:auto}.vat-page fieldset{border:1px solid #ccd9d9;border-radius:.5rem;margin-top:1.5rem;padding:1rem}.vat-page fieldset label{margin:.75rem 0;display:block}.date-input{flex-wrap:wrap;align-items:flex-start;gap:.75rem;display:flex}.date-input>label:first-child{flex:1;min-width:10rem}.date-input .calendar-input{flex:0 11rem}.calendar-input input{min-height:2.75rem}.date-input{display:block}.date-control{align-items:stretch;display:flex;position:relative}.date-control>input:first-child{padding-right:3rem}.calendar-button{padding:5px 12px;position:absolute;top:0;bottom:0;right:0}.date-control .native-picker{visibility:hidden;opacity:0;pointer-events:none;border:0;width:1px;height:1px;padding:0;position:absolute;bottom:0;right:0}.confirm-dialog{color:inherit;background:var(--surface,#fff);border:1px solid var(--border,#bfcece);border-radius:10px;max-width:min(540px,92vw);padding:28px}.confirm-dialog::backdrop{background:#101b22aa}.theme-choice{margin:0;font-size:11px}.theme-choice select{width:auto;padding:5px}.top{gap:16px;height:auto;min-height:72px}.wizard-top{flex-wrap:wrap}:root{--surface:#fff;--border:#bfcece;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--surface:#252e32;--border:#56676d;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#dbe4e6;background:#1b2428}[data-theme=dark] .top,[data-theme=dark] .card,[data-theme=dark] .wizard,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] .secondary{background:var(--surface);color:#dbe4e6;border-color:var(--border)}[data-theme=dark] a,[data-theme=dark] .text-button{color:#83d3cb}[data-theme=dark] a:hover{color:#b7e9e4}[data-theme=dark] th,[data-theme=dark] .totals,[data-theme=dark] .purchase-summary,[data-theme=dark] .message{color:#e0e9eb;border-color:var(--border);background:#303e43}[data-theme=dark] td,[data-theme=dark] th,[data-theme=dark] footer{border-color:#48595e}[data-theme=dark] .hint,[data-theme=dark] .muted,[data-theme=dark] dt,[data-theme=dark] .eyebrow,[data-theme=dark] .brand span,[data-theme=dark] footer{color:#adbdc2}[data-theme=dark] .notice,[data-theme=dark] .field-warning,[data-theme=dark] .review-reason{color:#f0d5a0;background:#483e29;border-color:#8d784d}[data-theme=dark] .field-error,[data-theme=dark] .message.error{color:#ffbeb1;background:#4c302f;border-color:#a87368}[data-theme=dark] .selected,[data-theme=dark] button:hover,[data-theme=dark] nav a:hover{color:#e4f6f2;background:#335954}[data-theme=dark] .badge.active{color:#b3e4cf;background:#294b40}[data-theme=dark] .totals strong{color:#e0e9eb}[data-theme=dark] :focus-visible{outline-color:#9ce2d8}@media (max-width:800px){.top{flex-wrap:wrap;padding:12px 20px}.top .brand{font-size:22px}.top .theme-choice{flex-direction:row;order:3;align-items:center;gap:10px;width:100%;display:flex}}[data-theme=dark] .wizard-options button{color:#dbe4e6;background:#29383d;border-color:#647b80}[data-theme=dark] .wizard-options button:hover{background:#354d50;border-color:#83d3cb}[data-theme=dark] .wizard-options button.selected{color:#e4f6f2;background:#335954;border-color:#83d3cb}.bank-page{min-width:0;max-width:100%}.bank-page .tablewrap{min-width:0;max-width:100%;margin:1rem 0;overflow-x:auto}.bank-page button{white-space:normal;max-width:100%}.bank-page td .hint{display:block}.bank-page section{min-width:0}:root{--panel:var(--surface);--bg:#f3f6f6;--text:#163438;--accent:#087373}:root[data-theme=dark]{--bg:#1b2428;--text:#dbe4e6;--accent:#83d3cb}.bank-accounts{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;display:grid}.bank-account{margin:0;padding:20px;position:relative}.bank-account.chosen{outline:2px solid var(--accent);outline-offset:2px}.account-select{text-align:left;white-space:normal;border:0;width:100%;padding:0 35px 0 0;color:var(--text)!important;background:0 0!important}.account-select .hint{margin-top:6px;display:block}.bank-balances{grid-template-columns:1fr auto;gap:10px;margin:14px 0 0}.account-menu{z-index:2;position:absolute;top:13px;right:13px}.account-menu summary{cursor:pointer;border-radius:5px;padding:2px 8px;font-size:24px;list-style:none}.account-menu[open]>div{background:var(--panel);min-width:225px;color:var(--text);border:1px solid var(--border);border-radius:6px;padding:12px;position:absolute;top:100%;right:0;box-shadow:0 6px 25px #0003}.account-menu a,.account-menu button{white-space:normal;margin:7px 0;display:block}.import-dialog{border:1px solid var(--border);background:var(--panel);width:1350px;max-width:calc(100vw - 32px);max-height:90vh;color:var(--text);border-radius:8px;padding:26px;overflow:auto}.import-dialog.narrow{width:750px}.import-dialog::backdrop{background:#07181bc4}.work-table{min-width:800px}.work-table small{white-space:normal;display:block}.work-table td{vertical-align:top}.work-table input,.work-table select{min-width:150px;margin:0}.work-table td:first-child input[type=checkbox]{width:20px;min-width:20px}.work-column{background:color-mix(in srgb,var(--accent) 9%,var(--panel));border-left:1px dashed var(--border)}.work-column small{font-weight:400}.source-column{background:var(--bg)}.row-actions{flex-direction:column;gap:8px;min-width:160px;display:flex}.row-actions button{white-space:normal}.unsaved-row .work-column{box-shadow:inset 0 -2px var(--accent)}.bank-page .tablewrap{margin-top:15px}@media (max-width:700px){.bank-accounts{grid-template-columns:1fr}.import-dialog{max-width:calc(100vw - 12px);padding:16px}.simple-work{min-width:0}.simple-work thead{display:none}.simple-work tbody,.simple-work tr,.simple-work td{display:block}.simple-work tr{border:1px solid var(--border);border-radius:6px;margin-bottom:16px;padding:12px}.simple-work td{border:0;padding:6px}.simple-work .row-actions{flex-flow:wrap}.simple-work .row-actions button{flex:1}.simple-work .source-column{background:0 0}}[data-theme=dark] .work-column{background:color-mix(in srgb,var(--accent) 9%,var(--panel))}[data-theme=dark] .badge{color:#f0d5a0;background:#493f29}.queue-table:not(.simple-work){min-width:1750px}.queue-table:not(.simple-work) td,.queue-table:not(.simple-work) th{padding:10px 8px}.queue-table .source-column{white-space:nowrap;min-width:110px}.queue-table .source-column:nth-child(3){white-space:normal;min-width:170px}.queue-table:not(.simple-work) td:last-child,.queue-table:not(.simple-work) th:last-child{z-index:1;background:var(--panel);border-left:1px solid var(--border);min-width:175px;position:sticky;right:0}.queue-table .row-actions button{padding:8px 10px;font-size:12px}.queue-table .work-column input,.queue-table .work-column select{min-width:125px}.simple-work .source-column{white-space:normal}.category-choice{min-width:175px;position:relative}.category-control{position:relative}.category-control input{padding-right:32px}.category-control .clear-choice{min-width:0;padding:5px 7px;font-size:20px;line-height:1;position:absolute;top:3px;right:3px}.category-options{z-index:5;background:var(--panel);width:max-content;min-width:100%;max-width:380px;max-height:240px;color:var(--text);border:1px solid var(--border);border-radius:4px;position:absolute;top:100%;left:0;overflow:auto;box-shadow:0 5px 15px #0003}.category-options [role=option]{cursor:pointer;white-space:normal;padding:10px 12px}.category-options [role=option]:hover,.category-options .highlighted{background:var(--accent);color:var(--panel)}.category-options p{margin:0;padding:8px}.financial-reports{min-width:0;max-width:100%}.financial-reports .tablewrap{max-width:100%;margin:1rem 0;overflow-x:auto}.financial-reports [role=tablist]{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.financial-reports .filters{flex-wrap:wrap}.financial-reports .report-total{border-bottom:2px solid var(--border);font-weight:700}.financial-reports .report-header th{font-weight:750}.financial-reports section{min-width:0}.financial-reports .text-button{text-align:inherit}.opening-value{grid-template-columns:minmax(12rem,1fr) minmax(7rem,12rem);align-items:center;gap:1rem;margin:.45rem 0;display:grid}.opening-value input{background:var(--opening-input,#e9eded);border:1px solid var(--border);text-align:right}.opening h3{margin-top:1.5rem}@media (max-width:480px){.opening-value{grid-template-columns:1fr}.opening-value input{width:100%}}:root[data-theme=dark]{--opening-input:#323e43}.opening-progress{flex-wrap:wrap;gap:.5rem;margin:1rem 0 1.5rem;padding:0;list-style:none;display:flex}.opening-progress button{white-space:normal;margin:0}.opening-progress [aria-current=step]{border:2px solid var(--accent,#087373);text-underline-offset:.25rem;font-weight:700;text-decoration:underline}.opening-grid{grid-template-columns:minmax(0,1fr) minmax(15rem,19rem);align-items:start;gap:2rem;display:grid}.opening-main{min-width:0}.opening-main h2:focus{outline:none}.opening-main h2:focus-visible{outline:2px solid var(--accent,#087373)}.opening-date{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.opening-date select{width:100%}.opening-totals{border:1px solid var(--border);background:var(--surface-alt,var(--opening-input,#e9eded));border-radius:8px;padding:1rem;position:sticky;top:1rem}.opening-totals h2{margin-top:0;font-size:1.2rem}.opening-totals dl{grid-template-columns:1fr auto;gap:.65rem;margin:0;display:grid}.opening-totals dd{text-align:right;white-space:nowrap;margin:0}.opening-group{border:1px solid var(--border);border-radius:8px;margin:1rem 0;padding:.8rem 1rem}.opening-group summary{cursor:pointer;padding:.3rem 0;font-weight:600}.opening-group summary span{font-weight:400}.opening-actions{flex-wrap:wrap;gap:.5rem;margin-top:1.5rem;display:flex}.opening-actions button{margin:0}@media (max-width:800px){.opening-grid{flex-direction:column;display:flex}.opening-main,.opening-totals{box-sizing:border-box;width:100%}.opening-totals{position:static}.opening-steps{padding:1rem}.opening-progress button{padding:.6rem;font-size:.85rem}.opening-date{grid-template-columns:1fr 1fr}.opening-value{grid-template-columns:1fr}.opening-value input{box-sizing:border-box;width:100%}}.opening-steps nav{width:100%;padding:0;display:block}.opening-progress li{min-width:0}.opening-progress button{max-width:100%}.opening-steps button,.opening-steps select,.opening-group summary{min-height:44px}.opening-group summary{align-content:center}.mobile-menu,.opening-mobile-status{display:none}@media (max-width:800px){.mobile-menu{min-height:44px;margin:12px 16px;display:block}.shell>.main-navigation{display:none}.shell>.main-navigation.menu-open{box-sizing:border-box;width:100%;display:flex}.opening-mobile-status{z-index:3;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:5px;margin:0 0 1rem;padding:.6rem .75rem;font-size:.9rem;display:block;position:sticky;top:0}.opening-mobile-status.has-difference{color:#60461c;background:#fff1ce;border-color:#a57c24;font-weight:700}[data-theme=dark] .opening-mobile-status.has-difference{color:#f0d5a0;background:#483e29;border-color:#bca66a}.opening-steps input,.opening-steps button,.opening-steps select{scroll-margin-top:4rem;scroll-margin-bottom:1rem}html{scroll-padding-top:4rem}}.opening-scroll{min-width:0}.opening-locked{border:1px solid var(--border);background:var(--opening-input,#e9eded);border-radius:6px;padding:1rem}.opening-value input:disabled,.opening-date select:disabled{background:var(--opening-input,#e9eded);opacity:1;color:var(--text);cursor:default}@media (max-width:800px){.opening-steps{flex-direction:column;max-height:calc(100dvh - 96px);display:flex}.opening-scroll{overscroll-behavior:contain;min-height:0;scroll-padding:1rem;overflow:auto}.opening-mobile-status{flex-shrink:0;position:static}.opening-scroll input,.opening-scroll button,.opening-scroll select{scroll-margin-top:1rem}.opening-totals{width:100%}}.calendar-dialog{border:1px solid var(--border);background:var(--surface);width:min(420px,94vw);max-height:90dvh;color:var(--text);border-radius:8px;padding:1rem;overflow:auto}.calendar-dialog::backdrop{background:#101b22aa}.calendar-month{align-items:center;gap:.4rem;display:flex}.calendar-month label{flex:1;min-width:0}.calendar-month button{min-width:35px;padding:.5rem}.calendar-dialog table{width:100%;min-width:0}.calendar-dialog td,.calendar-dialog th{text-align:center;padding:2px}.calendar-dialog td button{border-radius:5px;width:100%;min-height:40px;padding:.4rem}.calendar-dialog .selected{border:2px solid var(--accent)}.compact-ledger{padding:1rem}.compact-ledger label{margin:.55rem 0}.compact-date{align-items:center;gap:1rem;margin-bottom:.6rem;display:flex}.compact-date .date-input{max-width:15rem}.compact-ledger .tablewrap{overflow:visible}.compact-lines{table-layout:fixed}.compact-lines th,.compact-lines td{vertical-align:top;padding:.3rem}.compact-lines th:first-child{width:34%}.compact-lines th:nth-child(2),.compact-lines th:nth-child(3){width:13%}.compact-lines th:nth-child(4){width:36%}.compact-lines th:last-child{width:2.5rem}.compact-lines input{width:100%;min-width:0;margin:0;padding:.5rem;font-size:.9rem}.party-inline{align-items:start;gap:.3rem;display:flex}.party-inline>[role=combobox]{flex:1;min-width:4rem}.party-inline>input:not([role]){width:7.4rem}.compact-ledger .compact-description{margin-top:.8rem;display:block}.compact-ledger .source-reference{max-width:25rem;font-size:.82rem;display:block}.shared-party{margin:.6rem 0}.shared-party .party-picker{max-width:34rem}.lookup-popup{z-index:1000;background:var(--surface,#fff);color:var(--text,#253b43);border:1px solid var(--border,#aebfc3);border-radius:.35rem;overflow:auto;box-shadow:0 .4rem 1.2rem #0003}.lookup-popup button{text-align:left;width:100%;color:inherit;background:0 0;border:0;border-radius:0;min-height:2.5rem;padding:.55rem .7rem;font-size:.9rem;display:block}.lookup-popup button:hover,.lookup-popup [aria-selected=true]{background:var(--selected,#dcebed)}.lookup-popup p{margin:0;padding:.4rem .7rem}.lookup-popup .lookup-add{border-top:1px solid var(--border,#aebfc3);font-weight:700}.party-dialog input{width:100%}.compact-ledger .field-error,.compact-ledger .field-warning{margin:0;font-size:.75rem;display:block}:root[data-theme=dark] .lookup-popup{color:#dbe5e7;background:#28353b;border-color:#60727b}:root[data-theme=dark] .lookup-popup button:hover,:root[data-theme=dark] .lookup-popup [aria-selected=true]{background:#38565e}@media (max-width:700px){.compact-ledger{padding:.6rem}.compact-lines{min-width:0}.compact-lines thead{display:none}.compact-lines tbody,.compact-lines tr{display:block}.compact-lines tr{border-bottom:1px solid var(--border,#aebfc3);grid-template-columns:1fr 1fr 2rem;gap:.3rem;padding:.5rem 0;display:grid}.compact-lines td{border:0;padding:0;display:block}.compact-lines td:first-child{grid-column:1/3}.compact-lines td:nth-child(2){grid-area:2/1}.compact-lines td:nth-child(3){grid-area:2/2}.compact-lines td:nth-child(4){grid-area:3/1/auto/3}.compact-lines td:last-child{grid-area:1/3}.compact-lines td:nth-child(2):before{content:"Debet";font-size:.7rem}.compact-lines td:nth-child(3):before{content:"Kredit";font-size:.7rem}.compact-date{gap:.4rem}.party-inline>input:not([role]){width:7rem}.compact-ledger .tablewrap{overflow:visible}.compact-ledger .compact-lines td:nth-child(n){width:auto;min-width:0}}.rule-dialog{width:min(56rem,100vw - 2rem);max-width:56rem;max-height:90dvh;overflow:auto}.rule-dialog fieldset{min-width:0;margin:.6rem 0;padding:.7rem}.rule-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.6rem;display:grid}.rule-dialog select,.rule-dialog input{max-width:100%}.vat-amount-cell label{font-size:.8rem}.vat-amount-cell .hint{white-space:normal;display:block}.compact-ledger .vat-amount-cell select{max-width:100%}.advanced-preview-lines{margin:0;padding:0;list-style:none}.advanced-preview-lines li{border-bottom:1px solid var(--border,#bfcece);grid-template-columns:minmax(0,1fr) 8rem 8rem;gap:.6rem;padding:.8rem 0;display:grid}.advanced-preview-lines .hint,.advanced-preview-lines strong{display:block}.advanced-preview-lines .preview-description strong{display:inline}@media (max-width:700px){.compact-lines td.vat-amount-cell:nth-child(2):before,.compact-lines td.vat-amount-cell:nth-child(3):before{content:none}.advanced-preview-lines li{grid-template-columns:1fr 1fr}.advanced-preview-lines .preview-description{grid-column:1/-1}}.posting-lines{gap:.35rem;display:grid}.posting-line{border-bottom:1px solid var(--border,#aebfc3);align-items:start;gap:.5rem;min-width:0;padding:.55rem 0;display:grid}.posting-line>div{min-width:0}.ordinary-posting-line{grid-template-columns:minmax(160px,2fr) minmax(95px,1fr) minmax(95px,1fr) minmax(150px,1.5fr) 2rem}.vat-posting-line{grid-template-columns:minmax(160px,2fr) minmax(90px,1fr) minmax(75px,.8fr) minmax(90px,1fr) minmax(85px,.8fr) minmax(150px,1.5fr) 2rem}.posting-line label,.posting-line .field-caption{margin:0;font-size:.8rem;font-weight:600;display:block}.posting-line .field-caption{margin-bottom:.25rem}.posting-line input,.posting-line select,.posting-line .vat-readonly{box-sizing:border-box;width:100%;min-width:0;min-height:38px;margin:.25rem 0 0;padding:.5rem;font-size:.9rem}.posting-line .field-caption+input,.posting-line .field-caption+.party-picker input{margin-top:0}.posting-line .vat-readonly{background:var(--soft,#eef2f2);border:1px solid var(--border,#aebfc3);white-space:nowrap;border-radius:4px;margin-top:0;font-weight:500;display:block}.posting-line .line-remove{align-self:start;min-height:38px;margin-top:1.4rem;padding:.4rem}.party-single{align-items:start;gap:.3rem;display:flex}.party-single>[role=combobox]{flex:1;width:100%;min-width:0}.party-single>button{flex-shrink:0;min-height:38px;padding:.4rem}.posting-line .party-single>button{margin-top:0}.posting-line .party-picker .field-error{font-size:.75rem}[data-theme=dark] .posting-line .vat-readonly{color:#dbe5e7;background:#27373b}@media (max-width:1100px){.vat-posting-line{grid-template-columns:1fr 1fr 1fr 2rem}.vat-posting-line .line-account{grid-column:1/4}.vat-posting-line .line-net{grid-area:2/1}.vat-posting-line .line-vat{grid-area:2/2}.vat-posting-line .line-gross{grid-area:2/3}.vat-posting-line .line-side{grid-area:3/1}.vat-posting-line .line-party{grid-area:3/2/auto/4}.vat-posting-line .line-remove{grid-area:1/4}}@media (max-width:700px){.posting-line{grid-template-columns:1fr 1fr 1fr 2rem;gap:.45rem .35rem}.posting-line .line-account{grid-area:1/1/auto/4}.posting-line .line-remove{grid-area:1/4}.ordinary-posting-line .line-debit{grid-area:2/1/auto/2}.ordinary-posting-line .line-credit{grid-area:2/2/auto/4}.ordinary-posting-line .line-party{grid-area:3/1/auto/4}.ordinary-posting-line{grid-template-columns:1fr 1fr 1fr 2rem}.posting-line .line-net,.posting-line .line-vat,.posting-line .line-gross{grid-row:2}.posting-line input,.posting-line select{min-height:44px;font-size:16px}.posting-line .vat-readonly{min-height:44px;padding:.65rem .3rem;font-size:.85rem}.posting-line .line-side{grid-area:3/1}.party-single>button,.posting-line .line-remove{min-height:44px}.ordinary-posting-line .line-debit{grid-column:1/3}.ordinary-posting-line .line-credit{grid-column:3/5}.ordinary-posting-line .line-party{grid-column:1/5}.posting-line .party-inline>input:not([role]){width:7rem}.vat-posting-line{grid-template-columns:1fr 1fr 2rem}.vat-posting-line .line-account{grid-area:1/1/auto/3}.vat-posting-line .line-remove{grid-area:1/3}.vat-posting-line .line-net{grid-area:2/1}.vat-posting-line .line-gross{grid-area:2/2/auto/4}.vat-posting-line .line-vat{grid-area:3/1}.vat-posting-line .line-side{grid-area:3/2/auto/4}.vat-posting-line .line-party{grid-area:4/1/auto/4}}.annual-launch{flex-wrap:wrap;gap:.6rem;margin-bottom:1rem;display:flex}.annual-launch p{flex-basis:100%}.annual-dialog{max-width:1100px}.annual-items{gap:.8rem;display:grid}.annual-item h3{margin-top:0}.annual-allocation{grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) auto;align-items:end;gap:.6rem;margin:.5rem 0;display:grid}.annual-allocation small{grid-column:1/-1}.annual-matched{color:var(--success,#20704b);font-weight:600}.annual-unallocated{color:var(--danger,#ba3030);font-weight:700}@media (max-width:700px){.annual-allocation{grid-template-columns:minmax(0,1fr)}.annual-dialog{max-width:calc(100vw - 1rem)}.annual-item{min-width:0}.annual-item select{width:100%;min-width:0}}[data-theme=dark] .annual-unallocated{color:#ffbeb1}[data-theme=dark] .annual-matched{color:#a9dfc4}@media (max-width:700px){.annual-dialog button{white-space:normal;max-width:100%}.annual-dialog .card{padding:16px}.annual-dialog label{overflow-wrap:anywhere}}.bank17-settings{min-width:0;max-width:100%}.bank17-settings .actions{flex-wrap:wrap}.bank17-settings button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.bank17-settings h3{overflow-wrap:anywhere}.bank-file-control{font-size:0}.bank-file-control::file-selector-button{font-size:1rem}.annual-dialog .annual-items{gap:.5rem}.annual-dialog .annual-item{min-width:0;padding:.75rem}.annual-item h3{overflow-wrap:anywhere;margin:0 0 .3rem;font-size:1rem}.annual-item fieldset{min-width:0;margin:.35rem 0;padding:.5rem}.annual-allocation{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:.5rem;margin:.35rem 0}.annual-allocation label{flex-direction:column;gap:.2rem;min-width:0;display:flex}.annual-allocation input,.annual-allocation select{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.annual-allocation input{font-variant-numeric:tabular-nums;text-align:right}.annual-item p{margin:.35rem 0}.annual-item>a{overflow-wrap:anywhere;font-size:.85rem}@media (max-width:700px){.annual-allocation{grid-template-columns:minmax(0,1fr)}.annual-dialog .annual-item{padding:.6rem}.annual-item fieldset{padding:.35rem}.annual-dialog{box-sizing:border-box;width:calc(100vw - 1rem)}}.annual-dialog .annual-source-link{margin:.6rem 0 1rem;display:block}.annual-dialog .annual-source-link+fieldset{margin-top:0}.annual-dialog fieldset{min-width:0}.annual-dialog label{overflow-wrap:anywhere}.annual-before-start{border:1px solid var(--border);border-radius:.5rem;margin:.5rem 0 1rem;padding:.75rem}.annual-before-start h3{margin:0 0 .5rem;font-size:1.05rem}.annual-before-start p,.annual-before-start ul{margin:.5rem 0;line-height:1.45}.annual-before-start ul{padding-left:1.25rem}.annual-before-start li+li{margin-top:.35rem}
