/* ============================================================
   MYCFO — transactions.css  (Sprint 6)
   거래관리 전용 스타일
   ============================================================ */

/* ── Summary Strip ─────────────────────────────────────────── */
.tx-summary-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 900px) { .tx-summary-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .tx-summary-strip { grid-template-columns: repeat(2, 1fr); } }

.tx-summary-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  overflow: hidden;
}
.tx-summary-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-border);
}
.tx-summary-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.tx-summary-card.active-filter { border-color: var(--color-brand-blue); box-shadow: 0 0 0 2px var(--color-brand-blue-light); }

.tx-summary-card.income::before    { background: var(--color-success); }
.tx-summary-card.expense::before   { background: var(--color-danger); }
.tx-summary-card.no-evidence::before { background: var(--color-warning); }
.tx-summary-card.tax-risk::before  { background: #ef4444; }
.tx-summary-card.provision::before { background: #f59e0b; }

.tx-summary-label { font-size: 11px; color: var(--color-text-tertiary); margin-bottom: 6px; font-weight: 500; }
.tx-summary-value { font-size: 22px; font-weight: 700; color: var(--color-text-primary); letter-spacing: -0.5px; line-height: 1; }
.tx-summary-sub   { font-size: 10px; color: var(--color-text-tertiary); margin-top: 4px; }

/* ── Toolbar ───────────────────────────────────────────────── */
.tx-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tx-search-wrap {
  position: relative;
  flex: 1;
  min-width: 180px;
}
.tx-search-wrap svg {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-tertiary);
  pointer-events: none;
}
.tx-search {
  width: 100%;
  padding: 8px 10px 8px 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}
.tx-search:focus { border-color: var(--color-brand-blue); }
.tx-search::placeholder { color: var(--color-text-tertiary); }

.tx-filter-select {
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: 12px;
  outline: none;
  cursor: pointer;
  min-width: 105px;
}
.tx-filter-select:focus { border-color: var(--color-brand-blue); }

.tx-date-input {
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: 12px;
  outline: none;
  min-width: 120px;
}
.tx-date-input:focus { border-color: var(--color-brand-blue); }

.tx-view-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.tx-view-btn:hover,
.tx-view-btn.active { background: var(--color-brand-blue); color: #fff; border-color: var(--color-brand-blue); }

/* ── Amount Bar ────────────────────────────────────────────── */
.tx-amount-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 16px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tx-amount-item { display: flex; flex-direction: column; gap: 2px; }
.tx-amount-label { font-size: 10px; color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: 0.3px; }
.tx-amount-value { font-size: 15px; font-weight: 700; color: var(--color-text-primary); letter-spacing: -0.3px; }
.tx-amount-value.green  { color: var(--color-success); }
.tx-amount-value.red    { color: var(--color-danger); }
.tx-amount-value.orange { color: var(--color-warning); }
.tx-amount-divider { width: 1px; height: 28px; background: var(--color-border); }

/* ── Table View ────────────────────────────────────────────── */
.tx-table-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tx-table thead th {
  padding: 10px 12px;
  background: var(--color-bg-secondary);
  color: var(--color-text-tertiary);
  font-weight: 600;
  font-size: 11px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.tx-table tbody tr {
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: background 0.12s;
}
.tx-table tbody tr:last-child { border-bottom: none; }
.tx-table tbody tr:hover { background: var(--color-bg-secondary); }
.tx-table tbody td {
  padding: 10px 12px;
  color: var(--color-text-primary);
  vertical-align: middle;
}
.tx-table .td-date    { color: var(--color-text-secondary); font-size: 12px; white-space: nowrap; }
.tx-table .td-name    { font-weight: 600; max-width: 200px; }
.tx-table .td-amount  { text-align: right; font-weight: 700; white-space: nowrap; }
.tx-table .td-amount.income  { color: var(--color-success); }
.tx-table .td-amount.expense { color: var(--color-danger); }
.tx-table .td-muted   { color: var(--color-text-secondary); font-size: 12px; }

/* ── Card Grid ─────────────────────────────────────────────── */
.tx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.tx-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.1s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.tx-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--color-border);
}
.tx-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); transform: translateY(-1px); }
.tx-card.type-입금::before  { background: var(--color-success); }
.tx-card.type-출금::before  { background: var(--color-danger); }
.tx-card.type-카드결제::before { background: #8b5cf6; }
.tx-card.type-이체::before  { background: var(--color-brand-blue); }
.tx-card.type-세금::before  { background: #f59e0b; }
.tx-card.type-급여::before  { background: #06b6d4; }
.tx-card.type-기타::before  { background: var(--color-text-tertiary); }

.tx-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.tx-card-title   { font-size: 14px; font-weight: 700; color: var(--color-text-primary); flex: 1; line-height: 1.35; }
.tx-card-amount  { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.tx-card-amount.income  { color: var(--color-success); }
.tx-card-amount.expense { color: var(--color-danger); }
.tx-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 11px; color: var(--color-text-secondary);
  align-items: center;
}
.tx-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border-light);
  font-size: 11px; color: var(--color-text-tertiary);
}

/* ── Type Badge ────────────────────────────────────────────── */
.tx-type-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
}
.tx-type-badge.입금    { background: var(--color-success-bg); color: var(--color-success); }
.tx-type-badge.출금    { background: rgba(239,68,68,.08); color: var(--color-danger); }
.tx-type-badge.카드결제 { background: rgba(139,92,246,.1); color: #7c3aed; }
.tx-type-badge.이체    { background: var(--color-brand-blue-light); color: var(--color-brand-blue); }
.tx-type-badge.세금    { background: #fef3c7; color: #b45309; }
.tx-type-badge.급여    { background: rgba(6,182,212,.1); color: #0891b2; }
.tx-type-badge.기타    { background: var(--color-bg-secondary); color: var(--color-text-secondary); }

/* ── Evidence Status Badge ─────────────────────────────────── */
.tx-evidence-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px; font-weight: 600;
  white-space: nowrap;
}
.tx-evidence-badge.없음      { background: var(--color-bg-secondary); color: var(--color-text-tertiary); }
.tx-evidence-badge.필요      { background: rgba(239,68,68,.08); color: var(--color-danger); border: 1px solid rgba(239,68,68,.2); }
.tx-evidence-badge.일부완료  { background: #fef3c7; color: #b45309; }
.tx-evidence-badge.완료      { background: var(--color-success-bg); color: var(--color-success); }
.tx-evidence-badge.검토필요  { background: var(--color-warning-bg); color: var(--color-warning); border: 1px solid rgba(245,158,11,.2); }

/* ── Tax Risk Badge ────────────────────────────────────────── */
.tx-risk-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px; font-weight: 600;
  white-space: nowrap;
}
.tx-risk-badge.낮음     { background: var(--color-success-bg); color: var(--color-success); }
.tx-risk-badge.보통     { background: #fef3c7; color: #b45309; }
.tx-risk-badge.높음     { background: rgba(239,68,68,.08); color: var(--color-danger); }
.tx-risk-badge.확인필요 { background: var(--color-warning-bg); color: var(--color-warning); border: 1px solid rgba(245,158,11,.2); }

/* Provisional candidate badge */
.tx-provision-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px; font-weight: 700;
  background: rgba(245,158,11,.15); color: #b45309;
  border: 1px solid rgba(245,158,11,.3);
}

/* ── Modal ─────────────────────────────────────────────────── */
.tx-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: flex-start; justify-content: center;
  z-index: 1000;
  padding: 40px 16px;
  overflow-y: auto;
}
.tx-modal-box {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%; max-width: 720px;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.tx-modal-title { font-size: 18px; font-weight: 700; color: var(--color-text-primary); margin-bottom: 20px; }
.tx-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 560px) { .tx-modal-grid { grid-template-columns: 1fr; } }
.tx-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer; font-size: 14px; color: var(--color-text-secondary);
  transition: background 0.15s;
}
.tx-modal-close:hover { background: var(--color-border); }
.tx-modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

/* Checkbox row */
.tx-check-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13px; color: var(--color-text-secondary);
  transition: background 0.12s;
}
.tx-check-row:hover { background: var(--color-bg-secondary); }
.tx-check-row input[type="checkbox"] { cursor: pointer; }

/* ── Detail Hero ───────────────────────────────────────────── */
.tx-detail-hero {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 16px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.tx-detail-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
}
.tx-detail-hero.type-입금::before  { background: var(--color-success); }
.tx-detail-hero.type-출금::before  { background: var(--color-danger); }
.tx-detail-hero.type-카드결제::before { background: #8b5cf6; }
.tx-detail-hero.type-이체::before  { background: var(--color-brand-blue); }
.tx-detail-hero.type-세금::before  { background: #f59e0b; }
.tx-detail-hero.type-급여::before  { background: #06b6d4; }

.tx-detail-hero-left  { flex: 1; min-width: 220px; padding-left: 8px; }
.tx-detail-hero-type  { font-size: 11px; color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.tx-detail-hero-name  { font-size: 20px; font-weight: 700; color: var(--color-text-primary); line-height: 1.3; margin-bottom: 10px; }
.tx-detail-hero-meta  { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--color-text-secondary); align-items: center; }
.tx-detail-hero-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tx-detail-amount     { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.tx-detail-amount.income  { color: var(--color-success); }
.tx-detail-amount.expense { color: var(--color-danger); }
.tx-detail-amount-sub { font-size: 11px; color: var(--color-text-tertiary); }

/* ── Stat Row ──────────────────────────────────────────────── */
.tx-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 700px) { .tx-stat-row { grid-template-columns: repeat(2, 1fr); } }
.tx-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}
.tx-stat-label { font-size: 10px; color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px; }
.tx-stat-value { font-size: 15px; font-weight: 700; color: var(--color-text-primary); }
.tx-stat-value.green  { color: var(--color-success); }
.tx-stat-value.orange { color: var(--color-warning); }
.tx-stat-value.red    { color: var(--color-danger); }

/* ── Detail Tabs ───────────────────────────────────────────── */
.tx-tabs-header {
  display: flex; gap: 2px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 20px;
  overflow-x: auto; scrollbar-width: none;
}
.tx-tabs-header::-webkit-scrollbar { display: none; }
.tx-tab-btn {
  padding: 9px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--color-text-secondary);
  background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer; white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.tx-tab-btn:hover  { color: var(--color-text-primary); }
.tx-tab-btn.active { color: var(--color-brand-blue); border-bottom-color: var(--color-brand-blue); font-weight: 600; }
.tx-tab-panel  { display: none; }
.tx-tab-panel.active { display: block; }

/* ── Info Grid ─────────────────────────────────────────────── */
.tx-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--color-surface);
}
@media (max-width: 600px) { .tx-info-grid { grid-template-columns: 1fr; } }
.tx-info-label {
  padding: 10px 14px;
  background: var(--color-bg-secondary);
  font-size: 11px; font-weight: 600;
  color: var(--color-text-tertiary);
  text-transform: uppercase; letter-spacing: 0.3px;
  border-bottom: 1px solid var(--color-border-light);
  border-right: 1px solid var(--color-border-light);
}
.tx-info-value {
  padding: 10px 14px;
  font-size: 13px; color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-light);
}
/* full-width row */
.tx-info-full { grid-column: 1 / -1; display: grid; grid-template-columns: 140px 1fr; }
.tx-info-full .tx-info-label { border-right: 1px solid var(--color-border-light); }

/* ── Tax / Risk Panel ──────────────────────────────────────── */
.tx-risk-selector { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tx-risk-chip {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--color-border);
  cursor: pointer; transition: all 0.15s;
}
.tx-risk-chip.low    { border-color: var(--color-success); color: var(--color-success); }
.tx-risk-chip.medium { border-color: #f59e0b; color: #b45309; }
.tx-risk-chip.high   { border-color: var(--color-danger); color: var(--color-danger); }
.tx-risk-chip.check  { border-color: var(--color-warning); color: var(--color-warning); }
.tx-risk-chip.active.low    { background: var(--color-success); color: #fff; }
.tx-risk-chip.active.medium { background: #f59e0b; color: #fff; }
.tx-risk-chip.active.high   { background: var(--color-danger); color: #fff; }
.tx-risk-chip.active.check  { background: var(--color-warning); color: #fff; }

/* ── Provision Panel ───────────────────────────────────────── */
.tx-provision-alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: rgba(245,158,11,.06);
  border: 1.5px solid rgba(245,158,11,.3);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.tx-provision-alert-icon { font-size: 22px; flex-shrink: 0; }
.tx-provision-alert-body { flex: 1; }
.tx-provision-alert-title { font-size: 13px; font-weight: 700; color: #b45309; margin-bottom: 4px; }
.tx-provision-alert-desc  { font-size: 12px; color: var(--color-text-secondary); line-height: 1.6; }

/* ── Linked Empty ──────────────────────────────────────────── */
.tx-linked-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 48px 20px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-tertiary);
}
.tx-linked-empty-icon { font-size: 32px; opacity: 0.4; }
.tx-linked-empty-text { font-size: 13px; font-weight: 500; }
.tx-linked-empty-sub  { font-size: 11px; }

/* ── Memo Box ──────────────────────────────────────────────── */
.tx-memo-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}
.tx-memo-box-title { font-size: 12px; font-weight: 700; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 10px; }
.tx-memo-textarea {
  width: 100%; min-height: 100px;
  padding: 10px 12px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 13px; resize: vertical;
  font-family: inherit; outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.tx-memo-textarea:focus { border-color: var(--color-brand-blue); }
.tx-memo-save-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; font-size: 11px; color: var(--color-text-tertiary);
}

/* ── Timeline ──────────────────────────────────────────────── */
.tx-timeline { position: relative; padding-left: 24px; }
.tx-timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--color-border);
}
.tx-timeline-item { position: relative; margin-bottom: 20px; padding-left: 16px; }
.tx-timeline-dot {
  position: absolute; left: -24px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-surface); z-index: 1;
}
.tx-timeline-dot.dot-green  { background: var(--color-success);    border-color: var(--color-success); }
.tx-timeline-dot.dot-blue   { background: var(--color-brand-blue); border-color: var(--color-brand-blue); }
.tx-timeline-dot.dot-orange { background: var(--color-warning);    border-color: var(--color-warning); }
.tx-timeline-dot.dot-red    { background: var(--color-danger);     border-color: var(--color-danger); }
.tx-timeline-dot.dot-gray   { background: var(--color-text-tertiary); border-color: var(--color-text-tertiary); }
.tx-timeline-date  { font-size: 10px; color: var(--color-text-tertiary); margin-bottom: 3px; }
.tx-timeline-title { font-size: 13px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 3px; }
.tx-timeline-desc  { font-size: 12px; color: var(--color-text-secondary); line-height: 1.5; }

/* ── Evidence Attach Area ──────────────────────────────────── */
.tx-attach-area {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
  color: var(--color-text-tertiary); font-size: 13px;
  margin-bottom: 12px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.tx-attach-area:hover { border-color: var(--color-brand-blue); background: var(--color-brand-blue-light); }
.tx-attach-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 12px; color: var(--color-text-secondary);
  margin-bottom: 6px;
}

/* ── Empty ─────────────────────────────────────────────────── */
.tx-empty { text-align: center; padding: 48px 16px; color: var(--color-text-tertiary); font-size: 14px; }
.tx-empty-icon { font-size: 36px; margin-bottom: 12px; opacity: 0.5; }
.tx-empty-sub  { font-size: 12px; margin-top: 6px; }

/* ── Toast ─────────────────────────────────────────────────── */
.tx-toast {
  position: fixed; bottom: 28px; right: 28px;
  padding: 11px 18px;
  border-radius: var(--radius-lg);
  font-size: 13px; font-weight: 500;
  color: #fff; background: var(--color-text-primary);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none; max-width: 320px;
}
.tx-toast.show    { opacity: 1; transform: translateY(0); }
.tx-toast.success { background: var(--color-success); }
.tx-toast.error   { background: var(--color-danger); }
.tx-toast.warning { background: var(--color-warning); }
