:root{--paper: #f4f0e8;--surface: #fffdf8;--surface-muted: #e8e2d7;--ink: #172333;--muted: #5c6875;--line: #c8c1b5;--action: #9a4f00;--amber: #d97706;--green: #13745b;--red: #a7352e;--blue: #315d80;--focus: #315d80;--control-radius: 10px;color:var(--ink);background:var(--paper);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}html{min-height:100%;background:var(--paper)}body{min-width:320px;min-height:100vh;margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button{color:inherit}::selection{color:var(--surface);background:var(--blue)}*{scrollbar-color:var(--line) var(--paper);scrollbar-width:thin}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}.app-shell{min-height:100vh}.topbar{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:10px max(18px,env(safe-area-inset-left));background:color-mix(in srgb,var(--paper) 94%,transparent);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.wordmark{display:inline-flex;align-items:center;gap:9px;font-weight:850;text-decoration:none;letter-spacing:-.02em}.wordmark svg{width:28px;fill:var(--surface);stroke:var(--ink);stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.organization-picker{display:grid;gap:2px;max-width:min(52vw,280px)}.organization-picker span{color:var(--muted);font-size:.72rem;font-weight:700}.organization-picker select{min-height:34px;max-width:100%;border:0;color:var(--ink);background:transparent;font-weight:750;text-align:right}.main-content{width:min(100%,1120px);margin:0 auto;padding:24px 18px 104px}.bottom-nav{position:fixed;z-index:30;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:7px 14px calc(7px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -8px 26px #17233314}.bottom-nav a{display:grid;justify-items:center;gap:2px;min-height:48px;color:var(--muted);font-size:.74rem;font-weight:700;text-decoration:none}.bottom-nav svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bottom-nav a.router-link-active{color:var(--action)}.boot-state{display:grid;place-items:center;align-content:center;gap:10px;min-height:100vh;padding:32px;text-align:center}.boot-state small,.boot-state p{max-width:38ch;color:var(--muted)}.boot-state button{min-height:44px;padding:0 18px;border:0;border-radius:10px;color:#fff;background:var(--action);font-weight:750}.loader{width:36px;height:36px;border:3px solid var(--line);border-top-color:var(--amber);border-radius:50%;animation:turn .8s linear infinite}@keyframes turn{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (min-width: 760px){.main-content{padding-top:42px}.bottom-nav{right:24px;bottom:22px;left:auto;width:270px;border:1px solid var(--line);border-radius:14px;padding:7px 10px}.topbar{padding-inline:max(24px,calc((100vw - 1120px)/2))}}.dashboard[data-v-5b427429]{display:grid;gap:28px}.dashboard-heading[data-v-5b427429]{display:flex;align-items:end;justify-content:space-between;gap:24px}h1[data-v-5b427429],h2[data-v-5b427429],p[data-v-5b427429]{margin:0}h1[data-v-5b427429]{max-width:15ch;font-size:clamp(2rem,7vw,3.6rem);line-height:.98;letter-spacing:-.035em}.dashboard-heading p[data-v-5b427429]{max-width:64ch;margin-top:12px;color:var(--muted);line-height:1.55}.connection-choice[data-v-5b427429]{display:grid;flex:0 0 min(330px,38%);gap:6px}.connection-choice span[data-v-5b427429]{color:var(--muted);font-size:.78rem;font-weight:750}select[data-v-5b427429]{min-height:44px;width:100%;padding:0 36px 0 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface)}select[data-v-5b427429]:focus-visible,button[data-v-5b427429]:focus-visible,a[data-v-5b427429]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.upload-zone[data-v-5b427429]{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;width:100%;padding:18px 20px;border:1px dashed var(--action);border-radius:14px;color:var(--ink);background:#fff7e8;text-align:left;cursor:pointer;box-shadow:0 8px 24px #5b390d14;transition:background .18s ease,transform .18s ease}.upload-zone[data-v-5b427429]:not(:disabled):hover{background:#ffefd1;transform:translateY(-1px)}.upload-zone[data-v-5b427429]:disabled{border-color:var(--line);background:var(--surface-muted);cursor:not-allowed;box-shadow:none}.upload-zone svg[data-v-5b427429]{width:44px;fill:none;stroke:var(--action);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.upload-copy[data-v-5b427429]{display:grid;gap:3px}.upload-copy strong[data-v-5b427429]{font-size:1.05rem}.upload-copy small[data-v-5b427429]{color:var(--muted);line-height:1.35}.upload-action[data-v-5b427429]{color:var(--action);font-weight:800}.visually-hidden[data-v-5b427429]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.inline-error[data-v-5b427429]{padding:12px 14px;border:1px solid #dfaaa5;border-radius:10px;color:var(--red);background:#fff4f2}.list-heading[data-v-5b427429]{display:flex;align-items:center;gap:10px;margin-top:12px}.list-heading h2[data-v-5b427429]{font-size:1.22rem;letter-spacing:-.02em}.list-heading span[data-v-5b427429]{display:inline-grid;min-width:25px;height:25px;place-items:center;border-radius:999px;color:var(--muted);background:var(--surface-muted);font-size:.78rem;font-variant-numeric:tabular-nums}.invoice-list[data-v-5b427429]{margin:-14px 0 0;padding:0;list-style:none;border-top:1px solid var(--line)}.invoice-list li[data-v-5b427429]{border-bottom:1px solid var(--line)}.invoice-list a[data-v-5b427429]{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:14px;min-height:82px;padding:12px 4px;text-decoration:none}.invoice-list a[data-v-5b427429]:hover{background:color-mix(in srgb,var(--surface) 64%,transparent)}.document-mark[data-v-5b427429]{display:grid;width:45px;height:52px;place-items:center;color:var(--blue);background:var(--surface);border:1px solid var(--line);border-radius:8px;font-size:.66rem;font-weight:850}.invoice-main[data-v-5b427429]{display:grid;gap:5px;min-width:0}.invoice-main strong[data-v-5b427429],.invoice-main small[data-v-5b427429]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoice-main small[data-v-5b427429]{color:var(--muted)}.invoice-sum[data-v-5b427429]{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.status[data-v-5b427429]{padding:5px 8px;border-radius:999px;color:var(--blue);background:#e7f1f7;font-size:.72rem;font-weight:800;white-space:nowrap}.status[data-status=IMPORTED][data-v-5b427429]{color:var(--green);background:#dff2ea}.status[data-status=FAILED][data-v-5b427429]{color:var(--red);background:#f8e3e0}.status[data-status=REVIEW][data-v-5b427429]{color:var(--action);background:#ffedca}.chevron[data-v-5b427429]{width:20px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.list-state[data-v-5b427429],.empty-state[data-v-5b427429]{padding:38px 24px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-align:center}.list-state button[data-v-5b427429]{margin-left:8px;border:0;color:var(--action);background:transparent;font-weight:800;text-decoration:underline;text-underline-offset:3px}.list-state--error[data-v-5b427429]{color:var(--red)}.empty-state[data-v-5b427429]{display:grid;justify-items:center;gap:10px}.empty-state svg[data-v-5b427429]{width:54px;fill:none;stroke:var(--muted);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.empty-state p[data-v-5b427429]{max-width:52ch;color:var(--muted);line-height:1.5}@media (max-width: 680px){.dashboard-heading[data-v-5b427429]{display:grid}.connection-choice[data-v-5b427429]{width:100%;max-width:none}.upload-zone[data-v-5b427429]{grid-template-columns:auto 1fr}.upload-action[data-v-5b427429]{display:none}.invoice-list a[data-v-5b427429]{grid-template-columns:auto minmax(0,1fr) auto;gap:10px}.invoice-sum[data-v-5b427429]{grid-column:2;font-size:.88rem}.status[data-v-5b427429]{grid-column:2;justify-self:start}.chevron[data-v-5b427429]{grid-column:3;grid-row:1 / 4}.document-mark[data-v-5b427429]{grid-row:1 / 4}}.t-btn[data-v-f4b120ac]{display:inline-flex;align-items:center;justify-content:center;border:0;min-height:44px;border-radius:var(--control-radius, 10px);padding:.65rem 1rem;font-weight:700;cursor:pointer}.t-btn--primary[data-v-f4b120ac]{background:var(--action, #9a4f00);color:#fffdf8}.t-btn--secondary[data-v-f4b120ac]{background:var(--surface-muted, #e8e2d7);color:var(--ink, #172333)}.t-btn--ghost[data-v-f4b120ac]{background:transparent;color:var(--action, #9a4f00)}.t-btn[data-v-f4b120ac]:disabled{opacity:.5;cursor:not-allowed}.t-btn[data-v-f4b120ac]:focus-visible{outline:3px solid var(--focus, #315d80);outline-offset:3px}.t-btn[data-v-f4b120ac]:not(:disabled):active{transform:translateY(1px)}.t-input[data-v-e527867f]{min-height:44px;border:1px solid var(--line, #c8c1b5);border-radius:var(--control-radius, 10px);padding:.65rem .75rem;width:100%;font-size:1rem;color:var(--ink, #172333);background:var(--surface, #fffdf8)}.t-input[data-v-e527867f]:focus{outline:3px solid var(--focus, #315d80);outline-offset:2px}.t-input[data-v-e527867f]::placeholder{color:var(--muted, #5c6875);opacity:1}.login-page[data-v-001535c8]{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,420px);align-items:center;gap:clamp(38px,8vw,110px);min-height:calc(100vh - 128px)}.login-copy[data-v-001535c8]{display:grid;gap:18px;max-width:650px}.login-copy svg[data-v-001535c8]{width:72px;fill:var(--surface);stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.login-copy .check[data-v-001535c8]{stroke:var(--green);stroke-width:3}h1[data-v-001535c8],h2[data-v-001535c8],p[data-v-001535c8]{margin:0}h1[data-v-001535c8]{max-width:14ch;font-size:clamp(2.5rem,7vw,5.2rem);line-height:.95;letter-spacing:-.04em}.login-copy p[data-v-001535c8]{max-width:62ch;color:var(--muted);font-size:1.04rem;line-height:1.6}.login-form[data-v-001535c8]{display:grid;gap:18px;padding:28px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 18px 50px #1723331f}.login-form h2[data-v-001535c8]{font-size:1.35rem;letter-spacing:-.02em}.login-form label[data-v-001535c8]{display:grid;gap:7px;color:var(--muted);font-size:.82rem;font-weight:750}.login-form small[data-v-001535c8]{color:var(--muted);line-height:1.45;text-align:center}.form-error[data-v-001535c8]{padding:10px 12px;border-radius:10px;color:var(--red);background:#fff0ee;font-size:.88rem}@media (max-width: 760px){.login-page[data-v-001535c8]{grid-template-columns:1fr;align-content:center}.login-copy[data-v-001535c8]{gap:12px}.login-copy svg[data-v-001535c8]{width:54px}.login-form[data-v-001535c8]{padding:22px}}.review-page[data-v-fabf7a61]{display:grid;gap:24px}.back-link[data-v-fabf7a61]{justify-self:start;color:var(--muted);font-weight:750}.review-heading[data-v-fabf7a61]{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:25px;border-bottom:1px solid var(--line)}h1[data-v-fabf7a61],h2[data-v-fabf7a61],p[data-v-fabf7a61]{margin:0}h1[data-v-fabf7a61]{max-width:16ch;margin-top:10px;font-size:clamp(2rem,6vw,3.8rem);line-height:.98;letter-spacing:-.035em}.review-heading p[data-v-fabf7a61]{margin-top:8px;color:var(--muted)}.status-chip[data-v-fabf7a61]{padding:5px 8px;border-radius:999px;color:var(--action);background:#ffedca;font-size:.72rem;font-weight:850}.status-chip[data-status=IMPORTED][data-v-fabf7a61]{color:var(--green);background:#dff2ea}.status-chip[data-status=FAILED][data-v-fabf7a61]{color:var(--red);background:#f8e3e0}.grand-total[data-v-fabf7a61]{font-size:clamp(1.6rem,5vw,2.6rem);font-variant-numeric:tabular-nums;white-space:nowrap}.grand-total small[data-v-fabf7a61]{color:var(--muted);font-size:.42em}.inline-error[data-v-fabf7a61],.state-panel[data-v-fabf7a61],.processing-panel[data-v-fabf7a61],.success-panel[data-v-fabf7a61]{padding:22px;border-radius:14px;background:var(--surface);box-shadow:0 10px 30px #17233314}.inline-error[data-v-fabf7a61],.state-panel--error[data-v-fabf7a61]{color:var(--red);background:#fff0ee}.processing-panel[data-v-fabf7a61]{position:relative;display:grid;gap:8px;overflow:hidden}.processing-panel p[data-v-fabf7a61],.state-panel p[data-v-fabf7a61],.success-panel p[data-v-fabf7a61]{color:var(--muted);line-height:1.5}.scan-line[data-v-fabf7a61]{position:absolute;inset:0 auto auto 0;width:100%;height:3px;background:var(--amber);box-shadow:0 8px 20px #d977064d;animation:scan-fabf7a61 1.8s cubic-bezier(.16,1,.3,1) infinite alternate}@keyframes scan-fabf7a61{0%{transform:translateY(0)}to{transform:translateY(108px)}}.success-panel[data-v-fabf7a61]{display:flex;align-items:center;gap:18px;color:var(--green);background:#e9f7f1}.success-panel svg[data-v-fabf7a61]{width:44px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.review-form[data-v-fabf7a61]{display:grid;gap:26px}.document-fields[data-v-fabf7a61]{display:grid;grid-template-columns:1.4fr 1.4fr .7fr .8fr;gap:14px}label[data-v-fabf7a61]{display:grid;gap:6px;color:var(--muted);font-size:.75rem;font-weight:750}input[data-v-fabf7a61],select[data-v-fabf7a61]{min-width:0;min-height:44px;width:100%;padding:0 11px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface)}input[data-v-fabf7a61]:focus-visible,select[data-v-fabf7a61]:focus-visible,a[data-v-fabf7a61]:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.line-heading[data-v-fabf7a61]{display:flex;align-items:center;gap:9px}.line-heading span[data-v-fabf7a61]{display:grid;min-width:25px;height:25px;place-items:center;border-radius:999px;color:var(--muted);background:var(--surface-muted);font-size:.78rem}.lines[data-v-fabf7a61]{display:grid;gap:0;margin:-12px 0 0;padding:0;list-style:none;border-top:1px solid var(--line)}.lines li[data-v-fabf7a61]{display:grid;grid-template-columns:32px minmax(240px,1fr) 100px 110px 120px;align-items:end;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.line-number[data-v-fabf7a61]{align-self:center;color:var(--muted);font-variant-numeric:tabular-nums}.lines small[data-v-fabf7a61]{grid-column:2 / -1;color:var(--muted);overflow-wrap:anywhere}.review-actions[data-v-fabf7a61]{position:sticky;z-index:15;bottom:76px;display:flex;align-items:end;justify-content:space-between;gap:18px;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 10px 36px #17233329}.review-actions>div[data-v-fabf7a61]{display:grid;justify-items:end;gap:6px}.review-actions small[data-v-fabf7a61]{max-width:42ch;color:var(--muted);text-align:right}@media (max-width: 800px){.document-fields[data-v-fabf7a61]{grid-template-columns:1fr 1fr}.lines li[data-v-fabf7a61]{grid-template-columns:25px repeat(3,minmax(0,1fr))}.product-field[data-v-fabf7a61]{grid-column:2 / -1}.lines li label[data-v-fabf7a61]:nth-of-type(2){grid-column:2}.lines small[data-v-fabf7a61]{grid-column:2 / -1}}@media (max-width: 560px){.review-heading[data-v-fabf7a61]{align-items:start}.grand-total[data-v-fabf7a61]{font-size:1.25rem}.document-fields[data-v-fabf7a61]{grid-template-columns:1fr}.review-actions[data-v-fabf7a61]{position:static;display:grid}.review-actions>div[data-v-fabf7a61],.review-actions[data-v-fabf7a61] button{width:100%;justify-items:stretch}.review-actions small[data-v-fabf7a61]{text-align:left}}.settings-page[data-v-538139f8]{display:grid;gap:34px}header[data-v-538139f8],.section-copy[data-v-538139f8]{max-width:68ch}h1[data-v-538139f8],h2[data-v-538139f8],p[data-v-538139f8]{margin:0}h1[data-v-538139f8]{max-width:16ch;font-size:clamp(2rem,7vw,3.5rem);line-height:1;letter-spacing:-.035em}header p[data-v-538139f8],.section-copy p[data-v-538139f8]{margin-top:10px;color:var(--muted);line-height:1.55}.notice[data-v-538139f8]{padding:13px 15px;border:1px solid #a9d3c5;border-radius:10px;color:var(--green);background:#e9f7f1}.notice--error[data-v-538139f8]{border-color:#dfaaa5;color:var(--red);background:#fff0ee}.settings-section[data-v-538139f8]{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(300px,1.3fr);gap:clamp(28px,6vw,80px);padding-top:30px;border-top:1px solid var(--line)}.connection-list[data-v-538139f8]{border-top:1px solid var(--line)}.connection-list article[data-v-538139f8]{display:grid;grid-template-columns:1fr auto;gap:5px 16px;padding:16px 2px;border-bottom:1px solid var(--line)}.connection-list strong[data-v-538139f8],.connection-list small[data-v-538139f8],.connection-list p[data-v-538139f8]{min-width:0;overflow-wrap:anywhere}.connection-list small[data-v-538139f8],.connection-list span[data-v-538139f8]:not(.connection-state){color:var(--muted)}.connection-list p[data-v-538139f8]{grid-column:1 / -1;color:var(--red);font-size:.85rem}.connection-state[data-v-538139f8]{grid-column:2;grid-row:1 / 3;align-self:start;padding:5px 8px;border-radius:999px;color:var(--action);background:#ffedca;font-size:.72rem;font-weight:800}.connection-state[data-ok=true][data-v-538139f8]{color:var(--green);background:#dff2ea}.empty-line[data-v-538139f8]{padding:18px 0;color:var(--muted)}.connection-form[data-v-538139f8]{display:grid;gap:20px;padding:25px;border-radius:14px;background:var(--surface);box-shadow:0 14px 42px #1723331a}.form-grid[data-v-538139f8]{display:grid;grid-template-columns:1fr 1fr;gap:16px}.connection-form label[data-v-538139f8]{display:grid;gap:7px;color:var(--muted);font-size:.8rem;font-weight:750}.connection-form .checkbox[data-v-538139f8]{display:flex;align-items:center;gap:9px;color:var(--ink)}.checkbox input[data-v-538139f8]{width:20px;height:20px;accent-color:var(--action)}.connection-form[data-v-538139f8] button{justify-self:start}.invite-action[data-v-538139f8]{display:grid;align-content:start;justify-items:start;gap:12px}.invite-action a[data-v-538139f8]{max-width:100%;color:var(--action);overflow-wrap:anywhere}@media (max-width: 720px){.settings-section[data-v-538139f8],.form-grid[data-v-538139f8]{grid-template-columns:1fr}.settings-section[data-v-538139f8]{gap:20px}.connection-form[data-v-538139f8]{padding:20px}}
