@font-face {
  font-family: "Support Sans";
  src: url("/static/fonts/noto-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Support Sans";
  src: url("/static/fonts/noto-sans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #102f28;
  --paper: #f5f6f0;
  --ink: #223a31;
  --muted: #617067;
  --sage: #dfe8d7;
  --action: #285346;
  --line: #7f907d;
  --danger: #b6473f;
}

* { box-sizing: border-box; }
html { background: var(--forest); scrollbar-gutter: stable; }
body { margin: 0; font-family: "Support Sans", "Segoe UI", sans-serif; color: var(--ink); background: var(--forest); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.support-shell { min-height: 100svh; background: var(--forest); }
.support-header { display: grid; grid-template-columns: 38% 1fr; align-items: center; min-height: 124px; }
.support-brand { display: flex; align-items: center; gap: 14px; padding: 0 40px 0 clamp(28px, 4.5vw, 72px); color: #f1f5ec; text-decoration: none; font-size: 15px; font-weight: 600; }
.support-brand img { flex: none; width: 44px; height: 44px; object-fit: contain; }
.support-brand > span { max-width: 180px; }
.brand-bilingual { display: grid; gap: 4px; }
.brand-bilingual [lang="ru"] { color: #c3d2c7; font-size: 12px; font-weight: 400; }
.support-languages { display: flex; justify-content: flex-end; gap: 8px; padding-right: clamp(28px, 4.5vw, 72px); }
.support-languages a { display: grid; place-items: center; min-width: 48px; min-height: 44px; text-decoration: none; color: #c3d2c7; font-size: 12px; font-weight: 600; letter-spacing: .04em; border-radius: 6px; }
.support-languages [aria-current] { background: #d9efb5; color: var(--ink); }
.support-main { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; min-height: calc(100svh - 124px); }
.support-intro { display: flex; flex-direction: column; min-width: 0; color: #f1f5ec; padding: 70px clamp(28px, 4.5vw, 72px) 48px; }
h1 { margin: 0; max-width: 10.5em; font-size: clamp(36px, 3.4vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; overflow-wrap: break-word; }
.support-description { max-width: 30ch; margin: 28px 0 0; font-size: 17px; line-height: 1.6; color: #c3d2c7; }
.intro-translation { margin-top: 36px; }
.heading-translation { margin: 0; max-width: 13em; font-size: 30px; line-height: 1.25; letter-spacing: -.035em; }
.support-context { grid-column: 1; grid-row: 2; max-width: 45ch; margin: 0; padding: 32px clamp(28px, 4.5vw, 72px) 48px; color: #b5c9bd; font-size: 14px; line-height: 1.65; }
.support-back { display: inline-block; margin-top: 28px; color: #d4e6c9; font-size: 14px; text-underline-offset: 5px; }
.support-work { grid-column: 2; grid-row: 1 / 3; align-self: start; width: calc(100% - 56px); max-width: 760px; margin: 20px auto 48px; padding: 44px clamp(28px, 4vw, 64px) 48px; border: 1px solid #e0e8d8; border-radius: 24px; background: linear-gradient(155deg, #fafbf5, var(--paper) 70%); box-shadow: 0 28px 70px -24px #031b14a6, inset 0 1px 0 #fff; }
.support-options { display: grid; gap: 20px; }
.support-option { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 22px; padding: 22px 18px; margin-inline: -18px; border-radius: 12px; text-decoration: none; transition: background-color 240ms ease; }
.option-symbol { display: grid; place-items: center; width: 84px; height: 84px; color: var(--action); }
.option-symbol svg { width: 100%; height: 100%; }
.support-option:focus-visible { background: #e8eddf; }
.category-view .support-work { perspective: 1000px; }
.topic-artwork { position: relative; flex: none; width: min(100%, 340px); aspect-ratio: 1.2; margin-top: 36px; pointer-events: none; }
.topic-object { --object-turn: 0deg; --object-lift: 0px; --object-scale: 1; position: absolute; width: 58%; transform: translateY(var(--object-lift)) rotate(var(--object-turn)) scale(var(--object-scale)); transition: transform 480ms cubic-bezier(.2,.8,.2,1), opacity 360ms ease, filter 480ms ease; filter: drop-shadow(0 16px 13px #001e1552); }
.topic-illustration { display: block; width: 100%; height: 100%; overflow: visible; }
.topic-object-problem { --object-turn: -12deg; top: 5%; left: -4%; }
.topic-object-setup { --object-turn: 12deg; top: 38%; left: 38%; }
.topic-object-other { --object-turn: 12deg; top: -5%; left: 53%; width: 43%; }
.topic-artwork:where(:not(.is-selected):not([data-active-topic=""])) .topic-object { opacity: .42; --object-scale: .94; }
.topic-artwork[data-active-topic="problem"] .topic-object-problem,
.topic-artwork[data-active-topic="setup"] .topic-object-setup,
.topic-artwork[data-active-topic="other"] .topic-object-other { --object-lift: -9px; --object-scale: 1.08; opacity: 1; filter: drop-shadow(0 22px 17px #00180d80); }
.setting-knob, .calendar-mark, .message-ink circle { transition: transform 480ms cubic-bezier(.2,.8,.2,1); }
.calendar-mark { transform-origin: 86px 126px; }
.topic-artwork[data-active-topic="problem"] .calendar-mark,
.support-option[data-topic="problem"]:is(:hover, :focus-visible) .calendar-mark { transform: rotate(-8deg) scale(1.09); }
.topic-artwork[data-active-topic="setup"] .setting-knob-first,
.support-option[data-topic="setup"]:is(:hover, :focus-visible) .setting-knob-first { transform: translateX(24px); }
.topic-artwork[data-active-topic="setup"] .setting-knob-last,
.support-option[data-topic="setup"]:is(:hover, :focus-visible) .setting-knob-last { transform: translateX(-28px); }
.topic-artwork[data-active-topic="other"] .message-ink circle:nth-child(2),
.support-option[data-topic="other"]:is(:hover, :focus-visible) .message-ink circle:nth-child(2) { transform: translateY(-7px); }
.topic-artwork[data-active-topic="other"] .message-ink circle:last-child,
.support-option[data-topic="other"]:is(:hover, :focus-visible) .message-ink circle:last-child { transform: translateY(-3px); }
.option-symbol .topic-illustration { filter: drop-shadow(0 3px 2px #193c301c); transition: transform 380ms cubic-bezier(.2,.8,.2,1), filter 380ms ease; }
.support-option:is(:hover, :focus-visible) .topic-illustration { transform: rotate(-5deg) translateY(-3px); filter: drop-shadow(0 7px 4px #193c3026); }
.topic-artwork.is-selected { aspect-ratio: 1.45; margin-top: 32px; }
.topic-artwork.is-selected .topic-object { display: none; top: -5%; left: 11%; width: 74%; }
.topic-artwork.is-selected[data-active-topic="problem"] .topic-object-problem,
.topic-artwork.is-selected[data-active-topic="setup"] .topic-object-setup,
.topic-artwork.is-selected[data-active-topic="other"] .topic-object-other { display: block; }
.topic-artwork.is-selected[data-active-topic] .topic-object { --object-scale: 1; --object-lift: 0px; }
.support-option h2 { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: -.025em; }
.support-option p { margin: 10px 0 0; max-width: 36ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.support-form { display: grid; gap: 28px; }
.support-field label { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.support-field label, .field-help { transition: color 220ms ease; }
.support-field:focus-within label { color: var(--action); }
.support-field:focus-within .field-help { color: #445d4d; }
.support-field .contact-label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 3px; }
.support-field textarea, .support-field input { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); padding: 16px; font-size: 16px; line-height: 1.5; transition: border-color 160ms ease, box-shadow 160ms ease; }
.support-field textarea:focus, .support-field input:focus { outline: 2px solid var(--action); outline-offset: 2px; border-color: var(--action); box-shadow: 0 0 0 6px #2853460d; }
.support-field textarea { min-height: 188px; resize: vertical; }
.support-field input { min-height: 52px; }
.field-help { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.field-optional { color: var(--muted); font-size: 13px; font-weight: 400; }
.support-button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; justify-content: center; align-items: center; gap: 12px; justify-self: start; min-height: 50px; max-width: 100%; padding: 13px 24px; border: 0; border-radius: 9px; color: #f7f9f1; background: linear-gradient(180deg, #346449, #244e39); box-shadow: inset 0 1px 0 #c7e7b326, 0 3px 0 #153b2b; text-decoration: none; text-align: center; font-size: 15px; font-weight: 600; cursor: pointer; transition: box-shadow 220ms ease; }
.support-button::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: var(--forest); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.button-label { display: inline-block; transition: transform 180ms ease; }
.button-icon { display: inline-flex; flex: none; width: 20px; height: 20px; transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.button-icon svg { width: 100%; height: 100%; }
.support-button:focus-visible::after { opacity: 1; }
.support-button:active:not(:disabled) { box-shadow: inset 0 1px 0 #c7e7b326, 0 1px 0 #153b2b; }
.support-button:active:not(:disabled) .button-label { transform: translateY(1px); }
.support-button:disabled { cursor: wait; }
.support-button.is-pending { min-width: min(100%, var(--submit-width, 0px)); }
.support-button.is-pending::before { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 36%; height: 2px; background: #d9efb5; pointer-events: none; animation: dispatch-track 1100ms ease-in-out infinite; }
.support-button.is-pending .button-icon { animation: dispatch-flight 1100ms ease-in-out infinite; }
.command-example { margin: 0; overflow: hidden; border: 1px solid #c6d1c0; border-radius: 14px; background: #e6ebdf; }
.command-example figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: #d8e2d1; font-size: 16px; font-weight: 600; }
.example-caption { color: #52664f; font-size: 12px; font-weight: 400; white-space: nowrap; }
.example-conversation { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 242px; padding: 24px; }
.example-message { align-self: flex-end; max-width: 80%; padding: 14px 24px; border-radius: 12px 12px 3px 12px; background: #c8dbb9; transition: opacity 250ms ease, transform 580ms cubic-bezier(.18,1.08,.22,1); }
.example-caption-actions { display: flex; align-items: center; gap: 12px; }
.example-toggle { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 6px; border: 1px solid #8f9f86; border-radius: 50%; background: transparent; color: var(--action); cursor: pointer; }
.example-toggle span { display: flex; }
.example-toggle svg { width: 20px; height: 20px; }
.example-toggle .play-glyph { display: none; }
.example-toggle[aria-pressed="true"] .play-glyph { display: flex; }
.example-toggle[aria-pressed="true"] .pause-glyph { display: none; }
.example-reply { display: flex; align-items: center; align-self: flex-start; gap: 12px; max-width: 90%; padding: 15px 18px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--action); transform: translateZ(var(--reply-depth, 0px)); transition: opacity 400ms ease, transform 500ms cubic-bezier(.2,.75,.25,1); }
.example-reply > svg { flex: none; width: 22px; height: 22px; }
.example-reply > span { display: grid; gap: 4px; font-size: 15px; text-underline-offset: 3px; text-decoration: underline; }
.example-reply [lang="ru"] { font-size: 12px; color: var(--muted); }
.example-bot-typing { position: absolute; left: 24px; bottom: 30px; display: flex; gap: 5px; padding: 15px 18px; border-radius: 14px 14px 14px 4px; background: #fff; opacity: 0; transform: translateZ(var(--reply-depth, 0px)); transition: opacity 220ms ease; }
.example-bot-typing i { width: 6px; height: 6px; border-radius: 50%; background: #718d72; }
.support-command { font-family: ui-monospace, Consolas, monospace; font-size: 26px; line-height: 1.2; letter-spacing: -.04em; }
.example-composer { display: flex; align-items: center; gap: 10px; padding: 12px; }
.example-input { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; min-height: 44px; padding: 10px 16px; border-radius: 24px; background: #fff; font-size: 13px; color: var(--muted); }
.example-typing { position: absolute; inset-inline-start: 16px; opacity: 0; color: var(--ink); font-family: ui-monospace, Consolas, monospace; font-size: 18px; transition: opacity 160ms ease; }
.example-placeholder { transition: opacity 160ms ease; }
.example-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--action); color: #fff; }
.example-send svg { width: 22px; height: 22px; }
.command-tools { margin-top: 14px; }
.command-copy.command-copy-action { display: flex; width: auto; height: auto; min-height: 44px; margin-left: 0; padding: 10px 14px; gap: 10px; font-size: 13px; }
.command-copy-action > span:last-child { flex-wrap: wrap; }
.entry-guide { display: grid; gap: 32px; margin: 34px 0 0; padding: 0; list-style: none; }
.entry-guide li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 16px; }
.guide-number { position: relative; display: block; padding-top: 1px; color: var(--action); font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.06em; font-variant-numeric: lining-nums tabular-nums; transform-origin: 50% 75%; transition: transform 380ms cubic-bezier(.2,.8,.2,1), text-shadow 380ms ease; }
.guide-number::after { content: ""; position: absolute; top: calc(1em + 5px); inset-inline-start: 2px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0; transform: scaleX(.25); transform-origin: 0 50%; transition: transform 380ms ease, opacity 380ms ease; }
.entry-guide p { margin: 0; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.entry-guide p[lang="ru"] { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.entry-guide strong { font-weight: 700; transition: color 300ms ease; }
.guide-commands { display: inline-block; white-space: nowrap; }
.entry-guide code { padding: 2px 6px 3px; border: 1px solid #a4b49a; border-radius: 5px; background: #e3e9dc; font-family: ui-monospace, Consolas, monospace; font-size: .92em; white-space: nowrap; transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease; }
.command-copy { display: grid; place-items: center; flex: none; width: 48px; height: 48px; margin-left: 16px; border: 1px solid #7f907d; border-radius: 8px; background: transparent; color: var(--action); cursor: pointer; transition: background-color 160ms ease, transform 160ms ease; }
.command-copy span { display: flex; }
.command-copy .copy-done { display: none; }
.command-copy[data-copy-state="success"] { background: var(--action); border-color: var(--action); color: #fff; }
.command-copy[data-copy-state="success"] .copy-symbol { display: none; }
.command-copy[data-copy-state="success"] .copy-done { display: flex; }
.command-copy:active { transform: scale(.95); }
.command-copy svg { width: 23px; height: 23px; }
.copy-done svg { stroke-dasharray: 32; animation: check-ink 360ms ease both; }
.has-press-feedback { position: relative; overflow: hidden; isolation: isolate; }
.has-press-feedback .press-ripple { position: absolute; display: block; border-radius: 50%; background: currentColor; opacity: 0; transform: scale(0); pointer-events: none; }

/* The guide and the real command example share one full-width composition. */
.entry-view .support-header { display: flex; min-height: 108px; max-width: 1440px; margin: 0 auto; padding: 0 clamp(28px, 5vw, 76px); }
.entry-view .support-brand { padding: 0; }
.entry-view .support-brand > span { max-width: 240px; }
.entry-view .support-main { grid-template-columns: 1.04fr 1fr; grid-template-rows: auto auto; gap: 54px 64px; align-content: start; align-items: center; max-width: 1440px; min-height: calc(100svh - 108px); margin: 0 auto; padding: 42px clamp(28px, 5vw, 76px) 56px; }
.entry-view .support-intro { padding: 0; }
.entry-view h1 { max-width: none; color: #d9efb5; font-size: clamp(46px, 4.8vw, 70px); line-height: 1.05; letter-spacing: -.05em; }
.entry-view .support-description { max-width: 36ch; margin-top: 22px; font-size: 17px; line-height: 1.6; }
.entry-view .heading-translation { max-width: 22ch; font-size: clamp(25px, 2.2vw, 32px); font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.entry-view .intro-translation { margin-top: 32px; }
.entry-view .intro-translation .support-description { margin-top: 12px; }
.entry-view .support-work, .command-instructions { display: contents; }
.entry-scene { --scene-pitch: 7deg; --scene-yaw: -7deg; --scene-roll: 2deg; --message-depth: 42px; --reply-depth: 18px; position: relative; grid-column: 2; grid-row: 1; min-width: 0; padding: 24px 12px 0; perspective: 1400px; }
.entry-scene::before { content: ""; position: absolute; inset: -12% -4% 12%; border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse at 55% 45%, #b9e39629, #6ba57509 55%, transparent 72%); opacity: .55; filter: blur(14px); transition: opacity 800ms ease, transform 1100ms ease; }
.entry-scene[data-phase="received"]::before { opacity: 1; transform: scale(1.13); }
.entry-scene.is-ready { animation: scene-arrive 750ms cubic-bezier(.2,.75,.25,1) both; }
.entry-view .command-example { position: relative; width: 100%; margin: 0; padding: 7px; overflow: visible; border: 1px solid #9cb397; border-radius: 26px; background: linear-gradient(140deg, #809b7e, #294d3c 24%, #6b8a6d 56%, #1c3c2f 80%, #8ca588); box-shadow: inset 0 1px 0 #e0f4c76b, 0 28px 55px -22px #010f0ad9; transform: rotateX(calc(var(--scene-pitch) + var(--tilt-x, 0deg))) rotateY(calc(var(--scene-yaw) + var(--tilt-y, 0deg))) rotateZ(var(--scene-roll)); transform-style: preserve-3d; transition: transform 500ms cubic-bezier(.2,.75,.25,1); }
.entry-view .command-example::before { content: ""; position: absolute; inset: -1px; z-index: -1; border: 1px solid #66836b; border-radius: 26px; background: #1d3b2e; transform: translateZ(-11px); }
.entry-scene.is-tracking .command-example { transition-duration: 160ms; }
.entry-view .command-example[data-phase] { animation: chat-float 6800ms ease-in-out infinite; animation-play-state: paused; }
.entry-view .command-example.is-playing { animation-play-state: running; }
.entry-view .command-example figcaption { min-height: 66px; padding: 15px 22px; border-radius: 18px 18px 0 0; background: #f0f5e8; box-shadow: inset 0 1px 0 #fff; }
.entry-view .example-conversation { min-height: 242px; padding: 24px 26px; background: radial-gradient(ellipse at top left, #f2f6e9, #e4ecdc 75%); transform-style: preserve-3d; }
.entry-view .example-message { padding: 14px 24px; border: 1px solid #e0f1c7; border-radius: 16px 16px 4px 16px; background: linear-gradient(150deg, #e0f2c4, #c8e4a5); box-shadow: 0 12px 24px -10px #234b3973, inset 0 1px 0 #f0ffdf; transform: translateZ(var(--message-depth, 34px)); }
.entry-view .example-reply { border: 1px solid #e4ebdc; box-shadow: 0 10px 22px -12px #1a3a2a66, inset 0 1px 0 #fff; }
.entry-view .support-command { font-size: 40px; }
.entry-view .example-composer { padding: 14px; border-radius: 0 0 18px 18px; background: #e6ecde; }
.entry-view .example-input { min-height: 48px; }
.entry-view .example-send { width: 48px; height: 48px; box-shadow: inset 0 1px 0 #b5dab044, 0 2px 0 #123b2b; }
.entry-view .command-tools { display: flex; justify-content: center; margin-top: 30px; }
.entry-view .command-copy { color: #d9efb5; border-color: #789b78; background: #d9efb50a; }
.entry-view .command-copy.command-copy-action { min-height: 48px; padding-inline: 18px; font-size: 14px; box-shadow: inset 0 1px 0 #d9efb512; }
.command-copy-action code { font: inherit; }
.entry-view .command-copy[data-copy-state="success"] { color: var(--forest); border-color: #d9efb5; background: #d9efb5; }
.entry-view .entry-guide { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0; }
.entry-view .guide-number { color: #d9efb5; }
.entry-view .entry-guide p { color: #f1f5ec; }
.entry-view .entry-guide p[lang="ru"] { color: #b6cdb9; }
.entry-view .entry-guide p[lang="ru"] strong { color: #dfe9de; }
.entry-view .entry-guide code { color: #d9efb5; border-color: #587653; background: #234638; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.entry-guide[data-step="1"] li:nth-child(1) .guide-number,
.entry-guide[data-step="2"] li:nth-child(2) .guide-number,
.entry-guide[data-step="3"] li:nth-child(3) .guide-number { transform: translateY(-3px) scale(1.13); text-shadow: 0 0 24px #d9efb54d; }
.entry-guide[data-step="1"] li:nth-child(1) .guide-number::after,
.entry-guide[data-step="2"] li:nth-child(2) .guide-number::after,
.entry-guide[data-step="3"] li:nth-child(3) .guide-number::after { opacity: 1; transform: scaleX(1); }
.entry-guide[data-step="1"] li:nth-child(1) [lang="kk"] strong,
.entry-guide[data-step="2"] li:nth-child(2) [lang="kk"] strong,
.entry-guide[data-step="3"] li:nth-child(3) [lang="kk"] strong { color: #d9efb5; }
.entry-view .entry-guide[data-step="2"] li:nth-child(2) code { color: var(--forest); background: #d9efb5; border-color: #d9efb5; }
.copy-feedback { position: fixed; z-index: 10; right: 24px; bottom: 24px; max-width: min(420px, calc(100% - 48px)); margin: 0; padding: 14px 18px; border: 1px solid #4f7360; border-radius: 8px; background: var(--forest); color: #f1f5ec; font-size: 13px; line-height: 1.6; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.copy-feedback:not(:empty) { opacity: 1; transform: translateY(0); }
.language-options { display: grid; gap: 22px; }
.language-option { display: block; padding: 22px 0; text-underline-offset: 9px; text-decoration-thickness: 1px; font-size: 36px; font-weight: 500; letter-spacing: -.035em; }
.result-symbol { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--sage); color: var(--action); }
.result-symbol svg { width: 34px; height: 34px; }
.result-description { max-width: 34ch; margin: 28px 0 32px; font-size: 20px; line-height: 1.6; }
.support-shell.sent-view { background: #edf1e4; }
html.sent-document { background: linear-gradient(var(--forest) 0 96px, #edf1e4 96px); scrollbar-color: #8b9e7c #edf1e4; }
.sent-view .support-header { min-height: 96px; background: var(--forest); }
.sent-view .support-main { position: relative; overflow: clip; max-width: 1440px; min-height: calc(100svh - 96px); margin: 0 auto; padding: 32px clamp(28px, 5vw, 76px) 40px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(330px, 1fr) auto; gap: 24px 0; }
.sent-view .support-intro { position: relative; z-index: 2; grid-column: 1 / -1; grid-row: 1; align-self: center; padding: 0; color: var(--forest); background: transparent; }
.sent-view h1 { max-width: none; color: var(--forest); font-size: clamp(64px, 9.2vw, 136px); line-height: .96; letter-spacing: -.067em; -webkit-text-stroke: 3px #edf1e4; paint-order: stroke fill; }
.sent-title-line { display: block; }
.sent-title-line:last-child { margin-left: clamp(24px, 11vw, 158px); }
.sent-view .support-description { position: relative; max-width: 34ch; margin: 24px 0 0; color: #49634e; background: #edf1e4; font-size: 18px; line-height: 1.65; }
.sent-view .support-work, .sent-view .result-sent { display: contents; }
.dispatch-art { --flight-from-x: -155px; --flight-from-y: 155px; --flight-apex-x: 25px; --flight-apex-y: -45px; --flight-apex-scale: 1.08; position: relative; z-index: 1; grid-column: 7 / -1; grid-row: 1; align-self: stretch; min-height: 330px; pointer-events: none; }
.dispatch-plane { position: absolute; inset: -54px -60px -24px -50px; transform: rotate(-6deg); transform-origin: 50% 55%; }
.dispatch-plane svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dispatch-art::after { content: ""; position: absolute; bottom: 3%; right: 6%; width: 62%; height: 22px; border-radius: 50%; background: #28513933; filter: blur(18px); transform: rotate(-12deg); }
.dispatch-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; stroke: #749164; stroke-width: 2; stroke-linecap: round; opacity: 0; }
.support-receipt { position: relative; isolation: isolate; z-index: 3; grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); align-items: center; gap: 44px; width: 100%; min-height: 138px; margin: 0; padding: 24px 36px; overflow: hidden; border: 1px solid #d1dec5; background: #fcfdf7; }
.support-receipt::before, .support-receipt::after { content: ""; position: absolute; top: calc(50% - 12px); width: 24px; height: 24px; border: 1px solid #d1dec5; border-radius: 50%; background: #edf1e4; }
.support-receipt::before { left: -13px; }
.support-receipt::after { right: -13px; }
.receipt-info { min-width: 0; grid-column: 1; grid-row: 1; }
.receipt-label { display: block; color: var(--muted); font-size: 14px; }
.receipt-number-row { display: flex; align-items: flex-start; gap: 16px; min-width: 0; min-height: 44px; margin-top: 10px; }
.receipt-copy-slot { display: block; flex: none; width: 44px; height: 44px; }
.support-receipt strong { flex: 0 1 auto; min-width: 0; align-self: center; overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; font-size: clamp(28px, 2.9vw, 40px); font-weight: 500; line-height: 1.3; }
.support-receipt strong.is-long { font-size: clamp(20px, 2vw, 28px); line-height: 1.5; }
.receipt-copy.command-copy { width: 44px; height: 44px; margin: 0; border-color: #a4b693; background: #e7efda; }
.receipt-copy.command-copy[data-copy-state="success"] { border-color: var(--action); background: var(--action); color: #fff; }
.receipt-copy:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.receipt-copy:active { transform: none; }
.receipt-copy svg { width: 20px; height: 20px; }
.receipt-tear { position: absolute; top: 16px; bottom: 16px; right: 38%; border-left: 1px dashed #a9ba99; }
.sent-view .success-return { grid-column: 2; grid-row: 1; justify-self: end; max-width: 24ch; color: var(--forest); font-size: 15px; line-height: 1.65; }
.support-text-link { text-underline-offset: 5px; font-size: 15px; }
.support-back, .support-text-link, .language-option { text-decoration-thickness: 1px; transition: text-decoration-color 160ms ease; }
.support-languages a { transition: color 160ms ease, background-color 160ms ease; }
.error-result .result-symbol { background: #f2e2dc; color: var(--danger); }
.notfound-code { display: flex; align-items: center; gap: 6px; font-size: clamp(92px, 9vw, 126px); font-weight: 700; line-height: 1; letter-spacing: -.06em; color: var(--action); perspective: 700px; }
.notfound-digit { position: relative; display: block; transform-origin: 50% 80%; }
.notfound-digit:nth-child(2)::after { content: ""; position: absolute; top: 24%; left: 38%; right: 30%; height: 2px; background: var(--action); box-shadow: 0 0 5px #28534655; opacity: 0; pointer-events: none; }
.lost-page { position: relative; width: min(100%, 350px); padding: 28px 26px 32px; border: 1px solid #d4dfca; border-radius: 8px; background: #fcfdf8; transform: rotate(-4deg); box-shadow: 7px 9px 0 #e0e7d7; }
.lost-page::after { content: ""; position: absolute; top: -1px; right: -1px; width: 28px; height: 28px; border-bottom-left-radius: 4px; background: linear-gradient(45deg, #dce6d3 49%, #f5f6f0 50%); }
.lost-page .notfound-code { justify-content: center; font-size: clamp(80px, 8.6vw, 116px); }
.lost-route { display: block; width: 100%; margin-top: 14px; overflow: visible; color: #819975; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.route-track { stroke-dasharray: 4 6; }
.lost-route circle { fill: #fcfdf8; }
.route-break { color: #285346; stroke-width: 2.5; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px 18px; background: #fff; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #91ae83; outline-offset: 5px; }
#support-content:focus { outline: none; }
::selection { color: #fff; background: var(--action); }

@media (hover: hover) {
  .support-option:hover { background: #e8eddf; }
  .support-button:hover:not(:disabled)::after { opacity: 1; }
  .command-copy:hover { background: #c9d8c0; }
  .command-copy[data-copy-state="success"]:hover { background: var(--forest); }
  .receipt-copy.command-copy:not([data-copy-state="success"]):hover { background: #dce9c9; }
  .entry-view .command-copy:hover { background: #d9efb5; color: var(--forest); border-color: #d9efb5; transform: translateY(-2px); }
  .entry-view .command-copy[data-copy-state="success"]:hover { background: #c9e4a1; color: var(--forest); }
  .example-toggle:hover { background: #dbe8ca; }
  .support-button:hover:not(:disabled) { box-shadow: inset 0 1px 0 #c7e7b326, 0 3px 0 #153b2b, 0 10px 20px -14px #102f2880; }
  .support-button:hover:not(:disabled) .button-icon { transform: translate(3px, -2px); }
  .support-back:hover, .support-text-link:hover, .language-option:hover { text-decoration-thickness: 2px; }
  .support-languages a:hover { background: var(--sage); color: var(--ink); }
}

/* Page snapshots must not replay a half-revealed heading over the live page. */
@view-transition { navigation: none; }
@keyframes dispatch-track { from { transform: translateX(-110%); } to { transform: translateX(380%); } }
@keyframes dispatch-flight { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, -4px) rotate(-8deg); } }
.command-example[data-phase="typing"] .example-message { opacity: 0; transform: translate3d(-22px, 122px, 0) scale(.7); }
.command-example[data-phase="typing"] .example-typing { opacity: 1; }
.command-example[data-phase="typing"] .example-typing::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px; background: currentColor; vertical-align: -.1em; animation: example-caret 700ms steps(1) infinite; }
.command-example[data-phase="typing"] .example-placeholder { opacity: 0; }
.command-example[data-phase="typing"] .example-reply,
.command-example[data-phase="sending"] .example-reply,
.command-example[data-phase="waiting"] .example-reply { opacity: 0; transform: translate3d(0, 18px, var(--reply-depth, 0px)) scale(.9); }
.command-example[data-phase="sending"] .example-send { animation: example-press 300ms ease both; }
.command-example[data-phase="sending"] .example-send svg { animation: send-arrow 300ms ease both; }
.command-example[data-phase="received"] .example-reply svg path { stroke-dasharray: 60; animation: link-ink 650ms 220ms ease both; }
.command-example[data-phase="waiting"] .example-bot-typing { opacity: 1; }
.command-example[data-phase="waiting"] .example-bot-typing i { animation: example-dots 700ms ease-in-out infinite; }
.command-example[data-phase="waiting"] .example-bot-typing i:nth-child(2) { animation-delay: 100ms; }
.command-example[data-phase="waiting"] .example-bot-typing i:nth-child(3) { animation-delay: 200ms; }
.command-example[data-phase="clearing"] .example-message { opacity: 0; transform: translate3d(0, -8px, var(--message-depth, 34px)); transition-timing-function: ease-out; }
.command-example[data-phase="clearing"] .example-reply { opacity: 0; transform: translate3d(0, -8px, var(--reply-depth, 0px)); }
@keyframes example-caret { 50% { opacity: 0; } }
@keyframes example-dots { 50% { opacity: .35; transform: translateY(-3px); } }
@keyframes example-press { 50% { transform: scale(.84); } }
@keyframes send-arrow { 50% { transform: translateX(5px); } }
@keyframes link-ink { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
@keyframes chat-float { 0%, 100% { translate: 0 0; } 45% { translate: 0 -8px; } 70% { translate: 0 -5px; } }
@keyframes scene-arrive { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes title-reveal { from { clip-path: inset(0 0 100%); translate: 0 .14em; } to { clip-path: inset(0); translate: 0 0; } }
@keyframes translation-reveal { from { opacity: .25; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes check-ink { from { stroke-dashoffset: 32; } to { stroke-dashoffset: 0; } }
@keyframes topic-copy { from { transform: translateX(12px); } to { transform: translateX(0); } }
@keyframes topic-symbol { from { transform: translateX(-6px) rotateY(-30deg) rotateZ(-8deg); } to { transform: translateX(0) rotateY(0) rotateZ(0); } }
@keyframes object-arrive { from { translate: 0 18px; rotate: -8deg; } to { translate: 0 0; rotate: 0deg; } }
@keyframes form-sheet { from { border-color: #c7d9b8; box-shadow: 0 10px 28px -18px #031b1466, inset 0 1px 0 #fff; } to { border-color: #e0e8d8; box-shadow: 0 28px 70px -24px #031b14a6, inset 0 1px 0 #fff; } }
@keyframes plane-ready { from { transform: translate(-7px, 4px) rotate(-12deg); } to { transform: translate(0, 0) rotate(0); } }
@keyframes lost-sheet { from { transform: translateY(12px) rotate(-8deg); } to { transform: translateY(0) rotate(-4deg); } }
@keyframes route-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes clock-settle { from { transform: rotate(-20deg); } to { transform: rotate(0); } }
@keyframes digit-left { from { transform: translateX(-12px) rotate(-8deg); } to { transform: translateX(0) rotate(0); } }
@keyframes digit-center { from { transform: rotateY(-28deg); } to { transform: rotateY(0); } }
@keyframes digit-right { from { transform: translateX(12px) rotate(8deg); } to { transform: translateX(0) rotate(0); } }
@keyframes search-sweep { 0% { opacity: 0; transform: translateY(0); } 20%, 70% { opacity: .8; } 100% { opacity: 0; transform: translateY(.5em); } }
@keyframes paper-flight { 0% { translate: var(--flight-from-x) var(--flight-from-y); rotate: -28deg; scale: .68; } 42% { translate: var(--flight-apex-x) var(--flight-apex-y); rotate: 14deg; scale: var(--flight-apex-scale); } 70% { translate: -8px 12px; rotate: -4deg; scale: .99; } 100% { translate: 0 0; rotate: 0deg; scale: 1; } }
@keyframes dispatch-trace { 0% { stroke-dashoffset: 1100; opacity: 0; } 15% { opacity: .5; } 70% { stroke-dashoffset: 0; opacity: .45; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes dispatch-shadow { 0% { translate: -65px 0; scale: .5; opacity: .15; } 60% { translate: 12px 0; scale: 1.08; opacity: .8; } 100% { translate: 0 0; scale: 1; opacity: 1; } }
@keyframes dispatch-check { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .entry-view .support-intro h1 { animation: title-reveal 720ms cubic-bezier(.2,.8,.2,1) both; }
  .entry-view .heading-translation { animation: translation-reveal 650ms 100ms cubic-bezier(.2,.8,.2,1) both; }
  .category-view .option-copy { animation: topic-copy 580ms cubic-bezier(.2,.8,.2,1) both; }
  .category-view .option-symbol { animation: topic-symbol 650ms cubic-bezier(.2,.8,.2,1) both; }
  .category-view .support-option:nth-child(2) > * { animation-delay: 65ms; }
  .category-view .support-option:nth-child(3) > * { animation-delay: 130ms; }
  .topic-object { animation: object-arrive 680ms cubic-bezier(.2,.8,.2,1) backwards; }
  .topic-object-setup { animation-delay: 60ms; }
  .topic-object-other { animation-delay: 120ms; }
  .form-view .support-work { animation: form-sheet 650ms ease-out both; }
  .form-view .button-icon svg { animation: plane-ready 650ms cubic-bezier(.2,.8,.2,1) both; }
  .dispatch-plane { animation: paper-flight 1800ms cubic-bezier(.2,.75,.25,1) backwards; }
  .dispatch-trail { stroke-dasharray: 1100; animation: dispatch-trace 2100ms ease-in-out both; }
  .dispatch-art::after { animation: dispatch-shadow 1800ms ease-in-out backwards; }
  .dispatch-mark { stroke-dasharray: 100; animation: dispatch-check 600ms 1350ms ease both; }
  .result-queued .result-symbol svg { animation: clock-settle 650ms cubic-bezier(.2,.8,.2,1) both; }
  .notfound-digit:first-child { animation: digit-left 720ms cubic-bezier(.2,.8,.2,1) both; }
  .notfound-digit:nth-child(2) { animation: digit-center 720ms cubic-bezier(.2,.8,.2,1) both; }
  .notfound-digit:last-child { animation: digit-right 720ms cubic-bezier(.2,.8,.2,1) both; }
  .notfound-digit:nth-child(2)::after { animation: search-sweep 950ms 180ms ease-in-out both; }
  .lost-page { animation: lost-sheet 750ms cubic-bezier(.2,.8,.2,1) both; }
  .lost-route { animation: route-draw 1000ms 150ms cubic-bezier(.2,.8,.2,1) both; }
}

@media (max-width: 1100px) {
  .entry-view .entry-guide { grid-template-columns: 1fr; gap: 30px; }
  .entry-guide li > div { max-width: 62ch; }
}

@media (max-width: 800px) {
  .support-shell { background: var(--forest); }
  .support-header { min-height: 88px; grid-template-columns: 1fr auto; background: var(--forest); }
  .support-brand { padding-left: 24px; padding-right: 12px; font-size: 13px; gap: 10px; }
  .support-brand img { width: 36px; height: 36px; }
  .support-languages { padding-right: 20px; gap: 2px; }
  .support-languages a { color: #c3d2c7; min-width: 44px; }
  .support-languages [aria-current] { color: var(--ink); }
  .support-main { display: block; min-height: calc(100svh - 88px); }
  .support-intro { background: var(--forest); padding: 28px 24px 36px; }
  h1 { max-width: 15ch; font-size: 36px; letter-spacing: -.035em; }
  .support-description { margin-top: 18px; font-size: 15px; max-width: 40ch; }
  .intro-translation { margin-top: 28px; }
  .heading-translation { font-size: 24px; }
  .support-context { max-width: 640px; margin: 0 auto; padding: 0 24px 32px; color: #b5c9bd; font-size: 13px; }
  .support-back { margin-top: 22px; min-height: 30px; }
  .support-work { width: calc(100% - 32px); margin: 0 auto 28px; padding: 28px 24px 32px; max-width: 640px; border-radius: 20px; }
  .support-option { gap: 18px; padding: 16px 12px; margin-inline: -12px; }
  .support-option { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .option-symbol { width: 64px; height: 72px; }
  .category-view .topic-artwork { display: none; }
  .form-view .support-intro { position: relative; padding-right: 112px; min-height: 152px; }
  .form-view .topic-artwork.is-selected { position: absolute; top: 24px; right: 16px; width: 96px; height: 96px; margin: 0; }
  .topic-artwork.is-selected .topic-object { top: 0; left: 0; width: 100%; }
  .support-options { gap: 14px; }
  .support-option h2 { font-size: 20px; }
  .support-option p { font-size: 15px; }
  .support-form { gap: 24px; }
  .field-optional { font-size: 12px; }
  .form-view .support-intro { padding-top: 24px; padding-bottom: 28px; }
  .form-view h1 { font-size: 34px; }
  .form-view .support-work { padding-top: 28px; }
  .example-conversation { min-height: 122px; padding: 20px; }
  .command-example figcaption { padding: 15px 18px; }
  .entry-guide { gap: 24px; }
  .entry-guide li { gap: 12px; }
  .result-description { font-size: 18px; }
  .sent-view .support-header { min-height: 88px; }
  html.sent-document { background: linear-gradient(var(--forest) 0 88px, #edf1e4 88px); }
  .sent-view .support-main { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 210px auto; gap: 16px; min-height: calc(100svh - 88px); padding: 24px 24px 32px; align-content: start; }
  .sent-view .support-intro { grid-column: 1; grid-row: 1; }
  .sent-view h1 { font-size: clamp(44px, 12vw, 78px); line-height: .98; }
  .sent-title-line:last-child { margin-left: 10px; }
  .sent-view .support-description { margin-top: 20px; max-width: 34ch; font-size: 16px; }
  .dispatch-art { --flight-from-x: -75px; --flight-from-y: 90px; --flight-apex-x: 12px; --flight-apex-y: 18px; --flight-apex-scale: 1.02; grid-column: 1; grid-row: 2; min-height: 0; width: 100%; max-width: 500px; justify-self: center; }
  .dispatch-plane { inset: -35px -25px -20px; }
  .dispatch-art::after { height: 16px; bottom: 1%; }
  .support-receipt { grid-column: 1; grid-row: 3; grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; padding: 22px 24px; }
  .receipt-number-row { gap: 12px; }
  .support-receipt strong { font-size: 28px; }
  .receipt-label { font-size: 13px; }
  .receipt-tear { position: static; grid-column: 1; grid-row: 2; width: 100%; height: 0; border-left: 0; border-top: 1px dashed #a9ba99; }
  .sent-view .success-return { grid-column: 1; grid-row: 3; justify-self: start; max-width: none; font-size: 14px; }
  .lost-page { margin-top: 10px; }
  .entry-view .support-header { min-height: 88px; padding-inline: 24px; }
  .entry-view .support-main { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 32px; padding: 24px 24px 44px; }
  .entry-view .support-intro { grid-column: 1; grid-row: 1; }
  .entry-view h1 { max-width: 12ch; font-size: clamp(42px, 9vw, 64px); }
  .entry-view .support-description { font-size: 16px; margin-top: 18px; }
  .entry-view .heading-translation { max-width: 22ch; font-size: 26px; }
  .entry-view .intro-translation { margin-top: 26px; }
  .entry-scene { grid-column: 1; grid-row: 2; width: 100%; max-width: 560px; margin: 0 auto; padding: 14px 4px 0; }
  .entry-scene { --scene-pitch: 5deg; --scene-yaw: -4deg; --scene-roll: 0deg; --message-depth: 28px; --reply-depth: 12px; }
  .entry-view .command-example { padding: 5px; border-radius: 24px; }
  .entry-view .command-example figcaption { min-height: 58px; padding: 14px 16px; }
  .entry-view .example-conversation { min-height: 228px; padding: 20px 18px; }
  .entry-view .example-composer { padding: 10px; }
  .entry-view .example-input { min-height: 44px; font-size: 12px; padding-inline: 12px; }
  .entry-view .example-send { width: 44px; height: 44px; }
  .entry-view .support-command { font-size: 34px; }
  .entry-view .command-tools { margin-top: 24px; }
  .entry-view .entry-guide { grid-column: 1; grid-row: 3; grid-template-columns: 1fr; gap: 30px; margin-top: 2px; }
  .entry-view .entry-guide li { grid-template-columns: 30px minmax(0, 1fr); gap: 14px; }
  .entry-view .guide-number { font-size: 32px; }
  .entry-view .entry-guide p { font-size: 17px; line-height: 1.55; }
  .entry-view .entry-guide p[lang="ru"] { margin-top: 10px; font-size: 15px; line-height: 1.6; }
}

@media (max-width: 360px) {
  .support-button { padding-inline: 18px; }
  .support-brand > span { max-width: 130px; font-size: 12px; }
  .support-brand { padding-left: 20px; }
  .support-languages { padding-right: 12px; }
  .support-intro { padding-inline: 20px; }
  .support-work { padding-inline: 20px; }
  h1 { font-size: 32px; }
  .example-input { font-size: 11px; padding-inline: 12px; }
  .command-copy-action { font-size: 12px; }
  .field-optional { display: block; margin: 3px 0 0; }
  .entry-view .support-header { padding-inline: 20px; }
  .entry-view .support-main { padding-inline: 20px; }
  .entry-view h1 { font-size: 40px; }
  .entry-view .example-input { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .entry-view .command-example { transform: rotateX(3deg) rotateY(-3deg); }
  .support-option:is(:hover, :focus-visible) .option-symbol svg,
  .support-option:is(:hover, :focus-visible) .option-symbol circle,
  .support-button:hover .button-icon { transform: none; }
  .topic-object { --object-lift: 0px !important; --object-scale: 1 !important; }
  .setting-knob, .calendar-mark, .message-ink circle { transform: none !important; }
}
