.svc-scenario {
  --scene-tint: #e6dbfa;
  --scene-accent: #a98bdf;
  --scene-paper: #faf8fe;
  --scene-title: #472565;
  min-width: 0;
  width: 100%;
  padding: clamp(16px, 1.8vw, 27px);
  color: #281e35;
  background: var(--scene-paper);
  border: 1px solid #e5ddef;
  border-radius: 22px;
  text-align: left;
  box-shadow: 0 10px 32px #32185910;
  scroll-margin-block-start: 20px;
}
.svc-scenario * { box-sizing: border-box; }
.svc-scenario [hidden] { display: none !important; }
.svc-scenario--ai { --scene-tint: #e5e6fc; --scene-accent: #a6a7e5; }
.svc-scenario--audit, .svc-scenario--support, .svc-scenario--analytics { --scene-tint: #dfefed; --scene-accent: #9ccbc3; --scene-title: #234842; }
.svc-scenario--ads { --scene-tint: #f5e7d9; --scene-accent: #e3b69c; --scene-title: #553749; }
.svc-scenario--reputation, .svc-scenario--content { --scene-tint: #f1e3f0; --scene-accent: #d6afcc; }
.svc-scenario-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin: 0 0 17px; }
.svc-scenario .svc-scenario-head h2 {
  flex: 1 1 auto; min-width: 0; margin: 0;
  color: #271d34; font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.12; font-weight: 600; letter-spacing: -.035em;
  overflow-wrap: anywhere; text-wrap: balance;
}
.svc-scenario button { font-family: inherit; cursor: pointer; }
.svc-scenario .svc-scenario-replay {
  display: grid; place-items: center; width: 40px; height: 40px;
  padding: 0; flex: none; border: 1px solid #d9d0e4;
  color: #563275; background: white; border-radius: 50%;
}
.svc-scenario-replay svg, .svc-example-icon {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.svc-scenario-replay svg { width: 18px; height: 18px; }
.svc-scenario button:hover { border-color: #916bad; }
.svc-scenario :is(button, summary):focus-visible { outline: 3px solid #7645c3; outline-offset: 3px; }
.svc-scenario-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 13px; }
.svc-scenario-choices button {
  border: 1px solid #d8cfe1; color: #493a57; background: white; border-radius: 22px;
  font-size: 14px; line-height: 1.2; min-height: 37px; padding: 7px 13px;
}
.svc-scenario-choices [aria-pressed="true"] { background: #3b2452; color: white; border-color: #3b2452; }
.svc-example { margin: 0; padding: 0; min-width: 0; border: 0; background: transparent; }
.svc-example summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; padding: 9px 2px; color: #593479; font-size: 15px; font-weight: 600; list-style: none; }
.svc-example summary::-webkit-details-marker { display: none; }
.svc-example summary::after { content: "+"; }
.svc-example[open] summary::after { content: "−"; }
.svc-example-surface {
  padding: clamp(14px, 1.6vw, 23px); overflow: hidden; border-radius: 15px;
  background: linear-gradient(137deg, var(--scene-accent) -12%, var(--scene-tint) 83%);
}
.svc-scenario .svc-example-caption {
  margin: 0 0 11px; color: #3b2b4b; font-weight: 600; font-size: 13px; line-height: 1.35;
}
.svc-example-query {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 46px; padding: 9px 13px; border-radius: 24px; background: #fff; color: #382747;
  font-size: clamp(14px, 1.2vw, 17px); font-weight: 500; line-height: 1.38;
  box-shadow: 0 2px 8px #35234509;
}
.svc-example-query span { min-width: 0; overflow-wrap: anywhere; }
.svc-example-icon { width: 20px; height: 20px; flex: none; }
.svc-example-result {
  min-width: 0; margin-top: 10px; padding: clamp(13px, 1.4vw, 20px); background: #fff;
  border-radius: 12px; box-shadow: 0 3px 12px #4532560a;
}
.svc-scenario .svc-example-source, .svc-example-next span:not(.svc-example-arrow) {
  margin: 0; color: #62586b; font-size: 13px; font-weight: 400; line-height: 1.4;
}
.svc-scenario .svc-example-result h3 {
  margin: 5px 0 7px; color: var(--scene-title); font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 600; line-height: 1.18; letter-spacing: -.022em; overflow-wrap: anywhere;
}
.svc-scenario .svc-example-detail { margin: 0; font-size: 15px; line-height: 1.47; color: #52475c; }
.svc-example-next { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e8e1ed; }
.svc-example-arrow { display: grid; place-items: center; width: 29px; height: 29px; flex: none; border-radius: 50%; background: #e8f2cc; color: #34412c; font-size: 17px; line-height: 1; }
.svc-example-next strong { display: block; margin: 2px 0 0; color: #352940; font-size: 15px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.svc-scenario--ai .svc-example-query, .svc-scenario--reputation .svc-example-query {
  border-radius: 17px 17px 3px 17px; margin-left: auto; width: fit-content; max-width: 96%; background: #35274c; color: #fff;
}
.svc-scenario--ai .svc-example-result, .svc-scenario--reputation .svc-example-result { border-top-left-radius: 3px; }
.svc-scenario:is(.svc-scenario--audit, .svc-scenario--design, .svc-scenario--support, .svc-scenario--content, .svc-scenario--strategy, .svc-scenario--analytics) .svc-example-query {
  border-radius: 10px; background: #ffffffc9;
}
.svc-scenario--audit .svc-example-result, .svc-scenario--support .svc-example-result, .svc-scenario--analytics .svc-example-result { border-inline-start: 3px solid #487e73; }
@media (max-width: 520px) {
  .svc-scenario { padding: 13px; border-radius: 16px; }
  .svc-scenario-head { gap: 8px; margin-bottom: 12px; }
  .svc-scenario .svc-scenario-head h2 { font-size: 23px; }
  .svc-example-surface { padding: 11px; }
  .svc-example-query { padding: 8px 10px; gap: 7px; }
  .svc-example-result { padding: 12px; }
  .svc-scenario-choices button { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce), print {
  .svc-scenario .svc-scenario-replay { display: none; }
}
