:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-subtle: #f7faf9;
  --text: #12211d;
  --text-muted: #53645f;
  --border: #d9e2df;
  --border-strong: #b8c7c2;
  --primary: #0b6b57;
  --primary-hover: #085644;
  --primary-soft: #e4f2ed;
  --navy: #12332c;
  --success: #087a58;
  --success-soft: #e2f5ed;
  --warning: #9a5b00;
  --warning-soft: #fff2d8;
  --danger: #b42318;
  --danger-soft: #fff0ee;
  --focus: #1f7aff;
  --shadow-sm: 0 1px 2px rgba(18, 33, 29, .06);
  --shadow-md: 0 12px 32px rgba(18, 51, 44, .09);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: 1.35rem; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .86em; overflow-wrap: anywhere; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: 8px; z-index: 999; padding: 10px 14px; color: white; background: var(--navy); border-radius: var(--radius-sm); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.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; }
.break-anywhere { overflow-wrap: anywhere; }
.align-right { text-align: right; }

.site-header { width: min(1120px, calc(100% - 32px)); margin: 0 auto; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 750; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: white; background: var(--primary); border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand-mark svg { width: 23px; height: 23px; }
.language-link { min-height: 44px; padding: 9px 12px; display: inline-flex; align-items: center; font-weight: 650; border-radius: var(--radius-sm); }
.language-link:hover { background: var(--primary-soft); text-decoration: none; }

.payment-body { min-height: 100dvh; background:
  radial-gradient(circle at 8% 10%, rgba(11, 107, 87, .09), transparent 28rem),
  linear-gradient(180deg, #f8fbfa 0%, var(--bg) 70%); }
.payment-shell { width: min(1040px, calc(100% - 32px)); margin: 44px auto 72px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: clamp(36px, 7vw, 88px); align-items: start; }
.payment-intro { position: sticky; top: 40px; padding: 32px 0; }
.payment-intro h1 { margin: 18px 0 14px; color: var(--navy); text-wrap: balance; }
.payment-intro > p { max-width: 35rem; color: var(--text-muted); font-size: 1.125rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: .82rem; line-height: 1.2; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow svg { width: 18px; height: 18px; }
.eyebrow-compact { letter-spacing: .04em; text-transform: none; }
.step-list { display: grid; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; max-width: 320px; }
.step { position: relative; min-height: 56px; display: grid; grid-template-columns: 38px 1fr; align-items: start; gap: 12px; color: var(--text-muted); font-weight: 650; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 34px; width: 2px; height: 26px; background: var(--border); }
.step span { width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--border-strong); border-radius: 50%; background: var(--surface); font-variant-numeric: tabular-nums; }
.step.is-active { color: var(--text); }
.step.is-active span { color: white; background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.step.is-complete span { color: var(--primary); background: var(--primary-soft); border-color: var(--primary); }
.step.is-complete span::before { content: "✓"; }
.step.is-complete span { font-size: 0; }
.step.is-complete span::before { font-size: 16px; }

.payment-card, .admin-card, .login-card { background: var(--surface); border: 1px solid rgba(184, 199, 194, .72); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.payment-card { min-height: 520px; padding: clamp(24px, 4vw, 40px); }
.field-group { display: grid; gap: 8px; margin-bottom: 22px; min-width: 0; }
.field-group label { color: var(--text); font-size: .93rem; font-weight: 720; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
textarea { resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: #8fa59e; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(11, 107, 87, .14); }
input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .1); }
.field-help, .field-error { margin: 0; font-size: .84rem; }
.field-help { color: var(--text-muted); }
.field-error { color: var(--danger); font-weight: 650; }
.money-input-wrap, .prefix-input, .suffix-input { position: relative; display: flex; align-items: center; }
.money-input-wrap input { height: 62px; padding-left: 46px; padding-right: 62px; font-size: 1.5rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.money-prefix, .currency-code, .prefix-input > span, .suffix-input > span { position: absolute; z-index: 1; color: var(--text-muted); font-weight: 700; pointer-events: none; }
.money-prefix { left: 14px; font-size: 1rem; }
.currency-code { right: 14px; font-size: .78rem; letter-spacing: .05em; }
.prefix-input > span { left: 13px; }
.prefix-input input { padding-left: 40px; }
.suffix-input > span { right: 13px; }
.suffix-input input { padding-right: 36px; }
.amount-summary { margin: 28px 0 24px; padding: 18px 20px; display: grid; gap: 11px; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-md); }
.amount-summary > div { display: flex; justify-content: space-between; gap: 20px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.amount-summary strong { color: var(--text); font-weight: 700; }
.amount-summary .amount-total { margin-top: 4px; padding-top: 14px; color: var(--text); border-top: 1px solid var(--border); font-size: 1.1rem; font-weight: 750; }
.amount-summary .amount-total strong { color: var(--primary); font-size: 1.25rem; }
.compact-summary { width: 100%; text-align: left; }

.button { min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 10px; font-weight: 740; line-height: 1.25; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.button:hover { text-decoration: none; }
.button:disabled, .button.is-disabled { cursor: not-allowed; opacity: .5; pointer-events: none; }
.button svg { width: 18px; height: 18px; }
.button-primary { color: white; background: var(--primary); box-shadow: 0 3px 10px rgba(11, 107, 87, .18); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { color: var(--navy); background: var(--surface); border-color: var(--border-strong); }
.button-secondary:hover { background: var(--surface-subtle); border-color: #8fa59e; }
.button-ghost { color: var(--primary); background: transparent; }
.button-ghost:hover { background: var(--primary-soft); }
.button-danger { color: white; background: var(--danger); box-shadow: 0 3px 10px rgba(180, 35, 24, .16); }
.button-danger:hover { background: #921c13; }
.button-compact { min-height: 44px; padding: 8px 12px; font-size: .82rem; }
.button-block { width: 100%; }
.button-spinner { width: 18px; height: 18px; display: inline-block; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stripe-email-note, .privacy-note { margin: 14px 0 0; display: flex; align-items: flex-start; gap: 8px; color: var(--text-muted); font-size: .82rem; }
.stripe-email-note svg, .privacy-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; }
.checkout-header { margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.checkout-header h2 { margin: 8px 0 0; }
.checkout-loading { min-height: 240px; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--text-muted); text-align: center; }
#checkout { min-height: 300px; }
.result-panel { display: grid; justify-items: center; text-align: center; }
.result-panel.is-visible { animation: reveal .25s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result-icon { width: 64px; height: 64px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 2rem; font-weight: 800; }
.result-icon svg { width: 38px; height: 38px; stroke-width: 2; }
.result-icon-success { color: var(--success); background: var(--success-soft); }
.result-icon-pending { color: var(--warning); background: var(--warning-soft); }
.result-icon-error { color: var(--danger); background: var(--danger-soft); }
.result-panel h1, .result-panel h2 { margin-bottom: 10px; }
.result-panel > p { color: var(--text-muted); max-width: 32rem; }
.reference-box { width: 100%; margin: 22px 0; padding: 14px 16px; display: grid; gap: 4px; text-align: left; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.reference-box span { color: var(--text-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.reference-box strong { overflow-wrap: anywhere; font-family: "SFMono-Regular", Consolas, monospace; font-size: .9rem; }
.standalone-result { min-height: 100dvh; padding: 32px 16px; display: grid; place-items: center; }
.standalone-result .payment-card { width: min(520px, 100%); min-height: auto; }
.site-footer { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 16px; color: var(--text-muted); font-size: .82rem; border-top: 1px solid var(--border); }

.alert { margin-bottom: 20px; padding: 13px 15px; border: 1px solid; border-radius: 10px; font-size: .92rem; font-weight: 620; white-space: pre-line; }
.alert-error { color: #8f1d14; background: var(--danger-soft); border-color: #f2b8b2; }
.alert-success { color: #075f45; background: var(--success-soft); border-color: #a8dfca; }

.login-body { min-height: 100dvh; background: radial-gradient(circle at top, rgba(11, 107, 87, .13), transparent 32rem), var(--bg); }
.login-shell { min-height: 100dvh; padding: 32px 16px; display: grid; place-items: center; }
.login-card { width: min(430px, 100%); padding: clamp(26px, 6vw, 40px); }
.login-brand { margin-bottom: 38px; }
.login-heading h1 { margin: 8px 0 26px; font-size: 2rem; }
.login-language { margin-top: 20px; width: 100%; justify-content: center; }

.admin-body { background: #f3f6f5; }
.admin-shell { min-height: 100dvh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100dvh; padding: 24px 18px; display: flex; flex-direction: column; color: #d8e6e1; background: #102e28; }
.admin-brand { padding: 0 8px 22px; }
.admin-brand .brand { color: white; }
.admin-brand small { display: block; margin: 7px 0 0 46px; color: #9bb5ad; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav a { min-height: 46px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; color: #c6d8d2; border-radius: 10px; font-weight: 650; }
.admin-nav a:hover { color: white; background: rgba(255, 255, 255, .08); text-decoration: none; }
.admin-nav a.is-active { color: white; background: #17614f; box-shadow: inset 3px 0 #6ed0b3; }
.admin-nav svg { width: 21px; height: 21px; }
.admin-sidebar-footer { margin-top: auto; display: grid; gap: 8px; }
.admin-sidebar-footer .language-link, .admin-sidebar-footer .button-ghost { color: #d8e6e1; }
.admin-email { padding: 0 12px; color: #9bb5ad; font-size: .8rem; overflow-wrap: anywhere; }
.admin-main { min-width: 0; padding: clamp(24px, 4vw, 48px); }
.admin-mobile-header { display: none; }
.page-header { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.page-header h1 { margin: 7px 0 0; font-size: clamp(1.8rem, 4vw, 2.55rem); }
.page-header p { margin: 10px 0 0; color: var(--text-muted); }
.page-header-action { margin: 0; }
.page-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.page-header-actions form { margin: 0; }
.button-count { min-width: 24px; min-height: 24px; padding: 2px 7px; display: inline-grid; place-items: center; color: var(--danger); background: white; border-radius: 999px; font-size: .75rem; font-variant-numeric: tabular-nums; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; }
.transaction-mode-tabs { margin: -8px 0 20px; padding: 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #e8eeec; border: 1px solid var(--border); border-radius: var(--radius-md); }
.transaction-mode-tab { min-width: 0; min-height: 64px; padding: 9px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; color: var(--text-muted); border: 1px solid transparent; border-radius: 10px; }
.transaction-mode-tab:hover { color: var(--text); background: rgba(255, 255, 255, .58); text-decoration: none; }
.transaction-mode-tab.is-selected { color: var(--text); background: var(--surface); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.transaction-mode-test.is-selected { border-color: #dfbd79; }
.transaction-mode-indicator { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.transaction-mode-test .transaction-mode-indicator { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
.transaction-mode-copy { min-width: 0; display: grid; gap: 1px; }
.transaction-mode-copy strong { font-size: .92rem; }
.transaction-mode-copy small { color: var(--text-muted); font-size: .76rem; line-height: 1.35; }
.active-mode-badge { padding: 3px 8px; color: #075f45; background: var(--success-soft); border-radius: 999px; font-size: .7rem; font-weight: 750; white-space: nowrap; }
.transaction-mode-test .active-mode-badge { color: #754600; background: var(--warning-soft); }
.summary-grid { margin-bottom: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.summary-card { padding: 18px; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.summary-card span { color: var(--text-muted); font-size: .82rem; font-weight: 650; }
.summary-card strong { font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-variant-numeric: tabular-nums; }
.payment-link-card { margin-bottom: 20px; padding: 20px; }
.payment-link-heading { margin-bottom: 16px; padding-bottom: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
.payment-link-heading h2 { margin-bottom: 6px; }
.payment-link-heading p { margin: 0; color: var(--text-muted); }
.payment-link-statuses { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.payment-link-form { display: grid; grid-template-columns: minmax(180px, 240px) minmax(250px, 320px) auto minmax(220px, 1fr); align-items: start; justify-content: start; gap: 14px; }
.payment-link-form .field-group { margin: 0; }
.payment-link-form .button { align-self: start; margin-top: 27px; }
.payment-link-inline-flash { min-height: 44px; margin: 27px 0 0; padding: 10px 13px; align-self: start; display: flex; align-items: center; font-size: .84rem; line-height: 1.45; }
.payment-link-amount-field input { font-variant-numeric: tabular-nums; }
.payment-link-channel-field select { min-height: 44px; }
.generated-link-panel { margin-top: 18px; padding: 16px; display: grid; gap: 8px; background: var(--primary-soft); border: 1px solid #b9ddd1; border-radius: var(--radius-md); }
.generated-link-panel label { font-size: .86rem; font-weight: 750; }
.generated-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.generated-link-row input { min-height: 44px; font-family: "SFMono-Regular", Consolas, monospace; font-size: .86rem; }
.link-expiry { margin: 0; color: var(--text-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.generated-link-channel { margin: 0; color: var(--text-muted); font-size: .85rem; }
.copy-notice { position: fixed; z-index: 1000; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 11px 16px; color: white; background: var(--navy); border-radius: 10px; box-shadow: var(--shadow-md); font-size: .88rem; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .15s ease, transform .15s ease; }
.copy-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }
.payment-link-qr { min-height: 500px; margin-top: 8px; padding-top: 16px; display: grid; align-content: start; justify-items: center; gap: 12px; border-top: 1px solid #b9ddd1; text-align: center; }
.payment-link-qr-heading { width: min(100%, 390px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.payment-link-qr-heading > span { font-size: .9rem; font-weight: 750; }
.payment-link-qr-heading .button { min-height: 44px; }
.payment-qr-share-card { width: min(100%, 390px); margin: 0; padding: 20px; display: grid; justify-items: center; gap: 8px; background: white; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.payment-qr-share-card figcaption { color: var(--text-muted); font-size: .78rem; font-weight: 700; }
.payment-qr-amount { color: var(--primary); font-size: 1.45rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.payment-qr-share-card img { width: 220px; height: 220px; max-width: 100%; margin: 8px 0; padding: 8px; background: white; border: 1px solid var(--border); border-radius: 12px; }
.payment-qr-times { width: 100%; margin: 0; padding-top: 10px; display: grid; gap: 6px; border-top: 1px solid var(--border); font-size: .78rem; font-variant-numeric: tabular-nums; }
.payment-qr-times div { display: flex; justify-content: space-between; gap: 16px; }
.payment-qr-times dt { color: var(--text-muted); }
.payment-qr-times dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; }
.payment-qr-share-card p { margin: 4px 0 0; color: var(--text-muted); font-size: .8rem; }
.payment-link-qr .qr-expiry-notice { margin: 0; color: var(--text-muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.payment-link-qr.is-paid { align-content: center; }
.payment-link-paid-state { width: min(100%, 390px); min-height: 330px; padding: 28px; display: grid; align-content: center; justify-items: center; gap: 12px; color: #075f45; background: white; border: 1px solid #b9ddd1; border-radius: 16px; box-shadow: var(--shadow-sm); }
.payment-link-paid-icon { width: 78px; height: 78px; fill: var(--success-soft); stroke: #087552; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.payment-link-paid-state strong { font-size: 1.55rem; }
.payment-link-paid-state p { max-width: 32rem; margin: 0; color: var(--text-muted); line-height: 1.6; }
.payment-link-paid-state .payment-link-paid-time { color: var(--navy); font-size: .86rem; font-variant-numeric: tabular-nums; font-weight: 700; }
.detail-link-panel { margin: 0 0 20px; }
.admin-card { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.filter-card { margin-bottom: 20px; padding: 18px; }
.filter-grid { display: grid; grid-template-columns: minmax(230px, 2fr) repeat(3, minmax(130px, 1fr)) auto; align-items: end; gap: 12px; }
.week-shortcuts { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.week-shortcuts > span { margin-right: 4px; color: var(--text-muted); font-size: .8rem; font-weight: 650; }
.week-shortcut { min-height: 44px; padding: 8px 15px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 9px; font-size: .84rem; font-weight: 700; }
.week-shortcut:hover { color: var(--primary); border-color: var(--border-strong); text-decoration: none; }
.week-shortcut.is-selected { color: white; background: var(--primary); border-color: var(--primary); }
.filter-grid .field-group { margin: 0; gap: 5px; }
.filter-grid input, .filter-grid select { min-height: 44px; }
.filter-actions { display: flex; gap: 6px; }
.refresh-button svg { transition: transform .2s ease; }
.refresh-button:disabled svg { animation: refresh-spin .8s linear infinite; }
@keyframes refresh-spin { to { transform: rotate(360deg); } }
.table-card { overflow: hidden; }
.table-heading { padding: 18px 20px 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.table-heading strong { font-size: 1.25rem; }
.table-heading span { color: var(--text-muted); }
.table-mode-label { padding: 4px 9px; color: #075f45; background: var(--success-soft); border-radius: 999px; font-size: .72rem; font-weight: 750; white-space: nowrap; }
.table-mode-test { color: #754600; background: var(--warning-soft); }
.table-heading .table-mode-label { color: #075f45; }
.table-heading .table-mode-test { color: #754600; }
.responsive-table-wrap { width: 100%; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 12px 16px; color: var(--text-muted); background: var(--surface-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: .76rem; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.data-table td { padding: 15px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table th.amount-column, .data-table td.amount-column { width: 180px; text-align: right; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfdfc; }
.amount-cell { font-weight: 750; font-variant-numeric: tabular-nums; }
.table-secondary-value { margin-top: 3px; display: block; color: var(--text-muted); font-size: .76rem; }
.row-action a { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; white-space: nowrap; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; white-space: nowrap; }
.row-actions form { margin: 0; }
.status-badge { min-height: 26px; padding: 4px 9px; display: inline-flex; align-items: center; border-radius: 999px; font-size: .75rem; font-weight: 750; white-space: nowrap; }
.status-paid { color: #086044; background: var(--success-soft); }
.status-ready, .status-open, .status-creating { color: #665000; background: var(--warning-soft); }
.status-failed, .status-disputed { color: #971f16; background: var(--danger-soft); }
.status-expired, .status-cancelled { color: #53645f; background: #e9eeec; }
.status-refunded, .status-partially_refunded { color: #4b3a8f; background: #eeeafd; }
.empty-state { min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--text-muted); text-align: center; }
.empty-state svg { width: 42px; height: 42px; color: var(--border-strong); }
.pagination { padding: 16px 20px; display: flex; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid var(--border); }
.pagination span { color: var(--text-muted); font-size: .85rem; }
.detail-hero { margin-bottom: 20px; padding: 24px; display: flex; justify-content: space-between; gap: 24px; }
.detail-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.detail-hero h2 { margin: 12px 0 5px; font-size: 2.1rem; font-variant-numeric: tabular-nums; }
.detail-hero h2 + p { margin: 0; color: var(--text-muted); font-size: .82rem; font-weight: 650; }
.detail-hero dl { margin: 0; display: flex; gap: 30px; }
.detail-hero dl div { display: grid; align-content: center; gap: 4px; }
.detail-hero dt, .detail-list dt { color: var(--text-muted); font-size: .78rem; font-weight: 650; }
.detail-hero dd, .detail-list dd { margin: 0; font-weight: 650; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.detail-card { padding: 22px; }
.detail-card-wide { grid-column: 1 / -1; }
.detail-card h2 { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.detail-list { margin: 0; display: grid; }
.detail-list > div { padding: 11px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list .detail-total { font-size: 1.1rem; }
.technical-list dd { max-width: 70%; text-align: right; overflow-wrap: anywhere; }
.settings-card { max-width: none; padding: 20px; }
.settings-stack { width: min(100%, 1100px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
.settings-side-stack { min-width: 0; display: grid; align-content: start; gap: 20px; }
.settings-section-heading { padding-bottom: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
.settings-section-heading h2 { margin: 0 0 6px; }
.settings-section-heading p { margin: 0; color: var(--text-muted); }
.stripe-mode-selector { min-width: 0; margin: 18px 0 0; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--border); }
.stripe-mode-selector legend { padding: 0; font-weight: 750; }
.stripe-mode-selector > .field-help { margin: 4px 0 10px; }
.stripe-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stripe-mode-option { min-width: 0; min-height: 74px; padding: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 11px; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.stripe-mode-option:hover { border-color: var(--border-strong); }
.stripe-mode-option.is-selected { background: var(--primary-soft); border-color: var(--primary); box-shadow: 0 0 0 2px rgba(11, 107, 87, .08); }
.stripe-mode-option input { width: 18px; min-height: 18px; height: 18px; margin: 0; accent-color: var(--primary); }
.stripe-mode-copy { min-width: 0; display: grid; gap: 2px; }
.stripe-mode-copy small { color: var(--text-muted); font-size: .78rem; line-height: 1.35; }
.stripe-mode-panel { padding-top: 16px; }
.stripe-mode-panel h3 { margin: 0; font-size: 1rem; }
.stripe-webhook-help { margin: -4px 0 16px; line-height: 1.55; }
.settings-card .field-group { gap: 6px; margin-bottom: 16px; }
.settings-card input, .settings-card textarea { min-height: 44px; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.saved-indicator { padding: 3px 8px; color: #075f45; background: var(--success-soft); border-radius: 999px; font-size: .72rem; font-weight: 750; }
.secret-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.secret-input-row input:disabled { color: var(--text-muted); background: #f2f5f3; opacity: 1; cursor: not-allowed; }
.secret-edit-button { min-height: 44px; padding-inline: 16px; }
.toggle-row { min-height: 62px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.toggle-row > span:first-child { display: grid; gap: 4px; }
.toggle-row small { color: var(--text-muted); }
.toggle { position: relative; flex: 0 0 auto; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle span { width: 50px; height: 30px; display: block; background: #bac6c2; border-radius: 999px; transition: background .15s ease; }
.toggle span::after { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: white; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .15s ease; }
.toggle input:checked + span { background: var(--primary); }
.toggle input:checked + span::after { transform: translateX(20px); }
.toggle input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.settings-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.settings-grid-single { grid-template-columns: 1fr; }
.settings-footer { padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); }
.settings-footer > span { color: var(--text-muted); font-size: .85rem; }
.settings-action-help { max-width: 34rem; margin-top: 4px; display: block; line-height: 1.45; }
.settings-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.settings-actions form { margin: 0; }
.api-settings-card { display: grid; gap: 16px; }
.api-settings-card .settings-section-heading { padding-bottom: 14px; }
.api-key-reveal { margin: 0; display: grid; gap: 8px; }
.api-key-reveal p { margin: 0; }
.api-key-reveal input { min-width: 0; font-family: "SFMono-Regular", Consolas, monospace; }
.api-key-meta { margin: 0; display: grid; gap: 0; }
.api-key-meta > div { padding: 9px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
.api-key-meta dt { color: var(--text-muted); font-size: .82rem; }
.api-key-meta dd { margin: 0; text-align: right; font-size: .86rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.api-key-list { display: grid; gap: 12px; }
.api-key-item { padding: 14px; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 10px; }
.api-key-item-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.api-key-identity { min-width: 0; display: grid; gap: 5px; }
.api-key-identity code { overflow-wrap: anywhere; }
.api-key-item .api-key-meta { margin-top: 8px; }
.api-key-item .api-key-meta > div:last-child { border-bottom: 0; }
.api-key-create-form { padding-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; border-top: 1px solid var(--border); }
.api-key-create-form .field-group { margin: 0; }
.api-key-create-form .button { margin-bottom: 24px; }
.api-empty-state { margin: 0; padding: 14px; color: var(--text-muted); background: var(--surface-subtle); border-radius: 10px; }
.api-endpoints { padding: 14px; display: grid; gap: 7px; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 10px; }
.api-endpoints strong { font-size: .86rem; }
.api-endpoints code { overflow-wrap: anywhere; white-space: normal; }
.api-key-actions { justify-content: flex-start; flex-wrap: wrap; }
.notification-settings-card { display: grid; gap: 16px; }
.notification-settings-card .settings-section-heading { padding-bottom: 14px; }
.notification-fields { margin-top: 16px; }
.notification-provider-note { margin: -4px 0 16px; }
.notification-provider-note a { font-weight: 700; }
.vms-webhook-settings-card { display: grid; gap: 16px; }
.vms-webhook-settings-card .settings-section-heading { padding-bottom: 14px; }
.vms-webhook-fields { margin-top: 16px; }
.vms-webhook-contract { margin: -2px 0 16px; padding: 14px; display: grid; gap: 9px; color: var(--text-muted); background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 10px; font-size: .82rem; line-height: 1.5; }
.vms-webhook-contract p { margin: 0; }
.vms-webhook-contract code { margin-top: 4px; display: block; color: var(--text); overflow-wrap: anywhere; white-space: normal; }
.vms-webhook-stats { margin-bottom: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.system-update-stack { width: min(100%, 980px); margin-inline: auto; display: grid; gap: 20px; }
.system-update-card { padding: 22px; }
.system-update-status-grid { margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.system-update-status-grid > div { min-width: 0; padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
.system-update-status-grid dt { color: var(--text-muted); font-size: .84rem; font-weight: 650; }
.system-update-status-grid dd { min-width: 0; margin: 0; text-align: right; font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.system-update-check { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.system-update-check svg { width: 17px; height: 17px; flex: 0 0 auto; stroke-width: 2.2; }
.system-update-check.is-ready { color: var(--success); }
.system-update-check.is-blocked { color: var(--danger); }
.system-update-form { padding-top: 18px; }
.system-update-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.system-update-form fieldset:disabled { opacity: .68; }
.system-update-form input[type="file"] { max-width: 100%; padding: 8px; background: var(--surface-subtle); }
.system-update-form input[type="file"]::file-selector-button { min-height: 36px; margin-right: 12px; padding: 7px 12px; color: var(--navy); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; font-weight: 700; cursor: pointer; }
.system-update-submit-row { padding-top: 18px; display: flex; justify-content: flex-end; border-top: 1px solid var(--border); }
.system-update-progress { --system-update-progress-color: var(--primary); max-width: 100%; min-width: 0; margin-top: 20px; padding: 18px; overflow: hidden; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-md); }
.system-update-progress.is-success { --system-update-progress-color: var(--success); background: var(--success-soft); border-color: #a8dfca; }
.system-update-progress.is-failed { --system-update-progress-color: var(--danger); background: var(--danger-soft); border-color: #f2b8b2; }
.system-update-progress-heading { min-width: 0; margin-bottom: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.system-update-progress-heading h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 1rem; }
.system-update-progress-percent { flex: 0 0 auto; color: var(--system-update-progress-color); font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.system-update-progress-meter { width: 100%; height: 12px; display: block; overflow: hidden; color: var(--system-update-progress-color); background: var(--border); border: 0; border-radius: 999px; accent-color: var(--system-update-progress-color); }
.system-update-progress-meter::-webkit-progress-bar { background: var(--border); border-radius: 999px; }
.system-update-progress-meter::-webkit-progress-value { background: var(--system-update-progress-color); border-radius: 999px; transition: width .25s ease; }
.system-update-progress-meter::-moz-progress-bar { background: var(--system-update-progress-color); border-radius: 999px; transition: width .25s ease; }
.system-update-progress-status { margin: 12px 0 0; color: var(--text-muted); font-size: .9rem; font-weight: 650; overflow-wrap: anywhere; }
.system-update-progress.is-success .system-update-progress-status { color: var(--success); }
.system-update-progress.is-failed .system-update-progress-status { color: var(--danger); }
.dedicated-payment-shell .payment-card { min-height: 0; }
.dedicated-channel { margin: 0 0 14px; color: var(--text-muted); font-size: .88rem; }
.dedicated-channel strong { color: var(--text); }
.dedicated-amount-summary { margin-top: 20px; }
.dedicated-expiry { margin: -7px 0 18px; padding: 11px 13px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 9px; color: var(--text-muted); background: var(--primary-soft); border-radius: 10px; font-size: .84rem; }
.dedicated-expiry svg { width: 18px; height: 18px; grid-row: 1 / span 2; color: var(--primary); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dedicated-expiry strong { color: var(--text); font-variant-numeric: tabular-nums; }
.dedicated-success-only .payment-card { padding-block: clamp(38px, 8vw, 64px); }
.dedicated-apple-instructions { margin: 0; }

@media (max-width: 1000px) {
  .payment-shell { grid-template-columns: 1fr; max-width: 620px; margin-top: 20px; gap: 12px; }
  .payment-intro { position: static; padding: 20px 0; }
  .payment-intro > p { margin-bottom: 0; }
  .step-list { grid-template-columns: 1fr 1fr; max-width: none; margin-top: 24px; }
  .step { min-height: 42px; grid-template-columns: 34px 1fr; font-size: .88rem; }
  .step:not(:last-child)::after { left: calc(50% + 16px); top: 16px; width: calc(100% - 48px); height: 2px; }
  .step span { width: 32px; height: 32px; z-index: 1; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-link-form { grid-template-columns: 1fr; }
  .payment-link-form .button { width: 100%; margin-top: 0; }
  .payment-link-inline-flash { width: 100%; margin-top: 0; }
  .filter-search { grid-column: 1 / -1; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-stack { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .admin-shell { display: block; }
  .admin-sidebar { position: static; width: 100%; height: auto; padding: 12px 16px; display: grid; grid-template-columns: 1fr; }
  .admin-brand { display: none; }
  .admin-nav { grid-template-columns: 1fr 1fr; }
  .admin-nav a { justify-content: center; }
  .admin-nav-system-update { grid-column: 1 / -1; }
  .admin-nav a.is-active { box-shadow: inset 0 -3px #6ed0b3; }
  .admin-sidebar-footer { margin-top: 10px; grid-template-columns: auto 1fr auto; align-items: center; }
  .admin-sidebar-footer .button { width: auto; }
  .admin-mobile-header { min-height: 64px; padding: 10px 16px; display: flex; align-items: center; background: var(--surface); border-bottom: 1px solid var(--border); }
  .admin-main { padding: 24px 16px 40px; }
  .page-header { align-items: flex-start; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-actions { grid-column: 1 / -1; }
  .responsive-table-wrap { padding: 8px 14px 14px; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr { margin: 10px 0; padding: 12px; border: 1px solid var(--border); border-radius: 11px; }
  .data-table td { padding: 7px 0; display: grid; grid-template-columns: minmax(105px, .7fr) minmax(0, 1.3fr); gap: 12px; text-align: right; border: 0; }
  .data-table td.amount-column { width: 100%; }
  .data-table td::before { content: attr(data-label); color: var(--text-muted); font-size: .78rem; font-weight: 650; text-align: left; }
  .data-table .row-action { display: flex; justify-content: flex-end; padding-top: 10px; border-top: 1px solid var(--border); }
  .data-table .row-action::before { display: none; }
  .row-actions { width: 100%; flex-wrap: wrap; }
  .detail-hero { display: grid; }
  .detail-hero dl { justify-content: space-between; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card-wide { grid-column: auto; }
}

@media (max-width: 560px) {
  .site-header { width: calc(100% - 24px); min-height: 66px; }
  .brand-mark { width: 32px; height: 32px; }
  .payment-shell { width: calc(100% - 24px); margin-bottom: 42px; }
  .payment-intro h1 { font-size: 2rem; }
  .payment-intro > p { font-size: 1rem; }
  .step { grid-template-columns: 30px 1fr; font-size: .76rem; }
  .step span { width: 28px; height: 28px; }
  .payment-card { min-height: 0; padding: 22px 18px; border-radius: 16px; }
  .money-input-wrap input { font-size: 1.3rem; }
  .checkout-header { display: grid; }
  .checkout-header .button { width: 100%; }
  .site-footer { width: calc(100% - 24px); display: grid; }
  .summary-grid { grid-template-columns: 1fr; }
  .transaction-mode-tabs { grid-template-columns: 1fr; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-search, .filter-actions { grid-column: auto; }
  .filter-actions .button { flex: 1; }
  .page-header { display: grid; }
  .page-header > .button { width: 100%; }
  .admin-sidebar-footer { grid-template-columns: 1fr auto; }
  .admin-email { display: none; }
  .settings-grid { grid-template-columns: 1fr; }
  .stripe-mode-options { grid-template-columns: 1fr; }
  .stripe-mode-option { grid-template-columns: auto minmax(0, 1fr); }
  .stripe-mode-option .status-badge { grid-column: 2; justify-self: start; }
  .settings-footer { align-items: stretch; flex-direction: column; }
  .settings-actions { display: grid; grid-template-columns: 1fr; }
  .settings-actions .button { width: 100%; }
  .system-update-status-grid { grid-template-columns: 1fr; }
  .system-update-submit-row .button { width: 100%; }
  .system-update-progress { padding: 16px; }
  .system-update-progress-heading { align-items: flex-start; }
  .secret-input-row { grid-template-columns: 1fr; }
  .secret-edit-button { width: 100%; }
  .payment-link-heading { display: grid; }
  .payment-link-statuses { justify-content: flex-start; }
  .page-header-action, .page-header-action .button, .page-header-actions, .page-header-actions .button { width: 100%; }
  .page-header-actions { display: grid; }
  .generated-link-row { grid-template-columns: 1fr; }
  .generated-link-row .button { width: 100%; }
  .api-key-item-heading, .api-key-create-form { display: grid; grid-template-columns: 1fr; }
  .api-key-item-heading .button, .api-key-create-form .button { width: 100%; }
  .api-key-create-form .button { margin-bottom: 0; }
  .payment-link-qr-heading { align-items: stretch; display: grid; }
  .payment-link-qr-heading .button { width: 100%; }
  .payment-qr-share-card { padding: 16px; }
  .payment-qr-times div { align-items: flex-start; }
  .detail-hero dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .technical-list > div { display: grid; }
  .technical-list dd { max-width: 100%; text-align: left; }
  .pagination { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .system-update-progress-meter::-webkit-progress-value, .system-update-progress-meter::-moz-progress-bar { transition-duration: .01ms !important; }
}

.channel-selector {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.channel-selector legend {
  margin-bottom: 10px;
  font-weight: 700;
}

.channel-option {
  min-height: 64px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
}

.channel-option:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.channel-option:has(input:disabled) {
  cursor: not-allowed;
  opacity: .62;
}

.channel-option input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.channel-option span,
.channel-option small {
  display: block;
}

.channel-option small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.apple-device-confirmation {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid #d18b19;
  border-radius: 16px;
  background: #fff8e8;
  color: #4b3000;
}

.apple-device-confirmation-static {
  margin-top: 16px;
}

.apple-warning-heading {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.apple-warning-heading svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #8a5400;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apple-warning-heading p {
  margin: 5px 0 0;
  line-height: 1.65;
}

.apple-confirm-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(138, 84, 0, .2);
  cursor: pointer;
}

.apple-confirm-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.apple-checkout-section {
  display: grid;
  gap: 16px;
}

.apple-live-status {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-subtle);
  line-height: 1.55;
}

.apple-qr-frame {
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
}

.apple-qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 560px) {
  .channel-option,
  .apple-device-confirmation {
    border-radius: 14px;
  }

  .apple-qr-frame {
    padding: 10px;
  }
}
