/*GEO Hub UI — визуальный язык barsov-landing:
  тёмный холст #0a0a0a, акцент #f54e00, YS Text / YS Display*/

@font-face {
  font-family: "YS Text";
  src: url("https://yastatic.net/s3/home/fonts/ys/4/text-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YS Text";
  src: url("https://yastatic.net/s3/home/fonts/ys/4/text-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YS Text";
  src: url("https://yastatic.net/s3/home/fonts/ys/4/text-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YS Display";
  src: url("https://yastatic.net/s3/home/fonts/ys/4/display-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YS Display";
  src: url("https://yastatic.net/s3/home/fonts/ys/4/display-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only dark;
  /*Фон как у тёмной морды ya.ru; акцент свой — оранжевый, не #fc0*/
  --bg: #161617;
  --fg: #ffffff;
  --muted: #1e1e1f;
  --muted-fg: rgba(255, 255, 255, 0.45);
  --border: transparent;
  --input: rgba(255, 255, 255, 0.15);
  --card: rgba(255, 255, 255, 0.08);
  --primary: #f54e00;
  --primary-fg: #ffffff;
  --secondary: rgba(255, 255, 255, 0.12);
  --pill: rgba(255, 255, 255, 0.15);
  --ok: #3dd68c;
  --warn: #f5b942;
  --crit: #ef4444;
  --info: rgba(255, 255, 255, 0.55);
  --blue: #9e9eff;
  --radius: 1.5rem;
  --radius-pill: 100px;
  --font-sans: "YS Text", "Golos Text", ui-sans-serif, system-ui, sans-serif;
  --font-display: "YS Display", "YS Text", ui-sans-serif, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --max: 68rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  color-scheme: only dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: -0.011em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--primary); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-weight: 700;
}

/*Навигация — пиллы как informers / services на ya.ru*/
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: none;
  background: rgba(22, 22, 23, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 3.5rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  z-index: 2;
}
.brand span { color: var(--primary); }
.nav-burger {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--pill);
  cursor: pointer;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  transition: background-color 0.15s ease-out;
}
.nav-burger:hover { background: rgba(255, 255, 255, 0.22); }
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex: 1;
}
.nav-links {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.15s ease, background-color 0.15s ease-out;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
  background: var(--pill);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  height: 2.25rem;
  transition: opacity 0.15s ease-out, transform 0.08s ease;
}
.nav-cta:hover { opacity: 0.9; }
.nav-cta:active { transform: scale(0.98); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}
.nav-user {
  font-size: 0.8rem;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-login,
.nav-logout {
  font-size: 0.875rem;
}
@media (max-width: 860px) {
  .nav-user { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem 1.15rem;
    background: rgba(22, 22, 23, 0.98);
    border-bottom: none;
    backdrop-filter: blur(12px);
  }
  .nav-panel.is-open { display: flex; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .nav-links a {
    padding: 0.7rem 0.5rem;
    font-size: 1rem;
  }
  .nav-right {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 0.65rem;
  }
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

/*Типографика страницы*/
.page-hero {
  margin: 0 auto 2rem;
  max-width: 56rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  margin-bottom: 0.85rem;
}
.page-hero .sub,
.sub {
  font-size: 1.05rem;
  color: var(--muted-fg);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hl { color: var(--primary); }
h2 {
  font-size: 1.35rem;
  margin: 2.75rem 0 1rem;
}
h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/*Кнопки — пиллы ya.ru; акцент оранжевый вместо жёлтого*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0 1.25rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  background: var(--fg);
  color: var(--bg);
  transition: opacity 0.15s ease-out, transform 0.08s ease, background-color 0.15s ease-out;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-accent {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-ghost {
  background: var(--pill);
  color: var(--fg);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}
.btn-small {
  padding: 0 0.95rem;
  height: 2.25rem;
  font-size: 0.8125rem;
}

/*Метрики*/
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}
.tile {
  border-radius: var(--radius);
  background: var(--card);
  border: 2px solid transparent;
  padding: 1.5rem 1.25rem;
  animation: rise 0.45s ease both;
}
.tile:nth-child(2) { animation-delay: 0.05s; }
.tile:nth-child(3) { animation-delay: 0.1s; }
.tile:nth-child(4) { animation-delay: 0.15s; }
.tile .num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.tile .cap {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  color: var(--muted-fg);
  line-height: 1.4;
}
.tile.accent .num { color: var(--primary); }

/*Контуры продукта — не pastel-cards, тёмные панели с акцентом*/
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.85rem;
}
.card {
  border-radius: var(--radius);
  border: 2px solid transparent;
  background: var(--card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 11.5rem;
  transition: background-color 0.15s ease-out, transform 0.15s ease;
  animation: rise 0.5s ease both;
}
.card:nth-child(2) { animation-delay: 0.06s; }
.card:nth-child(3) { animation-delay: 0.12s; }
.card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}
.card .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.card h3 { margin: 0; font-size: 1.15rem; }
.card p {
  color: var(--muted-fg);
  font-size: 0.9rem;
  flex: 1;
  line-height: 1.5;
}
.card .go {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

/*Панели / формы — мягкие плитки как search3 на ya.ru*/
.panel {
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1.6rem;
  margin: 1rem 0;
}
.panel-audit {
  max-width: 56rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.page-hero + .notice,
.page-hero + .alert {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.audit-section-title {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.audit-empty {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: block;
}
.panel-audit .form-actions {
  justify-content: center;
}
.panel-audit .form-actions > div:last-child {
  width: 100%;
  justify-content: center;
}
.panel-auth {
  max-width: 28rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.form-actions-center {
  justify-content: center;
}
.soon-hero { max-width: 36rem; }
.soon-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(245, 78, 0, 0.18);
  color: #ffb089;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.soon-hero .sub a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
@media (max-width: 720px) {
  .panel-audit,
  .page-hero,
  .page-hero + .notice,
  .page-hero + .alert,
  .audit-section-title,
  .audit-empty {
    max-width: 100%;
  }
  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .kw-head {
    flex-direction: column;
  }
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.9rem;
}
label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-fg);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
/*Поля как search3__inner: заливка 15%, радиус-пилля, focus с оранжевым*/
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.35;
  color: var(--fg);
  padding: 0.85rem 1.25rem;
  min-height: 3.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  box-shadow: none;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
}
textarea {
  border-radius: 1.25rem;
  min-height: 7rem;
  resize: vertical;
}
input:hover,
select:hover,
textarea:hover {
  background: rgba(255, 255, 255, 0.2);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
.checks {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--fg);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0;
}
.form-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/*Таблицы*/
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th {
  text-align: left;
  font-size: 0.7rem;
  color: var(--muted-fg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr.rowlink { cursor: pointer; transition: background-color 0.12s ease-out; }
tr.rowlink:hover { background: rgba(255, 255, 255, 0.06); }

/*Бейджи — мягкие пиллы*/
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  border: 2px solid transparent;
}
.badge.ok {
  background: rgba(61, 214, 140, 0.12);
  color: var(--ok);
  border-color: rgba(61, 214, 140, 0.25);
}
.badge.warn {
  background: rgba(245, 185, 66, 0.12);
  color: var(--warn);
  border-color: rgba(245, 185, 66, 0.25);
}
.badge.critical {
  background: rgba(239, 68, 68, 0.12);
  color: var(--crit);
  border-color: rgba(239, 68, 68, 0.28);
}
.badge.info {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-fg);
  border-color: var(--border);
}
.badge.auto {
  background: rgba(245, 78, 0, 0.12);
  color: var(--primary);
  border-color: rgba(245, 78, 0, 0.3);
}

/*Скоры аудита*/
.scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}
.score {
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.score::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--primary);
  opacity: 0.85;
}
.score.seo::before { background: var(--blue); }
.score.aeo::before { background: var(--ok); }
.score.geo::before { background: var(--primary); }
.score.low::before { background: var(--crit); }
.score .num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.score .cap {
  margin-top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/*Алерты*/
.alert {
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.25rem;
  margin: 1rem 0;
  background: rgba(239, 68, 68, 0.12);
  border: 2px solid transparent;
  color: #ffb4b4;
  font-weight: 500;
  font-size: 0.9rem;
}
.notice {
  border-radius: var(--radius);
  padding: 0.95rem 1.25rem;
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid transparent;
  color: var(--fg);
  font-weight: 500;
  font-size: 0.9rem;
}
.notice a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

pre.code {
  background: rgba(0, 0, 0, 0.28);
  border: 2px solid transparent;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d4d4d4;
  line-height: 1.55;
}
.muted { color: var(--muted-fg); font-size: 0.875rem; }
.progress {
  height: 0.4rem;
  border-radius: 999px;
  background: var(--secondary);
  overflow: hidden;
  margin: 0.65rem 0 0;
}
.progress > div {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.md { max-width: 46rem; }
.md pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.65;
  color: #ddd;
}

/*Стек / метастрока*/
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin: 0.75rem 0 0.25rem;
  color: var(--muted-fg);
  font-size: 0.875rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 0.45rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg);
}
.chip strong { color: var(--primary); font-weight: 600; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted-fg);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  transition: color 0.15s ease;
}
.back:hover { color: var(--fg); }

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

footer {
  border-top: none;
  padding: 1.35rem 1.5rem;
  color: var(--muted-fg);
  font-size: 0.75rem;
  text-align: center;
}
footer .foot-inner { max-width: var(--max); margin: 0 auto; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/*Карточки плана правок для бизнеса*/
.action-card {
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.35rem 1.4rem 1.5rem;
  margin: 0 0 0.9rem;
  animation: rise 0.4s ease both;
}
.action-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.action-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.action-why {
  color: var(--muted-fg);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}
.action-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 0.35rem;
}
.action-block {
  margin-bottom: 0.85rem;
}
.action-block p { font-size: 0.95rem; line-height: 1.5; }
.action-block.bad .code {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.06);
}
.action-block.good .code {
  border-color: rgba(61, 214, 140, 0.35);
  background: rgba(61, 214, 140, 0.06);
}
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 720px) {
  .action-grid { grid-template-columns: 1fr; }
}
.page-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-list li {
  font-size: 0.85rem;
  margin: 0.25rem 0;
  word-break: break-all;
}
.page-list a {
  color: #ffb089;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.file-card h3 { margin-bottom: 0.25rem; }
.tech-details {
  margin-top: 2.5rem;
  color: var(--muted-fg);
  font-size: 0.875rem;
}
.tech-details summary {
  cursor: pointer;
  color: var(--muted-fg);
}
.tech-details summary:hover { color: var(--fg); }

/*Ключевые фразы*/
.form-span-2 { grid-column: 1 / -1; }
.field-hint {
  margin: 0.2rem 0 0.55rem;
  font-size: 0.8rem;
  color: var(--muted-fg);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
}
.kw-box {
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem 1.1rem 1.15rem;
}
.kw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.55rem;
}
.kw-head label { margin-bottom: 0.15rem; }
.kw-box textarea {
  min-height: 7rem;
  resize: vertical;
  background: rgba(255, 255, 255, 0.12);
}
.kw-meta { margin-top: 0.55rem; }
.kw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.kw-chip {
  border: 2px solid transparent;
  background: var(--pill);
  color: var(--fg);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease-out;
}
.kw-chip:hover {
  background: rgba(245, 78, 0, 0.28);
  color: #fff;
}
.check-list {
  margin-top: 0.85rem;
  padding-left: 1.1rem;
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.75;
}
.nps-gate { background: rgba(245, 78, 0, 0.1); }
.nps-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.nps-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-fg);
  cursor: pointer;
}
.nps-opt input { accent-color: var(--primary); }
.nps-opt span {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--pill);
  color: var(--fg);
  font-weight: 600;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
}
.nps-opt input:checked + span {
  border-color: var(--primary);
  background: rgba(245, 78, 0, 0.22);
}
@media (max-width: 720px) {
  .kw-head { flex-direction: column; align-items: stretch; }
}
