/* MedBridge admin refresh: a compact Element Admin-style work surface. */
.admin-body {
  --admin-bg: #f0f2f5;
  --admin-sidebar: #304156;
  --admin-sidebar-dark: #263445;
  --admin-sidebar-line: rgba(255, 255, 255, .055);
  --admin-blue: #409eff;
  --admin-blue-dark: #337ecc;
  --admin-text: #303133;
  --admin-muted: #909399;
  --admin-border: #dcdfe6;
  --admin-head: #f5f7fa;
  --admin-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --admin-font-data: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --admin-text-page-title: 28px;
  --admin-text-panel-title: 18px;
  --admin-text-section-title: 16px;
  --admin-text-body: 13px;
  --admin-text-meta: 12px;
  background: var(--admin-bg);
  color: var(--admin-text);
  font-family: var(--admin-font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.admin-body::before { display: none; }
.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body h4,
.admin-body h5,
.admin-body h6 {
  font-family: var(--admin-font-sans);
  font-style: normal;
  letter-spacing: 0;
}
.admin-body h1 { font-size: var(--admin-text-page-title); font-weight: 600; line-height: 1.3; }
.admin-body h2 { font-size: var(--admin-text-panel-title); font-weight: 600; line-height: 1.4; }
.admin-body h3 { font-size: var(--admin-text-section-title); font-weight: 600; line-height: 1.45; }
.admin-body h4,
.admin-body h5,
.admin-body h6 { font-size: 14px; font-weight: 600; line-height: 1.5; }
.admin-body p,
.admin-body li,
.admin-body dd,
.admin-body dt { line-height: 1.6; }
.admin-body button,
.admin-body input,
.admin-body textarea,
.admin-body select,
.admin-body table { font-family: var(--admin-font-sans); }
.admin-body button,
.admin-body .button { letter-spacing: 0; }
.admin-authenticated form label {
  color: #606266;
  font-size: var(--admin-text-body);
  font-weight: 500;
  line-height: 1.5;
}
.admin-authenticated form label > span {
  margin-bottom: 6px;
  color: #606266;
  font-size: var(--admin-text-body);
  font-weight: 600;
  line-height: 1.4;
}
.admin-authenticated small,
.admin-authenticated .muted-text,
.admin-authenticated label > small,
.admin-authenticated td small {
  color: var(--admin-muted);
  font-size: var(--admin-text-meta);
  font-weight: 400;
  line-height: 1.45;
}
.admin-authenticated code,
.admin-authenticated pre,
.admin-authenticated time,
.admin-authenticated .icd {
  font-family: var(--admin-font-data);
  font-variant-numeric: tabular-nums;
}
.admin-body.admin-authenticated { padding-left: 200px; }
.admin-body .container { width: 100%; max-width: none; }

.admin-authenticated .admin-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 50px;
  border: 0;
  border-bottom: 1px solid #e6e9ed;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
}
.admin-authenticated .admin-header .nav-wrap {
  min-height: 50px;
  padding: 0 18px 0 16px;
}
.admin-authenticated .admin-header .brand {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 70;
  width: 200px;
  height: 50px;
  max-width: none;
  padding: 0 14px;
  gap: 10px;
  background: #fff;
  border-right: 1px solid #e6e9ed;
  color: var(--official-red-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}
.admin-authenticated .admin-header .brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-authenticated .admin-header .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: #fff;
  color: #2b77c5;
  font-size: 17px;
  box-shadow: none;
}
.admin-authenticated .admin-header .brand-logo {
  flex: 0 0 auto;
  width: auto;
  height: 38px;
  max-width: 150px;
  object-fit: contain;
}
.admin-authenticated .admin-header .languages {
  margin-left: auto;
  margin-right: 14px;
  gap: 3px;
}
.admin-authenticated .admin-header .languages a {
  min-width: 34px;
  padding: 14px 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #606266;
  text-align: center;
  font-size: 12px;
}
.admin-authenticated .admin-header .languages a:hover {
  border-bottom-color: var(--admin-blue);
  background: transparent;
  color: var(--admin-blue);
}
.admin-authenticated .admin-header .nav-form { margin: 0; }
.admin-authenticated .admin-header .nav-form .link-button {
  min-height: 30px;
  padding: 5px 12px;
  border: 0;
  border-left: 1px solid #ebeef5;
  border-radius: 0;
  background: transparent;
  color: #606266;
  font-size: 12px;
}
.admin-authenticated .admin-header .nav-form .link-button:hover { background: #f5f7fa; color: var(--admin-blue); }

.admin-authenticated .admin-shell { min-height: calc(100vh - 50px); }
.admin-authenticated .admin-container { padding: 0 16px 38px; }
.admin-authenticated .admin-grid { display: block; }
.admin-authenticated .admin-main { min-width: 0; }

.admin-authenticated .side-nav {
  position: fixed;
  inset: 50px auto 0 0;
  z-index: 55;
  width: 200px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: var(--admin-sidebar);
  box-shadow: 2px 0 6px rgba(0, 21, 41, .18);
  scrollbar-width: thin;
}
.admin-authenticated .side-nav-overline {
  min-height: 36px;
  padding: 12px 20px 7px;
  color: #71869f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.admin-authenticated .side-nav-home { border-bottom: 1px solid var(--admin-sidebar-line); }
.admin-authenticated .side-nav a,
.admin-authenticated .side-nav summary {
  color: #bfcbd9;
  font-size: 13px;
  font-weight: 500;
}
.admin-authenticated .side-nav a {
  min-height: 44px;
  padding: 12px 18px 12px 42px;
  border: 0;
  border-bottom: 1px solid var(--admin-sidebar-line);
}
.admin-authenticated .side-nav a::before {
  left: 24px;
  top: 13px;
  color: #8fa1b6;
  font-size: 15px;
}
.admin-authenticated .side-nav summary {
  min-height: 48px;
  padding: 14px 32px 13px 20px;
  border-bottom: 1px solid var(--admin-sidebar-line);
  background: transparent;
}
.admin-authenticated .side-nav summary::before { display: none; }
.admin-authenticated .side-nav summary::after {
  right: 18px;
  color: #91a3b8;
}
.admin-authenticated .side-nav a:hover,
.admin-authenticated .side-nav summary:hover { background: #263445; color: #fff; }
.admin-authenticated .side-nav-group[open] > summary { background: #263445; color: #fff; }
.admin-authenticated .side-nav-children { background: #1f2d3d; }
.admin-authenticated .side-nav-children a.active,
.admin-authenticated .side-nav a.active {
  background: #2d8cf0;
  color: #fff;
  box-shadow: inset 3px 0 #66b1ff;
}
.admin-authenticated .side-nav-children a.active::before { background: transparent; color: #fff; box-shadow: none; }

.admin-authenticated .admin-workspace-context {
  position: fixed;
  top: 0;
  right: 285px;
  left: 200px;
  z-index: 61;
  min-height: 48px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid #e6e9ed;
  background: #fff;
  color: #909399;
  font-size: 12px;
}
.admin-authenticated .admin-workspace-context span::after {
  margin: 0 10px;
  color: #c0c4cc;
  content: ">";
}
.admin-authenticated .admin-workspace-context strong { color: #606266; font-weight: 500; }
.admin-authenticated .admin-work-tabs {
  height: 46px;
  margin: 0 -16px 16px;
  padding: 7px 10px;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid #d8dce5;
  background: #f5f7fa;
  box-shadow: 0 1px 3px rgba(0, 21, 41, .05);
}
.admin-authenticated .admin-work-tabs-list { gap: 6px; }
.admin-authenticated .admin-work-tab-refresh { display: none; }
.admin-authenticated .admin-work-tab {
  height: 32px;
  overflow: hidden;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.admin-authenticated .admin-work-tab:hover {
  border-color: #a0cfff;
  color: var(--admin-blue);
  box-shadow: 0 2px 6px rgba(64, 158, 255, .1);
}
.admin-authenticated .admin-work-tab.active {
  border-color: var(--admin-blue);
  background: #ecf5ff;
  color: var(--admin-blue-dark);
  box-shadow: 0 2px 7px rgba(64, 158, 255, .14);
}
.admin-authenticated .admin-work-tab.active::before {
  position: static;
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--admin-blue);
  content: "";
}
.admin-authenticated .admin-work-tab > a {
  min-width: 62px;
  max-width: 176px;
  padding: 7px 5px 7px 11px;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.admin-authenticated .admin-work-tab.active > a { padding-left: 7px; font-weight: 600; }
.admin-authenticated .admin-work-tab-action {
  display: grid;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 5px 5px 5px 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a8abb2;
  font: 500 15px/20px Arial, sans-serif;
  opacity: .72;
  transition: color .15s ease, background-color .15s ease, opacity .15s ease, transform .15s ease;
}
.admin-authenticated .admin-work-tab-action:hover {
  border: 0;
  background: #e4e7ed;
  color: #606266;
  opacity: 1;
  transform: none;
}
.admin-authenticated .admin-work-tab-refresh { display: none; }
.admin-authenticated .admin-work-tab-close:hover { background: #f56c6c; color: #fff; }
.admin-authenticated .admin-work-tab.active .admin-work-tab-close { color: #7e9fc4; }
.admin-authenticated .admin-work-tab.active .admin-work-tab-close:hover { color: #fff; }
.admin-authenticated .admin-work-tabs-close-all {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 30px;
  height: 30px;
  margin: 1px 0;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #909399;
  font-size: 12px;
  font-weight: 500;
}
.admin-authenticated .admin-work-tabs-close-all:hover {
  border-color: #f5b7b7;
  background: #fef0f0;
  color: #f56c6c;
}

.admin-authenticated .panel {
  margin-bottom: 18px;
  padding: 0;
  border: 1px solid #ebeef5;
  border-top: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .05);
}
.admin-authenticated .panel > h2,
.admin-authenticated .panel > .admin-toolbar {
  min-height: 78px;
  margin: 0;
  padding: 17px 18px;
  border-bottom: 1px solid #ebeef5;
  background: #fff;
}
.admin-authenticated .panel > h2,
.admin-authenticated .panel > .admin-toolbar h2 {
  color: #303133;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
}
.admin-authenticated .panel > .admin-toolbar .muted-text { margin-top: 3px; color: #909399; font-size: 12px; }
.admin-authenticated .panel > .admin-toolbar .inline-form { gap: 10px; margin: 0; }

.admin-authenticated .button,
.admin-authenticated button {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none;
}
.admin-authenticated .button:hover,
.admin-authenticated button:hover { border-color: #c6e2ff; background: #ecf5ff; color: var(--admin-blue); }
.admin-authenticated .button.primary,
.admin-authenticated button.primary,
.admin-authenticated button[type="submit"] {
  border-color: var(--admin-blue);
  background: var(--admin-blue);
  color: #fff;
}
.admin-authenticated .button.primary:hover,
.admin-authenticated button.primary:hover,
.admin-authenticated button[type="submit"]:hover { border-color: var(--admin-blue-dark); background: var(--admin-blue-dark); color: #fff; }
.admin-authenticated input,
.admin-authenticated textarea,
.admin-authenticated select {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
}
.admin-authenticated input:focus,
.admin-authenticated textarea:focus,
.admin-authenticated select:focus { border-color: var(--admin-blue); outline: 0; box-shadow: 0 0 0 2px rgba(64, 158, 255, .12); }

.admin-authenticated .admin-filter-form {
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #ebeef5;
  background: #fff;
}
.admin-authenticated .panel > .admin-filter-form { max-width: none; margin: 0; }
.admin-authenticated .admin-filter-label { flex: 0 0 auto; color: #606266; font-size: 13px; font-weight: 600; }
.admin-authenticated .admin-filter-form select,
.admin-authenticated .admin-filter-form input { width: min(260px, 100%); }
.admin-authenticated .admin-filter-form select { width: 256px; flex: 0 0 256px; border: 1px solid #dcdfe6; border-radius: 4px; }
.admin-authenticated .admin-filter-form button { min-width: 72px; }
.admin-authenticated .medical-resource-filter-form input[name="hospitalName"] {
  width: 220px;
  max-width: 220px;
  flex: 0 1 220px;
}

.admin-authenticated .table-wrap { margin: 0 18px; overflow: auto; }
.admin-authenticated table { min-width: 780px; color: #606266; }
.admin-authenticated th,
.admin-authenticated td {
  padding: 11px 10px;
  border-bottom: 1px solid #ebeef5;
  vertical-align: middle;
  font-size: var(--admin-text-body);
  line-height: 1.55;
}
.admin-authenticated th {
  height: 46px;
  background: #f5f7fa;
  color: #606266;
  font-size: var(--admin-text-meta);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.admin-authenticated .hospital-departments-table th:first-child,
.admin-authenticated .hospital-departments-table td:first-child { width: 56px; white-space: nowrap; }
.admin-authenticated .hospital-departments-table th:nth-child(2) { min-width: 170px; }
.admin-authenticated .hospital-departments-table th:nth-child(3) { min-width: 88px; }
.admin-authenticated .hospital-departments-table th:nth-child(4) { min-width: 92px; }
.admin-authenticated .hospital-departments-table th:nth-child(5) { min-width: 78px; }
.admin-authenticated .hospital-departments-table th:nth-child(6) { min-width: 104px; }
.admin-authenticated .hospital-departments-table th:nth-child(7) { min-width: 170px; }
.admin-authenticated .hospital-departments-table th:last-child,
.admin-authenticated .hospital-departments-table td:last-child { min-width: 112px; white-space: nowrap; }
.admin-authenticated .admin-consultations-table { width: 100%; min-width: 0; table-layout: fixed; }
.admin-authenticated .admin-consultations-table th { white-space: normal; }
.admin-authenticated .admin-consultations-table th,
.admin-authenticated .admin-consultations-table td { overflow: hidden; }
.admin-authenticated .admin-consultations-table th:nth-child(1) { width: 4%; }
.admin-authenticated .admin-consultations-table th:nth-child(2) { width: 12%; }
.admin-authenticated .admin-consultations-table th:nth-child(3) { width: 6%; }
.admin-authenticated .admin-consultations-table th:nth-child(4) { width: 7%; }
.admin-authenticated .admin-consultations-table th:nth-child(5) { width: 10%; }
.admin-authenticated .admin-consultations-table th:nth-child(6) { width: 10%; }
.admin-authenticated .admin-consultations-table th:nth-child(7) { width: 6%; }
.admin-authenticated .admin-consultations-table th:nth-child(8) { width: 7%; }
.admin-authenticated .admin-consultations-table th:nth-child(9) { width: 15%; }
.admin-authenticated .admin-consultations-table th:nth-child(10) { width: 7%; }
.admin-authenticated .admin-consultations-table th:nth-child(11) { width: 10%; }
/* 操作列要放得下「查看 + 删除」两个按钮（蒙文最宽，约需 160px），
   固定像素宽而非百分比，避免 table-layout:fixed 把它压窄导致按钮被裁切竖排。 */
.admin-authenticated .admin-consultations-table th:nth-child(12) { width: 170px; }
.admin-authenticated .admin-consultations-table td { height: 68px; }
.admin-authenticated .admin-consultations-table td:first-child,
.admin-authenticated .admin-consultations-table td:nth-child(7),
.admin-authenticated .admin-consultations-table td:nth-child(10),
.admin-authenticated .admin-consultations-table td:nth-child(12) { white-space: nowrap; }
.admin-authenticated .consultation-account { overflow-wrap: anywhere; }
.admin-authenticated .consultation-account strong,
.admin-authenticated .consultation-account small,
.admin-authenticated .consultation-submitted span,
.admin-authenticated .consultation-submitted small { display: block; }
.admin-authenticated .consultation-account small,
.admin-authenticated .consultation-submitted small { margin-top: 3px; color: #909399; }
.admin-authenticated .consultation-messenger,
.admin-authenticated .consultation-source { overflow-wrap: anywhere; }
.admin-authenticated .consultation-condition {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.admin-authenticated .consultation-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #ecf5ff;
  color: #337ecc;
  letter-spacing: 0;
  white-space: nowrap;
}
.admin-authenticated .consultation-submitted { white-space: nowrap; }
.admin-authenticated tbody tr:nth-child(even) { background: #fafafa; }
.admin-authenticated tbody tr:hover { background: #f5f7fa; }
.admin-authenticated td a { color: var(--admin-blue); }

.admin-authenticated .department-sort-control { border-color: #dcdfe6; border-radius: 4px; box-shadow: none; }
.admin-authenticated .department-sort-control input[type="number"] { width: 52px; min-height: 30px; color: #606266; }
.admin-authenticated .department-sort-control button[type="submit"] {
  min-height: 30px;
  padding: 4px 9px;
  border: 0;
  border-left: 1px solid #dcdfe6;
  border-radius: 0;
  background: #ecf5ff;
  color: var(--admin-blue);
  font-size: 12px;
  white-space: nowrap;
}
.admin-authenticated .department-sort-control button[type="submit"]:hover { background: var(--admin-blue); color: #fff; }
.admin-authenticated .department-featured-control .featured-toggle-button {
  min-height: 30px;
  padding: 4px 10px;
  border-color: #e6a23c;
  border-radius: 4px;
  background: #fdf6ec;
  color: #b88230;
  font-size: 12px;
  font-weight: 500;
  transform: none;
}
.admin-authenticated .department-featured-control .featured-toggle-button:hover { border-color: #e6a23c; background: #e6a23c; color: #fff; transform: none; box-shadow: none; }
.admin-authenticated .department-featured-control .featured-toggle-button.is-featured { border-color: #e6a23c; background: #e6a23c; color: #fff; }
.admin-authenticated .department-row-actions .department-action-button,
.admin-authenticated .hospital-record-actions .hospital-action-button {
  min-width: 48px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
}
.admin-authenticated .department-row-actions .department-action-button.edit,
.admin-authenticated .hospital-record-actions .hospital-action-button.edit { border-color: #a0cfff; background: #ecf5ff; color: var(--admin-blue); }
.admin-authenticated .department-row-actions .department-action-button.edit:hover,
.admin-authenticated .hospital-record-actions .hospital-action-button.edit:hover { border-color: var(--admin-blue); background: var(--admin-blue); color: #fff; box-shadow: none; }
.admin-authenticated .department-row-actions .department-action-button.delete,
.admin-authenticated .hospital-record-actions .hospital-action-button.delete { border-color: #fab6b6; background: #fef0f0; color: #f56c6c; }
.admin-authenticated .department-row-actions .department-action-button.delete:hover,
.admin-authenticated .hospital-record-actions .hospital-action-button.delete:hover { border-color: #f56c6c; background: #f56c6c; color: #fff; box-shadow: none; }

.admin-authenticated .admin-pagination { justify-content: flex-end; gap: 6px; margin: 0; padding: 16px 18px; }
.admin-authenticated .admin-pagination a,
.admin-authenticated .admin-pagination span {
  min-width: 32px;
  min-height: 32px;
  padding: 5px 9px;
  border: 0;
  border-radius: 4px;
  background: #f4f4f5;
  color: #606266;
}
.admin-authenticated .admin-pagination .current { background: var(--admin-blue); color: #fff; }
.admin-authenticated .admin-pagination .disabled { color: #c0c4cc; }
.admin-authenticated .admin-pagination .ellipsis {
  min-width: 24px;
  background: transparent;
  color: #909399;
  letter-spacing: 2px;
}

.admin-authenticated .modal {
  border: 0;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}
.admin-authenticated .modal::backdrop { background: rgba(0, 0, 0, .42); }
.admin-authenticated .modal form { padding: 0; }
.admin-authenticated .modal-head { min-height: 54px; padding: 14px 20px; border: 0; border-bottom: 1px solid #ebeef5; background: #fff; }
.admin-authenticated .modal-head h3 { color: #303133; font-size: 17px; }
.admin-authenticated .modal-head .link-button { min-width: 32px; padding: 0; border: 0; color: #909399; font-size: 22px; }
.admin-authenticated .modal .form-grid { margin: 0; padding: 8px 20px 20px; border: 0; }
.admin-authenticated .modal-actions { margin: 0; padding: 14px 20px; border-top: 1px solid #ebeef5; background: #fafafa; }

/* Typography isolation for the statistics dashboard. Public-site footer and serif rules must not leak in. */
.admin-authenticated .statistics-dashboard-head h1,
.admin-authenticated .statistics-detail-head h1 {
  font: 600 var(--admin-text-page-title)/1.3 var(--admin-font-sans);
}
.admin-authenticated .statistics-dashboard-head > span,
.admin-authenticated .statistics-detail-head > span {
  font: 700 11px/1.4 var(--admin-font-data);
  letter-spacing: .1em;
}
.admin-authenticated .statistics-dashboard-head p,
.admin-authenticated .statistics-detail-head p {
  font-size: var(--admin-text-body);
  line-height: 1.6;
}
.admin-authenticated .statistics-module-card h2 {
  font: 600 17px/1.4 var(--admin-font-sans);
}
.admin-authenticated .statistics-module-card p {
  font-size: var(--admin-text-meta);
  line-height: 1.6;
}
.admin-authenticated .statistics-module-index {
  font: 600 26px/1 var(--admin-font-sans);
  font-variant-numeric: tabular-nums;
}
.admin-authenticated .statistics-module-card footer {
  margin-top: auto;
  padding: 16px 23px 0 0;
  background: transparent;
  color: inherit;
}
.admin-authenticated .statistics-module-card footer strong,
.admin-authenticated .statistics-detail-cards strong,
.admin-authenticated .statistics-channel-card-grid strong {
  font-family: var(--admin-font-sans);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.admin-authenticated .statistics-module-card footer strong { font-size: 24px; line-height: 1.1; }
.admin-authenticated .statistics-module-card footer small {
  margin-top: 5px;
  color: #748895;
  font-size: 11px;
  line-height: 1.4;
}
.admin-authenticated .statistics-detail-cards strong { font-size: 28px; line-height: 1.1; }
.admin-authenticated .statistics-channel-card-grid strong { font-size: 24px; line-height: 1.1; }
.admin-authenticated .statistics-snapshot-note span { font-family: var(--admin-font-sans); }
.admin-authenticated .escort-admin-hero h1,
.admin-authenticated .support-head h1,
.admin-authenticated .stats b,
.admin-authenticated .formatted-content h2,
.admin-authenticated .formatted-content h3,
.admin-authenticated .formatted-content h4 {
  font-family: var(--admin-font-sans);
}

/* Patient intake: a calm, task-led registration workbench. */
.admin-authenticated .registration-workbench { width: 100%; max-width: none; overflow: hidden; }
.admin-authenticated .registration-hero { display: grid; grid-template-columns: minmax(300px,1fr) minmax(430px,.9fr); align-items: center; gap: 42px; padding: 26px 30px; border-bottom: 1px solid #e4e7ed; background: linear-gradient(105deg,#fff 0%,#fff 54%,#f6faff 100%); }
.admin-authenticated .registration-hero .eyebrow { margin: 0 0 6px; color: var(--admin-blue); font: 700 10px/1.4 var(--admin-font-data); letter-spacing: .14em; }
.admin-authenticated .registration-hero h2 { margin: 0; color: #303133; font-size: 22px; line-height: 1.35; }
.admin-authenticated .registration-hero p { margin: 6px 0 0; color: #7b8490; font-size: 13px; }
.admin-authenticated .registration-route { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; list-style: none; }
.admin-authenticated .registration-route li { position: relative; display: flex; min-width: 0; align-items: center; gap: 9px; color: #a4aab3; }
.admin-authenticated .registration-route li + li::before { position: absolute; top: 17px; right: calc(100% + 8px); left: -32px; height: 1px; background: #dcdfe6; content: ""; }
.admin-authenticated .registration-route b { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid #dcdfe6; border-radius: 50%; background: #fff; font: 700 12px/1 var(--admin-font-data); }
.admin-authenticated .registration-route span { display: grid; min-width: 0; color: #777f89; font-size: 12px; font-weight: 600; }
.admin-authenticated .registration-route small { margin-top: 2px; color: #a4aab3; font-size: 10px; white-space: nowrap; }
.admin-authenticated .registration-route .active b { border-color: var(--admin-blue); background: var(--admin-blue); color: #fff; box-shadow: 0 0 0 4px rgba(64,158,255,.1); }
.admin-authenticated .registration-route .active span { color: #303133; }
.admin-authenticated .registration-page-alert { margin: 18px 24px 0; }
.admin-authenticated .registration-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 24px; padding: 24px; }
.admin-authenticated .registration-form { min-width: 0; }
.admin-authenticated .registration-form-section { margin-bottom: 16px; border: 1px solid #e4e7ed; border-radius: 5px; background: #fff; }
.admin-authenticated .registration-section-head { display: flex; align-items: flex-start; gap: 12px; padding: 17px 18px 14px; border-bottom: 1px solid #ebeef5; background: #fafbfc; }
.admin-authenticated .registration-section-icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 4px; background: #ecf5ff; color: var(--admin-blue); font: 700 11px/1 var(--admin-font-data); }
.admin-authenticated .registration-section-head h3 { margin: 0; color: #303133; font-size: 15px; line-height: 1.4; }
.admin-authenticated .registration-section-head p { margin: 3px 0 0; color: #909399; font-size: 11px; }
.admin-authenticated .registration-rule-badge { margin-left: auto; padding: 3px 8px; border: 1px solid #b3d8ff; border-radius: 10px; background: #ecf5ff; color: #337ecc; font-size: 10px; white-space: nowrap; }
.admin-authenticated .registration-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 16px 18px 18px; }
.admin-authenticated .registration-fields label { display: grid; align-content: start; gap: 0; margin: 0; }
.admin-authenticated .registration-fields label > span b { color: #f56c6c; }
.admin-authenticated .registration-fields input,.admin-authenticated .registration-fields select { min-height: 40px; }
.admin-authenticated .registration-fields label > small { display: block; margin-top: 5px; }
.admin-authenticated .registration-full { grid-column: 1/-1; }
.admin-authenticated .registration-contact-fields { position: relative; gap: 28px; }
.admin-authenticated .registration-or { position: absolute; top: 43px; left: 50%; z-index: 1; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #e4e7ed; border-radius: 50%; background: #fff; color: #909399; font-size: 10px; transform: translate(-50%,-50%); }
.admin-authenticated .registration-validation { display: none; margin: -6px 18px 16px; color: #f56c6c; font-size: 12px; }
.admin-authenticated .registration-validation.visible { display: block; }
.admin-authenticated .registration-submit-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 18px; border: 1px solid #d9e8f8; border-radius: 5px; background: #f7fbff; }
.admin-authenticated .registration-submit-bar strong,.admin-authenticated .registration-submit-bar small { display: block; }
.admin-authenticated .registration-submit-bar strong { color: #303133; font-size: 13px; }
.admin-authenticated .registration-submit-bar small { margin-top: 3px; color: #909399; font-size: 11px; }
.admin-authenticated .registration-submit { min-width: 156px; gap: 8px; white-space: nowrap; }
.admin-authenticated .registration-submit span { font-size: 16px; }
.admin-authenticated .registration-guide { position: sticky; top: 126px; overflow: hidden; border: 1px solid #dcdfe6; border-top: 3px solid var(--admin-blue); border-radius: 5px; background: #fff; }
.admin-authenticated .registration-guide-head { display: flex; align-items: center; gap: 11px; padding: 17px 18px; border-bottom: 1px solid #ebeef5; }
.admin-authenticated .registration-guide-head > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #ecf5ff; color: var(--admin-blue); font: 700 14px/1 Georgia,serif; }
.admin-authenticated .registration-guide-head strong,.admin-authenticated .registration-guide-head small { display: block; }
.admin-authenticated .registration-guide-head strong { color: #303133; font-size: 14px; }
.admin-authenticated .registration-guide-head small { margin-top: 2px; color: #909399; font-size: 11px; }
.admin-authenticated .registration-guide ul { margin: 0; padding: 8px 18px; list-style: none; }
.admin-authenticated .registration-guide li { display: grid; grid-template-columns: 68px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px dashed #ebeef5; font-size: 11px; }
.admin-authenticated .registration-guide li b { color: #606266; }
.admin-authenticated .registration-guide li span { color: #909399; }
.admin-authenticated .registration-password-note { margin: 10px 18px 14px; padding: 14px; border-radius: 4px; background: #fff8e6; }
.admin-authenticated .registration-password-note > span { color: #8a6d1d; font-size: 11px; }
.admin-authenticated .registration-password-note > strong { display: block; margin: 2px 0 6px; color: #6e5414; font: 700 20px/1.3 var(--admin-font-data); letter-spacing: .06em; }
.admin-authenticated .registration-password-note p { margin: 0; color: #8a743b; font-size: 11px; }
.admin-authenticated .registration-audit-note { margin: 0; padding: 13px 18px; border-top: 1px solid #ebeef5; background: #fafafa; color: #7d8590; font-size: 11px; }
.admin-authenticated .registration-audit-note span { color: #67c23a; font-weight: 800; }
.admin-authenticated .registration-workbench > .registration-success { margin: 20px 24px 0; }

@media (max-width: 1100px) {
  .admin-authenticated .registration-hero { grid-template-columns: 1fr; gap: 20px; }
  .admin-authenticated .registration-layout { grid-template-columns: 1fr; }
  .admin-authenticated .registration-guide { position: static; }
}

@media (max-width: 900px) {
  .admin-body.admin-authenticated { padding-left: 0; }
  .admin-authenticated .admin-header .brand { position: static; width: auto; background: transparent; color: #303133; }
  .admin-authenticated .admin-header .brand small { display: none; }
  .admin-authenticated .admin-header .brand-mark { background: var(--admin-blue); color: #fff; }
  .admin-authenticated .side-nav { position: static; width: auto; max-height: 320px; margin: 12px 0; box-shadow: none; }
  .admin-authenticated .admin-workspace-context { position: static; margin: 0 -12px; }
  .admin-authenticated .admin-grid { display: grid; grid-template-columns: 1fr; }
  .admin-authenticated .admin-work-tabs { margin-right: -12px; margin-left: -12px; }
  .admin-authenticated .admin-container { padding-right: 12px; padding-left: 12px; }
}

@media (max-width: 620px) {
  .admin-authenticated .admin-header .nav-wrap { padding-inline: 10px; }
  .admin-authenticated .admin-header .brand { font-size: 13px; }
  .admin-authenticated .admin-header .languages { display: none; }
  .admin-authenticated .panel > .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-authenticated .panel > .admin-toolbar .inline-form { display: grid; grid-template-columns: 1fr; width: 100%; }
  .admin-authenticated .admin-filter-form { align-items: stretch; flex-direction: column; }
  .admin-authenticated .admin-filter-form select,
  .admin-authenticated .admin-filter-form input,
  .admin-authenticated .admin-filter-form button { width: 100%; }
  .admin-authenticated .medical-resource-filter-form input[name="hospitalName"] { width: 100%; max-width: none; flex: none; }
  .admin-authenticated .table-wrap { margin-inline: 10px; }
  .admin-authenticated .registration-hero { padding: 22px 18px; }
  .admin-authenticated .registration-route { grid-template-columns: 1fr; gap: 13px; }
  .admin-authenticated .registration-route li + li::before { top: -13px; right: auto; bottom: calc(100% - 1px); left: 16px; width: 1px; height: 13px; }
  .admin-authenticated .registration-layout { gap: 18px; padding: 16px 12px; }
  .admin-authenticated .registration-section-head { padding-inline: 14px; }
  .admin-authenticated .registration-section-head p { max-width: 250px; }
  .admin-authenticated .registration-rule-badge { display: none; }
  .admin-authenticated .registration-fields { grid-template-columns: 1fr; padding-inline: 14px; }
  .admin-authenticated .registration-full { grid-column: auto; }
  .admin-authenticated .registration-contact-fields { gap: 16px; }
  .admin-authenticated .registration-or { position: static; margin: -4px auto; transform: none; }
  .admin-authenticated .registration-submit-bar { align-items: stretch; flex-direction: column; }
  .admin-authenticated .registration-submit { width: 100%; }
}
