/* ui-pages.css — page-specific styles for checkout success, terms, privacy, report (loaded via headExtra; needs ui.css). 8px grid. */

/* checkout success */
.ok-page{max-width:30rem;margin:0 auto;text-align:center;padding:24px 0 0}
.ok-ic{width:64px;height:64px;margin:0 auto 24px;border-radius:16px;background:rgba(74,222,128,.1);border:1px solid rgba(74,222,128,.22);display:grid;place-items:center;color:var(--ok)}
.ok-ic svg{width:32px;height:32px}
.ok-page h1{margin:0 0 8px}
.ok-sub{color:var(--muted);font-size:16px;margin:0 0 32px}
.ok-page .group{text-align:left;margin-bottom:32px}
.ok-page .row{cursor:default;min-height:56px;padding:0 20px}
.ok-page .row .k{color:var(--muted);font-size:14px}
.ok-page .row .v{font:500 14px var(--mono);color:#fff;text-align:right}
.ok-page .row .v.ok{color:var(--ok);font-family:var(--sans)}
.ok-page .btn.lg{width:auto;padding:0 28px;text-decoration:none}
.ok-note{color:var(--muted);font-size:14px;max-width:26rem;margin:0 auto 24px;text-wrap:pretty}
.ok-page .group+.ok-note{margin-top:-16px}
.ok-page .row .v.ref{display:flex;align-items:center;gap:4px;min-width:0}.ok-page .row .v.ref span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ok-page .ib{width:32px;height:32px;flex:none}

/* legal reading column */
.doc{max-width:44rem}
.doc h1{margin:0 0 12px}
.doc .updated{color:var(--muted);font-size:14px;margin:0 0 24px}
.doc .lede{font-size:17px;line-height:1.65;color:var(--text);margin:0}
.doc section{margin-top:40px}
.doc h2{font:500 22px/1.3 var(--disp);letter-spacing:-.01em;margin:0 0 12px}
.doc p{font-size:16px;line-height:1.65;color:#c9c9d3;margin:0 0 16px;text-wrap:pretty}
.doc p:last-child{margin-bottom:0}
.doc ul,.doc ol{margin:0 0 16px;padding-left:24px;font-size:16px;line-height:1.65;color:#c9c9d3}
.doc li{margin-bottom:8px}
.doc a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(129,140,248,.4)}
.doc a:hover{text-decoration-color:var(--accent)}
@media(min-width:640px){.doc p,.doc li,.doc .lede{font-size:17px}}

/* report form */
.form-page{max-width:36rem;margin:0 auto}
.form-page h1{margin:0 0 12px}
.form-page .intro{color:var(--muted);font-size:16px;line-height:1.6;margin:0 0 32px}
.fld{display:block;margin:0 0 20px}
.fld .lb{display:block;font:500 14px/1.3 var(--sans);color:#fff;margin-bottom:8px}
.fld .help{display:block;font-size:13px;color:var(--muted);margin-top:8px;text-wrap:pretty}
.fld input,.fld select,.fld textarea{display:block;width:100%;background-color:var(--bg2);border:1px solid var(--rule2);border-radius:8px;color:var(--text);font:400 15px var(--sans);padding:0 12px;height:44px}
.fld textarea{height:auto;min-height:120px;padding:12px;line-height:1.5;resize:vertical}
.fld input::placeholder,.fld textarea::placeholder{color:var(--faint)}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:0;border-color:var(--accent)}
.chk{text-wrap:pretty;display:flex;gap:12px;align-items:flex-start;margin:0 0 20px;font-size:14px;line-height:1.5;color:var(--muted)}
.chk input{margin:3px 0 0;flex:none;width:16px;height:16px;accent-color:var(--accent2)}
.form-err{color:var(--danger);font-size:14px;margin:0 0 16px}
.form-page .btn.lg{width:100%}
.form-ok{border:1px solid rgba(74,222,128,.25);background:rgba(74,222,128,.05);border-radius:14px;padding:32px 24px;text-align:center}
.form-ok svg{width:32px;height:32px;color:var(--ok);margin:0 auto 12px;display:block}
.form-ok h2{margin:0 0 8px}
.form-ok p{color:var(--muted);margin:0}
.cf-turnstile{margin:0 0 20px}

/* legal docs: reading column + sticky "On this page" rail */
.doc-grid{display:grid;grid-template-columns:minmax(0,44rem) 15rem;justify-content:space-between;gap:64px;align-items:start}
.toc{position:sticky;top:24px;font-size:14px}
.toc .lab{margin-bottom:12px}
.toc a{display:block;color:var(--muted);text-decoration:none;padding:6px 0 6px 12px;border-left:1px solid var(--rule);line-height:1.4;text-wrap:pretty}
.toc a:hover{color:#fff;border-left-color:var(--accent)}
.doc section{scroll-margin-top:24px}
@media(max-width:960px){.doc-grid{display:block}.toc{display:none}}
@media(max-width:480px){.ok-page .row.refrow{flex-wrap:wrap;padding:14px 20px;row-gap:2px}.ok-page .row.refrow .v.ref{width:100%;justify-content:space-between;font-size:13px}.ok-page .row.refrow .v.ref span{white-space:normal;overflow-wrap:anywhere}}
