/* Kompass (Newsdesk is its first tool): heidelberg24.de look — yellow header and section bars, black functionpro type, red accents, square corners. */
:root {
  --bg: #f1f1f1;
  --surface: #ffffff;
  --sunken: #f1f1f1;
  --ink: #333333;
  --ink-strong: #000000;
  --muted: #666666;
  --line: #e4e4e4;
  --line-strong: #cccccc;
  --brand: #ffff00;         /* h24 header + section-headline yellow (#ff0) */
  --brand-tint: #ffffd9;
  --accent: #ff0d00;        /* h24 primary red: buttons, active nav, kickers */
  --accent-hover: #e60c00;
  --accent-press: #cc0a00;
  --accent-ink: #ffffff;
  --accent-soft: #ffdddd;   /* h24 #fdd */
  --accent-on-dark: #ff6a61;
  --link: #317db1;          /* h24 link blue */
  --link-soft: #e5eff7;
  --good: #217a21; --good-soft: #e3f4e3;   /* from h24 #31a531, darkened for text */
  --mid: #8a5a00;  --mid-soft: #fff3cc;
  --bad: #cc0a00;  --bad-soft: #ffe3e1;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "functionpro", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: var(--display);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--font); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { display: inline-block; font: 700 26px/1.2 var(--display); color: var(--ink-strong); background: var(--brand); padding: 5px 14px 5px 15px; margin: 0 0 8px; letter-spacing: -.01em; }
h2 { font: 700 20px/1.2 var(--display); color: var(--ink-strong); margin: 0; text-wrap: balance; }
h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 22px 0 8px; }
p { margin: 0 0 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
kbd { font: 11px var(--mono); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 4px; background: var(--surface); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: stretch; gap: 24px; height: 56px; padding: 0 20px;
  background: var(--brand); color: var(--ink-strong); position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink-strong); font: 700 26px var(--display); letter-spacing: -.02em; }
.brand::before { content: ""; width: 10px; height: 26px; background: var(--accent); }
.brand:hover { text-decoration: none; }
/* Tool switcher (Kompass features), then the active tool's own nav. */
.features { display: flex; align-items: center; gap: 4px; padding-left: 16px; border-left: 1px solid rgba(0, 0, 0, .18); }
.features a, .features .soon {
  padding: 4px 10px; font: 700 13px var(--display); color: var(--ink-strong); border: 1px solid transparent;
}
.features a:hover { text-decoration: none; border-color: rgba(0, 0, 0, .25); }
.features a.on { background: var(--ink-strong); color: var(--brand); }
.features .soon { color: rgba(0, 0, 0, .45); cursor: default; }
.features .soon small { font-weight: 400; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.nav { display: flex; gap: 0; }
.nav a {
  display: flex; align-items: center; gap: 6px; padding: 0 14px; color: var(--ink-strong);
  font: 700 14px var(--display); text-transform: uppercase; letter-spacing: .03em;
  border-bottom: 4px solid transparent; margin-bottom: -1px;
}
.nav a:hover { background: rgba(0, 0, 0, .06); text-decoration: none; }
.nav a.on { border-bottom-color: var(--accent); }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.who-name { display: flex; flex-direction: column; line-height: 1.2; }
.who-name small { color: #444; font-size: 11px; }
.who .muted { color: var(--ink-strong); font-size: 12px; text-decoration: underline; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--ink-strong); color: var(--brand); font-size: 12px; font-weight: 700; flex: none;
}
.count {
  display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; text-align: center;
  font-size: 11px; font-weight: 600; background: var(--accent); color: #fff; line-height: 18px;
}

/* ---------- layout ---------- */
.page { max-width: 1100px; margin: 0 auto; padding: 24px 20px 64px; }
.page-wide { max-width: 1440px; }
.section-gap { display: block; margin-top: 36px; margin-bottom: 10px; background: var(--brand); padding: 5px 5px 5px 15px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stack { display: grid; gap: 10px; }
.spacer { flex: 1; }
.empty { color: var(--muted); padding: 24px; text-align: center; list-style: none; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  font: 700 12px var(--font); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--ink-strong); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.primary:active { background: var(--accent-press); border-color: var(--accent-press); }
.btn.danger { background: var(--ink-strong); border-color: var(--ink-strong); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn:disabled { opacity: .6; cursor: progress; }
input, select, textarea {
  font: 14px var(--font); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 10px; width: 100%;
}
textarea { resize: vertical; line-height: 1.5; }
.field { display: grid; gap: 4px; font-size: 12px; color: var(--muted); flex: 1; min-width: 160px; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { font-family: var(--display); font-size: 15px; padding: 8px 12px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--ink-strong); border-color: var(--accent); font-weight: 700; }
.tabs a:hover { text-decoration: none; color: var(--ink); }

.flash { background: var(--good-soft); color: var(--good); border-radius: var(--radius); padding: 8px 12px; margin-bottom: 12px; }
.flash-warn { background: var(--mid-soft); color: var(--mid); }
.warn { background: var(--bad-soft); color: var(--bad); border-radius: var(--radius); padding: 8px 12px; font-size: 13px; }

/* ---------- badges ---------- */
.sim { display: inline-flex; gap: 6px; align-items: baseline; font: 600 12px var(--mono); padding: 1px 7px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.sim-label { font: 500 11px var(--font); }
.sim-low  { background: var(--good-soft); color: var(--good); }
.sim-mid  { background: var(--mid-soft);  color: var(--mid); }
.sim-high { background: var(--bad-soft);  color: var(--bad); }

.chip { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: var(--sunken); color: var(--muted); white-space: nowrap; }
.chip-researching { background: var(--link-soft); color: var(--link); }
.chip-assigned    { background: #ece6fa; color: #5a3ea8; }
.chip-drafting    { background: var(--mid-soft); color: var(--mid); }
.chip-in_review   { background: #dff1f5; color: #0f6577; }
.chip-published   { background: var(--good-soft); color: var(--good); }
.chip-discarded   { background: var(--sunken); color: var(--muted); }
.tag { font-size: 11px; padding: 1px 7px; border-radius: 4px; background: var(--sunken); color: var(--muted); }
.tag-warn { background: var(--mid-soft); color: var(--mid); }
.source { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--accent); padding: 2px 8px; }

/* ---------- inbox ---------- */
.inbox-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 4px; }
.inbox-head .tabs { margin-bottom: 0; border-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 16px; align-items: start; }
.idea-list {
  list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); max-height: calc(100vh - 170px); overflow-y: auto;
}
.idea-list li + li { border-top: 1px solid var(--line); }
.idea-row { display: grid; gap: 4px; padding: 12px 14px; color: var(--ink); border-left: 3px solid transparent; }
.idea-row:hover { background: #fafafa; text-decoration: none; }
.idea-row.active { background: var(--brand-tint); border-left-color: var(--accent); }
.row-top, .row-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.row-top { justify-content: space-between; }
.row-headline { font: 700 16px/1.25 var(--display); color: var(--ink-strong); }

.detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; min-width: 0; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 12px; }
.detail-headline { font: 700 24px/1.25 var(--serif); margin-bottom: 10px; }
.lede { font-size: 15px; max-width: 70ch; }
.angles { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sim-table, .list-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sim-table th, .list-table th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.sim-table td, .list-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.list-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.discard summary { list-style: none; }
.discard summary::-webkit-details-marker { display: none; }
.discard[open] summary { background: var(--sunken); }
.discard-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; font-size: 12px; color: var(--muted); }
.discard-form select { width: auto; }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 30; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100%); z-index: 31;
  background: var(--surface); box-shadow: -8px 0 30px rgba(0,0,0,.15); overflow-y: auto; padding: 22px 24px 40px;
}
.drawer-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin: -22px -24px 18px; padding: 18px 24px 16px; background: var(--brand); }
.drawer-head h2 { font: 700 20px/1.3 var(--serif); margin-top: 4px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 22px; }
.steps > li { counter-increment: step; position: relative; padding-left: 34px; display: grid; gap: 10px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.step-head { display: grid; gap: 2px; }
.step-head .muted { font-size: 13px; }
.prompt {
  margin: 0; padding: 12px 14px; background: var(--sunken); border-radius: var(--radius);
  font: 12px/1.55 var(--mono); white-space: pre-wrap; max-height: 260px; overflow: auto;
}

/* ---------- dashboard ---------- */
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.stats { display: flex; gap: 8px; margin: 0; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; min-width: 92px; }
.stats dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stats dd { margin: 0; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.card {
  display: grid; gap: 8px; align-content: start; padding: 16px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.card:hover { border-color: var(--ink-strong); background: var(--brand-tint); text-decoration: none; }
.card-title { font: 700 17px/1.3 var(--serif); }
.card-sum { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- editor ---------- */
.editor-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.editor-bar form { margin: 0; }
.editor-layout { display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
.editor-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.title-input { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font: 700 26px/1.25 var(--serif); padding: 20px 28px 14px; }
.title-input:focus { outline: none; }
.editor-main .ql-toolbar.ql-snow { border: 0; border-bottom: 1px solid var(--line); padding: 8px 22px; }
.editor-main .ql-container.ql-snow { border: 0; font: 17px/1.7 var(--font); color: var(--ink-strong); }
.editor-main .ql-editor { min-height: 60vh; padding: 20px 28px 40px; max-width: 760px; }
.editor-main .ql-editor p { margin-bottom: .9em; }

mark { background: none; color: inherit; border-bottom: 2px solid; cursor: help; }
mark[data-kind="hook"]    { background: var(--bad-soft); border-color: var(--bad); }
mark[data-kind="wall"]    { background: #f6f1fb; border-color: transparent; }
mark[data-kind="long"]    { background: var(--mid-soft); border-color: var(--mid); }
mark[data-kind="passive"] { background: var(--link-soft); border-color: var(--link); }
mark[data-kind="filler"]  { background: #eceef1; border-color: var(--muted); text-decoration: line-through; text-decoration-color: var(--muted); }

.side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: 66px; max-height: calc(100vh - 82px); overflow-y: auto; }
.seg { display: flex; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); }
.seg button { flex: 1; padding: 10px; border: 0; background: none; font: 500 13px var(--font); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.seg button.on { color: var(--ink-strong); border-color: var(--accent); font-weight: 700; }
.pane { padding: 4px 18px 20px; }
.research-doc { white-space: pre-wrap; font-size: 13px; line-height: 1.55; background: var(--sunken); padding: 12px; border-radius: var(--radius); }

.score { display: flex; gap: 14px; align-items: center; padding: 16px 0 12px; border-bottom: 1px solid var(--line); }
.score-num { font: 700 34px/1 var(--font); font-variant-numeric: tabular-nums; }
.score-num[data-level="good"] { color: var(--good); }
.score-num[data-level="ok"]   { color: var(--mid); }
.score-num[data-level="bad"]  { color: var(--bad); }
.score-meta { display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.score-meta strong { color: var(--ink); font-size: 14px; }
.issues { list-style: none; margin: 0; padding: 8px 0 0; display: grid; gap: 6px; }
.issues button {
  width: 100%; text-align: left; display: grid; gap: 2px; padding: 8px 10px 8px 12px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: var(--radius); font: 13px var(--font); color: var(--ink);
}
.issues button:hover { background: var(--bg); }
.issues li[data-kind="hook"] button    { border-left-color: var(--bad); }
.issues li[data-kind="long"] button    { border-left-color: var(--mid); }
.issues li[data-kind="passive"] button { border-left-color: var(--link); }
.issues li[data-kind="wall"] button    { border-left-color: #7d5bbf; }
.issue-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.issues q { color: var(--muted); font-size: 12px; font-style: italic; }

/* ---------- login ---------- */
.login { max-width: 440px; margin: 48px auto; }
.login-list { display: grid; gap: 8px; margin-top: 18px; }
.login-user {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font: 14px var(--font); color: var(--ink);
}
.login-user:hover { border-color: var(--ink-strong); background: var(--brand-tint); }
.login-user small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- narrow screens ---------- */
@media (max-width: 900px) {
  .split, .editor-layout { grid-template-columns: 1fr; }
  .idea-list { max-height: 320px; }
  .side { position: static; max-height: none; }
  .who-name { display: none; }
  .features .soon { display: none; }
  .topbar { gap: 12px; padding: 0 12px; }
}

/* =================================================================
   Motion
   - htmx swaps use the View Transitions API (globalViewTransitions).
   - Named groups: topbar (static), detail, drawer, scrim, row-<id>.
   - Elements also animate on insert where View Transitions are missing.
   ================================================================= */
@view-transition { navigation: auto; }  /* full-page navigations crossfade too */

.topbar { view-transition-name: topbar; }
.detail { view-transition-name: detail; }
.drawer { view-transition-name: drawer; }
.scrim  { view-transition-name: scrim; }
.idea-row { view-transition-class: idea-row; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
::view-transition-group(*) { animation-duration: 260ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* Detail pane: quick fade out, new content rises in */
::view-transition-old(detail) { animation: vt-fade-out 120ms ease both; }
::view-transition-new(detail) { animation: vt-rise-in 220ms 60ms cubic-bezier(.2, .8, .2, 1) both; }

/* Rows: leaving rows slide out, remaining rows glide up (group morph), new rows fade in */
::view-transition-old(*.idea-row):only-child { animation: vt-row-out 220ms ease both; }
::view-transition-new(*.idea-row):only-child { animation: vt-rise-in 240ms 80ms ease both; }

/* Drawer + backdrop */
::view-transition-new(drawer):only-child { animation: vt-drawer-in 300ms cubic-bezier(.2, .8, .2, 1) both; }
::view-transition-old(drawer):only-child { animation: vt-drawer-out 220ms ease-in both; }
::view-transition-new(scrim):only-child  { animation: vt-fade-in 240ms ease both; }
::view-transition-old(scrim):only-child  { animation: vt-fade-out 200ms ease both; }

@keyframes vt-fade-in   { from { opacity: 0; } }
@keyframes vt-fade-out  { to { opacity: 0; } }
@keyframes vt-rise-in   { from { opacity: 0; transform: translateY(6px); } }
@keyframes vt-row-out   { to { opacity: 0; transform: translateX(-28px); } }
@keyframes vt-drawer-in { from { transform: translateX(100%); } }
@keyframes vt-drawer-out{ to { transform: translateX(100%); } }

@supports not (view-transition-name: none) {
  .drawer { animation: vt-drawer-in 300ms cubic-bezier(.2, .8, .2, 1) both; }
  .scrim  { animation: vt-fade-in 240ms ease both; }
}

/* Request progress bar (htmx adds .htmx-request while a request runs) */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  opacity: 0; transition: opacity 150ms;
}
.progress.htmx-request { opacity: 1; animation: progress 900ms linear infinite; }
@keyframes progress { from { background-position: -40% 0; } to { background-position: 140% 0; } }
form.htmx-request button, a.htmx-request { opacity: .6; pointer-events: none; }

/* Small interaction polish */
.btn, .idea-row, .card, .tabs a, .seg button, .issues button, .login-user {
  transition: background-color 120ms, border-color 120ms, color 120ms, box-shadow 160ms, transform 160ms;
}
.btn:active { transform: scale(.97); }
.card:hover, .login-user:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.discard[open] .discard-form { animation: vt-rise-in 180ms ease both; }
.pane:not([hidden]) { animation: vt-fade-in 160ms ease both; }

/* Check results: highlights fade in, issues cascade in */
mark { animation: mark-in 500ms ease both; }
@keyframes mark-in { from { background-color: transparent; border-bottom-color: transparent; } }
.issues li { animation: vt-rise-in 260ms ease both; animation-delay: calc(var(--i, 0) * 45ms); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; translate: -50% 0;
  display: flex; align-items: center; gap: 4px; max-width: calc(100% - 32px);
  padding: 6px 6px 6px 16px; border-radius: var(--radius); overflow: hidden;
  background: #222; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  animation: toast-in 260ms cubic-bezier(.2, .8, .2, 1) both;
}
.toast.leaving { animation: toast-out 200ms ease-in both; }
.toast-msg { padding-right: 8px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast form { margin: 0; }
.toast-undo, .toast-close {
  height: 30px; padding: 0 10px; border: 0; border-radius: 6px; cursor: pointer;
  background: transparent; color: var(--accent-on-dark); font: 700 13px var(--font); text-transform: uppercase; letter-spacing: .04em;
}
.toast-undo:hover, .toast-close:hover { background: rgba(255, 255, 255, .1); }
.toast-close { color: #aab3c0; font-size: 18px; padding: 0 8px; }
.toast-timer {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform-origin: left; animation: toast-timer 6s linear forwards;
}
.toast.paused .toast-timer { animation-play-state: paused; }
@keyframes toast-in    { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes toast-out   { to { opacity: 0; transform: translateY(10px); } }
@keyframes toast-timer { to { transform: scaleX(0); } }

/* Respect reduced motion everywhere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after,
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) {
    animation: none !important; transition: none !important;
  }
}
