/* Snap Demos — v1.7.0 — 2026-11-30 08:00 — demo page, walkthrough, sample, manager. Mobile first. */
.snap-demos {
	--sd-accent: #0b3d75;
	--sd-ink: #0f172a;
	--sd-muted: #475569;
	--sd-line: #cbd5e1;
	--sd-tint: #eef3f9;
	--sd-ok-bg: #dcfce7; --sd-ok: #14532d;
	--sd-warn-bg: #fef3c7; --sd-warn: #4a2c05;
	color: var(--sd-ink);
	font-size: 17px;
	line-height: 1.6;
	text-align: left;
	container-type: inline-size; /* layouts follow the room the page gives, not the screen */
}
.snap-demos *, .snap-demos *::before, .snap-demos *::after { box-sizing: border-box; }
.snap-demos [hidden] { display: none !important; }
.snap-demos .sd-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.snap-demos :focus-visible { outline: 3px solid var(--sd-ink); outline-offset: 2px; box-shadow: 0 0 0 6px #ffffff; }
.snap-demos h2, .snap-demos h3, .snap-demos h4 { color: var(--sd-ink); line-height: 1.25; }
.snap-demos p { margin: 0 0 14px; }

/* buttons and links */
.snap-demos .sd-btn, .snap-demos a.sd-btn:link, .snap-demos a.sd-btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; border-radius: 10px; border: 2px solid var(--sd-accent); }
.snap-demos .sd-btn--primary, .snap-demos a.sd-btn--primary:link, .snap-demos a.sd-btn--primary:visited { background: var(--sd-accent); color: #ffffff; }
.snap-demos .sd-btn--primary:hover { filter: brightness(0.85); color: #ffffff; }
.snap-demos .sd-btn--ghost { background: #ffffff; color: var(--sd-accent); }
.snap-demos .sd-btn--ghost:hover { background: var(--sd-accent); color: #ffffff; }
.snap-demos .sd-btn--danger { background: #ffffff; color: #991b1b; border-color: #991b1b; }
.snap-demos .sd-btn--danger:hover, .snap-demos .sd-btn--danger[data-armed="1"] { background: #991b1b; color: #ffffff; }
.snap-demos .sd-btn--sm { min-height: 44px; padding: 6px 12px; font-size: 14px; }
.snap-demos .sd-btn--wide { width: 100%; min-height: 54px; font-size: 18px; }
.snap-demos .sd-btn[disabled], .snap-demos .sd-btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.snap-demos .sd-link, .snap-demos a.sd-link:link, .snap-demos a.sd-link:visited { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 2px; font: inherit; font-weight: 700; color: var(--sd-accent); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.snap-demos .sd-link:hover { text-decoration-thickness: 3px; }

/* fields */
.snap-demos .sd-field { margin: 0 0 14px; }
.snap-demos .sd-field label { display: block; margin: 0 0 5px; font-size: 15px; font-weight: 700; color: var(--sd-ink); }
.snap-demos .sd-field input, .snap-demos .sd-field textarea, .snap-demos .sd-field select, .snap-demos .sd-langwrap select { display: block; width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--sd-ink); background: #ffffff; border: 2px solid #64748b; border-radius: 8px; }
.snap-demos .sd-field textarea { min-height: 88px; }
.snap-demos .sd-field [aria-invalid="true"] { border-color: #991b1b; background: #fef2f2; }
.snap-demos .sd-hint { margin: 6px 0 0; font-size: 14px; color: var(--sd-muted); }
.snap-demos .sd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.snap-demos .sd-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; }
.snap-demos .sd-check input { width: 24px; height: 24px; flex: 0 0 auto; }
.snap-demos .sd-check label { font-weight: 700; }

/* ---------- hero ---------- */
.sd-hero { display: grid; gap: 28px; padding: 28px 20px; background: var(--sd-tint); border-radius: 16px; }
.sd-eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sd-accent); }
.snap-demos .sd-hero__title { margin: 0 0 14px; font-size: clamp(1.8rem, 5.5vw, 2.7rem); line-height: 1.12; }
.sd-hero__intro { font-size: 19px; color: var(--sd-ink); }
.sd-bullets { list-style: none; margin: 18px 0; padding: 0; }
.sd-bullets li { position: relative; margin: 0 0 12px; padding-left: 34px; }
.sd-bullets li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--sd-accent); }
.sd-bullets li::after { content: ""; position: absolute; left: 9px; top: 9px; width: 6px; height: 10px; border: solid #ffffff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.sd-form, .sd-thanks { padding: 24px 20px; background: #ffffff; border: 1px solid var(--sd-line); border-radius: 14px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12); }
.snap-demos .sd-form__title { margin: 0 0 6px; font-size: 24px; }
.sd-form__lead { color: var(--sd-ink); }
.sd-form__req, .sd-form__fine { font-size: 14px; color: var(--sd-muted); }
.sd-form__fine { margin: 12px 0 0; }
.sd-form__status { min-height: 1.5em; margin: 10px 0 0; font-weight: 700; color: #991b1b; }
.sd-thanks { border-left: 6px solid #166534; }

.snap-demos .sd-h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 4.5vw, 2rem); }
.sd-sub { color: var(--sd-muted); }
.sd-walk, .sd-sample { margin-top: 48px; }
.sd-lock { padding: 28px 20px; text-align: center; background: var(--sd-tint); border: 2px dashed #64748b; border-radius: 14px; }
.sd-lock p:last-child { margin: 0; }

/* ---------- walkthrough ---------- */
.sd-stage { position: relative; }
.sd-screen { position: relative; height: 330px; overflow: hidden; background: #ffffff; border: 2px solid #1e293b; border-radius: 14px; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.16); }
.sd-chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #1e293b; color: #e2e8f0; font-size: 13px; font-weight: 700; }
.sd-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #64748b; }
.sd-chrome span { margin-left: 8px; }
.sd-scene { position: absolute; inset: 34px 0 0 0; padding: 16px; opacity: 0; visibility: hidden; transition: opacity 0.35s; }
.sd-scene.is-active { opacity: 1; visibility: visible; }
.sd-bigplay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; font: inherit; font-size: 19px; font-weight: 800; color: #ffffff; background: rgba(15, 23, 42, 0.78); border: 0; border-radius: 14px; cursor: pointer; }
.sd-bigplay:hover { background: rgba(15, 23, 42, 0.88); }
.sd-bigplay__icon { width: 76px; height: 76px; border-radius: 50%; background: #ffffff; position: relative; }
.sd-bigplay__icon::after { content: ""; position: absolute; left: 30px; top: 22px; border-left: 24px solid var(--sd-accent); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.sd-caption { min-height: 132px; margin: 16px 0 6px; }
.sd-caption__count { margin: 0 0 2px; font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sd-accent); }
.snap-demos .sd-caption__title { margin: 0 0 6px; font-size: 22px; }
.sd-caption__text { margin: 0; }
.sd-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-controls .sd-btn { flex: 1 1 100px; }
.sd-progress { height: 6px; margin: 14px 0 0; background: var(--sd-line); border-radius: 3px; overflow: hidden; }
.sd-progress i { display: block; height: 100%; width: 0; background: var(--sd-accent); transition: width 0.4s; }
.sd-transcript { margin-top: 16px; padding: 4px 16px; border: 1px solid var(--sd-line); border-radius: 10px; }
.sd-transcript summary, .sd-add summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; color: var(--sd-accent); cursor: pointer; }
.sd-transcript ol { margin: 4px 0 14px; padding-left: 22px; }
.sd-transcript li { margin-bottom: 10px; }

/* mock screens: decorative pictures of the product, hidden from screen readers */
.sdm { position: relative; height: 100%; font-size: 13px; line-height: 1.35; color: #0f172a; }
.sdm-row { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px; border-bottom: 1px solid #e2e8f0; overflow: hidden; }
.sdm-row b { flex: 0 0 30px; height: 26px; display: grid; place-items: center; font-size: 9px; color: #ffffff; background: #991b1b; border-radius: 5px; }
.sdm-row span { flex: 1 1 auto; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdm-row em { flex: 0 0 auto; padding: 2px 8px; font-style: normal; font-size: 11px; font-weight: 700; color: #14532d; background: #dcfce7; border-radius: 999px; }
.sdm-row em:empty { display: none; }
.sdm-search { display: flex; align-items: center; height: 44px; margin-bottom: 10px; padding: 0 12px; font-size: 15px; border: 2px solid #334155; border-radius: 8px; }
.sdm-typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 6ch; font-family: ui-monospace, Menlo, Consolas, monospace; }
.sdm-caret { width: 2px; height: 20px; margin-left: 1px; background: #0f172a; }
.sdm-crumb { font-size: 12px; font-weight: 700; color: var(--sd-accent); text-decoration: underline; }
.sdm-h1 { margin: 6px 0 2px; font-size: 20px; font-weight: 800; line-height: 1.2; }
.sdm-h2 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.sdm-meta { font-size: 12px; color: #475569; }
.sdm-btn { display: inline-block; margin: 10px 0 12px; padding: 8px 14px; font-weight: 700; color: #ffffff; background: var(--sd-accent); border-radius: 8px; }
.sdm-bar { display: block; height: 9px; margin: 0 0 9px; background: #cbd5e1; border-radius: 5px; }
.sdm-bar.b1 { width: 92%; } .sdm-bar.b2 { width: 78%; } .sdm-bar.b3 { width: 86%; } .sdm-bar.b4 { width: 64%; } .sdm-bar.b5 { width: 72%; }
.sdm-chip { display: inline-block; padding: 5px 12px; font-size: 12px; font-weight: 700; border-radius: 999px; }
.sdm-chip.ok { color: #14532d; background: #dcfce7; } .sdm-chip.warn { color: #4a2c05; background: #fde68a; } .sdm-chip.wait { color: #1e293b; background: #e2e8f0; }
.sdm-summary { display: grid; }
.sdm-mail, .sdm-sum { grid-area: 1 / 1; align-self: start; padding: 14px; border-radius: 10px; }
.sdm-mail { border: 1px solid #94a3b8; background: #f8fafc; }
.sdm-mailhead { font-size: 12px; color: #475569; } .sdm-mailsub { margin: 2px 0 10px; font-weight: 800; }
.sdm-mailbtns { display: flex; gap: 10px; margin-top: 6px; }
.sdm-mailbtns span { padding: 8px 16px; font-weight: 700; border-radius: 8px; border: 2px solid; }
.sdm-approve { color: #ffffff; background: var(--sd-accent); border-color: var(--sd-accent) !important; } .sdm-reject { color: #991b1b; background: #ffffff; }
.sdm-sum { background: #eef3f9; border-left: 5px solid var(--sd-accent); opacity: 0; }
.sdm-label { margin: 2px 0 10px; font-size: 11.5px; font-weight: 700; }
.sdm-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.sdm-tool { padding: 7px 12px; font-weight: 700; color: var(--sd-accent); border: 1px solid #64748b; border-radius: 8px; }
.sdm-tool.on { color: #ffffff; background: var(--sd-accent); border-color: var(--sd-accent); }
.sdm-tool.lang { position: relative; min-width: 86px; }
.sdm-tool.lang .l2, .sdm-swap .l2 { position: absolute; left: 12px; top: 7px; opacity: 0; }
.sdm-swap { position: relative; margin: 6px 0 12px; } .sdm-swap .l2 { left: 0; top: 0; }
.sdm-wave { display: flex; align-items: center; gap: 5px; height: 44px; margin: 12px 0 4px; }
.sdm-wave i { width: 6px; height: 12px; background: var(--sd-accent); border-radius: 3px; }
.sdm-check { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.sdm-col { padding: 10px; border: 1px solid #94a3b8; border-radius: 10px; }
.sdm-colhead { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #475569; }
.sdm-line { margin: 0 0 6px; font-weight: 600; } .sdm-line u { text-decoration: none; padding: 0 2px; border-radius: 3px; }
.sdm-verdicts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.sdm-drop { position: relative; display: grid; place-items: center; height: 96px; border: 2px dashed #64748b; border-radius: 10px; background: #f8fafc; }
.sdm-droptext { font-weight: 700; color: #475569; }
.sdm-file { position: absolute; left: 50%; top: 14px; width: 40px; height: 50px; margin-left: -20px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #ffffff; background: #991b1b; border-radius: 6px; opacity: 0; }
.sdm-progress { height: 8px; margin: 12px 0; background: #e2e8f0; border-radius: 4px; overflow: hidden; } .sdm-progress i { display: block; width: 100%; height: 100%; background: var(--sd-accent); }
.sdm-staff .sdm-chip { position: absolute; left: 0; bottom: 4px; } .sdm-staff .s1 { opacity: 0; }
.sdm-request { display: grid; gap: 12px; align-content: start; }
.sdm-input { height: 30px; margin: 0 0 6px; padding: 6px 10px; border: 1px solid #64748b; border-radius: 6px; }
.sdm-request .sdm-btn { margin: 4px 0 0; }
.sdm-log { padding: 10px; background: #f8fafc; border: 1px solid #94a3b8; border-radius: 10px; }
.sdm-logrow { font-weight: 700; }
.sdm-plain { display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.sdm-num { width: 64px; height: 64px; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #ffffff; background: var(--sd-accent); border-radius: 50%; }

/* scene animations: each plays once when its step is shown */
@keyframes sd-type { from { width: 0; } to { width: 6ch; } }
@keyframes sd-blink { 50% { opacity: 0; } }
@keyframes sd-gone { to { height: 0; opacity: 0; border-width: 0; } }
@keyframes sd-hit { to { background: #fef9c3; box-shadow: inset 4px 0 0 var(--sd-accent); } }
@keyframes sd-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sd-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sd-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes sd-press { 30% { transform: scale(0.9); } 60% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(11, 61, 117, 0.25); } }
@keyframes sd-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes sd-wave { 50% { height: 40px; } }
@keyframes sd-flag { to { background: #fde68a; box-shadow: 0 0 0 2px #92400e; } }
@keyframes sd-drop { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
@keyframes sd-fill { from { width: 0; } to { width: 100%; } }
@keyframes sd-blip { 0%, 100% { opacity: 0; } 10%, 85% { opacity: 1; } }
.sd-scene.is-active .sdm-typed { animation: sd-type 1.2s steps(6) 0.6s both; }
.sd-scene.is-active .sdm-caret { animation: sd-blink 0.8s step-end 4; }
.sd-scene.is-active .sdm-row.go { animation: sd-gone 0.5s 2.3s both; }
.sd-scene.is-active .sdm-row.hit { animation: sd-hit 0.4s 2.6s both; }
.sd-scene.is-active .sdm-read > * { animation: sd-up 0.5s both; }
.sd-scene.is-active .sdm-read > :nth-child(2) { animation-delay: 0.3s; } .sd-scene.is-active .sdm-read > :nth-child(3) { animation-delay: 0.5s; }
.sd-scene.is-active .sdm-read > :nth-child(4) { animation-delay: 0.9s; } .sd-scene.is-active .sdm-read > :nth-child(5) { animation-delay: 1.4s; }
.sd-scene.is-active .sdm-approve { animation: sd-press 0.7s 1.5s both; }
.sd-scene.is-active .sdm-mail { animation: sd-out 0.5s 2.7s both; }
.sd-scene.is-active .sdm-sum { animation: sd-up 0.6s 3.2s both; }
.sd-scene.is-active .sdm-sum .sdm-chip { animation: sd-pop 0.4s 4.2s both; }
.sd-scene.is-active .sdm-wave i { animation: sd-wave 0.9s ease-in-out infinite; }
.sd-scene.is-active .sdm-wave i:nth-child(2n) { animation-delay: 0.2s; } .sd-scene.is-active .sdm-wave i:nth-child(3n) { animation-delay: 0.45s; }
.sd-scene.is-active .sdm-tool.big { animation: sd-press 0.7s 1.6s both; }
.sd-scene.is-active .sdm-listen .l1 { animation: sd-out 0.4s 3.4s both; }
.sd-scene.is-active .sdm-listen .l2 { animation: sd-in 0.4s 3.7s both; }
.sd-scene.is-active .sdm-tool.lang { animation: sd-press 0.7s 3s both; }
.sd-scene.is-active .sdm-col { animation: sd-up 0.5s both; } .sd-scene.is-active .sdm-col + .sdm-col { animation-delay: 0.6s; }
.sd-scene.is-active .sdm-line u { animation: sd-flag 0.4s 2.2s both; }
.sd-scene.is-active .sdm-chip.v1 { animation: sd-pop 0.4s 1.6s both; } .sd-scene.is-active .sdm-chip.v2 { animation: sd-pop 0.4s 3s both; }
.sd-scene.is-active .sdm-file { animation: sd-drop 0.6s 0.5s both; }
.sd-scene.is-active .sdm-progress i { animation: sd-fill 1.8s 1.2s both; }
.sd-scene.is-active .sdm-row.new { animation: sd-in 0.4s 3.1s both; }
.sd-scene.is-active .sdm-staff .s1 { animation: sd-blip 1.6s 3.2s both; }
.sd-scene.is-active .sdm-staff .s2 { animation: sd-pop 0.4s 4.9s both; }
.sd-scene.is-active .sdm-request .sdm-btn { animation: sd-press 0.7s 2.2s both; }
.sd-scene.is-active .sdm-logrow { animation: sd-up 0.5s 3.2s both; }
/* people who ask for less motion get each step's finished picture, with no movement */
.sd-walk.is-still .sd-scene *, .sd-walk.is-still .sd-scene { animation: none !important; transition: none !important; }
.sd-walk.is-still .sdm-row.go { display: none; } .sd-walk.is-still .sdm-row.hit { background: #fef9c3; }
.sd-walk.is-still .sdm-mail { display: none; } .sd-walk.is-still .sdm-sum, .sd-walk.is-still .sdm-file { opacity: 1; }
.sd-walk.is-still .sdm-listen .l1 { opacity: 0; } .sd-walk.is-still .sdm-listen .l2 { opacity: 1; }
.sd-walk.is-still .sdm-line u { background: #fde68a; }
@media (prefers-reduced-motion: reduce) { .sd-scene, .sd-scene *, .sd-progress i { animation: none !important; transition: none !important; } }

/* ---------- hands-on sample ---------- */
.sd-app { padding: 20px 16px; border: 2px solid #1e293b; border-radius: 14px; background: #ffffff; }
.sd-app__town { margin: 0 0 14px; font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sd-muted); }
.sd-app__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.sd-app__bar .sd-field { flex: 1 1 160px; margin: 0; } .sd-app__bar .sd-field--grow { flex: 3 1 240px; }
.sd-app__count { margin: 14px 0 6px; font-weight: 700; }
.sd-docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sd-line); }
.sd-docs li { border-bottom: 1px solid var(--sd-line); }
.sd-docrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 6px; font: inherit; text-align: left; color: var(--sd-ink); background: none; border: 0; border-radius: 6px; cursor: pointer; }
.sd-docrow:hover { background: var(--sd-tint); }
.sd-docrow__ic { flex: 0 0 38px; height: 38px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #ffffff; background: #991b1b; border-radius: 6px; }
.sd-docrow__meta { flex: 1 1 0; min-width: 0; }
.sd-docrow__title { display: block; font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; }
.sd-docrow__sub { display: block; font-size: 15px; color: var(--sd-muted); }
.sd-docrow__badge { flex: 0 0 auto; padding: 3px 10px; font-size: 13px; font-weight: 700; color: var(--sd-ok); background: var(--sd-ok-bg); border-radius: 999px; }
.snap-demos .sd-doc__title { margin: 4px 0 4px; font-size: clamp(1.4rem, 4.5vw, 1.9rem); overflow-wrap: anywhere; }
.snap-demos .sd-doc__title:focus { outline: none; }
.sd-doc__meta { font-size: 15px; color: var(--sd-muted); }
.sd-doc__bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--sd-line); }
.sd-doc__tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.sd-tool { min-width: 44px; min-height: 44px; padding: 6px 12px; font: inherit; font-size: 15px; font-weight: 700; color: var(--sd-accent); background: #ffffff; border: 1px solid #64748b; border-radius: 8px; cursor: pointer; }
.sd-tool:hover, .sd-tool[aria-pressed="true"] { color: #ffffff; background: var(--sd-accent); border-color: var(--sd-accent); }
.sd-langwrap { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.sd-langwrap label { font-size: 15px; font-weight: 700; }
.snap-demos .sd-langwrap select { width: auto; min-height: 44px; padding: 6px 10px; font-size: 15px; }
.sd-doc__status { min-height: 1.5em; margin: 8px 0; font-size: 15px; font-weight: 700; }
.sd-doc__summary { max-width: 70ch; margin: 0 0 22px; padding: 16px 18px; background: var(--sd-tint); border-left: 5px solid var(--sd-accent); border-radius: 8px; }
.snap-demos .sd-doc__summary h4 { margin: 0 0 6px; font-size: 19px; }
.sd-doc__label { margin: 0; font-size: 15px; font-weight: 700; }
.sd-doc__text { max-width: 70ch; line-height: 1.65; overflow-wrap: anywhere; }
.snap-demos .sd-doc__text h4 { margin: 1.2em 0 0.4em; font-size: 1.15em; }
.sd-doc__text ul, .sd-doc__text ol { margin: 0 0 1em; padding-left: 1.5em; } .sd-doc__text li { margin-bottom: 0.3em; }
.sd-doc__text table { width: 100%; margin: 0 0 1em; border-collapse: collapse; }
.sd-doc__text caption { padding: 0 0 6px; font-weight: 700; text-align: left; }
.sd-doc__text th, .sd-doc__text td { padding: 8px 10px; text-align: left; border: 1px solid var(--sd-line); color: var(--sd-ink); }
.sd-doc__text thead th { background: var(--sd-tint); }
.sd-doc__note { max-width: 70ch; margin: 22px 0 0; padding-top: 14px; font-size: 14px; color: var(--sd-muted); border-top: 1px solid var(--sd-line); }

/* ---------- list of demos ---------- */
.sd-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.sd-card { padding: 22px 20px; background: #ffffff; border: 1px solid var(--sd-line); border-radius: 14px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08); }
.snap-demos .sd-card__title { margin: 0 0 4px; font-size: 24px; }
.sd-card__tag { font-weight: 700; color: var(--sd-accent); }

/* ---------- manager ---------- */
.sd-mgr__status { min-height: 1.6em; padding: 0; font-weight: 700; color: var(--sd-accent); }
.sd-mgr__status:not(:empty) { padding: 10px 14px; background: var(--sd-tint); border-left: 5px solid var(--sd-accent); border-radius: 6px; position: sticky; top: 8px; z-index: 3; }
.sd-panel { margin: 0 0 40px; padding: 22px 18px; background: #ffffff; border: 1px solid var(--sd-line); border-radius: 14px; }
.sd-mgr__filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 0 0 16px; }
.sd-mgr__filter .sd-field { flex: 1 1 200px; margin: 0; }
.sd-scroll { overflow-x: auto; }
.sd-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sd-table th, .sd-table td { padding: 10px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sd-line); color: var(--sd-ink); background: #ffffff; overflow-wrap: anywhere; }
.sd-table thead th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sd-muted); background: var(--sd-tint); }
.sd-table a, .sd-table a:link, .sd-table a:visited { color: var(--sd-accent); text-decoration: underline; }
.sd-dim { font-weight: 400; color: var(--sd-muted); }
.sd-pill { display: inline-block; padding: 3px 10px; font-size: 13px; font-weight: 700; border-radius: 999px; }
.sd-pill.is-new { color: var(--sd-warn); background: var(--sd-warn-bg); } .sd-pill.is-done { color: var(--sd-ok); background: var(--sd-ok-bg); }
.sd-rowbtns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sd-demolist { list-style: none; margin: 0 0 18px; padding: 0; }
.sd-demolist > li { padding: 16px 0; border-bottom: 1px solid var(--sd-line); }
.sd-demolist__head { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; }
.snap-demos .sd-demolist__head h3 { margin: 0; font-size: 20px; }
.sd-demolist__ctl { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; }
.sd-demolist__ctl .sd-field { flex: 1 1 240px; margin: 0; }
.sd-add { padding: 4px 16px; border: 1px solid var(--sd-line); border-radius: 10px; }
.sd-add form { padding: 6px 0 16px; }
.sd-steps { margin: 16px 0 0; padding-left: 22px; }
.sd-steps li { margin-bottom: 6px; } .sd-steps .is-pass { color: var(--sd-ok); } .sd-steps .is-fail { color: #991b1b; font-weight: 700; }
.snap-demos__notice { padding: 12px 16px; background: #fef3c7; color: #4a2c05; border-left: 5px solid #92400e; border-radius: 6px; }

@media (max-width: 700px) {
	.sd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.sd-table, .sd-table tbody, .sd-table tr, .sd-table th, .sd-table td { display: block; width: 100%; }
	.sd-table tr { padding: 10px 0; border-bottom: 2px solid var(--sd-line); }
	.sd-table th, .sd-table td { padding: 4px 0; border: 0; }
	.sd-table [data-th]::before { content: attr(data-th) ": "; font-size: 13px; font-weight: 700; color: var(--sd-muted); }
	.sd-doc__bar .sd-btn { flex: 1 1 100%; }
	.sd-langwrap { flex: 1 1 100%; } .snap-demos .sd-langwrap select { flex: 1 1 0; width: 100%; }
	.sdm-check { grid-template-columns: 1fr; gap: 8px; } .sdm-col { padding: 7px 10px; } .sdm-colhead { margin-bottom: 3px; }
	.sdm-mailbtns span { padding: 6px 12px; }
}
@container (min-width: 820px) {
	.sd-hero { grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 40px; padding: 44px 40px; align-items: start; }
	.sd-form, .sd-thanks { padding: 28px 26px; }
	.sd-screen { height: 380px; }
	.sd-scene { padding: 22px 28px; }
	.sdm { font-size: 14.5px; }
	.sdm-request { grid-template-columns: 1fr 1fr; }
	.sd-controls .sd-btn { flex: 0 0 auto; min-width: 130px; }
	.sd-app { padding: 28px 28px; }
	.sd-panel { padding: 28px 28px; }
}

/* v1.1.0 — narration voice switch */
.snap-demos .sd-voice[aria-pressed="true"] { background: var(--sd-accent); color: #ffffff; }
.snap-demos .sd-voice[aria-pressed="true"]:hover { filter: brightness(0.85); }
.sd-voice__state { padding: 1px 8px; font-size: 13px; border-radius: 999px; background: #ffffff; color: var(--sd-ink); border: 1px solid currentColor; }

/* v1.2.0 — recorded voice controls on the manager page */
.sd-voicerow { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sd-line, #d5dbe3); }
.snap-demos .sd-voicerow__h { margin: 0 0 4px; font-size: 16px; }
.snap-demos .sd-voicerow__state { margin: 0 0 10px; color: var(--sd-muted); font-size: 15px; }
.snap-demos .sd-voicerow__prog { margin: 10px 0 0; min-height: 1.4em; font-weight: 600; }
.sd-conn { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sd-line, #d5dbe3); }
.snap-demos .sd-h3 { margin: 0 0 6px; font-size: 18px; }
.snap-demos .sd-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* v1.3.0 — copy a recording from another site */
.sd-voicecopy { margin-top: 12px; }
.sd-voicecopy summary { cursor: pointer; font-weight: 600; padding: 8px 0; min-height: 24px; }

/* v1.4.0 — demo chooser: list of demos beside the chosen demo (a row of links on narrow screens) */
.snap-demos-hub { container-type: inline-size; }
.sd-hubgrid { display: grid; gap: 20px; }
.sd-hubmain { min-width: 0; }
.snap-demos.sd-hubnav { container-type: normal; }
.snap-demos .sd-hubnav__h { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sd-muted); }
.sd-hubnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sd-hubnav li { margin: 0; flex: 1 1 200px; }
.snap-demos a.sd-hubnav__a, .snap-demos a.sd-hubnav__a:link, .snap-demos a.sd-hubnav__a:visited { display: block; min-height: 48px; padding: 12px 14px; color: var(--sd-ink); text-decoration: none; background: #ffffff; border: 2px solid var(--sd-line); border-left: 6px solid var(--sd-line); border-radius: 10px; }
.snap-demos a.sd-hubnav__a strong { display: block; font-size: 16px; color: var(--sd-accent); text-decoration: underline; }
.snap-demos a.sd-hubnav__a span { display: none; margin-top: 3px; font-size: 14px; line-height: 1.35; color: var(--sd-muted); }
.snap-demos a.sd-hubnav__a:hover { border-color: var(--sd-accent); }
.snap-demos a.sd-hubnav__a:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.snap-demos a.sd-hubnav__a[aria-current="page"] { background: var(--sd-tint); border-color: var(--sd-accent); }
.snap-demos a.sd-hubnav__a[aria-current="page"] strong { color: var(--sd-ink); text-decoration: none; }
.sd-hubnav__now { display: block; margin-top: 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sd-accent); }
@container (min-width: 780px) {
	.sd-hubgrid { grid-template-columns: 216px minmax(0, 1fr); gap: 24px; align-items: start; }
	.sd-hubnav ul { flex-direction: column; flex-wrap: nowrap; }
	.sd-hubnav li { flex: 0 0 auto; }
	.snap-demos a.sd-hubnav__a span { display: block; }
}

/* v1.4.0 — Records Requests (FOIA) sample */
.snap-demos .sdf-h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; }
.snap-demos .sdf-h4 { margin: 22px 0 8px; font-size: 17px; }
.sdf-dots { list-style: none; display: flex; gap: 8px; margin: 0 0 6px; padding: 0; }
.sdf-dots li { flex: 1 1 0; height: 8px; font-size: 0; background: #cbd5e1; border-radius: 4px; }
.sdf-dots li.is-on { background: var(--sd-accent); }
.snap-demos .sdf-prog { margin: 0 0 14px; font-weight: 700; color: var(--sd-muted); }
.snap-demos .sdf-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.snap-demos .sdf-step legend { margin: 0 0 12px; padding: 0; font-size: 18px; font-weight: 800; color: var(--sd-ink); }
.snap-demos .sdf-step legend:focus { outline: none; }
.snap-demos .sdf-err { margin: 6px 0 0; font-weight: 700; color: #991b1b; }
.snap-demos .sdf-err:empty { display: none; }
.snap-demos .sdf-exlead { margin: 0 0 6px; font-weight: 700; }
.sdf-examples { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.snap-demos .sdf-example { display: block; width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; text-align: left; color: var(--sd-accent); background: var(--sd-tint); border: 1px solid #64748b; border-radius: 8px; cursor: pointer; }
.snap-demos .sdf-example:hover { border-color: var(--sd-accent); text-decoration: underline; }
.snap-demos .sdf-example:focus-visible, .snap-demos .sdf-table a:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.snap-demos .sdf-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.sdf-review { margin: 0 0 16px; }
.sdf-review dt { margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--sd-muted); }
.sdf-review dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.sdf-confirm { margin: 0 0 18px; padding: 14px 16px; color: var(--sd-ok); background: var(--sd-ok-bg); border-left: 6px solid #166534; border-radius: 8px; }
.snap-demos .sdf-confirm .sdf-h3 { color: var(--sd-ok); margin-bottom: 4px; }
.sdf-confirm p { margin: 0; }
.sdf-confirm:focus { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.sdf-reqhead { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.snap-demos .sdf-reqhead .sdf-h3 { margin: 0; }
.sdf-badge { display: inline-block; padding: 4px 12px; font-size: 14px; font-weight: 800; border-radius: 999px; border: 2px solid currentColor; color: #1e293b; background: #e2e8f0; }
.sdf-badge.is-1 { color: #1e3a8a; background: #dbeafe; } .sdf-badge.is-2 { color: #4a2c05; background: #fde68a; } .sdf-badge.is-3 { color: #14532d; background: #dcfce7; }
.snap-demos .sdf-what { margin: 8px 0 0; padding: 10px 12px; background: var(--sd-tint); border-radius: 8px; overflow-wrap: anywhere; }
.sdf-timeline { list-style: none; margin: 0; padding: 0; }
.sdf-timeline li { position: relative; margin: 0; padding: 0 0 16px 34px; color: var(--sd-muted); }
.sdf-timeline li::before { content: ""; position: absolute; left: 4px; top: 3px; width: 16px; height: 16px; background: #ffffff; border: 3px solid #64748b; border-radius: 50%; }
.sdf-timeline li::after { content: ""; position: absolute; left: 13px; top: 25px; bottom: 0; width: 3px; background: #cbd5e1; }
.sdf-timeline li:last-child { padding-bottom: 0; } .sdf-timeline li:last-child::after { display: none; }
.sdf-timeline li.is-done, .sdf-timeline li.is-now { color: var(--sd-ink); font-weight: 700; }
.sdf-timeline li.is-done::before { background: #166534; border-color: #166534; }
.sdf-timeline li.is-done::after { background: #166534; }
.sdf-timeline li.is-now::before { background: var(--sd-accent); border-color: var(--sd-accent); box-shadow: 0 0 0 4px rgba(11, 61, 117, 0.2); }
.sdf-timeline small { display: block; font-size: 14px; font-weight: 400; color: var(--sd-muted); }
.sdf-day { margin: 18px 0 0; }
.snap-demos .sdf-status { margin: 12px 0 0; min-height: 1.5em; font-weight: 700; }
.sdf-staffnote { margin-top: 18px; padding: 4px 16px 14px; background: #f8fafc; border: 1px solid #94a3b8; border-radius: 10px; }
.sdf-staffnote ul, .sdf-docsbox ul { margin: 0; padding-left: 20px; }
.sdf-staffnote li, .sdf-docsbox li { margin-bottom: 8px; }
.sdf-docsbox small { color: var(--sd-muted); }
.sdf-publog { margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--sd-line); }
.sdf-tablewrap { overflow-x: auto; }
.sdf-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.sdf-table th, .sdf-table td { padding: 10px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sd-line); }
.sdf-table thead th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sd-muted); }
.sdf-table tr.is-yours { background: #fef9c3; }
.sdf-table .sdf-yours { display: block; font-size: 13px; font-weight: 800; color: #713f12; }
@container (max-width: 560px) {
	.sdf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.sdf-table, .sdf-table tbody, .sdf-table tr, .sdf-table td, .sdf-table th { display: block; }
	.sdf-table tr { padding: 10px 0; border-bottom: 1px solid var(--sd-line); }
	.sdf-table td, .sdf-table tbody th { padding: 2px 0; border: 0; }
	.sdf-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--sd-muted); }
}

/* v1.4.0 — Records Requests walkthrough pictures (decorative) */
.sdf-stepper { display: flex; gap: 6px; margin-bottom: 12px; }
.sdf-stepper span { flex: 1 1 0; padding: 5px 6px; font-size: 11.5px; font-weight: 800; text-align: center; color: #475569; background: #e2e8f0; border-radius: 6px; }
.sdf-stepper .s1 { color: #ffffff; background: var(--sd-accent); }
.sdf-tall { height: 52px; overflow: hidden; }
.sdf-submit .sdm-btn { margin: 4px 0 8px; }
.sdf-submit .sdf-num { display: block; width: max-content; max-width: 100%; }
.sdf-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sdf-tl { margin-top: 12px; }
.sdf-tl > div { position: relative; padding: 0 0 12px 26px; font-weight: 700; color: #64748b; }
.sdf-tl > div::before { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border: 3px solid #64748b; border-radius: 50%; background: #ffffff; }
.sdf-tl .done { color: #0f172a; } .sdf-tl .done::before { background: #166534; border-color: #166534; }
.sdf-tl .now { color: #0f172a; } .sdf-tl .now::before { background: var(--sd-accent); border-color: var(--sd-accent); }
.sdf-card { padding: 10px 12px; font-weight: 600; background: #f8fafc; border: 1px solid #94a3b8; border-radius: 10px; }
.sdf-card u { text-decoration: none; padding: 0 3px; border-radius: 3px; }
.sdf-depts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.sdf-depts span { padding: 6px 10px; font-size: 12px; font-weight: 700; color: #334155; border: 2px solid #94a3b8; border-radius: 8px; }
.sdf-mail { opacity: 0; }
.sdf-redact mark { padding: 0 3px; color: #0f172a; background: #fde68a; border-radius: 2px; }
.sdf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sdf-lh { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 3px solid var(--sd-accent); }
.sdf-lh i { width: 34px; height: 34px; background: var(--sd-accent); border-radius: 50%; }
.sdf-lh b { display: block; font-size: 15px; } .sdf-lh small { color: #475569; }
.sdf-lock { margin: 2px 0 0; padding: 7px 10px; font-size: 12px; font-weight: 700; color: #1e293b; background: #e2e8f0; border-left: 4px solid #475569; border-radius: 4px; }
.sdf-row { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 6px; border-bottom: 1px solid #e2e8f0; overflow: hidden; }
.sdf-row b { flex: 0 0 auto; color: var(--sd-accent); } .sdf-row span { flex: 1 1 auto; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdf-row em { flex: 0 0 auto; padding: 2px 8px; font-style: normal; font-size: 11px; font-weight: 700; color: #1e293b; background: #e2e8f0; border-radius: 999px; }
.sdf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.sdf-stats > div { padding: 8px 6px; text-align: center; background: #f8fafc; border: 1px solid #94a3b8; border-radius: 10px; }
.sdf-stats b { display: block; font-size: 22px; color: var(--sd-accent); } .sdf-stats small { font-size: 11px; font-weight: 700; color: #475569; }
.sdf-bars span { display: block; margin-bottom: 6px; padding: 4px 8px; font-size: 11.5px; font-weight: 700; color: #ffffff; background: var(--sd-accent); border-radius: 4px; white-space: nowrap; overflow: hidden; }
.sdf-bars .w1 { width: 92%; } .sdf-bars .w2 { width: 70%; } .sdf-bars .w3 { width: 58%; } .sdf-bars .w4 { width: 44%; }
@keyframes sdf-on { to { color: #ffffff; background: var(--sd-accent); } }
@keyframes sdf-cover { to { color: #0f172a; background: #0f172a; } }
@keyframes sdf-pick { to { color: #ffffff; background: var(--sd-accent); border-color: var(--sd-accent); } }
@keyframes sdf-grow { from { max-width: 0; } to { max-width: 100%; } }
.sd-scene.is-active .sdf-typed { animation: sd-in 0.6s 0.4s both; }
.sd-scene.is-active .sdf-stepper .s2 { animation: sdf-on 0.3s 1.6s both; } .sd-scene.is-active .sdf-stepper .s3 { animation: sdf-on 0.3s 2.5s both; }
.sd-scene.is-active .sdf-submit .sdm-btn { animation: sd-press 0.7s 3.1s both; }
.sd-scene.is-active .sdf-num { animation: sd-pop 0.4s 4s both; }
.sd-scene.is-active .sdf-tl > div { animation: sd-up 0.45s both; }
.sd-scene.is-active .sdf-tl .t1 { animation-delay: 0.6s; } .sd-scene.is-active .sdf-tl .t2 { animation-delay: 1.5s; } .sd-scene.is-active .sdf-tl .t3 { animation-delay: 2.4s; } .sd-scene.is-active .sdf-tl .t4 { animation-delay: 3.3s; }
.sd-scene.is-active .sdf-card u { animation: sd-flag 0.4s 1s both; }
.sd-scene.is-active .sdf-depts .hit { animation: sdf-pick 0.4s 2s both; }
.sd-scene.is-active .sdf-mail { animation: sd-up 0.5s 3s both; }
.sd-scene.is-active .sdf-redact mark { animation: sdf-cover 0.5s 2s both; }
.sd-scene.is-active .sdf-redact .r1 { animation: sd-pop 0.4s 3s both; } .sd-scene.is-active .sdf-redact .r2 { animation: sd-pop 0.4s 4s both; }
.sd-scene.is-active .sdf-letter > * { animation: sd-up 0.5s both; }
.sd-scene.is-active .sdf-letter > :nth-child(n+2) { animation-delay: 0.5s; } .sd-scene.is-active .sdf-letter .sdf-lock { animation-delay: 1.6s; }
.sd-scene.is-active .sdf-letter .f1 { animation: sd-pop 0.4s 2.6s both; } .sd-scene.is-active .sdf-letter .f2 { animation: sd-pop 0.4s 3.4s both; }
.sd-scene.is-active .sdf-q { animation: sd-in 0.5s 0.6s both; }
.sd-scene.is-active .sdf-row.go { animation: sd-gone 0.5s 2.1s both; } .sd-scene.is-active .sdf-row.hit { animation: sd-hit 0.4s 2.4s both; }
.sd-scene.is-active .sdf-stats > div { animation: sd-pop 0.4s both; } .sd-scene.is-active .sdf-stats > div:nth-child(2) { animation-delay: 0.5s; } .sd-scene.is-active .sdf-stats > div:nth-child(3) { animation-delay: 1s; }
.sd-scene.is-active .sdf-bars span { animation: sdf-grow 0.9s 1.8s both; }
.sd-walk.is-still .sdf-mail { opacity: 1; } .sd-walk.is-still .sdf-redact mark { color: #0f172a; background: #0f172a; }
.sd-walk.is-still .sdf-row.go { display: none; } .sd-walk.is-still .sdf-depts .hit, .sd-walk.is-still .sdf-stepper span { color: #ffffff; background: var(--sd-accent); border-color: var(--sd-accent); }

/* v1.5.0 — closing box after a sample, and the "edit the words" form on the manager page */
.sd-cta { margin-top: 28px; padding: 26px 20px; text-align: center; background: var(--sd-tint); border-radius: 14px; }
.sd-cta p:last-child { margin-bottom: 0; }
.sd-edit { margin-top: 12px; }
.sd-edit summary { cursor: pointer; font-weight: 600; padding: 8px 0; min-height: 24px; }
.sd-edit form { padding: 6px 0 4px; }
.sd-edit__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* v1.5.0 — CampaignVote sample: the starting form */
.snap-demos .sdc-pick { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.snap-demos .sdc-pick legend { margin: 0 0 8px; padding: 0; font-size: 15px; font-weight: 700; color: var(--sd-ink); }
.sdc-pick__grid { display: grid; gap: 10px; }
.sdc-pick__item { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: #ffffff; border: 2px solid #64748b; border-radius: 10px; }
.sdc-pick__item:has(input:checked) { border-color: var(--sd-accent); background: var(--sd-tint); }
.snap-demos .sdc-pick__item input { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sd-accent); }
.snap-demos .sdc-pick__item input:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.snap-demos .sdc-pick__item label { flex: 1 1 auto; margin: 0; cursor: pointer; color: var(--sd-ink); }
.sdc-pick__item strong { display: block; font-size: 16px; }
.sdc-pick__item small { display: block; font-size: 14px; line-height: 1.35; color: var(--sd-muted); }
.sdc-swatch { display: block; width: 100%; max-width: 120px; height: 16px; margin-bottom: 6px; border: 1px solid #1e293b; border-radius: 4px; }
.sdc-swatch--mainstreet { background: linear-gradient(90deg, #12305a 0 70%, #f2b632 70%); }
.sdc-swatch--sunrise { background: linear-gradient(90deg, #fff3e0 0 70%, #b4420a 70%); }
.sdc-swatch--lakeshore { background: linear-gradient(90deg, #0f5c5c 0 70%, #ffffff 70%); }
.sdc-swatch--skyline { background: linear-gradient(115deg, #c2410c 0 46%, #1f2937 46%); }
@container (min-width: 560px) { .sdc-pick__grid { grid-template-columns: 1fr 1fr; } }

/* the sample campaign home page */
.sdc-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.snap-demos .sdc-tplnow { flex: 1 1 100%; margin: 0; min-height: 1.5em; font-weight: 700; }
.sdc-site { --c-bg: #12305a; --c-ink: #ffffff; --c-accent: #f2b632; --c-accent-ink: #1a1a1a; --c-soft: #eef2f8; --c-head: #12305a; overflow: hidden; color: #1f2937; background: #ffffff; border: 2px solid #1e293b; border-radius: 12px; }
.sdc-site[data-tpl="sunrise"] { --c-bg: #fff3e0; --c-ink: #3b1d0a; --c-accent: #b4420a; --c-accent-ink: #ffffff; --c-soft: #fff7ed; --c-head: #8a3206; }
.sdc-site[data-tpl="lakeshore"] { --c-bg: #0f5c5c; --c-ink: #ffffff; --c-accent: #0f5c5c; --c-accent-ink: #ffffff; --c-soft: #e6f2f2; --c-head: #0b4747; }
.sdc-site[data-tpl="skyline"] { --c-bg: #1f2937; --c-ink: #ffffff; --c-accent: #c2410c; --c-accent-ink: #ffffff; --c-soft: #f3f4f6; --c-head: #1f2937; }
.sdc-site__chrome { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #e2e8f0; }
.sdc-site__chrome i { width: 10px; height: 10px; background: #64748b; border-radius: 50%; }
.sdc-site__chrome span { margin-left: 8px; padding: 2px 10px; font-size: 13px; color: #1e293b; background: #ffffff; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sdc-site__nav { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 10px 16px; font-size: 13.5px; font-weight: 700; color: #334155; background: #ffffff; border-bottom: 1px solid #cbd5e1; }
.sdc-site__nav .on { color: var(--c-head); box-shadow: inset 0 -3px 0 var(--c-head); }
.sdc-hero { display: grid; gap: 18px; padding: 22px 18px; color: var(--c-ink); background: var(--c-bg); }
.sdc-hero__id { min-width: 0; }
.sdc-avatar { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 12px; font-size: 28px; font-weight: 800; color: var(--c-accent-ink); background: var(--c-accent); border: 3px solid var(--c-ink); border-radius: 50%; }
.snap-demos .sdc-kicker { margin: 0 0 4px; font-size: 13.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-ink); }
.snap-demos .sdc-name { margin: 0 0 8px; font-size: 30px; line-height: 1.12; font-weight: 800; color: var(--c-ink); overflow-wrap: anywhere; }
.snap-demos .sdc-name:focus { outline: 3px solid #1d4ed8; outline-offset: 3px; }
.snap-demos .sdc-slogan { margin: 0; font-size: 18px; line-height: 1.4; color: var(--c-ink); }
.sdc-join { padding: 16px; color: #1f2937; background: #ffffff; border-radius: 10px; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.25); }
.snap-demos .sdc-join h4 { margin: 0 0 10px; font-size: 19px; color: #1f2937; }
.sdc-join__f { margin-bottom: 10px; }
.snap-demos .sdc-join label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: #1f2937; }
.snap-demos .sdc-join input { display: block; width: 100%; min-height: 46px; padding: 8px 10px; font: inherit; color: #0f172a; background: #ffffff; border: 2px solid #475569; border-radius: 8px; box-sizing: border-box; }
.snap-demos .sdc-join input:focus-visible, .snap-demos .sdc-join__btn:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.snap-demos .sdc-join input[aria-invalid="true"] { border-color: #991b1b; background: #fef2f2; }
.snap-demos .sdc-join__btn { display: block; width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-weight: 800; color: var(--c-accent-ink); background: var(--c-accent); border: 2px solid #1e293b; border-radius: 8px; cursor: pointer; }
.snap-demos .sdc-join__status { margin: 10px 0 0; font-size: 14.5px; font-weight: 700; color: #1f2937; }
.snap-demos .sdc-join__status:empty { display: none; }
.sdc-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px; background: var(--c-soft); }
.sdc-strip span { padding: 10px 6px; font-size: 14.5px; font-weight: 800; text-align: center; color: var(--c-head); background: #ffffff; border: 2px solid var(--c-head); border-radius: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sdc-body { padding: 18px 18px 22px; }
.snap-demos .sdc-body h4 { margin: 0 0 8px; font-size: 20px; color: var(--c-head); }
.snap-demos .sdc-body h4 + ul, .snap-demos .sdc-body ul { margin: 0; padding-left: 22px; }
.snap-demos .sdc-body p { margin: 0 0 16px; }
.snap-demos .sdc-aitag { padding: 6px 10px; font-size: 13.5px; color: #334155; background: #f1f5f9; border-left: 4px solid #475569; border-radius: 4px; }
.sdc-body li { margin-bottom: 6px; font-weight: 600; }
/* each template has its own layout */
.sdc-site[data-tpl="sunrise"] .sdc-hero { text-align: center; }
.sdc-site[data-tpl="sunrise"] .sdc-avatar { margin-left: auto; margin-right: auto; width: 92px; height: 92px; }
.sdc-site[data-tpl="sunrise"] .sdc-join { max-width: 420px; width: 100%; margin: 0 auto; text-align: left; box-sizing: border-box; }
.sdc-site[data-tpl="lakeshore"] .sdc-hero__id { padding: 16px; color: #0b4747; background: #ffffff; border-radius: 10px; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.25); }
.sdc-site[data-tpl="lakeshore"] .sdc-kicker, .sdc-site[data-tpl="lakeshore"] .sdc-name, .sdc-site[data-tpl="lakeshore"] .sdc-slogan { color: #0b4747; }
.sdc-site[data-tpl="lakeshore"] .sdc-avatar { border-color: #0b4747; }
.sdc-site[data-tpl="skyline"] .sdc-hero { background: linear-gradient(115deg, #c2410c 0 54%, #1f2937 54% 100%); }
.sdc-site[data-tpl="skyline"] .sdc-name { text-transform: uppercase; letter-spacing: 0.02em; }
.sdc-site[data-tpl="skyline"] .sdc-avatar { color: #1f2937; background: #ffffff; border-radius: 10px; }
@container (min-width: 620px) {
	.sdc-hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding: 30px 26px; }
	.sdc-site[data-tpl="sunrise"] .sdc-hero { grid-template-columns: 1fr; }
	.snap-demos .sdc-name { font-size: 36px; }
	.sdc-body { padding: 22px 26px 26px; }
}

/* v1.5.0 — CampaignVote walkthrough pictures (decorative) */
.sdc-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; padding: 8px 10px; border: 1px solid #94a3b8; border-radius: 8px; }
.sdc-row small { font-weight: 700; color: #475569; } .sdc-row b { text-align: right; }
.sdc-qs { display: block; width: max-content; max-width: 100%; margin-top: 8px; }
.sdc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sdc-grid > div { padding: 6px; border: 2px solid #94a3b8; border-radius: 8px; }
.sdc-grid i { display: block; height: 34px; margin-bottom: 4px; border-radius: 4px; }
.sdc-grid b { font-size: 11.5px; }
.sdc-grid .c1 i { background: #12305a; } .sdc-grid .c2 i { background: #b4420a; } .sdc-grid .c3 i { background: #0f5c5c; } .sdc-grid .c4 i { background: #1f2937; } .sdc-grid .c5 i { background: #4d6b2f; } .sdc-grid .c6 i { background: #4c1d95; }
.sdc-aibtns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.sdc-ghost { padding: 6px 10px; font-size: 12px; font-weight: 700; color: #1e293b; border: 2px solid #475569; border-radius: 8px; }
.sdc-draft { margin-bottom: 12px; }
.sdc-slogans { display: flex; flex-wrap: wrap; gap: 6px; }
.sdc-slogans span, .sdc-amts span { padding: 6px 10px; font-size: 12px; font-weight: 700; color: #334155; border: 2px solid #94a3b8; border-radius: 8px; }
.sdc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.sdc-joinbox .sdm-btn { margin-top: 6px; }
.sdc-person { padding: 6px 4px; font-size: 12.5px; font-weight: 700; border-bottom: 1px solid #e2e8f0; }
.sdc-person.p1 { color: #14532d; background: #dcfce7; }
.sdc-amts { display: flex; gap: 6px; margin: 8px 0; } .sdc-amts span { flex: 1 1 0; text-align: center; font-size: 14px; }
.sdc-freq { display: inline-flex; margin-bottom: 8px; border: 2px solid #475569; border-radius: 8px; overflow: hidden; }
.sdc-freq span { padding: 5px 12px; font-size: 12px; font-weight: 700; color: #1e293b; } .sdc-freq .on { background: #e2e8f0; }
.sdc-addr { padding: 10px 12px; background: #f8fafc; border: 1px solid #94a3b8; border-radius: 10px; }
.sdc-addr span { display: block; font-size: 11.5px; font-weight: 700; color: #475569; } .sdc-addr b { font-size: 18px; color: var(--sd-accent); }
.sdc-sharerow { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.sdc-qr { flex: 0 0 auto; width: 84px; height: 84px; background-color: #ffffff; background-image: linear-gradient(45deg, #0f172a 25%, transparent 25%, transparent 75%, #0f172a 75%), linear-gradient(45deg, #0f172a 25%, transparent 25%, transparent 75%, #0f172a 75%); background-size: 14px 14px; background-position: 0 0, 7px 7px; border: 6px solid #ffffff; outline: 2px solid #0f172a; }
.sdc-tabs { display: grid; gap: 4px; }
.sdc-tabs span { padding: 6px 10px; font-size: 12.5px; font-weight: 700; color: #334155; border-radius: 6px; } .sdc-tabs .on { color: #ffffff; background: var(--sd-accent); }
.sdc-right { display: flex; gap: 12px; align-items: flex-start; }
.sdc-phone { flex: 0 0 auto; width: 92px; height: 150px; padding: 10px 8px; border: 3px solid #0f172a; border-radius: 14px; box-sizing: border-box; overflow: hidden; }
.sdc-phone > i:first-child { display: block; height: 34px; margin-bottom: 8px; background: var(--sd-accent); border-radius: 6px; }
.sdc-phone em { display: block; height: 16px; margin-top: 6px; background: #f2b632; border-radius: 4px; }
.sdc-statrow { display: grid; gap: 8px; }
.sdc-statrow > div { padding: 8px 10px; text-align: center; border: 1px solid #94a3b8; border-radius: 8px; }
.sdc-statrow b { display: block; font-size: 20px; color: var(--sd-accent); } .sdc-statrow small { font-size: 11px; font-weight: 700; color: #475569; }
@keyframes sdc-ring { to { border-color: var(--sd-accent); box-shadow: 0 0 0 3px rgba(11, 61, 117, 0.3); } }
.sd-scene.is-active .sdc-wizard .sdf-stepper .s2 { animation: sdf-on 0.3s 1.5s both; } .sd-scene.is-active .sdc-wizard .sdf-stepper .s3 { animation: sdf-on 0.3s 2.4s both; } .sd-scene.is-active .sdc-wizard .sdf-stepper .s4 { animation: sdf-on 0.3s 3.3s both; }
.sd-scene.is-active .sdc-row { animation: sd-up 0.4s both; } .sd-scene.is-active .sdc-row.r1 { animation-delay: 0.5s; } .sd-scene.is-active .sdc-row.r2 { animation-delay: 1.5s; } .sd-scene.is-active .sdc-row.r3 { animation-delay: 2.4s; }
.sd-scene.is-active .sdc-qs { animation: sd-pop 0.4s 4s both; }
.sd-scene.is-active .sdc-grid > div { animation: sd-up 0.4s both; } .sd-scene.is-active .sdc-grid > div:nth-child(n+4) { animation-delay: 0.4s; }
.sd-scene.is-active .sdc-grid .pick { animation: sd-up 0.4s both, sdc-ring 0.4s 2s both; }
.sd-scene.is-active .sdc-aibtns .sdm-btn { animation: sd-press 0.7s 0.8s both; }
.sd-scene.is-active .sdc-draft { animation: sd-in 0.6s 1.6s both; }
.sd-scene.is-active .sdc-slogans span { animation: sd-pop 0.35s both; } .sd-scene.is-active .sdc-slogans span:nth-child(1) { animation-delay: 2.6s; } .sd-scene.is-active .sdc-slogans span:nth-child(3) { animation-delay: 3.2s; }
.sd-scene.is-active .sdc-slogans .pick { animation: sd-pop 0.35s 2.9s both, sdf-pick 0.4s 4s both; }
.sd-scene.is-active .sdc-typed { animation: sd-in 0.6s 0.5s both; }
.sd-scene.is-active .sdc-joinbox .sdm-btn { animation: sd-press 0.7s 2s both; }
.sd-scene.is-active .sdc-person.p1 { animation: sd-up 0.5s 3s both; }
.sd-scene.is-active .sdc-amts .pick { animation: sdf-pick 0.4s 1.1s both; }
.sd-scene.is-active .sdc-donate .sdm-btn { animation: sd-press 0.7s 2.3s both; }
.sd-scene.is-active .sdc-donate .d1 { animation: sd-pop 0.4s 3.2s both; } .sd-scene.is-active .sdc-donate .d2 { animation: sd-pop 0.4s 4s both; }
.sd-scene.is-active .sdc-addr { animation: sd-up 0.5s 0.3s both; } .sd-scene.is-active .sdc-qr { animation: sd-pop 0.5s 1.3s both; }
.sd-scene.is-active .sdc-share .h1 { animation: sd-pop 0.4s 2.4s both; } .sd-scene.is-active .sdc-share .h2 { animation: sd-pop 0.4s 3s both; } .sd-scene.is-active .sdc-share .h3 { animation: sd-pop 0.4s 3.6s both; }
.sd-scene.is-active .sdc-phone { animation: sd-up 0.6s 0.4s both; } .sd-scene.is-active .sdc-statrow > div { animation: sd-pop 0.4s 2s both; } .sd-scene.is-active .sdc-statrow > div:nth-child(2) { animation-delay: 2.6s; }
.sd-walk.is-still .sdc-grid .pick { border-color: var(--sd-accent); box-shadow: 0 0 0 3px rgba(11, 61, 117, 0.3); }
.sd-walk.is-still .sdc-slogans .pick, .sd-walk.is-still .sdc-amts .pick { color: #ffffff; background: var(--sd-accent); border-color: var(--sd-accent); }

/* v1.6.0 — mailing list opt-in on the sign-up form, and its settings on the manager page */
.snap-demos .sd-check--soft { align-items: flex-start; margin: 4px 0 14px; }
.snap-demos .sd-check--soft input { margin-top: 2px; accent-color: var(--sd-accent); }
.snap-demos .sd-check--soft input:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.snap-demos .sd-check--soft label { font-weight: 400; font-size: 15px; line-height: 1.45; color: var(--sd-ink); cursor: pointer; }
.snap-demos .sd-listmap { margin: 6px 0 14px; padding: 10px 14px 4px; border: 1px solid var(--sd-line); border-radius: 10px; min-width: 0; }
.snap-demos .sd-listmap legend { padding: 0 6px; font-size: 15px; font-weight: 700; color: var(--sd-ink); }
