:root{color-scheme:light;--ink:#183f37;--paper:#f7f6f0;--line:#c8d5cd;--muted:#48675e;--green:#245c4b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 system-ui,sans-serif}button,input,textarea{font:inherit}a{color:var(--green)}button,.button{border:1px solid #738a7e;border-radius:9px;background:#fff;color:var(--ink);padding:10px 15px;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative}button:disabled{opacity:.55;cursor:default}.primary{background:var(--green);color:white;border-color:var(--green)}button:hover:not(:disabled),.button:hover{filter:brightness(.95)}:focus-visible{outline:3px solid #c26b1b;outline-offset:3px}.skip{position:absolute;left:16px;top:-80px;padding:12px;background:white;z-index:4}.skip:focus{top:12px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px max(5vw,20px);border-bottom:1px solid var(--line)}header nav{display:flex;gap:20px;flex-wrap:wrap}.brand{font-size:1.625rem;font-weight:800;text-decoration:none}.brand span{color:#d3974f}main{max-width:1100px;margin:auto;padding:36px 24px}.eyebrow{font-size:0.6875rem;font-weight:750;letter-spacing:.12em;color:var(--muted)}h1{font:600 clamp(2.375rem,6vw,3.875rem)/1.12 Georgia,serif;letter-spacing:-.035em;margin:16px 0}h2{font-size:1.25rem;margin:0 0 16px}.lead{font-size:1.25rem;color:var(--muted)}.local-notice{padding:16px 20px;background:#e6eee3;border-left:4px solid var(--green);border-radius:3px}.privacy,.backup{border:1px solid var(--line);border-radius:12px;padding:16px 20px;background:#fff}.privacy summary,.backup summary{font-weight:650;cursor:pointer}.privacy p,.backup p,.help{color:var(--muted)}#status{min-height:27px;padding:14px 0;font-weight:550}.toolbar,.editor-head,.preview-actions{display:flex;justify-content:space-between;align-items:center;gap:16px}.toolbar{border-block:1px solid var(--line);padding:18px 0}.toolbar p{margin:4px 0;color:var(--muted);font-size:0.875rem}.actions,.capture-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.capture-actions{padding:22px 0}.capture-actions p{flex-basis:100%;margin:0;font-size:0.875rem;color:var(--muted)}.button input[type=file]{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.button:focus-within{outline:3px solid #c26b1b;outline-offset:3px}.button:has(input:disabled){opacity:.55;cursor:default}.collection{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;margin:10px 0 28px}.receipt-list{display:grid;gap:9px}.receipt-list button{text-align:left;justify-content:flex-start;overflow-wrap:anywhere;display:block}.receipt-list button[aria-current=true]{border:2px solid var(--green);background:#e6eee3}.receipt-list small{display:block;color:var(--muted);font-size:0.75rem}.editor-head{align-items:start}.editor-head h2{margin:9px 0}.preview-actions{margin:10px 0;font-size:0.8125rem;color:var(--muted)}.photo-region{height:400px;max-height:70vh;overflow:auto;background:#e7e8e2;border:1px solid var(--line);border-radius:12px;display:flex;align-items:flex-start;justify-content:center;padding:16px}.photo-region img{display:block;max-width:100%;max-height:365px;width:auto;height:auto;object-fit:contain}.photo-region.zoomed{display:block}.photo-region.zoomed img{max-width:none;max-height:none;width:auto;height:auto}.help{font-size:0.8125rem}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fields label{font-size:0.875rem;font-weight:650}.fields input,.fields textarea{display:block;width:100%;min-height:44px;padding:9px 12px;margin-top:6px;background:#fff;border:1px solid #738a7e;border-radius:7px;color:var(--ink)}.wide{grid-column:1/-1}#import-review{background:#fff6e8;padding:22px;border:1px solid #b68649;border-radius:12px;margin-top:20px}footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:32px;padding-top:22px;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:700px){main{padding:24px 16px}header{padding:16px;gap:14px}header nav{gap:12px;font-size:0.875rem}.collection{grid-template-columns:1fr}.receipt-list{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar,.preview-actions{align-items:flex-start;flex-direction:column}.toolbar .actions{width:100%}.toolbar button{flex:1}.fields{grid-template-columns:1fr}.photo-region{height:360px}.photo-region img{max-height:325px}.editor-head{align-items:center}}

.handoff{border:1px solid var(--line);border-radius:12px;padding:22px;margin:28px 0;background:#fff}.handoff>label{display:block;font-weight:650}.handoff textarea,.handoff-rows input:not([type=checkbox]),.handoff-rows select{display:block;width:100%;min-height:44px;padding:9px 12px;margin-top:6px;background:#fff;border:1px solid #738a7e;border-radius:7px;color:var(--ink);font:inherit}.handoff textarea{resize:vertical}.handoff .actions{margin-top:16px}.handoff-rows{display:grid;gap:18px}.handoff-rows fieldset{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border:1px solid #738a7e;border-radius:9px;padding:16px}.handoff-rows legend{font-weight:650;padding:0 6px}.handoff-rows label{font-size:0.875rem}.handoff-rows label:first-of-type{grid-column:1/-1;display:flex;align-items:center;gap:10px;min-height:44px}.handoff-rows input[type=checkbox]{width:22px;height:22px;accent-color:var(--green)}.handoff-rows button{align-self:end}@media(max-width:700px){.handoff{padding:16px}.handoff-rows fieldset{grid-template-columns:1fr}.handoff .actions button{width:100%}}

@media(max-width:700px){header,.editor-head{flex-wrap:wrap}header nav{width:100%}button,.button{max-width:100%;overflow-wrap:anywhere}}
