:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172554;background:#f4f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.brand{color:#172554;font-size:1.25rem;font-weight:800;letter-spacing:-.04em}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,#dbeafe,transparent 46%),#f8fafc}.auth-card{width:min(100%,440px);background:#fff;padding:38px;border:1px solid #dbe3ef;border-radius:22px;box-shadow:0 18px 60px #1725541a}h1,h2,h3,p{margin-top:0}.auth-card h1{margin:34px 0 8px;font-size:2rem;letter-spacing:-.035em}.lede,.switch{color:#64748b}form{display:grid;gap:18px;margin-top:26px}label{display:grid;gap:7px;color:#334155;font-size:.875rem;font-weight:700}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:12px 13px;background:#fff;color:#0f172a;outline:none}input:focus,select:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb21}button{min-height:44px;border-radius:10px;border:0;cursor:pointer;font-weight:750}button:disabled{cursor:wait;opacity:.65}.primary{color:#fff;background:#1d4ed8;padding:11px 18px}.primary:hover{background:#1e40af}.secondary{color:#334155;background:#e2e8f0;padding:11px 18px}.switch{margin:24px 0 0;text-align:center;font-size:.9rem}.switch a{color:#1d4ed8;font-weight:750}.error{padding:11px 13px;border-radius:10px;color:#991b1b;background:#fee2e2;font-size:.9rem}.app-shell header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid #dbe3ef}.header-subtitle{color:#94a3b8;font-size:.82rem;margin-left:16px;padding-left:16px;border-left:1px solid #dbe3ef}.text-button{min-height:40px;padding:6px 8px;background:transparent;color:#2563eb}.expense-layout{width:min(1180px,calc(100% - 48px));margin:44px auto;display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:32px;align-items:start}.form-panel,.list-panel{background:#fff;border:1px solid #dbe3ef;border-radius:18px;box-shadow:0 8px 28px #1725540e}.form-panel{padding:28px;position:sticky;top:24px}.list-panel{padding:28px;min-height:480px}.eyebrow{margin:0 0 6px;color:#2563eb;font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.form-panel h1,.list-panel h2{margin:0;font-size:1.55rem;letter-spacing:-.025em}.field-row{display:grid;grid-template-columns:1fr 120px;gap:12px}.optional{color:#94a3b8;font-weight:500}.form-actions{display:flex;gap:10px}.form-actions .primary{flex:1}.receipt-first-action{margin:20px 0 0;padding:14px;border:1px solid #bfdbfe;border-radius:11px;background:#eff6ff;color:#1d4ed8}.receipt-first-action input{background:#fff}.review-notice{margin-top:18px;padding:12px 13px;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:.85rem;line-height:1.4}.form-panel.reviewing{grid-column:1 / -1;position:static}.form-panel.reviewing+.list-panel{grid-column:1 / -1}.review-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:28px;align-items:start}.review-workspace form{margin-top:26px}.receipt-source{margin-top:26px;min-width:0}.source-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:10px}.source-heading h2{margin:0;font-size:1rem;overflow-wrap:anywhere}.source-type{color:#475569;font-size:.72rem;font-weight:800}.source-viewport{width:100%;max-height:620px;overflow:auto;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}.source-canvas{position:relative;width:100%;background:#f8fafc}.source-canvas img,.source-overlays{position:absolute;inset:0;width:100%;height:100%}.source-canvas img{object-fit:contain;display:block}.source-overlays{pointer-events:none}.source-region{position:absolute;border:3px solid #dc2626;background:#fef08a80;border-radius:3px;box-shadow:0 0 0 1px #fff}.source-status{min-height:20px;margin:9px 0 0;color:#334155;font-size:.78rem;font-weight:700}.raw-evidence{margin-top:8px;color:#475569;font-size:.78rem}.raw-evidence summary{cursor:pointer;font-weight:750}.raw-evidence p{max-height:100px;overflow:auto;margin:7px 0 0;padding:9px;border-radius:8px;background:#f8fafc;white-space:pre-wrap}.source-fallback{margin-top:26px;padding:20px;border:1px dashed #94a3b8;border-radius:12px;background:#f8fafc;color:#475569}.source-fallback p{margin:6px 0 0;font-size:.82rem;line-height:1.45}.field-evidence{display:block;color:#64748b;font-weight:600;line-height:1.35}.field-evidence.active{color:#991b1b}.list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.review-count{margin:-12px 0 18px;color:#9a3412;font-size:.8rem;font-weight:750}.count{min-width:30px;height:30px;display:grid;place-items:center;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.8rem;font-weight:800}.expense-list{display:grid;gap:10px}.expense-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:13px;align-items:center;padding:15px;border:1px solid #e2e8f0;border-radius:13px}.expense-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#e0e7ff;color:#3730a3;font-weight:850}.expense-copy h3{margin:0 0 4px;font-size:.98rem}.expense-copy p{margin:0;color:#64748b;font-size:.78rem}.expense-copy .note{margin-top:5px;color:#475569}.expense-price{display:grid;justify-items:end;gap:2px}.expense-price strong{color:#0f172a}.expense-price .text-button{min-height:30px;font-size:.78rem}.receipt-section{grid-column:2 / -1;padding-top:10px;border-top:1px solid #e2e8f0}.receipt-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.receipt-dropzone{margin-bottom:8px;padding:12px;border:1px dashed #94a3b8;border-radius:8px;color:#475569;text-align:center;cursor:pointer;font-size:.78rem}.receipt-dropzone:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.receipt-dropzone.disabled{cursor:not-allowed;opacity:.55}.receipt-picker label{min-width:0}.receipt-picker input{padding:8px;font-size:.78rem}.receipt-picker .secondary{min-height:38px;padding:7px 12px;font-size:.78rem}.receipt-list{list-style:none;padding:8px 0 0;margin:0;display:grid;gap:4px}.receipt-list li{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#475569;font-size:.78rem}.receipt-list li>span:first-child{display:grid}.receipt-list small,.receipt-selection span,.receipt-count{color:#64748b;font-size:.72rem}.receipt-count{margin-top:6px}.receipt-selection{display:grid;gap:2px;margin-top:6px;color:#334155;font-size:.78rem}.receipt-list .text-button{min-height:30px;font-size:.75rem}.receipt-list .danger{color:#b91c1c}.receipt-error{margin-top:6px;color:#991b1b;font-size:.78rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.empty{display:grid;justify-items:center;text-align:center;padding:90px 20px;color:#64748b}.empty h3{margin:12px 0 5px;color:#334155}.empty-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#eff6ff;color:#2563eb;font-size:1.4rem}@media(max-width:800px){.app-shell header{padding:0 20px}.header-subtitle{display:none}.expense-layout{width:min(100% - 28px,620px);margin:20px auto;grid-template-columns:1fr;gap:18px}.form-panel{position:static}.receipt-section{grid-column:1 / -1}.review-workspace{grid-template-columns:1fr;gap:0}.receipt-source,.source-fallback{order:-1}.source-viewport{max-height:480px}}@media(max-width:480px){.auth-shell{padding:0;background:#fff}.auth-card{min-height:100vh;padding:30px 20px;border:0;border-radius:0;box-shadow:none}.form-panel,.list-panel{padding:20px;border-radius:14px}.field-row{grid-template-columns:1fr 105px}.expense-card{grid-template-columns:38px minmax(0,1fr)}.expense-mark{width:38px;height:38px}.expense-price{grid-column:2;grid-row:2;display:flex;width:100%;justify-content:space-between;align-items:center}}
