/* GCF Survey Manager. Brand: navy #001924, gold #F6B831, Urbanist. */
:root {
	--navy: #001924; --navy-2: #0A2834; --gold: #F6B831; --gold-soft: #FEF4DC; --gold-ink: #8A6100;
	--ink: #0E1E26; --ink-2: #33444D; --muted: #5F6F78; --line: #E2E7EB; --bg: #F4F6F8; --card: #fff;
	--ok: #1F8A5B; --bad: #C2413A; --radius: 16px;
	--font: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.sm { font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
body.sm--embed { background: transparent; min-height: 0; }
a { color: var(--navy); }
.sm-top { background: var(--navy); padding: 18px 20px 22px; display: flex; justify-content: center; }
.sm-brand img { display: block; width: 150px; height: auto; }
.sm-main { width: 100%; max-width: 760px; margin: -12px auto 0; padding: 0 16px 40px; flex: 1; }
.sm--embed .sm-main { margin: 0; max-width: none; padding: 0; }
.sm-card { background: var(--card); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,25,36,.06), 0 8px 28px rgba(0,25,36,.07); padding: 28px 26px; margin-bottom: 18px; }
.sm--embed .sm-card { box-shadow: none; border: 1px solid var(--line); margin: 0; }
.sm-loading { color: var(--muted); }
.sm-eyebrow { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
h1 { font-size: 30px; line-height: 1.15; margin: 0 0 10px; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 21px; margin: 0 0 10px; color: var(--navy); }
.sm-hero { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px 28px; margin-bottom: 18px; }
.sm-hero h1 { color: #fff; font-size: 34px; }
.sm-hero .sm-eyebrow { color: var(--gold); }
.sm-lead { font-size: 18px; color: #D7E0E5; margin: 0; }
.sm-list { display: flex; flex-direction: column; gap: 10px; }
.sm-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.sm-item:hover { border-color: var(--gold); transform: translateY(-1px); }
.sm-item b { display: block; font-size: 17px; }
.sm-item small { color: var(--muted); }
.sm-item i { font-style: normal; font-size: 22px; color: var(--gold-ink); }
.sm-head { margin-bottom: 18px; }
.sm-hello { margin: 0 0 6px; font-weight: 600; }
.sm-intro { color: var(--ink-2); }
.sm-intro p { margin: 0 0 10px; }
.sm-progress { height: 6px; background: #E9EEF1; border-radius: 99px; overflow: hidden; margin: 6px 0 6px; }
.sm-progress i { display: block; height: 100%; background: var(--gold); border-radius: 99px; transition: width .3s; }
.sm-step { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.sm-q { border: 0; margin: 0 0 22px; padding: 18px 0 0; min-width: 0; position: relative; }
.sm-q::before { content: ''; position: absolute; top: 0; left: 0; right: 0; border-top: 1px solid var(--line); }
.sm-head + .sm-q::before, .sm-step + .sm-q::before, .sm-section + .sm-q::before { display: none; }
legend.sm-q__label { float: left; width: 100%; }
legend.sm-q__label + * { clear: both; }
.sm-q.is-missing .sm-q__label { color: var(--bad); }
.sm-q.is-missing .sm-pills, .sm-q.is-missing .sm-nps, .sm-q.is-missing .sm-input { outline: 2px solid rgba(194,65,58,.35); outline-offset: 3px; border-radius: 12px; }
.sm-q__label { display: block; font-weight: 700; font-size: 18px; color: var(--navy); margin: 0 0 6px; padding: 0; }
.sm-q__help, .sm-q__hint { margin: -2px 0 10px; color: var(--muted); font-size: 15px; }
.sm-req { color: var(--bad); }
.sm-opt { color: var(--muted); font-weight: 500; font-size: 14px; }
.sm-section { margin: 8px 0 16px; padding: 16px 18px; background: var(--gold-soft); border-radius: 12px; }
.sm-section h2 { margin: 0 0 4px; font-size: 19px; }
.sm-section p { margin: 0; color: var(--ink-2); }
.sm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-pill, .sm-nps__b { font: inherit; font-size: 15.5px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; cursor: pointer; min-height: 44px; transition: border-color .12s, background .12s, color .12s; }
.sm-pill:hover, .sm-nps__b:hover { border-color: var(--navy); }
.sm-pill.is-on, .sm-nps__b.is-on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.sm-pill:focus-visible, .sm-nps__b:focus-visible, .sm-btn:focus-visible, .sm-input:focus { outline: 3px solid rgba(246,184,49,.6); outline-offset: 2px; }
.sm-nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; }
.sm-nps__b { padding: 10px 0; border-radius: 10px; font-weight: 600; }
.sm-nps__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }
.sm-row { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.sm-row:last-child { border-bottom: 0; }
.sm-row__label { font-weight: 600; margin-bottom: 8px; }
.sm-checks { display: flex; flex-direction: column; gap: 8px; }
.sm-check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.sm-check input { width: 20px; height: 20px; accent-color: var(--navy); }
.sm-check:has(input:checked) { border-color: var(--navy); background: #F2F6F8; }
.sm-input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
textarea.sm-input { resize: vertical; min-height: 110px; }
.sm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sm-two label { font-size: 14px; font-weight: 600; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.sm-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.sm-btn { font: inherit; font-weight: 700; font-size: 16px; border: 0; border-radius: 999px; padding: 13px 26px; background: var(--gold); color: var(--navy); cursor: pointer; min-height: 48px; text-decoration: none; display: inline-flex; align-items: center; }
.sm-btn:hover { background: #F9C553; }
.sm-btn:disabled { opacity: .6; cursor: default; }
.sm-btn--ghost { background: transparent; border: 1.5px solid var(--line); color: var(--navy); }
.sm-err { color: var(--bad); font-weight: 600; margin: 10px 0 0; }
.sm-ok { color: var(--ok); font-weight: 600; margin: 10px 0 0; }
.sm-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.sm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sm-msg { text-align: center; padding: 40px 28px; }
.sm-msg p { color: var(--ink-2); max-width: 520px; margin: 0 auto 12px; }
.sm-thanks h1 { margin-top: 4px; }
.sm-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 32px; font-weight: 800; margin: 0 auto 10px; }
.sm-preview { background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; padding: 10px 16px; border-radius: 12px; margin-bottom: 12px; text-align: center; }
.sm-link { text-align: left; max-width: 520px; margin: 18px auto 0; }
.sm-link label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.sm-link__row { display: flex; gap: 8px; align-items: center; }
.sm-link__row .sm-btn { white-space: nowrap; }
.sm-help p { color: var(--ink-2); margin: 0; }
.sm-foot { text-align: center; padding: 22px 16px 32px; color: var(--muted); font-size: 14px; }
.sm-foot p { margin: 0 0 4px; }
.sm-foot__small { font-size: 12.5px; }
@media (max-width: 560px) {
	body.sm { font-size: 16px; }
	h1 { font-size: 25px; }
	.sm-hero h1 { font-size: 27px; }
	.sm-card { padding: 22px 18px; }
	.sm-nps { grid-template-columns: repeat(6, 1fr); }
	.sm-two { grid-template-columns: 1fr; }
	.sm-link__row { flex-direction: column; }
	.sm-pill { flex: 1 1 auto; text-align: center; }
}
.sm-q > legend + * { clear: both; }
