: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}.list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.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-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 .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}}@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}}
