/* ==========================================================================
   Agenpanel — design tokens
   Apple-ish: near-white canvas, hairline borders, soft depth, tight type,
   one accent, generous space, restrained motion.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --surface-3: #ececef;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #8e8e93;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.1);
  --green: #1d9a4b;
  --green-soft: rgba(48, 209, 88, 0.14);
  --amber: #b26a00;
  --amber-soft: rgba(255, 159, 10, 0.16);
  --red: #d70015;
  --red-soft: rgba(255, 69, 58, 0.14);
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-1: 0 1px 1px rgba(0, 0, 0, 0.03), 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-2: 0 24px 60px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --sidebar-w: 252px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-elevated: #1c1c1e;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --surface-3: #3a3a3c;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #8e8e93;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #0a84ff;
  --accent-hover: #409cff;
  --accent-soft: rgba(10, 132, 255, 0.16);
  --green: #30d158;
  --green-soft: rgba(48, 209, 88, 0.16);
  --amber: #ffd60a;
  --amber-soft: rgba(255, 214, 10, 0.14);
  --red: #ff453a;
  --red-soft: rgba(255, 69, 58, 0.16);
  --shadow-1: 0 1px 1px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-2: 0 30px 80px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
}

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--accent); text-decoration: none; }

::selection { background: rgba(0, 113, 227, 0.22); }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-soft);
  border-color: var(--accent) !important;
}

/* ---------- shell ------------------------------------------------------- */

.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 18px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2b2b2e, #0a0a0b);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 6px rgba(0, 0, 0, 0.25);
  flex: none;
}

[data-theme="dark"] .brand-mark { background: linear-gradient(160deg, #f5f5f7, #d8d8dc); color: #111; }

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-section {
  padding: 14px 12px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: background 160ms var(--ease), color 160ms var(--ease);
  cursor: pointer;
  user-select: none;
}

.nav-item svg { width: 17px; height: 17px; flex: none; opacity: 0.85; }

.nav-item:hover { background: var(--surface-2); color: var(--text); }

.nav-item.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-1);
}

[data-theme="dark"] .nav-item.active { background: var(--surface-2); box-shadow: none; }

.nav-item.soon { opacity: 0.38; cursor: default; }
.nav-item.soon:hover { background: none; color: var(--text-2); }

.nav-item .tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 1px 6px;
}

.sidebar-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

.account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 160ms var(--ease);
  cursor: pointer;
}

.account:hover { background: var(--surface-2); }

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #6e6e73, #1d1d1f);
  letter-spacing: 0;
}

[data-theme="dark"] .avatar { background: linear-gradient(145deg, #8e8e93, #3a3a3c); }

.account-meta { min-width: 0; }
.account-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.account-role { font-size: 11.5px; color: var(--text-3); text-transform: capitalize; }

.icon-btn {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--text-3);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 140ms var(--ease), color 140ms var(--ease);
}

.icon-btn:hover { background: var(--surface-3); color: var(--text); }

/* ---------- topbar / page ---------------------------------------------- */

.main { min-width: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 40px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.topbar-title { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.topbar-title h1 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.025em; }
.topbar-title p { margin: 0; font-size: 12.5px; color: var(--text-3); }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.page {
  max-width: 1240px;
  padding: 34px 40px 64px;
  margin: 0 auto;
}

.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.page-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.page-head p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }
.page-head .spacer { flex: 1; }

/* ---------- buttons ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 140ms var(--ease), background 140ms var(--ease), border-color 140ms var(--ease);
  white-space: nowrap;
}

.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(0.975); }

.btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover { background: var(--accent-hover); }
.btn svg { width: 15px; height: 15px; }

/* ---------- cards / stats ---------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.stat {
  padding: 18px 20px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

.stat-label svg { width: 14px; height: 14px; flex: none; opacity: 0.7; }

.stat-value {
  margin-top: 10px;
  font-size: 38px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.stat-foot { margin-top: 8px; font-size: 12px; color: var(--text-3); }
.stat-foot .up { color: var(--green); font-weight: 500; }
.stat-foot.warn { color: var(--amber); font-weight: 500; }

.cols {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 1080px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.card-head h3 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.card-head .meta { margin-left: auto; font-size: 12px; color: var(--text-3); }
.card-body { padding: 6px 8px 8px; }
.card-body.flush { padding: 0; }

/* ---------- list rows --------------------------------------------------- */

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  transition: background 140ms var(--ease);
  cursor: pointer;
}

.row:hover { background: var(--surface-2); }
.row + .row { box-shadow: inset 0 1px 0 var(--line); border-radius: 0; }
.row + .row:hover { border-radius: 12px; box-shadow: none; }

.row-main { min-width: 0; flex: 1; }
.row-title { font-size: 13.5px; font-weight: 550; letter-spacing: -0.005em; display: flex; align-items: center; gap: 8px; }
.row-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; }
.row-right { display: flex; align-items: center; gap: 10px; flex: none; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--text-3);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--text-3) 14%, transparent);
}
.dot.ok { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.dot.bad { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.dot.warn { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }

/* ---------- pills / badges --------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: 0.005em;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid transparent;
  white-space: nowrap;
}

.pill.ok { background: var(--green-soft); color: var(--green); }
.pill.warn { background: var(--amber-soft); color: var(--amber); }
.pill.bad { background: var(--red-soft); color: var(--red); }
.pill.info { background: var(--accent-soft); color: var(--accent); }
.pill.outline { background: transparent; border-color: var(--line); color: var(--text-3); }

/* ---------- table ------------------------------------------------------- */

.table-wrap { overflow: hidden; border-radius: var(--radius-lg); }

table { width: 100%; border-collapse: collapse; }

th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
}

td {
  padding: 14px 20px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

tbody tr { transition: background 140ms var(--ease); cursor: pointer; }
tbody tr:hover { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }

.cell-title { font-weight: 550; letter-spacing: -0.005em; }
.cell-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.mono { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- empty / loading -------------------------------------------- */

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 38px 20px;
  text-align: center;
  color: var(--text-3);
}

.empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--text-3);
  margin-bottom: 4px;
}

.empty strong { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.empty span { font-size: 12.5px; max-width: 320px; }

.skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- sheet (detail drawer) -------------------------------------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease);
  z-index: 60;
}

.overlay.open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(560px, 94vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  transform: translateX(102%);
  transition: transform 320ms var(--ease);
  z-index: 61;
  display: flex;
  flex-direction: column;
}

.sheet.open { transform: translateX(0); }

.sheet-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.sheet-head h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.sheet-head p { margin: 3px 0 0; font-size: 12.5px; color: var(--text-3); }
.sheet-body { padding: 18px 24px 28px; overflow: auto; flex: 1; }
.sheet-close { margin-left: auto; }

.kv { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; word-break: break-word; }

.section-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 22px 0 10px;
}
.section-title:first-child { margin-top: 4px; }

/* ---------- login ------------------------------------------------------- */

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.login-wrap::before,
.login-wrap::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.login-wrap::before { background: radial-gradient(circle at 30% 30%, #7ab8ff, transparent 62%); top: -220px; left: -180px; }
.login-wrap::after { background: radial-gradient(circle at 70% 70%, #b9a7ff, transparent 62%); bottom: -240px; right: -160px; }

[data-theme="dark"] .login-wrap::before { opacity: 0.28; }
[data-theme="dark"] .login-wrap::after { opacity: 0.22; }

.login-card {
  position: relative;
  width: min(424px, 100%);
  padding: 38px 38px 30px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  animation: rise 620ms var(--ease) both;
}

.login-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2b2b2e, #0a0a0b);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

[data-theme="dark"] .login-mark { background: linear-gradient(160deg, #f5f5f7, #d8d8dc); color: #111; }

.login-card h1 { margin: 0; font-size: 27px; font-weight: 600; letter-spacing: -0.035em; }
.login-card .lead { margin: 6px 0 26px; color: var(--text-2); font-size: 13.5px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 550; color: var(--text-2); }

.input {
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0 13px;
  font-size: 14px;
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}

.input::placeholder { color: var(--text-3); }

.btn-block { width: 100%; height: 42px; justify-content: center; font-size: 14px; margin-top: 6px; }

.form-error {
  display: none;
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12.5px;
  font-weight: 500;
}

.form-error.show { display: block; animation: shake 320ms var(--ease); }

.login-foot { margin-top: 22px; text-align: center; font-size: 11.5px; color: var(--text-3); }

/* ---------- motion ------------------------------------------------------ */

.reveal { animation: rise 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px) scale(0.995); }
  to { opacity: 1; transform: none; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- responsive -------------------------------------------------- */

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-value { font-size: 30px; }
  .page-head { flex-wrap: wrap; }
  .page-head .spacer { flex-basis: 100%; }
  .page-head #search { width: 100% !important; }
  .row { flex-wrap: wrap; align-items: flex-start; }
  .row-main { flex: 1 1 calc(100% - 22px); }
  .row-right { flex: 0 0 auto; margin-left: 20px; }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-w);
    transform: translateX(-102%);
    transition: transform 260ms var(--ease);
    background: var(--bg-elevated);
  }
  .sidebar.open { transform: none; box-shadow: var(--shadow-2); }
  .topbar, .page { padding-left: 20px; padding-right: 20px; }
  .page-head h2 { font-size: 26px; }
  .mobile-only { display: grid !important; }
}

.mobile-only { display: none; }

/* ---------- forms / inspector (F2) -------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; }

.form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.form-row label { font-size: 12px; font-weight: 550; color: var(--text-2); }
.form-row .hint { font-size: 11.5px; color: var(--text-3); }

.select {
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0 10px;
  font-size: 13px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; font-size: 13px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track {
  width: 40px; height: 24px; border-radius: 99px; background: var(--surface-3);
  position: relative; transition: background 180ms var(--ease); flex: none;
}
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform 180ms var(--ease);
}
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(16px); }

.code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  background: var(--surface-2);
  border-radius: 6px;
  padding: 2px 6px;
  word-break: break-all;
}

.result { padding: 11px 13px; border-radius: 12px; font-size: 12.5px; margin-top: 12px; line-height: 1.5; }
.result.ok { background: var(--green-soft); color: var(--green); }
.result.bad { background: var(--red-soft); color: var(--red); }
.result.warn { background: var(--amber-soft); color: var(--amber); }
.result ul { margin: 6px 0 0; padding-left: 18px; }

.drop {
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  color: var(--text-3);
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.stat-inline { display: flex; gap: 22px; margin: 14px 0 4px; }
.stat-inline div { display: flex; flex-direction: column; gap: 2px; }
.stat-inline b { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-inline span { font-size: 11.5px; color: var(--text-3); }


/* ---------- tombol tiket terpilih --------------------------------------- */
.btn.added {
  background: var(--green-soft);
  border-color: transparent;
  color: var(--green);
  font-weight: 600;
}
.btn.added:hover { background: var(--green-soft); }
