:root { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color-scheme: light; color: #262626; background: #fafafa; --surface: #fff; --text: #262626; --muted: #686868; --line: #e6e6e6; --hover: #efefef; --accent: #266ba6; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; color: #e7e7e7; background: #1b1b1b; --surface: #232323; --text: #e7e7e7; --muted: #ababab; --line: #363636; --hover: #303030; --accent: #409aed; } }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
main { max-width: 480px; margin: 0 auto; padding: 64px 28px 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: .04em; margin-bottom: 48px; }
.brand img { border-radius: 10px; }
h1 { margin: 0 0 10px; font-size: 28px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
h2 { margin: 0 0 16px; font-size: 15px; font-weight: 600; }
p { font-size: 14px; line-height: 1.6; margin: 10px 0; overflow-wrap: anywhere; }
.muted, small { color: var(--muted); }
small { font-size: 12px; line-height: 1.5; }
section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.providers { display: grid; gap: 10px; margin-top: 26px; }
button, input { font: inherit; }
button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 500; background: var(--surface); color: var(--text); cursor: pointer; }
button:hover, button:focus-visible { background: var(--hover); }
button:disabled { opacity: .5; cursor: default; }
button.primary { background: var(--text); color: var(--surface); border-color: transparent; }
button.primary:is(:hover, :focus-visible) { opacity: .8; }
button.text { border: 0; padding-inline: 0; background: transparent; color: var(--accent); }
button.text:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
:focus { outline: none; }
a { color: var(--accent); }
a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
input { min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); }
input:focus { border-color: var(--accent); }
input[type='number'] { width: 82px; }
label { font-size: 14px; }
.quantity { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 22px 14px; }
.total { display: flex; justify-content: space-between; gap: 20px; }
.total strong { font-variant-numeric: tabular-nums; font-size: 16px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row > div { min-width: 0; }
.row strong { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.row .text { flex-shrink: 0; font-size: 13px; }
.code { display: block; margin: 26px 0; padding: 18px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 24px; letter-spacing: .15em; overflow-wrap: anywhere; }
.code-entry { display: grid; gap: 10px; margin-top: 24px; }
#error { padding: 14px 16px; margin-top: 24px; border-radius: 8px; background: var(--hover); }
footer { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
@media (max-width: 500px) { main { padding-top: max(32px, env(safe-area-inset-top)); padding-inline: 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); } .brand { margin-bottom: 36px; } h1 { font-size: 26px; } }
