/* ══════════════════════════════════════════
   HUG Buyback — hug.css
   KingSyah · Tema: Indonesia Merah Putih
   v2.2 — Softer palette + Light/Dark mode
   ══════════════════════════════════════════ */

/* ── DARK MODE (default) ── */
:root {
  --red:          #c0392b;
  --red-dark:     #922b21;
  --red-dim:      #a93226;
  --red-bright:   #e74c3c;
  --red-muted:    #cd6155;
  --red-glow:     rgba(192,57,43,0.2);
  --red-subtle:   rgba(192,57,43,0.08);
  --white:        #f0ebe9;
  --white-dim:    #c5bdb9;
  --gold:         #c8993a;
  --gold-b:       #e0b455;
  --bg-deep:      #111010;
  --bg-dark:      #171212;
  --bg-panel:     #1e1616;
  --bg-card:      #251a1a;
  --bg-input:     #130e0e;
  --border:       rgba(180,60,50,0.16);
  --border-b:     rgba(180,60,50,0.38);
  --text:         #cfc4c2;
  --text-dim:     #7a6a68;
  --text-bright:  #ede5e3;
  --surface:      var(--bg-panel);
  --text2:        var(--text-dim);
  --green-bright: #27ae60;
  --shadow:       0 2px 12px rgba(0,0,0,0.5);

  /* light/dark toggle */
  --mode-icon: '☀';
}

/* ── LIGHT MODE ── */
:root[data-theme="light"] {
  --red:          #b03025;
  --red-dark:     #8b1f17;
  --red-dim:      #9b2a22;
  --red-bright:   #c0392b;
  --red-muted:    #c0625a;
  --red-glow:     rgba(176,48,37,0.15);
  --red-subtle:   rgba(176,48,37,0.06);
  --white:        #1a1212;
  --white-dim:    #4a3a38;
  --gold:         #8a6020;
  --gold-b:       #a07828;
  --bg-deep:      #faf7f6;
  --bg-dark:      #f5f0ee;
  --bg-panel:     #ffffff;
  --bg-card:      #faf5f4;
  --bg-input:     #f8f3f2;
  --border:       rgba(176,48,37,0.14);
  --border-b:     rgba(176,48,37,0.32);
  --text:         #3a2a28;
  --text-dim:     #9a8480;
  --text-bright:  #1a1010;
  --surface:      #ffffff;
  --text2:        #9a8480;
  --green-bright: #1e8449;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --mode-icon: '🌙';
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

:root[data-theme="dark"] body,
:root:not([data-theme="light"]) body {
  background-image:
    radial-gradient(ellipse 70% 35% at 50% -5%, rgba(176,48,37,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 25% at 88% 75%, rgba(70,20,18,0.6) 0%, transparent 55%);
}

:root[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 70% 35% at 50% -5%, rgba(176,48,37,0.04) 0%, transparent 60%);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
  padding: 4px 10px;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.theme-toggle:hover {
  border-color: var(--border-b);
  color: var(--text);
  background: var(--bg-panel);
}
.theme-toggle-icon { font-size: 13px; }

/* ── HEADER ── */
header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-dark);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
  transition: background 0.3s;
}
:root:not([data-theme="light"]) header { background: rgba(17,16,16,0.96); }

.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  height: 52px;
}
.back-link {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 1px;
  color: var(--text-dim); text-decoration: none;
  transition: color 0.2s; white-space: nowrap;
}
.back-link:hover { color: var(--red-bright); }
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--text-bright); letter-spacing: 2px; text-decoration: none;
  flex: 1;
}
.logo-flag { font-size: 22px; }
.header-right { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-bright); box-shadow: 0 0 5px var(--green-bright);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.status-label { font-size: 11px; color: var(--text-dim); letter-spacing: 0.5px; }

/* Merah Putih stripe bawah header */
.header-stripe { display: flex; height: 3px; }
.stripe-red   { flex: 1; background: var(--red); }
.stripe-white { flex: 1; background: #e8e0de; }
:root[data-theme="light"] .stripe-white { background: #b8c0c8; }

/* ── LAYOUT ── */
.main {
  max-width: 1200px; margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem; align-items: start;
}
@media (max-width: 860px) { .main { grid-template-columns: 1fr; } }

/* ── PANELS ── */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow);
  transition: background 0.3s, border-color 0.3s;
}
.panel-header {
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  background: var(--red-subtle);
}
.panel-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--red-muted);
}
:root[data-theme="light"] .panel-title { color: var(--red-dim); }
.panel-body { padding: 1rem; }

/* ── TEXTAREA ── */
.input-area {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-bright);
  font-family: 'Share Tech Mono', monospace; font-size: 13px; line-height: 1.7;
  padding: 0.75rem; resize: vertical; min-height: 160px;
  transition: border-color 0.2s, background 0.3s; outline: none;
}
.input-area::placeholder { color: var(--text-dim); }
.input-area:focus { border-color: var(--red-dim); }

/* ── ACTIONS ── */
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 0.75rem; }
.btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  padding: 0.5rem 1.2rem; border-radius: 5px;
  cursor: pointer; border: none; transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 5px;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-1px); }
:root[data-theme="light"] .btn-primary { background: var(--red); color: #fff; }
:root[data-theme="light"] .btn-primary:hover { background: var(--red-dim); }
.btn-secondary {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--border-b); color: var(--text); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

.spinner {
  display: none; width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── SUMMARY CARDS ── */
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 1rem; }
.metric-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 6px; padding: 0.75rem; text-align: center;
  transition: background 0.3s;
}
.metric-card.highlight {
  border-color: rgba(180,60,50,0.3);
  background: var(--red-subtle);
  position: relative; overflow: hidden;
}
.metric-card.highlight::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.metric-label {
  font-size: 10px; color: var(--text-dim);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 4px;
  font-family: 'Rajdhani', sans-serif; font-weight: 500;
}
.metric-value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px; color: var(--white-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.metric-card.highlight .metric-value { color: var(--text-bright); font-size: 18px; }
.metric-sub { font-size: 10px; color: var(--text-dim); margin-top: 3px; }

/* ── RATE SLIDER ── */
.rate-section { margin-bottom: 1rem; }
.rate-label {
  font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 6px; display: block;
}
.rate-hint { font-size: 11px; color: var(--text-dim); margin-top: 4px; line-height: 1.5; }
.rate-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rate-row input[type="range"] {
  flex: 1; -webkit-appearance: none;
  height: 4px; background: var(--bg-input);
  border-radius: 2px; outline: none; border: 1px solid var(--border);
}
:root[data-theme="light"] .rate-row input[type="range"] { background: #e8e0de; }
.rate-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px;
  border-radius: 50%; background: var(--red);
  cursor: pointer; border: 2px solid var(--bg-panel);
  box-shadow: 0 0 6px var(--red-glow);
}
.rate-display {
  font-family: 'Share Tech Mono', monospace; font-size: 14px;
  color: var(--text-bright); min-width: 38px; text-align: right;
}

.select-field {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border); border-radius: 5px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 12px;
  padding: 0.4rem 0.7rem; outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a6a68'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 26px;
  transition: background 0.3s, border-color 0.3s;
}
.select-field:focus { border-color: var(--red-dim); }
.min-value-input {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border); border-radius: 5px;
  color: var(--text); font-family: 'Share Tech Mono', monospace; font-size: 12px;
  padding: 0.4rem 0.7rem; outline: none; transition: background 0.3s;
}
.min-value-input:focus { border-color: var(--red-dim); }

/* ── RESULTS TABLE ── */
.results-wrap { overflow-x: auto; margin-top: 1rem; }
.results-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.results-table th {
  text-align: left; padding: 6px 8px;
  font-family: 'Rajdhani', sans-serif; font-size: 10px;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red-muted); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.results-table td {
  padding: 7px 8px; border-bottom: 1px solid rgba(180,60,50,0.06);
  vertical-align: middle; color: var(--text);
}
:root[data-theme="light"] .results-table td { border-bottom-color: rgba(176,48,37,0.08); }
.results-table tr:last-child td { border-bottom: none; }
.results-table tr:hover td { background: var(--red-subtle); }
.td-mono   { font-family: 'Share Tech Mono', monospace; }
.td-gold   { color: var(--white-dim); }
.td-bright { color: var(--text-bright); font-family: 'Share Tech Mono', monospace; }
.td-dim    { color: var(--text-dim); }
.td-qty    { color: var(--text-dim); font-family: 'Share Tech Mono', monospace; }
.row-rejected td { opacity: 0.45; }
.badge-reject {
  background: rgba(192,57,43,0.12); color: var(--red-muted);
  font-size: 9px; padding: 2px 5px; border-radius: 3px;
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  letter-spacing: 1px; white-space: nowrap;
}
.badge-ok {
  background: rgba(39,174,96,0.1); color: var(--green-bright);
  font-size: 11px; padding: 2px 5px; border-radius: 3px;
}

/* ── EMPTY / ALERT ── */
.state-empty { padding: 2.5rem 1rem; text-align: center; color: var(--text-dim); }
.state-icon  { font-size: 32px; margin-bottom: 8px; opacity: 0.6; }
.state-title { font-family: 'Rajdhani', sans-serif; font-size: 15px; letter-spacing: 1px; }
.state-desc  { font-size: 12px; margin-top: 5px; line-height: 1.6; }
.alert { padding: 0.65rem 0.9rem; border-radius: 6px; font-size: 12px; margin-top: 0.75rem; display: none; }
.alert-error {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.25);
  color: var(--red-muted);
}

/* ── CONTRACT HELPER ── */
.contract-helper {
  background: var(--red-subtle);
  border: 1px solid rgba(176,48,37,0.22);
  border-radius: 7px; padding: 0.85rem 1rem; margin-bottom: 1rem;
}
.contract-helper-title {
  font-family: 'Rajdhani', sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red-muted); margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.contract-helper-desc {
  font-size: 11px; color: var(--text-dim); line-height: 1.6; margin-bottom: 10px;
}
.contract-helper-desc strong { color: var(--text); }
.contract-helper-desc em { color: var(--red-muted); font-style: normal; }
.contract-field-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 10px;
  transition: background 0.3s;
}
.contract-field-info { flex: 1; min-width: 0; }
.contract-field-label {
  font-family: 'Rajdhani', sans-serif; font-size: 10px;
  font-weight: 600; letter-spacing: 1.5px; color: var(--text-dim); margin-bottom: 3px;
}
.contract-field-value {
  font-family: 'Share Tech Mono', monospace; font-size: 18px;
  color: var(--text-bright); letter-spacing: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.contract-field-desc { font-size: 11px; color: var(--text); white-space: normal; line-height: 1.5; }
.btn-contract-copy {
  flex-shrink: 0; font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 6px 12px; background: rgba(180,60,50,0.08);
  border: 1px solid rgba(180,60,50,0.22); border-radius: 5px;
  color: var(--red-muted); cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.btn-contract-copy:hover {
  background: rgba(180,60,50,0.16);
  border-color: rgba(180,60,50,0.4);
  color: var(--red-bright);
}
.btn-contract-copy.copied {
  background: rgba(39,174,96,0.1);
  border-color: rgba(39,174,96,0.35);
  color: var(--green-bright);
}
.contract-helper-note { font-size: 10px; color: var(--text-dim); margin-top: 8px; line-height: 1.5; }
.contract-name-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--border); color: var(--text-bright);
  font-family: 'Share Tech Mono', monospace; font-size: 15px;
  padding: 2px 0 3px; outline: none; margin-top: 2px; transition: border-color 0.2s;
}
.contract-name-input:focus { border-bottom-color: var(--red-dim); }

/* ── SPREAD BADGE ── */
.spread-badge {
  display: inline-block; font-size: 9px;
  font-family: 'Share Tech Mono', monospace;
  padding: 1px 5px; border-radius: 3px; margin-left: 6px;
  vertical-align: middle; cursor: help; font-weight: 600;
}
.spread-high   { background: rgba(192,57,43,0.15);  border: 1px solid rgba(192,57,43,0.4);  color: var(--red-muted); }
.spread-medium { background: rgba(210,120,30,0.15); border: 1px solid rgba(210,120,30,0.4); color: #c07828; }
.spread-low    { background: rgba(200,180,20,0.12); border: 1px solid rgba(200,180,20,0.35);color: #a09010; }
:root[data-theme="light"] .spread-medium { color: #9a5c10; }
:root[data-theme="light"] .spread-low    { color: #807010; }

/* ── WARNING PANEL ── */
.warn-panel {
  background: var(--red-subtle);
  border: 1px solid rgba(180,60,50,0.18);
  border-radius: 8px; margin-bottom: 1rem; overflow: hidden;
}
.warn-panel-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(180,60,50,0.06);
  border-bottom: 1px solid rgba(180,60,50,0.1);
}
.warn-panel-icon { font-size: 14px; }
.warn-panel-title {
  font-family: 'Rajdhani', sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 0.06em; color: var(--text); flex: 1;
}
.warn-toggle-btn {
  background: transparent; border: 1px solid rgba(180,60,50,0.25);
  color: var(--red-muted); font-size: 10px;
  font-family: 'Share Tech Mono', monospace;
  padding: 2px 8px; border-radius: 3px; cursor: pointer; transition: all 0.15s;
}
.warn-toggle-btn:hover { border-color: rgba(180,60,50,0.5); color: var(--red-dim); }
.warn-panel-body { padding: 0.75rem 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.warn-block { border-radius: 6px; overflow: hidden; }
.warn-noprice   { background: rgba(192,57,43,0.06);  border: 1px solid rgba(192,57,43,0.18); }
.warn-notlisted { background: rgba(100,100,100,0.05); border: 1px solid rgba(120,120,120,0.18); }
.warn-minval    { background: rgba(200,180,20,0.04);  border: 1px solid rgba(200,180,20,0.18); }
.warn-spread    { background: rgba(210,120,30,0.05);  border: 1px solid rgba(210,120,30,0.18); }
.warn-title {
  padding: 0.45rem 0.75rem;
  font-family: 'Rajdhani', sans-serif; font-size: 12px;
  font-weight: 700; letter-spacing: 0.05em; color: var(--text-bright);
}
.warn-noprice  .warn-title { background: rgba(192,57,43,0.1); }
.warn-notlisted .warn-title { background: rgba(100,100,100,0.08); }
.warn-minval   .warn-title { background: rgba(200,180,20,0.07); }
.warn-spread   .warn-title { background: rgba(210,120,30,0.09); }
.warn-body { padding: 0.5rem 0.75rem 0.65rem; font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.warn-body p { margin-bottom: 0.4rem; }
.warn-body strong { color: var(--text); }
.warn-body a { color: var(--red-muted); text-decoration: none; }
.warn-list { list-style: none; margin: 0.35rem 0; display: flex; flex-direction: column; gap: 2px; }
.warn-list li { display: flex; align-items: baseline; gap: 0.4rem; padding: 2px 0; }
.warn-item-name { font-family: 'Share Tech Mono', monospace; font-size: 11px; color: var(--text-bright); }
.warn-qty { font-size: 11px; color: var(--text-dim); }
.warn-tip {
  margin-top: 0.5rem !important; font-size: 11px; color: var(--text-dim);
  padding: 0.3rem 0.5rem;
  background: rgba(180,60,50,0.04);
  border-left: 2px solid rgba(180,60,50,0.22);
  border-radius: 0 3px 3px 0;
}
.warn-tip em { color: var(--red-muted); font-style: normal; }
.spread-detail { font-size: 11px; color: var(--text-dim); margin-left: 4px; }

/* ── BROKE NOTIF ── */
.broke-notif {
  margin-top: 1rem; padding: 0.65rem 0.85rem; border-radius: 8px;
  background: linear-gradient(135deg, rgba(192,57,43,0.08), rgba(100,20,15,0.08));
  border: 1px solid rgba(180,60,50,0.22);
  font-size: 12px; color: var(--text); text-align: center;
  line-height: 1.5; animation: brokeIn 0.4s ease;
}
@keyframes brokeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ── RATE INFO ── */
.rate-info-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; border-bottom: 1px solid rgba(180,60,50,0.07); gap: 0.5rem;
}
.rate-info-loc { font-size: 12px; color: var(--text); line-height: 1.4; }
.rate-info-subloc { font-size: 10px; color: var(--text-dim); display: block; margin-top: 1px; }
.rate-info-rate {
  font-family: 'Share Tech Mono', monospace; font-size: 18px;
  font-weight: 700; white-space: nowrap; letter-spacing: 0.02em; flex-shrink: 0;
}
.rate-red   { color: var(--red-muted); }
.rate-white { color: var(--white-dim); }
.rate-gold  { color: var(--gold-b); }
:root[data-theme="light"] .rate-white { color: #505050; }

/* ── BPO PANEL ── */
.bpo-panel { border-color: rgba(120,80,180,0.18) !important; background: rgba(120,80,180,0.02) !important; }
.bpo-panel .panel-body { padding: 0.85rem 1rem; }
.bpo-header { font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--text-bright); margin-bottom: 0.55rem; }
.bpo-body { font-size: 12px; color: var(--text-dim); line-height: 1.6; margin-bottom: 0.4rem; }
.bpo-body strong { color: var(--text); }
.bpo-sedekah {
  display: inline-block; background: rgba(120,80,180,0.12);
  border: 1px solid rgba(120,80,180,0.25); color: #a070d0;
  border-radius: 4px; padding: 1px 7px; font-size: 11px; font-weight: 600;
}
.bpo-tip { margin-top: 0.5rem; font-size: 11px; color: var(--text-dim); padding: 0.3rem 0.5rem; background: rgba(120,80,180,0.05); border-left: 2px solid rgba(120,80,180,0.25); border-radius: 0 3px 3px 0; }
.bpo-tip a { color: #a070d0; text-decoration: none; }

/* ── FOOTER ── */
.footer { text-align: center; padding: 20px 16px 14px; margin-top: 24px; }
.footer-inner {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 40px;
  backdrop-filter: blur(8px);
}
.footer-icon { font-size: 0.9rem; animation: footer-bob 3s ease-in-out infinite; }
.footer-text {
  font-size: 0.72rem; color: var(--text2); letter-spacing: 0.03em;
  background: linear-gradient(90deg, var(--red-muted), var(--white-dim), var(--red-muted));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200%; animation: shimmer 4s linear infinite;
}
@keyframes footer-bob { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-2px) rotate(5deg); } }
@keyframes shimmer   { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.divider { border: none; border-top: 1px solid var(--border); margin: 0.75rem 0; }
.has-tooltip { cursor: help; }
