/* ReceiptAily — single stylesheet, no build step required. */

:root {
    --ink: #0f172a;
    --ink-soft: #475569;
    --muted: #94a3b8;
    --line: #e2e8f0;
    --bg: #f5f7fb;
    --card: #ffffff;
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --ok: #047857;
    --ok-bg: #d1fae5;
    --warn: #b45309;
    --warn-bg: #fef3c7;
    --err: #b91c1c;
    --err-bg: #fee2e2;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .18);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans HK", "Microsoft JhengHei", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #eef2ff; padding: 1px 5px; border-radius: 5px; font-size: .9em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }

/* ---------- shell ---------- */

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { background: #0b1220; color: #e5e7eb; }
.topbar-inner {
    max-width: 1180px; margin: 0 auto; padding: 10px 18px;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand { font-weight: 700; letter-spacing: .2px; color: #fff; font-size: 1.05rem; }
.brand span { color: #a5b4fc; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: 6px; }
.nav a {
    color: #cbd5e1; padding: 7px 11px; border-radius: 9px; font-size: .92rem; text-decoration: none;
}
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.nav a.active { background: rgba(165, 180, 252, .18); color: #fff; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: .88rem; flex-wrap: wrap; justify-content: flex-end; }
.app-lang { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.app-lang a { color: #94a3b8; text-decoration: none; padding: 4px 6px; border-radius: 6px; }
.app-lang a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.08); }
.app-lang a.active { color: #fff; font-weight: 700; background: rgba(165, 180, 252, .18); }
.app-lang .sep { color: #64748b; user-select: none; }
.topbar-right form { margin: 0; }
.who { color: #cbd5e1; text-align: right; line-height: 1.25; }
.who small { display: block; color: #94a3b8; }

main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 22px 18px 60px; }
.footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 18px; }

/* ---------- headings ---------- */

.ui-top { display: flex; gap: 18px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.ui-kicker { margin: 0 0 4px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ui-title { margin: 0; font-size: 1.7rem; line-height: 1.15; }
.ui-sub { margin: 6px 0 0; color: var(--ink-soft); font-size: .9rem; }
.ui-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- cards, tables, forms ---------- */

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 18px; }
.stack { display: grid; gap: 14px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.form-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
label input, label select, label textarea { margin-top: 5px; }
.inline-label { display: inline-flex; align-items: center; gap: 7px; margin-right: 16px; font-weight: 500; }

.field {
    width: 100%; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 10px;
    font: inherit; background: #fff; color: var(--ink);
}
.field:focus { outline: 2px solid rgba(79, 70, 229, .35); border-color: var(--brand); }
.field[readonly] { background: #f8fafc; }
.field-sm { padding: 6px 8px; font-size: .88rem; }
textarea.field { min-height: 74px; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0; }
legend { font-size: .8rem; font-weight: 700; color: var(--brand); padding: 0 6px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 15px; border-radius: 10px; border: 1px solid transparent; font: inherit;
    font-weight: 600; cursor: pointer; background: #eef2ff; color: var(--brand-dark); text-decoration: none;
}
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: #0b1220; color: #fff; }
.btn-ghost { background: #fff; border-color: #cbd5e1; color: var(--ink); }
.btn-stop { background: var(--err-bg); color: var(--err); }
.btn-sm { padding: 5px 10px; font-size: .84rem; border-radius: 8px; }
.btn-link { background: none; border: none; color: var(--brand); cursor: pointer; padding: 0; font: inherit; }

.table-wrap { overflow-x: auto; }
.ui-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ui-table th, .ui-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ui-table th { background: #f8fafc; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.ui-table.ui-table-head-center th { text-align: center; }
.ui-table tbody tr:hover { background: #fafbff; }
.ui-table input.field, .ui-table select.field { min-width: 100px; }
.ui-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.cat-table td { padding: 6px 8px; }

/* ---------- badges, banners ---------- */

.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #eef2ff; color: var(--brand-dark); }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.err { background: var(--err-bg); color: var(--err); }
.badge.grey { background: #e9eef5; color: var(--ink-soft); }

.banner { padding: 12px 15px; border-radius: 12px; border: 1px solid var(--line); background: #fff; margin-bottom: 14px; font-size: .9rem; }
.banner.warn { background: var(--warn-bg); border-color: #fcd34d; color: #7c2d12; }
.banner.error { background: var(--err-bg); border-color: #fca5a5; color: #7f1d1d; }
.banner.ok { background: var(--ok-bg); border-color: #6ee7b7; color: #064e3b; }
.banner a { font-weight: 600; }

.stat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.stat .v { font-size: 1.5rem; font-weight: 700; margin-top: 4px; }
.stat .s { font-size: .8rem; color: var(--ink-soft); }

/* ---------- extraction desk ---------- */

.dropzone { border: 2px dashed #c7d2fe; border-radius: var(--radius); background: #fff; padding: 26px; text-align: center; transition: .15s; }
.dropzone.hot { border-color: var(--brand); background: #f5f3ff; }
.dropzone h3 { margin: 0 0 6px; }
.extract-upload-card { margin-bottom: 0; }
.extract-dropzone { padding: 32px 20px; min-height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.extract-dropzone.has-photos { padding: 20px; min-height: 0; }
.extract-upload-actions .btn { min-width: 9.5rem; }
@media (max-width: 520px) {
    .extract-upload-actions { flex-direction: column; width: 100%; }
    .extract-upload-actions .btn { width: 100%; }
}

@media (max-width: 900px) {
    .topbar-inner { gap: 10px; }
    .topbar-right { width: 100%; justify-content: space-between; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.08); }
    .nav {
        width: 100%; margin: 0; padding: 8px 0 4px; border-top: 1px solid rgba(255,255,255,.08);
    }
    .nav a { padding: 8px 10px; font-size: .88rem; }
    .who { text-align: left; }
    .ui-top { flex-direction: column; align-items: stretch; }
    .ui-actions { width: 100%; }
    .ui-actions .btn { flex: 1 1 auto; min-width: 0; }
    .modal-panel { width: 100%; max-height: 100vh; border-radius: 12px 12px 0 0; align-self: flex-end; }
    .modal { align-items: flex-end; padding: 0; }
    main { padding: 16px 14px 48px; }
    .ui-title { font-size: 1.45rem; }
}

@media (max-width: 480px) {
    .topbar-inner { padding: 10px 12px; }
    .btn-sm { padding: 6px 10px; }
    .stat .v { font-size: 1.25rem; }
}
/* Let drops hit the zone in Edge/Chrome when the pointer is over text or padding (not buttons). */
.dropzone > *:not(button):not(a) { pointer-events: none; }
.empty-hint { color: var(--ink-soft); }
.empty-hint p { margin: 4px 0; }

.thumbs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); margin-top: 14px; }
.thumb { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #f8fafc; }
.thumb img { width: 100%; height: 132px; object-fit: cover; display: block; }
.thumb .cap { padding: 6px 8px; font-size: .74rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb .x { position: absolute; top: 6px; right: 6px; border: none; background: rgba(15, 23, 42, .72); color: #fff; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; line-height: 1; }
.thumb .rot { position: absolute; top: 6px; left: 6px; border: none; background: rgba(15, 23, 42, .72); color: #fff; height: 24px; border-radius: 12px; cursor: pointer; font-size: .72rem; padding: 0 8px; }

.file-count { color: var(--ink-soft); font-size: .88rem; margin: 12px 0 0; }
.progress-copy { font-size: .9rem; color: var(--ink-soft); margin: 0 0 8px; }
.bar { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.bar > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #818cf8); transition: width .25s; }

.receipt-rail { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 14px; }
.receipt-rail figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; flex: 0 0 132px; cursor: zoom-in; }
.receipt-rail img { width: 132px; height: 132px; object-fit: cover; display: block; }
.receipt-rail figcaption { font-size: .72rem; padding: 5px 7px; color: var(--ink-soft); }

.lightbox { position: fixed; inset: 0; background: rgba(8, 11, 20, .88); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }

.modal { position: fixed; inset: 0; background: rgba(8, 11, 20, .55); display: flex; align-items: center; justify-content: center; z-index: 70; padding: 20px; }
.modal.hidden { display: none; }
.modal-panel { background: #fff; border-radius: 14px; border: 1px solid var(--line); width: min(720px, 100%); max-height: min(92vh, 900px); overflow: auto; padding: 20px 22px 18px; box-shadow: 0 24px 64px rgba(15, 23, 42, .22); position: relative; }
.modal-close { position: absolute; top: 12px; right: 14px; border: none; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.modal-title { margin: 0 0 14px; font-size: 1.05rem; }
.receipt-modal-preview { margin-bottom: 16px; }
.receipt-modal-preview img { width: 100%; max-height: 280px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #f8fafc; }
.receipt-modal-preview .muted { margin: 0; padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; }
.receipt-modal-form .form-grid { margin-bottom: 14px; }
.receipt-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding-top: 8px; border-top: 1px solid var(--line); }
.receipt-modal-actions .btn[disabled], .receipt-modal-actions a.btn.disabled { opacity: .45; pointer-events: none; }

input.field-date { min-width: 7.5rem; }

.results-summary { margin: 0 0 12px; font-size: .95rem; color: var(--ink-soft); }
.results-summary-count { font-weight: 600; color: var(--ink); }

.label-hint { font-weight: 400; font-size: .78rem; color: var(--muted); }
.filter-advanced { margin-top: 4px; }
.filter-advanced summary { cursor: pointer; font-size: .88rem; color: var(--ink-soft); font-weight: 500; }
.filter-advanced-body { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.check-row input { margin-top: 3px; }

.row-failed { background: #fff7f6 !important; }
.row-queued { color: var(--muted); }

/* ---------- auth (aligned with landing) ---------- */

.auth-body { min-height: 100vh; position: relative; }
.marketing-bg {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 55% 45% at 85% 8%, rgba(165, 180, 252, .45), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 92%, rgba(196, 181, 253, .38), transparent 55%);
}
.auth-page {
    position: relative; z-index: 1;
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 28px 18px 40px;
}
.auth-center { width: 100%; max-width: 920px; margin: 0 auto; }
.auth-shell {
    display: grid; grid-template-columns: 1fr;
    border: 1px solid #dbe3f0; border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(15, 23, 42, .04), 0 24px 48px -20px rgba(79, 70, 229, .22);
    background: #fff;
}
@media (min-width: 800px) {
    .auth-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); min-height: 420px; }
}
.auth-aside {
    padding: 36px 32px; color: var(--ink);
    background: linear-gradient(165deg, #eef2ff 0%, #f5f3ff 45%, #faf5ff 100%);
    border-bottom: 1px solid #e0e7ff;
}
@media (min-width: 800px) {
    .auth-aside {
        display: flex; flex-direction: column; justify-content: center;
        border-bottom: none; border-right: 1px solid #e0e7ff;
    }
}
.auth-aside-brand {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
    font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none;
}
.auth-aside-brand span { color: var(--brand); }
.auth-aside-brand:hover { text-decoration: none; }
.auth-aside-kicker {
    display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
    background: #fff; border: 1px solid #c7d2fe; color: var(--brand-dark); font-size: .76rem; font-weight: 600;
    line-height: 1.35;
}
.auth-aside-title { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.3; }
.auth-aside-lead { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }

.auth-main { padding: 0; background: #fff; }
.auth-toolbar {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.auth-back {
    display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600;
    color: var(--ink-soft); text-decoration: none; padding: 6px 10px; border-radius: 9px;
}
.auth-back:hover { color: var(--brand); background: rgba(79, 70, 229, .08); text-decoration: none; }

.auth-card {
    width: 100%; padding: 26px 24px 22px; border: none; border-radius: 0; box-shadow: none;
}
.auth-card-head {
    margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.auth-card h1 { margin: 0 0 6px; font-size: 1.5rem; line-height: 1.2; }
.auth-card p.lead { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.auth-form.row { display: grid; gap: 14px; }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-foot { margin-top: 18px; font-size: .88rem; color: var(--ink-soft); text-align: center; }

/* ---------- misc ---------- */

.copy-box { display: flex; gap: 8px; align-items: stretch; }
.copy-box textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-top: 14px; color: var(--ink-soft); font-size: .88rem; }
.pager .pages { display: flex; gap: 6px; }
.pager .pages a, .pager .pages span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.pager .pages .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.split { display: grid; gap: 18px; grid-template-columns: 2fr 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: 40% 60%; gap: 6px 10px; font-size: .9rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* ---------- marketing landing ---------- */

body.landing-body {
    position: relative;
    background-color: #f3f6fc;
    background-image:
        linear-gradient(180deg, #eef2ff 0%, transparent 280px),
        radial-gradient(circle at 1px 1px, rgba(148, 163, 184, .2) 1px, transparent 0);
    background-size: auto, 22px 22px;
}
.landing {
    position: relative; z-index: 1;
    max-width: 1080px; margin: 0 auto; padding: 20px 18px 48px;
}
.landing-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.landing-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.landing-brand-mark { display: block; border-radius: 8px; box-shadow: 0 2px 8px rgba(79, 70, 229, .25); }
.landing-brand span { color: var(--brand); }
.landing-brand:hover { text-decoration: none; }
.landing-top-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.landing-lang { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.landing-lang a { color: var(--ink-soft); text-decoration: none; padding: 4px 6px; border-radius: 6px; }
.landing-lang a:hover { color: var(--brand); text-decoration: none; }
.landing-lang a.active { color: var(--brand); font-weight: 700; }
.landing-lang .sep { color: var(--muted); user-select: none; }

.landing-hero-wrap {
    display: grid; gap: 28px; align-items: center; margin-bottom: 40px;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .landing-hero-wrap { grid-template-columns: 1fr 1fr; gap: 36px; }
    .landing-hero-copy { text-align: left; }
    .landing-hero-copy h1 { justify-content: flex-start; }
}
.landing-hero { text-align: center; max-width: 720px; margin: 0 auto; min-height: 248px; width: 100%; }
.landing-hero-copy { margin-inline: 0; max-width: none; }
.landing-kicker {
    display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
    background: #fff; border: 1px solid #c7d2fe; color: var(--brand-dark); font-size: .82rem; font-weight: 600;
}
.landing-hero h1 {
    margin: 0 0 12px; font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.2;
    min-height: 5.6rem; display: flex; align-items: center; justify-content: center;
}
.landing-lead { margin: 0 0 22px; min-height: 3.1rem; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.55; }
.btn-lg { padding: 11px 22px; font-size: 1rem; }

.landing-band { text-align: center; padding: 28px 24px; margin-bottom: 36px; background: linear-gradient(135deg, #fff 0%, #f5f3ff 100%); min-height: 118px; display: flex; flex-direction: column; justify-content: center; }
.landing-band h2 { margin: 0 0 10px; font-size: 1.15rem; color: var(--brand-dark); }
.landing-band p { margin: 0; color: var(--ink-soft); max-width: 640px; margin-inline: auto; line-height: 1.55; }

.landing-section-title { text-align: center; margin: 0 0 20px; font-size: 1.25rem; }
.landing-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}
@media (max-width: 640px) {
    .landing-grid { grid-template-columns: 1fr; grid-template-rows: none; }
}
.landing-feature {
    display: flex; flex-direction: column; height: 100%; min-height: 172px;
}
.landing-feature-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.landing-feature-icon {
    flex-shrink: 0; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 100%); border: 1px solid #c7d2fe; border-radius: 11px;
    color: var(--brand);
}
.landing-feature-icon svg { width: 22px; height: 22px; display: block; }
.landing-feature h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.landing-feature p { margin: 0; flex: 1; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }

.landing-quote {
    margin-top: 36px;
    background: linear-gradient(120deg, #eef2ff 0%, #e0e7ff 45%, #ede9fe 100%);
    color: var(--ink);
    border-color: #c7d2fe;
    box-shadow: var(--shadow);
}
.landing-quote h2 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.2rem; }
.landing-quote p { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; max-width: 520px; }
.landing-quote-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; min-height: 72px; }
.landing-quote .btn-ghost { border-color: var(--brand); color: var(--brand-dark); background: #fff; }
.landing-quote .btn-ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; }
.landing-quote-disabled { opacity: .55; cursor: default; pointer-events: none; }

.landing-hero-visual { width: 100%; max-width: 420px; margin: 0 auto; }
.landing-mockup {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; padding: 18px;
    background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
}
.landing-mockup-receipt {
    background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 14px 12px;
    display: flex; flex-direction: column; gap: 8px; min-height: 160px;
}
.landing-mockup-lines { height: 6px; border-radius: 3px; background: #e2e8f0; }
.landing-mockup-lines.short { width: 70%; }
.landing-mockup-total { margin-top: auto; font-weight: 700; font-size: .95rem; color: var(--ink); }
.landing-mockup-panel {
    background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 10px; padding: 12px;
    display: flex; flex-direction: column; gap: 8px; font-size: .78rem;
}
.landing-mockup-row { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-soft); }
.landing-mockup-row strong { color: var(--ink); font-weight: 600; }
.landing-mockup-badge {
    margin-top: 6px; text-align: center; padding: 6px 8px; border-radius: 8px;
    background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: .76rem;
}
