/* PATR.IS /a/ – Zweite Ebene (@): Rückmeldungen, Entscheidungsbäume & Nachrichten-Freigaben */
:root {
  --at-amber: #ff9f0a;
  --at-amber-soft: rgba(255, 159, 10, 0.16);
  --at-amber-border: rgba(255, 159, 10, 0.48);
  --at-bg: #050810;
  --at-panel: #0d1322;
  --at-card: #10182b;
  --at-green: #22c55e;
  --at-green-bg: rgba(34, 197, 94, 0.16);
  --at-red: #ef4444;
  --at-red-bg: rgba(239, 68, 68, 0.16);
  --at-blue: #0a84ff;
}

/* Desktop topbar @ pill (right end of .topbar) */
.topbar > .pill-at {
  margin-inline-start: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--at-amber-border);
  background: var(--at-amber-soft);
  color: #ffd080;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.topbar > .pill-at.is-empty {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
}
.topbar > .pill-at.has-countdown {
  border-color: var(--at-green);
  background: var(--at-green-bg);
  color: #bbf7d0;
}
.at-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--at-amber);
  color: #090d16;
}
.pill-at.is-empty .at-badge { background: rgba(148, 163, 184, 0.3); color: #cbd5e1; }
.pill-at.has-countdown .at-badge { background: var(--at-green); color: #052e16; }

/* Mobile bottom-right 48x48 @ button directly above #statusToggleBtn */
.app-shell > #atToggleBtn {
  position: absolute;
  right: 0;
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  z-index: 12;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 24px;
  display: grid;
  place-items: center;
  border: 2px solid var(--at-amber);
  background: rgba(24, 17, 7, 0.94);
  color: var(--at-amber);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 50%));
}
.app-shell > #atToggleBtn.is-empty {
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(13, 19, 34, 0.92);
  color: #94a3b8;
}
.app-shell > #atToggleBtn.has-countdown {
  border-color: var(--at-green);
  color: #86efac;
  background: rgba(7, 32, 18, 0.95);
}
.app-shell > #atToggleBtn .at-badge {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  font-size: 0.7rem;
  box-shadow: 0 0 0 2px #050810;
}
.app-shell:has(#statusOverlay:not(.hidden)) > #atToggleBtn,
.app-shell:has(#phoneActions > button):has(#promptDock:not(.hidden)) > #atToggleBtn,
.app-shell.is-recording > #atToggleBtn {
  visibility: hidden;
  pointer-events: none;
}

/* Fullscreen @-layer shell */
.at-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: var(--at-bg);
  color: #e6edf7;
  font-family: inherit;
  overflow: hidden;
}
.at-layer.hidden { display: none !important; }

.at-topbar {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: calc(6px + env(safe-area-inset-top, 0px)) calc(10px + env(safe-area-inset-right, 0px)) 6px calc(10px + env(safe-area-inset-left, 0px));
  background: rgba(13, 19, 34, 0.96);
  border-bottom: 1.5px solid var(--at-amber-border);
  flex: none;
}
.at-queues {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-height: 24dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  flex: 1 1 auto;
  min-width: 0;
}
.at-queues::-webkit-scrollbar { display: none; }
.at-q-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #0d1526;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.at-q-pill.active {
  border-color: var(--at-amber);
  background: rgba(255, 159, 10, 0.2);
  color: #fff3d6;
}
.at-q-pill .at-q-cnt {
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.1);
}
.at-q-pill.active .at-q-cnt { background: var(--at-amber); color: #090d16; font-weight: 800; }
.at-q-pill.is-zero { opacity: 0.45; }

.at-flip-pill {
  flex: none;
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--at-blue);
  background: rgba(10, 132, 255, 0.18);
  color: #93c5fd;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
}
.at-status-btn-top {
  flex: none;
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--at-amber-border);
  background: #0d1526;
  color: #ffd080;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Priority filter bar directly beneath topbar */
.at-filterbar {
  flex: none;
  padding: 5px calc(10px + env(safe-area-inset-right, 0px)) 6px calc(10px + env(safe-area-inset-left, 0px));
  background: rgba(9, 14, 26, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.at-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.at-filter-pills::-webkit-scrollbar { display: none; }
.at-f-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #0b1222;
  color: #cbd5e1;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
}
.at-f-pill.is-zero { opacity: 0.45; }
.at-f-pill.active {
  border-color: var(--at-amber);
  background: rgba(255, 159, 10, 0.22);
  color: #fff3d6;
}
.at-f-pill.is-important.active {
  border-color: var(--at-amber);
  background: rgba(255, 159, 10, 0.28);
  color: #fef3c7;
}
.at-f-pill.is-critical.active {
  border-color: rgba(239, 68, 68, 0.75);
  background: rgba(239, 68, 68, 0.26);
  color: #fecaca;
}
.at-f-pill.is-status-chip {
  border-color: var(--at-blue);
  background: rgba(10, 132, 255, 0.22);
  color: #bfdbfe;
  margin-inline-start: auto;
}
.at-f-cnt {
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
}
.at-f-pill.active .at-f-cnt { background: var(--at-amber); color: #090d16; font-weight: 800; }
.at-f-pill.is-critical.active .at-f-cnt { background: #ef4444; color: #fff; }

/* Main workspace + right rail */
.at-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}
.at-main {
  flex: 1 1 auto;
  min-width: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}

.at-banner {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  background: rgba(255, 159, 10, 0.12);
  border: 1px solid var(--at-amber-border);
  color: #fde68a;
}
.at-banner.err { background: var(--at-red-bg); border-color: rgba(239, 68, 68, 0.55); color: #fecaca; }
.at-banner.ok { background: var(--at-green-bg); border-color: rgba(34, 197, 94, 0.55); color: #bbf7d0; }
.at-banner.hidden { display: none; }

/* Right action rail (with readable micro-labels & ? Hilfe legend) */
.at-rail {
  position: absolute;
  right: calc(4px + env(safe-area-inset-right, 0px));
  top: 6px;
  bottom: calc(4px + env(safe-area-inset-bottom, 0px));
  z-index: 42;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}
.at-rail-group {
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.at-rail-btn {
  pointer-events: auto;
  width: 54px;
  height: 48px;
  padding: 3px 2px;
  border-radius: 16px;
  border: 1.5px solid var(--at-amber-border);
  background: rgba(13, 19, 34, 0.95);
  color: #ffd080;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 50%));
}
.at-rail-ico {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}
.at-rail-lbl {
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #e2e8f0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.at-rail-btn:disabled { opacity: 0.38; cursor: default; }
.at-rail-btn.is-active {
  border-color: var(--at-amber);
  background: rgba(255, 159, 10, 0.28);
  color: #fff3d6;
  box-shadow: 0 0 0 2px rgba(255, 159, 10, 0.35);
}
.at-rail-btn.is-active .at-rail-lbl { color: #fff3d6; }
.at-rail-btn.at-rail-help {
  border-color: rgba(148, 163, 184, 0.55);
  color: #cbd5e1;
}
.at-rail-btn.recording {
  border: 3px solid #ff545b;
  background: #4a1018;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 84, 91, 0.3);
}
.at-rail-btn.at-flip-back {
  border: 2px solid var(--at-blue);
  background: rgba(9, 25, 48, 0.96);
  color: #60a5fa;
}
.at-rail-btn.at-flip-back .at-rail-ico { font-size: 14px; }
.at-rail-btn.at-flip-back .at-rail-lbl { color: #bfdbfe; }
.at-rail-btn.at-status-fab {
  border-color: var(--at-amber-border);
  color: #ffd080;
}

@media (max-width: 720px), (pointer: coarse) and (max-width: 960px) {
  .at-main { padding: 10px 66px calc(24px + env(safe-area-inset-bottom, 0px)) 10px; }
  .at-topbar .at-flip-pill,
  .at-topbar .at-status-btn-top { display: none; }
}
@media (max-height: 520px) {
  .at-rail { top: calc(88px + env(safe-area-inset-top, 0px)); }
  .at-rail-group { gap: 4px; }
  .at-rail-btn { height: 38px; border-radius: 12px; }
  .at-rail-ico { font-size: 14px; }
  .at-rail-lbl { font-size: 8.5px; }
}
@media (min-width: 721px) and (pointer: fine) {
  .at-rail { right: 16px; top: 104px; bottom: 20px; }
  .at-rail-btn {
    width: auto;
    min-width: 94px;
    height: 44px;
    padding: 6px 12px;
    border-radius: 999px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
  }
  .at-rail-ico { font-size: 16px; width: 18px; text-align: center; }
  .at-rail-lbl { font-size: 0.82rem; color: #f1f5f9; }
  .at-rail-btn.at-flip-back,
  .at-rail-btn.at-status-fab { display: none; }
  .at-main { padding-inline-end: 126px; }
}

/* Tree breadcrumb & Mini-Baum-Leiste */
.at-tree-box {
  background: #0c1425;
  border: 1px solid var(--at-amber-border);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}
.at-tree-crumb {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.02em;
}
.at-tree-collapsible > summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.at-tree-collapsible > summary::-webkit-details-marker { display: none; }
.at-tree-collapsible[open] > summary { margin-bottom: 4px; }
.at-mini-tree {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.at-mini-node {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #111b31;
  color: #cbd5e1;
  cursor: pointer;
}
.at-mini-node.is-active { border-color: var(--at-amber); background: rgba(255, 159, 10, 0.24); color: #fff; }
.at-mini-node.is-done { border-color: rgba(34, 197, 94, 0.55); background: rgba(34, 197, 94, 0.14); color: #86efac; }
.at-mini-node.is-skipped { opacity: 0.45; text-decoration: line-through; cursor: default; }
.at-mini-node.is-cond { border-style: dashed; }

/* Active decision / approval card */
.at-card {
  background: var(--at-card);
  border: 1.5px solid var(--at-amber-border);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.at-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.at-prio {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.at-prio.kritisch, .at-prio.critical { background: rgba(239, 68, 68, 0.24); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.5); }
.at-prio.wichtig, .at-prio.hoch { background: rgba(255, 159, 10, 0.22); color: #fcd34d; border: 1px solid var(--at-amber-border); }
.at-prio.mittel { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.45); }
.at-prio.klein, .at-prio.niedrig { background: rgba(148, 163, 184, 0.18); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.35); }
.at-meta { font-size: 0.78rem; color: #94a3b8; }
.at-nav-row { margin-inline-start: auto; display: inline-flex; gap: 6px; }
.at-nav-btn {
  min-height: 36px;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0d1526;
  color: #e2e8f0;
  font-size: 0.8rem;
  cursor: pointer;
}
.at-nav-btn:disabled { opacity: 0.35; cursor: default; }

.at-title { margin: 0; font-size: 1.08rem; line-height: 1.35; color: #f8fafc; }
.at-section {
  padding: 10px 12px;
  border-radius: 12px;
  background: #0a1020;
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: grid;
  gap: 4px;
}
.at-section.is-change { border-color: rgba(34, 197, 94, 0.4); background: rgba(16, 40, 28, 0.45); }
.at-section.is-caveat { border-color: rgba(255, 159, 10, 0.45); background: rgba(45, 28, 8, 0.42); }
.at-section-lbl { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; }
.at-section.is-change .at-section-lbl { color: #86efac; }
.at-section.is-caveat .at-section-lbl { color: #fcd34d; }
.at-section-body { font-size: 0.92rem; line-height: 1.48; white-space: pre-wrap; overflow-wrap: anywhere; }
.at-rec { font-size: 0.85rem; color: #fcd34d; font-weight: 600; }
.at-links { display: flex; flex-wrap: wrap; gap: 8px; }
.at-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(10, 132, 255, 0.16);
  border: 1px solid rgba(10, 132, 255, 0.45);
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Message header, Schutz-Ampel, Diff, 30s Countdown */
.at-mail-head {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0a1122;
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-size: 0.86rem;
}
.at-mail-row b { color: #94a3b8; font-weight: 700; margin-inline-end: 6px; }
.at-safety-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.at-safety-chip {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.at-safety-chip.ok { background: var(--at-green-bg); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.45); }
.at-safety-chip.warn { background: var(--at-amber-soft); color: #fde68a; border: 1px solid var(--at-amber-border); }
.at-safety-chip.danger { background: var(--at-red-bg); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.55); }

.at-diff-box {
  background: #090e1c;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  white-space: pre-wrap;
  overflow-x: auto;
}
.at-diff-add { color: #86efac; }
.at-diff-del { color: #fca5a5; }

.at-countdown-box {
  padding: 12px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.14);
  border: 1.5px solid var(--at-green);
  display: grid;
  gap: 8px;
}
.at-countdown-track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.at-countdown-fill { height: 100%; background: var(--at-green); transition: width 0.45s linear; }

/* Action buttons */
.at-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.at-btn {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  color: #fff;
}
.at-btn:disabled { opacity: 0.45; cursor: default; }
.at-btn-ja { background: #15803d; border-color: #22c55e; }
.at-btn-nein { background: #7f1d1d; border-color: #ef4444; }
.at-btn-text { background: #0066cc; border-color: #3b82f6; }
.at-btn-sub { background: #141e35; border-color: rgba(148, 163, 184, 0.38); color: #e2e8f0; font-size: 0.84rem; min-height: 42px; }
.at-btn-amber { background: rgba(255, 159, 10, 0.2); border-color: var(--at-amber); color: #fef3c7; }
.at-btn-wide { grid-column: 1 / -1; }
.at-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.at-choices .at-btn { flex: 1 1 130px; background: #172542; border-color: rgba(96, 165, 250, 0.5); }

.at-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #0b1222;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.82rem;
}
.at-footer-link {
  background: transparent;
  border: 0;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}
.at-footer-link:hover { background: rgba(255, 255, 255, 0.08); }

/* Fullscreen editor modal & Status overlay inside @-layer */
.at-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 8, 16, 0.96);
  display: flex;
  flex-direction: column;
  padding: calc(10px + env(safe-area-inset-top, 0px)) calc(14px + env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) calc(14px + env(safe-area-inset-left, 0px));
  gap: 10px;
}
.at-modal.hidden { display: none !important; }
.at-modal-head { display: flex; align-items: center; gap: 8px; }
.at-modal-head h2 { margin: 0; font-size: 1rem; color: #ffd080; flex: 1; }
.at-input, .at-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid var(--at-amber-border);
  background: #0d1526;
  color: #f8fafc;
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}
.at-textarea { flex: 1 1 auto; min-height: 160px; resize: vertical; line-height: 1.45; }

.at-empty {
  text-align: center;
  padding: 36px 18px;
  background: var(--at-card);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.at-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.at-help-body {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  flex: 1 1 auto;
  padding-bottom: 4px;
}
.at-help-intro {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 159, 10, 0.12);
  border: 1px solid var(--at-amber-border);
  color: #fde68a;
  font-size: 0.86rem;
  line-height: 1.45;
}
.at-help-list {
  display: grid;
  gap: 8px;
}
.at-help-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0c1425;
  border: 1px solid rgba(148, 163, 184, 0.24);
}
.at-help-badge {
  flex: none;
  width: 54px;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid var(--at-amber-border);
  background: #0d1322;
  color: #ffd080;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.at-help-badge.is-active {
  border-color: var(--at-amber);
  background: rgba(255, 159, 10, 0.25);
  color: #fff3d6;
}
.at-help-badge.at-rail-help {
  border-color: rgba(148, 163, 184, 0.55);
  color: #cbd5e1;
}
.at-help-badge.at-flip-back {
  border-color: var(--at-blue);
  background: rgba(9, 25, 48, 0.96);
  color: #60a5fa;
}
.at-help-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.at-help-text strong { font-size: 0.9rem; color: #f8fafc; }
.at-help-text p { margin: 0; font-size: 0.83rem; line-height: 1.42; color: #cbd5e1; }
.at-help-safe { font-size: 0.76rem; font-weight: 600; color: #86efac; }
.at-history-list { display: grid; gap: 6px; max-height: 240px; overflow-y: auto; }
.at-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #0d1526;
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.82rem;
}
