/* CAIKE Kickoff Brief — Route B front end. Scoped to .ckb so themes are not affected. */
body.caike-kb-fullscreen { margin: 0; padding: 0; background: #fff; }
body.admin-bar .ckb { --ckb-bar: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .ckb { --ckb-bar: 46px; } }
body.caike-kb-fullscreen #main { margin: 0; padding: 0; max-width: none; }
.ckb {
	--ink: #121212; --bg: #fff; --card: #f3f3ef; --line: #dcdcd6; --border: #8a8a93;
	--muted: #52525b; --body: #3f3f46; --lime: #c6ec4a; --violet: #5027f1; --violet-t: #efebff;
	--wide: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;
	font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg);
	-webkit-font-smoothing: antialiased;
	--ckb-bar: 0px;
	--vh: calc(100vh - var(--ckb-bar));
	--vh: calc(100dvh - var(--ckb-bar));
	min-height: var(--vh); position: relative; overflow-x: hidden;
}
.ckb *, .ckb *::before, .ckb *::after { box-sizing: border-box; }
.ckb :where(button, input, textarea, select) { font: inherit; color: inherit; }
.ckb a { color: var(--ink); }
/* Themes often colour headings globally; keep ours inheriting from their container (white on the violet panel). */
.ckb h1, .ckb h2, .ckb h3 { color: inherit; text-transform: none; font-style: normal; }
.ckb .ckb-panel, .ckb .ckb-ai { color: #fff; }
.ckb :focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.ckb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ckb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ckb-logo { height: 26px; width: auto; display: block; }
.ckb-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ckb-hint { font-size: 14px; color: var(--muted); }
.ckb-eyebrow { margin: 0; font-family: 'Archivo SemiExpanded', 'Archivo', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.ckb-lede { margin: 0; font-size: 19px; color: var(--body); max-width: 620px; }
.ckb-violet { color: var(--violet); }
.ckb-hl { background: var(--lime); padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ckb-hero { margin: 0; font-family: var(--wide); font-weight: 700; font-size: clamp(42px, 7vw, 92px); line-height: 1.08; letter-spacing: -0.055em; }
.ckb-hero-sm { font-size: clamp(36px, 5vw, 68px); }
.ckb-h2 { margin: 0; font-family: var(--wide); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.05em; }
.ckb-error { margin: 0; padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-weight: 500; }
.ckb-error[hidden] { display: none; }

/* Buttons */
.ckb .ckb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 8px; background: var(--lime); color: var(--ink); font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; }
.ckb .ckb-btn:disabled { opacity: .6; cursor: progress; }
.ckb .ckb-btn-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 8px; background: transparent; font-weight: 600; cursor: pointer; text-decoration: none; }
.ckb .ckb-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.ckb .ckb-link { border: 0; background: none; padding: 0; min-height: 44px; font-weight: 600; color: var(--body); cursor: pointer; }
.ckb .ckb-skip { font-weight: 400; color: var(--muted); text-decoration: underline; }

/* Welcome */
.ckb-welcome { position: relative; min-height: var(--vh); }
.ckb-deco { position: absolute; pointer-events: none; height: auto; }
.ckb-deco-bolt { width: 240px; left: -110px; top: 380px; }
.ckb-deco-tri { width: 320px; right: -110px; top: 130px; transform: rotate(-8deg); }
.ckb-deco-stars { width: 60px; left: 5%; top: 150px; }
.ckb-deco-gears { width: 180px; right: -40px; bottom: 24px; }
.ckb-top { position: relative; max-width: 1240px; margin: 0 auto; padding: 26px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ckb-welcome-main { position: relative; max-width: 1040px; margin: 0 auto; padding: 64px 24px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.ckb-welcome-main .ckb-lede { max-width: 640px; }
.ckb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ckb-welcome-topics { position: relative; max-width: 1040px; margin: 0 auto; padding: 16px 24px 80px; }
.ckb-topics { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; }
.ckb-topics li { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 2px solid var(--border); }
.ckb-topics li.is-first { border-top-color: var(--lime); }
.ckb-topic { font-family: var(--wide); font-weight: 600; font-size: 19px; letter-spacing: -0.035em; }

/* Step: violet question panel + answers */
.ckb-step { display: flex; flex-wrap: wrap; min-height: var(--vh); }
.ckb-panel { flex: 1 1 420px; max-width: 560px; background: var(--violet); color: #fff; padding: 32px 40px; display: flex; flex-direction: column; gap: 28px; position: relative; overflow: hidden; }
.ckb-panel::after { content: ''; position: absolute; right: -170px; bottom: -120px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.3); clip-path: polygon(50% 0, 100% 96%, 0 86%); pointer-events: none; }
.ckb-panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: #e6e1ff; }
.ckb-panel-q { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; z-index: 1; }
.ckb-panel-el { width: 130px; height: auto; align-self: flex-end; }
.ckb-am { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #e6e1ff; }
.ckb-avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ckb-section { font-family: 'Archivo SemiExpanded', 'Archivo', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.ckb-q { margin: 0; font-family: var(--wide); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.05em; max-width: 460px; outline: none; }
.ckb-helper { margin: 0; font-size: 17px; color: #e6e1ff; max-width: 440px; }
.ckb-told { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.ckb-told-h { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #dcd5ff; }
.ckb-told-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.12); }
.ckb-told-item span:first-child { font-size: 12px; color: #dcd5ff; }
.ckb-told-item span:last-child { font-size: 14px; overflow-wrap: anywhere; }

.ckb-main { flex: 999 1 560px; min-width: 0; padding: 32px 56px; display: flex; flex-direction: column; gap: 28px; }
.ckb-main-top { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; }
.ckb-status { font-size: 13px; color: var(--muted); }
.ckb-status.is-error { color: #8a1c1c; }
.ckb-main-body, .ckb-main-foot { max-width: 720px; width: 100%; margin: 0 auto; }
.ckb-main-body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.ckb-main-foot { display: flex; flex-direction: column; gap: 22px; }
.ckb-answers { display: flex; flex-direction: column; gap: 26px; }
.ckb-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ckb-nav-right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ckb-enter { font-size: 13px; }

/* Fields */
.ckb-field { display: flex; flex-direction: column; gap: 10px; }
.ckb-field[hidden] { display: none; }
.ckb-label { font-weight: 600; font-size: 17px; }
.ckb-req { color: var(--violet); }
.ckb-input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 16px; }
textarea.ckb-input { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.5; }
.ckb-big { width: 100%; border: 0; border-bottom: 2px solid var(--violet); padding: 0 0 12px; background: transparent; resize: vertical; font-family: var(--wide); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; letter-spacing: -0.03em; }
.ckb-big::placeholder, .ckb-input::placeholder { color: #8a8a93; }
.ckb-starters { display: flex; flex-direction: column; gap: 8px; }
.ckb-chips, .ckb-tiles, .ckb-styles { display: flex; flex-wrap: wrap; gap: 8px; }
.ckb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ckb-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ckb .ckb-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 15px; cursor: pointer; text-align: left; }
.ckb .ckb-opt .ckb-mark { display: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--ink); align-items: center; justify-content: center; }
.ckb .ckb-opt .ckb-mark .ckb-ico { width: 12px; height: 12px; stroke-width: 3; }
.ckb .ckb-opt.is-on { background: var(--violet); border-color: var(--violet); color: #fff; font-weight: 600; }
.ckb .ckb-opt.is-on .ckb-mark { display: inline-flex; order: -1; }
.ckb .ckb-opt-text { display: flex; flex-direction: column; }
.ckb .ckb-opt-desc { font-size: 13px; font-weight: 400; color: var(--muted); }
.ckb .ckb-tiles .ckb-opt { border-radius: 12px; min-height: 68px; padding: 12px 16px; justify-content: space-between; }
.ckb .ckb-tiles .ckb-opt.is-on .ckb-mark { order: 1; }
.ckb .ckb-tiles .ckb-opt.is-on .ckb-opt-desc { color: #e6e1ff; }
.ckb .ckb-styles .ckb-opt { flex-direction: column; align-items: stretch; border-radius: 16px; padding: 8px 8px 12px; gap: 10px; position: relative; }
.ckb .ckb-styles .ckb-opt .ckb-opt-text { padding: 0 6px; }
.ckb .ckb-styles .ckb-opt.is-on { background: var(--violet-t); color: var(--ink); border: 2px solid var(--violet); }
.ckb .ckb-styles .ckb-opt.is-on .ckb-mark { position: absolute; right: 14px; bottom: 12px; background: var(--violet); color: #fff; }
.ckb-swatch { display: block; height: 84px; border-radius: 10px; position: relative; overflow: hidden; }
.ckb-swatch::before, .ckb-swatch::after { content: ''; position: absolute; }
.ckb-swatch.is-minimal { background: #f4f4f1; } .ckb-swatch.is-minimal::before { left: 38%; top: 20%; width: 24%; height: 58%; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.ckb-swatch.is-bold { background: #111; } .ckb-swatch.is-bold::before { left: 8%; top: 14%; width: 54%; height: 30%; background: #ff5a1f; } .ckb-swatch.is-bold::after { left: 8%; top: 56%; width: 84%; height: 12%; background: #fff; }
.ckb-swatch.is-premium { background: #1e1b18; } .ckb-swatch.is-premium::before { left: 42%; top: 20%; width: 16%; height: 22%; border-radius: 50%; background: #c8a96a; } .ckb-swatch.is-premium::after { left: 30%; top: 54%; width: 40%; height: 2px; background: #c8a96a; }
.ckb-swatch.is-playful { background: #ffe45c; } .ckb-swatch.is-playful::before { left: 10%; top: 16%; width: 30%; height: 52%; border-radius: 50%; background: #ff6fb5; } .ckb-swatch.is-playful::after { left: 48%; top: 38%; width: 38%; height: 46%; border-radius: 12px; background: #3bc8f5; }
.ckb-swatch.is-natural { background: #e9e2d2; } .ckb-swatch.is-natural::before { left: 14%; top: 28%; width: 40%; height: 58%; border-radius: 50%; background: #9baf88; } .ckb-swatch.is-natural::after { left: 52%; top: 16%; width: 34%; height: 36%; border-radius: 50%; background: #c9a27e; }
.ckb-swatch.is-technical { background: #eef1f5; } .ckb-swatch.is-technical::before { left: 10%; top: 20%; width: 80%; height: 30%; background: repeating-linear-gradient(#9aa6b8 0 6px, transparent 6px 14px); } .ckb-swatch.is-technical::after { left: 10%; top: 64%; width: 30%; height: 18%; background: #2d6cdf; border-radius: 3px; }
.ckb-swatch.is-warm { background: #fbe3d3; } .ckb-swatch.is-warm::before { left: 18%; top: 22%; width: 64%; height: 56%; border-radius: 50%; background: #f2a06b; }
.ckb-swatch.is-other { background: #fff; border: 1.5px dashed var(--border); }
.ckb-other-row { display: flex; gap: 8px; margin-top: 10px; max-width: 480px; }
.ckb-other-row .ckb-input { min-height: 40px; }
.ckb-yesno-row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.ckb-yesno-row > div:first-child { display: flex; flex-direction: column; flex: 1 1 260px; }
.ckb .ckb-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; border: 1px solid var(--border); }
.ckb .ckb-seg button { min-width: 72px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--body); cursor: pointer; }
.ckb .ckb-seg button.is-on { background: var(--lime); color: var(--ink); font-weight: 600; }
.ckb-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ckb-list li { display: flex; align-items: center; gap: 12px; }
.ckb-num { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--lime); color: var(--ink); font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ckb-card { padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ckb-person-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: baseline; }
.ckb-person { display: flex; flex-wrap: wrap; gap: 10px; }
.ckb-person .ckb-input { flex: 1 1 200px; width: auto; }
.ckb-confirm { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); cursor: pointer; font-size: 16px; }
.ckb .ckb-confirm input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 0; flex: none; border: 1.5px solid var(--border); border-radius: 7px; background: #fff; cursor: pointer; display: inline-grid; place-content: center; box-shadow: none; }
.ckb .ckb-confirm input[type="checkbox"]::after { content: ''; width: 14px; height: 14px; transform: scale(0); background: #fff; clip-path: polygon(14% 50%, 0 64%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.ckb .ckb-confirm input[type="checkbox"]:checked { background: var(--violet); border-color: var(--violet); }
.ckb .ckb-confirm input[type="checkbox"]:checked::after { transform: scale(1); }
.ckb .ckb-confirm:hover input[type="checkbox"]:not(:checked) { border-color: var(--violet); }
.ckb .ckb-confirm:has(input:checked) { border-color: var(--violet); background: var(--violet-t); }
.ckb-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px; border: 1.5px dashed var(--border); border-radius: 16px; background: var(--card); text-align: center; cursor: pointer; }
.ckb-drop.is-over { border-color: var(--violet); background: var(--violet-t); }
.ckb-drop span { font-size: 14px; color: var(--muted); }
.ckb-files { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ckb-files li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 12px; }
.ckb-files li.is-uploading { opacity: .6; }
.ckb-file-name { flex: 1 1 auto; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.ckb .ckb-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; color: var(--muted); cursor: pointer; }

/* Interaction states (written with .ckb so theme button styles don't replace them) */
.ckb button { text-transform: none; letter-spacing: normal; box-shadow: none; text-shadow: none; line-height: 1.3; }
.ckb .ckb-opt { transition: background-color .15s, border-color .15s, color .15s; }
.ckb .ckb-opt:hover { border-color: var(--violet); background: var(--violet-t); color: var(--ink); }
.ckb .ckb-opt.is-on:hover { background: #3f1ed0; border-color: #3f1ed0; color: #fff; }
.ckb .ckb-styles .ckb-opt.is-on:hover { background: var(--violet-t); border-color: var(--violet); color: var(--ink); }
.ckb .ckb-tiles .ckb-opt:hover .ckb-opt-desc { color: var(--muted); }
.ckb .ckb-tiles .ckb-opt.is-on:hover .ckb-opt-desc { color: #e6e1ff; }
.ckb .ckb-opt:active { transform: translateY(1px); }
.ckb .ckb-btn:hover { background: #b5dc34; color: var(--ink); }
.ckb .ckb-btn:active { background: #a6cc28; }
.ckb .ckb-btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ckb .ckb-link:hover { color: var(--ink); background: transparent; text-decoration: underline; }
.ckb .ckb-seg button:not(.is-on):hover { background: var(--card); color: var(--ink); }
.ckb .ckb-seg button.is-on:hover { background: #b5dc34; color: var(--ink); }
.ckb .ckb-x:hover { background: var(--card); color: var(--ink); }
.ckb .ckb-drop:hover { border-color: var(--violet); }

/* Progress */
.ckb-progress { display: flex; gap: 10px; }
.ckb .ckb-seg-group { flex-basis: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ckb-bars { display: flex; gap: 3px; }
.ckb-bars span { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--line); }
.ckb-bars span.is-done { background: var(--lime); }
.ckb-bars span.is-now { background: var(--violet); }
.ckb .ckb-seg-label { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ckb .ckb-seg-group.is-current .ckb-seg-label { color: var(--ink); font-weight: 600; }

/* Save for later */
.ckb-later-box { max-width: 720px; margin: 0 auto; padding: 64px 24px; display: flex; flex-direction: column; gap: 20px; }
.ckb-later-box h1 { outline: none; }
.ckb-copy { display: flex; gap: 10px; flex-wrap: wrap; }
.ckb-copy .ckb-input { flex: 1 1 320px; font-size: 14px; }

/* Done */
.ckb-done-head { max-width: 1240px; margin: 0 auto; padding: 40px 24px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ckb-done-head > div { flex: 1 1 560px; display: flex; flex-direction: column; gap: 18px; }
.ckb-done-head h1 { outline: none; }
.ckb-done-el { width: 220px; height: auto; }
.ckb-views { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; }
.ckb-views > div { flex: 1 1 480px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.ckb-views h2 { margin: 0 0 6px; font-family: var(--wide); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; }
.ckb-human { background: var(--card); border: 1px solid var(--line); border-radius: 20px 0 0 20px; }
.ckb-ai { background: var(--violet); color: #fff; border-radius: 0 20px 20px 0; }
.ckb-ai pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; line-height: 1.7; }
.ckb-row { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ckb-row span:first-child { color: var(--muted); font-size: 13px; }
.ckb-row span:last-child { overflow-wrap: anywhere; }
.ckb-next { max-width: 1240px; margin: 24px auto 0; padding: 0 24px; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ckb-next li { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 2px solid var(--border); }
.ckb-next li.is-first { border-top-color: var(--lime); }
.ckb-contact { max-width: 1240px; margin: 24px auto 0; padding: 0 24px 24px; }


/* Password page */
.ckb.ckb-gate { display: flex; flex-wrap: wrap; min-height: var(--vh); }
.ckb-gate .ckb-panel { min-height: var(--vh); }
.ckb-gate .ckb-gate-title { margin: 0; }
.ckb-gate-main { flex: 999 1 560px; min-width: 0; padding: 36px 56px; display: flex; align-items: center; justify-content: center; }
.ckb-gate-box { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 22px; }
.ckb-gate-lock { width: 56px; height: 56px; border-radius: 14px; background: var(--lime); display: inline-flex; align-items: center; justify-content: center; }
.ckb-gate-head { display: flex; flex-direction: column; gap: 8px; }
.ckb .ckb-gate-head .ckb-h2 { font-size: clamp(28px, 2.6vw, 36px); }
.ckb-gate-head p { margin: 0; color: var(--body); }
.ckb-gate-head strong { color: var(--ink); }
.ckb-gate-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-size: 15px; line-height: 1.45; }
.ckb-gate-error svg { flex: none; margin-top: 2px; }
.ckb-gate-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.ckb-pw { position: relative; }
.ckb .ckb-pw .ckb-input { padding-right: 56px; }
.ckb .ckb-pw .ckb-input[aria-invalid="true"] { border: 2px solid #b42318; }
.ckb .ckb-pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ckb .ckb-pw-toggle[hidden] { display: none; }
.ckb .ckb-pw-toggle:hover, .ckb .ckb-pw-toggle[aria-pressed="true"] { background: var(--card); color: var(--ink); }
/* Fields added by other plugins (e.g. a maths captcha), styled without changing their markup */
.ckb-gate-extra { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 15px; color: var(--body); }
.ckb-gate-extra-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ckb-gate-extra p, .ckb-gate-extra div:not(.ckb-gate-extra-head) { margin: 0 0 6px; }
.ckb-gate-extra strong, .ckb-gate-extra b, .ckb-gate-extra label { font-weight: 600; color: var(--ink); }
.ckb .ckb-gate-extra input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) { display: block; width: 160px; max-width: 100%; min-height: 48px; margin-top: 8px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); box-shadow: none; }
.ckb .ckb-gate-extra input:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.ckb .ckb-gate-extra img, .ckb .ckb-gate-extra iframe { max-width: 100%; }
.ckb .ckb-gate-submit { width: 100%; min-height: 54px; }
.ckb-gate-help { margin: 0; font-size: 15px; color: var(--body); }
.ckb-gate-help a { font-weight: 600; }

/* Small screens */
/* Shorter desktop screens: tighten so a step fits without scrolling */
@media (min-width: 901px) and (max-height: 860px) {
	.ckb-panel { padding: 24px 36px; gap: 18px; }
	.ckb-panel-q { gap: 12px; }
	.ckb-panel-el { width: 96px; }
	.ckb-q { font-size: clamp(28px, 3vw, 38px); }
	.ckb-helper { font-size: 16px; }
	.ckb-told-item { padding: 8px 12px; }
	.ckb-main { padding: 24px 48px; gap: 18px; }
	.ckb-main-foot { gap: 16px; }
}
@media (min-width: 901px) and (max-height: 700px) {
	.ckb-panel-el, .ckb-told { display: none; }
}
@media (max-width: 900px) {
	.ckb-panel { max-width: none; flex-basis: 100%; padding: 20px 20px 26px; gap: 16px; }
	.ckb-panel-el { display: none; }
	.ckb-panel-q { gap: 10px; }
	.ckb-told { display: none; }
	.ckb-main { padding: 20px 20px 0; gap: 18px; }
	.ckb-main-foot { position: sticky; bottom: 0; background: #fff; padding: 12px 0 16px; border-top: 1px solid var(--line); }
	.ckb-enter, .ckb-seg-label { display: none; }
	.ckb-nav-right { flex: 1 1 auto; justify-content: flex-end; }
	.ckb-continue { flex: 1 1 auto; }
	.ckb-human, .ckb-ai { border-radius: 20px; }
	.ckb-views { gap: 12px; }
	.ckb-deco-tri { width: 130px; top: 70px; right: -70px; } .ckb-deco-bolt, .ckb-deco-gears, .ckb-deco-stars { display: none; }
	.ckb-welcome-main { padding-top: 32px; }
	.ckb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ckb-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ckb-gate .ckb-panel { min-height: 0; padding-bottom: 28px; }
	.ckb-gate .ckb-panel-el { display: block; position: absolute; width: 92px; right: -14px; top: 52px; }
	.ckb-gate .ckb-gate-title { max-width: 72%; font-size: 32px; }
	.ckb-gate .ckb-gate-wide { display: none; }
	.ckb-gate-main { padding: 28px 20px 32px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ckb * { transition: none !important; scroll-behavior: auto !important; } }
