:root {
    --accent: #2563eb;
    --accent-2: #7c3aed;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body.public-body,
body.public-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    color: #e2e8f0;
    background:
        radial-gradient(900px 420px at -10% -10%, rgba(37, 99, 235, .28), transparent 55%),
        radial-gradient(700px 380px at 110% 0%, rgba(124, 58, 237, .22), transparent 50%),
        radial-gradient(600px 300px at 50% 110%, rgba(5, 150, 105, .12), transparent 45%),
        #070b14;
}
.public-grid,
.public-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.public-wrap,
.public-wrap { position: relative; z-index: 1; }
.brand-mark,
.brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .9rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 10px 24px rgba(37,99,235,.28);
    overflow: hidden;
    flex-shrink: 0;
}
.brand-mark img { width: 1.55rem; height: 1.55rem; object-fit: contain; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .75rem 1.15rem;
    border-radius: .9rem;
    font-weight: 700;
    font-size: .95rem;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #4f46e5 55%, #7c3aed);
    box-shadow: 0 12px 28px rgba(37,99,235,.28);
}
.btn-ghost,
.btn-ghost {
    color: #e2e8f0;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}
.field {
    width: 100%;
    min-height: 48px;
    border-radius: .9rem;
    border: 1px solid #dbe3ee;
    background: #f8fafc;
    padding: .75rem 1rem .75rem 2.75rem;
    color: #0f172a;
    font-size: 1rem;
    outline: none;
}
.field:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    background: #fff;
}
.field-wrap { position: relative; }
.field-icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.15rem;
    height: 1.15rem;
    color: #94a3b8;
    pointer-events: none;
}
.surface,
.surface {
    background: rgba(255,255,255,.94);
    color: #0f172a;
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 24px 60px rgba(2,6,23,.28);
}
.chip,
.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #c7d2fe;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}
.step-bar { display: flex; gap: .5rem; }
.step-dot {
    flex: 1;
    height: 6px;
    border-radius: 99px;
    background: #e2e8f0;
}
.step-dot.is-on { background: linear-gradient(90deg, #2563eb, #7c3aed); }
.role-card {
    display: block;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    background: #fff;
}
.role-card input { position: absolute; opacity: 0; pointer-events: none; }
.role-card.is-on {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.alert-bad {
    border-radius: .9rem;
    border: 1px solid #fecdd3;
    background: #fff1f2;
    color: #9f1239;
    padding: .85rem 1rem;
    font-size: .9rem;
}
.surface { background: rgba(255,255,255,.94); color: #0f172a; border-radius: 1.25rem; border: 1px solid rgba(255,255,255,.55); box-shadow: 0 24px 60px rgba(2,6,23,.28); }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c7d2fe; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.alert-bad { border-radius: .9rem; border: 1px solid #fecdd3; background: #fff1f2; color: #9f1239; padding: .85rem 1rem; font-size: .9rem; }
