.wiz { padding: 20px 20px 18px; }
.wiz-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.wiz-back { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #eceae4; font-size: 18px; cursor: pointer; color: var(--ink); }
.wiz-back:disabled { opacity: .3; cursor: default; }
.wiz-progress { flex: 1; height: 8px; border-radius: 99px; background: #eceae4; overflow: hidden; }
.wiz-progress > div { height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .35s ease; }
.wiz-count { font-size: 13px; color: var(--ink-3); font-weight: 600; min-width: 34px; text-align: right; }

.q h2 { font-size: clamp(22px, 5vw, 26px); letter-spacing: -.03em; line-height: 1.35; margin: 0 0 6px; }
.q .sub, .card .sub { font-size: 14px; color: var(--ink-3); margin: 0 0 14px; }
.q { animation: qin .28s ease; }
@keyframes qin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.big-input { position: relative; margin-bottom: 12px; }
.big-input input {
  width: 100%; height: 62px; border: 2px solid var(--line); border-radius: 14px; background: #fcfbf8;
  font: inherit; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); padding: 0 92px 0 16px; outline: none; transition: border .15s;
}
.big-input.sm input { height: 52px; font-size: 20px; }
.big-input input:focus { border-color: var(--accent); background: #fff; }
.big-input i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-3); font-size: 15px; font-weight: 600; }
.lbl { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.lbl small { font-weight: 400; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chips button:hover { border-color: var(--ink-3); }

.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row > span { font-weight: 700; font-size: 16px; }
.row > span small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper b { min-width: 30px; text-align: center; font-size: 19px; }
.toggle { display: flex; background: #eceae4; border-radius: 12px; padding: 3px; flex-wrap: wrap; }
.toggle button { border: 0; background: transparent; padding: 9px 13px; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.choice, .pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
.pick { grid-template-columns: repeat(3, 1fr); }
.choice button, .pick button {
  height: 64px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.pick button { height: 58px; font-size: 15px; }
.choice button[aria-pressed="true"], .pick button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

details.opt { margin-top: 14px; background: #f7f5f0; border-radius: 12px; padding: 12px 14px; }
details.opt summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-2); }
details.opt[open] summary { margin-bottom: 4px; }

.wiz-foot { display: flex; gap: 8px; margin-top: 22px; }
.wiz-foot .btn { height: 56px; font-size: 17px; }
.wiz-foot .btn.primary { flex: 2; }

/* result */
.verdict.big { text-align: center; padding: 34px 20px 30px; margin-top: 8px; }
.verdict.big .amount { font-size: clamp(38px, 10vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; margin: 8px 0 10px; }
.verdict.big.pay .amount { color: #ffb48a; }
.verdict.big.get .amount { color: #7ee2b8; }
.h2 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 6px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; margin: 12px 0 8px; }
.flow > div:not(.op) { background: #f7f5f0; border-radius: 12px; padding: 12px; text-align: center; }
.flow span { display: block; font-size: 12.5px; color: var(--ink-3); }
.flow b { font-size: 17px; letter-spacing: -.02em; }
.flow .hl { background: var(--accent-soft) !important; }
.flow .hl b { color: var(--accent); }
.flow .op { font-weight: 800; color: var(--ink-3); }
table.mini { margin-top: 8px; font-size: 14px; }
table.mini td { padding: 8px 10px; }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #f7f5f0; margin-top: 10px; }
.tip .plus { flex: none; background: var(--accent); color: #fff; font-weight: 800; border-radius: 10px; padding: 6px 10px; font-size: 15px; white-space: nowrap; }
.tip b { display: block; margin-bottom: 2px; }
.tip p { margin: 0; font-size: 14px; color: var(--ink-2); }
ul.check { list-style: none; padding: 0; margin: 8px 0 0; }
ul.check li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
ul.check li:last-child { border-bottom: 0; }
ul.check .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #cfc9bc; margin-top: 2px; display: grid; place-items: center; color: #fff; font-size: 14px; }
ul.check li.done .box { background: var(--accent); border-color: var(--accent); }
ul.check li.done b { text-decoration: line-through; color: var(--ink-3); }
ul.check b { display: block; }
ul.check p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
ol.timeline { list-style: none; padding: 0; margin: 8px 0 0; border-left: 2px solid var(--line); }
ol.timeline li { position: relative; padding: 0 0 14px 18px; }
ol.timeline li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
ol.timeline b { display: block; font-size: 15px; }
ol.timeline span { font-size: 14px; color: var(--ink-2); }
.disclaimer { font-size: 13px; color: var(--ink-3); margin: 12px 4px 0; }

@media (max-width: 600px) {
  .wiz { padding: 18px 16px; }
  .flow { grid-template-columns: 1fr; }
  .flow .op { text-align: center; line-height: 1; }
  .pick { grid-template-columns: 1fr 1fr 1fr; }
  .row { flex-wrap: wrap; }
}
.link-btn { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--ink-3); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }
