/* support.css — раздел Support (/support, hotelier/support.js):
   экстренная линия, плитки каналов, форма письма, FAQ.
   Токены — из shell.css (тёплый glass, --grad, --accent). */

.support-page {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
}
.support-page h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }

/* ---- экстренная линия: одна строка над формой, отделена серой линией ---- */
.support-hotline {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px;
  text-align: center;
  margin: -4px 0 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums;
}
.support-hotline strong { color: var(--ink); font-weight: 600; }
.support-hotline a { color: inherit; }
.support-hotline-sep { color: var(--ink3); }

/* ---- форма ---- */
.support-section-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.support-section-head .muted { font-size: 13px; }
.support-field + .support-field { margin-top: 4px; }
.support-field .field-label { margin-top: 10px; }
.support-textarea { resize: vertical; min-height: 150px; line-height: 1.5; font-family: inherit; font-size: 14px; }

.support-drop {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed oklch(70% 0.06 55 / 0.55); border-radius: var(--radius-sm);
  background: oklch(100% 0 0 / 0.35);
  transition: border-color .15s ease, background .15s ease;
}
.support-drop:hover, .support-drop.is-over { border-color: var(--accent); background: oklch(96% 0.04 60 / 0.7); }
.support-drop:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px oklch(70% 0.17 47 / 0.20); }
.support-drop-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.support-drop-icon { color: var(--accent-deep); }
.support-drop-icon svg { width: 20px; height: 20px; }
.support-drop-text { font-size: 13.5px; color: var(--ink2); }
.support-drop-text strong { color: var(--accent-deep); }
.support-drop-hint { font-size: 12px; color: var(--ink3); }

.support-files { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.support-files:empty { display: none; }
.support-file {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 10px; border-radius: var(--radius-sm);
  background: oklch(100% 0 0 / 0.6); border: 1px solid var(--border);
  font-size: 13px;
}
.support-file-icon { color: var(--ink3); display: flex; }
.support-file-icon svg { width: 16px; height: 16px; }
.support-file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.support-file-size { color: var(--ink3); font-variant-numeric: tabular-nums; font-size: 12px; }
.support-file-remove {
  width: 26px; height: 26px; border: none; border-radius: 8px; background: transparent;
  color: var(--ink2); font-size: 18px; line-height: 1; cursor: pointer;
}
.support-file-remove:hover { background: oklch(58% 0.22 25 / 0.1); color: var(--danger); }

.support-form-foot { display: flex; justify-content: flex-end; margin-top: 16px; }
.support-form-foot .btn svg { width: 16px; height: 16px; }
.support-form-foot .btn.is-loading { opacity: 0.75; cursor: progress; transform: none; }

.support-sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 8px 8px; }
.support-sent-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: oklch(92% 0.06 155); color: oklch(48% 0.13 155);
}
.support-sent-icon svg { width: 26px; height: 26px; }
.support-sent p { font-size: 14px; max-width: 44ch; line-height: 1.5; }
.support-sent .btn { margin-top: 8px; }

/* ---- FAQ ---- */
.support-faq-head { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; }
.support-faq-search { position: relative; flex: 0 1 260px; min-width: 180px; }
.support-faq-search svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--ink3); pointer-events: none; }
.support-faq-search .input { padding: 8px 12px 8px 34px; font-size: 13.5px; }

.support-faq-group + .support-faq-group { margin-top: 18px; }
.support-faq-group-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 6px;
}
.support-faq-item { border-bottom: 1px solid var(--border); }
.support-faq-item:last-child { border-bottom: none; }
.support-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 2px; cursor: pointer; list-style: none;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.support-faq-item summary::-webkit-details-marker { display: none; }
.support-faq-item summary:hover { color: var(--accent-deep); }
.support-faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.support-faq-chevron { flex: 0 0 auto; display: flex; color: var(--ink3); transition: transform .2s ease; }
.support-faq-chevron svg { width: 16px; height: 16px; }
.support-faq-item[open] .support-faq-chevron { transform: rotate(180deg); color: var(--accent-deep); }
.support-faq-answer { padding: 0 2px 16px; font-size: 13.5px; line-height: 1.6; color: var(--ink2); }
.support-faq-answer p + p, .support-faq-answer ol + p { margin-top: 8px; }
.support-faq-answer strong { color: var(--ink); font-weight: 600; }
.support-faq-steps { counter-reset: faq-step; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.support-faq-steps li { counter-increment: faq-step; position: relative; padding-left: 32px; }
.support-faq-steps li::before {
  content: counter(faq-step);
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: oklch(94% 0.05 60); color: var(--accent-deep);
  font-size: 12px; font-weight: 700;
}
.support-faq-note {
  margin-top: 12px !important; padding: 10px 12px; border-radius: var(--radius-sm);
  background: oklch(96% 0.04 75 / 0.8); border-left: 3px solid oklch(78% 0.14 75);
  color: var(--ink2);
}
.support-faq-link { font-weight: 600; text-decoration: underline; text-decoration-color: oklch(70% 0.17 47 / 0.35); text-underline-offset: 2px; }
.support-faq-link:hover { text-decoration-color: currentColor; }
.support-faq-empty { padding: 12px 0 4px; font-size: 13.5px; }

/* ---- мобильные ---- */
@media (max-width: 720px) {
  .support-faq-search { flex-basis: 100%; }
  .support-form-foot .btn { width: 100%; }
}
