/* CloudyERP prototype — W9A conversion pages (demo.html, support.html).
 * Loaded after editorial.css on these two pages only. Reuses W8 tokens and tones;
 * adds a cinematic hero, a guided planner with a live dark preview, and a searchable library.
 */

@keyframes cvIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cvPulse { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -520; } }
@keyframes cvGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ===================== 1 · CINEMATIC HERO ===================== */
.cv-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(2.25rem, 1.5rem + 3.5vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem);
  background:
    radial-gradient(55% 75% at 12% 8%, rgb(47 123 255 / .26), transparent 70%),
    radial-gradient(45% 60% at 95% 100%, rgb(140 184 255 / .12), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-bottom: 1px solid var(--line-1);
}
.cv-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(140 170 230 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(140 170 230 / .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 80% at 30% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 30% 30%, #000, transparent 75%);
}
.cv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: center; }
/* W10: an explicit minmax(0,1fr) track. With the implicit auto track the search input's intrinsic width
   (~396px with its icon padding) set the column's minimum, so at 390/320 the whole hero copy ran off
   the screen edge and the section clipped the H1, lead and a search chip. */
.cv-hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; align-content: start; }
.cv-hero__copy .kicker { margin-top: .6rem; }
.cv-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.5rem); line-height: var(--lh-h1); letter-spacing: 0; }
.cv-hero h1 em { font-style: normal; background: linear-gradient(270deg, #8cb8ff, #2f7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cv-hero__lead { color: var(--text-2); font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: var(--measure); }

.cv-hero__pick { display: grid; gap: .6rem; margin-top: .4rem; }
.cv-hero__pick > p { color: var(--text-3); font-size: .88rem; }
.cv-hero__pick > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.cv-pick {
  min-height: 44px; padding: .45rem 1.05rem; border-radius: 999px; border: 1px solid var(--line-3);
  background: rgb(255 255 255 / .04); color: var(--text-1); font-weight: 500; font-size: .95rem;
  transition: background var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
}
.cv-pick:hover { border-color: var(--blue-300); background: rgb(47 123 255 / .12); }
.cv-pick[aria-pressed="true"] { background: var(--blue-600); border-color: transparent; color: #fff; box-shadow: 0 10px 26px -12px rgb(47 123 255 / .8); }
.cv-pick:focus-visible { border-radius: 999px; }

.cv-local { display: flex; gap: .7rem; align-items: flex-start; max-width: 60ch; padding: .85rem 1rem; border-radius: var(--r-md); border: 1px solid rgb(63 214 156 / .25); background: rgb(63 214 156 / .06); color: var(--text-2); font-size: .9rem; line-height: 1.8; }
.cv-local svg { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: .15rem; }
.cv-local b { color: var(--text-1); }

/* ---- the route scene ---- */
.cv-scene { margin: 0; display: grid; gap: .8rem; }
.cv-scene__stage {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(165deg, rgb(20 36 80 / .9), rgb(8 14 32 / .95));
  box-shadow: 0 0 0 1px rgb(140 184 255 / .16), 0 40px 90px -40px rgb(0 0 0 / .9), 0 0 120px -40px rgb(47 123 255 / .45);
}
.cv-scene__bar { display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line-1); background: rgb(255 255 255 / .03); font-size: .88rem; }
.cv-scene__bar b { color: var(--text-1); font-weight: 600; margin-inline-end: auto; }
.cv-scene__dots { display: inline-flex; gap: .35rem; }
.cv-scene__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.cv-scene__body { position: relative; padding: 1.4rem 1.3rem 1.2rem; min-height: 420px; }
.cv-thread { position: absolute; inset: 1rem 0; width: 100%; height: calc(100% - 2rem); overflow: visible; pointer-events: none; }
.cv-thread path { fill: none; stroke-linecap: round; }
.cv-thread__base { stroke: rgb(140 184 255 / .28); stroke-width: 2; stroke-dasharray: 2 7; }
.cv-thread__pulse { stroke: #5294ff; stroke-width: 3; stroke-dasharray: 60 460; animation: cvPulse 5.5s linear infinite; filter: drop-shadow(0 0 6px rgb(82 148 255 / .9)); }
.cv-stations { position: relative; display: grid; gap: 1.1rem; }
.cv-station {
  position: relative; width: min(74%, 330px); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .85rem; row-gap: .1rem;
  padding: .9rem 1rem; border-radius: var(--r-md);
  background: rgb(255 255 255 / .96); color: #36435f; box-shadow: 0 18px 40px -20px rgb(0 0 0 / .8);
}
.cv-station:nth-child(even) { margin-inline-start: auto; }
.cv-station__n { grid-row: span 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(160deg, #2f7bff, #1747b8); color: #fff; font-family: var(--font-num); font-weight: 600; font-size: .85rem; }
.cv-station b { color: #0a1430; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.cv-station span { font-size: .88rem; line-height: 1.6; }
.cv-station small { color: #1a56d1; font-size: var(--fs-tag); font-weight: 600; }
.cv-station.is-confirm { box-shadow: 0 0 0 1.5px #8cb8ff, 0 18px 40px -20px rgb(0 0 0 / .8); }
.cv-scene__lens { padding: 0 1.3rem 1.2rem; color: var(--text-2); font-size: .92rem; line-height: 1.8; position: relative; }
.cv-scene figcaption { color: var(--text-3); font-size: .8rem; }
.cv-scene__stage.is-entering .cv-station { animation: cvIn .6s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms); }

/* ===================== 2 · PLANNER ===================== */
.cv-planner__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.cv-wizard {
  display: grid; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--r-xl);
  background: #fff; box-shadow: var(--shadow-2);
}
.cv-wizard__note { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .9rem; border-radius: var(--r-md); background: var(--warn-tint); color: var(--text-1); font-size: .86rem; line-height: 1.75; }
.cv-wizard__note .proto-strip__tag { margin-top: .2rem; color: var(--warn); border-color: rgb(147 92 0 / .45); }

.cv-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; counter-reset: none; position: relative; }
.cv-steps li { position: relative; }
.cv-steps li + li::before { content: ""; position: absolute; top: 19px; inset-inline-end: calc(100% - 4px); width: calc(100% - 44px); height: 2px; background: var(--line-2); transform: translateX(50%); display: none; }
.cv-steps button {
  width: 100%; min-height: 44px; display: flex; align-items: center; gap: .55rem; padding: .35rem .55rem .35rem .35rem;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); font-size: .86rem; font-weight: 500; text-align: start;
}
.cv-steps button i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line-3); font-style: normal; font-family: var(--font-num); font-size: .8rem; color: var(--text-2); }
.cv-steps button:disabled { opacity: .55; cursor: not-allowed; }
.cv-steps .is-done button { border-color: rgb(11 132 87 / .3); background: var(--ok-tint); color: var(--text-1); }
.cv-steps .is-done button i { background: var(--ok); border-color: transparent; color: #fff; }
.cv-steps .is-now button { border-color: var(--blue-400); background: var(--blue-tint); color: var(--text-1); box-shadow: inset 0 0 0 1px var(--blue-400); }
.cv-steps .is-now button i { background: var(--blue-600); border-color: transparent; color: #fff; }
.cv-steps button:focus-visible { border-radius: 999px; }

.cv-errors { padding: .9rem 1.1rem; border-radius: var(--r-md); border: 1px solid rgb(192 54 54 / .35); background: rgb(192 54 54 / .06); color: var(--text-1); font-size: .9rem; }
.cv-errors ul { display: grid; gap: .3rem; margin-top: .4rem; padding-inline-start: 1.2rem; list-style: disc; }
.cv-errors a { color: var(--bad); text-decoration: underline; text-underline-offset: 3px; }
.cv-errors:focus-visible { border-radius: var(--r-md); }

.cv-step { display: grid; gap: .9rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.cv-step.is-entering { animation: cvIn .45s var(--ease-out) both; }
.cv-step legend { display: flex; align-items: center; gap: .75rem; padding: 0; margin-bottom: .2rem; }
.cv-step__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--blue-tint-2); color: var(--blue-200); font-family: var(--font-num); font-weight: 600; }
.cv-step__t { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); color: var(--text-1); line-height: 1.4; }
.cv-step__t:focus-visible { border-radius: 6px; }
.cv-step__hint { color: var(--text-2); font-size: .94rem; line-height: 1.8; }
.cv-sublabel { font-size: .9rem; font-weight: 500; color: var(--text-1); grid-column: 1 / -1; }
.cv-row { margin-top: .3rem; }

.cv-wizard .field input, .cv-wizard .field select, .cv-wizard .field textarea,
.canvas-light .field input, .canvas-light .field textarea { background-color: #fff; color: var(--text-1); }
.cv-wizard .field select option { background: #fff; }
.field textarea {
  width: 100%; min-height: 84px; padding: .7rem .9rem; border-radius: 12px; resize: vertical; font: inherit; line-height: 1.75;
  background: rgb(3 6 14 / .6); border: 1px solid var(--line-2); color: var(--text-1);
}
.field textarea:focus-visible { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgb(47 123 255 / .3); border-radius: 12px; outline: none; }
.field label small { color: var(--text-3); font-weight: 400; }
.cv-hintline { color: var(--text-3); font-size: .8rem; }
.cv-hintline:empty { display: none; }

/* industry cards */
.cv-industries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.cv-card { position: relative; display: block; cursor: pointer; }
.cv-card input, .cv-role input, .cv-chip input, .cv-symptom input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cv-card__body { display: grid; gap: .3rem; height: 100%; padding: 1rem 1.1rem; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface-2); transition: border-color var(--dur-1), background var(--dur-1), box-shadow var(--dur-1); }
.cv-card__body b { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--text-1); }
.cv-card__body span { color: var(--text-2); font-size: .9rem; }
.cv-card__body small { color: var(--blue-300); font-size: .78rem; line-height: 1.6; }
.cv-card:hover .cv-card__body { border-color: var(--blue-400); }
.cv-card input:checked + .cv-card__body { background: #f1f6ff; border-color: var(--blue-400); box-shadow: inset 0 0 0 1px var(--blue-400); }
.cv-card input:focus-visible + .cv-card__body, .cv-role input:focus-visible + span, .cv-chip input:focus-visible + span, .cv-symptom input:focus-visible + span { box-shadow: var(--focus); }
[aria-invalid="true"] + .cv-card__body, [aria-invalid="true"] + span { border-color: var(--bad) !important; }

/* roles */
.cv-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.cv-role { position: relative; cursor: pointer; }
.cv-role span { display: grid; gap: .1rem; height: 100%; padding: .7rem .9rem; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface-2); transition: border-color var(--dur-1), background var(--dur-1); }
.cv-role b { color: var(--text-1); font-weight: 600; font-size: .94rem; }
.cv-role small { color: var(--text-3); font-size: .8rem; }
.cv-role input:checked + span { background: #f1f6ff; border-color: var(--blue-400); box-shadow: inset 0 0 0 1px var(--blue-400); }

/* priority chips */
.cv-count { color: var(--text-2); font-size: .88rem; font-weight: 500; }
.cv-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.cv-chip { position: relative; cursor: pointer; }
.cv-chip span { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .35rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-1); font-size: .9rem; transition: all var(--dur-1); }
.cv-chip svg { width: 18px; height: 18px; color: var(--blue-300); }
.cv-chip em { font-style: normal; font-size: var(--fs-micro); font-weight: 600; color: var(--blue-300); background: var(--blue-tint); padding: 0 .45rem; border-radius: 999px; }
.cv-chip input:checked + span { background: var(--blue-600); border-color: transparent; color: #fff; }
.cv-chip input:checked + span svg, .cv-chip input:checked + span em { color: #fff; background: transparent; }
.cv-chip input:disabled { cursor: not-allowed; }
.cv-chip input:disabled + span { opacity: .45; }

/* summary + copy */
.cv-summary { border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface-2); overflow: hidden; }
.cv-summary__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .9rem; border-bottom: 1px solid var(--line-1); background: rgb(255 255 255 / .6); font-size: .86rem; }
.cv-summary__text { margin: 0; padding: .9rem 1rem; max-height: 300px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: var(--font-body); font-size: .88rem; line-height: 1.9; color: var(--text-1); }
.cv-summary__text:focus-visible { border-radius: 0; box-shadow: inset 0 0 0 2px var(--blue-400); }
.cv-copy, .cv-nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.cv-nav { justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line-1); }
.cv-nav [data-next] { margin-inline-start: auto; }
.cv-status { font-size: .9rem; line-height: 1.8; color: var(--text-2); }
.cv-status:empty { display: none; }
.cv-status[data-tone="ok"] { color: var(--ok); font-weight: 500; }
.cv-status[data-tone="warn"] { color: var(--warn); font-weight: 500; }

/* ---- live preview: a deep panel on the light canvas ---- */
.cv-preview {
  --text-1: #eef2fb; --text-2: #b9c6e4; --text-3: #8f9dc0; --line-1: rgb(170 196 255 / .12); --line-2: rgb(170 196 255 / .22);
  --blue-200: #c4dbff; --blue-300: #8cb8ff; --blue-400: #5294ff; --blue-tint: rgb(82 148 255 / .14); --ok: #3fd69c; --focus: 0 0 0 2px #0a1a45, 0 0 0 4px #8cb8ff;
  position: sticky; top: calc(var(--header-h) + 16px);
  display: grid; gap: 1.25rem; padding: clamp(1.15rem, 2.5vw, 1.75rem); border-radius: var(--r-xl); color: var(--text-1);
  background: radial-gradient(80% 60% at 0% 0%, rgb(47 123 255 / .3), transparent 70%), linear-gradient(170deg, #0f2257, #081231);
  box-shadow: 0 40px 80px -40px rgb(6 14 40 / .7);
}
.cv-preview__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.cv-preview__head h3 { font-size: 1.3rem; }
.cv-preview__tag { font-size: var(--fs-tag); color: var(--blue-200); border: 1px solid var(--line-2); border-radius: 999px; padding: .05rem .6rem; }
.cv-preview__part { display: grid; gap: .65rem; padding-top: 1.1rem; border-top: 1px solid var(--line-1); }
.cv-preview h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--blue-300); }
.cv-preview__lens { color: var(--text-2); font-size: .9rem; line-height: 1.8; }

.cv-meter p { font-size: .88rem; color: var(--text-2); }
.cv-meter b { color: var(--text-1); font-size: 1.05rem; }
.cv-meter ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; margin-top: .5rem; }
.cv-meter li { display: grid; gap: .3rem; font-size: var(--fs-micro); color: var(--text-3); }
.cv-meter li i { height: 5px; border-radius: 3px; background: rgb(255 255 255 / .12); }
.cv-meter li.is-now i { background: linear-gradient(270deg, #5294ff, rgb(82 148 255 / .35)); }
.cv-meter li.is-now { color: var(--text-1); }
.cv-meter li.is-done i { background: var(--ok); }

.cv-route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; counter-reset: rt; }
.cv-route li { counter-increment: rt; position: relative; display: grid; gap: .15rem; align-content: start; padding: .6rem .55rem; border-radius: 12px; background: rgb(255 255 255 / .06); border: 1px solid var(--line-1); }
.cv-route li::before { content: counter(rt); font-family: var(--font-num); font-size: var(--fs-micro); color: var(--blue-300); }
.cv-route b { font-size: .86rem; line-height: 1.4; }
.cv-route span { font-size: var(--fs-tag); color: var(--text-2); line-height: 1.55; }
.cv-route li.is-confirm { border-style: dashed; border-color: rgb(140 184 255 / .45); }

.cv-topics { display: grid; gap: .6rem; }
.cv-topic { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .7rem; padding: .8rem; border-radius: var(--r-md); background: rgb(255 255 255 / .05); border: 1px solid var(--line-1); }
.cv-topic__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-tint); color: var(--blue-300); }
.cv-topic__icon svg { width: 18px; height: 18px; }
.cv-topic > div { display: grid; gap: .3rem; min-width: 0; }
.cv-topic b { font-size: .95rem; line-height: 1.5; }
.cv-topic b em { font-style: normal; margin-inline-start: .4rem; font-size: var(--fs-micro); font-weight: 500; color: var(--blue-200); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 .45rem; white-space: nowrap; }
.cv-topic p { font-size: .84rem; color: var(--text-2); line-height: 1.75; }
.cv-topic__ask span { color: var(--blue-300); font-weight: 600; }
.cv-topic .link-arrow { font-size: .84rem; }
.cv-preview .avail { font-size: var(--fs-meta); }
.cv-empty { color: var(--text-3); font-size: .88rem; padding: .8rem; border: 1px dashed var(--line-2); border-radius: var(--r-md); }

.cv-agenda { display: grid; gap: 0; counter-reset: ag; }
.cv-agenda li { counter-increment: ag; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: .7rem; padding: .45rem 0; position: relative; }
.cv-agenda li::before { content: counter(ag); grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--blue-400); color: var(--blue-200); font-family: var(--font-num); font-size: .75rem; }
.cv-agenda b { font-size: .9rem; }
.cv-agenda span { font-size: .8rem; color: var(--text-2); line-height: 1.6; }
.cv-fine { font-size: var(--fs-meta); color: var(--text-3); line-height: 1.7; }

/* ===================== 3 · WHAT HAPPENS NEXT ===================== */
.cv-next { background: radial-gradient(60% 80% at 100% 0%, rgb(47 123 255 / .12), transparent 70%), var(--bg-1); }
.cv-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.cv-compare__col { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); border: 1px solid var(--line-2); background: rgb(255 255 255 / .03); display: grid; gap: 1.1rem; align-content: start; }
.cv-compare__col--later { border-style: dashed; background: transparent; }
.cv-compare h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; }
.cv-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--text-3); flex: none; }
.cv-dot--now { border: 0; background: var(--ok); box-shadow: 0 0 0 5px rgb(63 214 156 / .15); animation: cvGlow 2.4s ease-in-out infinite; }
.cv-timeline { display: grid; gap: 0; position: relative; }
.cv-timeline::before { content: ""; position: absolute; inset-inline-start: 6px; top: .8rem; bottom: .8rem; width: 1px; background: var(--line-3); }
.cv-timeline li { position: relative; display: grid; gap: .2rem; padding: .7rem 0; padding-inline-start: 1.8rem; }
.cv-timeline li::before { content: ""; position: absolute; inset-inline-start: 1px; top: 1.15rem; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-1); border: 2px solid var(--blue-400); }
.cv-timeline b { color: var(--text-1); font-weight: 600; }
.cv-timeline span { color: var(--text-2); font-size: .92rem; line-height: 1.8; }

/* ===================== 4 · PREPARE LIST ===================== */
.cv-prep__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); border-top: 2px solid var(--text-1); counter-reset: pr; }
.cv-prep__list li { counter-increment: pr; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: .8rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-2); }
.cv-prep__list li::before { content: counter(pr, decimal-leading-zero); grid-row: span 2; font-family: var(--font-display); font-weight: 300; font-size: 2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--blue-400); }
.cv-prep__list b { color: var(--text-1); font-size: 1.1rem; font-weight: 600; }
.cv-prep__list span { color: var(--text-2); line-height: 1.8; }

/* ===================== 5 · SUPPORT: SEARCH + ORBIT ===================== */
.cv-search { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; margin-top: .4rem; max-width: 640px; }
.cv-search__label { font-size: .9rem; color: var(--text-2); font-weight: 500; }
.cv-search__box { position: relative; display: flex; align-items: center; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgb(140 184 255 / .3), 0 24px 60px -24px rgb(47 123 255 / .6); }
.cv-search__box svg { position: absolute; inset-inline-start: 1.1rem; width: 22px; height: 22px; color: #5b6787; pointer-events: none; }
.cv-search__box input { flex: 1; min-width: 0; width: 100%; min-height: 60px; padding: .6rem 3.2rem .6rem 5rem; border: 0; border-radius: 18px; background: transparent; color: #0a1430; font-size: 1.05rem; }
.cv-search__box input::placeholder { color: #6b7894; }
.cv-search__box input:focus-visible { box-shadow: 0 0 0 3px #8cb8ff; border-radius: 18px; }
.cv-search__box input::-webkit-search-cancel-button { display: none; }
.cv-search__clear { position: absolute; inset-inline-end: .6rem; min-height: 40px; padding: 0 .9rem; border-radius: 12px; background: #eef2fa; color: #1a56d1; font-size: .86rem; font-weight: 600; }
.cv-search__help { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--text-3); font-size: .86rem; }
.cv-search__help button { min-height: 36px; padding: .2rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .84rem; }
.cv-search__help button:hover { border-color: var(--blue-300); color: var(--text-1); }

.cv-orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; }
.cv-orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv-orbit__lines circle, .cv-orbit__lines path { fill: none; stroke: rgb(140 184 255 / .2); stroke-width: 1; }
.cv-orbit__lines circle:first-child { stroke-dasharray: 3 6; }
.cv-orbit__core { position: absolute; inset: 37%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: radial-gradient(circle, rgb(47 123 255 / .4), rgb(47 123 255 / .08) 70%); box-shadow: 0 0 0 1px rgb(140 184 255 / .3), 0 0 80px rgb(47 123 255 / .35); }
.cv-orbit__core b { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); font-weight: 600; line-height: 1; }
.cv-orbit__core span { font-size: .74rem; color: var(--text-2); }
.cv-orbit__nodes { position: absolute; inset: 0; }
.cv-node {
  position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .15rem; width: 132px; padding: .6rem .5rem;
  border-radius: 16px; background: rgb(12 22 50 / .88); border: 1px solid var(--line-2); color: var(--text-1); text-align: center;
  backdrop-filter: blur(6px); transition: background var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
}
.cv-node svg { width: 22px; height: 22px; color: var(--blue-300); }
.cv-node b { font-size: .84rem; font-weight: 600; line-height: 1.4; }
.cv-node small { font-size: var(--fs-micro); color: var(--text-3); }
.cv-node:hover { border-color: var(--blue-300); }
.cv-node[aria-pressed="true"] { background: var(--blue-600); border-color: transparent; box-shadow: 0 14px 30px -12px rgb(47 123 255 / .8); }
.cv-node[aria-pressed="true"] svg, .cv-node[aria-pressed="true"] small { color: #dbe8ff; }
.cv-node:focus-visible { border-radius: 16px; }
/* positions on the ring (left/top are physical: the ring is a picture, not text flow) */
/* "all topics" is the glowing core; the five categories sit on the outer ring */
.cv-node--0 {
  left: 50%; top: 50%; width: 30%; aspect-ratio: 1; align-content: center; border-radius: 50%;
  background: radial-gradient(circle, rgb(47 123 255 / .45), rgb(16 36 90 / .9) 72%); border-color: rgb(140 184 255 / .35);
  box-shadow: 0 0 80px rgb(47 123 255 / .35);
}
.cv-node--0 b { font-size: .95rem; }
.cv-node--1 { left: 50%; top: 12.5%; }
.cv-node--2 { left: 86%; top: 37%; }
.cv-node--3 { left: 76%; top: 81%; }
.cv-node--4 { left: 24%; top: 81%; }
.cv-node--5 { left: 14%; top: 37%; }

/* ===================== 6 · SUPPORT: LIBRARY ===================== */
.cv-library__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.cv-library__head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); margin-top: .5rem; }
.cv-results { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--text-2); font-size: .95rem; }
.cv-elsewhere { min-height: 36px; padding: .2rem .8rem; border-radius: 999px; background: var(--blue-tint); color: var(--blue-300); font-weight: 600; font-size: .86rem; }
.cv-library__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.cv-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 1rem; align-items: start; }
.cv-guide article { display: grid; gap: .75rem; align-content: start; padding: clamp(1.1rem, 2.5vw, 1.6rem); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); border: 1px solid var(--line-1); }
.cv-guide__head { display: grid; gap: .35rem; }
.cv-guide__cat { display: inline-flex; align-items: center; gap: .4rem; color: var(--blue-300); font-size: .8rem; font-weight: 600; }
.cv-guide__cat svg { width: 16px; height: 16px; }
.cv-guide h3 { font-size: 1.22rem; line-height: 1.45; }
.cv-guide h3:focus-visible { border-radius: 6px; }
.cv-guide__where { font-size: .82rem; color: var(--text-3); }
.cv-guide__where span { font-weight: 600; }
.cv-guide__sum { color: var(--text-2); line-height: 1.95; }
.cv-guide__steps { border-top: 1px solid var(--line-1); padding-top: .5rem; }
.cv-guide__steps summary { cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--text-1); font-size: .94rem; list-style: none; }
.cv-guide__steps summary::-webkit-details-marker { display: none; }
.cv-guide__steps summary::before { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-3); color: var(--blue-300); font-size: .95rem; transition: transform var(--dur-1); }
.cv-guide__steps[open] summary::before { transform: rotate(45deg); }
.cv-guide__steps ol { display: grid; gap: .45rem; margin-top: .4rem; padding-inline-start: 1.4rem; list-style: arabic-indic; color: var(--text-2); line-height: 1.85; }
.cv-guide__steps li::marker { color: var(--blue-300); }
.cv-guide__note { font-size: .86rem; color: var(--text-3); line-height: 1.8; padding: .55rem .8rem; border-radius: 10px; background: var(--surface-2); }
.cv-guide__note b { color: var(--text-2); }
.cv-guide mark { background: rgb(45 108 240 / .16); color: inherit; border-radius: 3px; padding: 0 .1em; }
.cv-noresult { display: grid; gap: .6rem; justify-items: start; padding: 1.5rem; border-radius: var(--r-lg); border: 1px dashed var(--line-3); color: var(--text-2); }
.cv-noresult b { color: var(--text-1); font-size: 1.1rem; }
.cv-noresult a { color: var(--blue-300); text-decoration: underline; text-underline-offset: 3px; }

.cv-faqs { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1rem clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-2); }
.cv-faqs > h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); grid-column: 1; grid-row: 1; }
.cv-faqs > .faq, .cv-faqs > [data-faq-empty] { grid-column: 2; grid-row: 1 / span 2; max-width: none; }
.cv-faqs > .cv-faqs__more { grid-column: 1; grid-row: 2; }
@media (max-width: 860px) { .cv-faqs { grid-template-columns: minmax(0, 1fr); } .cv-faqs > * { grid-column: 1 !important; grid-row: auto !important; } }
.cv-faqs .faq summary { font-size: 1rem; padding: .9rem 0; }
.cv-faqs .faq .faq__a { font-size: .92rem; }
.cv-faqs__more { display: grid; gap: .45rem; padding-top: .8rem; border-top: 1px solid var(--line-1); font-size: .86rem; color: var(--text-3); }
.cv-faqs__more .link-arrow { font-size: .9rem; }

/* ===================== 7 · SUPPORT: GETTING-STARTED PATH ===================== */
.cv-path__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.cv-path__rail { --progress: 0; position: relative; display: grid; gap: .3rem; padding-inline-start: 1.25rem; }
.cv-path__rail::before, .cv-path__rail::after { content: ""; position: absolute; inset-inline-start: 0; top: .4rem; width: 3px; border-radius: 3px; }
.cv-path__rail::before { bottom: .4rem; background: rgb(170 196 255 / .18); }
.cv-path__rail::after { height: calc((100% - .8rem) * var(--progress)); background: linear-gradient(180deg, #8cb8ff, #2f7bff); transition: height .5s var(--ease-out); }
.cv-path__tab { display: flex; align-items: center; gap: .85rem; min-height: 54px; padding: .5rem .9rem; border-radius: var(--r-md); color: var(--text-2); text-align: start; font-size: 1rem; transition: background var(--dur-1), color var(--dur-1); }
.cv-path__tab i { font-style: normal; font-family: var(--font-num); font-size: .8rem; color: var(--blue-300); width: 2rem; }
.cv-path__tab:hover { background: rgb(255 255 255 / .05); color: var(--text-1); }
.cv-path__tab[aria-selected="true"] { background: rgb(255 255 255 / .09); color: var(--text-1); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.cv-path__panel { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--r-xl); background: rgb(255 255 255 / .05); border: 1px solid var(--line-2); min-height: 340px; align-content: start; }
.cv-path__panel.is-entering > * { animation: cvIn .45s var(--ease-out) both; }
.cv-path__panel:focus-visible { border-radius: var(--r-xl); }
.cv-path__step { color: var(--blue-300); font-size: .86rem; font-weight: 600; }
.cv-path__panel h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.cv-path__d { color: var(--text-2); font-size: 1.05rem; line-height: 1.95; max-width: 60ch; }
.cv-path__check { display: grid; gap: .6rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgb(4 10 30 / .35); }
.cv-path__check b { font-size: .9rem; color: var(--blue-200); }
.cv-path__next { color: var(--text-3); font-size: .92rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.cv-path__next b { color: var(--text-1); }

/* ===================== 8 · SUPPORT: TROUBLESHOOTER ===================== */
.cv-fix__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.cv-fix__symptoms { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: .6rem; }
.cv-fix__symptoms legend { font-weight: 600; color: var(--text-1); margin-bottom: .6rem; padding: 0; }
.cv-fix__symptoms > div { display: grid; gap: .5rem; }
.cv-symptom { position: relative; cursor: pointer; }
.cv-symptom span { display: flex; align-items: center; min-height: 52px; padding: .6rem 1rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-2); color: var(--text-1); font-weight: 500; transition: all var(--dur-1); }
.cv-symptom span::before { content: ""; flex: none; width: 16px; height: 16px; margin-inline-end: .7rem; border-radius: 50%; border: 2px solid var(--line-3); }
.cv-symptom input:checked + span { border-color: var(--blue-400); box-shadow: inset 0 0 0 1px var(--blue-400); background: #f4f8ff; }
.cv-symptom input:checked + span::before { border: 5px solid var(--blue-400); }
.cv-fix__panel { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-2); }
.cv-fix__head { display: grid; gap: .6rem; }
.cv-fix__head h3 { font-size: 1.35rem; }
.cv-fix__progress { display: flex; align-items: center; gap: .8rem; color: var(--text-2); font-size: .88rem; }
.cv-bar { --v: 0; position: relative; flex: 1; max-width: 260px; height: 8px; border-radius: 8px; background: var(--surface-3); overflow: hidden; }
.cv-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--v) * 100%); border-radius: 8px; background: linear-gradient(270deg, var(--ok), #3fd69c); transition: width .4s var(--ease-out); }
.cv-checks { display: grid; gap: .45rem; counter-reset: ck; }
.cv-checks label { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .75rem; align-items: start; padding: .7rem .8rem; border-radius: var(--r-md); border: 1px solid var(--line-1); cursor: pointer; line-height: 1.75; color: var(--text-1); transition: background var(--dur-1); }
.cv-checks label:hover { background: var(--surface-2); }
.cv-checks input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--ok); cursor: pointer; }
.cv-checks input:checked + span { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgb(11 132 87 / .5); }
.cv-checks input:focus-visible { box-shadow: var(--focus); border-radius: 4px; }
.cv-fix__foot { display: grid; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--line-1); color: var(--text-2); font-size: .94rem; }
.cv-fix__foot b { color: var(--text-1); }
.cv-fix__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ===================== 9 · SUPPORT: HELP-REQUEST GUIDANCE ===================== */
.cv-request { background: radial-gradient(50% 70% at 0% 100%, rgb(47 123 255 / .14), transparent 70%), var(--bg-1); }
.cv-request__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.cv-request h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); margin-top: .7rem; }
.cv-request__lead { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.9; margin-top: .9rem; }
.cv-request__rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--line-2); }
.cv-request__rules li { display: grid; gap: .15rem; padding: .9rem 0; border-bottom: 1px solid var(--line-1); }
.cv-request__rules b { color: var(--text-1); }
.cv-request__rules span { color: var(--text-2); font-size: .9rem; }
.cv-honest { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.5rem; padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid rgb(242 187 85 / .3); background: var(--warn-tint); color: var(--text-2); font-size: .94rem; line-height: 1.85; max-width: var(--measure-wide); }
.cv-honest svg { flex: none; width: 22px; height: 22px; color: var(--warn); margin-top: .15rem; }
.cv-honest b { color: var(--text-1); }
.cv-reqform { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); background: #fff; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8); }
.cv-reqform h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.25rem; }
.cv-reqform [data-reqfields] { display: grid; gap: .9rem; }
.cv-reqform .field input::placeholder, .cv-reqform .field textarea::placeholder { color: #6b7894; }

/* ===================== 10 · RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .cv-planner__grid { grid-template-columns: minmax(0, 1fr); }
  .cv-preview { position: static; }
}
@media (max-width: 980px) {
  .cv-hero__grid, .cv-path__grid, .cv-fix__grid, .cv-request__grid, .cv-compare { grid-template-columns: minmax(0, 1fr); }
  .cv-scene__body { min-height: 0; }
  /* orbit becomes a chip row: same buttons, flowing layout */
  .cv-orbit { width: 100%; aspect-ratio: auto; justify-self: stretch; }
  .cv-orbit__lines, .cv-orbit__core { display: none; }
  .cv-orbit__nodes { position: static; display: flex; flex-wrap: wrap; gap: .5rem; }
  .cv-node, .cv-node--0 { position: static; transform: none; width: auto; aspect-ratio: auto; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .35rem .9rem; border-radius: 999px; box-shadow: none; }
  .cv-node--0 { background: rgb(12 22 50 / .88); }
  .cv-node svg { width: 18px; height: 18px; }
  .cv-node small { display: none; }
}
@media (max-width: 640px) {
  .cv-industries, .cv-roles, .cv-prep__list, .cv-request__rules { grid-template-columns: minmax(0, 1fr); }
  .cv-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cv-steps button { justify-content: center; padding: .3rem; }
  .cv-steps button span { display: none; }
  .cv-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-station { width: 88%; }
  .cv-thread { display: none; }
  .cv-search__box input { min-height: 54px; font-size: 1rem; padding-inline: 2.9rem 4.4rem; }
  .cv-hero h1 br { display: none; }
}
@media (max-width: 360px) {
  .cv-station { width: 100%; }
  .cv-pick { padding-inline: .8rem; font-size: .9rem; }
  .cv-nav .btn { padding-inline: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cv-thread__pulse { animation: none; stroke-dasharray: none; opacity: .35; }
  .cv-dot--now { animation: none; }
}
