/* EFTU Admin Command Center — styles (includes shared portal layout) */

.receptionist-body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.receptionist-body.custom-cursor-active {
  cursor: auto;
}

.receptionist-body.custom-cursor-active .hospital-cursor {
  display: none;
}

/* ── Layout shell ── */
.receptionist-shell {
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .receptionist-main {
    margin-left: 17.5rem;
  }
}

/* ── Sidebar ── */
.receptionist-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: min(100%, 17.5rem);
  background: linear-gradient(180deg, var(--blue-deep) 0%, #071f3d 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.15);
}

.receptionist-sidebar.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .receptionist-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    transform: none;
  }
}

.receptionist-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(10, 51, 104, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.receptionist-sidebar-overlay.visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .receptionist-sidebar-overlay {
    display: none;
  }
}

.receptionist-brand {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.receptionist-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.receptionist-brand-link img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.receptionist-brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.receptionist-brand-sub {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.receptionist-staff-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(232, 148, 45, 0.15);
  border: 1px solid rgba(232, 148, 45, 0.35);
  border-radius: 999px;
}

.receptionist-staff-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: recPulse 2s ease-in-out infinite;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.receptionist-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  overflow-y: auto;
}

.receptionist-nav-label {
  padding: 0.5rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.receptionist-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.receptionist-nav-item svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.receptionist-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.receptionist-nav-item.active {
  background: linear-gradient(135deg, rgba(24, 119, 210, 0.35) 0%, rgba(232, 148, 45, 0.2) 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.receptionist-nav-item.active svg {
  opacity: 1;
  color: var(--gold-light);
}

.receptionist-nav-badge {
  margin-left: auto;
  min-width: 1.35rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--gold);
  border-radius: 999px;
}

.receptionist-sidebar-footer {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.receptionist-back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.receptionist-back-link:hover {
  color: var(--blue-bright);
}

.receptionist-back-link svg {
  width: 1rem;
  height: 1rem;
}

/* ── Main area ── */
.receptionist-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.receptionist-content {
  flex: 1;
  padding: 0 1rem 2rem;
}

.receptionist-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 60, 110, 0.08);
}

@media (min-width: 768px) {
  .receptionist-topbar {
    padding: 1rem 1.75rem;
  }
}

.receptionist-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.receptionist-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.1);
  border-radius: 10px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .receptionist-menu-btn {
    display: none;
  }
}

.receptionist-topbar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.2;
}

.receptionist-topbar-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.receptionist-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.receptionist-live-clock {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 0.85rem;
  border-right: 1px solid rgba(13, 60, 110, 0.1);
}

@media (min-width: 640px) {
  .receptionist-live-clock {
    display: flex;
  }
}

.receptionist-clock-time {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--blue-deep);
  line-height: 1;
}

.receptionist-clock-date {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.receptionist-shift-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.1);
  border-radius: 999px;
}

.receptionist-shift-pill svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--gold);
}

/* ── Hero strip ── */
.receptionist-hero {
  position: relative;
  margin: 1rem;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
}

@media (min-width: 768px) {
  .receptionist-hero {
    margin: 1.25rem 1.75rem;
    padding: 2.25rem 2rem;
  }
}

.receptionist-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(10, 51, 104, 0.95) 0%, rgba(15, 76, 140, 0.88) 45%, rgba(24, 119, 210, 0.75) 100%);
}

.receptionist-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(232, 148, 45, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(110, 181, 255, 0.25) 0%, transparent 40%);
}

.receptionist-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 48px 48px;
}

.receptionist-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .receptionist-hero-content {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.receptionist-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}

.receptionist-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.receptionist-hero-title span {
  color: var(--gold-light);
}

.receptionist-hero-desc {
  max-width: 32rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.receptionist-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.receptionist-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.receptionist-hero-btn:hover {
  transform: translateY(-1px);
}

.receptionist-hero-btn-primary {
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.receptionist-hero-btn-gold {
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 8px 24px rgba(232, 148, 45, 0.35);
}

.receptionist-hero-btn svg {
  width: 1rem;
  height: 1rem;
}

/* ── Stats row ── */
.receptionist-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0 1rem 1rem;
}

@media (min-width: 640px) {
  .receptionist-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .receptionist-stats {
    padding: 0 1.75rem 1.25rem;
    gap: 1rem;
  }
}

.receptionist-stat-card {
  position: relative;
  padding: 1.1rem 1rem;
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.receptionist-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 60, 110, 0.08);
}

.receptionist-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
}

.receptionist-stat-card.stat-waiting::after { background: var(--gold); }
.receptionist-stat-card.stat-checked::after { background: var(--blue); }
.receptionist-stat-card.stat-visitors::after { background: #34d399; }
.receptionist-stat-card.stat-appointments::after { background: #a78bfa; }

.receptionist-stat-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 0.65rem;
}

.receptionist-stat-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.stat-waiting .receptionist-stat-icon { background: rgba(232, 148, 45, 0.15); color: var(--gold); }
.stat-checked .receptionist-stat-icon { background: rgba(24, 119, 210, 0.12); color: var(--blue); }
.stat-visitors .receptionist-stat-icon { background: rgba(52, 211, 153, 0.15); color: #059669; }
.stat-appointments .receptionist-stat-icon { background: rgba(167, 139, 250, 0.15); color: #7c3aed; }

.receptionist-stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--blue-deep);
  line-height: 1;
}

.receptionist-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .receptionist-content {
    padding: 0 1.75rem 2.5rem;
  }
}

.receptionist-panel {
  display: none;
  animation: recFadeIn 0.35s ease;
}

.receptionist-panel.active {
  display: block;
}

@keyframes recFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.receptionist-panel-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .receptionist-panel-grid.two-col {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.receptionist-card {
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.receptionist-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(13, 60, 110, 0.06);
}

.receptionist-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.receptionist-card-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.receptionist-card-body {
  padding: 1.25rem;
}

.receptionist-search-wrap {
  position: relative;
}

.receptionist-search-wrap svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted);
  pointer-events: none;
}

.receptionist-search {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.35rem;
  font-size: 0.8125rem;
  font-family: inherit;
  border: 1px solid rgba(13, 60, 110, 0.12);
  border-radius: 999px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.receptionist-search:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.12);
  background: #fff;
}

/* ── Quick actions ── */
.receptionist-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .receptionist-quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.receptionist-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.receptionist-quick-btn:hover {
  background: #fff;
  border-color: var(--blue);
  transform: translateY(-2px);
}

.receptionist-quick-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(24, 119, 210, 0.1);
  color: var(--blue);
}

.receptionist-quick-icon.gold {
  background: rgba(232, 148, 45, 0.15);
  color: var(--gold);
}

.receptionist-quick-icon.green {
  background: rgba(52, 211, 153, 0.15);
  color: #059669;
}

.receptionist-quick-icon.purple {
  background: rgba(167, 139, 250, 0.15);
  color: #7c3aed;
}

.receptionist-quick-icon.red {
  background: rgba(248, 113, 113, 0.15);
  color: #dc2626;
}

.receptionist-quick-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── Queue table ── */
.receptionist-table-wrap {
  overflow-x: auto;
}

.receptionist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.receptionist-table th {
  padding: 0.65rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  background: var(--cream);
  border-bottom: 1px solid rgba(13, 60, 110, 0.08);
}

.receptionist-table td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(13, 60, 110, 0.06);
  vertical-align: middle;
}

.receptionist-table tr:last-child td {
  border-bottom: none;
}

.receptionist-table tr:hover td {
  background: rgba(24, 119, 210, 0.03);
}

.receptionist-patient-name {
  font-weight: 600;
  color: var(--blue-deep);
}

.receptionist-patient-meta {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.receptionist-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

.receptionist-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.status-waiting {
  color: #b45309;
  background: rgba(232, 148, 45, 0.15);
}

.status-waiting::before { background: var(--gold); }

.status-consultation {
  color: #1d4ed8;
  background: rgba(24, 119, 210, 0.12);
}

.status-consultation::before { background: var(--blue); }

.status-completed {
  color: #047857;
  background: rgba(52, 211, 153, 0.15);
}

.status-completed::before { background: #34d399; }

.receptionist-row-actions {
  display: flex;
  gap: 0.35rem;
}

.receptionist-row-btn {
  padding: 0.35rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.receptionist-row-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.receptionist-row-btn.danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.receptionist-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
}

.receptionist-empty svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  opacity: 0.35;
}

.receptionist-empty p {
  font-size: 0.875rem;
}

/* ── Forms ── */
.receptionist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.receptionist-form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .receptionist-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.receptionist-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.receptionist-form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.receptionist-form-group input,
.receptionist-form-group select,
.receptionist-form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.12);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.receptionist-form-group input:focus,
.receptionist-form-group select:focus,
.receptionist-form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.12);
  background: #fff;
}

.receptionist-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.receptionist-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(10, 51, 104, 0.25);
}

.receptionist-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(10, 51, 104, 0.35);
}

.receptionist-form-submit.gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 6px 20px rgba(232, 148, 45, 0.3);
}

/* Toast removed */

/* ── Department directory ── */
.receptionist-dept-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .receptionist-dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .receptionist-dept-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.receptionist-dept-card {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.receptionist-dept-card:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.receptionist-dept-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(24, 119, 210, 0.12);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
}

.receptionist-dept-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.receptionist-dept-ext {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.receptionist-dept-call {
  margin-left: auto;
  align-self: center;
  padding: 0.4rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(24, 119, 210, 0.2);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.receptionist-dept-call:hover {
  background: var(--blue);
  color: #fff;
}

/* ── Live Pulse Feed (creative ticker) ── */
.rec-pulse-feed {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 1rem 1rem;
  padding: 0.55rem 0.55rem 0.55rem 0.85rem;
  background: linear-gradient(135deg, #0a3366 0%, #0f4c8c 50%, #1877d2 100%);
  border-radius: 999px;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(10, 51, 104, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rec-pulse-feed::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue-bright), #a78bfa, var(--gold));
  background-size: 300% 100%;
  animation: recPulseBorder 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes recPulseBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@media (min-width: 768px) {
  .rec-pulse-feed {
    margin: 0 1.75rem 1.25rem;
  }
}

.rec-pulse-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.rec-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399, 0 0 16px rgba(52, 211, 153, 0.5);
  animation: recPulseDot 1.4s ease-in-out infinite;
}

@keyframes recPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.rec-pulse-badge-text {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.rec-pulse-track-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.rec-pulse-track {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  animation: recPulseScroll 38s linear infinite;
}

.rec-pulse-track:hover {
  animation-play-state: paused;
}

@keyframes recPulseScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.rec-pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
  backdrop-filter: blur(6px);
  transition: transform 0.2s;
}

.rec-pulse-chip-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.rec-pulse-chip-tag {
  padding: 0.12rem 0.45rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.chip-fire {
  color: #fecaca;
  background: rgba(220, 38, 38, 0.25);
  border-color: rgba(248, 113, 113, 0.35);
}
.chip-fire .rec-pulse-chip-tag {
  color: #fff;
  background: rgba(220, 38, 38, 0.6);
}

.chip-gold {
  color: #fef3c7;
  background: rgba(232, 148, 45, 0.22);
  border-color: rgba(245, 184, 74, 0.35);
}
.chip-gold .rec-pulse-chip-tag {
  color: var(--blue-deep);
  background: var(--gold-light);
}

.chip-blue {
  color: #dbeafe;
  background: rgba(24, 119, 210, 0.3);
  border-color: rgba(110, 181, 255, 0.35);
}
.chip-blue .rec-pulse-chip-tag {
  color: #fff;
  background: rgba(24, 119, 210, 0.7);
}

.chip-green {
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.35);
}
.chip-green .rec-pulse-chip-tag {
  color: #064e3b;
  background: #6ee7b7;
}

.chip-purple {
  color: #ede9fe;
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(167, 139, 250, 0.35);
}
.chip-purple .rec-pulse-chip-tag {
  color: #fff;
  background: rgba(124, 58, 237, 0.65);
}

.chip-teal {
  color: #ccfbf1;
  background: rgba(20, 184, 166, 0.22);
  border-color: rgba(45, 212, 191, 0.35);
}
.chip-teal .rec-pulse-chip-tag {
  color: #134e4a;
  background: #5eead4;
}

.chip-rose {
  color: #fce7f3;
  background: rgba(236, 72, 153, 0.22);
  border-color: rgba(244, 114, 182, 0.35);
}
.chip-rose .rec-pulse-chip-tag {
  color: #fff;
  background: rgba(219, 39, 119, 0.6);
}

/* ── Appointment cards ── */
.receptionist-appt-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 420px;
  overflow-y: auto;
}

.receptionist-appt-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.receptionist-appt-item:hover {
  border-color: rgba(24, 119, 210, 0.25);
}

.receptionist-appt-time {
  flex-shrink: 0;
  min-width: 3.5rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--blue-deep);
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(13, 60, 110, 0.08);
}

.receptionist-appt-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.receptionist-appt-dept {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.receptionist-appt-checkin {
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.receptionist-appt-checkin:hover {
  background: var(--blue-deep);
}

/* ── Emergency strip ── */
.receptionist-emergency {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
  border-radius: 12px;
  color: #fff;
}

.receptionist-emergency-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}

.receptionist-emergency-desc {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.receptionist-emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #991b1b;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s;
}

.receptionist-emergency-btn:hover {
  transform: scale(1.03);
}

.receptionist-emergency-btn svg {
  width: 1rem;
  height: 1rem;
}

/* ── Filter tabs ── */
.receptionist-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.receptionist-filter-tab {
  padding: 0.4rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.receptionist-filter-tab.active {
  color: #fff;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.receptionist-filter-tab:hover:not(.active) {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.receptionist-empty.hidden {
  display: none;
}

/* ── Workspace footer ── */
.rec-dock {
  margin: 0 !important;
  margin-top: auto !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.1rem 1rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #0a3366 0%, #0073cf 100%);
  box-shadow: none !important;
}

.rec-dock-credit {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f4a831;
  text-decoration: none;
  border-radius: 0 !important;
}

.rec-dock-credit:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .rec-pulse-track {
    animation: none;
  }

  .rec-pulse-feed::before {
    animation: none;
  }

  .rec-pulse-dot {
    animation: none;
  }

  .receptionist-panel,
  .receptionist-stat-card,
  .receptionist-hero-btn {
    animation: none;
    transition: none;
  }

  .rec-hero-orb,
  .rec-login-orb,
  .rec-ecg-line {
    animation: none;
  }
}

/* ── Admin Login Gate ── */
.rec-login-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.rec-login-gate.hidden {
  display: none;
}

.rec-login-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #061528 0%, var(--blue-deep) 40%, #0f4c8c 100%);
  overflow: hidden;
}

.rec-login-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.9) 1px, transparent 1px);
  background-size: 56px 56px;
}

.rec-login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: recOrbFloat 12s ease-in-out infinite;
}

.rec-login-orb-1 {
  width: 320px;
  height: 320px;
  top: -8%;
  right: -5%;
  background: rgba(232, 148, 45, 0.35);
}

.rec-login-orb-2 {
  width: 280px;
  height: 280px;
  bottom: -10%;
  left: -8%;
  background: rgba(110, 181, 255, 0.3);
  animation-delay: -6s;
}

@keyframes recOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.08); }
}

.rec-login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 2.25rem 2rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  text-align: center;
}

.rec-login-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.rec-login-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.rec-login-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.rec-login-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.rec-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.rec-login-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
}

.rec-login-field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  font-family: inherit;
  border: 1px solid rgba(13, 60, 110, 0.15);
  border-radius: 10px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rec-login-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.15);
  background: #fff;
}

.rec-login-error {
  font-size: 0.75rem;
  color: #dc2626;
  text-align: center;
}

.rec-login-error.hidden {
  display: none;
}

.rec-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 28px rgba(10, 51, 104, 0.3);
}

.rec-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(10, 51, 104, 0.4);
}

.rec-login-submit svg {
  width: 1.1rem;
  height: 1.1rem;
}

.rec-login-hint {
  margin-top: 1.25rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.rec-login-hint code {
  padding: 0.15rem 0.4rem;
  font-size: 0.65rem;
  background: var(--cream);
  border-radius: 4px;
  color: var(--blue-deep);
}

.rec-login-hint a {
  color: var(--blue);
  text-decoration: none;
}

.rec-login-hint a:hover {
  text-decoration: underline;
}

/* ── Admin profile in topbar ── */
.rec-admin-profile {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.5rem 0.35rem 0.35rem;
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.1);
  border-radius: 999px;
}

@media (min-width: 768px) {
  .rec-admin-profile {
    display: flex;
  }
}

.rec-admin-avatar {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 50%;
}

.rec-admin-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.rec-admin-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.rec-admin-role {
  font-size: 0.6rem;
  color: var(--muted);
}

.rec-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  margin-left: 0.15rem;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.rec-logout-btn:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
}

.rec-logout-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* ── Hero enhancements ── */
.rec-hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.rec-hero-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: recHeroOrb 8s ease-in-out infinite;
}

.rec-hero-orb:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 12%;
}

.rec-hero-orb:nth-child(2) {
  width: 80px;
  height: 80px;
  bottom: 20%;
  right: 25%;
  animation-delay: -3s;
}

.rec-hero-orb:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 40%;
  right: 8%;
  animation-delay: -5s;
}

@keyframes recHeroOrb {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-12px); opacity: 0.8; }
}

.rec-hero-ecg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  opacity: 0.4;
}

.rec-ecg-line {
  stroke-dasharray: 400;
  animation: recEcgDraw 3s linear infinite;
}

@keyframes recEcgDraw {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

.rec-hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .rec-hero-right {
    align-items: flex-end;
  }
}

.rec-now-serving {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  min-width: 10rem;
  text-align: center;
}

.rec-now-serving-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.rec-now-serving-ticket {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  margin: 0.25rem 0;
  font-variant-numeric: tabular-nums;
}

.rec-now-serving-name {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Department status grid ── */
.rec-dept-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .rec-dept-status-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rec-dept-status-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid rgba(13, 60, 110, 0.06);
}

.rec-dept-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rec-dept-status-dot.open { background: #34d399; box-shadow: 0 0 6px rgba(52, 211, 153, 0.6); }
.rec-dept-status-dot.busy { background: var(--gold); box-shadow: 0 0 6px rgba(232, 148, 45, 0.6); }
.rec-dept-status-dot.closed { background: #f87171; }

.rec-dept-status-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--blue-deep);
}

/* ── Activity feed ── */
.rec-activity-feed {
  max-height: 280px;
  overflow-y: auto;
}

.rec-activity-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(13, 60, 110, 0.06);
  font-size: 0.8125rem;
}

.rec-activity-item:last-child {
  border-bottom: none;
}

.rec-activity-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.75rem;
}

.rec-activity-icon.checkin { background: rgba(24, 119, 210, 0.12); }
.rec-activity-icon.visitor { background: rgba(52, 211, 153, 0.15); }
.rec-activity-icon.announce { background: rgba(167, 139, 250, 0.15); }
.rec-activity-icon.dept { background: rgba(232, 148, 45, 0.15); }
.rec-activity-icon.system { background: rgba(13, 60, 110, 0.08); }

.rec-activity-text {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  line-height: 1.45;
}

.rec-activity-time {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ── Flow chart ── */
.rec-flow-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 120px;
  padding-top: 0.5rem;
}

.rec-flow-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  justify-content: flex-end;
}

.rec-flow-bar {
  width: 100%;
  max-width: 2.5rem;
  min-height: 4px;
  background: linear-gradient(180deg, var(--blue-bright) 0%, var(--blue) 100%);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}

.rec-flow-label {
  font-size: 0.55rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ── Announcements ── */
.rec-announce-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 400px;
  overflow-y: auto;
}

.rec-announce-card {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(13, 60, 110, 0.08);
  background: var(--cream);
}

.rec-announce-card.type-urgent {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(254, 226, 226, 0.5);
}

.rec-announce-card.type-celebration {
  border-color: rgba(232, 148, 45, 0.35);
  background: rgba(254, 243, 199, 0.5);
}

.rec-announce-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.rec-announce-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.rec-announce-type {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(24, 119, 210, 0.12);
  color: var(--blue);
  flex-shrink: 0;
}

.rec-announce-message {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.rec-announce-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.65rem;
  color: var(--muted);
}

.rec-announce-remove {
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: inherit;
  color: #dc2626;
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.rec-announce-remove:hover {
  background: rgba(220, 38, 38, 0.08);
}

/* ── Department admin grid ── */
.rec-dept-admin-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .rec-dept-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rec-dept-admin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rec-dept-admin-card {
  padding: 1rem;
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.rec-dept-admin-card.status-busy {
  border-color: rgba(232, 148, 45, 0.35);
}

.rec-dept-admin-card.status-closed {
  border-color: rgba(248, 113, 113, 0.35);
  opacity: 0.85;
}

.rec-dept-admin-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.65rem;
}

.rec-dept-admin-toggles {
  display: flex;
  gap: 0.35rem;
}

.rec-dept-toggle {
  flex: 1;
  padding: 0.4rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted);
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.rec-dept-toggle.active.open {
  color: #047857;
  background: rgba(52, 211, 153, 0.15);
  border-color: #34d399;
}

.rec-dept-toggle.active.busy {
  color: #b45309;
  background: rgba(232, 148, 45, 0.15);
  border-color: var(--gold);
}

.rec-dept-toggle.active.closed {
  color: #dc2626;
  background: rgba(248, 113, 113, 0.12);
  border-color: #f87171;
}

.rec-bulk-actions {
  display: flex;
  gap: 0.35rem;
}

/* ── Settings ── */
.rec-settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(13, 60, 110, 0.06);
  font-size: 0.875rem;
}

.rec-settings-row:last-of-type {
  border-bottom: none;
}

.rec-settings-label {
  color: var(--muted);
}

.rec-settings-action-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--blue-deep);
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: left;
}

.rec-settings-action-btn:hover {
  background: #fff;
  border-color: var(--blue);
}

.rec-settings-action-btn.danger {
  color: #dc2626;
}

.rec-settings-action-btn.danger:hover {
  background: rgba(254, 226, 226, 0.5);
  border-color: rgba(220, 38, 38, 0.3);
}

.rec-settings-action-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.rec-daily-report {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .rec-daily-report {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rec-report-stat {
  padding: 1rem;
  text-align: center;
  background: var(--cream);
  border-radius: 10px;
}

.rec-report-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.rec-report-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Stat counter animation */
.receptionist-stat-value.counting {
  transition: transform 0.15s ease;
}

/* Website admin — desk header & CMS */
.receptionist-main {
  position: relative;
}

.receptionist-topbar,
.admin-desk-header,
.receptionist-stats,
.receptionist-content,
.rec-dock {
  position: relative;
  z-index: 1;
}

.admin-desk-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.1);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(13, 60, 110, 0.05);
}

@media (min-width: 768px) {
  .admin-desk-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 1.25rem 1.75rem;
    padding: 1.35rem 1.5rem;
  }
}

.admin-desk-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.admin-desk-meta-sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.admin-desk-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.admin-desk-sub {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

.admin-desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.admin-desk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--blue-deep);
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.12);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.admin-desk-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.admin-desk-btn:hover {
  background: #fff;
  border-color: rgba(13, 60, 110, 0.22);
}

.admin-desk-btn-primary {
  color: #fff;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.admin-desk-btn-primary:hover {
  background: var(--blue-mid, #0F4C8C);
  border-color: var(--blue-mid, #0F4C8C);
}

.admin-stats {
  margin-top: 0;
}

.admin-stat-text {
  font-size: 0.95rem !important;
  letter-spacing: 0;
}

.admin-summary-list {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .admin-summary-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
  }
}

.admin-summary-item dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.admin-summary-item dd {
  font-size: 0.875rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
}

.admin-dept-editor {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-dept-fieldset {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(13, 60, 110, 0.1);
  border-radius: 12px;
  background: var(--cream);
}

.admin-dept-fieldset legend {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-deep);
  padding: 0 0.35rem;
}

.admin-news-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 520px;
  overflow-y: auto;
}

.admin-news-item {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 12px;
  background: var(--cream);
}

.admin-news-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0 0 0.25rem;
}

.admin-news-item-meta {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.admin-news-item-excerpt {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.admin-news-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-import-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
}


