:root {
  color-scheme: light;
  --bg: #f6f3e8;
  --card: #ffffff;
  --text: #202020;
  --muted: #666;
  --border: rgba(0,0,0,.12);
  --accent: #ffd600;
  --accent-text: #222;
  --danger: #b42318;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; }
.page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px 16px; }
.card { width: 100%; max-width: 560px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: 0 18px 50px rgba(0,0,0,.08); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 22px; }
.logo img { width: 78px; height: auto; display: block; }
.kicker { font-size: 13px; line-height: 1.4; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
h1 { font-size: 30px; line-height: 1.12; margin: 0 0 12px; letter-spacing: -.03em; }
p { font-size: 16px; line-height: 1.5; margin: 0 0 16px; color: var(--muted); }
.product { background: #fff9c9; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 14px; margin: 18px 0 22px; }
.product strong { display: block; font-size: 16px; line-height: 1.35; color: var(--text); }
.product span { white-space: nowrap; font-weight: 700; }
.field { margin-bottom: 14px; }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
input { width: 100%; height: 48px; border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; font-size: 16px; background: #fff; color: var(--text); }
input:focus { outline: 2px solid rgba(255,214,0,.6); border-color: #a98e00; }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
button, .button { appearance: none; border: 0; border-radius: 10px; min-height: 50px; padding: 14px 18px; font-size: 16px; font-weight: 700; text-align: center; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.primary { background: var(--accent); color: var(--accent-text); }
.secondary { background: #efefef; color: #222; }
.ghost { background: transparent; color: #333; border: 1px solid var(--border); }
.small { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 14px; }
.status { min-height: 22px; font-size: 14px; color: var(--muted); margin-top: 12px; }
.status.error { color: var(--danger); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.links a { font-size: 14px; color: #333; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.52); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 9999; }
.modal-backdrop.is-open { display: flex; }
.modal { width: 100%; max-width: 480px; background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 20px 70px rgba(0,0,0,.22); }
.modal h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.15; }
.modal p { margin-bottom: 18px; }
.close { background: transparent; border: 0; padding: 8px; min-height: 0; float: right; font-size: 24px; line-height: 1; cursor: pointer; }
.notice { background: #f5f5f5; border-radius: 12px; padding: 12px 14px; color: #555; font-size: 14px; line-height: 1.45; margin-top: 14px; }
@media (max-width: 520px) {
  .page { align-items: flex-start; padding-top: 18px; }
  .card { padding: 22px; border-radius: 16px; }
  h1 { font-size: 26px; }
  .product { display: block; }
  .product span { display: block; margin-top: 6px; }
}
