@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #F1F5F9;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --radius: 12px;
  --text: #0F172A;
  --muted: #64748B;
  --primary: #0F172A;
  --primary-hover: #1E293B;
  --accent: #0F766E;
  --accent-soft: #CCFBF1;
  --danger: #DC2626;
  --success: #16A34A;
  --warning: #D97706;
  --info: #2563EB;
  --sidebar-w: 268px;
  --admin-ink: #0B1220;
  --admin-ink-soft: #151E2E;
  --admin-line: rgba(148, 163, 184, 0.16);
  --admin-text: #E2E8F0;
  --admin-muted: #94A3B8;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-brand h1 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.sidebar-brand p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.sidebar-nav { padding: 12px 0; flex: 1; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
  text-decoration: none;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: var(--bg);
}

.sidebar-nav a.active { font-weight: 600; }

.sidebar-nav .nav-icon { width: 18px; text-align: center; color: var(--muted); }

.sidebar-logout {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 28px 32px;
  max-width: calc(100% - var(--sidebar-w));
}

/* Auth pages (no sidebar) */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  width: 100%;
  max-width: 440px;
}

.auth-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-card .subtitle { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.card-value {
  font-size: 28px;
  font-weight: 700;
}

.card-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

/* Page header */
.page-header { margin-bottom: 24px; }
.page-header h2 { font-size: 22px; font-weight: 700; }
.page-header p { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg); text-decoration: none; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
}
.form-control:focus { outline: none; border-color: var(--text); }
.form-error { font-size: 11px; color: var(--danger); margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 14px; text-align: left; }
th { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
td { border-bottom: 1px solid var(--border); font-size: 13px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAFAFA; }

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.badge-green { background: #DCFCE7; color: #15803D; }
.badge-red { background: #FEE2E2; color: #B91C1C; }
.badge-yellow { background: #FEF9C3; color: #A16207; }
.badge-blue { background: #DBEAFE; color: #1D4ED8; }
.badge-gray { background: #F3F4F6; color: #6B7280; }

/* Messages */
.messages { margin-bottom: 20px; }
.alert {
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 8px;
  border: 1px solid;
}
.alert-success { background: #DCFCE7; border-color: #A7F3D0; color: #166534; }
.alert-error { background: #FEE2E2; border-color: #FECACA; color: #991B1B; }
.alert-warning { background: #FEF3C7; border-color: #FDE68A; color: #92400E; }
.alert-info { background: #DBEAFE; border-color: #BFDBFE; color: #1E40AF; }

/* Banner */
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: #FEF9C3;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 13px;
}

/* Charts */
.charts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
.chart-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.chart-card h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.chart-container { position: relative; height: 280px; }
.chart-card .chart-container { padding-top: 4px; }

/* Search & filters */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; align-items: flex-end; }
.filter-bar .form-control { width: auto; min-width: 160px; }

/* Pagination */
.pagination { display: flex; gap: 6px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.page-btn {
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  font-size: 12px;
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
}
.page-btn:hover { background: var(--bg); text-decoration: none; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-info { font-size: 12px; color: var(--muted); margin-left: 8px; }

/* Toggle tabs */
.toggle-tabs { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 20px; width: fit-content; }
.toggle-tab {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  color: var(--muted);
  border: none;
  font-family: inherit;
  transition: background 0.15s;
}
.toggle-tab.active { background: var(--primary); color: #fff; }

/* Dividers */
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* Flex utilities */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-end { display: flex; justify-content: flex-end; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 12px; }
.fw-600 { font-weight: 600; }
.w-full { width: 100%; }

/* Current job card */
.job-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.job-card-title { font-size: 16px; font-weight: 700; }
.job-card-company { font-size: 14px; color: var(--muted); }
.job-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--muted); }

/* Profile photo */
.photo-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.photo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted); }

/* Section title */
.section-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; }

/* Recent list */
.recent-list { list-style: none; }
.recent-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.recent-list li:last-child { border-bottom: none; }

/* ===== Admin shell ===== */
.admin-body {
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(15, 118, 110, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(15, 23, 42, 0.04), transparent 50%),
    var(--bg);
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: var(--sidebar-w);
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.12) 0%, transparent 28%),
    linear-gradient(180deg, var(--admin-ink) 0%, var(--admin-ink-soft) 100%);
  color: var(--admin-text);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 120;
  border-right: 1px solid var(--admin-line);
  overflow-y: auto;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--admin-line);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ECFDF5;
  background: linear-gradient(145deg, #0F766E, #134E4A);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.brand-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name { font-size: 14px; font-weight: 700; color: #F8FAFC; letter-spacing: -0.01em; }
.brand-role { font-size: 11px; color: var(--admin-muted); font-weight: 500; }

.admin-nav {
  flex: 1;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-nav-section { display: flex; flex-direction: column; gap: 4px; }

.admin-nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  padding: 0 12px 8px;
}

.admin-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #CBD5E1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-nav-link:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #F8FAFC;
  text-decoration: none;
}

.admin-nav-link.active {
  background: rgba(15, 118, 110, 0.28);
  color: #F0FDFA;
}

.admin-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #2DD4BF;
}

.admin-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}

.admin-nav-external {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.55;
}

.admin-sidebar-footer {
  padding: 14px 12px 16px;
  border-top: 1px solid var(--admin-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
}

.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #ECFDF5;
  background: #0F766E;
  flex-shrink: 0;
}

.admin-user-meta { display: flex; flex-direction: column; min-width: 0; }
.admin-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-role { font-size: 11px; color: var(--admin-muted); }

.admin-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--admin-line);
  background: transparent;
  color: #CBD5E1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.admin-logout-btn:hover {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.28);
  color: #FECACA;
}

.admin-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-topbar-copy { flex: 1; min-width: 0; }
.admin-topbar-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.admin-topbar-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.admin-menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

.admin-content {
  padding: 28px 32px 40px;
  width: 100%;
  max-width: 1280px;
}

.admin-page-intro { margin-bottom: 22px; }
.admin-page-intro h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.admin-page-intro p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  max-width: 54ch;
}

.admin-stat-grid { margin-bottom: 16px; }

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.stat-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-card-icon svg { width: 18px; height: 18px; }
.stat-card-icon.accent-slate { background: #F1F5F9; color: #334155; }
.stat-card-icon.accent-teal { background: #CCFBF1; color: #0F766E; }
.stat-card-icon.accent-amber { background: #FEF3C7; color: #B45309; }
.stat-card-icon.accent-rose { background: #FFE4E6; color: #BE123C; }

.admin-insight-row {
  display: grid;
  grid-template-columns: minmax(240px, 360px);
  margin-bottom: 24px;
}

.insight-card {
  align-items: center;
  justify-content: space-between;
}

.insight-meter {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background:
    conic-gradient(#0F766E var(--pct), #E2E8F0 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.insight-meter-fill {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--white);
}

.chart-card {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.chart-card-head { margin-bottom: 14px; }
.chart-card-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  text-transform: none;
  letter-spacing: -0.01em;
}
.chart-card-head p {
  font-size: 12px;
  color: var(--muted);
}

.recent-card { padding: 4px 8px 4px 20px; }

.recent-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 8px 14px 0;
}

.recent-main { display: flex; flex-direction: column; gap: 2px; }
.recent-detail { color: var(--text); }
.recent-date { white-space: nowrap; padding-top: 2px; }
.recent-empty { color: var(--muted); justify-content: center; }

.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  z-index: 110;
}

/* Shared polish */
.card, .chart-card, .job-card {
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.btn-primary { background: var(--accent); }
.btn-primary:hover { background: #0D9488; }

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle-tab.active {
  background: var(--accent);
}

.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 18px;
}

/* Modal */
body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  background: rgba(15, 23, 42, 0.48);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  transform: translateY(10px);
  transition: transform 0.18s ease;
}

.modal-overlay.is-open .modal-panel {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.modal-header p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.modal-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover { background: var(--bg); color: var(--text); }

.modal-body { padding: 20px 24px 24px; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .charts-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: 1fr; }
  .admin-content { padding: 22px 18px 32px; }
  .admin-topbar { padding: 14px 18px; }
}

@media (max-width: 860px) {
  .admin-menu-toggle { display: inline-flex; }

  .admin-sidebar {
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }

  .admin-sidebar.is-open { transform: translateX(0); }

  .admin-main { margin-left: 0; }

  .admin-topbar-actions .btn { display: none; }
  .admin-topbar-actions .btn:last-child { display: inline-flex; }
}

@media (max-width: 640px) {
  .layout { flex-direction: column; }
  .sidebar {
    position: static;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    overflow-x: auto;
    min-height: auto;
  }
  .sidebar-brand { padding: 12px 16px; border-bottom: none; border-right: 1px solid var(--border); min-width: 120px; }
  .sidebar-nav { display: flex; flex-direction: row; padding: 0; }
  .sidebar-nav a { padding: 12px 14px; white-space: nowrap; }
  .sidebar-logout { padding: 0; border-top: none; border-left: 1px solid var(--border); }
  .main-content { margin-left: 0; max-width: 100%; padding: 20px 16px; }
  .stat-grid { grid-template-columns: 1fr; }
  .admin-insight-row { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 20px; }
  .filter-bar { flex-direction: column; }
  .filter-bar .form-control { width: 100%; }
  .recent-list li { flex-direction: column; gap: 6px; }
  .admin-topbar-title { font-size: 18px; }
}

/* ===== Landing / front page ===== */
.landing-body {
  background:
    radial-gradient(ellipse 90% 60% at 85% -10%, rgba(15, 118, 110, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 20%, rgba(15, 23, 42, 0.06), transparent 50%),
    var(--bg);
  color: var(--text);
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.landing-nav-brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.landing-nav-brand:hover { text-decoration: none; color: var(--accent); }

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 40px 72px;
  min-height: calc(100vh - 72px);
}

.landing-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  animation: landing-rise 0.7s ease both;
}

.landing-hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 16px;
  animation: landing-rise 0.8s ease 0.05s both;
}

.landing-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 28px;
  animation: landing-rise 0.8s ease 0.12s both;
}

.landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: landing-rise 0.8s ease 0.18s both;
}

.btn-lg {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.05);
  text-decoration: none;
}

.landing-hero-visual {
  position: relative;
  min-height: 340px;
  animation: landing-rise 0.9s ease 0.15s both;
}

.landing-orbit {
  position: absolute;
  inset: 10% 8% 18% 12%;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.18), rgba(15, 23, 42, 0.08)),
    var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.landing-panel {
  position: absolute;
  left: 8%;
  top: 18%;
  width: min(280px, 78%);
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: landing-float 5s ease-in-out infinite;
}

.landing-panel-delay {
  left: auto;
  right: 4%;
  top: auto;
  bottom: 12%;
  animation-delay: 1.2s;
}

.landing-panel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.landing-panel strong {
  font-size: 16px;
  font-weight: 700;
}

.landing-panel-meta {
  font-size: 12px;
  color: var(--muted);
}

.landing-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.landing-section-inner,
.landing-cta-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 40px;
}

.landing-section h2,
.landing-cta-band h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.landing-section-lead,
.landing-cta-band p {
  color: var(--muted);
  font-size: 15px;
  max-width: 48ch;
  margin-bottom: 36px;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.landing-features article {
  padding-top: 16px;
  border-top: 2px solid var(--accent-soft);
}

.landing-features h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.landing-features p {
  color: var(--muted);
  font-size: 14px;
}

.landing-cta-band {
  background:
    linear-gradient(180deg, rgba(204, 251, 241, 0.35), transparent 60%),
    var(--bg);
}

.landing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 40px 36px;
  color: var(--muted);
  font-size: 13px;
}

.landing-footer a {
  color: var(--muted);
  font-weight: 500;
}

@keyframes landing-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes landing-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 32px 24px 56px;
  }

  .landing-hero h1 { max-width: none; }

  .landing-hero-visual {
    min-height: 280px;
    order: -1;
  }

  .landing-features { grid-template-columns: 1fr; gap: 22px; }

  .landing-nav,
  .landing-section-inner,
  .landing-cta-band-inner,
  .landing-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  .landing-nav { padding-top: 14px; padding-bottom: 14px; }
  .landing-nav-actions .btn-outline { display: none; }
  .landing-hero-visual { min-height: 240px; }
  .landing-panel { width: min(240px, 82%); padding: 14px 16px; }
  .landing-cta .btn { width: 100%; justify-content: center; }
}

/* ===== Alumni employment form ===== */
.employment-form {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px 8px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.form-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.form-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.form-panel-icon svg { width: 18px; height: 18px; }

.form-panel-head h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.form-panel-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.form-panel .form-control {
  padding: 10px 12px;
  border-radius: 8px;
  border-color: #Dbe3ee;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-panel .form-control:focus {
  border-color: #0F766E;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-panel .form-label {
  color: #475569;
  letter-spacing: 0.03em;
}

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #F8FAFC;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.check-card:hover {
  border-color: #99F6E4;
  background: #F0FDFA;
}

.check-card input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.check-card-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.check-card-copy strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.check-card-copy small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.form-actions .btn {
  min-height: 40px;
  padding: 10px 18px;
}

@media (max-width: 640px) {
  .form-panel { padding: 18px 16px 4px; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* Alumni report */
.report-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.report-generated { margin: 0; }

.report-filters { margin-bottom: 20px; }

.report-kpi-grid { margin-bottom: 20px; }

.report-section { margin-bottom: 28px; }

.report-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.report-insight {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  border-left: 3px solid #94A3B8;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.report-insight h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.report-insight p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.report-insight.tone-good { border-left-color: #0F766E; }
.report-insight.tone-watch { border-left-color: #D97706; }
.report-insight.tone-alert { border-left-color: #E11D48; }
.report-insight.tone-neutral { border-left-color: #64748B; }

.report-charts { margin-bottom: 8px; }

.report-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}

.report-meter-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #E2E8F0;
  position: relative;
  overflow: hidden;
}

.report-meter-bar::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct);
  background: #0F766E;
  border-radius: inherit;
}

.report-meter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  min-width: 36px;
}

.report-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.report-list-card { padding: 6px 4px 6px 18px; }

.report-breakdown-list {
  list-style: none;
}

.report-breakdown-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.report-breakdown-list li:last-child { border-bottom: none; }

.report-breakdown-list strong {
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

@media (max-width: 960px) {
  .report-insights { grid-template-columns: 1fr; }
  .report-breakdown-grid { grid-template-columns: 1fr; }
}

/* Graduate monitor (alumni list) */
.grad-monitor {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 8px;
  margin-bottom: 22px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.grad-monitor-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.grad-monitor-head h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.grad-monitor-head p {
  font-size: 12px;
  color: var(--muted);
  max-width: 520px;
}

.grad-monitor-year-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.grad-monitor-year-form .form-label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.grad-count-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.grad-count-form { margin: 0; }

.grad-count-item {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.grad-count-item.is-active {
  border-color: #0F766E;
  background: #F0FDFA;
  box-shadow: 0 0 0 1px #0F766E inset;
}

.grad-count-item.is-total {
  background: #F8FAFC;
}

.grad-count-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0F766E;
  text-transform: uppercase;
}

.grad-count-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.grad-count-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.grad-count-input {
  width: 110px;
  min-width: 90px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.grad-count-suffix {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.grad-count-action {
  font-size: 12px;
  font-weight: 700;
  color: #0F766E;
  text-decoration: none;
  white-space: nowrap;
}

.grad-count-action:hover { text-decoration: underline; }

.grad-count-actions {
  display: flex;
  justify-content: flex-end;
  padding: 4px 0 8px;
}

.grad-course-empty {
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border: 1px dashed var(--border);
  border-radius: 10px;
}

.grad-active-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -6px 0 16px;
  padding: 10px 12px;
  background: #F0FDFA;
  border: 1px solid #99F6E4;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
}

.grad-active-filter a {
  margin-left: auto;
  font-weight: 600;
  color: #0F766E;
}

@media (max-width: 640px) {
  .grad-count-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .grad-count-input-wrap {
    flex-wrap: wrap;
  }

  .grad-count-actions {
    justify-content: stretch;
  }

  .grad-count-actions .btn {
    width: 100%;
  }
}

/* ===== Alumni detail profile ===== */
.profile-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 48%),
    var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.profile-hero-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

.profile-hero-photo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: #F8FAFC;
}

.profile-hero-photo--placeholder {
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0F766E;
  background:
    linear-gradient(180deg, #F0FDFA 0%, #CCFBF1 100%);
}

.profile-hero-copy { min-width: 0; }

.profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.profile-hero-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.profile-hero-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.profile-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.profile-hero-job {
  width: min(280px, 100%);
  padding: 16px 18px;
  border-radius: 14px;
  background: #0B1220;
  color: #E2E8F0;
  flex-shrink: 0;
}

.profile-hero-job-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  margin-bottom: 8px;
}

.profile-hero-job-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.profile-hero-job-company {
  margin-top: 4px;
  font-size: 13px;
  color: #CBD5E1;
}

.profile-hero-job-dates {
  margin-top: 12px;
  font-size: 12px;
  color: #94A3B8;
}

.profile-stat-grid { margin-bottom: 20px; }

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.profile-main-col,
.profile-side-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.profile-panel { padding: 22px 24px; }

.profile-panel--flush { padding: 0; overflow: hidden; }

.profile-panel-pad {
  padding: 22px 24px 0;
  margin-bottom: 4px;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.profile-info-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-info-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #EEF2F7;
}

.profile-info-item--wide { grid-column: 1 / -1; }

.profile-info-item dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}

.profile-info-item dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.profile-job-list {
  display: flex;
  flex-direction: column;
  padding: 8px 0 10px;
}

.profile-job-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 16px 24px;
  position: relative;
}

.profile-job-item + .profile-job-item {
  border-top: 1px solid var(--border);
}

.profile-job-marker {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #CBD5E1;
  box-shadow: 0 0 0 4px #F1F5F9;
  justify-self: center;
}

.profile-job-item.is-current .profile-job-marker {
  background: #0F766E;
  box-shadow: 0 0 0 4px #CCFBF1;
}

.profile-job-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.profile-job-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.profile-job-company {
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

.profile-job-dates {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.profile-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.profile-job-meta span {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.profile-job-extra {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.profile-hero-photo-btn {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 22px;
  flex-shrink: 0;
  line-height: 0;
}

.profile-hero-photo-btn:focus-visible {
  outline: 2px solid #0F766E;
  outline-offset: 3px;
}

.profile-job-id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #F8FAFC;
}

.profile-job-id-thumb {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}

.profile-job-id-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.profile-job-id-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.profile-job-id-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-job-id-file {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.modal-panel--photo {
  max-width: 720px;
}

.photo-preview-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photo-preview-image {
  width: 100%;
  max-height: min(70vh, 560px);
  object-fit: contain;
  background: #0B1220;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.profile-survey {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-survey-block {
  padding: 14px 16px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #EEF2F7;
}

.profile-survey-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
}

.profile-survey-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
  white-space: pre-wrap;
}

.profile-survey-foot {
  font-size: 12px;
  color: var(--muted);
}

.profile-empty {
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.profile-empty--compact {
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #F8FAFC;
}

@media (max-width: 980px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-hero {
    flex-direction: column;
  }
  .profile-hero-job { width: 100%; }
}

@media (max-width: 640px) {
  .profile-hero { padding: 18px; }
  .profile-hero-main { align-items: flex-start; }
  .profile-hero-photo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
  .profile-hero-name { font-size: 22px; }
  .profile-info-grid { grid-template-columns: 1fr; }
  .profile-job-top { flex-direction: column; gap: 6px; }
  .profile-job-item { padding: 14px 18px; }
  .profile-panel { padding: 18px; }
  .profile-panel-pad { padding: 18px 18px 0; }
}

@media print {
  .admin-sidebar,
  .admin-topbar,
  .admin-sidebar-backdrop,
  .no-print,
  .messages {
    display: none !important;
  }

  .admin-main { margin-left: 0 !important; }
  .admin-content { padding: 0 !important; }
  .admin-body { background: #fff; }
  .stat-card,
  .chart-card,
  .card,
  .report-insight {
    box-shadow: none !important;
    break-inside: avoid;
  }
  .chart-container { height: 220px; }
}

/* ===== Employment history (list, no cards) ===== */
.employment-history {
  max-width: 860px;
}

.employment-history-header {
  margin-bottom: 22px;
}

.employment-history-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.employment-history-header h2 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.employment-history-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.employment-history-banner {
  margin-bottom: 18px;
}

.employment-history-banner form {
  margin: 0;
}

.employment-history-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.employment-history-toolbar a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.employment-history-toolbar a:hover {
  text-decoration: underline;
}

.employment-history-list {
  margin: 0;
}

.employment-history-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.employment-history-row.is-last {
  border-bottom: 0;
}

.employment-history-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.employment-history-copy {
  flex: 1;
  min-width: 0;
}

.employment-history-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.employment-history-title-line h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.employment-history-current {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.employment-history-company {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}

.employment-history-meta,
.employment-history-dates,
.employment-history-extra {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.employment-history-dates {
  color: #475569;
  font-weight: 600;
}

.employment-history-id {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--muted);
  flex-shrink: 0;
}

.employment-history-id img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: #E2E8F0;
  display: block;
}

.employment-history-id span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.employment-history-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
}

.employment-history-actions a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.employment-history-actions a:hover {
  text-decoration: underline;
}

.employment-history-actions a.is-danger {
  color: #B91C1C;
}

.employment-history-actions span {
  color: #CBD5E1;
  font-weight: 700;
}

.employment-history-empty {
  padding: 28px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.employment-history-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .employment-history-header h2 {
    font-size: 24px;
  }

  .employment-history-main {
    gap: 12px;
  }

  .employment-history-id img {
    width: 48px;
    height: 48px;
  }
}
