/* ================================================================
   styles_v2.css — Ozon 自动化平台 重设计版
   设计目标：现代 B2B SaaS 风格，信息密度合理，视觉层次清晰
   保留所有原 class 名称，仅修改样式
================================================================ */

/* ---- Design Tokens ---- */
:root {
  --pri:        #4361EE;
  --pri-lt:     #EEF2FF;
  --pri-dk:     #3451D1;
  --green:      #0CB87C;
  --green-lt:   #E6FAF4;
  --amber:      #F4A11F;
  --amber-lt:   #FFF8E7;
  --red:        #E7505A;
  --red-lt:     #FFF0F0;
  --cyan:       #06B6D4;
  --cyan-lt:    #E0FAFA;
  --purple:     #8B5CF6;
  --purple-lt:  #F3EEFF;

  --surface:    #FFFFFF;
  --bg:         #F0F3F9;
  --bg2:        #F8FAFC;
  --border:     #E4E8F0;
  --border-lt:  #F0F3F9;
  --text:       #1A2337;
  --text2:      #4A5568;
  --muted:      #8A96A8;

  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --shadow-xs:  0 1px 3px rgba(26,35,55,.06);
  --shadow-sm:  0 2px 8px rgba(26,35,55,.08);
  --shadow:     0 4px 20px rgba(26,35,55,.10);
  --shadow-lg:  0 8px 32px rgba(26,35,55,.12);

  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  --ts: 0.15s ease;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pri); text-decoration: none; transition: color var(--ts); }
a:hover { color: var(--pri-dk); text-decoration: underline; }
input, select, textarea, button { font-family: var(--font); font-size: 13px; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ================================================================
   TOP NAVBAR
================================================================ */
.app-nav {
  position: sticky; top: 0; z-index: 200;
  height: 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 0;
}
.app-nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--pri);
  white-space: nowrap; margin-right: 24px;
}
.app-nav-logo svg { flex-shrink: 0; }
.app-nav-tabs {
  display: flex; align-items: stretch; height: 58px; gap: 0;
  border-bottom: none;
}
.app-nav-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 0 20px;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  border: none; background: transparent;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--ts);
  white-space: nowrap;
  margin-top: 3px;
}
.app-nav-tab:hover { color: var(--text); }
.app-nav-tab.tab-active { color: var(--pri); border-bottom-color: var(--pri); font-weight: 600; }

.app-nav-meta {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.app-nav-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 5px 10px;
  font-size: 12px; font-weight: 500; color: var(--text2);
  white-space: nowrap;
}
.app-nav-pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
}
.app-nav-pill .dot.online { background: var(--green); box-shadow: 0 0 0 2px var(--green-lt); }
.app-nav-pill .dot.polling { background: var(--green); animation: pulse 1.5s ease infinite; }
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }

.app-nav-sep { width: 1px; height: 22px; background: var(--border); margin: 0 4px; }

/* ================================================================
   PAGE WRAPPER
================================================================ */
.review-wrap { max-width: 1900px; margin: 0 auto; padding: 18px 20px 32px; }

/* ================================================================
   CARDS
================================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ================================================================
   SHOP PANEL
================================================================ */
.shop-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
}
.shop-section-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  flex-wrap: wrap;
}
.shop-section-head h2 {
  font-size: 14px; font-weight: 600; color: var(--text);
  white-space: nowrap;
}
.shop-switch-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  padding: 0;
}
.shop-switch-row label {
  font-size: 13px; font-weight: 500; color: var(--text2);
  white-space: nowrap; min-width: auto;
}
.shop-switch-row select {
  min-width: 240px; width: auto;
  height: 36px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0 10px;
  background: var(--bg2); font-size: 13px; color: var(--text);
}
.shop-edit-panel {
  border-top: 1px solid var(--border-lt);
  background: var(--bg2);
  margin-top: 0;
  border-radius: 0;
  border: none;
  padding: 0;
}
.shop-edit-panel summary {
  cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--pri); padding: 10px 20px;
  user-select: none; list-style: none;
  display: flex; align-items: center; gap: 6px;
}
.shop-edit-panel summary::before {
  content: "▶"; font-size: 10px; transition: transform var(--ts);
}
.shop-edit-panel[open] summary::before { transform: rotate(90deg); }
.shop-edit-panel[open] summary { margin-bottom: 0; }
.shop-edit-panel .shop-edit-body { padding: 14px 20px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.shop-edit-panel .shop-edit-body .btn-line { grid-column: 1/-1; }

/* ================================================================
   STATUS BAR (message/error)
================================================================ */
.status-bar {
  display: flex; gap: 8px; padding: 8px 20px;
  border-top: 1px solid var(--border-lt);
  flex-wrap: wrap;
}
.msg-success { background: var(--green-lt); color: #065F46; border-radius: var(--radius-sm); padding: 6px 12px; font-size: 12px; font-weight: 500; flex: 1; }
.msg-error   { background: var(--red-lt);   color: #9B1C1C; border-radius: var(--radius-sm); padding: 6px 12px; font-size: 12px; font-weight: 500; flex: 1; }

/* ================================================================
   IMPORT + STATS SECTION
================================================================ */
.import-stats-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.import-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: 18px;
}
.import-card h2 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  transition: box-shadow var(--ts);
}
.stat-card:hover { box-shadow: var(--shadow-sm); }
.stat-card .stat-label { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
.stat-card .stat-val { font-size: 26px; font-weight: 700; line-height: 1; color: var(--text); }
.stat-card .stat-val.green { color: var(--green); }
.stat-card .stat-val.blue  { color: var(--pri); }
.stat-card .stat-val.amber { color: var(--amber); }
.stat-card .stat-time { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ================================================================
   FILTER BAR
================================================================ */
.filter-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.filter-section .filter-group { display: flex; align-items: center; gap: 6px; }
.filter-section .filter-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-input {
  height: 34px; padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text);
  background: var(--bg2);
  width: 180px;
  transition: border-color var(--ts), box-shadow var(--ts);
}
.filter-input:focus { outline: none; border-color: var(--pri); box-shadow: 0 0 0 3px rgba(67,97,238,.1); background: #fff; }
.filter-input.short { width: 116px; }
select.filter-input { cursor: pointer; }

/* ================================================================
   TABLE SECTION
================================================================ */
.table-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 0;
  margin-bottom: 14px;
}
.table-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border-lt);
  flex-wrap: wrap;
}
.table-header h2 { font-size: 14px; font-weight: 600; color: var(--text); }
.table-header h2 .subtitle { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.table-header .ml-auto { margin-left: auto; }
.table-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-lt);
  background: var(--bg2);
  flex-wrap: wrap;
}

.table-scroll { overflow: auto; }
.table-scroll.sticky { max-height: 70vh; overflow-y: auto; overflow-x: auto; }
.table-scroll.sticky thead th {
  position: sticky; top: 0; z-index: 10;
  background: #F4F6FB;
  box-shadow: 0 1px 0 var(--border);
}

.review-table, .result-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.review-table th, .result-table th {
  background: #F4F6FB;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted);
  padding: 10px 10px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
  user-select: none;
}
.review-table th.sortable { cursor: pointer; }
.review-table th.sortable:hover { color: var(--pri); background: var(--pri-lt); }
.sort-ind { color: var(--pri); margin-left: 3px; font-weight: 900; }

.review-table td, .result-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-lt);
  font-size: 13px;
  vertical-align: middle;
  color: var(--text);
}
.review-table tbody tr:hover td { background: #F7F9FF; }
.review-table tbody tr:nth-child(even) td { background: #FAFBFF; }
.review-table tbody tr:nth-child(even):hover td { background: #F2F5FF; }

/* column overrides */
.review-table td input {
  width: 80px; height: 30px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 8px; background: var(--bg2);
  font-size: 12px; color: var(--text);
  transition: border-color var(--ts);
}
.review-table td input:focus { outline: none; border-color: var(--pri); background: #fff; box-shadow: 0 0 0 2px rgba(67,97,238,.08); }

/* ================================================================
   PILLS / BADGES
================================================================ */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 99px; padding: 3px 9px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.pill-blue   { background: var(--pri-lt);   color: var(--pri-dk); }
.pill-green  { background: var(--green-lt); color: #065F46; }
.pill-amber  { background: var(--amber-lt); color: #92400E; }
.pill-cyan   { background: var(--cyan-lt);  color: #0E7490; }
.pill-gray   { background: #F1F5F9; color: #475569; }
.pill-red    { background: var(--red-lt);   color: #9B1C1C; }
.pill-purple { background: var(--purple-lt); color: #6D28D9; }

/* reverse state pills */
.pill-reverse-done    { background: #DCFCE7; color: #14532D; }
.pill-reverse-empty   { background: #FEF3C7; color: #78350F; }
.pill-reverse-pending { background: #F1F5F9; color: #475569; }

/* ================================================================
   HERO (legacy — hidden in new design, replaced by navbar)
================================================================ */
.review-hero { display: none; }
.tab-bar     { display: none; }

/* ================================================================
   BUTTONS
================================================================ */
button { cursor: pointer; font-weight: 500; border: none; transition: all var(--ts); }
.btn-primary {
  background: var(--pri); color: #fff;
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(67,97,238,.25);
}
.btn-primary:hover { background: var(--pri-dk); box-shadow: 0 4px 12px rgba(67,97,238,.35); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-light {
  background: var(--bg2); color: var(--text2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 14px;
  font-size: 13px;
}
.btn-light:hover { background: var(--border); color: var(--text); }

.btn-success {
  background: var(--green-lt); color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm); padding: 6px 12px;
  font-size: 12px; font-weight: 600;
}
.btn-success:hover { background: #A7F3D0; }
.btn-success:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-danger {
  background: var(--red-lt); color: #9B1C1C;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-sm); padding: 6px 10px;
  font-size: 12px; font-weight: 600;
}
.btn-danger:hover { background: #FCA5A5; }

.btn-save {
  background: var(--bg2); color: var(--text2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px 10px;
  font-size: 12px;
}
.btn-save.saved { background: var(--pri-lt); color: var(--pri); border-color: #C7D7F9; }
.btn-save:hover { border-color: var(--pri); color: var(--pri); }

.btn-mini { padding: 5px 10px !important; font-size: 12px !important; }
.btn-line  { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.btn-uploaded-pending {
  background: var(--green-lt); color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm); padding: 6px 10px;
  font-size: 12px; cursor: not-allowed; opacity: 0.85;
}

/* ================================================================
   FORM ELEMENTS
================================================================ */
.form-row { margin-bottom: 12px; }
.form-row label {
  display: block; margin-bottom: 5px;
  font-size: 12px; font-weight: 600; color: var(--text2);
  letter-spacing: 0.02em;
}
input:not([type=checkbox]):not([type=file]):not([type=number].inline) {
  width: 100%; height: 38px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 11px; background: var(--bg2);
  font-size: 13px; color: var(--text);
  transition: border-color var(--ts), box-shadow var(--ts);
}
input:focus { outline: none; border-color: var(--pri); background: #fff; box-shadow: 0 0 0 3px rgba(67,97,238,.1); }
select:not(.filter-input) {
  width: 100%; height: 38px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 11px; background: var(--bg2);
  font-size: 13px; color: var(--text);
}

/* ================================================================
   TABLE SPECIFIC CELLS
================================================================ */
.money {
  white-space: nowrap; font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.money.positive { color: var(--green); }
.money.negative { color: var(--red); }

.sku-main {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--text); letter-spacing: 0.02em;
}
.row-pills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }

.img-cell { min-width: 72px; width: 72px; }
.img-cell img {
  width: 60px; height: 60px; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  display: block;
}
.url-cell { min-width: 60px; }
.url-cell a {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 500;
  color: var(--pri);
  white-space: nowrap;
}
.links-cell { min-width: 120px; max-width: 180px; }
.link-item {
  display: block; font-size: 11px;
  font-family: var(--font-mono);
  color: var(--pri); margin-bottom: 3px; white-space: nowrap;
}
.link-item:hover { text-decoration: underline; }

.weight-cell { min-width: 100px; }
.cell-hint { margin-top: 3px; font-size: 11px; color: var(--muted); }

/* confidence bar */
.conf-wrap { min-width: 88px; }
.conf-wrap b { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.conf-bar { height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.conf-bar i { display: block; height: 100%; background: linear-gradient(90deg, #F59E0B 0%, #10B981 80%); border-radius: 99px; }

/* actions */
.actions-cell { white-space: nowrap; min-width: 150px; }
.actions-cell button { margin-right: 3px; margin-bottom: 3px; }

/* note cell */
.note-cell { min-width: 130px; max-width: 170px; vertical-align: top; }
.note-input {
  width: 100%; min-height: 38px; font-size: 12px; padding: 5px 7px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  resize: vertical; background: var(--bg2); color: var(--text);
  transition: border-color var(--ts);
}
.note-input:focus { outline: none; border-color: var(--pri); background: #fff; }
.note-link {
  display: block; font-size: 11px; color: var(--purple);
  margin-top: 3px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font-weight: 600;
}
.note-text { font-size: 12px; color: var(--text2); word-break: break-all; }

/* checkbox */
.row-check { width: 14px; height: 14px; cursor: pointer; accent-color: var(--pri); }
.inline-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); cursor: pointer; }
.inline-check input { width: 14px; height: 14px; accent-color: var(--pri); }

/* ================================================================
   PAGINATION
================================================================ */
.pagination {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 12px 18px;
  border-top: 1px solid var(--border-lt);
  background: var(--bg2);
}
.pagination .tip { color: var(--muted); font-size: 12px; }
.pagination input { width: 56px !important; height: 30px !important; text-align: center; }
.pagination select { width: 90px; height: 30px; }
.pagination button { height: 30px; padding: 0 10px !important; font-size: 12px !important; }

/* ================================================================
   LEGACY PANEL / STATS (kept for compat)
================================================================ */
.panel { padding: 18px 20px; }
.panel h2 { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--text); }

/* old stats-row → used as fallback */
.stats-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px;
}
.stat-box {
  flex: 1; min-width: 110px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
}
.stat-box span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.stat-box b { display: block; font-size: 22px; font-weight: 700; color: var(--text); margin-top: 2px; }
.stat-box.tip b { font-size: 14px; color: var(--text2); }

/* ================================================================
   LOGIN PAGE
================================================================ */
.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0F2FE 50%, #F0FDF4 100%);
  padding: 20px;
}
.login-card {
  background: var(--surface); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 40px 36px;
  width: 100%; max-width: 400px;
}
.login-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 28px;
}
.login-logo span { font-size: 20px; font-weight: 700; color: var(--pri); }
.login-card h1 { font-size: 22px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.login-sub { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

/* ================================================================
   SHOP SECTION (new layout)
================================================================ */
.shop-row-inline {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; flex-wrap: wrap;
}

/* ================================================================
   TREND / CHART
================================================================ */
.trend-wrap {
  margin-top: 12px; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px;
  background: var(--bg2);
}
.trend-wrap h3 { font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 8px; }
#trendCanvas { width: 100%; height: 180px; border-radius: var(--radius-sm); border: 1px solid var(--border); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1300px) {
  .import-stats-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .review-wrap { padding: 12px 10px 20px; }
  .app-nav { padding: 0 14px; }
  .app-nav-logo span { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .app-nav-meta .app-nav-sep { display: none; }
}

/* ================================================================
   TOAST NOTIFICATION
================================================================ */
.app-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; align-items: center;
  min-width: 260px; max-width: 420px;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 13px; font-weight: 500; line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  cursor: pointer;
  word-break: break-word;
}
.app-toast-success { background: #1A2337; color: #F0FDF4; }
.app-toast-success svg { color: #6EE7B7; }
.app-toast-error   { background: #1A2337; color: #FEE2E2; }
.app-toast-error svg { color: #FCA5A5; }

/* Vue transition */
.toast-enter-active { animation: toastIn .25s cubic-bezier(.34,1.56,.64,1); }
.toast-leave-active { animation: toastOut .2s ease forwards; }
@keyframes toastIn  { from { opacity:0; transform: translateY(16px) scale(.96); } to { opacity:1; transform: translateY(0) scale(1); } }
@keyframes toastOut { from { opacity:1; transform: translateY(0); } to { opacity:0; transform: translateY(8px); } }

/* ================================================================
   UTILITY
================================================================ */
.tip   { color: var(--muted); font-size: 12px; }
.error { color: var(--red); font-size: 12px; }
.ml-auto { margin-left: auto; }
.flex { display: flex; align-items: center; gap: 8px; }
.flex-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }
