/* "Help me choose": the button on /how-it-works and its dialog (ported from the options paper, V10). Site tokens only; no blue. */
.wiz-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 0; }
.wiz-btn { border: 0; cursor: pointer; font-family: inherit; }
.wiz-hint { color: var(--muted); font-size: 0.95rem; }
dialog.wiz { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); padding: 0; width: min(660px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 12px 40px rgb(0 0 0 / 0.4); }
dialog.wiz::backdrop { background: rgb(0 0 0 / 0.6); }
.wiz-inner { display: flex; flex-direction: column; max-height: calc(100vh - 34px); }
.wiz-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.wiz-head h2 { margin: 0; font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif; font-weight: 800; font-size: 1.2rem; }
.wiz-x { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; width: 44px; height: 44px; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.wiz-body { padding: 18px; overflow-y: auto; }
.wiz-step { color: var(--muted); font-size: 0.85rem; margin: 0 0 4px; }
.wiz-q { font-size: 1.3rem; font-weight: 700; margin: 0 0 6px; line-height: 1.3; outline: none; }
.wiz-help { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; }
/* the answers sit side by side across the window (one column only when the window is narrow) */
.wiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.wiz-opt { display: block; width: 100%; min-height: 84px; text-align: left; background: color-mix(in srgb, var(--ink) 5%, transparent); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--ink); cursor: pointer; }
.wiz-opt:hover { border-color: var(--orange); }
.wiz-opt b { display: block; font-size: 1rem; }
.wiz-opt .s { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.wiz-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
.wiz-foot .grp { display: flex; gap: 8px; }
.wiz-sec { min-height: 44px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.wiz-sec:hover { border-color: var(--orange); }
.wiz-sec[disabled] { opacity: 0.45; cursor: default; }
.wiz-sec.go { background: var(--orange); color: #2a2a2c; border-color: var(--orange); }
.wiz-btn:focus-visible, .wiz-opt:focus-visible, .wiz-sec:focus-visible, .wiz-x:focus-visible, .wiz-ico:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.wiz-lead { margin: 0 0 12px; }
.wiz-pick { border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; }
.wiz-pick h4 { margin: 0 0 6px; font-size: 1.1rem; }
.wiz-pick p { margin: 4px 0; font-size: 0.92rem; }
.wiz-pick .lbl { font-weight: 700; }
.wiz-rows { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 0 0 12px; }
.wiz-rows th, .wiz-rows td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.wiz-rows th { width: 42%; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.wiz-rows td { background: rgb(249 157 50 / 0.12); font-weight: 700; }
.wiz-add { margin: 12px 0 0; padding-left: 20px; font-size: 0.92rem; }
.wiz-add li { margin: 4px 0; }
.wiz-note { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: rgb(249 157 50 / 0.12); border: 1px solid rgb(249 157 50 / 0.5); font-size: 0.9rem; }
.wiz-cta { margin: 16px 0 0; }
.wiz-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wiz-ico { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px 12px; min-height: 48px; background: color-mix(in srgb, var(--ink) 5%, transparent); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: inherit; cursor: pointer; }
.wiz-ico svg { width: 36px; height: 36px; }
.wiz-ico .cap { font-size: 0.82rem; font-weight: 700; line-height: 1.2; text-align: center; }
.wiz-ico:hover { border-color: var(--orange); }
.wiz-ico .tick { display: none; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #2a2a2c; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.wiz-ico[aria-pressed='true'] { border: 2px solid var(--orange); background: rgb(249 157 50 / 0.14); }
.wiz-ico[aria-pressed='true'] .tick { display: block; }
.wiz-ico::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 210px; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 0.82rem; font-weight: 400; line-height: 1.35; text-align: center; box-shadow: 0 8px 20px -8px var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.12s; z-index: 5; }
.wiz-ico:hover::after, .wiz-ico:focus-visible::after { opacity: 1; visibility: visible; }
.wiz-ico:nth-child(n+5)::after { top: auto; bottom: calc(100% + 8px); }
.wiz-ico:nth-child(4n+1)::after { left: 0; transform: none; }
.wiz-ico:nth-child(4n)::after { left: auto; right: 0; transform: none; }
@media (max-width: 520px) {
  .wiz-icons { grid-template-columns: repeat(2, 1fr); }
  .wiz-ico:nth-child(4n+1)::after, .wiz-ico:nth-child(4n)::after { left: 50%; right: auto; transform: translateX(-50%); }
  .wiz-ico:nth-child(odd)::after { left: 0; right: auto; transform: none; }
  .wiz-ico:nth-child(even)::after { left: auto; right: 0; transform: none; }
}
.wiz-small { font-size: 0.7em; font-weight: 400; color: var(--muted); }
