/* Todo Acesso — estilos propios (sin frameworks). */
:root {
  --ink: #0a1f44;
  --text: #17294a;
  --muted: #4a5b78;
  --blue-900: #071a3d;
  --blue-700: #0b3a8c;
  --blue-600: #1459c7;
  --sky-500: #2f9bea;
  --sky-300: #8ccaf5;
  --sky-100: #e4f2fd;
  --sky-50: #f2f8fe;
  --sun: #f5b400;
  --alert: #d63a15;
  --alert-dark: #b02c0c;
  --ok: #0e7a57;
  --ok-bg: #e3f6ee;
  --warn: #8a5300;
  --warn-bg: #fff2d6;
  --bad: #a8240c;
  --bad-bg: #fde8e3;
  --idle-bg: #eef2f7;
  --bg: #f6f9fc;
  --surface: #fff;
  --line: #d8e3ef;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 8px 24px -12px rgba(10, 31, 68, .18);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-600); text-underline-offset: 2px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 2.8vw, 1.6rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { background: var(--sky-100); padding: .1em .4em; border-radius: 6px; font-size: .92em; }
:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.is-hidden, [hidden] { display: none !important; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }
.note { font-size: .875rem; color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin: 0 0 .4rem; }
.eyebrow--light { color: var(--sky-300); }
.plain { list-style: none; margin: 0; padding: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; color: #fff; }

/* Cabecera */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__name { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.brand__name b { font-weight: 800; color: var(--blue-700); }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; }
.main-nav a:hover { background: var(--sky-100); color: var(--blue-700); }
.header-search { padding-bottom: 12px; }

@media (max-width: 640px) {
  .brand__name { white-space: nowrap; font-size: 1.1rem; }
  .main-nav a:nth-child(n+2) { display: none; }
  .site-header__row { min-height: 54px; }
  .svc-head__id { flex-basis: 100%; }
  .svc-head__hero { width: 100%; height: 120px; max-height: none; object-fit: contain; }
  .svc-head__id .svc-icon { width: 52px !important; height: 52px !important; }
}

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.2em; min-height: 46px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .1s; line-height: 1.2; text-align: center; }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--blue-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-600); background: var(--sky-50); }
.btn--alert { background: var(--alert); color: #fff; }
.btn--alert:hover { background: var(--alert-dark); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn:active { transform: translateY(1px); }

/* Buscador */
.search__label { display: block; font-weight: 700; margin-bottom: 6px; color: #fff; }
.search__row { display: flex; gap: 8px; }
.search__input { flex: 1; min-width: 0; font: inherit; padding: .8em 1em; min-height: 52px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.search__input:focus { border-color: var(--sky-500); outline: 3px solid rgba(47, 155, 234, .3); }
.search__hint { margin: 10px 0 0; font-size: .9rem; color: var(--sky-100); }
.search__hint code { background: rgba(255, 255, 255, .16); color: #fff; }
.search--compact .search__input { min-height: 44px; padding: .55em .9em; }
.search--compact .btn { min-height: 44px; padding: .5em 1em; }
@media (max-width: 560px) { .search__row { flex-direction: column; } .search--compact .search__row { flex-direction: row; } .search--compact .btn { padding-inline: .8em; font-size: .9rem; } }

/* Hero */
.hero { background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 55%, #1b78d1 100%); color: #fff; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .09); pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); }
.hero::after { width: 14px; height: 14px; background: var(--sun); border: 0; right: 12%; top: 38px; box-shadow: 0 0 0 8px rgba(245, 180, 0, .22); }
.hero__inner { position: relative; padding-block: clamp(36px, 8vw, 84px); }
.hero__inner > * { max-width: 760px; }
.hero__title { color: #fff; font-size: clamp(1.9rem, 6vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .4em; }
.hero__title span { color: var(--sky-300); display: block; }
.hero__lead { font-size: 1.1rem; color: #d6e6fa; max-width: 640px; }
.hero__search { max-width: 700px; margin-top: 22px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.hero__chips a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .22); }
.hero__chips a:hover { background: rgba(255, 255, 255, .24); }

/* Secciones */
.section { padding-block: clamp(32px, 6vw, 56px); }
.section--tint { background: var(--sky-50); border-block: 1px solid var(--line); }
.section-pad { padding-block: 24px 40px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.link-more { font-weight: 700; text-decoration: none; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.step__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-700); color: #fff; font-weight: 800; margin-bottom: 10px; }
.benefits { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 16px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: var(--radius); padding: 18px 20px; }
.benefit p { margin: 0; color: var(--muted); }

/* Tarjetas de servicios */
.svc-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.svc-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.svc-card:hover { border-color: var(--sky-500); box-shadow: var(--shadow); color: var(--text); }
.svc-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-card__name { font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-card__domain { font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-icon { border-radius: 12px; background: #fff; object-fit: contain; flex: none; border: 1px solid var(--line); }
.svc-icon--initial { display: inline-grid; place-items: center; font-weight: 800; color: #fff; background: hsl(var(--h) 55% 38%); border: 0; font-size: 1.1rem; }

/* Estado (pills) */
.pill { display: inline-flex; align-items: center; gap: .35em; padding: .25em .7em; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.pill--ok { background: var(--ok-bg); color: var(--ok); border-color: #b4e3cf; }
.pill--warn { background: var(--warn-bg); color: var(--warn); border-color: #f1d392; }
.pill--bad { background: var(--bad-bg); color: var(--bad); border-color: #f4c0b5; }
.pill--info { background: var(--sky-100); color: var(--blue-700); border-color: var(--sky-300); }
.pill--idle { background: var(--idle-bg); color: var(--muted); border-color: var(--line); }

/* Breadcrumbs */
.breadcrumbs { padding-block: 14px 6px; font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs [aria-current] { color: var(--muted); }

/* Página de servicio */
.svc-head { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: 8px 12px; }
.svc-head__id { display: flex; gap: 16px; align-items: center; min-width: 0; flex: 1 1 380px; }
.svc-head h1 { margin-bottom: .2em; }
.svc-head__domain { margin: 0; color: var(--muted); }
.svc-head__hero { width: 240px; max-width: 100%; height: auto; max-height: 140px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); flex: none; background: #fff; }
.svc-desc { margin-top: 4px; }
.status-wrap { margin-block: 12px 20px; }
.status-card { display: grid; gap: 16px; grid-template-columns: 1.4fr 1fr; background: var(--surface); border: 1px solid var(--line); border-left-width: 8px; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.status-card--ok { border-left-color: var(--ok); }
.status-card--warn { border-left-color: #d98a00; }
.status-card--bad { border-left-color: var(--alert); }
.status-card--idle { border-left-color: #8a97ad; }
.status-card--info { border-left-color: var(--sky-500); }
.status-card--info .status-card__state { color: var(--blue-700); }
.status-card__label { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.status-card__state { margin: 2px 0 8px; font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; color: var(--ink); }
.status-card--ok .status-card__state { color: var(--ok); }
.status-card--warn .status-card__state { color: var(--warn); }
.status-card--bad .status-card__state { color: var(--bad); }
.status-card__reading { margin: 0; }
.activity-flag { margin: 10px 0 0; padding: 8px 12px; background: var(--warn-bg); color: #5c3700; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.metrics { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metrics div { background: var(--sky-50); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.metrics dt { font-size: .75rem; color: var(--muted); font-weight: 600; }
.metrics dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.actions form { margin: 0; }
@media (max-width: 760px) { .status-card { grid-template-columns: 1fr; } .actions .btn, .actions form { width: 100%; } .actions form .btn { width: 100%; } }

.two-col { display: grid; gap: 16px; grid-template-columns: 1.1fr 1fr; margin-bottom: 16px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card--wide { margin-bottom: 16px; }

/* Formulario de reportes */
.problems { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.problem { display: block; cursor: pointer; }
.problem input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.problem__box { display: flex; flex-direction: column; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, background-color .15s; }
.problem__box small { color: var(--muted); }
.problem:hover .problem__box { border-color: var(--sky-300); }
.problem input:checked + .problem__box { border-color: var(--blue-600); background: var(--sky-100); box-shadow: inset 0 0 0 1px var(--blue-600); }
.problem input:checked + .problem__box strong::before { content: "✔ "; color: var(--blue-600); }
.problem input:focus-visible + .problem__box { outline: 3px solid var(--sky-500); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 10px 14px; border-radius: 10px; font-weight: 600; margin: 0 0 14px; border: 1px solid transparent; }
.alert--ok { background: var(--ok-bg); color: #0a5a40; border-color: #b4e3cf; }
.alert--info { background: var(--sky-100); color: var(--blue-700); border-color: var(--sky-300); }
.alert--error { background: var(--bad-bg); color: var(--bad); border-color: #f4c0b5; }
.hero .alert--error { background: #fff; }

/* Distribución */
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bars__row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.bars__row small { color: var(--muted); font-weight: 500; }
.bars__track { height: 10px; background: var(--idle-bg); border-radius: 99px; overflow: hidden; margin-top: 4px; }
.bars__fill { height: 100%; background: repeating-linear-gradient(45deg, var(--blue-600) 0 8px, var(--blue-700) 8px 16px); border-radius: 99px; }
.empty { color: var(--muted); background: var(--sky-50); border: 1px dashed var(--sky-300); border-radius: 12px; padding: 14px 16px; margin: 0; }

/* Gráfico */
.activity-state { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: baseline; margin: 0 0 10px; }
.activity-state--high strong { color: var(--alert-dark); background: var(--warn-bg); padding: 2px 10px; border-radius: 99px; }
.activity-state--normal strong { color: var(--ok); }
.chart { margin: 0; }
.chart svg { width: 100%; height: auto; display: block; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__axis { font-size: 12px; fill: var(--muted); font-family: var(--font); }
.chart__bar { fill: var(--blue-600); }
.chart__bar:hover { fill: var(--blue-700); }
.chart__base { stroke: var(--sun); stroke-width: 2.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.chart__empty { font-size: 15px; fill: var(--muted); font-weight: 600; font-family: var(--font); }
.chart__legend { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend__bar { display: inline-block; width: 14px; height: 14px; background: var(--blue-600); border-radius: 3px; }
.legend__dash { display: inline-block; width: 28px; height: 0; border-top: 3px dotted #c48d00; }
.chart__table { margin-top: 10px; font-size: .9rem; }
.chart__table summary { cursor: pointer; font-weight: 600; color: var(--blue-700); }
.chart__table table { border-collapse: collapse; margin-top: 8px; }
.chart__table th, .chart__table td { border: 1px solid var(--line); padding: 4px 10px; text-align: left; }
@media (max-width: 560px) { .chart__axis--late { display: none; } .chart__axis { font-size: 23px; } .chart__empty { font-size: 24px; } .chart__base { stroke-width: 4; } }

/* Mapa */
.map-box { position: relative; margin-top: 12px; }
.map { height: 420px; border-radius: 12px; border: 1px solid var(--line); background: #dbe9f6; z-index: 0; }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: rgba(242, 248, 254, .85); border-radius: 12px; color: var(--muted); z-index: 400; pointer-events: none; }
.map-empty p { max-width: 380px; margin: 0; }
.map-bubble-wrap { background: none; border: 0; }
.map-bubble { border-radius: 50%; background: rgba(214, 58, 21, .82); border: 3px solid #fff; color: #fff; font-weight: 800; text-align: center; box-shadow: 0 2px 8px rgba(10, 31, 68, .4); font-size: .95rem; }
.regions { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; }
.regions li { background: var(--sky-100); border-radius: 99px; padding: 3px 12px; font-size: .88rem; }
@media (max-width: 560px) { .map { height: 320px; } }

/* Contenido editorial */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.editorial { margin-top: 28px; }
.defs { margin: 0 0 1em; }
.defs dt { font-weight: 700; color: var(--ink); margin-top: .8em; }
.defs dd { margin: .1em 0 0; color: var(--muted); }
.checklist li::marker { font-weight: 700; color: var(--blue-600); }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
.compare th, .compare td, .rank th, .rank td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.compare thead th, .rank thead th { background: var(--sky-100); color: var(--ink); }
.compare tbody th { background: var(--sky-50); font-weight: 700; width: 24%; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--ink); }
.faq details[open] summary { color: var(--blue-700); }
.notice { margin-block: 24px; padding: 14px 18px; background: var(--warn-bg); border: 1px solid #f1d392; border-radius: 12px; color: #4a2f00; font-size: .92rem; }
.notice a { color: inherit; }

/* Ranking / páginas */
.page-head { padding-block: 8px 16px; }
.rank { min-width: 600px; }
.rank .num { text-align: right; font-variant-numeric: tabular-nums; }
.rank__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.rank__name .svc-icon { border-radius: 8px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 20px 0; flex-wrap: wrap; }
.error-page { padding-block: 60px; text-align: center; }

/* Footer */
.site-footer { margin-top: 56px; background: var(--blue-900); color: #c9d8ee; padding-top: 36px; }
.site-footer a { color: #e5efff; }
.site-footer .brand { color: #fff; }
.site-footer .brand__name b { color: var(--sky-300); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: .6em; }
.footer-grid li { margin-bottom: .35em; }
.footer-grid .muted { color: #a9bddb; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-block: 18px 28px; font-size: .82rem; color: #a9bddb; }

/* Admin */
.is-admin { background: #eef3f9; }
.admin-bar { background: var(--blue-900); color: #fff; }
.admin-bar .wrap { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; min-height: 54px; }
.admin-bar a, .admin-bar button { color: #fff; text-decoration: none; font-weight: 600; background: none; border: 0; font: inherit; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.admin-bar a:hover, .admin-bar button:hover { background: rgba(255, 255, 255, .14); }
.admin-bar form { margin: 0 0 0 auto; }
.admin-main { padding-block: 24px 60px; }
.stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat b { display: block; font-size: 1.8rem; color: var(--ink); line-height: 1.1; }
.form-grid { display: grid; gap: 14px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 4px; }
.field input[type=text], .field input[type=password], .field input[type=number], .field input[type=search], .field textarea, .field select, .field input[type=file] { width: 100%; font: inherit; padding: .6em .8em; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.check input { width: 20px; height: 20px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.admin-table { min-width: 720px; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: middle; }
.admin-table th { background: var(--sky-100); }
.login-box { max-width: 420px; margin: 8vh auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.inline-form { display: inline; }
.img-preview { max-width: 160px; max-height: 100px; border: 1px solid var(--line); border-radius: 8px; background: #fff; margin: 6px 0; display: block; }
.btn--sm { min-height: 36px; padding: .35em .8em; font-size: .88rem; border-radius: 9px; }
.btn--danger { background: #fff; color: var(--bad); border-color: #f4c0b5; }
.btn--danger:hover { background: var(--bad-bg); }

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