/* ============================================================
   ACA Callers CRM — design system
   Professional dark theme: bordered surfaces, restrained accent,
   tabular numerals, SVG iconography.
   ============================================================ */
:root {
  --bg: #0b1220;
  --surface: #121b2e;
  --surface-2: #1a2540;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #e8eef9;
  --text-2: #b7c3d9;
  --muted: #7e8ca8;
  --accent: #4e8fff;
  --accent-strong: #3b7bff;
  --green: #34c77b;
  --amber: #f5a524;
  --red: #f0574f;
  --violet: #8b7cf6;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 30px -18px rgba(0, 0, 0, 0.6);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background:
    radial-gradient(1000px 480px at 50% -240px, rgba(59, 123, 255, 0.14), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }
.muted { color: var(--muted); }
.error { color: var(--red); font-size: 13.5px; text-align: center; }

/* ---------- icons ---------- */
.ic {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic.sm { width: 18px; height: 18px; }

/* ---------- views ---------- */
.view { min-height: 100vh; }
.center { display: flex; align-items: center; justify-content: center; padding: 20px; }

.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--surface-2); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- brand ---------- */
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #3b7bff, #7c5cff);
  color: #fff; box-shadow: 0 2px 8px rgba(59, 123, 255, 0.4);
}
.brand-mark .ic { width: 16px; height: 16px; stroke-width: 2; }
.brand-mark.lg { width: 58px; height: 58px; border-radius: 16px; margin: 0 auto; }
.brand-mark.lg .ic { width: 30px; height: 30px; }

/* ---------- login / pending ---------- */
.login-card {
  width: min(92vw, 372px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 36px 26px 28px;
  display: flex; flex-direction: column; gap: 13px;
  text-align: center;
}
.login-card h1 { margin: 6px 0 0; font-size: 22px; letter-spacing: -0.01em; }
.login-card p { margin: -6px 0 8px; font-size: 13.5px; }
.login-card input {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong);
  color: var(--text); border-radius: 10px; padding: 13px 14px; font-size: 16px;
  transition: border-color 0.15s;
}
.login-card input:focus { outline: none; border-color: var(--accent); }

/* ---------- buttons ---------- */
button { font-family: inherit; cursor: pointer; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #fff; border: none; border-radius: 10px;
  padding: 13px 18px; font-size: 15px; font-weight: 600;
  letter-spacing: 0.01em; box-shadow: 0 2px 10px -2px rgba(59, 123, 255, 0.5);
  transition: filter 0.15s, transform 0.05s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: scale(0.985); }
.btn-primary:disabled {
  background: var(--surface-2); color: var(--muted); box-shadow: none;
}
.btn-primary.sm { padding: 11px 16px; font-size: 14px; }

.btn-ghost {
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 9px 13px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-ghost.wide { width: 100%; margin-top: 12px; justify-content: center; padding: 12px; }

.btn-mini {
  background: transparent; color: var(--accent);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 7px 13px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.btn-mini:hover { background: rgba(78, 143, 255, 0.1); }
.btn-mini.danger { color: var(--red); }
.btn-mini.danger:hover { background: rgba(240, 87, 79, 0.1); }

.btn-danger {
  background: transparent; color: var(--red);
  border: 1px solid rgba(240, 87, 79, 0.45); border-radius: 10px;
  padding: 12px; font-size: 14px; font-weight: 600;
}
.btn-danger:hover { background: rgba(240, 87, 79, 0.1); }

.signout {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 600;
}
.signout:hover { color: var(--text); background: var(--surface-2); }

.icon-btn {
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--line-strong); border-radius: 9px;
  width: 36px; height: 36px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn .ic { width: 17px; height: 17px; }

.linklike {
  background: none; border: none; color: var(--accent);
  font-size: 13.5px; font-weight: 600; padding: 6px; cursor: pointer;
}
.linklike:hover { text-decoration: underline; }
.linklike.danger { color: var(--red); }

/* required / optional field tags */
.req, .muted-tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  margin-left: 6px; padding: 1px 5px; border-radius: 4px; vertical-align: middle;
}
.req { color: var(--red); background: rgba(240, 87, 79, 0.12); }
.muted-tag { color: var(--muted); background: rgba(255,255,255,.06); }

/* file rows inside a case */
.doc-row { display: flex; align-items: center; gap: 10px; }
.doc-row .doc-main { flex: 1; min-width: 0; }
.doc-row .doc-main .row-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

:is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid rgba(78, 143, 255, 0.6); outline-offset: 2px;
}

/* ---------- header ---------- */
.app-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: calc(10px + var(--safe-top)) 16px 10px;
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 10px; }
.app-header h1 {
  font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin: 0;
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.head-actions { display: flex; gap: 8px; align-items: center; }
.app-header h1.hname { display: flex; min-width: 84px; }
.head-actions { min-width: 0; }
.head-actions > * { flex: none; }
.head-actions .btn-ghost, .head-actions .signout { white-space: nowrap; }
.name-edit {
  font: inherit; color: inherit; background: none; border: 0; padding: 2px 6px; margin-left: -6px;
  border-radius: 8px; cursor: pointer; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.name-edit:hover, .name-edit:focus-visible { background: rgba(255,255,255,.07); }

main { padding: 16px; padding-bottom: calc(86px + var(--safe-bottom)); max-width: 760px; margin: 0 auto; }

/* ---------- section heads ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head h2 { font-size: 19px; letter-spacing: -0.01em; margin: 0; }
.tab-title { font-size: 19px; letter-spacing: -0.01em; margin: 4px 0 16px; }
.sub-head {
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  margin: 26px 0 10px; text-transform: uppercase; letter-spacing: 0.08em;
}

/* ---------- tabs ---------- */
.atab, .ctab { display: none; }
.atab.active, .ctab.active { display: block; animation: fade 0.18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } }

/* ---------- summary strip ---------- */
.summary-strip {
  display: flex; gap: 20px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 13px 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px;
}
.summary-strip b {
  color: var(--text); font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums; margin-right: 4px;
}

/* ---------- filters / inputs ---------- */
.filter-row { display: flex; gap: 8px; margin-bottom: 10px; }
select {
  flex: 1; min-width: 0; background: var(--surface);
  border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 10px; padding: 11px 12px; font-size: 14.5px; font-family: inherit;
  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='%237e8ca8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='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;
}
select:focus { outline: none; border-color: var(--accent); }

.search-box {
  width: 100%; background: var(--surface); border: 1px solid var(--line-strong);
  color: var(--text); border-radius: 10px; padding: 11px 14px; font-size: 16px;
  margin-bottom: 12px; font-family: inherit;
}
.search-box:focus { outline: none; border-color: var(--accent); }
.search-box::placeholder { color: var(--muted); }

.inline-form { display: flex; gap: 8px; margin-bottom: 16px; }
.inline-form input {
  flex: 1; background: var(--surface); border: 1px solid var(--line-strong);
  color: var(--text); border-radius: 10px; padding: 12px; font-size: 16px; font-family: inherit;
}
.inline-form input:focus { outline: none; border-color: var(--accent); }

/* ---------- rows ---------- */
.rows { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 14px;
  transition: background 0.12s, border-color 0.12s;
}
.row.tappable { cursor: pointer; }
.row.tappable:hover { border-color: var(--line-strong); }
.row.tappable:active { background: var(--surface-2); }
.row.due { border-left: 3px solid var(--amber); }
.row.inactive { opacity: 0.5; }
.row-main { flex: 1; min-width: 0; }
.row-title {
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.005em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.row-sub {
  font-size: 12.5px; margin-top: 3px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.row-sub.warn { color: var(--amber); }
.chev { color: var(--muted); font-size: 20px; line-height: 1; flex: none; }

.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ac) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--ac) 34%, transparent);
  color: var(--ac); font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}

.pill {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; flex: none;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  color: var(--c);
}

.empty {
  color: var(--muted); text-align: center; padding: 44px 20px;
  font-size: 13.5px; line-height: 1.7;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}

/* ---------- stat tiles ---------- */
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 15px 12px 13px; text-align: center;
}
.stat .num {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat .lbl {
  font-size: 10.5px; font-weight: 600; color: var(--muted); margin-top: 5px;
  text-transform: uppercase; letter-spacing: 0.07em;
}

/* ---------- segmented range toggle ---------- */
.range-toggle {
  display: flex; gap: 3px; margin-bottom: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 3px;
}
.range-toggle button {
  flex: 1; background: transparent; color: var(--muted);
  border: none; border-radius: 8px; padding: 9px 4px;
  font-size: 12.5px; font-weight: 600; transition: background 0.12s, color 0.12s;
}
.range-toggle button.active { background: var(--accent-strong); color: #fff; }

/* ---------- bars (reports) ---------- */
.leaderboard { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.lb-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
}
.lb-rank { font-weight: 700; font-size: 13px; width: 22px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-row:first-child .lb-rank { color: var(--amber); }
.lb-name { flex: 1; font-weight: 600; font-size: 14px; }
.lb-bar-wrap { flex: 1.2; height: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.lb-bar { height: 100%; background: var(--accent); border-radius: 999px; }
.lb-count { font-weight: 700; font-size: 14px; min-width: 28px; text-align: right; font-variant-numeric: tabular-nums; }

.breakdown {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px;
}
.bd-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.bd-label { width: 108px; flex: none; color: var(--text-2); font-weight: 500; }
.bd-bar-wrap { flex: 1; height: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bd-bar { height: 100%; border-radius: 999px; }
.bd-count { font-weight: 700; min-width: 26px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- tab bar ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; display: flex;
  background: rgba(18, 27, 46, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: var(--safe-bottom); z-index: 10;
}
.tabbar-btn {
  flex: 1; background: none; border: none; color: var(--muted);
  padding: 9px 0 7px; display: flex; flex-direction: column;
  align-items: center; gap: 3px; position: relative;
  transition: color 0.15s;
}
.tabbar-btn span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; }
.tabbar-btn.active { color: var(--accent); }
.tabbar-btn .ic { width: 21px; height: 21px; }

.badge {
  position: absolute; top: 4px; right: 50%; transform: translateX(19px);
  background: var(--red); color: #fff; font-size: 9.5px; font-style: normal;
  font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  border: 2px solid var(--bg);
}

/* ---------- dialogs ---------- */
dialog {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text);
  padding: 22px; width: min(92vw, 400px);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}
dialog::backdrop { background: rgba(4, 8, 16, 0.66); backdrop-filter: blur(3px); }
.dlg { display: flex; flex-direction: column; }
.dlg h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -0.01em; }
.dlg .field-label, .field-label {
  display: block; font-size: 11.5px; font-weight: 700; color: var(--muted);
  margin: 15px 0 6px; text-transform: uppercase; letter-spacing: 0.06em;
}
.dlg input, .dlg select, .dlg textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong);
  color: var(--text); border-radius: 10px; padding: 12px; font-size: 16px; font-family: inherit;
}
.dlg input:focus, .dlg select:focus, .dlg textarea:focus { outline: none; border-color: var(--accent); }
.dlg textarea { resize: vertical; }
.dialog-actions { display: flex; gap: 10px; margin-top: 22px; }
.dialog-actions .btn-primary, .dialog-actions .btn-ghost, .dialog-actions .btn-danger { flex: 1; justify-content: center; }

/* call dialog */
.call-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cd-name { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.cd-phone { font-size: 13.5px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.call-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(180deg, #3ddc84, #22b866); color: #052e16;
  border-radius: 999px; padding: 11px 18px; font-size: 14px; font-weight: 700;
  text-decoration: none; flex: none; box-shadow: 0 2px 10px -2px rgba(52, 199, 123, 0.5);
}
.call-btn:active { transform: scale(0.97); }

.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.outcome {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg); border: 1.5px solid var(--line-strong);
  color: var(--text-2); border-radius: 10px; padding: 13px 12px;
  font-size: 13.5px; font-weight: 600; text-align: left;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.outcome:active { transform: scale(0.98); }
.outcome.selected { border-color: var(--accent); background: rgba(78, 143, 255, 0.1); color: var(--text); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }

.cd-extra { margin-top: 2px; }
.appt-info {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 14px; font-size: 13.5px; line-height: 1.6; margin-bottom: 4px;
}

.member-manage { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.member-manage .btn-mini { flex: 1; padding: 10px; }

.csv-example {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px; line-height: 1.7; margin: 10px 0 0; overflow-x: auto;
  color: var(--text-2);
}

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: calc(88px + var(--safe-bottom)); left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-strong); border-left: 3px solid var(--green);
  font-weight: 600; font-size: 13.5px;
  padding: 12px 18px; border-radius: 12px; z-index: 30;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55);
  max-width: 88vw;
}
.toast.bad { border-left-color: var(--red); }

/* contact actions (call dialog) */
.contact-actions { display: flex; gap: 8px; margin-bottom: 16px; }
.contact-actions .call-btn { flex: 1; justify-content: center; }
.call-btn.wa {
  background: linear-gradient(180deg, #2fe07a, #25d366);
  color: #063a1e;
  box-shadow: 0 2px 10px -2px rgba(37, 211, 102, 0.45);
}

kbd {
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 6px; padding: 1px 7px; font-family: inherit; font-size: 12px;
  color: var(--text);
}

/* show/hide password toggle */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px !important; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted);
  width: 36px; height: 36px; padding: 0; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pw-toggle:hover { color: var(--text); }

/* low-pool alert banner */
.alert-banner {
  display: flex; align-items: center; gap: 10px;
  background: rgba(245, 165, 36, 0.12); border: 1px solid rgba(245, 165, 36, 0.4);
  color: #ffd591; border-radius: var(--radius); padding: 12px 14px;
  font-size: 13px; line-height: 1.5; margin-bottom: 14px;
}
.alert-banner .ic { color: var(--amber); flex: none; }
.alert-banner b { color: #fff; }

/* checkbox row (list choice) */
.checkrow {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  font-size: 14px; color: var(--text-2); cursor: pointer;
}
.checkrow input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
#list-chip { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* bulk selection bar */
.bulk-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px;
  font-size: 13px; font-weight: 600;
}
.bulk-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-check { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }

/* scheduling */
.slot-msg {
  background: rgba(245, 165, 36, 0.1); border: 1px solid rgba(245, 165, 36, 0.35);
  border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #ffd591;
  margin-top: 10px; line-height: 1.6;
}
.slot-msg.ok { background: rgba(52,199,123,.1); border-color: rgba(52,199,123,.35); color: #9df0c2; }
.slot-chip {
  display: inline-block; background: var(--surface-2); border: 1px solid var(--line-strong);
  color: var(--text); border-radius: 999px; padding: 5px 11px; font-size: 12px;
  font-weight: 600; margin: 4px 4px 0 0; cursor: pointer;
}
.slot-chip:hover { border-color: var(--accent); color: var(--accent); }
.avail-body { max-height: 55vh; overflow-y: auto; }
.avail-presenter { font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
.avail-day { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 8px 0 4px; }
.hours-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hours-row .day { width: 42px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.hours-row input[type=time] { flex: 1; min-width: 0; padding: 9px 8px !important; font-size: 14px !important; }
.hours-row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.hours-row.off input[type=time] { opacity: .35; }

.wide-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 12px;
}
