/* Analisa Transaksi — halaman penuh, tema putih, token base.html */

/* ---------- halaman penuh: base.html tak punya pembungkus .main; isi langsung di .main-wrapper ---------- */
.main-wrapper { min-width: 0; }
.atx { padding: 22px 28px 48px; color: var(--ink-1); min-width: 0; --pos-rgb: 26, 138, 62; --neg-rgb: 200, 51, 26; }
.atx svg, .drawer svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.atx button, .drawer button { font-family: var(--font-body); }
.atx :focus-visible, .drawer :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--ink-4); font-weight: 500; font-size: 12px; }
.pos { color: var(--positive); } .neg { color: var(--negative); } .nil { color: var(--ink-4); }

/* ---------- hero ---------- */
.atx-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  background: radial-gradient(900px 180px at 0% 0%, var(--accent-soft), transparent 70%),
              radial-gradient(700px 160px at 100% 100%, var(--positive-soft), transparent 70%), var(--surface);
  box-shadow: var(--shadow-1); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.atx-hero h1 { margin: 4px 0 2px; font-size: 30px; letter-spacing: -.02em; }
.atx-hero p { margin: 0; color: var(--ink-3); font-size: 13.5px; }
.hero-side { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--surface-soft); border: 1px solid var(--line-soft); font-size: 12px; font-weight: 600; color: var(--ink-3); }
.pill-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); }
.pill-live.ok { color: var(--positive); border-color: rgba(var(--pos-rgb), .3); background: var(--positive-soft); }
.pill-live.ok i { background: var(--positive); animation: atxPing 1.8s var(--ease) infinite; }
.pill-live.bad { color: var(--negative); border-color: rgba(var(--neg-rgb), .3); background: var(--negative-soft); }
.pill-live.bad i { background: var(--negative); }
@keyframes atxPing { 0% { box-shadow: 0 0 0 0 rgba(var(--pos-rgb), .5); } 100% { box-shadow: 0 0 0 8px rgba(var(--pos-rgb), 0); } }

/* ---------- tabs ---------- */
.atx-tabs { display: flex; gap: 6px; margin: 16px 0 14px; border-bottom: 1px solid var(--line-soft); }
.atx-tab { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer;
  border-bottom: 2px solid transparent; padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--ink-3);
  transition: color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
.atx-tab:hover { color: var(--ink-1); }
.atx-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-badge { min-width: 20px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--surface-soft);
  font-size: 11px; color: var(--ink-3); }
.tab-badge:empty { display: none; }
.atx-tab.active .tab-badge { background: var(--accent-soft); color: var(--accent); }
.atx-pane { animation: atxFade var(--d-base) var(--ease-out); }
@keyframes atxFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- kontrol ---------- */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); }
.seg button { background: none; border: 0; padding: 6px 12px; font-weight: 600; font-size: 12px; color: var(--ink-3);
  cursor: pointer; transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease); }
.seg button:hover { color: var(--ink-1); }
.seg button.on { background: var(--ink-1); color: #fff; }
.seg-lg button { padding: 9px 18px; font-size: 13px; letter-spacing: .03em; }
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line-soft); background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease),
  border-color var(--d-fast) var(--ease); }
.chip:hover { border-color: var(--line); color: var(--ink-1); }
.chip.on { background: var(--ink-1); border-color: var(--ink-1); color: #fff; }
.chip .n { font-weight: 700; font-size: 11px; padding: 0 6px; border-radius: var(--r-pill); background: var(--surface-soft);
  color: var(--ink-3); }
.chip.on .n { background: rgba(255, 255, 255, .18); color: #fff; }
.chip.in:not(.on) .n { background: var(--positive-soft); color: var(--positive); }
.chip.out:not(.on) .n { background: var(--negative-soft); color: var(--negative); }
.tool { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 7px 11px; font-size: 12px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
.tool:hover { border-color: var(--ink-4); color: var(--ink-1); }
.tool.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.tool .star { color: #c99400; }
.tool .star.on { fill: currentColor; }
.tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0 10px; background: var(--surface); color: var(--ink-4); }
.search input { border: 0; outline: 0; background: none; padding: 7px 0; width: 130px; font-size: 13px;
  font-family: var(--font-body); color: var(--ink-1); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tool-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 8px 12px;
  min-width: 190px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.menu[hidden] { display: none; }
.menu label { display: flex; gap: 8px; align-items: center; font-size: 12px; padding: 5px 0; color: var(--ink-2);
  cursor: pointer; }

.focus-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.focus-lbl { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); }
.focus-lbl.gap { margin-left: 8px; }
.focus-hint { font-size: 12px; color: var(--ink-4); }
.filter-coin { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font-size: 12px;
  font-weight: 700; cursor: pointer; }
.filter-coin[hidden] { display: none; }

/* ---------- kartu ---------- */
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 14px 16px; box-shadow: var(--shadow-1); min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-bottom: 8px; }
.card-head h3 { margin: 0; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.pos { background: var(--positive); } .dot.neg { background: var(--negative); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 14px 16px 14px 18px; box-shadow: var(--shadow-1); text-align: left;
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease); }
button.kpi { cursor: pointer; font: inherit; color: inherit; width: 100%; }
button.kpi:hover { border-color: var(--line); box-shadow: var(--shadow-2); }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line-soft); }
.kpi.pos::before { background: var(--positive); } .kpi.neg::before { background: var(--negative); }
.kpi.acc::before { background: var(--accent); }
.k-lbl { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-4); }
.k-val { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.k-val small { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.k-sub { font-size: 12px; color: var(--ink-3); }
.split { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--line-faint); margin-top: 8px; }
.split i { display: block; height: 100%; }
.split .b { background: var(--positive); } .split .s { background: var(--negative); }

.boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.board-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.brow { display: grid; grid-template-columns: 16px 22px minmax(56px, auto) 1fr auto; align-items: center; gap: 8px;
  padding: 6px 6px; border-radius: var(--r-sm); cursor: pointer; background: none; border: 0; text-align: left;
  font-size: 12.5px; color: var(--ink-1); transition: background var(--d-fast) var(--ease); width: 100%; }
.brow:hover { background: var(--surface-soft); }
.brow .rk { color: var(--ink-4); font-size: 11px; font-weight: 700; }
.brow .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brow .tr { height: 8px; border-radius: 4px; background: var(--line-faint); overflow: hidden; }
.brow .tr i { display: block; height: 100%; border-radius: 4px; transform-origin: left;
  animation: atxGrow var(--d-slow) var(--ease-out); }
.brow .tr i.b { background: linear-gradient(90deg, rgba(var(--pos-rgb), .4), var(--positive)); }
.brow .tr i.s { background: linear-gradient(90deg, rgba(var(--neg-rgb), .4), var(--negative)); }
.brow .v { font-variant-numeric: tabular-nums; font-weight: 600; }
.board-empty { color: var(--ink-4); font-size: 12px; padding: 12px 4px; }
@keyframes atxGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- tabel ---------- */
.table-card { padding-bottom: 10px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toolbar h2 { margin: 0; font-size: 18px; }
.sig-chips { margin: 12px 0 2px; }
.meta { font-size: 12px; color: var(--ink-4); margin: 8px 0; }
.meta .stale { color: var(--warning); font-weight: 600; }
.ff-scroll { overflow: auto; min-width: 0; border: 1px solid var(--line-faint); border-radius: var(--r-md); }
.ff-scroll.tall { max-height: calc(100vh - 150px); min-height: 360px; }
table.ff { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; font-variant-numeric: tabular-nums; }
table.ff th, table.ff td { padding: 8px 9px; border-bottom: 1px solid var(--line-faint); text-align: right; white-space: nowrap; }
table.ff th { font-weight: 600; font-size: 11.5px; color: var(--ink-3); background: var(--surface-soft); cursor: pointer;
  user-select: none; position: sticky; top: 0; z-index: 4; transition: color var(--d-fast) var(--ease); }
table.ff th:hover { color: var(--ink-1); }
table.ff th.left, table.ff td.left { text-align: left; }
table.ff th.sorted { color: var(--ink-1); background: #e9edf3; }
table.ff th.focus { box-shadow: inset 0 -2px 0 var(--accent); }
table.ff th .arr { display: inline-flex; flex-direction: column; font-size: 7px; line-height: 7px; margin-left: 4px;
  vertical-align: middle; color: var(--line); }
table.ff th .arr .act { color: var(--accent); }
table.ff td.sorted { box-shadow: inset 0 0 0 999px rgba(0, 102, 204, .035); }
table.ff tbody tr { cursor: pointer; }
table.ff tbody tr:hover td { background-color: var(--surface-soft); }
table.ff tbody tr.sel td { background-color: var(--accent-soft); }
table.ff th:first-child, table.ff td:first-child { position: sticky; left: 0; z-index: 2; background-color: var(--surface);
  box-shadow: 1px 0 0 var(--line-faint); }
table.ff th:first-child { z-index: 5; background-color: var(--surface-soft); }
table.bt th:first-child, table.bt td:first-child { position: static; box-shadow: none; }
.ff-empty { text-align: center !important; color: var(--ink-4); padding: 34px !important; cursor: default; }

.sym { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.fav { display: inline-flex; background: none; border: 0; cursor: pointer; color: var(--line); padding: 2px;
  border-radius: 4px; transition: color var(--d-fast) var(--ease); }
.fav svg { width: 15px; height: 15px; }
.fav:hover { color: #c99400; }
.fav.on { color: #d4a200; }
.fav.on svg { fill: currentColor; }
.ico { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 8.5px; font-weight: 800; flex: none; letter-spacing: -.02em; }

.wtag { font-size: 9.5px; font-weight: 700; letter-spacing: .03em; padding: 1px 6px; border-radius: 4px;
  background: var(--surface-soft); color: var(--ink-3); border: 1px solid var(--line-soft); }
.wtag.posisi { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.wtag.pending { background: #fff3d6; color: #8a5a00; border-color: #f2d9a0; }
.wtag.monitor { background: #efe9ff; color: #5b3fb3; border-color: #d9ccff; }
.sig { display: inline-flex; align-items: center; gap: 5px; cursor: help; }
.sig .score { min-width: 32px; padding: 2px 6px; border-radius: 6px; font-weight: 700; text-align: center; }
.sig .lbl { padding: 2px 8px; border-radius: 6px; font-weight: 600; font-size: 11.5px; }
.gauge { width: 46px; height: 6px; border-radius: 3px; background: var(--line-faint); position: relative; overflow: hidden; }
.gauge i { position: absolute; top: 0; bottom: 0; }
.gauge i.g { background: var(--positive); } .gauge i.r { background: var(--negative); }
.gauge::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.sig.in .score, .sig.in .lbl { background: var(--positive-soft); color: var(--positive); }
.sig.out .score, .sig.out .lbl { background: var(--negative-soft); color: var(--negative); }
.sig.bal .score, .sig.bal .lbl { background: var(--surface-soft); color: var(--ink-3); }
.sig.strong .lbl { box-shadow: inset 0 0 0 1px currentColor; }
.mkt { font-size: 9.5px; font-weight: 700; color: var(--ink-4); border: 1px solid var(--line-soft); border-radius: 4px;
  padding: 1px 4px; }

.skel td { cursor: default; }
.skel span { display: block; height: 10px; border-radius: 5px; background: var(--line-soft);
  animation: atxShimmer 1s var(--ease) infinite alternate; }
@keyframes atxShimmer { from { opacity: .4; } to { opacity: 1; } }

.foot { font-size: 11.5px; color: var(--ink-4); margin-top: 10px; line-height: 1.6; }

/* ---------- tooltip ---------- */
.ff-tip { position: fixed; z-index: 1000; width: 290px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-3); padding: 12px 14px; font-size: 12px; color: var(--ink-2);
  pointer-events: none; }
.ff-tip .row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.ff-tip .row b { color: var(--ink-1); font-weight: 600; text-align: right; }
.ff-tip .hd { font-weight: 700; color: var(--ink-1); border-bottom: 1px solid var(--line-faint); padding-bottom: 6px;
  margin-bottom: 4px; display: flex; justify-content: space-between; }
.ff-tip .note { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-faint); color: var(--ink-4);
  font-size: 11px; line-height: 1.5; }

/* ---------- drawer rincian koin ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15, 23, 42, .18); z-index: 900; opacity: 0;
  transition: opacity var(--d-base) var(--ease); }
.scrim.open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 950; background: var(--surface);
  border-left: 1px solid var(--line-soft); box-shadow: var(--shadow-3); transform: translateX(104%); visibility: hidden;
  transition: transform var(--d-slow) var(--ease), visibility 0s linear var(--d-slow); overflow-y: auto;
  padding: 20px 22px 28px; color: var(--ink-1); }
.drawer.open { transform: none; visibility: visible; transition: transform var(--d-slow) var(--ease); }
.dr-head { display: flex; align-items: center; gap: 12px; }
.dr-head .ico { width: 42px; height: 42px; font-size: 13px; }
.dr-head h2 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 8px; }
.dr-head .sub { font-size: 12px; color: var(--ink-4); }
.dr-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-soft);
  background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-3); }
.dr-close:hover { background: var(--surface-soft); color: var(--ink-1); }
.dr-sec { margin-top: 20px; }
.dr-sec h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); }
.score-big { display: flex; align-items: center; gap: 10px; }
.score-big b { font-size: 36px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.meter { position: relative; height: 10px; border-radius: 5px; margin-top: 12px;
  background: linear-gradient(90deg, var(--negative), #e6e8ec 50%, var(--positive)); }
.meter i { position: absolute; top: -4px; width: 4px; height: 18px; border-radius: 2px; background: var(--ink-1);
  box-shadow: 0 0 0 2px #fff; transform: translateX(-50%); }
.meter-lbl { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-4); margin-top: 6px; }
.drawer svg.flowbars { width: 100%; height: auto; display: block; stroke: none; }
.flowbars text { font-size: 11px; font-family: var(--font-body); fill: var(--ink-3); }
.flowbars .val { font-weight: 600; fill: var(--ink-1); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { border: 1px solid var(--line-faint); border-radius: var(--r-md); padding: 10px 12px; }
.stat b { display: block; font-size: 16px; margin: 3px 0 2px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 11px; color: var(--ink-4); line-height: 1.4; display: block; }
.stat .t { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.stat.wide { grid-column: 1 / -1; }
.dr-actions { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-md); border: 0;
  background: var(--ink-1); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn:hover { background: #000; }
.btn.ghost { background: var(--surface); color: var(--ink-1); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface-soft); }

/* ---------- Big Transactions ---------- */
.bubble-card { margin-bottom: 14px; }
.bubble-wrap { position: relative; height: 300px; }
.bubble-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.bubble-wrap canvas.hit { cursor: pointer; }
.bubble-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ink-4); font-size: 13px; pointer-events: none; }
.bubble-empty[hidden] { display: none; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin-right: 4px; }
.lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg.buy { background: rgba(var(--pos-rgb), .55); box-shadow: inset 0 0 0 1.5px var(--positive); }
.lg.sell { background: rgba(var(--neg-rgb), .55); box-shadow: inset 0 0 0 1.5px var(--negative); margin-left: 6px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); display: inline-block;
  animation: atxPing 1.8s var(--ease) infinite; }
.pulse.off { background: var(--ink-4); animation: none; }
.bt-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; }
.bt-box { max-height: calc(100vh - 170px); min-height: 320px; }
.side { display: inline-block; min-width: 40px; text-align: center; padding: 2px 7px; border-radius: 6px; font-weight: 700;
  font-size: 11px; }
.side.BUY { background: var(--positive-soft); color: var(--positive); }
.side.SELL { background: var(--negative-soft); color: var(--negative); }
.bsbar { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: rgba(var(--neg-rgb), .35);
  overflow: hidden; vertical-align: middle; }
.bsbar i { display: block; height: 100%; background: var(--positive); }
.ago { color: var(--ink-4); font-size: 11px; margin-left: 5px; }
.xmult { display: inline-block; padding: 1px 6px; border-radius: 5px; font-weight: 700; font-size: 11px;
  background: var(--surface-soft); color: var(--ink-3); }
.xmult.hot { background: #fff3d6; color: #8a5a00; }
.xmult.fire { background: #ffe1d6; color: #a3320a; }
table.bt tr.new td { animation: atxRowIn 1.6s var(--ease-out); }
@keyframes atxRowIn {
  0% { opacity: 0; box-shadow: inset 0 0 0 999px rgba(0, 102, 204, .16); }
  20% { opacity: 1; }
  100% { box-shadow: inset 0 0 0 999px rgba(0, 102, 204, 0); }
}

/* ---------- responsif ---------- */
@media (max-width: 1360px) {
  .board-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .bt-grid, .boards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .atx { padding: 14px 12px 32px; }
  .atx-hero { padding: 14px; }
  .atx-hero h1 { font-size: 24px; }
  .search { width: 100%; }
  .search input { width: 100%; }
  .tools { width: 100%; }
  .focus-hint { display: none; }
  .bubble-wrap { height: 240px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-val { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .atx *, .drawer, .scrim { animation: none !important; transition: none !important; }
}
