:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --surface-2: #f3f2ee;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --border: rgba(11, 11, 11, 0.10);
  --accent: #2a78d6;
  --accent-ink: #1c5cab;
  --accent-wash: rgba(42, 120, 214, 0.10);
  --good-text: #006300;
  --bad-text: #b3302f;

  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --s5: #e87ba4; --s6: #008300; --s7: #4a3aa7; --s8: #e34948;
  --other: #b5b4ad;

  /* diverging (blue <-> red, gray midpoint) */
  --neg-3: #b3302f; --neg-2: #e34948; --neg-1: #f2a09c;
  --mid: #c9c8c1;
  --pos-1: #86b6ef; --pos-2: #3987e5; --pos-3: #1c5cab;
  /* sequential blue (ordinal) */
  --seq-1: #86b6ef; --seq-2: #5598e7; --seq-3: #2a78d6; --seq-4: #1c5cab; --seq-5: #104281;

  --good: #0ca30c; --warning: #fab219; --critical: #d03b3b;

  --radius: 12px;
  --shadow: 0 1px 2px rgba(11, 11, 11, 0.04), 0 1px 1px rgba(11, 11, 11, 0.03);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --page: #0d0d0d; --surface: #1a1a19; --surface-2: #232321;
    --ink: #ffffff; --ink-2: #c3c2b7; --muted: #898781;
    --grid: #2c2c2a; --axis: #383835; --border: rgba(255, 255, 255, 0.10);
    --accent: #3987e5; --accent-ink: #86b6ef; --accent-wash: rgba(57, 135, 229, 0.14);
    --good-text: #0ca30c; --bad-text: #e66767;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
    --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
    --other: #5c5b57;
    --neg-3: #e66767; --neg-2: #b8413f; --neg-1: #7a2f2d;
    --mid: #4a4a46;
    --pos-1: #1c5cab; --pos-2: #3987e5; --pos-3: #86b6ef;
    --seq-1: #184f95; --seq-2: #256abf; --seq-3: #3987e5; --seq-4: #6da7ec; --seq-5: #9ec5f4;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d; --surface: #1a1a19; --surface-2: #232321;
  --ink: #ffffff; --ink-2: #c3c2b7; --muted: #898781;
  --grid: #2c2c2a; --axis: #383835; --border: rgba(255, 255, 255, 0.10);
  --accent: #3987e5; --accent-ink: #86b6ef; --accent-wash: rgba(57, 135, 229, 0.14);
  --good-text: #0ca30c; --bad-text: #e66767;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  --other: #5c5b57;
  --neg-3: #e66767; --neg-2: #b8413f; --neg-1: #7a2f2d;
  --mid: #4a4a46;
  --pos-1: #1c5cab; --pos-2: #3987e5; --pos-3: #86b6ef;
  --seq-1: #184f95; --seq-2: #256abf; --seq-3: #3987e5; --seq-4: #6da7ec; --seq-5: #9ec5f4;
  --shadow: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--page); color: var(--ink); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--accent-ink); }

.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }

/* ---------- sidebar ---------- */
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px 8px; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.brand-mark svg { fill: #fff; }
.brand-name { font-weight: 650; font-size: 15px; }
.brand-sub { font-size: 12px; color: var(--muted); }
.side-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 0; }
.survey-list { display: flex; flex-direction: column; gap: 2px; }
.survey-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.survey-item:hover { background: var(--surface-2); }
.survey-item.active { background: var(--accent-wash); }
.survey-item.active .si-name { color: var(--accent-ink); }
.si-icon { flex: none; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); margin-top: 1px; }
.si-name { font-weight: 550; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.si-meta { font-size: 12px; color: var(--muted); }
.side-group-wrap { display: flex; flex-direction: column; gap: 2px; }
.side-group { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; cursor: pointer; text-align: left; padding: 9px 10px; border-radius: 8px; font-weight: 600; color: var(--ink); }
.side-group:hover { background: var(--surface-2); }
.side-group.has-active .sg-name { color: var(--accent-ink); }
.side-group .chev { flex: none; color: var(--muted); transition: transform .15s ease; }
.side-group[aria-expanded="true"] .chev { transform: rotate(90deg); }
.sg-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-count { flex: none; font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border-radius: 999px; padding: 1px 7px; }
.side-group-items { display: flex; flex-direction: column; gap: 2px; margin-left: 16px; padding-left: 8px; border-left: 1px solid var(--grid); }
.side-group-items[hidden] { display: none; }
.side-group-meta { font-size: 12px; color: var(--muted); padding: 0 10px 4px 30px; }
.btn.toggle.on { background: var(--accent-wash); color: var(--accent-ink); border-color: transparent; }
.side-empty { font-size: 13px; color: var(--muted); padding: 6px 10px; }
.scrim { display: none; }

a.brand { text-decoration: none; color: inherit; border-radius: 10px; }
.home-link { margin-top: 4px; }
.side-foot { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--grid); }
.link-btn { border: 0; background: none; padding: 4px 0; cursor: pointer; font-size: 13px; color: var(--muted); }
.link-btn:hover { color: var(--accent-ink); }
/* view-only visitors: no editing controls */
body.viewer .admin-only, body.viewer select[data-type], body.viewer [data-unhide], body.viewer .hidden-list { display: none !important; }

/* home: published reports */
.home { max-width: 1100px; }
.home h2 { font-size: 26px; margin: 4px 0 6px; letter-spacing: -0.01em; }
.home .lead { color: var(--ink-2); margin: 0 0 20px; }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.home-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.hc-head { display: flex; gap: 12px; align-items: flex-start; }
.hc-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; }
.hc-head h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.hc-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hc-actions { display: flex; gap: 8px; margin-top: auto; }
.hc-rows { display: flex; flex-direction: column; border: 1px solid var(--grid); border-radius: 10px; overflow: hidden; }
.hr-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-top: 1px solid var(--grid); }
.hr-row:first-child { border-top: 0; }
.hr-open { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.hr-open:hover .hr-name { color: var(--accent-ink); }
.hr-name { font-weight: 600; }
.hr-meta { font-size: 12px; color: var(--muted); }

/* ---------- main ---------- */
.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 28px; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); min-height: 60px; }
.topbar-title { flex: 1; min-width: 0; }
.topbar-title h1 { font-size: 18px; margin: 0; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-title .sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.icon-btn.menu-btn { display: none; }
.content { padding: 22px 28px 60px; max-width: 1320px; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; font-weight: 550; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
:root[data-theme="dark"] .btn-primary:hover { background: #256abf; }
.btn-block { width: 100%; }
.btn-danger { color: var(--bad-text); }
.btn-sm { height: 28px; padding: 0 10px; font-size: 13px; }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
select.sel, input.inp { height: 34px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); padding: 0 10px; min-width: 0; }
input.inp { width: 100%; }
select.sel:focus, input.inp:focus, .btn:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
label.fld { display: flex; flex-direction: column; gap: 6px; font-weight: 550; font-size: 13px; }
label.fld .hint { font-weight: 400; color: var(--muted); font-size: 12px; }

/* ---------- status + filters ---------- */
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; flex-wrap: wrap; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.status .new { font-weight: 600; color: var(--good-text); }
.status .err { color: var(--bad-text); font-weight: 550; }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--accent-wash); color: var(--accent-ink); font-size: 13px; font-weight: 550; max-width: 100%; }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 340px; }
.chip button { border: 0; background: none; cursor: pointer; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: inherit; }
.chip button:hover { background: rgba(0,0,0,.08); }
.filter-pop { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.filter-pop select { max-width: 320px; }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); min-width: 0; }
.tile-label { font-size: 13px; color: var(--ink-2); }
.tile-value { font-size: 26px; font-weight: 650; margin-top: 4px; letter-spacing: -0.01em; }
.tile.hero .tile-value { font-size: 48px; line-height: 1.05; }
.tile-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.delta-up { color: var(--good-text); font-weight: 600; }
.delta-down { color: var(--bad-text); font-weight: 600; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 20px; box-shadow: var(--shadow); min-width: 0; }
.card.wide { grid-column: 1 / -1; }
.card-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.qnum { flex: none; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-wash); border-radius: 6px; padding: 2px 7px; margin-top: 2px; }
.card-title { flex: 1; min-width: 0; }
.card-title h3 { margin: 0; font-size: 15px; font-weight: 620; line-height: 1.35; overflow-wrap: anywhere; }
.card-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.card-tools { display: flex; gap: 6px; flex: none; }
.card-tools select { height: 28px; font-size: 12px; padding: 0 6px; color: var(--ink-2); }
.card-tools .btn-sm { color: var(--ink-2); font-weight: 500; }
.section-title { font-size: 13px; font-weight: 650; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; margin: 26px 0 10px; }
.big-stat { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 16px; }
.big-stat .v { font-size: 28px; font-weight: 650; letter-spacing: -0.01em; }
.big-stat .v small { font-size: 15px; color: var(--muted); font-weight: 500; }
.big-stat .l { font-size: 12px; color: var(--ink-2); }
.empty-note { color: var(--muted); font-size: 13px; padding: 12px 0; }

/* chart-type switcher */
.viewsw { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; height: 28px; }
.vs-btn { width: 30px; display: grid; place-items: center; border: 0; background: var(--surface); color: var(--muted); cursor: pointer; border-left: 1px solid var(--border); }
.vs-btn:first-child { border-left: 0; }
.vs-btn:hover { color: var(--ink); background: var(--surface-2); }
.vs-btn.on { background: var(--accent-wash); color: var(--accent-ink); }
.vs-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* donut */
.donut { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.donut svg { flex: none; }
.dn-v { font-size: 22px; font-weight: 650; fill: var(--ink); }
.dn-l { font-size: 11px; fill: var(--muted); }
.dn-legend { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 6px; }
.dn-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; padding: 2px 4px; margin: 0 -4px; border-radius: 6px; }
.dn-row.clickable { cursor: pointer; }
.dn-row.clickable:hover { background: var(--surface-2); }
.dn-row i { width: 12px; height: 12px; border-radius: 3px; }
.dn-name { overflow-wrap: anywhere; line-height: 1.3; }
.dn-val { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dn-val span { color: var(--muted); margin-left: 6px; }

/* heatmap */
table.heat { width: 100%; border-collapse: separate; border-spacing: 2px; font-size: 12px; }
.heat th { font-weight: 600; color: var(--ink-2); padding: 6px 4px; text-align: center; }
.heat td { text-align: center; padding: 8px 4px; border-radius: 4px; font-variant-numeric: tabular-nums; cursor: default; }
.heat td.hm-label { text-align: left; font-size: 13px; color: var(--ink); background: none; width: 32%; min-width: 150px; padding-right: 12px; }

/* horizontal bars */
.hbars { display: flex; flex-direction: column; gap: 8px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 36%) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 2px 4px; margin: 0 -4px; border-radius: 6px; }
.hbar.clickable { cursor: pointer; }
.hbar.clickable:hover { background: var(--surface-2); }
.hbar-label { font-size: 13px; color: var(--ink); overflow-wrap: anywhere; line-height: 1.3; }
.hbar-track { height: 16px; display: flex; align-items: center; }
.hbar-fill { height: 16px; min-width: 3px; border-radius: 0 4px 4px 0; background: var(--s1); }
.hbar-val { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; min-width: 78px; white-space: nowrap; }
.hbar-val span { color: var(--muted); margin-left: 6px; }

/* columns */
.cols { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 22px; border-bottom: 1px solid var(--axis); }
.col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; position: relative; }
.col.clickable { cursor: pointer; }
.col-bar { width: 100%; max-width: 24px; border-radius: 4px 4px 0 0; background: var(--s1); min-height: 2px; }
.col.clickable:hover .col-bar { filter: brightness(1.08); }
.col-cap { font-size: 12px; color: var(--ink-2); margin-bottom: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.col-labels { display: flex; gap: 6px; margin-top: 6px; }
.col-labels div { flex: 1; text-align: center; font-size: 12px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* stacked 100% bars */
.stack { display: flex; gap: 2px; height: 22px; border-radius: 4px; overflow: hidden; }
.seg { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; min-width: 2px; cursor: pointer; }
.seg:hover { filter: brightness(1.08); }
.grid-rows { display: flex; flex-direction: column; gap: 10px; }
.grid-row { display: grid; grid-template-columns: minmax(110px, 30%) minmax(0, 1fr) 64px; gap: 12px; align-items: center; }
.grid-row .gr-label { font-size: 13px; overflow-wrap: anywhere; line-height: 1.3; }
.grid-row .gr-score { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; font-size: 12px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* NPS */
.nps-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-top: 8px; gap: 8px; flex-wrap: wrap; }

/* sub-headings inside cards */
.subhead { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }

/* tables */
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 14px; }
.tbl th, .tbl td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--grid); overflow-wrap: anywhere; }
.tbl th { font-weight: 600; color: var(--ink-2); font-size: 12px; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; }

/* new survey */
.new-wrap { max-width: 720px; margin: 20px auto 0; }
.new-wrap h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.01em; }
.new-wrap .lead { color: var(--ink-2); margin: 0 0 22px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 220px; gap: 12px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--grid); }
.drop { border: 1.5px dashed var(--axis); border-radius: 10px; padding: 22px; text-align: center; color: var(--ink-2); cursor: pointer; }
.drop.over, .drop:hover { border-color: var(--accent); background: var(--accent-wash); }
.drop strong { color: var(--accent-ink); }
.form-error { color: var(--bad-text); font-weight: 550; font-size: 13px; }
.help { margin-top: 20px; font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.help h4 { margin: 0 0 8px; font-size: 13px; color: var(--ink); }
.help ol { margin: 0; padding-left: 18px; }
.help li { margin: 4px 0; }

/* new survey: how it works */
.how { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 13px; }
.how li.on { border-color: var(--accent); }
.how li:not(.on) .step-n { background: var(--surface-2); color: var(--ink-2); }
.how b { display: block; font-size: 14px; margin-bottom: 2px; }
.how span:not(.step-n) { color: var(--ink-2); line-height: 1.45; }
.opt { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 4px; }

/* setup */
.setup { max-width: 920px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 16px; }
.setup h2 { font-size: 26px; margin: 0; letter-spacing: -0.01em; }
.setup .lead { color: var(--ink-2); margin: -8px 0 4px; }
.back-link { align-self: flex-start; border: 0; background: none; padding: 0; cursor: pointer; font-size: 13px; font-weight: 550; color: var(--accent-ink); }
.step-h { display: flex; gap: 12px; align-items: flex-start; }
.step-h h3 { margin: 0; font-size: 16px; }
.step-h p { margin: 2px 0 0; color: var(--ink-2); font-size: 13px; }
.step-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.tab-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.tab-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--grid); flex-wrap: wrap; }
.tab-row:first-child { border-top: 0; }
.tab-row.on { background: var(--accent-wash); }
.tr-pick { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; cursor: pointer; }
.tr-pick input { width: 16px; height: 16px; accent-color: var(--accent); }
.tr-main { display: flex; flex-direction: column; min-width: 0; }
.tr-name { font-weight: 600; }
.tr-meta { font-size: 12px; color: var(--muted); }
.tr-label { width: 240px; height: 30px; }
.pill { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 8px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill-ok { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good-text); }
.cfg-panel { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px solid var(--grid); }
.step-h + .cfg-panel { border-top: 0; padding-top: 0; }
.cfg-for { font-size: 13px; color: var(--ink-2); }
.cfg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.chk { display: flex; gap: 8px; align-items: center; font-size: 13px; cursor: pointer; }
.chk input { accent-color: var(--accent); }
.cfg-sum { font-size: 13px; color: var(--ink-2); }
.dlg .col-plan { max-height: 260px; }
.col-plan { max-height: 300px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; }
.cp { display: grid; grid-template-columns: 18px 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 12px; font-size: 13px; border-top: 1px solid var(--grid); cursor: pointer; }
.cp:hover { background: var(--surface-2); }
.cp input { width: 15px; height: 15px; accent-color: var(--accent); margin: 0; }
.cp-count { cursor: default; }
.cp-off .cp-h { color: var(--muted); text-decoration: line-through; }
.cp-picked .cp-r { outline: 1px solid var(--accent); }
.cp-warn { background: color-mix(in srgb, var(--critical) 16%, transparent) !important; color: var(--bad-text) !important; }
.cp-personal .cp-h { color: var(--muted); }
.cfg-sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cp:first-child { border-top: 0; }
.cp-n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.cp-h { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-r { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 8px; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.cp-question .cp-r { background: var(--accent-wash); color: var(--accent-ink); }
.cp-count .cp-r { background: color-mix(in srgb, var(--warning) 22%, transparent); color: var(--ink); }
.cp-before .cp-h, .cp-after .cp-h, .cp-track .cp-h { color: var(--muted); }
.setup-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding-bottom: 30px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* loading */
.loading { display: flex; align-items: center; gap: 10px; color: var(--ink-2); padding: 40px 0; justify-content: center; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: sk 1.4s ease infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

.hidden-list { margin-top: 24px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* dialog */
.dlg { border: 1px solid var(--border); border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.dlg::backdrop { background: rgba(0,0,0,.35); }
.dlg form { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.dlg h3 { margin: 0; font-size: 17px; }
.dlg-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; }
.dlg-actions div { display: flex; gap: 8px; }

/* tooltip */
.tip { position: fixed; z-index: 50; pointer-events: none; background: var(--ink); color: var(--surface); font-size: 12px; line-height: 1.4; padding: 7px 10px; border-radius: 7px; max-width: 280px; opacity: 0; transition: opacity .08s; }
.tip.on { opacity: 1; }
.tip b { font-weight: 650; }

/* takeaways + highlights */
.takeaway { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding: 10px 12px; border-radius: 8px; background: var(--accent-wash); color: var(--ink); font-size: 13px; line-height: 1.45; }
.takeaway svg { flex: none; color: var(--accent-ink); margin-top: 1px; }
.takeaway b { font-weight: 650; }
.status .jump-hl { margin-left: auto; font-weight: 550; text-decoration: none; }
.card[id^="q-"], #highlights { scroll-margin-top: 76px; }
.highlights { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.hl-icon { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.hl-icon svg { width: 17px; height: 17px; }
.hl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
.hl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.5; }
.hl-list li { display: flex; gap: 10px; align-items: flex-start; }
.hl-title { color: var(--muted); font-size: 12px; margin-bottom: 1px; }
.hl-q { flex: none; font-size: 11px; font-weight: 700; color: var(--accent-ink); background: var(--accent-wash); border-radius: 5px; padding: 1px 6px; text-decoration: none; white-space: nowrap; }
a.hl-q { margin-top: 2px; }
.hl-seg { cursor: pointer; padding: 8px 10px; margin: -4px -10px; border-radius: 8px; }
.hl-seg:hover { background: var(--surface-2); }
.hl-delta { flex: none; font-size: 12px; font-weight: 700; min-width: 62px; margin-top: 1px; }
.hl-delta.up { color: var(--good-text); }
.hl-delta.down { color: var(--bad-text); }
.hl-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.hl-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--grid); font-size: 13px; line-height: 1.5; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .tile.hero { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 30; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: none; }
  .scrim.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 25; }
  .icon-btn.menu-btn { display: inline-grid; }
  .grid { grid-template-columns: 1fr; }
  .hl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { padding: 10px 16px; flex-wrap: wrap; }
  .content { padding: 16px 16px 48px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cfg-row, .form-row2 { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .tr-label { width: 100%; }
  .hbar { grid-template-columns: minmax(0, 1fr) auto; }
  .hbar-label { grid-column: 1 / -1; }
  .grid-row { grid-template-columns: minmax(0, 1fr) 56px; }
  .grid-row .gr-label { grid-column: 1 / -1; }
  .card-head { flex-wrap: wrap; }
  .topbar-actions .btn-label { display: none; }
}

/* ---------- branded PDF pages (report.js draws each slide here, off-screen) ---------- */
.deck-host { position: fixed; left: -20000px; top: 0; z-index: -1; }
.deck-slide { position: relative; width: 1000px; height: 750px; overflow: hidden; background: #fff; color: #000; font-family: Arial, Helvetica, sans-serif; }
.deck-slide b { font-weight: 700; }

/* ---------- PDF export (off-screen, always light) ---------- */
.pdf-host {
  position: fixed; left: -20000px; top: 0; width: 1120px; padding: 24px; z-index: -1;
  color-scheme: light;
  --page: #f9f9f7; --surface: #fcfcfb; --surface-2: #f3f2ee;
  --ink: #0b0b0b; --ink-2: #52514e; --muted: #898781;
  --grid: #e1e0d9; --axis: #c3c2b7; --border: rgba(11, 11, 11, 0.10);
  --accent: #2a78d6; --accent-ink: #1c5cab; --accent-wash: rgba(42, 120, 214, 0.10);
  --good-text: #006300; --bad-text: #b3302f;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --s5: #e87ba4; --s6: #008300; --s7: #4a3aa7; --s8: #e34948;
  --other: #b5b4ad;
  --neg-3: #b3302f; --neg-2: #e34948; --neg-1: #f2a09c; --mid: #c9c8c1;
  --pos-1: #86b6ef; --pos-2: #3987e5; --pos-3: #1c5cab;
  --seq-1: #86b6ef; --seq-2: #5598e7; --seq-3: #2a78d6; --seq-4: #1c5cab; --seq-5: #104281;
  --shadow: none;
  background: var(--page); color: var(--ink);
}
.pdf-host .content { padding: 0; max-width: none; }
.pdf-host .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdf-host .kpis { grid-template-columns: 1.4fr repeat(3, 1fr); }
.pdf-host .tile.hero { grid-column: auto; }
.pdf-host .highlights { border-color: var(--axis); }
.pdf-host .hl-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pdf-head { padding: 4px 4px 18px; }
.pdf-brand { font-size: 12px; font-weight: 600; color: var(--accent-ink); letter-spacing: .04em; text-transform: uppercase; }
.pdf-head h1 { margin: 6px 0 6px; font-size: 26px; letter-spacing: -0.01em; }
.pdf-meta { font-size: 13px; color: var(--ink-2); }

/* ---------- print ---------- */
@media print {
  .sidebar, .scrim, .topbar-actions, .menu-btn, .card-tools, .filters .btn, .filter-pop { display: none !important; }
  .app { display: block; }
  .topbar { position: static; border: 0; }
  body, .card, .tile { background: #fff; box-shadow: none; }
  .card { break-inside: avoid; }
}

/* ---------------------------------------------------------------- account / login (ALLVIK) */
.auth-box { display: none; }
body.signed-out .app { display: none; }
body.signed-out .auth-box { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.auth-card h2 { margin: 0 0 6px; font-size: 22px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.ws-pick { display: flex; flex-direction: column; margin: 4px 0 12px; }
.ws-pick .sel { width: 100%; }
.acct { margin-top: 10px; font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.acct span { font-weight: 600; color: var(--ink); margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.acct-page { max-width: 980px; display: flex; flex-direction: column; gap: 18px; }
.acct-page h3 { margin: 0 0 6px; font-size: 17px; }
.acct-page .hint { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.ws-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ws-row, .row-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ws-row .inp, .row-form .inp { flex: 1 1 180px; min-width: 0; }
.color-fld { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.color-fld input { width: 36px; height: 30px; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: none; }
.add-user { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; align-items: center; }
.fld-inline { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.ptable { width: 100%; border-collapse: collapse; font-size: 13px; }
.ptable th, .ptable td { text-align: left; padding: 8px; border-bottom: 1px solid var(--grid); vertical-align: middle; }
.ptable th { color: var(--ink-2); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.muted { color: var(--muted); }
.ok { color: var(--good-text); font-weight: 550; }
#panelForm h3 { font-size: 16px; }

/* ---------------------------------------------------------------- Present mode (slideshow) */
body.presenting { overflow: hidden; }
.ps-overlay { position: fixed; inset: 0; z-index: 1000; background: #0b0b14; color: #fff; font-family: var(--font); user-select: none; }
.ps-stage { position: absolute; left: 50%; top: calc(50% - 32px); width: 1600px; height: 900px; transform-origin: center; overflow: hidden; border-radius: 18px;
  background: radial-gradient(1200px 700px at 85% -10%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 60%),
              radial-gradient(900px 600px at -10% 110%, rgba(0, 184, 148, .28), transparent 60%), #12121f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.ps-slide { position: absolute; inset: 0; }
.ps-pad { padding: 70px 90px 90px; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.ps-stage h2 { margin: 0 0 26px; font-size: 52px; line-height: 1.15; font-weight: 750; letter-spacing: -.02em; }
.ps-foot { position: absolute; left: 90px; right: 90px; bottom: 30px; display: flex; justify-content: space-between; font-size: 18px; color: rgba(255, 255, 255, .45); }
.ps-muted { color: rgba(255, 255, 255, .55); font-size: 24px; }
/* entrance animations: elements with .ps-anim rise in, staggered by --d */
.ps-anim { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.ps-stage.in .ps-anim { opacity: 1; transform: none; }
/* cover / end */
.ps-cover { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 120px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 85%, #000) 0%, #1a1035 55%, #0d1b2a 100%); }
.ps-cover h1 { font-size: 92px; line-height: 1.04; margin: 0 0 22px; font-weight: 800; letter-spacing: -.03em; max-width: 1200px; position: relative; z-index: 1; }
.ps-kicker { font-size: 22px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 26px; position: relative; z-index: 1; }
.ps-sub { font-size: 34px; color: rgba(255, 255, 255, .8); position: relative; z-index: 1; }
.ps-cover-stats { display: flex; gap: 70px; margin-top: 70px; position: relative; z-index: 1; }
.ps-cover-stats div { display: flex; flex-direction: column; }
.ps-cover-stats b { font-size: 84px; font-weight: 800; background: linear-gradient(90deg, #ffeaa7, #fd79a8); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.ps-cover-stats span { font-size: 22px; color: rgba(255, 255, 255, .7); margin-top: 8px; }
.ps-blobs i { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; animation: ps-float 9s ease-in-out infinite alternate; }
.ps-blobs i:nth-child(1) { width: 420px; height: 420px; right: -80px; top: -60px; background: radial-gradient(circle, #fd79a8, transparent 70%); }
.ps-blobs i:nth-child(2) { width: 360px; height: 360px; right: 220px; bottom: -120px; background: radial-gradient(circle, #00cec9, transparent 70%); animation-delay: -3s; }
.ps-blobs i:nth-child(3) { width: 260px; height: 260px; right: 60px; bottom: 200px; background: radial-gradient(circle, #fdcb6e, transparent 70%); animation-delay: -6s; }
@keyframes ps-float { to { transform: translate(-40px, 30px) scale(1.08); } }
.ps-end { align-items: center; text-align: center; }
/* lists (key questions, findings, segment differences) */
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 40px; }
.ps-list.two { grid-template-columns: 1fr 1fr; }
.ps-list li { display: flex; gap: 22px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 18px 22px; }
.ps-badge { flex: none; min-width: 52px; height: 52px; padding: 0 10px; border-radius: 26px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; box-sizing: border-box; }
.ps-li-sub { font-size: 17px; color: rgba(255, 255, 255, .55); margin-bottom: 4px; }
.ps-li-text { font-size: 25px; line-height: 1.3; }
/* method + demographics */
.ps-method { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; flex: 1; min-height: 0; }
.ps-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-content: start; }
.ps-demo-card { background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 20px 22px; border-top: 5px solid var(--c); }
.ps-demo-h { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--c); }
.ps-demo-row { display: grid; grid-template-columns: 1fr 120px 64px; gap: 12px; align-items: center; font-size: 18px; margin: 7px 0; }
.ps-demo-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-demo-row b { text-align: right; }
.ps-mini { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ps-mini i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 5px; transition: width 1s cubic-bezier(.2, .8, .2, 1) .4s; }
.ps-stage.in .ps-mini i { width: var(--w); }
.ps-bullets { margin: 0; padding: 0 0 0 26px; font-size: 26px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.ps-bullets li { margin-bottom: 18px; }
.ps-bullets li::marker { color: #fdcb6e; }
/* chart slides */
.ps-qnum { display: inline-block; align-self: flex-start; font-weight: 800; font-size: 20px; padding: 6px 16px; border-radius: 20px; background: var(--brand); margin-bottom: 16px; }
.ps-chart-slide h2 { margin-bottom: 10px; font-size: 46px; }
.ps-headline { font-size: 28px; line-height: 1.35; margin: 0 0 18px; color: #ffeaa7; max-width: 1350px; }
.ps-chart { flex: 1; min-height: 0; display: flex; align-items: center; }
.ps-base { font-size: 18px; color: rgba(255, 255, 255, .5); margin-top: 8px; }
.ps-bars { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.ps-bar-row { display: grid; grid-template-columns: 420px 1fr 110px; gap: 22px; align-items: center; }
.ps-bar-label { font-size: 24px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, .9); }
.ps-track { height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.ps-bar { height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff)); box-shadow: 0 0 24px color-mix(in srgb, var(--c) 50%, transparent); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.ps-stage.in .ps-bar { width: var(--w); }
.ps-bar-row b { font-size: 28px; font-weight: 800; }
.ps-cols { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: space-around; gap: 18px; padding-top: 30px; box-sizing: border-box; }
.ps-col { flex: 1; max-width: 150px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; }
.ps-col b { font-size: 28px; font-weight: 800; }
.ps-colbar { width: 100%; height: 0; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 60%, #fff), var(--c)); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 45%, transparent); transition: height 1.1s cubic-bezier(.2, .8, .2, 1); }
.ps-stage.in .ps-colbar { height: calc(var(--h) * 0.78); }
.ps-col span { font-size: 21px; color: rgba(255, 255, 255, .85); text-align: center; min-height: 52px; }
.ps-pie { width: 100%; display: grid; grid-template-columns: 520px 1fr; gap: 70px; align-items: center; position: relative; }
.ps-donut { width: 520px; height: 520px; }
.ps-donut circle { transition: stroke-dasharray 1.2s cubic-bezier(.2, .8, .2, 1); }
.ps-donut-mid { position: absolute; left: 0; top: 0; width: 520px; height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ps-donut-mid b { font-size: 76px; font-weight: 800; line-height: 1; }
.ps-donut-mid span { font-size: 22px; color: rgba(255, 255, 255, .7); margin-top: 8px; max-width: 260px; }
.ps-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ps-legend li { display: grid; grid-template-columns: 26px 1fr auto; gap: 16px; align-items: center; font-size: 26px; }
.ps-legend i { width: 26px; height: 26px; border-radius: 8px; }
.ps-legend b { font-weight: 800; }
/* controls */
.ps-ui { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .08); padding: 6px 10px; border-radius: 30px; backdrop-filter: blur(8px); }
.ps-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.ps-btn:hover { background: rgba(255, 255, 255, .2); }
.ps-play { width: 48px; height: 48px; background: var(--brand); font-size: 16px; }
.ps-play.on { background: #e17055; }
.ps-count-ui { font-size: 14px; color: rgba(255, 255, 255, .7); padding: 0 8px; min-width: 64px; text-align: center; }
.ps-progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, .08); }
.ps-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #fdcb6e, #fd79a8, #6c5ce7); }
.btn-present { background: linear-gradient(90deg, #6c5ce7, #fd79a8); border-color: transparent; color: #fff; }
.btn-present:hover { filter: brightness(1.08); background: linear-gradient(90deg, #6c5ce7, #fd79a8); }
@media (prefers-reduced-motion: reduce) { .ps-anim, .ps-bar, .ps-colbar, .ps-mini i, .ps-donut circle { transition: none; } .ps-blobs i { animation: none; } }
