/* Same Inter family as Chatbotics; local assets also work offline after caching. */
@font-face{font-family:Inter;src:url("./Inter-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("./Inter-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("./Inter-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("./Inter-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
html,body,button,input,select,textarea{font-family:Inter,sans-serif;letter-spacing:0}
h1,h2,h3,.page-heading h1{font-weight:700;letter-spacing:-.05em;line-height:1.05}
button,a.primary{font-weight:500}
/* Shared receipt-app palette, shapes and spacing. */
:root{--ink:#ffffff;--muted:#a6a6a6;--surface:#151515;--surface-raised:#222222;--surface-hover:#2b2b2b;--line:#303030;--blue:#ffffff;--accent:#ffffff;--nav:#080808}
html,body{background:#000;color:var(--ink)}.shell,.main{background:#000;color:var(--ink)}
button,a,input,select,textarea{transition:background-color .15s,border-color .15s}
button.primary,a.primary,.primary{background:#ffffff;border-color:#ffffff;color:#000000;border-radius:999px;font-weight:500}
button.secondary,a.secondary,.secondary{background:#222222;border-color:#3b3b3b;color:#ffffff;border-radius:999px}
input,select,textarea{background:#151515;border-color:#404040;border-radius:14px;color:var(--ink);min-height:46px}
.receipts-home h2,.receipts-home h3,.finance-home h2{font-weight:700;letter-spacing:-.05em;line-height:1.05}
.receipt-intro{margin-bottom:12px}.receipt-intro h2{font-size:30px}.receipts-home{max-width:1150px;margin:0 auto}
.payment-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
.payment-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-height:230px;border:1px solid #444444;border-radius:29px;padding:27px;gap:24px;overflow:hidden;background:linear-gradient(135deg,#383838,#222222 55%,#141414);color:#fff;box-shadow:0 12px 30px #0003}
.payment-card:disabled{opacity:.5;cursor:default}.payment-card-top,.payment-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px}.payment-card-top strong{font-size:19px;font-weight:500}.payment-card-top>span{font-size:22px}.payment-card-bottom>span:first-child{display:flex;flex-direction:column;gap:7px}.payment-card-bottom small{font-size:11px;opacity:.75}.card-digits{font-size:21px;letter-spacing:.08em;font-variant-numeric:tabular-nums}.card-chip{width:37px;height:28px;border:1px solid #ddc095;border-radius:6px;background:linear-gradient(120deg,#d6c2a4,#9f845c);position:relative}.card-chip:after{content:'';position:absolute;inset:3px 12px;border:1px solid #a48b68;border-radius:3px}.mastercard-mark{width:53px;height:33px;position:relative}.mastercard-mark:before,.mastercard-mark:after{content:'';position:absolute;width:33px;height:33px;border-radius:50%;background:#f1283c;left:0}.mastercard-mark:after{background:#ffb228;left:20px;opacity:.94}
.add-card-tile{min-height:230px;border:1px dashed #484848;border-radius:29px;background:#151515;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--ink)}.add-card-tile>span{font-size:32px;border:1px solid #555555;border-radius:50%;width:48px;height:48px;line-height:44px;font-weight:300}.add-card-tile strong{font-size:16px;font-weight:500}.card-editor{max-width:640px;display:grid;gap:24px}.card-editor details>div{padding-top:18px}.empty-account{display:flex;justify-content:space-between;padding:20px}.archived-cards{margin-top:28px}.archived-cards .payment-card{margin-top:18px}
.receipt-upload{display:flex;align-items:center;gap:18px;padding:22px;border-radius:28px;background:linear-gradient(115deg,#202020,#151515);border:1px solid #333333}.receipt-upload h3{font-size:19px}.receipt-upload-icon{background:#292929;color:#ffffff;border-radius:20px}.receipt-upload-actions{margin-left:auto}.receipt-upload>label{max-width:190px}.receipt-private{display:none}.receipt-card,.account-summary-card,.receipt-empty,.receipt-detail-empty{border-radius:28px;background:#151515;border-color:#303030}.receipt-row{border-radius:25px;background:linear-gradient(105deg,#1d1d1d,#151515);border:1px solid transparent;padding:21px;margin-bottom:10px;text-align:left}.receipt-row:hover,.receipt-row.selected{border-color:#777777;background:linear-gradient(105deg,#303030,#202020)}.receipt-row-heading strong{font-weight:500;font-size:17px}.receipt-row-heading>span{color:#ffffff;font-size:18px;font-weight:500}.receipt-status-complete,.receipt-status-needs_review{display:none}.receipt-fields{gap:18px}.receipt-metadata{gap:10px}.receipt-edit-form details{margin:18px 0}.receipt-open-file{white-space:nowrap}.receipt-list{gap:0}.receipt-filters{gap:16px}.receipt-preview-dialog{width:min(96vw,850px);max-height:94vh;background:#151515;border:1px solid #404040;border-radius:25px;color:var(--ink);padding:20px}.receipt-preview-dialog::backdrop{background:#000b}.receipt-view-actions{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.receipt-preview-dialog img{display:block;width:100%;height:auto;border-radius:12px;background:white}.receipt-preview-pages{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:18px}.receipt-preview-dialog[open]{display:block}
.receipt-analyzing{padding:60px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:24px}.receipt-analyzing-icon{width:90px;height:90px;border-radius:30px;background:linear-gradient(135deg,#303030,#202020);display:grid;place-items:center;font-size:36px;color:#ffffff;animation:receipt-breathe 1.5s ease-in-out infinite}.receipt-analyzing p{font-size:20px;letter-spacing:-.02em}.receipt-analyzing small{color:var(--muted)}@keyframes receipt-breathe{50%{opacity:.45;transform:scale(.95)}}
@media(prefers-reduced-motion:reduce){.receipt-analyzing-icon{animation:none}*{transition:none}}
@media(max-width:680px){.receipt-upload{flex-wrap:wrap}.receipt-upload-actions{margin-left:0;width:100%}.payment-card-grid{grid-template-columns:1fr}.receipt-filters{display:grid;grid-template-columns:1fr 1fr}.receipt-layout{grid-template-columns:1fr}.receipt-fields{grid-template-columns:1fr 1fr}.receipt-fields>label:first-child{grid-column:1/-1}.receipt-intro h2{font-size:26px}.receipt-preview-dialog{padding:14px}.receipt-detail-heading{flex-wrap:wrap}}

.receipt-row{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px}.receipt-merchant-badge{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#292929;color:#ffffff;font-size:20px;grid-column:1;grid-row:1 / span 2;align-self:center}.receipt-row>.receipt-row-heading,.receipt-row>p,.receipt-row>.receipt-status{grid-column:2}.receipt-row>.receipt-row-heading{grid-row:1}

.receipt-row{row-gap:8px;align-items:center}.receipt-row p{margin:0}.receipt-row>.receipt-row-meta{grid-row:2}.receipts-home .receipt-detail-actions button.primary{background:#ffffff;border-color:#ffffff;color:#000000}.receipt-upload h3{margin-bottom:0}

/* Neutral interaction colours throughout both expense spaces. */
.primary:hover,.credential-login .auth-submit:hover{background:#dedede;border-color:#dedede;color:#000}
.credential-login a{color:#fff}
input[type="checkbox"],input[type="radio"]{accent-color:#fff}
.credential-login .auth-submit{background:#fff;border-color:#fff;color:#000}

.receipt-merchant-badge{position:relative;overflow:hidden}
.receipt-merchant-logo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:white;border-radius:50%}
