.workshop-trigger {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #ff5a4f;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  background: linear-gradient(135deg, #ee3124, #c51e17);
  box-shadow: 0 8px 24px rgba(238, 49, 36, .18);
  font-size: .84rem;
  font-weight: 700;
}

.workshop-trigger:hover { background: linear-gradient(135deg, #f54135, #d5231b); transform: translateY(-1px); }
.play-mark { font-size: .67rem; }

.experience-dialog {
  width: min(1500px, calc(100vw - 24px));
  height: min(840px, calc(100vh - 48px));
  height: min(840px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #383d49;
  border-radius: 16px;
  color: var(--text);
  background: #0e1016;
  box-shadow: 0 30px 120px rgba(0, 0, 0, .78);
  overflow: hidden;
}

.experience-dialog::backdrop { background: rgba(3, 4, 7, .82); backdrop-filter: blur(8px); }
.experience-dialog[open] { animation: experience-in .18s ease-out; }
.experience-dialog > div { height: 100%; display: flex; flex-direction: column; }

@keyframes experience-in {
  from { opacity: 0; transform: translateY(8px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.experience-head {
  flex: 0 0 68px;
  min-height: 68px;
  padding: 11px 18px 11px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 26, .98);
}

.experience-kicker {
  margin: 0 0 4px;
  color: #8e95a3;
  font-family: "IBM Plex Mono", monospace;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.experience-head h2 { margin: 0; font-size: 1.28rem; letter-spacing: -.02em; }
.experience-head-actions { display: flex; align-items: center; gap: 9px; }
@media (min-width: 901px) {
  .assessment-head { flex-basis: auto; gap: 16px; }
  .assessment-head > div:first-child { flex: 0 0 220px; min-width: 0; }
  .assessment-head .experience-head-actions { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
  .assessment-head .assessment-save-status { flex: 0 0 auto; }
}

.quiet-action,
.dialog-close,
.icon-reset {
  border: 1px solid #333844;
  color: #c5cad4;
  background: #191c24;
}

.quiet-action { min-height: 36px; padding: 0 12px; border-radius: 8px; font-size: .85rem; font-weight: 600; }
.quiet-action:hover, .dialog-close:hover, .icon-reset:hover { color: white; border-color: #4d5360; background: #222630; }
.dialog-close { width: 36px; height: 36px; border-radius: 9px; font-size: 1.2rem; line-height: 1; }

.workshop-layout {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 242px minmax(570px, 1fr) 292px;
  overflow: hidden;
}

.stack-setup-flow {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(620px, 1fr) 360px;
  overflow: hidden;
}

.stack-setup-builder {
  min-width: 0;
  min-height: 0;
  padding: 17px 20px 0;
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  background: #0e1016;
}

.setup-progress {
  flex: 0 0 auto;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6f7785;
  font-size: .78rem;
  font-weight: 700;
}

.setup-progress span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.setup-progress span.active { color: #eef1f5; }
.setup-progress b { width: 25px; height: 25px; border: 1px solid #3a404c; border-radius: 50%; display: grid; place-items: center; color: #8d95a3; background: #171a21; font-family: "IBM Plex Mono", monospace; font-size: .66rem; }
.setup-progress span.active b { border-color: #ee5348; color: white; background: #d92b20; box-shadow: 0 0 0 4px rgba(238,49,36,.08); }
.setup-progress i { width: 42px; height: 1px; display: block; background: #333844; }

.stack-setup-title { align-items: flex-end; }
.stack-setup-title > div:first-child { max-width: 720px; }
.stack-setup-title h3 { font-size: 1.22rem; }
.stack-setup-title > div:first-child > p:last-child { margin: 6px 0 0; color: #929aa8; font-size: .84rem; line-height: 1.45; }
.stack-setup-title > div:first-child > p strong { color: #cdd2da; }
.setup-preset-actions { flex: 0 0 auto; display: flex; gap: 6px; }
.setup-preset-actions button { min-height: 33px; padding: 0 10px; border: 1px solid #383e4a; border-radius: 7px; color: #b7bdc7; background: #191c24; font-size: .75rem; font-weight: 600; }
.setup-preset-actions button:hover { border-color: #555c69; color: white; background: #21252e; }
.stack-setup-builder .product-selector { margin-bottom: 17px; }

.stack-confirm-panel {
  min-width: 0;
  min-height: 0;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0, rgba(238,49,36,.075), transparent 21rem), #11131a;
  overflow-y: auto;
}

.stack-confirm-panel h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.025em; }
.stack-confirm-copy { margin: 9px 0 0; color: #9aa2af; font-size: .86rem; line-height: 1.5; }
.stack-confirm-summary { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stack-confirm-summary > div { padding: 14px 12px; border: 1px solid var(--line); border-radius: 10px; background: #171a22; }
.stack-confirm-summary > div.future { border-color: rgba(107,213,159,.25); background: rgba(107,213,159,.055); }
.stack-confirm-summary span, .stack-confirm-summary small { display: block; color: #8e96a4; font-size: .69rem; line-height: 1.3; }
.stack-confirm-summary strong { display: block; margin: 6px 0 4px; font-size: 1.65rem; line-height: 1; }
.stack-confirm-summary .future strong { color: #7ee0ad; }
.stack-preview { margin-top: 19px; }
.stack-preview + .stack-preview { margin-top: 15px; }
.stack-preview h4 { margin: 0 0 9px; color: #cdd2db; font-size: .78rem; }
.stack-preview .control-chip-list { gap: 5px; }
.stack-preview .control-chip { font-size: .69rem; }
.stack-preview .proposed-preview .control-chip { border-color: rgba(87,210,228,.27); background: rgba(87,210,228,.05); }
.stack-more { min-height: 29px; padding: 0 8px; border: 1px dashed #3b414d; border-radius: 6px; display: inline-flex; align-items: center; color: #8e96a4; font-size: .7rem; }
.stack-confirm-footer { margin-top: auto; padding-top: 22px; }
.confirm-stack-button { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #ff6257; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; color: white; background: linear-gradient(135deg, #e93226, #b91c15); box-shadow: 0 12px 30px rgba(238,49,36,.17); font-size: .91rem; font-weight: 700; }
.confirm-stack-button:hover { background: linear-gradient(135deg, #f23e32, #c92119); transform: translateY(-1px); }
.confirm-stack-button b { font-size: 1.15rem; }
.stack-confirm-footer small { display: block; margin: 9px 7px 0; color: #7c8492; font-size: .69rem; line-height: 1.4; text-align: center; }

.scenario-rail,
.outcome-panel,
.attack-stage { min-width: 0; min-height: 0; }

.scenario-rail {
  padding: 17px 13px;
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  background: #11131a;
  overflow-y: auto;
}

.rail-heading { padding: 0 4px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rail-heading span { color: #c5cad4; font-size: .85rem; font-weight: 700; }
.rail-heading small { color: var(--muted-2); font-size: .75rem; }
.scenario-list { display: grid; gap: 7px; }

.scenario-card {
  width: 100%;
  min-height: 67px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  color: #cbd0da;
  background: rgba(24, 27, 35, .72);
  text-align: left;
}

.scenario-card:hover { border-color: #414754; background: #1b1e27; }
.scenario-card.active { border-color: rgba(238, 49, 36, .52); background: linear-gradient(110deg, rgba(238, 49, 36, .16), rgba(238, 49, 36, .035)); box-shadow: inset 3px 0 0 var(--red); }
.scenario-code { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: #ffaaa4; background: rgba(238, 49, 36, .12); font-family: "IBM Plex Mono", monospace; font-size: .75rem; font-weight: 700; }
.scenario-card strong { display: block; color: #edf0f5; font-size: .87rem; line-height: 1.25; }
.scenario-card small { display: block; margin-top: 4px; color: #858d9c; font-size: .75rem; }

.stack-mini {
  margin-top: auto;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #151820;
}

.stack-mini > div { padding: 4px 0; display: flex; justify-content: space-between; gap: 8px; }
.stack-mini span { color: #929aa8; font-size: .76rem; }
.stack-mini strong { color: #d7dbe3; font-size: .79rem; }
.stack-mini button, .recommendation-box button {
  width: 100%;
  min-height: 34px;
  margin-top: 9px;
  border: 1px solid #3b414d;
  border-radius: 7px;
  color: #d7dbe3;
  background: #20242d;
  font-size: .82rem;
  font-weight: 600;
}
.stack-mini button:hover, .recommendation-box button:hover { border-color: #555c69; color: white; }

.attack-stage { padding: 22px; background: radial-gradient(circle at 50% 0, rgba(238, 49, 36, .055), transparent 34rem), #0d0f14; overflow-y: auto; }
.scenario-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.scenario-overline { margin: 0 0 6px; color: #ff8178 !important; font-family: "IBM Plex Mono", monospace; font-size: .74rem !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.scenario-title-row h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -.035em; }
.scenario-title-row p { max-width: 760px; margin: 8px 0 0; color: #a5adba; font-size: .94rem; line-height: 1.5; }
.playback-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
.play-button { min-height: 39px; padding: 0 13px; border: 1px solid rgba(238, 49, 36, .52); border-radius: 8px; display: flex; align-items: center; gap: 8px; color: #fff; background: rgba(238, 49, 36, .15); font-size: .85rem; font-weight: 700; }
.play-button:hover { background: rgba(238, 49, 36, .23); }
.play-button span { color: #ff8178; font-size: .72rem; }
.icon-reset { width: 39px; height: 39px; border-radius: 8px; font-size: 1rem; }

.attack-path {
  margin: 22px 0 18px;
  padding: 3px 2px 9px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-color: #303440 transparent;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.attack-node {
  position: relative;
  flex: 1 0 144px;
  min-width: 144px;
  min-height: 122px;
  padding: 12px 12px 35px;
  border: 1px solid #292e39;
  border-radius: 10px;
  color: #c5cad4;
  background: #14171e;
  text-align: left;
  scroll-snap-align: start;
}

.attack-node:hover { border-color: #444a57; background: #191c24; }
.attack-node.active { border-color: #f05247; background: linear-gradient(145deg, rgba(238,49,36,.18), #17191f 65%); box-shadow: 0 0 0 2px rgba(238, 49, 36, .09), 0 12px 30px rgba(0,0,0,.22); transform: translateY(-2px); }
.attack-node.active::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 3px; border-radius: 10px 0 0 10px; background: var(--red); box-shadow: 0 0 15px rgba(238,49,36,.6); }
.attack-node.passed:not(.active) { border-color: #343a44; }
.node-index { display: block; color: #ff8178; font-family: "IBM Plex Mono", monospace; font-size: .75rem; font-weight: 700; }
.node-copy { display: block; margin-top: 7px; }
.node-copy strong { display: block; color: #e7eaf0; font-size: .84rem; line-height: 1.32; }
.node-copy small { display: block; margin-top: 5px; color: #858d9c; font-family: "IBM Plex Mono", monospace; font-size: .69rem; line-height: 1.35; }
.node-shift { position: absolute; left: 12px; right: 12px; bottom: 8px; min-height: 20px; padding-top: 7px; border-top: 1px solid #252a34; display: flex; align-items: center; gap: 6px; }
.node-shift i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; }
.node-shift b { color: #747c8a; font-size: .72rem; font-weight: 400; }
.node-shift i.blocked { background: #6bd59f; }
.node-shift i.constrained { background: #f0b45d; }
.node-shift i.detected { background: #57d2e4; }
.node-shift i.exposed { background: #ee5a51; }

.step-inspector { border: 1px solid var(--line); border-radius: 13px; background: #12141b; overflow: hidden; }
.attacker-move { padding: 18px 19px 17px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(120deg, rgba(238,49,36,.08), transparent 48%); }
.move-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #ff8178; font-family: "IBM Plex Mono", monospace; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.move-topline button { padding: 0; border: 0; color: #9fa7b4; background: transparent; font-family: "DM Sans", sans-serif; font-size: .78rem; text-transform: none; letter-spacing: 0; }
.move-topline button:hover { color: white; }
.attacker-move h4 { margin: 9px 0 6px; font-size: 1.2rem; }
.attacker-move > p { max-width: 820px; margin: 0; color: #aeb5c1; font-size: .92rem; line-height: 1.52; }
.technique-reference { margin-top: 13px; display: inline-flex; align-items: center; gap: 9px; }
.technique-reference span { padding: 4px 7px; border: 1px solid rgba(238,49,36,.3); border-radius: 5px; color: #ff928b; background: rgba(238,49,36,.09); font-family: "IBM Plex Mono", monospace; font-size: .73rem; }
.technique-reference strong { color: #cdd2dc; font-size: .84rem; }

.defense-comparison { display: grid; grid-template-columns: 1fr 1fr; }
.defense-column { min-width: 0; padding: 16px 18px 18px; }
.defense-column + .defense-column { border-left: 1px solid var(--line-soft); }
.defense-column.proposed { background: rgba(87, 210, 228, .018); }
.defense-title { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.defense-title > span { color: #a7aeba; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.outcome { padding: 3px 7px; border-radius: 5px; font-size: .72rem; white-space: nowrap; }
.outcome.blocked { color: #8ce5b7; background: rgba(107, 213, 159, .11); }
.outcome.constrained { color: #efc47f; background: rgba(240, 180, 93, .11); }
.outcome.detected { color: #82dce9; background: rgba(87, 210, 228, .11); }
.outcome.exposed { color: #ff8f87; background: rgba(238, 49, 36, .12); }
.defense-column > p { min-height: 38px; margin: 9px 0 12px; color: #959dac; font-size: .84rem; line-height: 1.48; }
.control-chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.control-chip { min-height: 29px; padding: 3px 7px 3px 4px; border: 1px solid #303541; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; color: #c8cdd6; background: #191c24; font-size: .74rem; }
.control-chip > span { width: 22px; height: 20px; border-radius: 4px; display: grid; place-items: center; color: white; background: var(--chip-color); font-family: "IBM Plex Mono", monospace; font-size: .54rem; font-weight: 700; }
.control-chip.new { border-color: rgba(87, 210, 228, .28); color: #cfeef2; background: rgba(87, 210, 228, .055); }
.control-empty { color: #858d9c; font-size: .79rem; font-style: italic; }

.outcome-panel { padding: 20px 17px; border-left: 1px solid var(--line-soft); background: #11131a; overflow-y: auto; }
.outcome-panel h3 { margin: 0; font-size: 1.1rem; }
.readiness-shift { margin-top: 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 9px; }
.readiness-shift > div { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #171a22; }
.readiness-shift > div.future { border-color: rgba(107,213,159,.25); background: rgba(107,213,159,.055); }
.readiness-shift span { display: block; color: #949caa; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.readiness-shift strong { display: inline-block; margin-top: 5px; font-size: 1.55rem; line-height: 1; }
.readiness-shift small { color: #838b99; font-size: .71rem; }
.shift-arrow { padding-bottom: 16px; color: #717887 !important; font-size: .9rem !important; }
.score-track { position: relative; height: 5px; margin: 13px 1px 18px; border-radius: 99px; background: #252934; overflow: hidden; }
.score-track span, .score-track i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.score-track i { background: rgba(107,213,159,.42); }
.score-track span { z-index: 1; background: #9097a5; }
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.outcome-grid > div { min-height: 70px; padding: 11px; border: 1px solid var(--line-soft); border-radius: 8px; background: #151820; }
.outcome-grid strong { display: block; font-size: 1.1rem; }
.outcome-grid span { display: block; margin-top: 4px; color: #9098a6; font-size: .73rem; line-height: 1.28; }
.recommendation-box { margin-top: 16px; padding: 13px; border: 1px solid var(--line-soft); border-radius: 9px; background: #151820; }
.recommendation-box > span { display: block; margin-bottom: 9px; color: #a2a9b5; font-size: .78rem; font-weight: 700; }
.recommendation-box > div { display: flex; flex-wrap: wrap; gap: 5px; }
.recommendation-box .control-chip { max-width: 100%; }
.report-cta { width: 100%; margin-top: 13px; padding: 13px; border: 1px solid rgba(238,49,36,.38); border-radius: 9px; display: block; color: white; background: linear-gradient(135deg, rgba(238,49,36,.17), rgba(238,49,36,.06)); text-align: left; }
.report-cta:hover { border-color: rgba(238,49,36,.62); background: rgba(238,49,36,.18); }
.report-cta span { display: block; font-size: .88rem; font-weight: 700; }
.report-cta small { display: block; margin-top: 5px; color: #a6adba; font-size: .76rem; line-height: 1.42; }
.model-note { margin: 13px 2px 0; color: #7e8694; font-size: .75rem; line-height: 1.48; }

.assessment-toolbar {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 180px 210px auto;
  align-items: end;
  gap: 10px;
  background: #11131a;
}

.assessment-toolbar label > span,
.preset-actions > span { display: block; margin-bottom: 5px; color: #7e8694; font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.assessment-toolbar input,
.assessment-toolbar select { width: 100%; height: 37px; padding: 0 10px; border: 1px solid #343945; border-radius: 8px; color: #e2e5eb; background: #191c24; font-size: .78rem; }
.assessment-toolbar input::placeholder { color: #69717f; }
.assessment-save-status { min-width: 92px; color: #7f8896; font-size: .67rem; text-align: right; white-space: nowrap; }
.assessment-save-status::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; display: inline-block; background: #59616e; }
.assessment-save-status.is-saved::before { background: #68d69f; box-shadow: 0 0 10px rgba(104,214,159,.48); }
.customer-logo-action { min-height: 36px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; font-size: .85rem; font-weight: 600; cursor: pointer; }
.customer-logo-action { position: relative; }
.customer-logo-action input { position: absolute; inset: 50% auto auto 50%; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.customer-logo-action:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.customer-logo-action:hover { color: white; border-color: #4d5360; background: #222630; }
.preset-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.preset-actions > span { flex: 0 0 100%; }
.preset-actions button { height: 29px; padding: 0 8px; border: 1px solid #333844; border-radius: 6px; color: #adb3bf; background: #191c24; font-size: .66rem; }
.preset-actions button:hover { color: white; border-color: #4b5260; }

.assessment-layout { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(540px, 1fr) minmax(470px, .88fr); overflow: hidden; }
.stack-builder { min-width: 0; min-height: 0; padding: 18px 18px 0; display: flex; flex-direction: column; border-right: 1px solid var(--line-soft); background: #0e1016; }
.builder-title { flex: 0 0 auto; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.builder-title h3, .results-heading h3 { margin: 0; font-size: 1.05rem; }
.demo-badge { padding: 4px 8px; border: 1px solid rgba(240,180,93,.25); border-radius: 5px; color: #dcb477; background: rgba(240,180,93,.07); font-size: .64rem; }
.stack-filter-row { flex: 0 0 auto; margin-bottom: 8px; display: grid; grid-template-columns: minmax(210px, 1fr) minmax(160px, .62fr) auto; align-items: end; gap: 8px; }
.stack-filter-row label > span { display: block; margin: 0 0 5px 2px; color: #7e8694; font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.stack-filter-row input,
.stack-filter-row select { width: 100%; height: 36px; padding: 0 10px; border: 1px solid #343945; border-radius: 8px; color: #e2e5eb; background: #191c24; font-family: "DM Sans", sans-serif; font-size: .78rem; }
.stack-filter-row input::placeholder { color: #69717f; }
.stack-filter-row input:focus,
.stack-filter-row select:focus { outline: 2px solid rgba(87,210,228,.45); outline-offset: 1px; border-color: #4a7180; }
.catalog-visible-count { min-width: 66px; min-height: 36px; padding: 0 8px; border: 1px solid #2c313c; border-radius: 8px; display: grid; place-items: center; color: #929aa8; background: #151820; font-size: .68rem; white-space: nowrap; }
.vendor-filter-strip { flex: 0 0 auto; margin: 0 0 8px; padding: 1px 0 5px; display: flex; gap: 5px; overflow-x: auto; scrollbar-color: #3a404c transparent; scrollbar-width: thin; }
.vendor-filter-strip button { flex: 0 0 auto; min-height: 31px; padding: 0 9px; border: 1px solid #303642; border-radius: 7px; color: #9fa7b5; background: #171a22; font-size: .72rem; font-weight: 650; white-space: nowrap; }
.vendor-filter-strip button:hover { color: white; border-color: #4a515f; background: #20242d; }
.vendor-filter-strip button.active { color: #eef2f6; border-color: rgba(87,210,228,.45); background: rgba(87,210,228,.09); box-shadow: inset 0 -2px 0 rgba(87,210,228,.52); }
.vendor-filter-strip button.fortinet-vendor { color: #ffb0aa; border-color: rgba(238,49,36,.34); background: rgba(238,49,36,.07); }
.vendor-filter-strip button.fortinet-vendor.active { color: white; border-color: #e9483d; background: linear-gradient(135deg, rgba(238,49,36,.3), rgba(238,49,36,.12)); box-shadow: inset 0 -2px 0 #ee493e; }
.vendor-filter-strip small { margin-left: 4px; color: #747d8b; font-family: "IBM Plex Mono", monospace; font-size: .57rem; }
.vendor-filter-strip button.active small { color: #c4cad3; }
.catalog-note { flex: 0 0 auto; margin: 0 1px 9px; color: #747d8b; font-size: .69rem; line-height: 1.4; }
.catalog-note strong:first-child { color: #bac1cc; }
.catalog-note strong:last-child { color: #ff8c84; }
.stack-columns-head { flex: 0 0 29px; min-height: 29px; padding: 0 10px; display: grid; grid-template-columns: 1fr 70px 70px; align-items: center; border: 1px solid var(--line-soft); border-radius: 8px 8px 0 0; color: #777f8e; background: #151820; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stack-columns-head span:not(:first-child) { text-align: center; }
.product-selector { min-height: 0; flex: 1; margin-bottom: 18px; border: 1px solid var(--line-soft); border-top: 0; border-radius: 0 0 8px 8px; overflow-y: auto; scrollbar-color: #303440 transparent; scrollbar-width: thin; }
.selector-group > p { position: sticky; top: 0; z-index: 1; margin: 0; padding: 8px 10px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #929aa8; background: #181b23; font-family: "IBM Plex Mono", monospace; font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.selector-group > p small { color: #626b79; font-family: "DM Sans", sans-serif; font-size: .58rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.selector-group.fortinet-group > p { color: #ff938b; background: linear-gradient(90deg, rgba(238,49,36,.12), #181b23 55%); }
.selector-group.inventory-group > p { color: #aab1bd; }
.selector-group:first-child > p { border-top: 0; }
.selector-row { min-height: 52px; padding: 6px 10px; display: grid; grid-template-columns: 1fr 70px 70px; align-items: center; border-bottom: 1px solid #1e212a; }
.selector-row:last-child { border-bottom: 0; }
.selector-row:hover { background: rgba(255,255,255,.018); }
.selector-product { min-width: 0; display: flex; align-items: center; gap: 9px; }
.selector-product > span:last-child { min-width: 0; }
.selector-mark { flex: 0 0 auto; width: 29px; height: 29px; border-radius: 7px; display: grid; place-items: center; color: white; background: var(--selector-color); font-family: "IBM Plex Mono", monospace; font-size: .57rem; font-weight: 700; }
.selector-product strong { display: block; color: #d9dde5; font-size: .76rem; }
.selector-product small { display: block; margin-top: 2px; color: #747c8a; font-size: .64rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-source { display: inline-flex; align-items: center; min-height: 32px; margin-top: 2px; color: #96d8ec; font-size: 13px; text-underline-offset: 3px; }
.catalog-source:focus-visible { outline: 2px solid #96d8ec; outline-offset: 3px; }
@media (max-width: 900px) { .catalog-source { min-height: 44px; font-size: 14px; } }
.check-cell { position: relative; min-height: 36px; display: grid; place-items: center; cursor: pointer; }
/* Keep the native focus target inside its visible cell and scrolling container. */
.check-cell input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.check-cell span { width: 20px; height: 20px; border: 1px solid #424956; border-radius: 5px; display: grid; place-items: center; background: #171a22; }
.check-cell input:checked + span { border-color: #e74b40; background: #d62a20; }
.check-cell input:checked + span::after { content: "✓"; color: white; font-size: .72rem; font-weight: 700; }
.check-cell input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check-cell input:disabled + span { opacity: .28; cursor: not-allowed; }
.inventory-only-cell { min-height: 36px; display: grid; place-items: center; color: #4f5664; font-size: .9rem; cursor: help; }
.selector-row.inventory-only .check-cell input:checked + span { border-color: #4f9a8f; background: #286e64; }
.catalog-empty { min-height: 150px; padding: 25px; display: grid; place-content: center; gap: 5px; color: #9098a6; text-align: center; }
.catalog-empty strong { color: #d5dae3; font-size: .86rem; }
.catalog-empty span { font-size: .74rem; }

.assessment-results { min-width: 0; min-height: 0; padding: 19px 20px 23px; background: #11131a; overflow-y: auto; scrollbar-color: #303440 transparent; scrollbar-width: thin; }
.results-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.results-heading > span { color: #7f8795; font-size: .67rem; }
.assessment-impact-hero { position: relative; margin-top: 13px; padding: 13px 15px; border: 1px solid rgba(87,210,228,.2); border-radius: 11px; display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 14px; background: radial-gradient(circle at 10% 20%, rgba(87,210,228,.1), transparent 150px), linear-gradient(135deg, #171b24, #14171e); overflow: hidden; }
.assessment-impact-hero::after { content: ""; position: absolute; inset: auto -25% -38px 34%; height: 48px; background: linear-gradient(90deg, transparent, rgba(87,210,228,.14), transparent); filter: blur(8px); transform: rotate(-7deg); }
.coverage-orbit { --score: 0; width: 66px; height: 66px; padding: 5px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#68d69f calc(var(--score) * 1%), rgba(255,255,255,.08) 0); box-shadow: 0 0 25px rgba(104,214,159,.12); }
.coverage-orbit::before { content: ""; grid-area: 1/1; width: 54px; height: 54px; border-radius: 50%; background: #13171e; }
.coverage-orbit > span { z-index: 1; grid-area: 1/1; text-align: center; }
.coverage-orbit strong, .coverage-orbit small { display: block; }
.coverage-orbit strong { color: #dff9ec; font: 700 1.35rem/1 "IBM Plex Mono", monospace; }
.coverage-orbit small { margin-top: 3px; color: #7f8c96; font-size: .51rem; text-transform: uppercase; }
.assessment-impact-hero > div:last-child { min-width: 0; }
.impact-label { color: #74d7e5; font-family: "IBM Plex Mono", monospace; font-size: .61rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.assessment-impact-hero h4 { margin: 4px 0; color: #eff2f6; font-size: .93rem; }
.assessment-impact-hero p { margin: 0; color: #939ca9; font-size: .71rem; line-height: 1.43; }
.headline-score { margin-top: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; background: #171a22; }
.headline-score > div > span { display: block; color: #858d9b; font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.headline-score strong { display: block; margin-top: 4px; font-size: 1.85rem; line-height: 1; }
.headline-score small { margin-left: 2px; color: #747c8a; font-size: .7rem; }
.headline-arrow { color: #666e7c; }
.headline-score .proposed-score { padding-left: 12px; border-left: 1px solid var(--line); }
.headline-score .proposed-score strong { color: #7ee0ad; }
.metric-strip { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.metric-strip > div { padding: 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: #151820; }
.metric-strip span { display: block; min-height: 28px; color: #818997; font-size: .63rem; line-height: 1.25; }
.metric-strip strong { display: block; margin-top: 3px; font-size: .91rem; }
.metric-strip strong b { color: #69717f; font-weight: 400; }
.metric-strip small { display: block; margin-top: 3px; color: #626a78; font-size: .57rem; }
.tactic-comparison, .selected-current, .selected-proposal { margin-top: 18px; }
.selected-current { padding: 11px; border: 1px solid var(--line-soft); border-radius: 8px; background: #151820; }
.selected-current .control-chip-list { max-height: 72px; margin-top: 9px; overflow: hidden; }
.selected-current .control-chip { font-size: .67rem; }
.mapping-evidence { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mapping-evidence > div { padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: #151820; }
.mapping-evidence span, .mapping-evidence small { display: block; color: #747d8b; font-size: .59rem; line-height: 1.25; }
.mapping-evidence strong { display: block; margin: 3px 0; color: #dce0e7; font-size: 1rem; }
.mapping-evidence > div:first-child { border-color: rgba(87,210,228,.22); background: rgba(87,210,228,.04); }
.mapping-evidence > div:first-child strong { color: #84dce8; }
.interruption-card { position: relative; margin-top: 9px; padding: 11px 12px; border: 1px solid rgba(104,214,159,.25); border-radius: 9px; display: grid; grid-template-columns: 14px 1fr; gap: 10px; background: rgba(104,214,159,.055); }
.interruption-pulse { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: #68d69f; box-shadow: 0 0 0 5px rgba(104,214,159,.09), 0 0 18px rgba(104,214,159,.45); animation: interruption-pulse 2.1s ease-in-out infinite; }
.interruption-card small, .interruption-card strong, .interruption-card div > span { display: block; }
.interruption-card small { color: #79d7a7; font: 600 .59rem/1.25 "IBM Plex Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.interruption-card strong { margin-top: 3px; color: #e4eee9; font-size: .77rem; }
.interruption-card div > span { margin-top: 2px; color: #87938d; font-size: .64rem; }
@keyframes interruption-pulse { 50% { opacity: .62; box-shadow: 0 0 0 9px rgba(104,214,159,0), 0 0 23px rgba(104,214,159,.62); } }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section-title-row h4, .selected-proposal h4 { margin: 0; color: #d6dae3; font-size: .78rem; }
.section-title-row > span { display: flex; align-items: center; gap: 5px; color: #777f8d; font-size: .61rem; }
.section-title-row i, .section-title-row b { width: 8px; height: 3px; display: inline-block; background: #737b89; }
.section-title-row b { margin-left: 3px; background: #55c891; }
.tactic-score-list { margin-top: 10px; display: grid; gap: 7px; }
.tactic-heat-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tactic-heat-cell { min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.065); border-radius: 7px; background: linear-gradient(145deg, rgba(85,200,145,calc(var(--heat) * .12)), rgba(255,255,255,.018)); }
.tactic-heat-cell > span { min-height: 27px; display: block; color: #a2aab7; font-size: .59rem; line-height: 1.2; }
.tactic-heat-cell strong { display: block; margin-top: 2px; color: #d7dce4; font: 600 .66rem/1 "IBM Plex Mono", monospace; }
.tactic-heat-cell strong b { margin: 0 3px; color: #5f6875; font-weight: 400; }
.tactic-heat-cell > div { position: relative; height: 4px; margin-top: 7px; border-radius: 99px; background: #242934; overflow: hidden; }
.tactic-heat-cell > div i, .tactic-heat-cell > div em { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.tactic-heat-cell > div em { background: rgba(104,214,159,.54); }
.tactic-heat-cell > div i { z-index: 1; height: 2px; top: 1px; background: #77808c; }
.tactic-heat-cell > small { display: block; margin-top: 4px; color: #67d39d; font-size: .53rem; }
.tactic-score-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tactic-score-label > span { color: #979eab; font-size: .65rem; }
.tactic-score-label strong { color: #aeb4bf; font-family: "IBM Plex Mono", monospace; font-size: .58rem; font-weight: 500; }
.tactic-score-label strong b { color: #5f6673; font-weight: 400; }
.tactic-score-label em { margin-left: 5px; color: #71d8a3; font-style: normal; }
.dual-track { position: relative; height: 4px; border-radius: 99px; background: #232732; overflow: hidden; }
.dual-track span, .dual-track i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.dual-track i { background: rgba(85,200,145,.45); }
.dual-track span { z-index: 1; height: 2px; top: 1px; background: #777f8d; }
.selected-proposal .control-chip-list { margin-top: 9px; }
.export-report { width: 100%; min-height: 52px; margin-top: 18px; padding: 10px 14px; border: 1px solid #f05b50; border-radius: 9px; display: flex; align-items: center; justify-content: space-between; color: white; background: linear-gradient(135deg, #dd2b20, #b91b15); text-align: left; }
.export-report:hover { background: linear-gradient(135deg, #ed392e, #c92018); transform: translateY(-1px); }
.export-report span { font-size: .82rem; font-weight: 700; }
.export-report small { color: #ffc0bb; font-size: .66rem; }
.assessment-trust-strip { margin-top: 17px; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(3, 1fr); }
.assessment-trust-strip > div { padding: 0 9px; border-right: 1px solid var(--line-soft); }
.assessment-trust-strip > div:first-child { padding-left: 0; }
.assessment-trust-strip > div:last-child { border: 0; }
.assessment-trust-strip span, .assessment-trust-strip strong { display: block; }
.assessment-trust-strip span { color: #68717f; font-size: .53rem; letter-spacing: .05em; text-transform: uppercase; }
.assessment-trust-strip strong { margin-top: 3px; color: #aeb6c2; font-size: .63rem; }
.assessment-result-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.assessment-result-actions .export-report { margin-top: 0; }
.present-assessment { min-height: 52px; padding: 10px 14px; border: 1px solid rgba(87,210,228,.42); border-radius: 9px; display: block; color: white; background: linear-gradient(135deg, rgba(87,210,228,.17), rgba(87,210,228,.055)); text-align: left; }
.present-assessment:hover { border-color: rgba(87,210,228,.68); background: rgba(87,210,228,.14); transform: translateY(-1px); }
.present-assessment span, .present-assessment small { display: block; }
.present-assessment span { font-size: .82rem; font-weight: 700; }
.present-assessment small { margin-top: 3px; color: #9ed9e1; font-size: .64rem; }

.app-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  max-width: calc(100vw - 32px);
  padding: 10px 14px;
  border: 1px solid #444b58;
  border-radius: 8px;
  color: #eef0f4;
  background: #20232c;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  font-size: .78rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .16s ease, transform .16s ease;
}
.app-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1250px) {
  .assessment-trigger { display: none; }
  .workshop-layout { grid-template-columns: 215px minmax(520px, 1fr) 265px; }
  .attack-stage { padding: 18px; }
  .outcome-panel { padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 1050px) {
  .experience-dialog { overflow-y: auto; }
  .experience-dialog > div { height: auto; min-height: 100%; }
  .workshop-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); overflow: visible; }
  .scenario-rail { grid-row: 1 / span 2; min-height: calc(100vh - 98px); }
  .attack-stage { overflow: visible; }
  .outcome-panel { border-left: 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; }
  .outcome-panel > .experience-kicker, .outcome-panel > h3 { grid-column: 1 / -1; }
  .outcome-panel .readiness-shift, .outcome-panel .score-track { grid-column: 1; }
  .outcome-panel .outcome-grid { grid-column: 1; }
  .outcome-panel .recommendation-box { grid-column: 2; grid-row: 3 / span 2; margin-top: 0; }
  .outcome-panel .report-cta, .outcome-panel .model-note { grid-column: 1 / -1; }
  .assessment-toolbar { grid-template-columns: 1fr 160px 190px; }
  .preset-actions { grid-column: 1 / -1; }
  .assessment-layout { display: block; overflow: visible; }
  .stack-builder { height: 760px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .assessment-results { overflow: visible; }
  .stack-setup-flow { display: block; overflow: visible; }
  .stack-setup-builder { height: 680px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stack-confirm-panel { min-height: 520px; overflow: visible; }
}

@media (max-width: 760px) {
  .workshop-trigger { padding: 0 11px; font-size: .72rem; }
  .experience-dialog { width: calc(100vw - 12px); height: calc(100vh - 20px); height: calc(100dvh - 20px); border-radius: 11px; }
  .experience-head { position: sticky; top: 0; z-index: 10; min-height: 64px; padding: 11px 13px; }
  .experience-head .quiet-action { display: none; }
  .experience-head h2 { font-size: 1rem; }
  .workshop-layout { display: block; }
  .scenario-rail { min-height: 0; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .scenario-list { display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
  .scenario-card { flex: 0 0 188px; scroll-snap-align: start; }
  .stack-mini { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 8px; }
  .stack-mini > div { display: block; }
  .stack-mini button { width: auto; margin: 0; padding: 0 9px; }
  .attack-stage { padding: 15px 12px; }
  .scenario-title-row { display: block; }
  .playback-actions { margin-top: 13px; }
  .defense-comparison { grid-template-columns: 1fr; }
  .defense-column + .defense-column { border-left: 0; border-top: 1px solid var(--line-soft); }
  .outcome-panel { display: block; padding: 18px 14px; }
  .outcome-panel .recommendation-box { margin-top: 15px; }
  .assessment-toolbar { grid-template-columns: 1fr; padding: 12px; }
  .preset-actions { grid-column: auto; }
  .stack-builder { height: 735px; padding-left: 11px; padding-right: 11px; }
  .stack-filter-row { grid-template-columns: minmax(180px, 1fr) minmax(140px, .7fr) auto; }
  .stack-columns-head, .selector-row { grid-template-columns: minmax(0, 1fr) 56px 46px; }
  .builder-title { align-items: flex-start; }
  .demo-badge { max-width: 105px; text-align: center; }
  .selector-product small { max-width: 200px; }
  .assessment-results { padding: 17px 13px 22px; }
  .stack-setup-builder { height: 650px; padding: 14px 11px 0; }
  .stack-setup-title { display: block; }
  .stack-setup-title > div:first-child > p:last-child { font-size: .79rem; }
  .setup-preset-actions { margin-top: 10px; }
  .setup-progress { font-size: .72rem; }
  .setup-progress i { width: 24px; }
  .stack-confirm-panel { min-height: 470px; padding: 20px 14px; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric-strip span { min-height: 0; }
  .export-report { display: block; }
  .export-report small { display: block; margin-top: 3px; }
}

@media (max-width: 470px) {
  .header-actions .version-pill { display: none; }
  .workshop-trigger { min-height: 36px; }
  .workshop-trigger .play-mark { display: none; }
  .stack-mini { grid-template-columns: 1fr 1fr; }
  .stack-mini button { grid-column: 1 / -1; }
  .scenario-title-row p { font-size: .9rem; }
  .headline-score { gap: 7px; }
  .headline-score strong { font-size: 1.55rem; }
  .selector-product small { max-width: 135px; }
  .stack-builder { height: 790px; }
  .stack-filter-row { grid-template-columns: 1fr 1fr; }
  .stack-catalog-search { grid-column: 1 / -1; }
  .catalog-visible-count { min-width: 0; }
  .catalog-note { font-size: .65rem; }
  .selector-group > p small { display: none; }
  .mapping-evidence { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .experience-dialog[open], .workshop-trigger:hover, .attack-node.active, .export-report:hover, .confirm-stack-button:hover { animation: none; transform: none; }
  .app-toast { transition: none; }
}
