:root{--ink:#17211f;--muted:#66726f;--canvas:#f4f5f1;--surface:#fff;--line:#dfe4df;--brand:#173f37;--brand-light:#e3eee8;--lime:#d8f34a;--radius:18px;--shadow:0 14px 34px #1a302a14}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px}body{background:var(--canvas);color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{min-height:44px}:is(button:focus-visible,a:focus-visible){outline-offset:3px;outline:3px solid #7d9f35}.topbar{background:#f4f5f1e6;border-bottom:1px solid #ced6cfcc;justify-content:space-between;align-items:center;height:72px;padding:0 max(20px,50vw - 590px);display:flex}.brand{color:inherit;letter-spacing:-.02em;align-items:center;gap:10px;font-weight:760;text-decoration:none;display:inline-flex}.brand-mark{color:#fff;background:var(--brand);border-radius:11px;place-items:center;width:36px;height:36px;display:grid}.icon-button,.row-action{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:12px}.icon-button{width:44px;font-size:1.25rem}.app-shell{width:min(1180px,100% - 40px);margin:0 auto;padding:64px 0 80px}.dashboard-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.dashboard-heading h1{font-size:clamp(2.3rem,6vw,4rem)}.eyebrow{color:#577069;letter-spacing:.14em;text-transform:uppercase;margin:0 0 9px;font-size:.75rem;font-weight:800}h1{letter-spacing:-.055em;max-width:720px;margin:0;font-size:clamp(2.3rem,6vw,4.9rem);line-height:.98}.primary-button,.secondary-button{cursor:pointer;border-radius:13px;padding:0 19px;font-weight:760}.primary-button{border:1px solid var(--brand);background:var(--brand);color:#fff;box-shadow:var(--shadow)}.primary-button span{color:var(--lime);margin-right:6px}.secondary-button{border:1px solid var(--line);color:var(--ink);background:0 0}.summary-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.metric-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;min-height:150px;padding:22px;display:flex;box-shadow:0 8px 24px #1a302a0a}.metric-card>span,.metric-card small{color:var(--muted)}.metric-card strong{letter-spacing:-.045em;margin:19px 0 7px;font-size:clamp(1.8rem,4vw,2.55rem)}.metric-card small{margin-top:auto}.metric-card.accent{background:var(--brand);color:#fff;border-color:var(--brand)}.metric-card.accent>span,.metric-card.accent small{color:#c7d9d3}.content-section{margin-top:54px}.section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:17px;display:flex}h2{letter-spacing:-.03em;margin:0;font-size:1.8rem}.trip-list{gap:10px;display:grid}.trip-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-template-columns:64px minmax(0,1fr) auto auto;align-items:center;gap:17px;min-height:104px;padding:16px;display:grid}.trip-date{background:#edf0eb;border-radius:13px;place-items:center;height:64px;display:grid}.trip-date strong{font-size:1.35rem;line-height:1}.trip-date span{color:var(--muted);text-transform:uppercase;font-size:.75rem}.trip-main h3{margin:0;font-size:1rem}.trip-main p{color:var(--muted);margin:5px 0 9px;font-size:.87rem}.status{border-radius:999px;padding:4px 8px;font-size:.72rem;font-weight:750;display:inline-flex}.status.warning{color:#8b5b04;background:#fff0d4}.trip-amount{text-align:right}.trip-amount strong,.trip-amount span{display:block}.trip-amount span{color:var(--muted);margin-top:5px;font-size:.78rem}.row-action{width:44px;font-size:1.1rem;position:relative}.row-action:after{content:attr(data-tooltip);z-index:20;color:#fff;background:var(--brand);pointer-events:none;opacity:0;border-radius:8px;min-width:max-content;padding:7px 9px;font-size:.75rem;font-weight:650;line-height:1.2;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%,-4px)}.row-action:hover:after{opacity:1;transform:translate(-50%)}.row-action:focus-visible:after{opacity:1;transform:translate(-50%)}.button-reset{cursor:pointer;background:0 0;border:0;min-height:44px;padding:0}.desktop-nav{align-self:stretch;gap:5px;display:flex}.desktop-nav button,.desktop-nav a{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;padding:0 13px;text-decoration:none;display:inline-flex}.desktop-nav button.active{color:var(--brand);border-bottom-color:var(--brand);font-weight:750}.mobile-menu{display:none}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.loading-screen,.error-screen{text-align:center;place-content:center;justify-items:center;min-height:100svh;padding:24px;display:grid}.loading-screen h1,.error-screen h1{letter-spacing:-.03em;font-size:1.7rem}.loading-mark{color:#fff;background:var(--brand);border-radius:17px;place-items:center;width:58px;height:58px;font-size:1.6rem;font-weight:800;display:grid}.page-intro{margin-bottom:30px}.page-intro h1{font-size:clamp(2.4rem,7vw,4.4rem)}.page-intro>p:last-child{max-width:680px;color:var(--muted);line-height:1.6}.narrow{max-width:900px}.form-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:26px;box-shadow:0 8px 24px #1a302a0a}.form-card>h2{margin-bottom:8px}.form-card>p{color:var(--muted);line-height:1.55}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;display:grid}.form-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.field{color:#3f4d49;align-content:start;gap:7px;min-width:0;font-size:.82rem;font-weight:720;display:grid}.field em{color:#a53d28;font-style:normal}.field small{color:var(--muted);font-size:.72rem;font-weight:480}.field small.field-error{color:#a23f2a;font-weight:650}.field input,.field select,.field textarea,.toolbar input,.toolbar select{width:100%;min-height:46px;color:var(--ink);background:#fbfcfa;border:1px solid #cfd7d1;border-radius:11px;padding:10px 12px;font-weight:520}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus,.toolbar select:focus{border-color:#7d9f35;outline:3px solid #7d9f3540}.field input:invalid:not(:placeholder-shown){border-color:#b44c34}.field input.iban-valid{border-color:#4d7d42;box-shadow:inset 0 0 0 1px #4d7d4229}.field input.iban-invalid,.field input.input-invalid{border-color:#b44c34;box-shadow:inset 0 0 0 1px #b44c341f}.iban-verification{min-height:1em;display:block}.field small.iban-verification.valid{color:#3e7135;font-weight:700}.field small.iban-verification.invalid{color:#a23f2a;font-weight:650}.field small.iban-verification.neutral{color:var(--muted)}.field small.address-search-status{color:#577069;font-weight:560}.address-input-wrap{position:relative}.address-suggestions{z-index:30;background:var(--surface);border:1px solid #cfd7d1;border-radius:12px;gap:2px;max-height:260px;padding:6px;display:grid;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 28px #1a302a29}.address-suggestion{width:100%;min-height:40px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 10px}:is(.address-suggestion:hover,.address-suggestion:focus-visible){background:var(--brand-light);outline:none}.form-actions{justify-content:flex-end;margin-top:24px;display:flex}.checkbox-row,.meal-grid label{color:#45534f;align-items:center;gap:10px;min-height:44px;font-size:.86rem;display:flex}.checkbox-row{margin-top:22px}.conditional-hint{color:var(--muted);margin:4px 0 0;font-size:.78rem}input[type=checkbox]{width:20px;height:20px;accent-color:var(--brand)}.settings-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.settings-grid .form-card{min-height:235px}.button-row{flex-wrap:wrap;gap:10px;display:flex}.manual-link{align-items:center;text-decoration:none;display:inline-flex}.storage-bar{background:#e8ebe7;border-radius:999px;height:9px;margin-top:28px;overflow:hidden}.storage-bar span{background:var(--brand);min-width:2px;height:100%;display:block}.danger-zone{background:#fffaf8;border-color:#e5c7bf}.danger-button{color:#fff;cursor:pointer;background:#a43c28;border:1px solid #a43c28;border-radius:12px;min-height:44px;padding:0 17px;font-weight:750}.toolbar{grid-template-columns:minmax(240px,1fr) 180px 190px;gap:10px;margin-bottom:15px;display:grid}.search-field{position:relative}.toolbar select{min-height:46px}.row-actions{gap:7px;display:flex}.row-action.danger,.text-danger{color:#a43c28}.empty-state{border-radius:var(--radius);text-align:center;background:#ffffff8c;border:1px dashed #bdc9c2;justify-items:center;padding:70px 24px;display:grid}.empty-state>span{width:58px;height:58px;color:var(--brand);background:var(--brand-light);border-radius:18px;place-items:center;font-size:1.6rem;display:grid}.empty-state h3{margin:17px 0 5px}.empty-state p{max-width:470px;color:var(--muted);margin:0 0 20px;line-height:1.5}.empty-state.compact{padding:42px 20px}.status.incomplete,.status.draft{color:#8b5b04;background:#fff0d4}.status.complete{background:var(--brand-light);color:var(--brand)}.status.closed{color:#4d5260;background:#e7e8ec}.editor-shell{grid-template-columns:270px minmax(0,1fr);min-height:calc(100svh - 72px);display:grid}.step-sidebar{background:var(--brand);color:#fff;align-self:start;min-height:calc(100svh - 72px);padding:34px 27px;position:sticky;top:0}.back-link{color:#bfd1cb;cursor:pointer;background:0 0;border:0;margin:0 0 38px;padding:0}.step-sidebar .eyebrow{color:#9fb7af}.step-sidebar h2{color:#fff;min-height:54px;margin-bottom:28px}.step-sidebar ol{gap:6px;margin:0;padding:0;list-style:none;display:grid}.step-sidebar li button{color:#bfd1cb;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:11px;align-items:center;gap:11px;width:100%;padding:8px;display:flex}.step-sidebar li button span{border:1px solid #638078;border-radius:9px;flex:0 0 31px;place-items:center;height:31px;display:grid}.step-sidebar li.active button{color:#fff;background:#ffffff1a;font-weight:750}.step-sidebar li.active button span{background:var(--lime);border-color:var(--lime);color:var(--brand)}.step-sidebar li.done button span{color:var(--lime);border-color:#a7c2ba}.sidebar-total{border-top:1px solid #496860;padding-top:17px;position:absolute;bottom:30px;left:27px;right:27px}.sidebar-total span,.sidebar-total strong{display:block}.sidebar-total span{color:#a7beb7;font-size:.78rem}.sidebar-total strong{margin-top:5px;font-size:1.55rem}.editor-main{width:min(100%,1080px);min-width:0;padding:46px 48px 110px}.editor-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:30px;display:flex}.editor-heading h1{font-size:clamp(2.1rem,5vw,3.6rem)}.save-indicator{color:#3d544e;background:var(--brand-light);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 11px;font-size:.75rem;font-weight:720;display:inline-flex}.save-indicator:before{content:"✓"}.save-indicator.saving:before{content:"·"}.save-indicator.error{color:#8e321f;background:#fbe4df}.repeat-head{justify-content:space-between;align-items:end;gap:20px;margin:33px 0 15px;display:flex}.repeat-head p{color:var(--muted);margin:6px 0 0}.repeat-card+.repeat-card{margin-top:12px}.repeat-title{justify-content:space-between;gap:16px;margin-bottom:20px;display:flex}.repeat-title button,.receipt-actions button{cursor:pointer;background:0 0;border:0;min-height:44px;padding:0 9px}.derived-badge{color:var(--brand);background:var(--brand-light);white-space:nowrap;border-radius:999px;align-self:center;padding:5px 9px;font-size:.7rem;font-weight:750}.rule-note{background:var(--brand-light);color:#49615a;border-radius:14px;gap:15px;padding:18px 20px;font-size:.86rem;line-height:1.45;display:flex}.rule-note strong{color:var(--brand);white-space:nowrap}.meal-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:17px;display:grid}.meal-grid label{border:1px solid var(--line);background:#fafbf9;border-radius:10px;padding:8px 11px}.totals-input{margin-top:18px}.upload-panel{border-radius:var(--radius);background:var(--brand-light);border:1px solid #bdd1c6;justify-content:space-between;align-items:center;gap:30px;padding:26px;display:flex}.upload-panel h2{margin:0 0 7px}.upload-panel p:last-child{color:#536862;margin:0}.receipt-grid{grid-template-columns:1fr 1fr;gap:15px;margin-top:20px;display:grid}.receipt-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;overflow:hidden}.receipt-preview{object-fit:contain;background:#e9ece8;border:0;width:100%;height:245px;display:block}.receipt-preview.skeleton{animation:1.5s infinite alternate pulse}.receipt-info{gap:16px;padding:17px;display:grid}.receipt-info>div:first-child span,.receipt-info>div:first-child strong,.receipt-info>div:first-child small{display:block}.receipt-info>div:first-child span{color:#5b726b;letter-spacing:.1em;font-size:.7rem;font-weight:800}.receipt-info>div:first-child strong{margin:3px 0 4px}.receipt-info>div:first-child small{color:var(--muted)}.receipt-actions{flex-wrap:wrap;gap:6px;display:flex}.review-layout{grid-template-columns:minmax(0,1fr) 330px;gap:18px;display:grid}.review-hero{border-radius:var(--radius);background:var(--brand);color:#fff;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:28px;display:flex}.review-hero strong,.review-hero span{display:block}.review-hero strong{letter-spacing:-.04em;margin:4px 0;font-size:clamp(2rem,5vw,3.2rem)}.review-hero span{color:#b9ccc6;font-size:.8rem}.review-hero .eyebrow{color:#a7bdb6}.summary-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);align-self:start;padding:24px}.summary-card h2{margin-bottom:15px}.summary-row{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:12px;padding:12px 0;font-size:.86rem;display:flex}.summary-row strong{color:var(--ink)}.summary-row.total{color:var(--brand);margin-bottom:20px;font-size:1rem;font-weight:800}.summary-row.total strong{color:var(--brand);font-size:1.2rem}.payout-summary{background:var(--brand-light);overflow-wrap:anywhere;border-radius:11px;gap:5px;margin:0 0 20px;padding:14px;display:grid}.payout-summary span,.payout-summary small{color:var(--muted);font-size:.75rem}.payout-summary strong{color:var(--brand);letter-spacing:.025em;font-size:.9rem}.signature-card{gap:18px;margin-bottom:18px;display:grid}.signature-card p{color:var(--muted);margin:5px 0 0;font-size:.84rem}.signature-pad{background:#fff;border:1px solid #b8c9c3;border-radius:12px;overflow:hidden}.signature-pad canvas{cursor:crosshair;touch-action:none;background:linear-gradient(#0000 calc(100% - 30px),#d6dedb calc(100% - 30px) calc(100% - 29px),#0000 calc(100% - 29px));width:100%;height:150px;display:block}.signature-pad-footer{color:#586a64;background:#f7f9f7;border-top:1px solid #e0e6e3;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:.75rem;display:flex}.signature-pad-footer button{color:var(--brand);font-weight:750}.signature-pad-footer button:disabled{cursor:default;opacity:.4}.full{width:100%;margin-top:15px}.issue-list{color:#9e3d28;gap:9px;padding-left:22px;display:grid}.success-callout,.warning-callout{border-radius:10px;padding:13px 15px}.success-callout{background:var(--brand-light);color:var(--brand)!important}.warning-callout{background:#fff2d8;color:#7f570a!important}.sticky-actions{z-index:5;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f4f5f1f2;justify-content:flex-end;align-items:center;gap:10px;padding:13px 48px;display:flex;position:fixed;bottom:0;left:270px;right:0}.mobile-progress{display:none}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0a161394;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:20px;width:min(760px,100%);max-height:calc(100svh - 36px);overflow:auto;box-shadow:0 28px 80px #0000004d}.modal-head{z-index:2;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:20px;padding:20px 23px;display:flex;position:sticky;top:0}.modal-head h2{font-size:1.3rem}.modal-body{color:#4b5955;padding:23px;line-height:1.55}.modal-actions{border-top:1px solid var(--line);background:var(--surface);justify-content:flex-end;gap:10px;padding:16px 23px;display:flex;position:sticky;bottom:0}.pdf-preview{border:1px solid var(--line);background:#e8ebe7;border-radius:10px;width:100%;height:min(65svh,720px)}.modal-hint{margin:13px 0 0;font-size:.8rem}.import-summary{grid-template-columns:1fr 1fr;gap:10px;display:grid}.import-summary span{background:#f0f3ef;border-radius:12px;padding:16px}.import-summary strong{color:var(--brand);font-size:1.5rem;display:block}.toast{top:calc(88px + env(safe-area-inset-top,0px));z-index:30;color:#fff;max-width:min(420px,100vw - 40px);box-shadow:var(--shadow);white-space:pre-line;background:#172d28;border-radius:13px;padding:14px 17px;position:fixed;right:20px}@keyframes pulse{0%{opacity:.45}to{opacity:.9}}@media (max-width:760px){.app-shell{width:min(100% - 28px,620px);padding-top:38px}.dashboard-heading{flex-direction:column;align-items:stretch}.primary-button{width:100%}.summary-grid{grid-template-columns:1fr 1fr}.metric-card:first-child{grid-column:1/-1}.trip-card{grid-template-columns:52px minmax(0,1fr) 44px}.trip-date{height:52px}.trip-amount{text-align:left;grid-column:2/3}.row-action{grid-area:1/3/3}.desktop-nav{display:none}.mobile-menu{place-items:center;display:inline-grid}.settings-grid,.receipt-grid,.review-layout{grid-template-columns:1fr}.form-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{grid-template-columns:1fr 1fr}.toolbar .search-field{grid-column:1/-1}.editor-shell{display:block}.step-sidebar{min-height:0;padding:20px 14px 15px;position:static}.step-sidebar>.back-link,.step-sidebar>.eyebrow,.step-sidebar>h2,.sidebar-total{display:none}.step-sidebar ol{grid-template-columns:repeat(6,1fr);gap:4px}.step-sidebar li{min-width:0}.step-sidebar li button{justify-content:center;min-width:0;min-height:46px;padding:4px;font-size:0}.step-sidebar li button span{flex-basis:34px;width:34px}.editor-main{padding:30px 14px 96px}.sticky-actions{justify-content:space-between;padding:12px 14px;left:0}.mobile-progress{background:#dce2dd;border-radius:99px;flex:1;height:5px;display:block;overflow:hidden}.mobile-progress span{background:var(--brand);height:100%;display:block}.upload-panel,.review-hero{flex-direction:column;align-items:stretch}.review-hero .primary-button{width:100%}.signature-pad canvas{height:135px}}@media (max-width:430px){.topbar{height:64px;padding-inline:14px}.toast{top:calc(76px + env(safe-area-inset-top,0px));max-width:calc(100vw - 24px);right:12px}.app-shell{width:calc(100% - 24px)}.summary-grid{grid-template-columns:1fr}.metric-card:first-child{grid-column:auto}.section-heading .secondary-button{display:none}.trip-card{gap:12px;padding:12px}.form-grid,.form-grid.compact{grid-template-columns:1fr}.form-card{padding:19px}.meal-grid{grid-template-columns:1fr}.rule-note{flex-direction:column;gap:5px}.repeat-head{flex-direction:column;align-items:stretch}.toolbar{grid-template-columns:1fr}.toolbar .search-field{grid-column:auto}.trip-card{grid-template-columns:50px minmax(0,1fr) 44px}.row-actions{flex-direction:column;grid-area:1/3/3}.receipt-preview{height:210px}.signature-pad-footer{flex-direction:column;align-items:flex-start}.modal-actions{flex-direction:column-reverse}.modal-actions button{width:100%}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (prefers-color-scheme:dark){:root{--ink:#edf4f1;--muted:#a6b2ae;--canvas:#111715;--surface:#19211f;--line:#35413d;--brand:#1f4f45;--brand-light:#223832;--shadow:0 14px 34px #00000038}.topbar,.sticky-actions{background:#111715f0}.field input,.field select,.field textarea,.toolbar input,.toolbar select,.meal-grid label{color:var(--ink);background:#141c1a;border-color:#46544f}.field,.checkbox-row,.meal-grid label,.modal-body{color:#c8d2ce}.upload-panel p:last-child{color:#b8c7c2}.trip-date,.storage-bar,.import-summary span{background:#25302d}.metric-card,.trip-card,.form-card,.summary-card,.receipt-card,.modal,.modal-head,.modal-actions{background-color:var(--surface)}.empty-state{background:#19211fb3}.danger-zone{background:#2d1f1b;border-color:#624338}.receipt-preview,.pdf-preview{background:#26302d}}
