:root {
  --bg: #000;
  --text: #fff;
  --secondary: rgba(235,235,245,0.6);
  --tertiary: rgba(235,235,245,0.3);
  --sep: rgba(84,84,88,0.55);
  --card: #1c1c1e;
  --card2: #2c2c2e;
  --green: #00d35a;
  --red: #ff453a;
  --orange: #ff9f0a;
  --cyan: #64d2ff;
  --blue: #0a84ff;
  --yellow: #ffd60a;
  --pink: #ff6b9a;
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.3;
  padding-top: var(--safe-top);
  padding-bottom: calc(56px + var(--safe-bottom));
}
.tabular { font-variant-numeric: tabular-nums; }
.big { font-family: -apple-system, "SF Pro Display", system-ui, sans-serif; font-size: 64px; font-weight: 600; letter-spacing: -1px; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill-paper { background: var(--orange); color: #000; }
.pill-green { background: var(--green); color: #000; }
.card {
  background: var(--card);
  border-radius: 22px;
  padding: 16px;
  margin: 8px 16px;
}
.loading { background: var(--card); opacity: 0.6; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: 1; } }
#tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(56px + var(--safe-bottom));
  background: rgba(28,28,30,0.85);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 8px;
  border-top: 0.5px solid var(--sep);
}
.tab { flex: 1; text-align: center; font-size: 10px; color: var(--secondary); padding: 4px 0; }
.tab.active { color: var(--text); }
.btn {
  display: block;
  width: calc(100% - 32px);
  margin: 16px;
  height: 50px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  font-size: 17px;
  font-weight: 600;
}
.row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 0.5px solid var(--sep); }
.agent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 6px; }
