:root{
  --bg:#f6f8fc;
  --card:#ffffff;
  --bd:#e6ecf5;
  --text:#0f172a;
  --muted:#64748b;
  --accent:#7c3aed;
  --accent2:#a78bfa;
  --shadow:0 10px 26px rgba(15,23,42,.08);
  --radius:16px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


/*  Dark theme  */
[data-theme="dark"]{
  --bg:#0f1117;
  --card:#1a1d27;
  --bd:#2a2d3a;
  --text:#e2e8f0;
  --muted:#94a3b8;
  --accent:#a78bfa;
  --accent2:#7c3aed;
  --shadow:0 10px 26px rgba(0,0,0,.35);
}
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea{
  background:#1e2130;
  color:#e2e8f0;
  border-color:#2a2d3a;
}
[data-theme="dark"] .btn,
[data-theme="dark"] .btnSmall{
  background:#1e2130;
  color:#e2e8f0;
}
[data-theme="dark"] .btnSmall.primary{
  background:rgba(167,139,250,.12);
  border-color:rgba(167,139,250,.30);
  color:var(--accent);
}
[data-theme="dark"] .btnSmall.primary:hover{
  background:rgba(167,139,250,.20);
  border-color:rgba(167,139,250,.5);
}
[data-theme="dark"] .resultBtn{
  background:#1e2130;
  color:#e2e8f0;
}
[data-theme="dark"] .toggleTrack{
  background:#1e2130;
}
[data-theme="dark"] .toggleTrack::after{
  background:#2a2d3a;
}
[data-theme="dark"] img{
  opacity:.92;
}
/* Theme toggle button */
.themeToggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:10px;
  border:1px solid var(--bd);background:var(--card);
  cursor:pointer;font-size:18px;line-height:1;
  color:var(--muted);transition:border-color .15s;
}
.themeToggle:hover{border-color:rgba(124,58,237,.35);}

*{box-sizing:border-box;}
body{
  margin:0;
  font-family:var(--sans);
  background: var(--bg);
  color:var(--text);
}
.wrap{max-width:1200px;margin:0 auto;padding:22px;}
.topbar{
  display:flex;justify-content:space-between;align-items:flex-start;gap:16px;
  margin-bottom:14px;
}
h1{margin:0;font-size:22px;}
h1 a{text-decoration:none;}
.topbarLogoImg{height:95px;width:auto;vertical-align:middle;margin:-33px 0;}
.topbarTitle{vertical-align:middle;}
.sub{margin-top:6px;color:var(--muted);font-size:13px;}
.right{display:flex;gap:10px;align-items:center;}
.pill{
  display:flex;align-items:center;gap:8px;
  padding:8px 10px;border:1px solid var(--bd);
  border-radius:999px;background:var(--card);box-shadow:var(--shadow);
  font-size:12px;color:var(--muted);
}
.dot{width:10px;height:10px;border-radius:999px;background:#ef4444;}
.dot.ok{background:#22c55e;}

.tabs{display:flex;gap:8px;margin:10px 0 16px;}
.tab{
  border:1px solid var(--bd);
  background:var(--card);
  padding:10px 14px;border-radius:12px;
  cursor:pointer;font-weight:700;color:var(--text);
}
.tab.active{border-color:rgba(124,58,237,.35);background:rgba(124,58,237,.08);}

.subtabs{display:flex;gap:8px;margin:4px 0 14px;}
.subtab{
  border:1px solid var(--bd);
  background:var(--card);
  padding:9px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  color:var(--text);
}
.subtab.active{border-color:rgba(124,58,237,.35);background:rgba(124,58,237,.08);}

.thSort{cursor:pointer;user-select:none;}
.thSort:hover{background:rgba(124,58,237,.06);}

.stack{display:flex;flex-direction:column;gap:12px;}
.miniHd{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;}
.miniTitle{font-weight:950;}
.btnSmall{border:1px solid var(--bd);background:#fff;padding:6px 10px;border-radius:10px;cursor:pointer;font-weight:900;}
.btnSmall:hover{border-color:rgba(124,58,237,.35);}
.btnSmall.primary{background:rgba(124,58,237,.10);border-color:rgba(124,58,237,.35);color:var(--accent);}
.btnSmall.primary:hover{background:rgba(124,58,237,.18);border-color:rgba(124,58,237,.5);}
.btnSmall.danger{border-color:rgba(239,68,68,.35);color:#ef4444;}
.btnSmall.danger:hover{border-color:#ef4444;background:rgba(239,68,68,.06);}

.searchPanel{border:1px solid var(--bd);border-radius:14px;padding:10px 10px;background:var(--card);}
.searchResults{margin-top:8px;display:flex;flex-direction:column;gap:6px;max-height:220px;overflow:auto;}
.resultBtn{width:100%;text-align:left;border:1px solid var(--bd);background:#fff;border-radius:12px;padding:8px 10px;cursor:pointer;}
.resultBtn:hover{border-color:rgba(124,58,237,.35);}

.page.hidden{display:none;}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
@media(max-width:980px){.grid2{grid-template-columns:1fr;}}

.card{
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  margin-bottom:14px;
}
.cardHd{
  display:flex;justify-content:space-between;align-items:center;
  padding:12px 14px;
  border-bottom:1px solid var(--bd);
}
.cardTitle{font-weight:900;}
.cardBd{padding:14px;}

.segToggle{
  display:inline-flex;
  border:1px solid var(--bd);
  border-radius:12px;
  overflow:hidden;
  background:var(--card);
}
.segBtn{
  border:0;
  background:transparent;
  padding:9px 10px;
  cursor:pointer;
  font-weight:800;
  color:var(--muted);
  line-height:1;
}
.segBtn + .segBtn{border-left:1px solid var(--bd);}
.segBtn.active{background:rgba(124,58,237,.18);color:inherit;}
.segBtn:focus{outline:none;}

.toggleSwitch{display:inline-flex;align-items:center;user-select:none;}
.toggleSwitch input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden;}
.toggleTrack{width:44px;height:24px;border-radius:999px;border:1px solid var(--bd);background:#fff;position:relative;cursor:pointer;}
.toggleTrack::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:999px;background:#fff;border:1px solid var(--bd);transition:transform .15s ease;}
.toggleSwitch input:checked + .toggleTrack{background:rgba(124,58,237,.18);border-color:rgba(124,58,237,.35);}
.toggleSwitch input:checked + .toggleTrack::after{transform:translateX(20px);border-color:rgba(124,58,237,.35);}

.row{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;}
.field{flex:1;min-width:180px;}
.field.small{min-width:140px;max-width:220px;}
.btnCol{flex:0;min-width:auto;}
label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px;}
input,select{
  width:100%;
  border:1px solid var(--bd);
  border-radius:12px;
  padding:10px 10px;
  background:#fff;
  outline:none;
}
input:focus,select:focus{border-color:rgba(124,58,237,.45);box-shadow:0 0 0 3px rgba(124,58,237,.12);}

.btn{
  border:1px solid var(--bd);
  background:#fff;
  padding:10px 12px;border-radius:12px;
  cursor:pointer;font-weight:800;
}
.btn.primary{
  background:rgba(124,58,237,.10);
  border-color:rgba(124,58,237,.35);
}
.btn.danger{
  border-color:rgba(239,68,68,.35);
  color:#ef4444;
}
.btn.danger:hover{
  border-color:#ef4444;
  background:rgba(239,68,68,.06);
}
.btn:hover{border-color:rgba(124,58,237,.35);}

.tableWrap{margin-top:12px;}
.tableTitle{font-weight:900;margin-bottom:8px;}
.tbl{width:100%;border-collapse:collapse;}
.tbl th,.tbl td{
  padding:10px 8px;
  border-bottom:1px solid var(--bd);
  text-align:left;
  font-size:13px;
}
.tbl th{color:var(--muted);font-weight:900;}
.mono{font-family:var(--mono);}
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:54px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--bd);
  background:var(--card);
  font-weight:950;
  font-size:12px;
  letter-spacing:.02em;
  white-space:nowrap;
}
.badge.mark{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.10);color:#16a34a;}
.badge.foul{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.10);color:#dc2626;}
.badge.pass{border-color:rgba(100,116,139,.35);background:rgba(100,116,139,.08);color:var(--muted);}
.badge.none{color:var(--muted);}

.tr-clickable{cursor:pointer;}
.tr-clickable:hover td{background:rgba(124,58,237,.06);}
.tr-active td{background:rgba(124,58,237,.10);}
.muted{color:var(--muted);}
.hint{margin-top:8px;color:var(--muted);font-size:12px;}

.dragRow{cursor:grab;}
.dragRow:active{cursor:grabbing;}
.dragHandle{font-family:var(--mono); color:var(--muted);}

.modalBackdrop{
  position:fixed;inset:0;background:rgba(15,23,42,.25);
  display:flex;align-items:center;justify-content:center;padding:18px;
}
.modal{
  width:min(680px, 96vw);
  max-height:calc(100vh - 36px);
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:18px;
  box-shadow:0 20px 50px rgba(15,23,42,.20);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.modalHd{
  padding:12px 14px;border-bottom:1px solid var(--bd);
  display:flex;justify-content:space-between;align-items:flex-start;gap:10px;
}
.modalHdRight{display:flex;align-items:center;gap:10px;}
.modalTitle{font-weight:950;}
.modalBd{padding:14px;overflow:auto;flex:1 1 auto;}
.timerPill{
  border:1px solid rgba(124,58,237,.35);
  background:rgba(124,58,237,.10);
  border-radius:999px;
  padding:8px 10px;
  min-width:72px;
  text-align:center;
  cursor:pointer;
  font-weight:950;
  font-family:var(--mono);
}
.timerPill:hover{border-color:rgba(124,58,237,.45);}
.iconBtn{
  border:1px solid var(--bd);background:#fff;border-radius:12px;
  padding:8px 10px;cursor:pointer;font-weight:900;
}
.vAttemptTop{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
}
.vAttemptAthlete{
  font-weight:950;
  font-size:22px;
  line-height:1.1;
}
.vAttemptHeight{
  text-align:right;
}
.vAttemptPrimary{
  font-family:var(--mono);
  font-weight:950;
  font-size:32px;
  line-height:1.05;
}
.vAttemptSecondary{
  margin-top:6px;
  font-family:var(--mono);
  color:var(--muted);
  font-weight:900;
}
.vAttemptBtns{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
}
.vResBtn{
  border:1px solid var(--bd);
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  padding:18px 10px;
  font-family:var(--mono);
  font-weight:950;
  font-size:64px;
  line-height:1;
}
.vResBtn.isSelected{border-color:rgba(124,58,237,.45);box-shadow:0 0 0 3px rgba(124,58,237,.14);}
.vResBtn:hover{border-color:rgba(124,58,237,.35);}
.vResO{border-color:rgba(34,197,94,.35); background:rgba(34,197,94,.10); color:#16a34a;}
.vResX{border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.10); color:#dc2626;}
.vResP{border-color:rgba(100,116,139,.35); background:rgba(100,116,139,.08); color:var(--text);}
.rightRow{justify-content:flex-end;}
.hidden{display:none !important;}

.meetLogoRow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.meetLogoImg{width:72px;height:72px;border-radius:16px;border:1px solid var(--bd);background:var(--card);object-fit:contain;box-shadow:var(--shadow);}

/* Attempts coloring */
.clickRow.isFoul td{
  background: rgba(239, 68, 68, .10);
}
.clickRow.isMark td{
  background: rgba(34, 197, 94, .10);
}
.clickRow.isRetired td{
  background:rgba(100,116,139,.08);
  color:var(--muted);
}

/* Run page bottom nav */
.bottomNav{
  position:sticky;
  bottom:0;
  margin-top:14px;
  padding:12px 0 0;
}
.bottomNavInner{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* Check-in status button */
.checkBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  padding:6px 10px;
  border:1px solid var(--bd);
  background:#fff;
  border-radius:10px;
  cursor:pointer;
  font-weight:950;
}
.checkBtn.ok{ color:#22c55e; }
.checkBtn.dns{ color:#ef4444; }

/* Entries drag-reorder */
.entryDragRow{ cursor:grab; }
.entryDragRow.dragging{ opacity:.5; }
.entryDragRow.isLocked{ cursor:default; }
.entryDragRow.breakModeRow{ cursor:default; }
.lockBadge{ display:inline-block; margin-left:10px; color:var(--muted); font-weight:900; font-size:12px; }
.dragHandle{
  display:inline-block;
  width:18px;
  text-align:center;
  color:var(--muted);
  user-select:none;
}

/* Flight break toggle */
.flightBreakToggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  cursor:pointer;
  user-select:none;
  color:var(--muted);
}
.flightBreakToggle input[type="checkbox"]{ cursor:pointer; accent-color:#ef4444; }

/* Flight break row (red separator) */
.flightBreakRow{
  cursor:grab;
  user-select:none;
}
.flightBreakRow.breakDragging{ opacity:.5; }
.flightBreakLine{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2px 0;
  position:relative;
}
.flightBreakLine::before{
  content:"";
  position:absolute;
  left:0; right:0; top:50%;
  border-top:2px dashed #ef4444;
}
.flightBreakLabel{
  position:relative;
  z-index:1;
  background:var(--bg, #fff);
  padding:0 12px;
  font-size:12px;
  font-weight:800;
  color:#ef4444;
  letter-spacing:.5px;
  white-space:nowrap;
}

/* Run landing: status indicator */
.statusPill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid var(--bd);
  border-radius:999px;
  background:var(--card);
  font-size:12px;
  font-weight:900;
}
.statusDot{width:10px;height:10px;border-radius:999px;background:var(--bd);}
.statusPill.live{border-color:rgba(239,68,68,.25);}
.statusPill.live .statusDot{background:#ef4444; animation: statusBlink 1.1s infinite;}
.statusPill.live .statusText{color:#ef4444; animation: statusBlink 1.1s infinite;}
.statusPill.done{border-color:rgba(34,197,94,.25);}
.statusPill.done .statusDot{background:#22c55e;}
.statusPill.done .statusText{color:#22c55e;}
.statusPill.idle .statusDot{background:var(--muted);}
.statusPill.idle .statusText{color:var(--muted);}

/* Easy Mode (Run page) */
#easySheetTable{ border:1px solid var(--bd); }
#easySheetTable th, #easySheetTable td{ border-right:1px solid var(--bd); }
#easySheetTable tr > :first-child{ border-left:1px solid var(--bd); }
#easySheetTable thead th{ border-top:1px solid var(--bd); }

#easySheetTable td.easyAthleteCell{ cursor:pointer; }
#easySheetTable td.easyAttemptCell{ cursor:pointer; text-align:center; font-weight:900; }

/* Easy Mode vertical: opening height picker (in athlete cell) */
#easySheetTable .easyOpenHeightRow{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
}
#easySheetTable .easyOpenHeightSel{
  width:auto;
  padding:4px 8px;
  border-radius:10px;
  font-size:11px;
  font-weight:900;
}
#easySheetTable td.easyAthleteCell .easyOpenHeightSel{ cursor:pointer; }

/* Easy vertical sheet (HJ/PV) */
#easySheetTable th.easyVHeightTh{ cursor:pointer; user-select:none; }
#easySheetTable th.easyVHeightTh.empty{ background:rgba(100,116,139,.06); }

#easySheetTable .easyJoTag{
  color:var(--danger);
  font-weight:950;
  margin-left:6px;
}

#easySheetTable td.easyVCell{ cursor:pointer; }
#easySheetTable td.easyVCell{ white-space:nowrap; }
#easySheetTable td.easyVCell .easyVAttRow{
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  gap:4px;
}
#easySheetTable td.easyVCell .easyVEntering{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  line-height:1.1;
}
#easySheetTable td.easyVCell .easyVAtt{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  padding:2px 0;
  border:1px solid var(--bd);
  border-radius:10px;
  cursor:default;
  font-weight:950;
  font-family:var(--mono);
  pointer-events:none;
}

/* Circle the best mark (paper-style) */
#easySheetTable .easyCellText{
  display:inline-block;
  line-height:1.15;
}
#easySheetTable .easyBestCircle{
  padding:2px 10px;
  border:2px solid var(--text);
  border-radius:999px;
}

/* Attempt status tints (editable cells only) */
#easySheetTable td.easyAttemptCell.isFoul:not(.disabled){
  background: rgba(239, 68, 68, .10);
}
#easySheetTable td.easyAttemptCell.isMark:not(.disabled){
  background: rgba(124,58,237, .10);
}

/* Non-interactable / paper-ish shaded cells */
#easySheetTable td.easyUneditableCell,
#easySheetTable td.easyAttemptCell.disabled{
  background:rgba(100,116,139,.08);
}

#easySheetTable td.easyAttemptCell.disabled{ cursor:default; color:var(--muted); font-weight:800; }

/* Retired: show as fully non-interactive (all cells) */
#easySheetTable tr.easyRetiredRow td{
  background:rgba(100,116,139,.08);
  color:var(--muted);
  cursor:default;
}

#easySheetTable tr.easyRetiredRow td:hover{
  box-shadow:none;
}

/* Make clickable cells feel clickable */
#easySheetTable td.easyAthleteCell:hover,
#easySheetTable td.easyAttemptCell:not(.disabled):hover{
  box-shadow: inset 0 0 0 2px rgba(124,58,237,.25);
}

#easySheetTable tr.easyDnsRow td{ opacity:.55; }

@keyframes statusBlink{
  0%{opacity:1;}
  50%{opacity:.25;}
  100%{opacity:1;}
}

/* ── Meet Switcher ────────────────────────────── */
.meetSwitcher{position:relative;}
.meetSwitcherBtn{
  display:flex;align-items:center;gap:6px;
  padding:7px 12px;
  border:1px solid var(--bd);border-radius:999px;
  background:var(--card);box-shadow:var(--shadow);
  font-size:13px;font-weight:600;color:var(--text);
  cursor:pointer;white-space:nowrap;
  max-width:220px;
}
.meetSwitcherBtn:hover{border-color:var(--accent2);}
.meetSwitcherBtn span:first-child{overflow:hidden;text-overflow:ellipsis;}
.meetSwitcherArrow{font-size:10px;color:var(--muted);flex-shrink:0;}
.meetSwitcherDrop{
  position:absolute;top:calc(100% + 6px);right:0;z-index:100;
  min-width:260px;max-width:340px;
  border:1px solid var(--bd);border-radius:var(--radius);
  background:var(--card);box-shadow:var(--shadow);
  overflow:hidden;
}
.meetSwitcherDrop.hidden{display:none;}
.meetSwitcherList{max-height:240px;overflow-y:auto;padding:6px 0;}
.meetSwitcherItem{
  display:flex;align-items:center;gap:8px;
  padding:9px 14px;cursor:pointer;
  font-size:13px;color:var(--text);
  border:none;background:none;width:100%;text-align:left;
}
.meetSwitcherItem:hover{background:rgba(124,58,237,.06);}
.meetSwitcherItem.active{background:rgba(124,58,237,.10);font-weight:700;}
.meetSwitcherItem .msName{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.meetSwitcherItem .msCode{font-size:11px;color:var(--muted);font-family:var(--mono);}
.meetSwitcherItem .msPub{font-size:10px;font-weight:700;padding:2px 7px;border-radius:999px;flex-shrink:0;}
.msPubLive{background:rgba(34,197,94,.12);color:#16a34a;}
.msPubDraft{background:rgba(100,116,139,.10);color:#64748b;}
.meetSwitcherNew{
  display:flex;gap:6px;padding:8px 10px;
  border-top:1px solid var(--bd);
}
.meetSwitcherNew input{
  flex:1;padding:6px 10px;border:1px solid var(--bd);border-radius:8px;
  font-size:13px;background:var(--bg);color:var(--text);
}
.meetSwitcherNew .btn{padding:6px 12px;font-size:12px;}

/* ── Sync Status Pill ─────────────────────────────────────── */
.syncOffline{background:#ef4444 !important;}
.syncPending{background:#f59e0b !important;animation:statusBlink 1.5s infinite;}
.syncSyncing{background:#8b5cf6 !important;animation:statusBlink 0.8s infinite;}

/* ── Screen-reader only utility ───────────────────────────── */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* ── Event Settings Modal (Run page) ─────────────────────── */
.btnIcon{
  background:none;border:none;cursor:pointer;padding:6px;border-radius:8px;
  color:var(--fg);display:inline-flex;align-items:center;justify-content:center;
  transition:background .15s;
}
.btnIcon:hover{background:rgba(124,58,237,.10);}
.btnIcon:active{background:rgba(124,58,237,.18);}
.esOverlay{
  position:fixed;inset:0;z-index:9000;
  background:rgba(15,23,42,.35);backdrop-filter:blur(2px);
  display:flex;align-items:center;justify-content:center;padding:18px;
}
.esOverlay.hidden{display:none!important;}
.esModal{
  width:min(420px,94vw);background:var(--card);
  border:1px solid var(--bd);border-radius:16px;
  box-shadow:0 20px 50px rgba(15,23,42,.22);overflow:hidden;
}
.esHeader{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 16px;border-bottom:1px solid var(--bd);
}
.esTitle{font-weight:900;font-size:15px;}
.esClose{
  background:none;border:none;font-size:22px;cursor:pointer;
  color:var(--muted);padding:0 2px;line-height:1;
}
.esClose:hover{color:var(--fg);}
.esBody{padding:16px;}
.esRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.esRow:last-child{margin-bottom:0;}
.esRow.hidden{display:none!important;}
.esLabel{font-weight:700;font-size:13px;min-width:110px;}
.esInput{
  flex:1;max-width:180px;padding:6px 10px;border:1px solid var(--bd);
  border-radius:8px;background:var(--card);color:var(--fg);font-size:13px;
}
.esInput:focus{outline:none;border-color:rgba(124,58,237,.5);box-shadow:0 0 0 3px rgba(124,58,237,.1);}
.esFooter{
  display:flex;justify-content:flex-end;gap:8px;
  padding:12px 16px;border-top:1px solid var(--bd);
}

/* Beta tag */
.betaTag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245,158,11,0.12);
  color: #d97706;
  vertical-align: middle;
  margin-left: 6px;
}
[data-theme='dark'] .betaTag {
  background: rgba(245,158,11,0.18);
  color: #fbbf24;
}
