* { box-sizing: border-box; }
:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: #172824;
  background: #fff;
  font-synthesis: none;
  --ink: #172824;
  --secondary: #50615c;
  --teal: #0d574c;
  --line: #d6dedb;
}
body { min-height: 100vh; min-height: 100svh; margin: 0; }
[hidden] { display: none !important; }
a { color: var(--teal); }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button, .method, .primary, .secondary, .text-link, .return { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #1d7665; outline-offset: 3px;
}
.skip { position: fixed; z-index: 2; left: 12px; top: -80px; padding: 12px; background: #fff; }
.skip:focus { top: 8px; }
.topbar {
  min-height: 72px; padding: 12px clamp(16px, 4vw, 56px); border-bottom: 1px solid #edf0ed;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px 17px; }
.topbar a, .topbar button { font-size: .85rem; font-weight: 600; }
.back, .dev-link, .text-action, #staff-link {
  display: inline-flex; gap: 8px; align-items: center; min-height: 44px;
  color: var(--secondary); text-decoration: none;
}
.back span { font-size: 1.12rem; }
.back:hover, #staff-link:hover, .text-action:hover { color: var(--teal); text-decoration: underline; }
.retry { margin: 4px auto 0; justify-content: center; text-decoration: underline; text-underline-offset: 3px; }
.text-action { padding: 0; background: none; border: 0; cursor: pointer; }
.dev-link {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; color: var(--ink);
}
.dev-link:hover { background: #f3f6f4; border-color: #a9bab2; }
main { display: flex; justify-content: center; padding: clamp(2.2rem, 7vh, 5.4rem) 20px 3rem; }
.shell { width: 100%; max-width: 400px; }
.brand { width: fit-content; display: flex; gap: 9px; align-items: center; margin: 0 auto; text-decoration: none; }
.brand img { display: block; object-fit: contain; }
.wordmark { filter: brightness(0); opacity: .9; }
.heading { margin: 30px 0 28px; text-align: center; }
h1, h2, p { margin: 0; }
h1 {
  font-size: clamp(1.75rem, 4.1vw, 2.1rem); letter-spacing: -.047em; line-height: 1.15;
  font-weight: 700; text-wrap: balance; color: #15241f;
}
h1:focus, main:focus { outline: 0; }
.heading p { margin: 12px auto 0; color: var(--secondary); line-height: 1.55; font-size: .97rem; text-wrap: pretty; }
h2 { margin: 23px 0 10px; font-size: 1.12rem; letter-spacing: -.022em; }
.method, .primary, .secondary {
  width: 100%; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 11px 18px; line-height: 1.35; font-weight: 650; font-size: .96rem;
  text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s ease, border-color .15s ease;
}
.method, .secondary { background: white; border: 1px solid #bfcac5; color: var(--ink); }
.method { position: relative; padding-inline: 45px; }
.method svg, .method img { position: absolute; inset-inline-start: 16px; }
.method:hover, .secondary:hover { background: #f4f7f5; border-color: #90a298; }
.primary { background: var(--teal); color: white; border: 1px solid var(--teal); }
.primary:hover { background: #09493f; }
button:disabled { cursor: default; }
.primary:disabled, .secondary:disabled { opacity: .64; }
.method:disabled { color: #55645e; background: #f6f8f7; border-color: #d8dfda; }
#google-fallback:disabled {
  background: #fff; border-color: #747775; color: #414542;
  font-family: "Google Sans", Roboto, Arial, sans-serif; font-weight: 500;
}
#google-fallback img { object-fit: contain; }
#google-render { display: grid; justify-content: center; width: 100%; }
#google-render iframe { max-width: 100%; }
.method-help, .help, .fineprint, .form-note { color: var(--secondary); line-height: 1.55; font-size: .85rem; }
.method-help { margin-top: 7px; text-align: center; }
.divider { display: flex; align-items: center; gap: 13px; margin: 17px 0; color: #64726b; font-size: .8rem; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.fineprint { text-align: center; margin-top: 25px; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label, .call-code > span { font-size: .9rem; line-height: 1.4; font-weight: 650; color: var(--ink); }
.field input, .field select, .staff-code {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px;
  font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #b8c6bf; border-radius: 7px;
}
.field input::placeholder { color: #6a7871; }
.field input[readonly] { background: #f2f6f3; color: #405449; }
.password-field { position: relative; }
.password-field input { padding-right: 64px; }
.show {
  position: absolute; inset-inline-end: 2px; top: 2px; bottom: 2px; min-width: 55px;
  border: 0; color: var(--teal); background: transparent; font-weight: 650; border-radius: 6px; cursor: pointer;
}
.help { font-size: .8rem; }
.return, .text-link {
  min-height: 44px; display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1.4; font-size: .87rem; text-underline-offset: 3px;
}
.text-link { margin-top: 12px; font-weight: 650; }
.return { margin-top: 6px; color: var(--secondary); }
.form-note { margin: 0; }
.form-note + .primary { margin-top: 0; }
.message, .notice:not(:empty) {
  margin: 0 0 20px; border: 1px solid #d9bdb5; border-radius: 7px; padding: 11px 13px;
  background: #fff7f4; color: #783a2c; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere;
}
.notice:not(:empty) { border-color: #c2d9ce; background: #f1f7f3; color: #315848; }
.call-code { display: grid; gap: 6px; padding: 20px; background: #eff5f1; border: 1px solid #d2dfd7; border-radius: 8px; text-align: center; }
.call-code output { color: var(--teal); letter-spacing: .12em; font-variant-numeric: tabular-nums; font-size: clamp(1.8rem, 9vw, 2.45rem); font-weight: 650; line-height: 1.2; }
.code-reveal { width: fit-content; min-height: 44px; padding: 7px 15px; margin: 0 auto; border: 1px solid #9bb8a9; border-radius: 7px; background: #fff; color: var(--teal); font-weight: 650; cursor: pointer; }
.code-reveal:hover { background: #f7faf8; }
.call-status { color: var(--secondary); font-size: .82rem; line-height: 1.5; margin: 0 0 12px; }
.cancel-call, .cancel-confirmation .text-action { display: flex; margin: 7px auto 0; text-decoration: underline; text-underline-offset: 3px; }
.cancel-confirmation { margin-top: 13px; border: 1px solid var(--line); border-radius: 7px; padding: 14px; }
.cancel-confirmation p { margin: 0 0 12px; color: var(--secondary); font-size: .86rem; line-height: 1.5; }
.call-code small { color: var(--secondary); }
[data-screen="call"] > .form-note { margin: 15px 0 20px; }
.consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--secondary); line-height: 1.5; font-size: .86rem; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--teal); }
.receipt { margin: 0 0 24px; padding: 3px 0; border-block: 1px solid var(--line); }
.receipt div { display: grid; gap: 3px; padding: 10px 0; }
.receipt dt { color: var(--secondary); font-size: .8rem; }
.receipt dd { margin: 0; font-size: .99rem; font-weight: 600; overflow-wrap: anywhere; }
.staff-row { padding: 15px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.staff-row strong, .staff-row small { display: block; }
.staff-row small { margin-top: 6px; color: var(--secondary); line-height: 1.5; }
.staff-row form { display: grid; margin-top: 12px; gap: 6px; }
.staff-row label { font-size: .86rem; }
.staff-row button { margin-top: 4px; }
.empty { color: var(--secondary); line-height: 1.5; margin-block: 12px; }
@media (max-width: 580px) {
  .topbar { min-height: 59px; padding: 6px 16px; }
  .topbar nav { gap: 2px 10px; }
  .back, .dev-link { gap: 5px; }
  .topbar a, .topbar button { font-size: .78rem; }
  .dev-link { padding-inline: 9px; }
  main { padding: 34px 20px 34px; }
  .heading { margin: 25px 0 24px; }
  .coin { width: 33px; height: 33px; }
  .wordmark { width: 128px; height: auto; }
}
@media (max-width: 360px) { .topbar { align-items: flex-start; } main { padding-inline: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
