:root {
    --ink: #17211d;
    --muted: #69746e;
    --line: #dfe5e1;
    --paper: #ffffff;
    --canvas: #f3f5f2;
    --forest: #14271f;
    --forest-2: #203c30;
    --mint: #c7f15a;
    --mint-dark: #91bd20;
    --amber: #f1a527;
    --amber-soft: #fff7e9;
    --red: #c84b42;
    --red-soft: #fff0ee;
    --shadow: 0 18px 45px rgba(19, 39, 31, .08);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.45; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.topbar { min-height: 76px; padding: 0 clamp(20px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand, .login-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px 3px 12px 3px; background: var(--forest); color: var(--mint); font-weight: 900; font-size: 20px; transform: rotate(-2deg); }
.brand-mark.large { width: 52px; height: 52px; font-size: 27px; }
.brand > span:last-child, .login-brand > div { display: flex; flex-direction: column; line-height: 1; }
.brand strong, .login-brand strong { font-size: 18px; letter-spacing: .08em; }
.brand small, .login-brand small { margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .16em; font-weight: 800; }
.main-nav { display: flex; align-self: stretch; gap: 30px; }
.main-nav a { position: relative; display: flex; align-items: center; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--mint-dark); border-radius: 3px 3px 0 0; }
.user-menu { justify-self: end; display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 36px; height: 36px; display: grid; place-items: center; background: #e9eee9; border: 1px solid var(--line); border-radius: 50%; font-weight: 900; }
.user-copy { display: flex; flex-direction: column; min-width: 110px; }
.user-copy strong { font-size: 13px; }
.user-copy small { color: var(--muted); font-size: 11px; }
.icon-button { width: 34px; height: 34px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; color: var(--muted); font-size: 18px; }
.icon-button:hover { background: var(--canvas); color: var(--ink); }

.page-wrap { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 70px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.page-heading h1 { margin: 5px 0 4px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.045em; line-height: 1.05; }
.page-heading p { margin: 0; color: var(--muted); }
.eyebrow { display: block; color: #678014; font-weight: 900; font-size: 10px; letter-spacing: .17em; }
.eyebrow.light { color: var(--mint); }
.eyebrow.warning { color: #a96900; }
.secondary-button, .primary-button { min-height: 44px; border-radius: 11px; padding: 0 17px; border: 1px solid var(--line); background: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--ink); font-weight: 800; font-size: 13px; text-decoration: none; cursor: pointer; }
.secondary-button:hover { border-color: #b8c3bd; background: #fafbf9; }
.primary-button { border-color: var(--forest); background: var(--forest); color: white; }
.primary-button:hover { background: var(--forest-2); }
.primary-button.compact { min-height: 42px; padding: 0 16px; }
.refresh-icon { font-size: 19px; line-height: 0; }
.toast { margin-bottom: 20px; padding: 13px 16px; border: 1px solid; border-radius: 12px; font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(22, 34, 29, .06); }
.toast.success { background: #eefad7; border-color: #c9e495; color: #3f5d0b; }
.toast.error { background: var(--red-soft); border-color: #f0bbb6; color: #8a2e28; }

.transaction-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) 330px; gap: 18px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 3px rgba(20, 39, 31, .02); }
.transaction-panel, .rate-panel, .detail-panel, .audit-panel { padding: 24px; }
.panel-header { display: flex; gap: 13px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel-header .step { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 33px; border-radius: 9px; background: var(--forest); color: var(--mint); font-size: 11px; font-weight: 900; }
.panel-header h2 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.panel-header p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
fieldset { margin: 0; padding: 0; border: 0; }
.segmented-field { padding: 20px 0; }
.segmented-field legend, .field, .special-rate-field label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.segment { display: flex; align-items: center; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; margin-top: 8px; transition: .15s ease; }
.segment:has(input:checked) { border-color: var(--forest-2); background: #f5f8f4; box-shadow: inset 3px 0 0 var(--mint-dark); }
.segment input { accent-color: var(--forest); width: 16px; height: 16px; margin: 0 11px 0 0; }
.segment span { display: flex; flex-direction: column; }
.segment strong { font-size: 13px; }
.segment small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field select, .field input, .special-rate-field input, .stack-form input { width: 100%; height: 48px; margin-top: 7px; padding: 0 13px; border: 1px solid #cfd7d2; border-radius: 10px; background: white; color: var(--ink); font-weight: 700; outline: 0; }
.field select:focus, .field input:focus, .special-rate-field input:focus, .stack-form input:focus { border-color: #6f8b74; box-shadow: 0 0 0 3px rgba(111, 139, 116, .13); }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 50px; }
.input-suffix > span { position: absolute; right: 13px; bottom: 15px; color: var(--muted); font-size: 11px; font-weight: 900; }
.live-rate-card { margin-top: 18px; padding: 16px; border: 1px solid #cbd8cf; border-radius: 13px; background: linear-gradient(135deg, #f3f9ec, #f8faf7); }
.live-rate-card > div:first-child { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
.live-rate-card .live-dot { width: 7px; height: 7px; background: #73ad18; border-radius: 50%; box-shadow: 0 0 0 4px rgba(115, 173, 24, .12); }
.live-rate-card span { color: #52635a; font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.live-rate-card > div > strong { font-size: 23px; letter-spacing: -.035em; }
.rate-meta { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #dbe5dc; }
.rate-meta span { letter-spacing: 0; font-weight: 500; }
.rate-meta strong { color: var(--ink); }
.source-warning { margin-top: 12px; padding: 12px 14px; display: flex; flex-direction: column; border: 1px solid #efcc8d; background: var(--amber-soft); border-radius: 10px; color: #76500e; font-size: 12px; }
.source-warning.danger { margin: 0 0 18px; background: var(--red-soft); border-color: #efb6b0; color: #852d26; }

.rate-options { padding-top: 20px; display: grid; gap: 10px; }
.rate-option { min-height: 65px; padding: 13px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.rate-option:has(input:checked) { border-color: var(--forest-2); background: #f6f9f5; box-shadow: inset 3px 0 0 var(--mint-dark); }
.rate-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-ui { width: 18px; height: 18px; flex: 0 0 18px; border: 1.5px solid #9aa69f; border-radius: 50%; position: relative; }
.rate-option input:checked + .radio-ui { border-color: var(--forest); }
.rate-option input:checked + .radio-ui::after { content: ""; position: absolute; inset: 3px; background: var(--forest); border-radius: 50%; }
.rate-option-copy { display: flex; flex-direction: column; flex: 1; }
.rate-option-copy strong { font-size: 13px; }
.rate-option-copy small { color: var(--muted); font-size: 10px; }
.rate-option b { font-size: 16px; }
.permission-badge { padding: 4px 7px; background: #f1e8d2; border-radius: 6px; color: #80611d; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.special-rate-field { margin-top: 13px; padding: 14px; border: 1px dashed #d5b466; background: #fffaf0; border-radius: 12px; }
.special-rate-field label { margin: 0; }
.special-rate-field input { margin-top: 6px; }
.special-rate-field p { margin: 8px 0 0; color: #80692d; font-size: 10px; }
.special-alert { margin-top: 12px; padding: 14px; background: #fff4e6; border: 1px solid #f0c273; border-radius: 12px; }
.alert-title { display: flex; align-items: center; gap: 8px; color: #965c00; }
.alert-title span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: white; font-weight: 900; }
.alert-title strong { font-size: 11px; letter-spacing: .09em; }
.special-alert dl { margin: 11px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.special-alert dl div { display: flex; flex-direction: column; }
.special-alert dt { color: #876d3b; font-size: 9px; }
.special-alert dd { margin: 2px 0 0; font-size: 11px; font-weight: 900; }

.summary-card { position: sticky; top: 96px; padding: 25px; border-radius: var(--radius); background: radial-gradient(circle at top right, #2e4f40, var(--forest) 60%); color: white; box-shadow: var(--shadow); overflow: hidden; }
.summary-card::before { content: ""; position: absolute; width: 140px; height: 140px; right: -65px; top: -65px; border: 28px solid rgba(199, 241, 90, .08); border-radius: 50%; }
.calculation { display: flex; align-items: center; gap: 7px; margin-top: 25px; color: #bac8c0; }
.calculation strong { color: white; font-size: 13px; }
.summary-divider { height: 1px; margin: 20px 0; background: rgba(255,255,255,.14); }
.pay-label { display: block; color: #a9b9b1; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.total { display: flex; align-items: baseline; gap: 6px; margin: 6px 0; font-size: clamp(32px, 3.2vw, 42px); letter-spacing: -.05em; }
.total small, .detail-total small { font-size: 13px; letter-spacing: .02em; color: var(--mint); }
.summary-card p { min-height: 42px; margin: 12px 0 19px; color: #9fb0a7; font-size: 10px; }
.qr-button { width: 100%; height: 51px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 11px; background: var(--mint); color: #1d301f; font-weight: 900; font-size: 12px; cursor: pointer; }
.qr-button:hover { background: #d5fa72; }
.qr-button:disabled { opacity: .5; cursor: not-allowed; }
.qr-mini { font-size: 22px; line-height: 0; }

.confirm-dialog { width: min(500px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 100px rgba(12, 23, 18, .3); }
.confirm-dialog::backdrop { background: rgba(13, 25, 20, .68); backdrop-filter: blur(3px); }
.dialog-card { position: relative; padding: 30px; }
.dialog-close { position: absolute; right: 18px; top: 15px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--canvas); font-size: 21px; cursor: pointer; }
.dialog-icon { width: 45px; height: 45px; margin-bottom: 15px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-soft); border: 1px solid #efc36f; color: #a66900; font-size: 22px; font-weight: 900; }
.dialog-card h2 { margin: 4px 0 5px; font-size: 25px; letter-spacing: -.03em; }
.dialog-card > p { margin: 0; color: var(--muted); font-size: 13px; }
.dialog-card dl { margin: 20px 0; padding: 5px 17px; background: var(--canvas); border-radius: 12px; }
.dialog-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dialog-card dl div:last-child { border: 0; }
.dialog-card dt { color: var(--muted); font-size: 12px; }
.dialog-card dd { margin: 0; font-weight: 900; font-size: 13px; }
.dialog-question { display: block; font-size: 13px; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 20px; }

.history-panel { overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 980px; }
th { padding: 13px 15px; background: #f8faf8; border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
td { padding: 15px; border-bottom: 1px solid #edf0ee; font-size: 12px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfb; }
td > small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.mode-badge, .status-badge { display: inline-flex; padding: 5px 8px; border-radius: 7px; background: #eaf3df; color: #526f19; font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.mode-badge.special { background: #fff1d8; color: #94610b; }
.mode-badge.last_valid { background: #f1ece2; color: #79643c; }
.row-link { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.empty-state { min-height: 330px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #edf1ed; font-size: 22px; }
.empty-state h1, .empty-state h2 { margin: 16px 0 4px; }
.empty-state p { margin: 0 0 20px; color: var(--muted); }

.back-link { display: block; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 12px; }
.detail-heading { align-items: center; }
.status-badge { background: #e9f6d0; }
.detail-grid { display: grid; grid-template-columns: 420px 1fr; gap: 18px; align-items: start; }
.qr-result-card { grid-row: span 2; padding: 27px; background: var(--forest); border-radius: var(--radius); color: white; text-align: center; box-shadow: var(--shadow); }
.detail-total { display: flex; justify-content: center; align-items: baseline; gap: 7px; margin: 9px 0 21px; font-size: 35px; letter-spacing: -.04em; }
.qr-frame { width: min(360px, 100%); margin: 0 auto; padding: 10px; border-radius: 15px; background: white; }
.qr-frame img { display: block; width: 100%; height: auto; }
.qr-caption { margin: 18px 0 0; display: flex; justify-content: center; gap: 8px; font-size: 13px; }
.qr-result-card > p { color: #9fb1a8; font-size: 10px; }
.qr-result-card .transfer-instruction { margin: 18px 0 8px; padding: 13px; border: 1px solid rgba(199, 241, 90, .22); border-radius: 11px; background: rgba(199, 241, 90, .08); color: #eaf5e8; font-size: 12px; line-height: 1.5; }
.qr-result-card .transfer-instruction strong { color: var(--mint); }
.payout-result-card { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.payout-icon { width: 110px; height: 110px; margin: 26px auto; display: grid; place-items: center; border: 2px solid var(--mint); border-radius: 50%; background: rgba(199, 241, 90, .08); color: var(--mint); font-size: 48px; font-weight: 900; }
.payout-note { margin: 22px 0 8px !important; padding: 13px; border: 1px solid rgba(199, 241, 90, .22); border-radius: 11px; background: rgba(199, 241, 90, .08); color: #eaf5e8 !important; font-size: 12px !important; line-height: 1.5; }
.detail-list { margin: 0; }
.detail-list > div { padding: 14px 2px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0ee; }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); font-size: 12px; }
.detail-list dd { margin: 0; font-size: 13px; font-weight: 700; }
.negative { color: var(--red); }
.positive { color: #5e811b; }
.audit-timeline { list-style: none; margin: 0; padding: 6px 0 0; }
.audit-timeline li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid #edf0ee; }
.audit-timeline li:last-child { border: 0; }
.timeline-dot { width: 9px; height: 9px; border: 2px solid white; outline: 1px solid var(--mint-dark); background: var(--mint-dark); border-radius: 50%; }
.audit-timeline li > div { display: flex; flex-direction: column; }
.audit-timeline strong { font-size: 12px; }
.audit-timeline small, .audit-timeline time { color: var(--muted); font-size: 10px; }

.auth-shell { min-height: 100vh; background: radial-gradient(circle at 75% 20%, #314f41 0, transparent 30%), linear-gradient(135deg, #10231b, #19372a); }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-wrap .toast { position: fixed; top: 25px; left: 50%; transform: translateX(-50%); z-index: 5; }
.login-card { width: min(460px, 100%); padding: 35px; background: white; border-radius: 22px; box-shadow: 0 30px 100px rgba(0,0,0,.25); }
.login-brand { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.login-heading { margin: 28px 0 22px; }
.login-heading h1 { margin: 6px 0 7px; font-size: 28px; line-height: 1.1; letter-spacing: -.04em; }
.login-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.stack-form { display: grid; gap: 15px; }
.stack-form label { font-weight: 800; font-size: 12px; }
.stack-form input { margin-top: 7px; }
.stack-form .primary-button { margin-top: 4px; height: 50px; justify-content: space-between; }
.security-note { margin: 20px 0 0; text-align: center; color: #8a948f; font-size: 9px; }
.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; }

.qr-debug-grid { display: grid; grid-template-columns: minmax(360px, .75fr) minmax(360px, 1.25fr); gap: 18px; align-items: start; }
.qr-debug-input, .qr-debug-output { padding: 24px; }
.qr-debug-input .stack-form { margin-top: 20px; }
.qr-debug-input .field-row label { font-weight: 800; font-size: 12px; }
.qr-debug-visual { min-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--forest); box-shadow: var(--shadow); }
.qr-debug-image { width: min(420px, 100%); padding: 14px; border-radius: 18px; background: white; }
.qr-debug-image img { display: block; width: 100%; height: auto; }
.regression-result { width: min(420px, 100%); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; border-radius: 12px; }
.regression-result.passed { background: #e7f7c7; color: #38590a; }
.regression-result.failed { background: #ffe7e4; color: #8b2922; }
.regression-result strong { font-size: 12px; letter-spacing: .06em; }
.regression-result span { font-size: 11px; }
.regression-result code { margin-top: 6px; white-space: pre-wrap; font-size: 10px; }
.qr-debug-output { grid-column: 1 / -1; }
.debug-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.debug-facts div { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #f8faf8; }
.debug-facts dt { color: var(--muted); font-size: 9px; }
.debug-facts dd { margin: 4px 0 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; font-weight: 900; }
.code-field { display: block; margin-top: 13px; font-size: 11px; font-weight: 900; }
.code-field textarea { width: 100%; margin-top: 6px; padding: 13px; resize: vertical; border: 1px solid #cfd7d2; border-radius: 10px; background: #101c17; color: #d9f4a1; font: 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }

@media (max-width: 1120px) {
    .transaction-grid { grid-template-columns: 1fr 1fr; }
    .summary-card { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
    .summary-card .eyebrow, .summary-card .calculation, .summary-card .summary-divider, .summary-card .pay-label, .summary-card .total { grid-column: 1; }
    .summary-card p, .summary-card .qr-button { grid-column: 2; }
    .summary-card p { grid-row: 1 / span 3; align-self: end; }
    .summary-card .qr-button { grid-row: 4 / span 2; align-self: end; }
    .qr-debug-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .topbar { min-height: 66px; padding: 0 16px; grid-template-columns: 1fr auto; }
    .main-nav { position: fixed; z-index: 21; left: 12px; right: 12px; bottom: 12px; height: 58px; padding: 5px; justify-content: stretch; gap: 5px; background: var(--forest); border-radius: 15px; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
    .main-nav a { flex: 1; justify-content: center; color: #a9b8b0; border-radius: 11px; font-size: 12px; }
    .main-nav a.active { color: var(--forest); background: var(--mint); }
    .main-nav a.active::after { display: none; }
    .user-copy, .icon-button { display: none; }
    .page-wrap { width: min(100% - 24px, 620px); padding: 28px 0 95px; }
    .page-heading { align-items: flex-start; }
    .page-heading h1 { font-size: 34px; }
    .page-heading p { font-size: 12px; }
    .page-heading .secondary-button { width: 44px; padding: 0; font-size: 0; }
    .page-heading .secondary-button .refresh-icon { font-size: 20px; }
    .transaction-grid, .detail-grid { grid-template-columns: 1fr; }
    .qr-debug-grid { grid-template-columns: 1fr; }
    .qr-debug-output { grid-column: auto; }
    .debug-facts { grid-template-columns: 1fr 1fr; }
    .summary-card { grid-column: auto; display: block; }
    .summary-card p { min-height: 0; }
    .qr-result-card { grid-row: auto; }
    .special-alert dl { grid-template-columns: 1fr; }
    .special-alert dl div { flex-direction: row; justify-content: space-between; }
    .detail-heading { align-items: flex-start; }
    .status-badge { margin-top: 42px; }
}

@media (max-width: 480px) {
    .page-heading { gap: 10px; }
    .page-heading p { max-width: 270px; }
    .transaction-panel, .rate-panel, .detail-panel, .audit-panel { padding: 18px; }
    .field-row { grid-template-columns: 1fr; }
    .live-rate-card > div:first-child { grid-template-columns: auto 1fr; }
    .live-rate-card > div > strong { grid-column: 2; }
    .rate-meta { flex-direction: column; gap: 4px; }
    .rate-option { padding: 11px; }
    .dialog-card { padding: 25px 20px; }
    .dialog-actions { grid-template-columns: 1fr; }
    .login-card { padding: 27px 22px; }
}
