/* Shared by recovery and invitation/reset screens. */
:root { --ink:#15172b; --muted:#687087; --line:#e8e7ef; --brand:#c9361f; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; min-height:100dvh; display:grid; place-items:center; padding:24px; background:#f7f7fb; color:var(--ink); font:16px/1.5 'Segoe UI',Arial,sans-serif; }
.recovery-shell { width:min(462px,100%); min-width:0; }
.card { width:100%; min-width:0; padding:clamp(20px,5vw,32px); border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 14px 40px rgba(32,28,73,.06); }
h1 { margin:0 0 10px; font-size:clamp(25px,5vw,30px); line-height:1.2; letter-spacing:-.035em; overflow-wrap:anywhere; }
p { margin:0 0 22px; color:var(--muted); }
label { display:block; margin:14px 0 6px; font-size:14px; font-weight:700; }
input { width:100%; min-width:0; min-height:44px; padding:9px 10px; border:1px solid #dedde8; border-radius:10px; font:inherit; background:#fff; }
button { width:100%; min-height:44px; margin-top:18px; padding:10px 14px; border:0; border-radius:10px; background:var(--brand); color:#fff; font:700 15px/1.4 'Segoe UI',Arial,sans-serif; cursor:pointer; overflow-wrap:anywhere; }
a { color:var(--brand); font-weight:700; text-underline-offset:3px; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:3px solid #7557ff; outline-offset:3px; }
small { display:block; margin-top:8px; color:var(--muted); }
.linkline { margin-top:16px; text-align:center; font-size:14px; }
.legal-check { display:flex; align-items:flex-start; gap:10px; margin-top:18px; color:var(--muted); font-size:13px; line-height:1.45; }
.legal-check input { flex:0 0 auto; width:auto; min-height:auto; margin-top:3px; padding:0; }
.legal-check span { min-width:0; }
.legal-links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 12px; margin-top:18px; font-size:12px; }
.email { display:inline-block; max-width:100%; padding:6px 10px; border-radius:12px; background:#fff0ec; color:var(--brand); font-weight:700; font-size:13px; overflow-wrap:anywhere; }
.flash { display:flex; align-items:flex-start; gap:12px; margin-bottom:18px; padding:14px; border:1px solid #fca5a5; border-left:5px solid #dc2626; border-radius:10px; background:#fef2f2; color:#7f1d1d; font-weight:700; overflow-wrap:anywhere; }
.flash::before { content:'!'; flex:0 0 24px; text-align:center; border-radius:6px; background:#dc2626; color:#fff; }
.flash.ok { border-color:#86efac; border-left-color:#16a34a; background:#ecfdf3; color:#14532d; }
.flash.ok::before { content:'OK'; flex-basis:32px; background:#16a34a; font-size:12px; line-height:24px; }
.flash.info { border-color:#93c5fd; border-left-color:#2563eb; background:#eff6ff; color:#1e3a8a; }
.flash.info::before { content:'i'; background:#2563eb; }
