:root {
  --bg: #07101f;
  --panel: #101b2f;
  --panel-2: #16243c;
  --text: #f7f9fc;
  --muted: #aab6ca;
  --accent: #35c56f;
  --accent-2: #26a85c;
  --danger: #ff6b6b;
  --border: rgba(255,255,255,.11);
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: radial-gradient(circle at top, #14213a 0, var(--bg) 52%); color: var(--text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { min-height: 100dvh; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100dvh; max-width: 760px; margin: 0 auto; padding-bottom: 110px; }
.topbar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 46px 1fr 46px; gap: 10px; align-items: center; padding: 14px 16px; background: rgba(7,16,31,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.eyebrow { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
h1 { font-size: 1.2rem; margin: 2px 0 0; }
h2 { margin: 0 0 12px; line-height: 1.18; }
h3 { margin: 0 0 8px; }
p { line-height: 1.5; }
.content { padding: 20px 16px 30px; }
.icon-btn { width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); color: var(--text); font-size: 1.3rem; }
.hidden { display: none !important; }
.hero-card, .card { background: linear-gradient(145deg, rgba(22,36,60,.97), rgba(13,25,44,.97)); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.hero-card { padding: 22px; margin-bottom: 18px; }
.hero-card .emoji { font-size: 2.2rem; }
.hero-card p { color: var(--muted); margin-bottom: 0; }
.card { padding: 18px; margin-bottom: 14px; }
.menu-grid { display: grid; gap: 12px; }
.menu-btn, .choice-btn { width: 100%; text-align: left; color: var(--text); background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 16px; transition: .18s ease; }
.menu-btn:active, .choice-btn:active { transform: scale(.985); }
.menu-btn:hover, .choice-btn:hover, .choice-btn.selected { border-color: rgba(53,197,111,.7); background: var(--panel-2); }
.menu-btn { display: grid; grid-template-columns: 42px 1fr 22px; align-items: center; gap: 12px; }
.menu-index { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(53,197,111,.15); color: var(--accent); font-weight: 800; }
.menu-title { font-weight: 760; line-height: 1.25; }
.menu-subtitle { margin-top: 3px; color: var(--muted); font-size: .86rem; }
.chevron { color: var(--muted); font-size: 1.3rem; }
.field-label { display: block; margin: 0 0 8px; font-weight: 750; }
.help-text { color: var(--muted); font-size: .9rem; margin: 7px 0 0; }
.text-input, .text-area, .select-input { width: 100%; border: 1px solid var(--border); border-radius: 14px; background: #091426; color: var(--text); padding: 14px; outline: none; }
.text-input:focus, .text-area:focus, .select-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(53,197,111,.12); }
.text-area { min-height: 118px; resize: vertical; }
.choice-list { display: grid; gap: 10px; margin-top: 12px; }
.choice-btn { position: relative; padding-right: 44px; }
.choice-btn::after { content: "○"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.choice-btn.selected::after { content: "●"; color: var(--accent); }
.choice-btn.multi::after { content: "□"; }
.choice-btn.multi.selected::after { content: "■"; color: var(--accent); }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.primary-btn, .secondary-btn, .danger-btn { width: 100%; border-radius: 15px; padding: 14px 16px; font-weight: 800; border: 0; }
.primary-btn { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: #04120a; }
.primary-btn:disabled { opacity: .42; cursor: not-allowed; }
.secondary-btn { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); }
.danger-btn { background: rgba(255,107,107,.12); color: #ffb4b4; border: 1px solid rgba(255,107,107,.35); }
.direct-contact { position: fixed; z-index: 30; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 30px), 730px); border: 1px solid rgba(53,197,111,.45); border-radius: 17px; padding: 15px; background: rgba(8,27,19,.96); color: #dffbea; font-weight: 850; box-shadow: 0 16px 40px rgba(0,0,0,.42); }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.modal-card { width: min(100%, 560px); background: linear-gradient(150deg, #172641, #0c1729); border: 1px solid var(--border); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.modal-icon { font-size: 2.4rem; margin-bottom: 10px; }
.notice-list { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 16px; padding: 4px 14px; margin: 14px 0; }
.notice-list p { margin: 11px 0; }
.check-row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); margin: 15px 0; }
.check-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.progress { height: 8px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin: 12px 0 20px; }
.progress > span { display: block; height: 100%; background: var(--accent); transition: width .25s ease; }
.step-kicker { color: var(--accent); font-weight: 800; font-size: .78rem; letter-spacing: .08em; }
.info-box, .warning-box, .success-box { border-radius: 15px; padding: 13px 14px; margin: 14px 0; line-height: 1.45; }
.info-box { background: rgba(56,139,253,.11); border: 1px solid rgba(56,139,253,.3); }
.warning-box { background: rgba(255,184,77,.1); border: 1px solid rgba(255,184,77,.32); }
.success-box { background: rgba(53,197,111,.11); border: 1px solid rgba(53,197,111,.32); }
.summary-list { display: grid; gap: 8px; }
.summary-row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.summary-row:last-child { border-bottom: 0; }
.summary-key { color: var(--muted); }
.summary-value { overflow-wrap: anywhere; }
.small-note { font-size: .82rem; color: var(--muted); }
.badge { display: inline-block; border: 1px solid rgba(53,197,111,.35); background: rgba(53,197,111,.11); color: #bdf5d0; border-radius: 999px; padding: 5px 10px; font-size: .78rem; font-weight: 750; }
@media (min-width: 700px) {
  .menu-grid.two-cols { grid-template-columns: 1fr 1fr; }
  .content { padding: 28px 22px 42px; }
}
