body:has(.flow-dialog[open]) { overflow:hidden; }
.flow-dialog,.flow-page {color:#f7f3ff;font: 1rem/1.55 system-ui,sans-serif;letter-spacing:normal;}
.flow-dialog *, .flow-page * {box-sizing:border-box}
.flow-dialog {background:#1c1726;padding:0;border:1px solid #4c405d;border-radius:24px;box-shadow:0 24px 100px #09060eb0;width:min(540px,calc(100% - 28px));max-height:min(89dvh,840px);overflow:auto;margin:auto;}
.flow-dialog::backdrop {background:#0a0712bb;backdrop-filter:blur(6px)}
.flow-dialog .flow-inner {padding:34px;position:relative}
.flow-dialog h2,.flow-page h1,.flow-page h2 {font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em;color:#f9f5ff;line-height:1.12;margin:0 0 12px}
.flow-dialog h2 {font-size:clamp(2rem,5vw,2.7rem);padding-right:12px}
.flow-dialog p,.flow-page p {margin:0 0 18px;color:#c5bbd2}
.flow-dialog small,.flow-page small,.flow-hint {font-size:.85rem;color:#b8abc7}
.flow-eyebrow {display:block;margin:0 0 16px;font-size:.76rem;letter-spacing:.13em;color:#c6a6f6;text-transform:uppercase;font-weight:650}
.flow-close {display:grid;place-items:center;background:#302739;border:1px solid #51445d;width:36px;height:36px;border-radius:50%;position:absolute;right:19px;top:17px;font:23px/1 system-ui;color:#e6dcef;cursor:pointer}
.flow-dialog .flow-grid {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:22px 0 0}
.flow-chip, .flow-neutral {border:1px solid #4b4059;background:#282232;border-radius:12px;color:#ece5f5;cursor:pointer;font:inherit}
.flow-chip {text-align:left;padding:13px 14px}
.flow-chip:hover,.flow-chip:focus-visible,.flow-neutral:hover {background:#382c46;border-color:#aa88d7}
.flow-form {display:grid;gap:16px;}
.flow-form fieldset {min-width:0;padding:0;border:0;margin:0}
.flow-label,.flow-form legend {display:block;font-size:.92rem;font-weight:600;color:#f2ecf8;margin:0 0 6px}
.flow-control {display:block;width:100%;border-radius:10px;border:1px solid #574963;color:#f8f4ff;background:#201b29;font:inherit;font-size:1rem;padding:11px 13px;line-height:1.5;min-height:48px}
.flow-control::placeholder {color:#aaa0b5}
.flow-dialog :focus-visible,.flow-page :focus-visible {outline:2px solid #c2a0ef;outline-offset:3px}
.flow-check {display:flex;align-items:flex-start;gap:10px;font-size:.92rem;line-height:1.45;color:#d5cbdc;}
.flow-check input,.flow-list input {accent-color:#c6a8ec;width:18px;height:18px;flex:none;margin:2px 0 0}
.flow-dialog a,.flow-page a {color:#d5b7fa;text-underline-offset:3px}
.flow-button,.flow-page a.flow-button,.flow-neutral {display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none;min-height:48px;padding:10px 22px;border-radius:999px;font:600 .96rem/1.4 system-ui;cursor:pointer}
.flow-button,.flow-page a.flow-button {border:1px solid transparent;background:#ccb0f7;color:#24172f}
.flow-button:hover {background:#ddc7ff}
.flow-button:disabled,.flow-neutral:disabled {cursor:wait;opacity:.7}
.flow-link {color:#d6b8fa;text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0;cursor:pointer;font:inherit}
.flow-switch {margin:2px 0 20px}
.flow-error {margin:0;color:#ffd3dc;font-size:.94rem}
.flow-status {color:#d6e8cb}
.flow-dialog [hidden],.flow-page [hidden]{display:none!important}
.flow-video-dialog {width:min(830px,calc(100% - 28px))}
.flow-video-dialog .flow-inner {padding:30px}
.flow-frame {width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#0d0a11;display:block}
.flow-read {font:400 clamp(1.16rem,2.5vw,1.4rem)/1.5 Georgia,serif;padding:4px 0;margin:10px 0 24px}
.flow-video-note {display:block;margin-top:14px}
.flow-page {width:min(760px,calc(100% - 40px));margin:0 auto;padding:clamp(48px,8vw,94px) 0 76px;min-height:60vh}
.flow-page h1 {font-size:clamp(2.6rem,6vw,4.4rem)}
.flow-page h2 {font-size:clamp(1.6rem,3vw,2.1rem)}
.flow-page .flow-lead {font-size:1.1rem;max-width:57ch}
.flow-panel {padding:clamp(20px,4vw,32px);margin:22px 0;border-radius:18px;border:1px solid #42364c;background:#1e1927}
.flow-panel p:last-child {margin-bottom:0}
.flow-actions {display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.flow-actions a.flow-neutral {text-decoration:none;color:#e8d8fb}
.flow-list {display:grid;gap:12px;margin:16px 0 0;padding:0;list-style:none}
.flow-list label {display:flex;gap:12px;align-items:flex-start}
.flow-list label:has(input:checked) {color:#a799b9}
.flow-page details {border-bottom:1px solid #3e3449;padding:14px 0}
.flow-page summary {cursor:pointer;font-weight:600}
.flow-page details p {margin:10px 0 0}
.flow-page fieldset.flow-panel {margin:0}
.flow-page .flow-group {display:grid;gap:16px}
.flow-page .flow-group h2 {margin-bottom:0}
.flow-page .flow-group p {margin:0}
.flow-twocol {display:grid;grid-template-columns:1fr 1fr;gap:14px}
.flow-note {font-size:.9rem}
.flow-qr {display:flex;gap:15px;align-items:center;margin:18px 0 0;color:#c9bed5;font-size:.9rem}
.flow-qr canvas {width:112px;height:112px;border-radius:7px;image-rendering:pixelated}
.flow-navback {display:inline-block;margin-top:20px}
.flow-ink {font-weight:600;color:#eee3fa}
@media(max-width:580px){.flow-dialog .flow-inner,.flow-video-dialog .flow-inner {padding:26px 21px}.flow-dialog .flow-grid {gap:8px}.flow-chip {padding:11px 10px}.flow-twocol {grid-template-columns:1fr}.flow-qr {display:none}.flow-dialog .flow-button {width:100%;min-height:54px}}
