/* The public withdrawal page (/withdraw, web/withdraw/index.html): the booking page's look (soft colour behind, logo
   and language at the top, a big centred title, one white card), with the os.css tokens for light and dark. */
.wdpage{min-height:100vh;position:relative;isolation:isolate}
.wdpage::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(520px 420px at 0% 0%,rgba(10,132,255,.12),transparent 70%),radial-gradient(520px 420px at 100% 0%,rgba(94,92,230,.1),transparent 70%)}
[data-theme=dark] .wdpage::before{background:radial-gradient(520px 420px at 0% 0%,rgba(10,132,255,.18),transparent 70%),radial-gradient(520px 420px at 100% 0%,rgba(94,92,230,.14),transparent 70%)}
.wdpage .top{display:flex;align-items:center;justify-content:space-between;padding:24px 40px}
.wdpage .top .logo{font-size:17px}
.whead{text-align:center;padding:18px 20px 0;max-width:760px;margin:0 auto}
.whead h1{font-size:clamp(34px,4.4vw,52px);font-weight:700;letter-spacing:-.045em;line-height:1.04;text-wrap:balance}
.whead p{font-size:17px;color:var(--ink2);margin-top:12px;text-wrap:balance}
.wcard{max-width:640px;margin:30px auto 18px;background:var(--card);border-radius:28px;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.06),0 30px 80px -40px rgba(15,39,68,.25)}
[data-theme=dark] .wcard{background:#1c1c1e;box-shadow:inset 0 0 0 .5px rgba(255,255,255,.1),0 30px 80px -40px rgba(0,0,0,.8)}
.wdpage .pane{padding:34px 40px 36px}
.wdpage .pane h2{font-size:24px;font-weight:700;letter-spacing:-.025em;line-height:1.2;text-wrap:balance}
.wdpage .pane h2:focus{outline:0}
.wdpage .pane .lead{font-size:15px;color:var(--ink2);margin-top:6px;line-height:1.45;max-width:52ch;text-wrap:balance}
.wdpage form{margin-top:24px}
.wdpage .opt{color:var(--ink3);font-weight:500}
.wdpage .wdate{max-width:calc(50% - 6px)}
.wdpage .hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.wdpage .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:26px}
.wdpage .form-err{margin:18px 0 0}
/* two steps: where you are */
.wstep{display:flex;align-items:center;gap:8px;margin-bottom:18px;font-size:13px;font-weight:600;color:var(--ink)}
.wstep i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11.5px;font-weight:700;background:var(--blue);color:#fff;flex:none}
.wstep i.ok{background:rgba(48,209,88,.18);color:#1f9a43}
.wstep i.off{background:var(--fill);color:var(--ink2)}
.wstep span.off{color:var(--ink3)}
.wstep b{width:28px;height:1.5px;border-radius:2px;background:var(--line)}
/* the statement as it will be sent */
.stmt{margin:24px 0 0;border-radius:20px;background:var(--bg);padding:22px 22px 10px}
[data-theme=dark] .stmt{background:#2c2c2e}
.stmt figcaption{font-size:12.5px;font-weight:600;color:var(--ink2)}
/* one line on the web; on phones it wraps like a sentence (pretty: full lines, no word left alone), never balanced */
.stmt blockquote{font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.4;margin-top:6px;text-wrap:pretty}
.sumw{margin-top:12px}
.sumw>div{display:flex;gap:16px;padding:11px 0;font-size:15px;border-top:.5px solid var(--line)}
.sumw dt{width:150px;flex:none;color:var(--ink2)}
.sumw dd{min-width:0;overflow-wrap:anywhere;font-weight:500;text-wrap:pretty}
.wdpage .help{text-wrap:pretty}
.sumw b{font-weight:700;letter-spacing:.02em}
/* received */
.wdpage .done{text-align:center;padding-top:44px}
.wdpage .big-ok{width:76px;height:76px;margin:0 auto;border-radius:50%;background:var(--green);display:grid;place-items:center;box-shadow:0 20px 40px -16px rgba(48,209,88,.7)}
.wdpage .big-ok svg{width:36px;height:36px;stroke:#fff;stroke-width:2.8}
.wdpage .done h2{font-size:32px;letter-spacing:-.035em;margin-top:22px}
.wdpage .done .lead span{display:block;text-wrap:balance}
.wdpage .done .lead b{color:var(--ink);font-weight:600}
.wdpage .done .sumw{max-width:440px;margin:24px auto 0;text-align:left;border-radius:20px;background:var(--bg);padding:6px 22px}
[data-theme=dark] .wdpage .done .sumw{background:#2c2c2e}
.wdpage .done .sumw>div:first-child{border-top:0}
.wdpage .done .sumw dt{width:110px}
.wdpage .how{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px;padding-top:24px;border-top:.5px solid var(--line);text-align:center}
.wdpage .how div{font-size:13.5px;color:var(--ink2);line-height:1.4}
.wdpage .how span{display:block;text-wrap:balance}
.wdpage .how b{display:block;color:var(--ink);font-size:14.5px;margin:8px 0 2px}
.wdpage .how i{width:26px;height:26px;margin:0 auto;border-radius:50%;background:var(--bg);display:grid;place-items:center;font-style:normal;font-size:12.5px;font-weight:700;color:var(--ink2)}
[data-theme=dark] .wdpage .how i{background:#2c2c2e}
.wdpage .bpriv{text-align:center;font-size:12.5px;color:var(--ink3);padding:4px 20px 44px;line-height:1.6;text-wrap:balance}
.wdpage .bpriv .lnk{font-size:12.5px}
@media (max-width:760px){
 .wdpage .top{padding:16px 20px}
 .whead{padding-top:6px}
 .whead p{font-size:15.5px}
 .wcard{margin:22px 0 14px;border-radius:28px 28px 0 0;box-shadow:0 -.5px 0 var(--line)}
 .wdpage .pane{padding:26px 20px 28px}
 .wdpage .wdate{max-width:none}
 .wdpage .actions{flex-direction:column-reverse}
 .wdpage .actions .btn{width:100%;justify-content:center}
 .sumw>div{flex-direction:column;gap:2px}
 .sumw dt{width:auto;font-size:13px}
 .wdpage .done .sumw>div{flex-direction:row;gap:12px}
 .wdpage .done .sumw dt{width:96px;font-size:15px}
 .wdpage .done h2{font-size:28px}
 .wdpage .how{grid-template-columns:1fr;gap:16px;text-align:left}
 .wdpage .how div{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:12px}
 .wdpage .how i{grid-row:span 2;margin:0}
 .wdpage .how b{margin:3px 0 2px}
}
