/* The Undivided Hub. Frosted glass panels over a soft pink backdrop, a dark menu that carries the white logo,
   and solid-enough reading surfaces that long answers stay easy on the eye. Brand: near-black, pink, white, Poppins. */
:root {
  --ink: #141014;
  --muted: #6E6169;
  --faint: #A3959E;
  --bg: #FBF6F9;
  --surface: #FFFFFF;
  --line: #EDE3E9;
  --black: #0A0A0A;
  --pink: #F478BC;
  --pink-deep: #D8579E;
  --pink-ink: #B83D80;
  --pink-soft: #FCE8F3;
  --pink-line: #F3C6DF;
  --low: #B4442F;
  --low-soft: #FBEAE6;
  --mid: #9A6A12;
  --mid-soft: #FBF1DE;
  --high: #2F7D57;
  --high-soft: #E4F3EB;

  /* Glass */
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 30px -12px rgba(184, 61, 128, .18), 0 2px 6px rgba(20, 16, 20, .04);
  --blur: blur(18px) saturate(150%);

  --side-w: 252px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
html, body { margin: 0; color: var(--ink); }
body { font-family: "Poppins", system-ui, sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; }
button { font: inherit; color: inherit; }
a { color: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--pink-ink); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Soft pink light behind the glass */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 560px; height: 560px; background: var(--pink); top: -220px; right: -120px; opacity: .38; }
.b2 { width: 480px; height: 480px; background: var(--pink-line); bottom: -180px; left: 12%; opacity: .7; }
.b3 { width: 360px; height: 360px; background: var(--pink-deep); top: 38%; right: 22%; opacity: .14; }

/* Shared glass surface */
.glass, .rows, .stat, .card, .head, .chart-card, .panel, .kpi, .login-card, .empty, .search, .tabs {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
/* Reading surfaces sit a little more solid */
.card, .head, .rows { background: var(--glass-strong); }

/* ---------- Menu: dark glass sidebar (computer) ---------- */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side-w); z-index: 10;
  display: none; flex-direction: column; gap: 28px; padding: 26px 16px 20px;
  background: rgba(10, 10, 10, .86);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border-right: 1px solid rgba(255, 255, 255, .06);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; padding: 0 10px; }
.brand img { height: 26px; width: auto; }
.brand span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); padding-left: 12px; border-left: 1px solid #333; }
.side-nav { display: grid; gap: 4px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
  text-decoration: none; color: #CFC6CB; font-weight: 500; font-size: 15px;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-link.on { background: linear-gradient(135deg, rgba(244, 120, 188, .26), rgba(244, 120, 188, .1)); color: #fff; box-shadow: inset 0 0 0 1px rgba(244, 120, 188, .3); }
.nav-link.on .icon { color: var(--pink); }
.icon { width: 22px; height: 22px; flex: none; display: inline-grid; place-items: center; }
.icon svg { width: 100%; height: 100%; }
.nav-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-count { background: var(--pink); color: var(--black); font-size: 12px; font-weight: 700; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; }
.side .signout { margin-top: auto; }
.signout { background: none; border: 1px solid #333; color: #D8D0D5; border-radius: 999px; padding: 8px 16px; font-size: 13px; cursor: pointer; }
.signout:hover { border-color: var(--pink); color: #fff; }

/* ---------- Top bar (phone, and the sign-in page) ---------- */
.top { background: rgba(10, 10, 10, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; position: sticky; top: 0; z-index: 10; }
.top-inner { max-width: 1120px; margin: 0 auto; padding: 14px max(16px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 16px; }
.top-inner .brand { padding: 0; }
.top .signout { margin-left: auto; display: none; }

/* ---------- Tab bar (phone) ---------- */
.tabs {
  position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 10;
  display: none; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px; border-radius: 22px;
  background: rgba(255, 255, 255, .78);
}
.tabs .nav-link { position: relative; flex-direction: column; gap: 2px; padding: 8px 2px 6px; color: var(--muted); font-size: 11px; font-weight: 600; border-radius: 16px; }
.tabs .nav-link:hover { background: none; color: var(--ink); }
.tabs .nav-link.on { background: var(--black); color: #fff; box-shadow: none; }
.tabs .nav-link .nav-label { flex: none; }
.tabs .nav-count { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; }

/* Signed in: menu on, content shifted to make room */
body.signed-in .tabs { display: grid; }
body.signed-in .top .signout { display: inline-block; }
body.signed-in main { padding-bottom: 96px; }
body.sharing .side, body.sharing .tabs { display: none !important; }
@media (min-width: 980px) {
  body.signed-in .side { display: flex; }
  body.signed-in .top, body.signed-in .tabs { display: none; }
  body.signed-in main { margin-left: var(--side-w); padding-bottom: 0; }
  body.sharing main { margin-left: 0; }
}

/* ---------- Sign in ---------- */
.login { min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 400px; border-radius: 24px; padding: 34px 30px; display: grid; gap: 14px; background: var(--glass-strong); }
.login-logo { height: 34px; width: auto; justify-self: start; background: var(--black); padding: 10px 14px; border-radius: 12px; box-sizing: content-box; }
.login-card h1 { margin: 6px 0 0; font-size: 26px; }
.login-card p { margin: 0; color: var(--muted); font-size: 14px; }
.login-card input { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .9); color: var(--ink); }
.login-card input:focus { outline: none; border-color: var(--pink-ink); }
.btn { background: var(--black); color: #fff; border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 600; cursor: pointer; }
.btn:hover { background: #2a2a2a; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.err { color: var(--low); font-size: 14px; min-height: 20px; margin: 0; }

/* ---------- Page shell ---------- */
.shell { max-width: 1120px; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-left)) 64px; display: grid; gap: 22px; }
.shell.narrow { max-width: 880px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink); margin: 0; }
.sub { color: var(--muted); margin: 0; }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); border-radius: var(--radius); }
.empty h2, .empty h3 { color: var(--ink); font-size: 17px; margin: 0 0 4px; }
.empty p { margin: 0; }
.empty.small { padding: 28px 20px; }
.panel .empty { background: rgba(255, 255, 255, .5); box-shadow: none; }
.link { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
.link:hover { color: var(--ink); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--pink-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs .sep { color: var(--faint); }

/* ---------- Home ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 28px; padding: 34px 34px 30px; display: grid; gap: 8px;
  background: linear-gradient(135deg, rgba(10, 10, 10, .92), rgba(40, 18, 32, .88));
  color: #fff; box-shadow: 0 24px 50px -24px rgba(184, 61, 128, .55);
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 120, 188, .55), rgba(244, 120, 188, 0) 70%); pointer-events: none;
}
.hero .eyebrow { color: var(--pink); }
.hero h1 { margin: 0; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; text-wrap: balance; position: relative; }
.hero-sub { margin: 0; font-size: 17px; color: #E9DFE5; max-width: 52ch; position: relative; }
.next-call {
  position: relative; justify-self: start; margin-top: 12px; display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: #fff; font-size: 14px; padding: 10px 16px 10px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.next-call .icon { color: var(--pink); width: 20px; height: 20px; }
.next-call strong { color: var(--pink); font-weight: 600; }
.next-call:hover { background: rgba(255, 255, 255, .16); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { display: grid; gap: 6px; align-content: start; text-decoration: none; border-radius: var(--radius); padding: 18px 18px 16px; transition: transform .15s ease, box-shadow .15s ease; }
.kpi:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow), 0 14px 30px -14px rgba(184, 61, 128, .35); }
.kpi-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.kpi-top .icon { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--pink-soft); color: var(--pink-ink); }
.kpi-value { font-size: 30px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi-note { font-size: 12px; color: var(--muted); }

.dash { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.panel { border-radius: 24px; padding: 18px; display: grid; gap: 12px; background: rgba(255, 255, 255, .45); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 4px; }
.panel-head h2 { margin: 0; font-size: 17px; }
.panel-link { font-size: 13px; font-weight: 600; color: var(--pink-ink); text-decoration: none; }
.panel-link:hover { text-decoration: underline; }
.panel .rows { box-shadow: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { border-radius: 16px; padding: 14px 18px; min-width: 0; }
.stat .k { font-size: 12px; color: var(--muted); font-weight: 500; }
.stat .v { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; }
.stat .v small { font-size: 13px; color: var(--faint); font-weight: 500; }

/* ---------- Section page ---------- */
.page-head { display: grid; gap: 4px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.search { flex: 1; min-width: 200px; max-width: 380px; font: inherit; font-size: 15px; padding: 11px 18px; border-radius: 999px; color: var(--ink); }
.search:focus { outline: none; border-color: var(--pink-ink); }
.toolbar .link:last-child { margin-left: auto; }
.section-head { font-size: 17px; margin: 8px 0 0; }

/* ---------- Rows ---------- */
.rows { border-radius: 18px; overflow: hidden; }
.row {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 18px; gap: 14px; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid rgba(237, 227, 233, .8); text-decoration: none;
  transition: background .12s ease;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: rgba(252, 232, 243, .55); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: var(--pink); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.row.new .avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--pink); }
.who { display: grid; min-width: 0; }
.name { font-weight: 600; display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
.meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.scores { display: flex; gap: 6px; }
.go { color: var(--faint); font-size: 22px; line-height: 1; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; }
.badge.feedback { background: var(--pink-soft); color: var(--pink-ink); }
.badge.exit { background: #ECE8EA; color: #4A3F45; }
.badge.enquiry { background: var(--black); color: #fff; }
.badge.booking { background: var(--pink-ink); color: #fff; }
.chip { font-size: 13px; font-weight: 600; border-radius: 8px; padding: 3px 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip small { font-weight: 500; opacity: .75; font-size: 11px; }
.chip.low, .score.low { background: var(--low-soft); color: var(--low); }
.chip.mid, .score.mid { background: var(--mid-soft); color: var(--mid); }
.chip.high, .score.high { background: var(--high-soft); color: var(--high); }
.chip.untagged { background: var(--pink-soft); color: var(--pink-ink); }

/* ---------- One item ---------- */
.detail { display: grid; gap: 16px; min-width: 0; }
.head { border-radius: 22px; padding: 24px 26px; display: grid; gap: 10px; }
.head h1 { margin: 0; font-size: clamp(26px, 3.6vw, 32px); line-height: 1.2; }
.hrow { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 14px; }
.email { user-select: all; color: var(--ink); }
.others { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.others a { border: 1px solid var(--line); background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px 12px; text-decoration: none; color: var(--ink); }
.others a:hover { border-color: var(--pink-ink); }
.actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.hide-others { background: var(--pink-soft); border: 1px solid var(--pink-line); color: var(--pink-ink); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; cursor: pointer; }
.hide-others:hover { border-color: var(--pink-ink); }
.del { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.del.confirm { border-color: var(--low); color: var(--low); background: var(--low-soft); }
.share-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--pink-soft); border: 1px solid var(--pink-line); color: var(--pink-ink); border-radius: 16px; padding: 12px 18px; font-weight: 500; }

.section-title { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink); margin: 10px 4px -4px; }
.card { border-radius: 18px; padding: 20px 24px; display: grid; gap: 10px; }
.card .qnum { font-size: 12px; color: var(--faint); font-weight: 500; }
.card .q { font-weight: 600; font-size: 15px; line-height: 1.45; }
.answer { font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.answer.none { color: var(--faint); font-style: italic; font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 500; }

.scale-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.score { font-size: 22px; font-weight: 700; border-radius: 12px; padding: 6px 14px; font-variant-numeric: tabular-nums; }
.score small { font-size: 13px; font-weight: 500; opacity: .75; }
.track { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.track span { display: block; height: 100%; border-radius: 4px; }
.track .low { background: var(--low); } .track .mid { background: #D69A2D; } .track .high { background: var(--high); }

.grid-rows { display: grid; gap: 12px; }
.grid-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 52px; gap: 14px; align-items: center; font-size: 14px; }
.grid-row .chip { text-align: center; }

/* ---------- Discovery calls ---------- */
.call-when { font-weight: 600; font-size: 15px; color: var(--ink); }
.outcome { border: 1px solid var(--pink-line); }
.outcome .seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.seg-btn { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; }
.seg-btn:hover { border-color: var(--faint); }
.seg-btn.on.high { background: var(--high-soft); color: var(--high); border-color: var(--high); }
.seg-btn.on.mid { background: var(--mid-soft); color: var(--mid); border-color: var(--mid); }
.seg-btn.on.low { background: var(--low-soft); color: var(--low); border-color: var(--low); }
.outcome .hint { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Conversion ---------- */
.conversion { display: grid; gap: 12px; }
.conversion .sub { font-size: 14px; }
.stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chart-card { border-radius: 18px; padding: 18px 20px; background: var(--glass-strong); }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; margin-bottom: 14px; }
.chart-title { font-size: 14px; font-weight: 600; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.legend .key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .key.rest { margin-left: 10px; }
.key.won, .cbar-col .won { background: var(--pink-ink); }
.key.rest, .cbar-col .rest { background: var(--pink-line); }
.cbars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; height: 200px; align-items: end; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.cbar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; }
.cbar-val { font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; min-height: 16px; margin-bottom: 4px; }
.cbar-col { width: min(44px, 70%); display: flex; flex-direction: column; gap: 2px; border-radius: 4px 4px 0 0; overflow: hidden; }
.cbar-col span { display: block; min-height: 2px; }
.cbar-label { position: absolute; bottom: -22px; font-size: 12px; color: var(--muted); }
.cbar[data-tip]:hover::after, .cbar[data-tip]:focus::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--black); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; z-index: 2; pointer-events: none;
}
.cbar:first-child[data-tip]:hover::after, .cbar:first-child[data-tip]:focus::after { left: 0; transform: none; }
.cbar:last-child[data-tip]:hover::after, .cbar:last-child[data-tip]:focus::after { left: auto; right: 0; transform: none; }
.ctable { margin-top: 6px; font-size: 13px; }
.ctable summary { cursor: pointer; color: var(--pink-ink); font-weight: 600; }
.ctable table { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; }
.ctable th, .ctable td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ctable th { color: var(--muted); font-weight: 500; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 42px minmax(0, 1fr) 18px; }
  .scores { grid-column: 2; grid-row: 2; }
  .scores:empty { display: none; }
  .go { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 560px) {
  .shell { padding-top: 20px; gap: 18px; }
  .hero { padding: 26px 22px 22px; border-radius: 24px; }
  .hero-sub { font-size: 15px; }
  .kpis { gap: 10px; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 24px; }
  .kpi-top { font-size: 12px; }
  .stats { gap: 8px; }
  .stat { padding: 10px 12px; }
  .stat .v { font-size: 20px; }
  .stat .k { font-size: 11px; }
  .panel { padding: 12px; border-radius: 20px; }
  .card, .head { padding: 18px; }
  .row { padding: 12px 14px; }
  .grid-row { grid-template-columns: minmax(0, 1fr) 52px; }
  .grid-row .track { display: none; }
  .actions { margin-left: 0; width: 100%; }
}

/* Solid panels where glass isn't supported or the viewer prefers less transparency */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .rows, .stat, .card, .head, .chart-card, .panel, .kpi, .login-card, .empty, .search, .tabs { background: var(--surface); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .rows, .stat, .card, .head, .chart-card, .panel, .kpi, .login-card, .empty, .search, .tabs { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .backdrop { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kpi, .row, .nav-link { transition: none; }
  .kpi:hover { transform: none; }
}
