:root {
  --navy: #1A3A3D;
  --navy-2: #2C5A5E;
  --gold: #C49A6D;
  --gold-2: #D1A271;
  --cream: #F7F4EF;
  --line: #D7DEE8;
  --ok: #1B7F4E;
  --warn: #9A6B00;
  --danger: #9B1C1C;
  --text: #122033;
  --muted: #5B6B7C;
  --white: #fff;
  --shadow: 0 10px 30px rgba(26, 58, 61, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--text); background: linear-gradient(180deg, #eef3f2, var(--cream)); min-height: 100%; }
a { color: var(--navy-2); }
.wrap { max-width: 920px; margin: 0 auto; padding: 20px 16px 60px; }
header.appbar { background: var(--navy); color: white; padding: 18px 0; box-shadow: var(--shadow); }
header .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-bottom: 0; }
.brand { display: flex; gap: 12px; align-items: center; }
.mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, #3d7cc9, #9fd0ff); display:grid; place-items:center; font-weight: 800; color: var(--navy); }
.brand h1 { font-size: 1.1rem; margin: 0; }
.brand p { margin: 2px 0 0; font-size: 0.82rem; opacity: 0.85; }
.pill { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 6px 10px; border-radius: 999px; font-size: 0.78rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 18px; box-shadow: var(--shadow); }
.card h2 { margin: 0 0 8px; font-size: 1.25rem; color: var(--navy); }
.card .sub { color: var(--muted); margin-bottom: 16px; font-size: 0.95rem; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.step { flex: 1; min-width: 110px; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 0.8rem; color: var(--muted); }
.step strong { display:block; color: var(--navy); font-size: 0.9rem; }
.step.active { border-color: var(--navy-2); box-shadow: inset 0 0 0 1px var(--navy-2); }
.step.done { background: #eef8f2; border-color: #b7e0c8; }
label { display:block; font-size: 0.86rem; font-weight: 600; margin: 12px 0 6px; }
input, textarea, select { width: 100%; padding: 12px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
button, .btn { appearance: none; border: 0; border-radius: 10px; padding: 12px 16px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button.primary, .btn.primary { background: var(--navy); color: white; }
button.secondary, .btn.secondary { background: #e8eef6; color: var(--navy); }
button:disabled { opacity: 0.55; cursor: not-allowed; }
.notice { border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: 0.9rem; }
.notice.info { background: #eef5ff; border: 1px solid #c9dbf5; }
.notice.warn { background: #fff7e6; border: 1px solid #f0d59a; color: #5c4300; }
.notice.ok { background: #eef9f2; border: 1px solid #b7e0c8; }
.notice.danger { background: #fdecec; border: 1px solid #f0b4b4; }
.disclaimer { font-size: 0.82rem; color: var(--muted); border-left: 3px solid var(--navy-2); padding-left: 12px; margin: 14px 0; }
.grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-block { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fbfcfe; }
.field-block label { margin-top: 0; }
.muted { color: var(--muted); font-size: 0.85rem; }
.q { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 0; }
.q h4 { margin: 0 0 6px; color: var(--navy); }
.q .why { font-size: 0.82rem; color: var(--muted); margin: 6px 0 8px; }
.badge { display: inline-block; font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; background: #e8eef6; color: var(--navy-2); margin-right: 6px; }
.badge.req { background: #ffe8e8; color: var(--danger); }
.badge.help { background: #fff4d8; color: var(--warn); }
.hidden { display: none !important; }
footer.site { margin-top: 28px; color: var(--muted); font-size: 0.8rem; text-align: center; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 720px) {
  .row, .grid-fields { grid-template-columns: 1fr; }
  header .wrap { flex-direction: column; align-items: flex-start; }
}

label.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  font-size: 0.92rem;
  line-height: 1.35;
}
label.check input { margin-top: 4px; flex: 0 0 auto; }
footer.site .eho {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.auth-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.auth-tabs button { flex: 1; }

/* Dream Path brand (Canva brand kit) */
h1, h2, h3, h4, .step strong, .pill, button, .btn { font-family: "Montserrat", "Segoe UI", system-ui, sans-serif; }
header.appbar { border-bottom: 3px solid var(--gold); }
.brand .logo { height: 56px; width: auto; display: block; }
.brand p { color: var(--gold-2); opacity: 1; letter-spacing: 0.02em; }
.pill { border-color: rgba(196,154,109,0.6); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Checkbox/radio fix: don't inherit the 100%-wide text-input styles */
input[type="checkbox"], input[type="radio"] { width: auto; padding: 0; border-radius: 3px; accent-color: var(--navy); }
label.check { font-weight: 400; width: 100%; }
label.check input { width: 18px; height: 18px; margin: 2px 0 0; }
label.check span { flex: 1 1 auto; min-width: 0; }
