:root {
  --brand: #2a9d8f;
  --brand-2: #1f7f74;
  --brand-rgb: 42, 157, 143;
  --brand-soft: rgba(var(--brand-rgb), .28);
  --accent: #6bbf59;
  --accent-rgb: 107, 191, 89;
  --success: #16a34a;
  --text: #1b1f23;
  --muted: #667085;
  --bg: #f6f8fb;
  --card: #ffffff;
  --border: #e6eaf0;
  --danger: #d92d20;
  --shadow: 0 18px 48px rgba(16, 24, 40, .18);
  --radius: 14px;
  --shell-max: 1200px;
  --max: var(--shell-max);

  --sk: rgba(16, 24, 40, .08);
  --sk2: rgba(16, 24, 40, .14);

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

@supports (color: color-mix(in srgb, #000 0%, #fff 100%)) {
  :root {
    --brand-soft: color-mix(in srgb, var(--brand) 30%, white);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: #fff;
  opacity: .95;
  text-decoration: none;
}

a:hover {
  opacity: 1;
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.spacer {
  height: 14px;
}

.appShell {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.appMain {
  width: 100%;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(16, 24, 40, .03);
}

.cardPad {
  padding: 18px;
}

.h1 {
  font-size: 34px;
  margin: 0;
  text-align: center;
  letter-spacing: .2px;
}

.lead {
  margin: 10px auto 0;
  max-width: 860px;
  text-align: center;
  color: var(--muted);
  line-height: 1.45;
}

.pbSelector {
  max-width: 1180px;
  margin: 0 auto;
}

.pbSelectorGrid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pbSelectorCard {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pbSelectorVisual {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.pbSelectorVisualCta {
  width: 100%;
  height: 220px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  position: relative;
  z-index: 1;
}

.pbSelectorCta {
  width: 100%;
  margin-top: auto;
}

.pbSelectorVisualCta:hover,
.pbSelectorVisualCta:focus-visible {
  transform: scale(1.01);
  border-color: #2a9d8f;
  box-shadow: 0 10px 24px rgba(42, 157, 143, .25);
  outline: none;
}

.pbSelectorVisualPlaceholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .1), rgba(var(--accent-rgb), .14));
  color: var(--brand-2);
  font-weight: 800;
}

.pbSelectorTitle {
  margin: 12px 0 6px;
  text-align: center;
}

.pbSelectorVisual--cyber {
  object-position: center top;
}

.pbSelectorVisual--destinationIa {
  object-position: center 20%;
}

body.isPracticeBuilderVariant.isPracticeBuilderSelectionStep .stepperHead,
body.isPracticeBuilderVariant.isPracticeBuilderSelectionStep .stepper {
  display: none;
}

body.isPracticeBuilderVariant.isPracticeBuilderSelectionStep .appMain>.card:first-child,
body.isPracticeBuilderVariant.isPracticeBuilderSelectionStep .appMain>.spacer {
  display: none;
}

body.isPracticeBuilderVariant.isPracticeBuilderSelectionStep .pbSelector > .h2 {
  text-align: center;
}

@media (max-width: 980px) {
  .pbSelectorGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .pbSelectorVisual,
  .pbSelectorVisualCta,
  .pbSelectorVisualPlaceholder {
    height: 180px;
    min-height: 180px;
  }
  .pbSelectorGrid {
    grid-template-columns: 1fr;
  }
}

.pbSelectorDesc {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.infoPill {
  margin: 14px auto 0;
  width: fit-content;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
}

.devModeBadge {
  margin: 10px auto 0;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-rgb), .3);
  background: rgba(var(--brand-rgb), .12);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15px;
}

/* Banner header (no crop) */
.lpHeader {
  width: 100%;
  padding: 10px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(var(--brand-rgb), .18);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .09), rgba(var(--accent-rgb), .10));
  box-shadow: 0 6px 18px rgba(16, 24, 40, .08);
}

.lpBanner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 2px);
}

/* Language bar */
.langBar {
  height: 58px;
  display: flex;
  align-items: center;
  width: 100%;
}

.langBarInner {
  height: 100%;
  width: 100%;
  background: var(--brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modern Language Toggle */
.langToggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: min(560px, 100%);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  padding: 4px;
  gap: 4px;
  backdrop-filter: blur(6px);
}

.langBtn {
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .92);
  font-weight: 900;
  cursor: pointer;
  border-radius: 14px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .18s ease, color .18s ease, opacity .18s ease;
  user-select: none;
}

.langBtn:hover {
  opacity: 1;
}

.langBtn:active {
  transform: scale(.98);
}

.langSub {
  font-weight: 700;
  opacity: .92;
  font-size: 12px;
}

.langIndicator {
  position: absolute;
  inset: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .20);
  transition: transform .22s ease;
  z-index: 1;
}

.langToggle[data-active="es"] .langIndicator {
  transform: translateX(0%);
}

.langToggle[data-active="en"] .langIndicator {
  transform: translateX(100%);
}

.langToggle[data-active="pt"] .langIndicator {
  transform: translateX(200%);
}

.langToggle[data-active="es"] .langBtn[data-lang="es"],
.langToggle[data-active="en"] .langBtn[data-lang="en"],
.langToggle[data-active="pt"] .langBtn[data-lang="pt"] {
  color: #122126;
}

/* Form Card */
.formCard {
  overflow: visible;
  width: 100%;
  align-self: stretch;
}

/* Horizontal Stepper + integrated progress */
.stepperHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.stepperKicker {
  font-size: 12px;
  color: rgba(102, 112, 133, .95);
  font-weight: 900;
  letter-spacing: .2px;
}

.stepperTitle {
  font-size: 16px;
  font-weight: 1000;
}

.stepperPct {
  font-size: 12px;
  font-weight: 900;
  color: rgba(102, 112, 133, .95);
}

.stepper {
  position: relative;
  padding: 10px 0 12px;
  margin-bottom: 14px;
}

.stepperTrack {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: rgba(16, 24, 40, .08);
  transform: translateY(-50%);
  overflow: hidden;
  z-index: 0;
}

.stepperFill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 999px;
  transition: width .25s ease;
}

.stepperItems {
  display: flex;
  gap: clamp(8px, 2vw, 14px);
  overflow-x: hidden;
  padding: clamp(8px, 2vw, 14px);
  border-radius: 16px;
  border: 1px solid rgba(16, 24, 40, .10);
  background: #fff;
  position: relative;
  z-index: 1;
}

.stepItem {
  position: relative;
  border: 0;
  background: #f6f8fb;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  text-align: left;
  padding: clamp(8px, 1.6vw, 12px) clamp(10px, 2vw, 16px);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
  outline: none;
}

.stepItem::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.stepItem:hover {
  background: rgba(var(--brand-rgb), .08);
}

.stepItem:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .22);
}

.stepItem.is-active {
  background: rgba(var(--brand-rgb), .12);
  color: var(--brand);
}

.stepItem.is-active::after {
  background: var(--brand);
}

.stepItem.is-locked {
  cursor: not-allowed;
  opacity: .6;
}

.stepTop {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.stepIcon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(16, 24, 40, .08);
  color: rgba(102, 112, 133, .95);
  flex: 0 0 auto;
}

.stepIcon svg {
  width: 16px;
  height: 16px;
}

.stepText {
  min-width: 0;
}

.stepCircle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  font-size: 12px;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, .15);
  box-shadow: 0 8px 16px rgba(16, 24, 40, .06);
  flex: 0 0 auto;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.stepItem:hover .stepCircle {
  transform: translateY(-1px);
  border-color: rgba(var(--brand-rgb), .45);
}

.stepName {
  font-weight: 900;
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stepDesc {
  font-size: clamp(11px, 1vw, 12px);
  color: rgba(102, 112, 133, .95);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stepItem.is-active .stepIcon {
  background: rgba(var(--brand-rgb), .18);
  color: var(--brand);
}

.stepItem.is-done .stepIcon {
  background: rgba(var(--brand-rgb), .12);
  color: var(--brand-2);
}

.stepItem.isActive .stepCircle,
.stepItem.isDone .stepCircle,
.stepItem.isLocked .stepCircle {
  display: none;
}

/* Fields */
.grid {
  display: grid;
  gap: 18px;
  width: 100%;
}

.grid2,
.twoCol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
}

.stepPanel {
  width: 100%;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}

@media (max-width: 860px) {
  .grid2,
  .twoCol {
    grid-template-columns: 1fr;
  }

  .stepItem {
    padding: 10px 12px;
  }

  .stepperItems {
    gap: 8px;
  }
}

.fieldLabel {
  font-weight: 800;
  margin: 0 0 6px;
}


.grid > .fieldLabel {
  margin: 2px 0 4px;
}

.grid > .fieldLabel + .twoCol,
.grid > .fieldLabel + .grid2,
.grid > .fieldLabel + div {
  margin-top: 2px;
}

.grid > div > .error {
  margin-top: 8px;
}

.competencyMatrixWrap {
  display: grid;
  gap: 10px;
}

.competencyContextLine {
  font-size: 13px;
  font-weight: 600;
  color: rgba(27, 31, 35, .82);
  margin-top: -2px;
  margin-bottom: 2px;
}

.competencyCollapsible {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  background: rgba(27, 31, 35, .02);
}

.competencyCollapsible summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.competencyCollapsible[open] summary {
  margin-bottom: 6px;
}

.competencyScaleList {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

.competencySupportCta {
  font-size: 12px;
  color: var(--muted);
}

.competencyMatrixScroll {
  width: 100%;
  overflow-x: auto;
}

.competencyMatrixTable {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.competencyMatrixTable th,
.competencyMatrixTable td {
  border: 1px solid var(--border);
  padding: 8px;
  vertical-align: middle;
  background: #fff;
}

.competencyMatrixTable thead th {
  background: rgba(var(--brand-rgb), .08);
  font-size: 12px;
  font-weight: 700;
}

.competencyMatrixGroupHeaderRow th {
  text-align: center;
  font-size: 12px;
  letter-spacing: .2px;
}

.competencyMatrixRowLabel {
  min-width: 210px;
  text-align: left;
}

.competencyMatrixTable .input,
.competencyMatrixTable .select {
  min-width: 110px;
}

.vendorSearchWrap {
  position: relative;
}

.vendorSearchInput {
  width: 100%;
}

.vendorSearchMenu {
  position: absolute;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  z-index: 1200;
}

.vendorSearchOption {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  background: #fff;
  text-align: left;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
}

.vendorSearchOption:hover,
.vendorSearchOption:focus-visible {
  background: rgba(var(--brand-rgb), .12);
  outline: none;
}

.competencyBaseSummary {
  min-width: 300px;
  font-size: 12px;
  line-height: 1.25;
}

.competencyBaseSummary .line1 {
  font-weight: 600;
}

.competencyBaseSummary .line2 {
  color: var(--muted);
  margin-top: 3px;
}

.competencyBaseSummary .answerValue {
  font-weight: 700;
  color: var(--text);
}

.fieldLabelRow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fieldHint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(27, 31, 35, .08);
  color: rgba(27, 31, 35, .7);
  font-size: 12px;
  font-weight: 900;
  cursor: help;
}

.requiredStar {
  color: var(--danger);
}

.hint {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 6px;
}

.fieldInvalid .input,
.fieldInvalid .select,
.fieldInvalid .msTrigger,
.fieldInvalid .optionGrid,
.fieldInvalid .sliderRange {
  border-color: rgba(185, 28, 28, .55) !important;
  background: rgba(185, 28, 28, .04);
}

.fieldInvalid .msTrigger {
  box-shadow: 0 0 0 1px rgba(185, 28, 28, .12);
}

.fieldInvalid .input:focus,
.fieldInvalid .select:focus,
.fieldInvalid .msTrigger:focus,
.fieldInvalid .sliderRange:focus {
  border-color: rgba(185, 28, 28, .65) !important;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .14);
}

.input,
.select {
  width: 100%;
  border: 1px solid #d5dbe6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.input:focus,
.select:focus {
  border-color: rgba(var(--brand-rgb), .75);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .15);
}

/* Multi-select dropdown */
.ms {
  position: relative;
  width: 100%;
}

.msTrigger {
  width: 100%;
  text-align: left;
  border: 1px solid #d5dbe6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.msTrigger:focus {
  outline: none;
  border-color: rgba(var(--brand-rgb), .75);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .15);
}

.msChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msChipsBelow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.msPlaceholder {
  color: var(--muted);
}

.msCount {
  margin-left: auto;
  font-weight: 700;
  color: var(--muted);
  font-size: 12px;
}

.msPanel {
  position: absolute;
  z-index: 120;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  max-height: 280px;
  overflow: auto;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .12);
  display: none;
  gap: 8px;
}

.ms.isOpen .msPanel {
  display: grid;
}

.msSearch {
  width: 100%;
  border: 1px solid #d5dbe6;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
}

.msOptions {
  display: grid;
  gap: 6px;
}

.msOption {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.msOption:hover {
  background: rgba(var(--brand-rgb), .08);
}

.msEmpty {
  color: var(--muted);
  font-size: 13px;
  padding: 4px 6px;
}

.msChip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), .12);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 700;
  transition: transform .16s ease, opacity .16s ease;
}

.msChip.isRemoving {
  opacity: 0;
  transform: scale(.94);
}

.msChipRemove {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 0;
  background: rgba(var(--brand-rgb), .2);
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}

.msChipRemove svg {
  width: 12px;
  height: 12px;
}

.msChipRemove:hover {
  background: rgba(var(--brand-rgb), .3);
  transform: scale(1.05);
}

.msChipRemove:active {
  transform: scale(.96);
}

/* Slider fields */
.sliderHeader {
  display: grid;
  gap: 6px;
}

.sliderTotal {
  font-weight: 800;
  color: var(--muted);
}

.sliderGroup {
  display: grid;
  gap: 14px;
}

.sliderField {
  display: grid;
  gap: 8px;
}

.sliderRow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sliderInput {
  flex: 1;
}

.sliderNumber {
  width: 84px;
  border: 1px solid #d5dbe6;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
}

.sliderInput {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(16, 24, 40, .08);
  outline: none;
  transition: background .2s ease;
}

.sliderInput::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(16, 24, 40, .08);
}

.sliderInput::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(16, 24, 40, .18);
  margin-top: -6px;
  transition: transform .18s ease, background .18s ease;
}

.sliderInput:active::-webkit-slider-thumb {
  background: var(--brand-2);
  transform: scale(1.05);
}

.sliderInput::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(16, 24, 40, .08);
}

.sliderInput::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

.sliderInput::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(16, 24, 40, .18);
  transition: transform .18s ease, background .18s ease;
}

.sliderInput:active::-moz-range-thumb {
  background: var(--brand-2);
  transform: scale(1.05);
}

/* Optional step sub-stepper */
body.isExtraStep .stepperTitle {
  font-size: 18px;
  font-weight: 1000;
}

.stepperItems.extraStepperAsMain {
  display: flex;
  align-items: stretch;
}

.stepperItems.extraStepperAsMain .stepItem {
  flex: 1 1 0;
  min-width: 0;
}

/* P17 range fill */
.p17Range {
  background: linear-gradient(to right,
      var(--brand-soft) 0%,
      var(--brand-soft) var(--pct, 0%),
      rgba(16, 24, 40, .10) var(--pct, 0%),
      rgba(16, 24, 40, .10) 100%);
}

.p17Range::-webkit-slider-runnable-track {
  background: linear-gradient(to right,
      var(--brand-soft) 0%,
      var(--brand-soft) var(--pct, 0%),
      rgba(16, 24, 40, .10) var(--pct, 0%),
      rgba(16, 24, 40, .10) 100%);
}

.p17Range::-moz-range-track {
  background: rgba(16, 24, 40, .10);
}

.p17Range::-moz-range-progress {
  background: var(--brand-soft);
}


.pcSlider {
  max-width: 100%;
}

.pcSlider .sliderRow {
  --thumbOffset: 0px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.pcSlider .sliderCol {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pcSlider .sliderRange {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 var(--thumbOffset);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pcSlider .sliderTicks {
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 0 var(--thumbOffset);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  opacity: .75;
}

.pcSlider .sliderValueCol {
  width: 64px;
  min-width: 64px;
  display: flex;
  justify-content: flex-end;
}

.pcSlider .sliderValuePill,
.pcSlider .sliderNumberReadonly {
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-weight: 700;
}


.gtmFollowups {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.optionGrid {
  display: grid;
  gap: 8px;
}

.optionItem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.optionItem:hover {
  border-color: rgba(var(--brand-rgb), .35);
}

/* Actions */
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
}

.rightActions {
  display: flex;
  gap: 10px;
}

.btn {
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover {
  background: var(--brand-2);
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btnGhost {
  background: #fff;
  border-color: #d5dbe6;
  color: var(--text);
}

.btnGhost:hover {
  border-color: rgba(var(--brand-rgb), .45);
  background: rgba(var(--brand-rgb), .06);
}

/* Review */
.reviewBox {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b1220;
  color: #e6edf3;
  overflow: auto;
  max-height: 360px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

.reviewSection {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reviewHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reviewRows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.reviewRow {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(520px, 2fr) minmax(240px, 1fr);
  column-gap: 24px;
  align-items: start;
}

.reviewLabel {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: normal;
  max-width: none;
}

.reviewValue {
  font-size: 13px;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reviewChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reviewBadge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.04);
  font-size: 12px;
  font-weight: 700;
}

.reviewEdit {
  padding: 6px 12px;
}

.reviewDomainList,
.reviewGssList {
  display: grid;
  gap: 10px;
  width: 100%;
}

.reviewDomainCard,
.reviewGssItem,
.reviewTechItem {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.reviewDomainTitle,
.reviewTechTitle,
.reviewGssTitle,
.reviewTechScoreTitle {
  font-weight: 700;
  margin-bottom: 6px;
}

.reviewTechBase {
  font-size: 13px;
  margin-bottom: 6px;
}

.reviewTechScoreRow {
  font-size: 12px;
  color: var(--text);
  margin-top: 2px;
}

.gssGridScroll {
  width: 100%;
  overflow-x: auto;
}

.gssGridTable {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.gssGridTable th,
.gssGridTable td {
  border: 1px solid var(--border);
  padding: 10px;
  vertical-align: middle;
  background: #fff;
}

.gssGridTable thead th {
  background: rgba(var(--brand-rgb), .08);
  text-align: left;
  font-size: 12px;
}

.gssServiceLabel {
  font-weight: 700;
  min-width: 240px;
}

/* Submit state */
.submitState {
  margin-top: 12px;
  font-size: 13px;
}

.devPayloadPreview {
  margin-top: 10px;
  border: 1px solid rgba(var(--brand-rgb), .24);
  border-radius: 12px;
  background: rgba(var(--brand-rgb), .06);
  padding: 12px;
}

.devPayloadTitle {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 8px;
}

.devPayloadPreview pre {
  margin: 0;
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.35;
}

.badgeOk {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(var(--brand-rgb), .12);
  color: var(--brand-2);
  border: 1px solid rgba(var(--brand-rgb), .35);
  font-weight: 900;
}

.badgeErr {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(217, 45, 32, .08);
  color: var(--danger);
  border: 1px solid rgba(217, 45, 32, .25);
  font-weight: 900;
}

/* Footer */
.footer {
  margin-top: 18px;
  background: var(--brand);
  color: #fff;
}

.footerInner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 18px;
  text-align: center;
}

.footerTitle {
  display: flex;
  justify-content: center;
}

.footerLogo {
  display: block;
  margin: 0 auto;
  max-width: min(220px, 65vw);
  width: 100%;
  height: auto;
}

.footerSmall {
  font-size: 12px;
  opacity: .95;
  line-height: 1.55;
  margin-top: 10px;
}

.footerLinks {
  margin-top: 10px;
  font-size: 12px;
  color: #fff;
}

.footerLinks a,
.footerLinks a:visited,
.footerLinks a:hover,
.footerLinks a:focus-visible {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
}

/* Modal */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 99;
}

.modal {
  width: min(640px, 100%);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modalBody {
  padding: 26px 22px;
  text-align: center;
}

.modalIcon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 999px;
  border: 3px solid var(--brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  font-size: 30px;
}

.modalTitle {
  font-size: 28px;
  font-weight: 1000;
  margin: 6px 0 6px;
}

.modalText {
  color: var(--muted);
  margin: 0 auto 16px;
  max-width: 480px;
  line-height: 1.5;
}

/* Success modal */
.successModalOverlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 100;
}

.successModalOverlay.hidden {
  display: none;
}

.successModalBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
}

.successModalCard {
  position: relative;
  width: min(720px, 100%);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .28);
  animation: popIn .25s ease-out;
}

.successModalHeader {
  position: relative;
  padding: 28px 26px 20px;
  background: linear-gradient(120deg, rgba(var(--brand-rgb), .18), rgba(var(--accent-rgb), .2));
}

.successModalTitle {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
}

.successModalSubtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text);
  opacity: .82;
}

#confettiCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes popIn {
  from {
    transform: translateY(8px) scale(.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Skeleton Loading */
html.isLoading #skeletonOverlay {
  display: block;
}

#skeletonOverlay {
  display: none;
}

.skeletonOverlay {
  position: relative;
  margin-top: 10px;
  padding: 12px 10px 6px;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, .06);
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(6px);
}

.sk {
  border-radius: 12px;
  background:
    linear-gradient(90deg, var(--sk) 0%, var(--sk2) 40%, var(--sk) 80%);
  background-size: 200% 100%;
  animation: shimmer 1.1s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.skPill {
  width: 92px;
  height: 30px;
  border-radius: 999px;
}

.skLine {
  height: 14px;
  margin: 10px 0;
}

.skLine.short {
  width: 60%;
}

.skGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 860px) {
  .skGrid {
    grid-template-columns: 1fr;
  }
}

.skField {
  height: 44px;
}

.skActions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.skBtn {
  width: 120px;
  height: 40px;
  border-radius: 12px;
}

/* Hide real content while loading */
html.isLoading #formRoot,
html.isLoading .stepperItems,
html.isLoading .stepperHead,
html.isLoading .actions {
  visibility: hidden;
}

/* Step transition */
.fadeInStep {
  animation: fadeSlide .18s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 680px) {
  .pcSlider .sliderRow {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .pcSlider .sliderValueCol {
    width: 64px;
    min-width: 64px;
    justify-self: end;
  }
}

/* Cloud variant color replacement (keep cyber untouched) */
body.isCloudVariant {
  --brand: #1565C0;
  --brand-2: #1565C0;
  --brand-rgb: 21, 101, 192;
  --accent: #1565C0;
  --accent-rgb: 21, 101, 192;
}

body.isCloudVariant .h1,
body.isCloudVariant .stepperTitle,
body.isCloudVariant .modalTitle {
  color: #1565C0;
}

body.isCloudVariant a {
  color: #1565C0;
  opacity: 1;
}

body.isCloudVariant a:hover {
  color: #1565C0;
}

body.isCloudVariant .btn {
  background: #1565C0;
  color: #FFFFFF;
}

body.isCloudVariant .btn:hover {
  background: #1565C0;
}
