/* Виджет чата. Префикс .oxc- нужен, чтобы стили не пересекались с сайтом. */
.oxc-root {
  --oxc-cyan: var(--cherenkov, #00F0FF);
  --oxc-void: var(--void, #020202);
  --oxc-raise: #0c0e1a;
  --oxc-line: var(--border, rgba(0, 240, 255, 0.15));
  --oxc-line-strong: rgba(0, 240, 255, 0.42);
  --oxc-cyan-08: rgba(0, 240, 255, 0.08);
  --oxc-dim: var(--text-dim, rgba(255, 255, 255, 0.66));
  --oxc-muted: var(--text-muted, rgba(255, 255, 255, 0.42));
  --oxc-ok: #7CF2B0;
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: #fff;
}
.oxc-root *, .oxc-root *::before, .oxc-root *::after { box-sizing: border-box; }
.oxc-root button, .oxc-root input { font-family: inherit; }
.oxc-root [hidden] { display: none !important; }
.oxc-root button:focus-visible, .oxc-root input:focus-visible, .oxc-root a:focus-visible { outline: 2px solid var(--oxc-cyan); outline-offset: 2px; }

/* z-index выше контента и шапки сайта (до 6000), но ниже модалок (.modal-ov — 999999) */
.oxc-launcher {
  position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom, 0px)); z-index: 90000;
  width: 64px; height: 64px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--oxc-line-strong); background: var(--oxc-void);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.18);
  display: grid; place-items: center; transition: transform .2s, box-shadow .2s;
}
.oxc-launcher:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(0, 240, 255, 0.3); }
.oxc-launcher .oxc-hole { display: block; }
.oxc-launcher-x { display: none; color: #fff; font-size: 28px; line-height: 1; }
.oxc-launcher.is-open .oxc-hole { display: none; }
.oxc-launcher.is-open .oxc-launcher-x { display: block; }
.oxc-hole { border-radius: 50%; }

.oxc-window {
  position: fixed; right: 24px; bottom: calc(max(24px, env(safe-area-inset-bottom, 0px)) + 80px); z-index: 90001;
  width: 400px; height: 600px; max-height: calc(100dvh - max(24px, env(safe-area-inset-bottom, 0px)) - 80px - 88px);
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 12, 24, 0.97), rgba(4, 5, 10, 0.98));
  border: 1px solid var(--oxc-line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 240, 255, 0.08);
  transform-origin: 92% 105%; animation: oxc-open .5s cubic-bezier(.2, .9, .25, 1) both;
}
.oxc-window:focus { outline: none; }
@keyframes oxc-open { from { opacity: 0; transform: scale(.86) translateY(16px); } }

.oxc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 16px 14px; border-bottom: 1px solid var(--oxc-line); }
.oxc-who { min-width: 0; }
.oxc-who b { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.oxc-who span { display: block; font-size: 12px; color: var(--oxc-muted); line-height: 1.35; }
.oxc-who span i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--oxc-ok); margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 8px var(--oxc-ok); }
.oxc-icon-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--oxc-muted); cursor: pointer; font-size: 22px; line-height: 1; }
.oxc-icon-btn:hover { color: #fff; }
/* Голосовой агент (OXEN-187): кнопка в шапке окна, в разговоре подсвечена цветом статуса */
.oxc-head-actions { display: flex; align-items: center; gap: 6px; }
.oxc-voice { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--oxc-line-strong); background: none; color: rgba(255, 255, 255, 0.85); font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.oxc-voice svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.oxc-voice:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.oxc-voice:focus-visible { outline: 2px solid var(--oxc-cyan); outline-offset: 2px; }
.oxc-voice:disabled { opacity: 0.6; cursor: progress; }
.oxc-voice.is-live { color: var(--oxc-void); background: var(--oxc-ok); border-color: var(--oxc-ok); }

.oxc-body {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overflow-wrap: anywhere;
  padding: 18px 16px 12px; display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin; scrollbar-color: var(--oxc-line) transparent; overscroll-behavior: contain;
}
.oxc-body > *, .oxc-b > * { min-width: 0; max-width: 100%; }

.oxc-hello h3 { font-size: 26px; line-height: 1.1; letter-spacing: -0.03em; margin: 6px 0; font-weight: 800; }
.oxc-hello p { margin: 0 0 14px; color: var(--oxc-dim); font-size: 14px; line-height: 1.5; }
.oxc-hello.is-used { opacity: .45; }
.oxc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.oxc-tile {
  text-align: left; display: grid; gap: 18px; align-content: space-between; padding: 14px; border-radius: 16px; cursor: pointer; min-height: 104px;
  background: var(--oxc-raise); border: 1px solid var(--oxc-line); color: #fff; transition: border-color .2s, transform .2s;
}
.oxc-tile svg { width: 22px; height: 22px; stroke: var(--oxc-cyan); fill: none; stroke-width: 1.6; }
.oxc-tile b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.oxc-tile:hover { border-color: var(--oxc-cyan); transform: translateY(-2px); }
.oxc-help {
  display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 8px; padding: 0 14px; border-radius: 16px;
  border: 1px solid var(--oxc-line); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s;
}
.oxc-help__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--oxc-cyan); color: var(--oxc-cyan); font-size: 13px; font-weight: 700; line-height: 1;
}
.oxc-help:hover, .oxc-help:focus-visible { border-color: var(--oxc-cyan); }

.oxc-u { align-self: flex-end; max-width: 80%; background: var(--oxc-cyan); color: var(--oxc-void); font-weight: 500; padding: 10px 14px; border-radius: 18px 18px 6px 18px; font-size: 14px; line-height: 1.45; }
.oxc-b { display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.oxc-b p { margin: 0; }
.oxc-b p strong, .oxc-faq strong { color: #fff; }
.oxc-in { animation: oxc-rise .35s ease both; }
@keyframes oxc-rise { from { opacity: 0; transform: translateY(8px); } }
.oxc-file { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 48px; box-sizing: border-box; padding: 8px 16px; border: 1px solid var(--oxc-line-strong); border-radius: 14px; background: var(--oxc-raise); color: inherit; text-decoration: none; }
.oxc-file:hover, .oxc-file:focus-visible { border-color: var(--oxc-cyan); }
.oxc-file-name { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.oxc-file small { font-size: 12px; color: var(--oxc-muted); }
.oxc-src { font-size: 12px; color: var(--oxc-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.oxc-src a { color: var(--oxc-cyan); text-decoration: none; }
.oxc-src a:hover { text-decoration: underline; }

.oxc-typing { display: inline-flex; gap: 5px; padding: 6px 0; }
.oxc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--oxc-cyan); animation: oxc-blink 1s infinite; }
.oxc-typing i:nth-child(2) { animation-delay: .15s; }
.oxc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes oxc-blink { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.oxc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* пакеты: вертикальный список */
.oxc-packs { display: grid; gap: 8px; }
.oxc-pack { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--oxc-raise); border: 1px solid var(--oxc-line); }
.oxc-pack-name { min-width: 0; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: var(--tracking-caps, 0.04em); text-transform: uppercase; }
.oxc-pack-price { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; text-align: right; max-width: 100%; }
.oxc-pack ul { grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 12.5px; color: var(--oxc-dim); }
.oxc-pack li { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.oxc-pack li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--oxc-cyan); transform: translateY(-1px); }
.oxc-pack-about { grid-column: 1 / -1; font-size: 12px; color: var(--oxc-muted); border-top: 1px solid var(--oxc-line); padding-top: 8px; }

.oxc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.oxc-chip { font-size: 13px; font-weight: 500; line-height: 1.25; color: #fff; background: none; border: 1px solid var(--oxc-line-strong); border-radius: 30px; padding: 8px 13px; cursor: pointer; text-align: left; max-width: 100%; }
.oxc-chip:hover { border-color: var(--oxc-cyan); }
.oxc-chip.is-press { background: var(--oxc-cyan); color: var(--oxc-void); border-color: var(--oxc-cyan); }
.oxc-chip:disabled, .oxc-opt:disabled, .oxc-slot:disabled { cursor: default; }
.oxc-chips.is-done .oxc-chip:not(.is-press) { opacity: .45; }
/* Выбор «где ждать ответа менеджера» (OXEN-376): три равные кнопки столбиком, крупнее подсказок под ответом */
.oxc-chips--stack { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 6px; }
.oxc-chips--stack .oxc-chip { min-height: 48px; padding: 12px 18px; font-size: 15px; border-radius: 14px; }

/* подбор */
.oxc-quiz { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--oxc-raise); border: 1px solid var(--oxc-line); }
.oxc-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.oxc-steps i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.oxc-steps i.is-on { background: var(--oxc-cyan); }
.oxc-quiz-n { font-size: 12px; color: var(--oxc-muted); }
.oxc-quiz-q { font-weight: 600; font-size: 15px; line-height: 1.35; }
.oxc-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.oxc-opt { text-align: left; font-size: 13px; line-height: 1.3; color: #fff; background: none; border: 1px solid var(--oxc-line); border-radius: 12px; padding: 10px 11px; cursor: pointer; }
.oxc-opt:hover { border-color: var(--oxc-line-strong); }
.oxc-opt.is-press { border-color: var(--oxc-cyan); background: var(--oxc-cyan-08); color: var(--oxc-cyan); }

.oxc-rec { display: grid; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--oxc-cyan); background: linear-gradient(160deg, rgba(0, 240, 255, 0.12), var(--oxc-raise) 55%); }
.oxc-rec-label { font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-caps, 0.04em); text-transform: uppercase; color: var(--oxc-cyan); }
.oxc-rec-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--oxc-line); }
.oxc-rec-line:first-of-type { border-top: 0; padding-top: 0; }
.oxc-rec-line b { font-size: 15px; }
.oxc-rec-price { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; text-align: right; }
.oxc-rec-line small { grid-column: 1 / -1; color: var(--oxc-muted); font-size: 12.5px; }
.oxc-rec a { color: var(--oxc-cyan); font-size: 13px; text-decoration: none; }
.oxc-rec a:hover { text-decoration: underline; }

/* кейсы, команда */
.oxc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.oxc-card { display: grid; gap: 6px; align-content: start; font-size: 12.5px; font-weight: 500; line-height: 1.3; text-decoration: none; color: #fff; }
.oxc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--oxc-line); display: block; background: var(--oxc-raise); }
.oxc-card-ph { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--oxc-line); background: var(--oxc-raise); }
.oxc-card span { color: var(--oxc-muted); font-weight: 400; font-size: 11.5px; }
.oxc-card:hover b { color: var(--oxc-cyan); }

.oxc-posts { display: grid; gap: 8px; }
.oxc-post { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--oxc-raise); border: 1px solid var(--oxc-line); text-decoration: none; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; }
.oxc-post span { color: var(--oxc-dim); font-weight: 400; font-size: 12.5px; }
.oxc-post:hover { border-color: var(--oxc-line-strong); }

.oxc-faq { display: grid; gap: 4px; }

/* этапы работы: номер на линии, срок плашкой справа */
.oxc-stages { list-style: none; margin: 0; padding: 0; display: grid; }
.oxc-stage { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
.oxc-stage:last-child { padding-bottom: 0; }
.oxc-stage:not(:last-child)::before { content: ''; position: absolute; left: 12px; top: 26px; bottom: 2px; width: 1px; background: var(--oxc-line-strong); }
.oxc-stage-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--oxc-cyan); background: var(--oxc-cyan-08); border: 1px solid var(--oxc-line-strong); font-variant-numeric: tabular-nums; }
.oxc-stage-body { display: grid; gap: 3px; min-width: 0; padding-top: 3px; }
.oxc-stage-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.oxc-stage-head strong { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; min-width: 0; }
.oxc-stage-time { flex: none; font-size: 11.5px; color: var(--oxc-cyan); border: 1px solid var(--oxc-line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.oxc-stage-body p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--oxc-dim); }

/* Язык «Шкала» (OXEN-195): цифры в масштабе — тарифы точками на шкале цены, сроки полосами по неделям */
.oxc-act-ic, .oxc-fact svg, .oxc-note svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.oxc-scale { display: grid; gap: 6px; }
.oxc-axis { position: relative; height: 32px; margin: 0 7px; }
.oxc-axis::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--oxc-line-strong); }
.oxc-axis-dot { position: absolute; top: 1px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--oxc-void); border: 1.5px solid var(--oxc-cyan); }
.oxc-axis-dot.is-top { background: var(--oxc-cyan); box-shadow: 0 0 12px rgba(0, 240, 255, 0.6); }
.oxc-axis-tick { position: absolute; top: 18px; transform: translateX(-50%); font-size: 11px; line-height: 1.2; color: var(--oxc-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.oxc-axis-tick:first-of-type { transform: none; margin-left: -7px; }
.oxc-axis-tick:last-of-type { transform: translateX(-100%); margin-left: 7px; }
.oxc-plans { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; }
.oxc-plan { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--oxc-line); }
.oxc-plan-key { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--oxc-cyan); align-self: start; margin-top: 6px; }
.oxc-plan.is-top .oxc-plan-key { background: var(--oxc-cyan); }
.oxc-plan-name { display: grid; gap: 2px; min-width: 0; }
.oxc-plan-name b { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; }
.oxc-plan-name small { font-size: 12.5px; line-height: 1.45; color: var(--oxc-dim); }
.oxc-plan-price { font-size: 18px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.oxc-time { display: grid; gap: 10px; }
.oxc-gantt { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: center; }
.oxc-gantt-name { display: grid; min-width: 0; font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, 0.9); }
.oxc-gantt-name small { font-size: 11.5px; color: var(--oxc-dim); font-variant-numeric: tabular-nums; }
.oxc-gantt-track { position: relative; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.04); }
.oxc-gantt-track i { position: absolute; top: 0; bottom: 0; }
.oxc-gantt-min { min-width: 4px; border-radius: 3px; background: var(--oxc-cyan); }
.oxc-gantt-extra { border-radius: 0 3px 3px 0; background: repeating-linear-gradient(90deg, rgba(0, 240, 255, 0.5) 0 3px, transparent 3px 6px); }
.oxc-gantt-ticks { grid-column: 2; position: relative; height: 18px; border-top: 1px solid var(--oxc-line); font-size: 11px; line-height: 1.2; color: var(--oxc-muted); font-variant-numeric: tabular-nums; }
.oxc-gantt-ticks span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
.oxc-gantt-ticks span:first-child { transform: none; }
.oxc-gantt-ticks span:last-child { transform: translateX(-100%); }
.oxc-total { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--oxc-line-strong); background: var(--oxc-cyan-08); }
.oxc-total b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.oxc-total span { font-size: 12.5px; line-height: 1.4; color: var(--oxc-dim); }

.oxc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: oxc-li; }
.oxc-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.oxc-list li::before { content: ''; width: 5px; height: 5px; margin: 9px 0 0 3px; border-radius: 50%; border: 1px solid var(--oxc-cyan); }
ol.oxc-list li::before { counter-increment: oxc-li; content: counter(oxc-li); width: auto; height: auto; margin: 0; border: 0; font-size: 12px; font-weight: 700; color: var(--oxc-cyan); font-variant-numeric: tabular-nums; line-height: 1.8; }

.oxc-facts { display: grid; }
.oxc-fact { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--oxc-line); }
.oxc-fact svg { width: 18px; height: 18px; margin-top: 2px; color: var(--oxc-cyan); }
.oxc-fact div { display: grid; gap: 2px; min-width: 0; }
.oxc-fact b { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; }
.oxc-fact span { font-size: 13px; line-height: 1.45; color: var(--oxc-dim); }

.oxc-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--oxc-line); border-bottom: 1px solid var(--oxc-line); }
.oxc-figs div { display: grid; gap: 2px; align-content: start; min-width: 0; padding: 10px 10px 10px 0; }
.oxc-figs div + div { border-left: 1px solid var(--oxc-line); padding-left: 10px; }
.oxc-figs b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.oxc-figs small { font-size: 11.5px; line-height: 1.35; color: var(--oxc-dim); }

.oxc-acts { display: grid; gap: 6px; }
.oxc-act { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 9px 12px 9px 9px; border-radius: 14px; border: 1px solid var(--oxc-line); background: none; color: #fff; font: inherit; text-align: left; }
button.oxc-act { cursor: pointer; transition: border-color .2s; }
button.oxc-act:hover { border-color: var(--oxc-cyan); }
.oxc-act.is-press { border-color: var(--oxc-cyan); background: var(--oxc-cyan-08); }
.oxc-acts.is-done button.oxc-act:not(.is-press) { opacity: .45; cursor: default; }
.oxc-act-ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--oxc-cyan-08); color: var(--oxc-cyan); }
.oxc-act-t { display: grid; min-width: 0; }
.oxc-act-t b, .oxc-act-t a { font-size: 14px; font-weight: 600; line-height: 1.35; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.oxc-act-t a:hover { color: var(--oxc-cyan); }
.oxc-act-t small { font-size: 12px; line-height: 1.35; color: var(--oxc-muted); }
.oxc-act em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--oxc-cyan); white-space: nowrap; }
.oxc-act-copy { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--oxc-cyan); background: none; border: 1px solid var(--oxc-line-strong); border-radius: 999px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.oxc-act-copy:hover { border-color: var(--oxc-cyan); }

.oxc-b p.oxc-note { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--oxc-dim); }
.oxc-note svg { width: 18px; height: 18px; margin-top: 2px; color: var(--oxc-cyan); }

/* заявка */
.oxc-lead { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: var(--oxc-raise); border: 1px solid var(--oxc-line-strong); }
.oxc-lead-title { font-weight: 600; font-size: 14px; line-height: 1.35; }
.oxc-ctx { font-size: 12px; color: var(--oxc-muted); display: flex; gap: 6px; flex-wrap: wrap; }
.oxc-ctx span { border: 1px solid var(--oxc-line); border-radius: 30px; padding: 3px 8px; }
.oxc-field { position: relative; }
.oxc-field input { width: 100%; font: 400 14.5px var(--font-body, "Inter", sans-serif); color: #fff; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--oxc-line); border-radius: 12px; padding: 20px 12px 7px; }
.oxc-field input:focus { border-color: var(--oxc-cyan); outline: none; }
.oxc-field.is-bad input { border-color: #ff6b6b; }
.oxc-field label { position: absolute; left: 13px; top: 6px; font-size: 11px; color: var(--oxc-muted); pointer-events: none; }
.oxc-cta { font: 700 14px/1.2 var(--font-body, "Inter", sans-serif); letter-spacing: var(--tracking-label, 0.02em); color: var(--oxc-void); background: var(--oxc-cyan); border: 0; border-radius: 30px; padding: 14px; cursor: pointer; box-shadow: 0 0 24px rgba(0, 240, 255, 0.25); }
.oxc-cta:disabled { opacity: .6; cursor: default; }
.oxc-lead small { font-size: 11px; color: var(--oxc-muted); text-align: center; line-height: 1.4; }
.oxc-err { font-size: 12.5px; color: #ff8a8a; margin: 0; }

.oxc-done { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid rgba(124, 242, 176, 0.4); background: rgba(124, 242, 176, 0.06); }
.oxc-done svg { width: 54px; height: 54px; }
.oxc-done circle { fill: none; stroke: var(--oxc-ok); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: oxc-draw .8s .1s ease forwards; }
.oxc-done path { fill: none; stroke: var(--oxc-ok); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: oxc-draw .4s .7s ease forwards; }
@keyframes oxc-draw { to { stroke-dashoffset: 0; } }
.oxc-done b { display: block; font-size: 15px; }
.oxc-done span { font-size: 13px; color: var(--oxc-dim); line-height: 1.4; }

.oxc-days { display: grid; gap: 10px; }
.oxc-day-label { font-size: 12px; color: var(--oxc-muted); margin-bottom: 4px; }
.oxc-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.oxc-slot { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; background: none; border: 1px solid var(--oxc-line); border-radius: 12px; padding: 10px 0; cursor: pointer; }
.oxc-slot:hover { border-color: var(--oxc-line-strong); }
.oxc-slot.is-press { background: var(--oxc-cyan); color: var(--oxc-void); border-color: var(--oxc-cyan); }

.oxc-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px 8px; border-top: 1px solid var(--oxc-line); }
.oxc-input { font-size: 14px; color: #fff; background: none; border: 1px solid var(--oxc-line); border-radius: 30px; padding: 12px 16px; min-width: 0; width: 100%; }
.oxc-input::placeholder { color: var(--oxc-muted); }
.oxc-input:focus { border-color: var(--oxc-cyan); outline: none; }
.oxc-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--oxc-cyan); color: var(--oxc-void); cursor: pointer; display: grid; place-items: center; padding: 0; }
.oxc-send:disabled { opacity: .5; cursor: default; }
.oxc-send svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.oxc-legal { text-align: center; font-size: 10.5px; line-height: 1.4; color: var(--oxc-muted); padding: 0 12px 10px; }
.oxc-legal + .oxc-legal { margin-top: -6px; }

@media (max-width: 519px) {
  .oxc-launcher { width: 56px; height: 56px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
  .oxc-launcher.is-open { display: none; }
  .oxc-window { inset: 0; width: auto; height: 100dvh; max-height: none; border-radius: 0; border: 0; transform-origin: 90% 95%; }
  /* 16px — чтобы iOS не зумил страницу при фокусе */
  .oxc-input, .oxc-field input { font-size: 16px; }
  .oxc-opts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .oxc-root *, .oxc-root *::before, .oxc-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .oxc-typing i { opacity: 1; }
}

/* Ответ менеджера (OXEN-177): живой человек отделён от бота рамкой и подписью */
.oxc-m { padding: 10px 14px; border-radius: 18px 18px 18px 6px; border: 1px solid var(--oxc-line-strong); background: var(--oxc-raise); max-width: 88%; gap: 4px; overflow-wrap: anywhere; }
.oxc-m p { white-space: pre-line; }
.oxc-m-who { font-size: 12px; font-weight: 600; color: var(--oxc-cyan); }
.oxc-note { margin: 0; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.6); }
.oxc-launcher.has-reply::after { content: ''; position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--oxc-cyan); box-shadow: 0 0 0 2px var(--oxc-void); }

/* оценка ответа бота (OXEN-257): две кнопки не меньше 44 px, после клика — «спасибо» */
.oxc-rate { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.oxc-rate-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 18px; line-height: 1; border-radius: 50%; border: 1px solid var(--oxc-line); background: transparent; color: inherit; cursor: pointer; opacity: 0.7; }
.oxc-rate-btn:hover, .oxc-rate-btn:focus-visible { opacity: 1; border-color: var(--oxc-line-strong); }
.oxc-rate-btn[aria-pressed="true"] { opacity: 1; border-color: var(--oxc-cyan); background: var(--oxc-raise); }
.oxc-rate-thanks { margin-left: 6px; font-size: 12.5px; color: var(--oxc-muted); }
