/* ===================================================================
   הברירה הטבעית דרום — Ops Design System (2026-07)
   Inspired by Stripe / Linear / Shopify admin clarity.
   Brand greens · Hebrew RTL · 8px rhythm · free fonts & icons.
   =================================================================== */

:root {
  /* Brand — הברירה הטבעית דרום greens (do not drift to purple/cream) */
  --ink: #122019;
  --ink-soft: #2a3a32;
  --muted: #5a6d64;
  --muted-2: #84948c;
  --brand: #1b4332;
  --brand-2: #2d6a4f;
  --brand-3: #40916c;
  --brand-soft: #e7f2eb;
  --brand-softer: #f2f7f4;
  --bg: #eef2f0;
  --bg-elevated: #f7faf8;
  --card: #ffffff;
  --line: #dde6e1;
  --line-strong: #c2d0c8;
  --danger: #b3261e;
  --danger-soft: #fdf0ef;
  --ok: #187a3c;
  --ok-soft: #e3f5e9;
  --warn-ink: #7a5b00;
  --warn-soft: #fff8e8;
  --warn-line: #ead48a;
  --warn-hot: #b8860b;

  /* 8px rhythm */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 40px;
  --s8: 48px;

  /* Type scale */
  --fs-xs: 0.72rem;
  --fs-sm: 0.8125rem;
  --fs: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --lh: 1.45;
  --lh-tight: 1.2;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18, 32, 26, 0.035), 0 1px 2px rgba(18, 32, 26, 0.02);
  --shadow-md: 0 6px 18px rgba(18, 32, 26, 0.07);
  --shadow-lg: 0 14px 36px rgba(18, 32, 26, 0.1);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 180ms;
  --font: "Assistant", "Heebo", "Segoe UI", Tahoma, sans-serif;
  --font-num: "Assistant", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs);
  line-height: var(--lh);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(64, 145, 108, 0.07), transparent 55%),
    radial-gradient(900px 400px at 0% 0%, rgba(27, 67, 50, 0.05), transparent 50%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.muted { color: var(--muted); }

.ico {
  width: 1.125rem; height: 1.125rem;
  flex: 0 0 auto; display: inline-block;
  vertical-align: -0.2em;
}
.ico-sm { width: 0.95rem; height: 0.95rem; }
.ico-lg { width: 1.35rem; height: 1.35rem; }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; background: var(--brand); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  justify-content: center; gap: 0.4rem; font-size: var(--fs-sm); font-family: inherit;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 80ms ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset;
}
.btn:hover { background: var(--brand-2); }
.btn:active { transform: translateY(1px); }
.btn.secondary {
  background: var(--card); color: var(--brand); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn.secondary:hover { background: var(--brand-soft); border-color: var(--brand-3); }
.btn.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: none; }
.btn.chip {
  padding: 0.32rem 0.75rem; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 600;
}

.mini-btn {
  appearance: none; border: 1px solid var(--line-strong); background: var(--card); color: var(--brand);
  padding: 0.28rem 0.55rem; border-radius: 7px; font-size: var(--fs-xs); font-weight: 600;
  cursor: pointer; font-family: inherit; text-decoration: none; display: inline-flex;
  align-items: center; gap: 0.25rem; transition: background var(--dur) var(--ease), border-color var(--dur);
  min-height: 1.75rem;
}
.mini-btn:hover { background: var(--brand-soft); border-color: var(--brand-3); }
.mini-btn.danger { color: var(--danger); }
.mini-btn.danger:hover { background: var(--danger-soft); }
.mini-btn.solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.mini-btn.solid:hover { background: var(--brand-2); }

.quick-status { display: inline-flex; gap: 0.3rem; margin-inline-start: 0.3rem; vertical-align: middle; flex-wrap: wrap; }
.quick-status .mini-btn { white-space: nowrap; min-height: 1.85rem; }

/* ---------- cards / panels ---------- */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--s4);
}
.panel h2 {
  margin: 0 0 var(--s3); font-size: 1.02rem; color: var(--ink); font-weight: 700;
  display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
  letter-spacing: -0.02em;
}
.panel h2 .h-ico {
  color: var(--brand-2); display: inline-flex; align-items: center;
  width: 1.35rem; height: 1.35rem; border-radius: 7px;
  background: var(--brand-soft); justify-content: center; flex: 0 0 auto;
}
.panel h2 .h-ico .ico { width: 0.85rem; height: 0.85rem; }

.kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.kpi:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.kpi .label {
  color: var(--muted); font-size: var(--fs-xs); margin-bottom: var(--s2);
  font-weight: 700; letter-spacing: 0.01em; text-transform: none;
}
.kpi .num {
  font-size: var(--fs-2xl); font-weight: 800; color: var(--brand);
  line-height: var(--lh-tight); font-variant-numeric: tabular-nums;
  font-family: var(--font-num); letter-spacing: -0.03em;
}
.kpi .sub { margin-top: var(--s2); color: var(--muted); font-size: var(--fs-sm); }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
th, td {
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: right; vertical-align: middle;
}
th {
  color: var(--muted-2); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
tbody tr { transition: background 120ms ease; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--brand-softer); }

.table-dense th, .table-dense td { padding: 0.45rem 0.4rem; }
.table-dense .status-chip { font-size: 0.7rem; padding: 0.08rem 0.42rem; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll.sticky-head {
  max-height: min(68vh, 640px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.table-scroll.sticky-head table { margin: 0; }
.table-scroll.sticky-head thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--bg-elevated);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(6px);
}
.table-scroll.sticky-head tbody tr:last-child td { border-bottom: 0; }

/* ---------- chips / tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 0.2rem;
  padding: 0.12rem 0.5rem; border-radius: var(--radius-pill);
  background: var(--brand-soft); color: var(--brand);
  font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
}
.status-chip {
  display: inline-flex; align-items: center; gap: 0.2rem;
  padding: 0.14rem 0.55rem; border-radius: var(--radius-pill);
  font-size: 0.74rem; font-weight: 700; white-space: nowrap;
  letter-spacing: 0.01em;
}
.status-chip.st-new { background: #e8eef8; color: #1a4a8a; }
.status-chip.st-care { background: #fff3d6; color: #8a6400; }
.status-chip.st-done { background: var(--ok-soft); color: var(--ok); }
.status-chip.st-pay { background: #fff4eb; color: #9a3412; border: 1px solid #fdc9a0; }

.delta {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  padding: 0.08rem 0.4rem; border-radius: var(--radius-pill); vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.delta.up { background: var(--ok-soft); color: var(--ok); }
.delta.down { background: var(--danger-soft); color: var(--danger); }

.flash {
  background: var(--ok-soft); border: 1px solid #b7dfc6; color: var(--brand);
  padding: 0.7rem var(--s4); border-radius: var(--radius); margin-bottom: var(--s4);
  font-weight: 600; animation: flashIn 320ms var(--ease);
}
.warn {
  background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--warn-ink);
  padding: 0.65rem var(--s4); border-radius: var(--radius); margin-bottom: var(--s4);
  font-size: var(--fs-sm);
}

@keyframes flashIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

a.cust-link { color: var(--brand); text-decoration: none; font-weight: 600; }
a.cust-link:hover { text-decoration: underline; text-underline-offset: 2px; }

.bar-row { display: flex; align-items: center; gap: 0.55rem; margin: 0.5rem 0; font-size: var(--fs-sm); }
.bar { height: 8px; border-radius: 99px; background: #e0ebe4; flex: 1; overflow: hidden; }
.bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3));
  border-radius: 99px;
  transform-origin: right center;
  animation: barGrow 600ms var(--ease) both;
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 800px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid label {
  display: block; font-size: var(--fs-xs); color: var(--muted);
  margin-bottom: 0.25rem; font-weight: 700;
}
.form-grid input, .form-grid select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem; font: inherit; background: #fff;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.form-grid input:focus, .form-grid select:focus {
  outline: none; border-color: var(--brand-3);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.2);
}

/* ---------- command center ---------- */
.command-center {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s5);
}
@media (max-width: 900px) {
  .command-center { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cc-tile {
  position: relative;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  border-inline-start: 3px solid var(--line-strong);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur), background var(--dur);
  animation: ccIn 420ms var(--ease) both;
}
.cc-tile:nth-child(1) { animation-delay: 40ms; }
.cc-tile:nth-child(2) { animation-delay: 90ms; }
.cc-tile:nth-child(3) { animation-delay: 140ms; }
.cc-tile:nth-child(4) { animation-delay: 190ms; }
@keyframes ccIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.cc-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  background: #fff;
}
.cc-tile .cc-top {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  margin-bottom: var(--s2);
}
.cc-tile .cc-ico {
  width: 1.75rem; height: 1.75rem; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-2);
}
.cc-tile .cc-ico .ico { width: 1rem; height: 1rem; }
.cc-tile .cc-label {
  font-size: var(--fs-xs); font-weight: 700; color: var(--muted);
  letter-spacing: 0.02em;
}
.cc-tile .cc-num {
  font-size: var(--fs-2xl); font-weight: 800; color: var(--brand);
  line-height: var(--lh-tight); font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.cc-tile .cc-hint { font-size: var(--fs-xs); color: var(--muted-2); margin-top: 2px; }
.cc-tile.hot { border-inline-start-color: var(--warn-hot); background: linear-gradient(180deg, #fffdf6 0%, #fff 70%); }
.cc-tile.hot .cc-num { color: #8a6400; }
.cc-tile.hot .cc-ico { background: #fff3d6; color: #8a6400; }
.cc-tile.urgent { border-inline-start-color: var(--danger); background: linear-gradient(180deg, #fff8f7 0%, #fff 70%); }
.cc-tile.urgent .cc-num { color: var(--danger); }
.cc-tile.urgent .cc-ico { background: var(--danger-soft); color: var(--danger); }
.cc-tile.ok-tone { border-inline-start-color: var(--ok); }
.cc-tile.ok-tone .cc-num { color: var(--ok); }
.cc-tile.ok-tone .cc-ico { background: var(--ok-soft); color: var(--ok); }

/* ---------- empty states ---------- */
.empty-state {
  text-align: center;
  padding: var(--s7) var(--s5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--brand-softer), #fafcfb);
}
.empty-state .es-ico {
  width: 2.75rem; height: 2.75rem; margin: 0 auto var(--s3);
  border-radius: 14px; background: var(--brand-soft); color: var(--brand-2);
  display: flex; align-items: center; justify-content: center;
}
.empty-state .es-ico .ico { width: 1.35rem; height: 1.35rem; }
.empty-state strong {
  display: block; font-size: var(--fs-md); margin-bottom: var(--s1);
  color: var(--ink); font-weight: 800; letter-spacing: -0.01em;
}
.empty-state .muted { font-size: var(--fs-sm); margin: 0; max-width: 28rem; margin-inline: auto; }

/* ---------- invoices ---------- */
.inv-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.inv-tile {
  margin: 0 !important;
  padding: var(--s3) var(--s4) !important;
  border-inline-start: 3px solid var(--line-strong);
  border-radius: var(--radius) !important;
}
.inv-tile .inv-label { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.inv-tile .inv-num {
  font-size: var(--fs-xl); font-weight: 800; line-height: 1.2;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin-top: 2px;
}
.inv-tile.danger { border-inline-start-color: var(--danger); }
.inv-tile.danger .inv-num { color: var(--danger); }
.inv-tile.warn { border-inline-start-color: var(--warn-hot); }
.inv-tile.warn .inv-num { color: var(--warn-hot); }
.inv-tile.ok { border-inline-start-color: var(--ok); }
.inv-tile.ok .inv-num { color: var(--ok); }
.inv-tile.brand { border-inline-start-color: var(--brand); }

.inv-board-table th, .inv-board-table td { vertical-align: middle; }
.board-tick:hover { background: var(--brand-soft) !important; }

/* ---------- factory ---------- */
.factory-card {
  margin: 0 0 var(--s3); padding: var(--s4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warn-line); background: var(--warn-soft);
  animation: flashIn 320ms var(--ease);
}
.factory-card.ok { border-color: #bfe3cb; background: #f0faf3; }
.factory-card .fc-head {
  display: flex; justify-content: space-between; gap: var(--s3);
  align-items: baseline; flex-wrap: wrap;
}
/* editable approval form inside a factory card */
.factory-card .fc-edit > summary { list-style: none; }
.factory-card .fc-section-title {
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  margin: 0.5rem 0 0.3rem;
}
.factory-card .fc-row {
  display: flex; gap: 0.4rem; align-items: center; margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.factory-card .fc-in {
  border: 1px solid var(--line-strong, #cdd9d1); border-radius: 8px;
  padding: 0.35rem 0.5rem; font: inherit; background: #fff; min-width: 0;
}
.factory-card .fc-in-name { flex: 1 1 8rem; }
.factory-card .fc-in-num { width: 5rem; text-align: center; }
.factory-card .fc-unit { font-size: 0.8rem; color: var(--muted); }

/* ---------- focus center (היום / דורש טיפול) ---------- */
.focus-center {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  margin-bottom: var(--s4);
  box-shadow: var(--shadow-sm);
  border-inline-start: 3px solid var(--brand);
}
.focus-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3);
}
.focus-head h2 {
  margin: 0; font-size: var(--fs-lg); font-weight: 800;
  color: var(--ink); letter-spacing: -0.02em;
}
.focus-head .sub { display: block; color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.focus-head-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.focus-list {
  display: flex; flex-direction: column; gap: var(--s2);
  max-height: 22rem; overflow-y: auto;
}
.focus-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: var(--s2) var(--s3);
  align-items: baseline;
  padding: var(--s3) var(--s3);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background var(--dur) var(--ease), border-color var(--dur);
}
.focus-row:hover { background: var(--brand-softer); border-color: var(--line-strong); }
.focus-row .fr-kind {
  font-size: var(--fs-xs); font-weight: 800; color: var(--muted);
  text-transform: none;
}
.focus-row .fr-title { font-weight: 700; font-size: var(--fs-sm); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus-row .fr-meta { font-size: var(--fs-xs); color: var(--muted-2); text-align: left; }
.focus-row.urgent { border-inline-start: 3px solid var(--danger); background: linear-gradient(90deg, #fff8f7, #fff); }
.focus-row.hot { border-inline-start: 3px solid var(--warn-hot); background: linear-gradient(90deg, #fffdf6, #fff); }
.focus-row.today-pickup-focus {
  border-inline-start: 3px solid #d97706;
  background: linear-gradient(90deg, #fff7e6, #fffaf0);
}
@media (max-width: 640px) {
  .focus-row { grid-template-columns: 1fr; gap: 2px; }
  .focus-row .fr-meta { text-align: right; }
}

#focusModeBtn.active {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* Focus mode — hide analytics / non-actionable chrome */
body.focus-mode #overview,
body.focus-mode #customers,
body.focus-mode #retention,
body.focus-mode #forecast-section,
body.focus-mode #manual,
body.focus-mode #audit-section,
body.focus-mode .page-foot,
body.focus-mode .inv-history { display: none !important; }
body.focus-mode .focus-center {
  box-shadow: var(--shadow-md);
  border-inline-start-width: 4px;
}
body.focus-mode .topbar {
  background: rgba(255, 255, 255, 0.9);
}

/* ---------- paperless compare ---------- */
.pl-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s3);
}
@media (max-width: 700px) {
  .pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pl-stat {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s3) var(--s4);
  border-inline-start: 3px solid var(--line-strong);
}
.pl-stat .n {
  display: block; font-size: var(--fs-xl); font-weight: 800;
  font-variant-numeric: tabular-nums; color: var(--brand);
}
.pl-stat .l { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.pl-stat.ok { border-inline-start-color: var(--ok); }
.pl-stat.ok .n { color: var(--ok); }
.pl-stat.warn { border-inline-start-color: var(--warn-hot); }
.pl-stat.warn .n { color: var(--warn-hot); }
.pl-stat.danger { border-inline-start-color: var(--danger); }
.pl-stat.danger .n { color: var(--danger); }

.audit-panel { margin-bottom: var(--s5); }
.month-close-summary { font-size: var(--fs-sm); }

/* ---------- section heads (shared) ---------- */
.section-head {
  display: flex; align-items: baseline; gap: var(--s2) var(--s3); flex-wrap: wrap;
  margin: 2rem 0 0.85rem; padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  margin: 0; font-size: 1.2rem; font-weight: 800;
  color: var(--ink); letter-spacing: -0.025em;
}
.section-head .sub { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.section-head .sec-actions {
  margin-inline-start: auto; display: inline-flex; gap: var(--s2);
  flex-wrap: wrap; align-items: center;
}

/* Processed invoice history — collapsed + muted by default */
.inv-history {
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 0.35rem 0.75rem 0.45rem;
}
.inv-history > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
  list-style: none;
  padding: 0.35rem 0;
  user-select: none;
}
.inv-history > summary::-webkit-details-marker { display: none; }
.inv-history > summary::before {
  content: "▸";
  display: inline-block;
  margin-inline-end: 0.35rem;
  color: var(--muted-2);
  font-size: 0.72rem;
}
.inv-history[open] > summary::before { content: "▾"; }
.inv-history[open] {
  padding-bottom: 0.65rem;
  background: var(--card);
}
.inv-history .table-scroll { margin-top: 0.35rem; opacity: 0.92; }

/* Work-queue panel titles without emoji noise */
.wq-title {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  display: flex; align-items: center; gap: 0.45rem;
}
.wq-title .h-ico {
  width: 1.4rem; height: 1.4rem; border-radius: 7px;
  background: var(--brand-soft); color: var(--brand-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.wq-title .h-ico .ico { width: 0.85rem; height: 0.85rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
