/**
 * Talent Bridge — design system & layout
 *
 * Sections: tokens, public site, forms, admin shell, admin detail pages.
 * Fonts: Sora (display) + Manrope (body). Brand teal palette unchanged.
 */
:root {
  --radius: 0.75rem;
  --ink: #161c2e;
  --ink-foreground: #f4fffd;
  --brand-teal: #2f9d93;
  --brand-teal-deep: #0e6b7a;
  --brand-teal-btn: #147a8a;
  --brand-amber: #e0a33a;
  --div-health: #2a9b7a;
  --div-tech: #4a6fe3;
  --div-education: #d89a35;
  --div-ventures: #b04ac0;
  --body-bg: #fbfbf7;
  --body-fg: #1a2332;
  --muted: #6b7285;
  --hero-1: #171d33;
  --hero-2: #1e3a4a;
  --hero-3: #1f4f52;
  --accent-mint: #7ee8d8;
  --card: #ffffff;
  --border: rgba(22, 28, 46, 0.1);
  --shadow-elegant: 0 24px 60px -28px var(--ink);
  --shadow-soft: 0 1px 2px rgba(22, 28, 46, 0.06), 0 12px 32px -20px rgba(22, 28, 46, 0.35);
  --gradient-hero: radial-gradient(1100px 520px at 12% -10%, rgba(47, 157, 147, 0.55), transparent),
    linear-gradient(150deg, var(--hero-1), var(--hero-2) 55%, var(--hero-3));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  background: var(--body-bg);
  color: var(--body-fg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
}

.hero-gradient {
  background: var(--gradient-hero);
  color: var(--ink-foreground);
}

.accent-mint { color: var(--accent-mint); }

.btn-teal {
  background: var(--brand-teal-btn);
  color: #f7fffe;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-teal:hover { background: #0f6a78; }

.btn-white {
  background: #f1f7f8;
  color: #2a3550;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.btn-white:hover { background: #ffffff; }

.nav-link {
  color: #3a4458;
  font-size: 12px;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover,
.nav-link.is-active {
  background: rgba(20, 122, 138, 0.1);
  color: #0f4f5a;
}

.section-label {
  color: var(--brand-teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.stat-card {
  background: rgba(10, 24, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
}

.prose-tb {
  line-height: 1.7;
  color: rgba(26, 35, 50, 0.8);
}
.prose-tb h2 {
  font-family: Sora, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
}
.prose-tb ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose-tb ol { list-style: decimal; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose-tb p { margin: 0.75rem 0; }

/* Beat Tailwind CDN preflight (border-width: 0) */
input.input,
textarea.input,
select.input,
.input {
  display: block;
  width: 100%;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgba(22, 28, 46, 0.18) !important;
  border-radius: 10px !important;
  padding: 0.75rem 0.95rem !important;
  background-color: #fff !important;
  color: var(--ink) !important;
  font-family: inherit;
  font-size: 0.925rem !important;
  line-height: 1.4;
  min-height: 2.75rem;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea.input {
  min-height: 7rem;
  resize: vertical;
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem !important;
}
.input:focus {
  outline: none !important;
  border-color: var(--brand-teal-btn) !important;
  box-shadow: 0 0 0 3px rgba(20, 122, 138, 0.18) !important;
}
.input:disabled,
.input[readonly] {
  background-color: #f8fafc !important;
  color: #475569 !important;
  cursor: default;
}
.input::placeholder {
  color: #94a3b8;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.45rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.file-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.file-drop {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 1px dashed rgba(22, 28, 46, 0.22);
  border-radius: 10px;
  background: #f8fafb;
  padding: 0.75rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.file-drop:hover {
  border-color: var(--brand-teal-btn);
  background: rgba(20, 122, 138, 0.04);
}
.file-drop-btn {
  flex-shrink: 0;
  background: var(--brand-teal-btn);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.file-drop-name {
  font-size: 0.85rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-input-native {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 2;
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-card .btn-teal {
  margin-top: 0.25rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ——— Admin panel (FlowAI-style light SaaS) ——— */
.admin-shell {
  min-height: 100vh;
  background: #f4f5f7;
  color: #111827;
}
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 272px;
  flex-shrink: 0;
  background: #eef0f3;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1rem 0.85rem;
}
.admin-brand-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}
.admin-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.admin-brand-name {
  font-family: Sora, Manrope, sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
  color: #111827;
}
.admin-brand-sub {
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 500;
}
.admin-menu-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-nav {
  flex-direction: column;
  gap: 1rem;
  padding: 0.25rem 0.75rem 1.25rem;
  flex: 1;
}
.admin-nav-group { display: flex; flex-direction: column; gap: 0.2rem; }
.admin-nav-footer { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid #e5e7eb; }
.admin-nav-label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 0.45rem 0.7rem 0.35rem;
}
.adm-ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.admin-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 10px;
  padding: 0.58rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
}
.admin-link:hover {
  background: rgba(17, 24, 39, 0.05);
  color: #111827;
}
.admin-link.is-active {
  background: #fff;
  color: #111827;
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
.admin-link-text { flex: 1; text-align: left; min-width: 0; }
.admin-badge {
  min-width: 1.35rem;
  height: 1.25rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ebeef2;
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Sora, Manrope, sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  color: #111827;
}
.admin-crumb .adm-ico { color: #6b7280; }
.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.admin-search {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  min-width: 260px;
  box-shadow: 0 1px 2px rgba(17,24,39,0.03);
}
.admin-search-ico { color: #9ca3af; display: inline-flex; }
.admin-search input {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
  font-size: 0.85rem !important;
  color: #6b7280 !important;
  width: 100%;
}
.admin-user-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.28rem 0.55rem 0.28rem 0.28rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.admin-user-chip:hover { border-color: #d1d5db; }
.admin-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.admin-user-meta {
  display: none;
  flex-direction: column;
  line-height: 1.15;
  padding-right: 0.1rem;
  text-align: left;
}
.admin-user-name { font-size: 0.78rem; font-weight: 650; color: #111827; }
.admin-user-email { font-size: 0.68rem; color: #9ca3af; }
.admin-user-caret { color: #9ca3af; flex-shrink: 0; }
.admin-user-menu { position: relative; }
.admin-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px -16px rgba(17,24,39,0.35), 0 1px 2px rgba(17,24,39,0.06);
  padding: 0.4rem;
  z-index: 40;
}
.admin-user-dropdown[hidden] { display: none !important; }
.admin-user-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  cursor: pointer;
}
.admin-user-item:hover { background: #f3f4f6; color: #111827; }
.admin-user-item.is-danger { color: #be123c; }
.admin-user-item.is-danger:hover { background: #fff1f2; }
.admin-user-sep {
  height: 1px;
  background: #f1f5f9;
  margin: 0.25rem 0.35rem;
}

.admin-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}
.admin-bulk-bar[hidden] { display: none !important; }
.admin-bulk-count {
  font-size: 0.84rem;
  font-weight: 650;
  color: #374151;
}
.btn-danger-soft {
  display: inline-flex;
  align-items: center;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  border-radius: 9px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
}
.btn-danger-soft:hover { background: #ffe4e6; }
.admin-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.admin-check input {
  width: 15px;
  height: 15px;
  accent-color: #111827;
  cursor: pointer;
}
tr[data-search-row].is-hidden { display: none; }

.adm-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  padding: 0;
}
.adm-icon-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}
.adm-icon-btn.is-danger { color: #be123c; }
.adm-icon-btn.is-danger:hover {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}
.adm-icon-btn.is-teal { color: #0e6b7a; }
.adm-icon-btn.is-teal:hover {
  background: #ecfeff;
  border-color: #a5f3fc;
  color: #0e6b7a;
}
.adm-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 32px;
  padding: 0 0.7rem 0 0.55rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.adm-text-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}
.adm-text-btn.is-view {
  color: #0e6b7a;
  border-color: #a5f3fc;
  background: #ecfeff;
}
.adm-text-btn.is-view:hover {
  background: #cffafe;
  border-color: #67e8f9;
  color: #0e6b7a;
}
.adm-action-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.table th.col-actions,
.table td.col-actions {
  text-align: right;
  white-space: nowrap;
  min-width: 11rem;
}

.admin-content {
  padding: 1.25rem 1.25rem 2rem;
}
.admin-flash {
  margin-bottom: 1rem;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.admin-flash.is-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.admin-flash.is-error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }

.admin-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-page-title {
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}
.admin-page-sub {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #6b7280;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.admin-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #111827;
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-dark:hover { background: #1f2937; color: #fff; }

.kpi-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.kpi-card {
  background: #fff;
  border: 1px solid #ebeef2;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 1px 2px rgba(17,24,39,0.03);
}
.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kpi-icon.is-teal { background: #ecfdf5; color: #0f766e; }
.kpi-icon.is-blue { background: #eff6ff; color: #1d4ed8; }
.kpi-icon.is-amber { background: #fffbeb; color: #b45309; }
.kpi-icon.is-violet { background: #f5f3ff; color: #6d28d9; }
.kpi-icon.is-rose { background: #fff1f2; color: #be123c; }
.kpi-icon.is-slate { background: #f3f4f6; color: #374151; }
.kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
}
.kpi-value {
  margin-top: 0.7rem;
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.03em;
}
.kpi-meta {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
}

.admin-panel {
  background: #fff;
  border: 1px solid #ebeef2;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(17,24,39,0.03);
  overflow: hidden;
}
.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid #f1f5f9;
}
.admin-panel-title {
  font-family: Sora, Manrope, sans-serif;
  font-size: 0.98rem;
  font-weight: 650;
  color: #111827;
}
.admin-panel-link {
  font-size: 0.8rem;
  font-weight: 650;
  color: #0e6b7a;
  text-decoration: none;
}
.admin-panel-link:hover { text-decoration: underline; }
.admin-panel-body { padding: 1.1rem; }

.admin-shell .card {
  background: #fff;
  border: 1px solid #ebeef2;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(17,24,39,0.03);
}
.admin-shell .btn-teal {
  background: #111827;
  border-radius: 10px;
}
.admin-shell .btn-teal:hover { background: #1f2937; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 650;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid #f1f5f9;
  background: #fcfcfd;
}
.table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  color: #374151;
}
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fafbfc; }
.table tr.is-selected-row td { background: #ecfeff; }

.admin-shell .form-card .label,
.admin-shell .label {
  color: #374151;
  font-weight: 650;
}
.admin-shell .input {
  border-radius: 10px !important;
  border-color: #e5e7eb !important;
  background: #fff !important;
}

.adm-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
}
.adm-pill-sky { background: #e0f2fe; color: #0369a1; }
.adm-pill-amber { background: #fef3c7; color: #b45309; }
.adm-pill-emerald { background: #d1fae5; color: #047857; }
.adm-pill-rose { background: #ffe4e6; color: #be123c; }
.adm-pill-indigo { background: #e0e7ff; color: #4338ca; }
.adm-pill-slate { background: #f3f4f6; color: #4b5563; }

.admin-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.admin-inline-actions form { display: inline-flex; margin: 0; }

.quick-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #ebeef2;
  border-radius: 12px;
  text-decoration: none;
  background: #fcfcfd;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.quick-card:hover {
  background: #fff;
  border-color: #dbe3ea;
}
.quick-card-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-card-title {
  font-size: 0.86rem;
  font-weight: 650;
  color: #111827;
}
.quick-card-sub {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.1rem;
}

/* Full-page admin detail */
.adm-detail { max-width: 1100px; }
.adm-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 650;
  color: #0e6b7a;
  text-decoration: none;
}
.adm-detail-back svg { width: 16px; height: 16px; }
.adm-detail-back:hover { color: #0a5561; }
.adm-detail-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.adm-detail-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}
.adm-detail-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.adm-detail-title {
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.25;
}
.adm-detail-subtitle {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: #64748b;
  max-width: 42rem;
}
.adm-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.adm-detail-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 960px) {
  .adm-detail-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }
}
.adm-detail-main { display: grid; gap: 1rem; }
.adm-detail-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.adm-detail-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.adm-detail-prose {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #334155;
}
.adm-detail-meta { display: grid; gap: 0.85rem; }
.adm-detail-meta-row dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}
.adm-detail-meta-row dd {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: #1f2937;
  word-break: break-word;
}
.adm-detail-side-extra { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #f1f5f9; }
.adm-status-chips-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.55rem;
}
.adm-status-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.adm-status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}
.adm-status-chip:hover { background: #f8fafc; }
.adm-status-chip.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.adm-text-btn.is-primary {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.adm-text-btn.is-primary:hover {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}
.adm-text-btn.is-danger {
  color: #be123c;
  border-color: #fecdd3;
  background: #fff1f2;
}

@media (min-width: 640px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-user-meta { display: flex; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-search { display: inline-flex; }
}
@media (min-width: 1024px) {
  .admin-content { padding: 1.5rem 1.75rem 2.25rem; }
  .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav-desktop { display: none !important; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }
  .admin-nav.hidden { display: none !important; }
  .admin-nav:not(.hidden) { display: flex !important; }
}
