:root {
  --navy-950: #091526;
  --navy-900: #0f1f38;
  --navy-800: #183054;
  --gold-500: #c59b27;
  --gold-400: #dcb33c;
  --gold-100: #fef9e7;
  --bg-page: #f3f6fa;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #526277;
  --border-subtle: #dbe3ee;
  --success-bg: #ecfdf5;
  --success-text: #065f46;
  --danger-bg: #fef2f2;
  --danger-text: #991b1b;
  --warn-bg: #fffbeb;
  --warn-text: #92400e;
  --radius-lg: 14px;
  --radius-md: 9px;
  --shadow-sm: 0 2px 8px rgba(15, 31, 56, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 31, 56, 0.1);
}

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

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 65%, var(--navy-800) 100%);
  border-bottom: 3px solid var(--gold-500);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 18px rgba(9, 21, 38, 0.25);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.22);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold-400);
  font-weight: 700;
}

.brand-main {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.user-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.admin-tag {
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 99px;
  text-transform: uppercase;
}

.version-pill {
  background: rgba(197, 155, 39, 0.25);
  color: var(--gold-400);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  margin-left: 4px;
}

.view-switcher {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.28);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.switch-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.78);
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.switch-btn.active {
  background: var(--gold-500);
  color: var(--navy-950);
}

/* Main Container */
.main-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.center-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 450px;
  padding: 34px 32px;
}

.auth-logo-wrap {
  text-align: center;
  margin-bottom: 14px;
}

.auth-logo {
  height: 62px;
  width: auto;
}

.auth-title {
  margin: 0 0 8px;
  font-size: 22px;
  text-align: center;
  color: var(--navy-900);
}

.auth-subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.auth-footer-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Forms & Buttons */
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.text-input,
.select-input {
  width: 100%;
  padding: 10px 13px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.text-input:focus,
.select-input:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(24, 48, 84, 0.12);
}

.otp-code-input {
  font-size: 26px;
  letter-spacing: 10px;
  text-align: center;
  font-weight: 700;
  font-family: Consolas, "Courier New", monospace;
}

.btn-primary {
  background: var(--navy-900);
  color: #ffffff;
  border: 1px solid var(--navy-900);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, transform 0.08s;
}

.btn-primary:hover:not(:disabled) {
  background: var(--navy-800);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy-900);
  border: 1px solid #cbd5e1;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger-text);
  border: 1px solid #fecaca;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.btn-danger:hover {
  background: #fee2e2;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 13px;
  cursor: pointer;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
}

.btn-xs {
  padding: 4px 9px;
  font-size: 12px;
  border-radius: 6px;
}

.btn-block {
  width: 100%;
}

.link-btn {
  background: none;
  border: none;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* Alerts */
.alert-box {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger-text);
  border: 1px solid #fecaca;
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.alert-warning {
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 1px solid #fde68a;
}

/* Secure Player Stage & Watermark */
.player-panel {
  scroll-margin-top: 90px;
  background: var(--navy-950);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(197, 155, 39, 0.4);
}

.player-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.player-title {
  margin: 6px 0 4px;
  font-size: 20px;
  color: #ffffff;
}

.player-meta {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

.player-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.expiry-live-pill {
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}

.player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.player-stage:fullscreen {
  border-radius: 0;
  width: 100vw;
  height: 100vh;
}

.player-iframe-mount,
.player-iframe-mount iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.watermark-overlay {
  position: absolute;
  z-index: 2147483646;
  pointer-events: none;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(9, 21, 38, 0.34);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  transition: top 1.4s ease-in-out, left 1.4s ease-in-out;
  top: 12%;
  left: 8%;
  white-space: nowrap;
}

.stage-exit-fs-btn {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2147483647;
  background: rgba(15, 31, 56, 0.78);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12.5px;
  cursor: pointer;
}

.player-stage:fullscreen .stage-exit-fs-btn {
  display: block;
}

.player-security-footer {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #94a3b8;
  text-align: center;
}

.demo-player-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px;
  background: radial-gradient(circle at center, #183054 0%, #091526 100%);
  color: #ffffff;
}

/* Recordings Grid */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-heading {
  margin: 0;
  font-size: 25px;
  color: var(--navy-900);
}

.page-subheading {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.search-box-wrap {
  width: 100%;
  max-width: 360px;
}

.categories-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.category-block-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recordings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.rec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.rec-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.rec-badges-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.media-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
}

.media-badge.video {
  background: #e0e7ff;
  color: #1e3a8a;
}

.media-badge.audio {
  background: var(--gold-100);
  color: #854d0e;
}

.expiry-tag {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.rec-title {
  margin: 0 0 6px;
  font-size: 16.5px;
  color: var(--navy-900);
}

.rec-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.category-pill {
  display: inline-block;
  background: var(--gold-100);
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 99px;
}

/* Admin Layout */
.admin-banner {
  margin-bottom: 18px;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.stat-label {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-value {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 2px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 20px;
  overflow-x: auto;
  overflow-y: hidden;
}

.admin-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -2px;
}

.admin-tab.active {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-title {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--navy-900);
}

.card-desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.grant-grid-form,
.two-panel-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .grant-grid-form,
  .two-panel-grid {
    grid-template-columns: 1fr;
  }
}

.two-col-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .two-col-row {
    grid-template-columns: 1fr;
  }
}

.preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-pill {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.preset-pill.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

.recordings-checklist {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  background: #f8fafc;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-bottom: 6px;
}

.checklist-item:hover {
  border-color: #94a3b8;
}

.checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  cursor: pointer;
}

/* Data Tables */
.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-bar .select-input {
  width: auto;
}

.filter-bar .text-input {
  width: 240px;
}

.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  text-align: left;
  padding: 10px 12px;
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--border-subtle);
  white-space: nowrap;
}

.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.status-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
}

.status-pill.active {
  background: var(--success-bg);
  color: var(--success-text);
}

.status-pill.expired {
  background: #f1f5f9;
  color: #475569;
}

.status-pill.revoked {
  background: var(--danger-bg);
  color: var(--danger-text);
}

.actions-cell {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simple-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 13.5px;
}

.inline-add-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-add-form .text-input {
  flex: 1;
  min-width: 150px;
}

/* Progress Bar */
.progress-bar-track {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-900), var(--gold-500));
  transition: width 0.2s ease;
}

.progress-label {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 600;
}

.empty-card {
  background: var(--bg-card);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
}

/* Modal & Toast */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 21, 38, 0.62);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 200;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.modal-title {
  margin: 6px 0 0;
  font-size: 20px;
  color: var(--navy-900);
}

.modal-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin: 14px 0 18px;
}

.highlight-box {
  background: #f8fafc;
  border-left: 3px solid var(--gold-500);
  padding: 12px 15px;
  border-radius: 7px;
  margin-bottom: 10px;
}

.highlight-box h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: var(--navy-900);
}

.highlight-box p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--navy-900);
  color: #ffffff;
  border-left: 4px solid var(--gold-500);
  padding: 12px 18px;
  border-radius: 9px;
  font-size: 13.5px;
  box-shadow: var(--shadow-md);
  max-width: 380px;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--navy-900);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.divider {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 20px 0;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }
.text-center { text-align: center; }
.muted-text { color: var(--text-muted); font-size: 14px; }

/* ========================================================================== */
/* v1.1.0: Low-Data Audio Player, Mode Switcher & Phone Hotline UI            */
/* ========================================================================== */

.rec-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-audio-mode {
  background: var(--gold-100);
  color: var(--navy-900);
  border: 1px solid #e2c060;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-audio-mode:hover {
  background: #fde68a;
  border-color: var(--gold-500);
}

.player-mode-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 3px;
}

.pmode-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pmode-btn.active {
  background: var(--gold-500);
  color: var(--navy-950);
}

.player-stage.audio-compact {
  aspect-ratio: auto;
  min-height: 235px;
  background: linear-gradient(145deg, #102442 0%, #091526 100%);
  border: 1px solid rgba(197, 155, 39, 0.35);
}

/* Custom Branded Low-Data Audio Deck */
.audio-deck {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #ffffff;
}

.audio-deck-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.audio-wave-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.18);
  border: 1px solid rgba(197, 155, 39, 0.45);
  color: var(--gold-400);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.audio-speed-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.speed-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
}

.speed-pill.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

.audio-timeline-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-time-label {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  color: #cbd5e1;
  min-width: 54px;
}

.audio-seek-slider {
  flex: 1;
  accent-color: var(--gold-500);
  height: 7px;
  cursor: pointer;
}

.audio-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.audio-skip-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.audio-skip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.audio-play-main-btn {
  background: var(--gold-500);
  border: none;
  color: var(--navy-950);
  padding: 11px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  min-width: 148px;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35);
}

.audio-play-main-btn:hover {
  background: var(--gold-400);
}

/* Compact Bunny Audio Fallback (if video hasn't had R2 MP3 synced yet) */
.bunny-audio-only-wrap {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bunny-audio-only-wrap iframe {
  width: 100%;
  max-width: 680px;
  height: 180px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hotline Banner & Twilio Setup Box */
.hotline-info-bar {
  background: linear-gradient(135deg, #0f1f38 0%, #183054 100%);
  color: #ffffff;
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  box-shadow: var(--shadow-sm);
}

.hotline-info-bar a {
  color: var(--gold-400);
  font-weight: 700;
  text-decoration: none;
}

.pin-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 3px 10px;
  border-radius: 6px;
  font-family: Consolas, monospace;
  font-weight: 700;
  letter-spacing: 1px;
}

.pin-badge-table {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--navy-900);
  font-family: Consolas, monospace;
  font-weight: 700;
  font-size: 12.5px;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.8px;
}

.media-badge.phone {
  background: #dcfce7;
  color: #166534;
}

.auth-hotline-box {
  margin-top: 16px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 10px 14px;
  text-align: center;
  font-size: 13px;
  color: var(--navy-900);
}

.sub-card-heading {
  font-size: 15px;
  color: var(--navy-900);
  margin: 0 0 10px;
}

.setup-steps-list {
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.65;
}

.setup-steps-list li {
  margin-bottom: 8px;
}

.webhook-copy-row {
  display: flex;
  gap: 8px;
}

.code-input {
  font-family: Consolas, monospace;
  font-size: 12.5px;
  background: #f8fafc;
}

.keypad-guide-box {
  background: var(--gold-100);
  border: 1px solid #fde68a;
  color: #78350f;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.6;
}

