/* Сохраняем палитру, шрифт и карточки существующего веб-макета. */
.walkthrough { font-size: 18px; line-height: 1.5; }
.walkthrough [hidden] { display: none !important; }
.walkthrough main { max-width: 1200px; margin: 32px auto; padding: 0 24px; }
.walkthrough .topbar { gap: 16px; padding: 16px 32px; }
.walkthrough .brand { font-size: 18px; }
.brand-divider { padding: 0 12px; opacity: .6; }
.walkthrough .badge { white-space: nowrap; }
.walkthrough .hint { color: #5c5450; font-size: 14px; }
.walkthrough p { margin: 8px 0 16px; }
.demo-notice { border-left: 4px solid #C75A42; padding: 0 0 0 16px; margin-bottom: 32px; }
.demo-notice p { font-size: 15px; color: #5c5450; margin-bottom: 0; }
.presentation { margin-bottom: 24px; }
.eyebrow { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #5c5450; }
.walkthrough .row-between { gap: 16px; }
.scene-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.scene-nav button { display: flex; align-items: center; gap: 12px; text-align: left; background: white; color: #5c5450; border: 1px solid #ddd4cd; padding: 12px; font-size: 14px; }
.scene-nav button span { font-size: 12px; }
.scene-nav button[aria-current="step"] { background: #C75A42; color: white; border-color: #C75A42; }
.scene-nav button:hover { border-color: #C75A42; }
.scene-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.scene-card { min-width: 0; min-height: 480px; }
.screen-meta { margin-bottom: 16px; }
.walkthrough .tag { color: #5c5450; background: #f4f2ef; border-radius: 8px; padding: 4px 8px; margin: 0; font-size: 11px; }
.walkthrough h1 { font-size: 28px; line-height: 1.25; margin-bottom: 12px; }
.walkthrough h2 { font-size: 21px; line-height: 1.35; margin: 8px 0 12px; }
.walkthrough h3 { font-size: 21px; line-height: 1.35; }
.lead { color: #5c5450; font-size: 16px; }
.promise, .result-note, .future-storage { background: #f9f6f2; border-radius: 8px; padding: 16px; margin: 24px 0; }
.promise p, .result-note p, .future-storage p { font-size: 15px; margin-bottom: 0; }
.walkthrough label { margin: 24px 0 8px; font-size: 16px; }
.walkthrough input[type=text], .walkthrough input[type=password], .walkthrough select { min-height: 48px; font: inherit; font-size: 16px; padding: 12px; color: #2b2420; background: white; border: 1px solid #ddd4cd; border-radius: 8px; width: 100%; }
.walkthrough input[aria-invalid=true] { border-color: #b3261e; }
.walkthrough button { min-height: 44px; font-size: 15px; line-height: 1.4; }
.walkthrough button:active { transform: translateY(1px); }
.walkthrough button:disabled { opacity: .55; cursor: default; }
.walkthrough button:focus-visible, .walkthrough input:focus-visible, .walkthrough select:focus-visible, .walkthrough summary:focus-visible, .walkthrough a:focus-visible { outline: 3px solid #2b2420; outline-offset: 4px; }
.walkthrough .link-button { color: #5c5450; font-size: 14px; }
.walkthrough .link-button:hover { color: #2b2420; background: transparent; }
.example-row { margin-top: 4px; }
.demo-control { border: 1px dashed #ddd4cd; padding: 16px; border-radius: 8px; margin: 24px 0; }
.demo-control label { margin-top: 0; font-size: 14px; }
.demo-control p { margin-bottom: 8px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.walkthrough .secondary { background: white; color: #5c5450; border: 1px solid #ddd4cd; }
.walkthrough .secondary:hover { background: #f9f6f2; border-color: #C75A42; }
.context-card { padding: 24px 0; }
.context-card dl { margin-bottom: 24px; }
.context-card dt { font-size: 13px; font-weight: 700; margin-top: 24px; }
.context-card dd { margin: 6px 0 0; color: #5c5450; font-size: 15px; }
.scope-note { border-top: 1px solid #ddd4cd; padding-top: 24px; font-size: 14px; color: #5c5450; }
.scope-note strong { color: #2b2420; }
.channel-line { margin: 16px 0; font-size: 14px; }
.channel-line p, .walkthrough code { overflow-wrap: anywhere; word-break: break-word; }
.progress-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 16px; }
.walkthrough progress { appearance: none; width: 100%; height: 8px; margin: 16px 0; border: 0; border-radius: 8px; overflow: hidden; background: #f4f2ef; color: #C75A42; }
.walkthrough progress::-webkit-progress-bar { background: #f4f2ef; }
.walkthrough progress::-webkit-progress-value { background: #C75A42; }
.walkthrough progress::-moz-progress-bar { background: #C75A42; }
.process-list { padding: 0; list-style: none; margin: 0; }
.process-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f0ebe5; }
.step-mark { width: 32px; height: 32px; border: 1px solid #ddd4cd; border-radius: 8px; display: grid; place-items: center; font-size: 14px; }
.process-list .active .step-mark { background: #C75A42; color: white; border-color: #C75A42; }
.process-list strong { font-size: 16px; }
.process-list p { font-size: 14px; color: #5c5450; margin: 4px 0 0; }
.sample-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-bottom: 1px solid #ddd4cd; padding: 8px 0 24px; }
.sample-stats strong { display: block; font-size: 24px; }
.sample-stats span { display: block; font-size: 12px; color: #5c5450; }
.download-panel { margin-top: 24px; }
.download-panel p { margin-bottom: 8px; }
.brief-list { margin-top: 24px; }
.brief { border-top: 1px solid #ddd4cd; padding: 24px 0; }
.brief h3 { margin: 8px 0 16px; }
.brief .brief-number { font-size: 12px; color: #5c5450; letter-spacing: .06em; text-transform: uppercase; }
.brief blockquote { margin: 8px 0 16px; border-left: 3px solid #C75A42; padding: 4px 0 4px 16px; }
.brief .field-title { font-size: 13px; font-weight: 700; color: #5c5450; margin: 16px 0 4px; }
.brief .field-text { font-size: 16px; }
.brief ol { font-size: 16px; margin: 8px 0; padding-left: 24px; }
.brief li { padding: 4px 0; }
.brief details { background: #f9f6f2; border-radius: 8px; padding: 12px 16px; margin-top: 16px; font-size: 14px; }
.brief summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.brief details p { margin: 12px 0 0; }
.brief .script-panel { background: white; border: 1px solid #ddd4cd; padding: 16px; margin: 0 0 24px; }
.brief .script-panel summary { color: #2b2420; font-size: 18px; padding: 8px 0; }
.brief .script-props { font-size: 15px; color: #5c5450; }
.script-block { border-top: 1px solid #f0ebe5; margin-top: 24px; padding-top: 8px; }
.brief .script-direction { font-size: 14px; color: #5c5450; }
.brief .script-spoken { font-size: 20px; line-height: 1.65; color: #2b2420; }
.future-jump { display: inline-block; color: #5c5450; font-size: 15px; padding: 12px 0; }
.future-panels { border-top: 1px solid #ddd4cd; padding-top: 24px; margin-top: 24px; scroll-margin-top: 24px; }
.future-window { border: 1px solid #ddd4cd; border-radius: 8px; padding: 16px; margin-top: 24px; min-width: 0; }
.future-window h3 { margin: 0; font-size: 20px; }
.future-window .row-between { flex-wrap: wrap; margin-bottom: 12px; }
.queue-preview { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; margin-bottom: 16px; }
.queue-preview caption { text-align: left; color: #5c5450; font-size: 12px; padding: 8px 0; }
.queue-preview th, .queue-preview td { text-align: left; vertical-align: top; padding: 12px 8px; border-bottom: 1px solid #ddd4cd; overflow-wrap: anywhere; }
.queue-preview th { background: #f9f6f2; }
.queue-preview th:first-child { width: 64%; }
.queue-preview button { display: block; text-align: left; }
.bot-preview-message { background: #f9f6f2; border-radius: 8px; padding: 16px; margin: 16px 0; font-size: 16px; }
.script-panel { scroll-margin-top: 24px; }
.walkthrough code { font-size: 14px; }
.walkthrough .error-box { background: #f9f6f2; border-color: #b3261e; }
.error-box h2 { color: #b3261e; }
.error-box p, .error-facts { font-size: 16px; }
.error-facts { padding-left: 24px; }
.error-facts li { margin: 8px 0; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; border-top: 1px solid #ddd4cd; padding-top: 24px; margin-top: 40px; }
.comparison p { font-size: 15px; color: #5c5450; }
.walkthrough footer { font-size: 12px; color: #5c5450; padding: 24px 0; }
.skip-link { position: absolute; left: 16px; top: -80px; background: white; color: #2b2420; padding: 12px; z-index: 2; }
.skip-link:focus { top: 8px; }
@media (max-width: 900px) {
  .scene-layout { grid-template-columns: minmax(0, 1fr); }
  .context-card { padding: 8px 0; }
  .context-card dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .context-card dt, .context-card dd { margin: 0; }
}
@media (max-width: 600px) {
  .walkthrough main { margin: 24px auto; padding: 0 16px; }
  .walkthrough .topbar { padding: 16px; flex-wrap: wrap; gap: 8px; }
  .walkthrough .brand { font-size: 16px; }
  .brand-divider { padding: 0 4px; }
  .walkthrough .card { padding: 24px 16px; }
  .walkthrough h1 { font-size: 24px; }
  .scene-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-nav button:last-child { grid-column: 1 / -1; }
  .scene-nav button { font-size: 13px; margin-top: 0; }
  .presentation > .row-between { align-items: flex-start; }
  .comparison { grid-template-columns: 1fr; gap: 16px; }
  .context-card dl { grid-template-columns: 1fr; gap: 8px; }
  .context-card dt { margin-top: 8px; }
  .button-row { flex-direction: column; }
  .sample-stats { gap: 8px; }
  .sample-stats strong { font-size: 21px; }
}
