:root {
  --teal: #0c7d74; --teal-d: #12403c; --teal-l: #e9f6f4; --teal-m: #bfe3de;
  --ink: #182026; --grey: #6e7882; --line: #e2e7ec; --bg: #ffffff;
  --red: #b0481e; --red-l: #fff4ee; --red-b: #f0c8b4; --green: #1e965a; --green-l: #ecf9f1;
  --amber: #8a5a00; --amber-l: #fff8e6; --amber-b: #f2dca0;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.4 -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif; }
#app { max-width: 520px; margin: 0 auto; min-height: 100vh; }
.screen { display: flex; flex-direction: column; min-height: 100vh; padding: 16px 16px 0; }
.hidden { display: none !important; }
h1 { font-size: 22px; margin: 0 0 6px; }
h2 { font-size: 17px; margin: 18px 0 10px; }
h3 { font-size: 16px; margin: 0 0 10px; }
.muted { color: var(--grey); font-size: 13.5px; margin: 6px 0; }
.hero { background: linear-gradient(90deg, #0c7d74, #0a5a54); color: #fff; border-radius: 18px; padding: 16px 18px; }
.hero p { margin: 0; color: #e1f5f2; font-size: 13.5px; }
.price { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.price b { font-size: 28px; }
.price span { color: #e1f5f2; font-size: 13px; max-width: 170px; }
.banner { margin-top: 12px; border: 1.5px solid var(--teal); background: var(--teal-l); border-radius: 14px; padding: 12px 14px;
  font-size: 14px; }
.banner button { margin-top: 8px; }
.steps { display: flex; justify-content: space-between; position: relative; margin: 16px 18px 4px; }
.steps::before { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; background: var(--line); }
.steps .st { position: relative; display: flex; flex-direction: column; align-items: center; width: 0; }
.steps .st i { width: 16px; height: 16px; border-radius: 50%; border: 1.6px solid #bec6cc; background: #fff; display: block;
  z-index: 1; font-style: normal; color: #fff; font-size: 10px; line-height: 13px; text-align: center; }
.steps .st.done i, .steps .st.cur i { background: var(--teal); border-color: var(--teal); }
.steps .st span { margin-top: 5px; font-size: 12px; color: var(--grey); white-space: nowrap; }
.steps .st.cur span { color: var(--teal-d); font-weight: 600; }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kind { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: #f7f9fa; font: inherit; font-weight: 600; font-size: 14px; text-align: left;
  color: var(--ink); }
.kind em { font-style: normal; font-size: 22px; }
.kind.on { border: 2px solid var(--teal); background: var(--teal-l); color: var(--teal-d); }
.warn { display: flex; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: var(--red-l);
  border: 1px solid var(--red-b); color: var(--red); font-size: 13.5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.chip { border: 1.3px solid var(--teal-m); background: #fff; color: var(--teal); border-radius: 11px; padding: 9px 10px;
  font: inherit; font-weight: 600; font-size: 13.5px; }
.spacer { flex: 1; min-height: 16px; }
.bottom { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); margin: 0 -16px;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
button.main { width: 100%; border: 0; border-radius: 15px; background: var(--teal); color: #fff; font: inherit;
  font-weight: 600; font-size: 16.5px; padding: 15px; }
button.main:disabled { opacity: .55; }
button.ghost { width: 100%; border: 0; background: none; color: var(--teal); font: inherit; font-weight: 600; padding: 12px; }
button.link { border: 0; background: none; color: var(--teal); font: inherit; font-weight: 600; padding: 0; }
.picked { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15.5px;
  margin: 10px 0 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #f0f3f5; border-radius: 12px; padding: 3px; }
.seg button { border: 0; background: none; border-radius: 10px; padding: 9px 4px; font: inherit; font-size: 14px;
  color: var(--grey); font-weight: 500; }
.seg button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.lbl { display: block; margin: 14px 0 6px; color: var(--grey); font-size: 13px; font-weight: 500; }
textarea, input[type=email] { width: 100%; border: 2px solid var(--teal); border-radius: 14px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink); resize: none; outline: none; background: #fff; }
input[type=email] { margin-top: 8px; border-width: 1.5px; }
.hint { color: var(--grey); font-size: 12.5px; margin: 6px 2px; }
.ask { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--amber-l); border: 1px solid var(--amber-b);
  color: var(--amber); font-size: 14px; white-space: pre-line; }
.center { text-align: center; padding: 24px 6px 0; }
.big { font-size: 46px; }
.pre { white-space: pre-line; text-align: left; font-size: 15px; }
.addr-box { background: #f4f7f8; border-radius: 12px; padding: 10px 12px; font-size: 14.5px; text-align: left;
  word-break: break-word; }
.spin { width: 44px; height: 44px; margin: 20px auto 6px; border-radius: 50%; border: 4px solid var(--teal-l);
  border-top-color: var(--teal); animation: sp 1s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.result { margin-top: 14px; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.result.ok { background: var(--green-l); border: 1px solid #aadcbe; }
.result.ok b.t { color: #146440; }
.result.wait { background: var(--amber-l); border: 1px solid var(--amber-b); }
.result b.t { display: block; font-size: 15px; margin-bottom: 4px; }
.result .addr { font-weight: 600; margin: 4px 0; }
.result small { display: block; color: var(--grey); font-size: 13px; }
.radio { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; padding: 9px 14px;
  margin-bottom: 8px; }
.radio i { width: 18px; height: 18px; border-radius: 50%; border: 1.8px solid #b4bcc2; flex: none; }
.radio.on { border: 1.6px solid var(--teal); background: var(--teal-l); }
.radio.on i { border-color: var(--teal); background: radial-gradient(var(--teal) 0 4.5px, #fff 5px); }
.radio b { display: block; font-size: 14.5px; }
.radio small { color: var(--grey); font-size: 12.5px; }
.consent { color: var(--grey); font-size: 12px; margin-top: 10px; }
.consent a { color: var(--teal); font-weight: 600; text-decoration: none; }
.err { color: var(--red); font-size: 13.5px; }
.card { margin-top: 12px; border: 1px solid var(--line); background: #f7f9fa; border-radius: 16px; padding: 14px 16px; }
dl { display: grid; grid-template-columns: 96px 1fr; gap: 6px 8px; margin: 0; font-size: 13.5px; }
dt { color: var(--grey); } dd { margin: 0; font-weight: 500; word-break: break-word; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 2px 8px; }
.total span { color: var(--grey); font-size: 15px; } .total b { font-size: 26px; }
.methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.methods span { border: 1px solid var(--line); border-radius: 14px; padding: 4px 11px; font-size: 13px; }
.tl { list-style: none; margin: 6px 0 0; padding: 0; }
.tl li { position: relative; padding: 0 0 18px 30px; font-size: 14px; color: var(--grey); }
.tl li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.6px solid #bec6cc; background: #fff; box-sizing: border-box; }
.tl li::after { content: ""; position: absolute; left: 8.3px; top: 22px; bottom: 2px; width: 1.6px; background: #d2d8dc; }
.tl li:last-child::after { display: none; }
.tl li.done { color: var(--ink); } .tl li.done::before { background: var(--green); border-color: var(--green); }
.tl li.cur { color: var(--ink); font-weight: 600; }
.tl li.cur::before { border: 2px solid var(--teal); background: radial-gradient(var(--teal) 0 3.5px, #fff 4px); }
.note { color: var(--grey); font-size: 12px; text-align: center; margin: 8px 0 0; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: rgba(24,32,38,.92); color: #fff;
  padding: 10px 16px; border-radius: 12px; font-size: 14px; max-width: 86%; text-align: center; z-index: 9; }
.preview { background: #fff8e6; color: #8a5a00; font-size: 12.5px; padding: 8px 16px; text-align: center; }
