:root {
  --ink: #102033;
  --muted: #5b6f84;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --soft: #f4f8fb;
  --wash: #eaf5f6;
  --brand: #12607f;
  --brand-dark: #0b3a57;
  --deep: #0b3a57;
  --blue: #12607f;
  --teal: #138f96;
  --accent: #eaf5f6;
  --success: #176b4d;
  --warning: #8a5a00;
  --danger: #a53434;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(16, 32, 51, .08);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Rubik", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--surface-soft); line-height: 1.65; }
a { color: var(--brand-dark); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: white; padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand-mark { flex: 0 0 auto; width: 38px; height: 38px; object-fit: contain; }
.brand-copy small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.hero { padding: 54px 0 28px; background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-dark); font-size: 13px; font-weight: 800; letter-spacing: .2px; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.06; max-width: 900px; margin: 12px 0 16px; letter-spacing: -1.4px; }
.hero p { max-width: 760px; color: var(--muted); font-size: 18px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 10px 15px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 43px; }
.button:hover { border-color: #aeb9c6; }
.button.primary { background: var(--brand); border-color: var(--brand); color: white; }
.button.primary:hover { background: var(--brand-dark); }
.button.quiet { background: transparent; }
.button.icon { width: 42px; padding: 0; }
main { min-height: 70vh; }
.dashboard { padding: 28px 0 64px; }
.toolbar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 22px; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.search-field { position: relative; }
.search-field input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; background: white; color: var(--ink); }
.search-field input:focus, select:focus, input:focus, textarea:focus { outline: 3px solid rgba(18, 96, 127, .16); border-color: var(--brand); }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.field label { display: block; color: var(--muted); font-size: 12px; font-weight: 800; margin: 0 0 5px; }
.field select, .field input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: white; color: var(--ink); }
.toolbar-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.result-summary { color: var(--muted); font-size: 14px; }
.result-summary strong { color: var(--ink); }
.content-layout { display: block; }
.list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 16px; }
.list-head h2 { margin: 0; font-size: 23px; }
.cards { display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 4px 14px rgba(19,34,56,.04); transition: transform .15s ease, border-color .15s ease; }
.card:hover { border-color: #b6c0cd; transform: translateY(-1px); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.badge { display: inline-flex; align-items: center; min-height: 26px; border-radius: 999px; padding: 3px 9px; background: #eef1f5; color: #445269; font-size: 12px; font-weight: 800; }
.badge.open { background: #e8f5ef; color: var(--success); }
.badge.closing_soon { background: #fff2d7; color: var(--warning); }
.badge.closed, .badge.cancelled { background: #f8e9e9; color: var(--danger); }
.badge.updated { background: var(--accent); color: var(--brand-dark); }
.badge.source { background: #eef1f5; color: #526176; }
.badge.educator-layer { background: #ede8f7; color: #4a3d7a; }
.badge.career-family { background: #e3f0f4; color: #0b4a5c; }
.badge.career-role { background: #eef3f8; color: #2f4a66; }
.card-priority-meta { display: none; }
.card-uncertainty { margin: 10px 0 0; font-size: 13px; }
.career-spotlight { margin-bottom: 28px; }
.career-spotlight .list-head { margin-bottom: 12px; }
.card-lock-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.card-lock-overlay .card-lock-actions .button { pointer-events: auto; }
.card-career { border-inline-start: 3px solid #1a7a8c; }
.hero-career { background: linear-gradient(180deg, #f3f8fa 0%, var(--surface-soft) 100%); }
.track-switch { display: inline-flex; flex-wrap: wrap; gap: 0; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.track-switch a { padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.track-switch a[aria-current="page"] { background: var(--brand-dark); color: #fff; }
.track-switch a:hover:not([aria-current="page"]) { background: #eef5f7; color: var(--ink); }
.category-chips, .family-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0;
}
@supports (view-transition-name: none) {
  #educatorCategoryChips { view-transition-name: educator-category-chips; }
}
::view-transition-old(educator-category-chips),
::view-transition-new(educator-category-chips) {
  animation-duration: 0.28s;
  animation-timing-function: ease;
}
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink); font: inherit; font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
a.chip { color: var(--ink); }
.chip:hover { border-color: #9bb0c0; background: #f4f8fa; }
.chip.is-active, .chip[aria-current="page"] {
  background: var(--brand-dark); border-color: var(--brand-dark); color: #fff;
}
.family-chips { margin: 0 0 14px; padding: 12px; background: #f3f8fa; border: 1px solid var(--line); border-radius: var(--radius); }
.family-chips .chip { min-height: 44px; font-size: 15px; }
.geo-bar {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin-bottom: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.commute-bar {
  background: #f7fafb; border-color: #c5d6de;
}
.commute-bar input[type="text"] {
  width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font: inherit; background: #fff;
}
.commute-hint .muted { line-height: 1.45; }
.card-geo {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline;
  margin: 0 0 10px; font-size: 14px; color: var(--muted);
}
.card-geo span { font-weight: 600; }
.card-geo strong { color: var(--ink); font-weight: 800; }
.hero-educator { background: linear-gradient(180deg, #f7f5f2 0%, var(--surface-soft) 100%); }
@media (max-width: 720px) {
  .geo-bar { grid-template-columns: 1fr; }
}
.career-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.career-stats .count-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.career-stats .count-chip strong { color: var(--brand-dark); margin-inline-end: 4px; }
.profile-career-section { margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #f7fafb; }
.profile-career-section legend { font-weight: 800; padding-inline: 6px; color: var(--brand-dark); }
.profile-career-section .field { margin-top: 10px; }
.favorite { border: 1px solid var(--line); background: white; width: 40px; height: 40px; border-radius: 50%; font-size: 19px; color: var(--muted); flex: 0 0 auto; }
.favorite[aria-pressed="true"] { color: var(--brand); background: var(--accent); border-color: #a8d4dc; }
.card h3 { margin: 0; font-size: 22px; line-height: 1.25; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--brand-dark); text-decoration: underline; }
.publisher { color: var(--muted); font-size: 14px; margin: 6px 0 12px; }
.summary { color: #39475b; margin: 0 0 10px; }
.card-expand { margin: 0 0 12px; min-height: 36px; padding: 6px 12px; font-size: 13px; }
.card-details { margin: 0 0 12px; }
.card-detail { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 8px; }
.card-details .card-detail:last-child { margin-bottom: 0; }
.pagination { margin: 18px 0 8px; }
.pagination[hidden] { display: none; }
.pagination-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pagination-meta { color: var(--muted); font-size: 14px; font-weight: 700; }
.pagination-controls { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination-controls .button { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.pagination-controls .button:disabled { opacity: 0.4; cursor: not-allowed; }
.meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 15px; }
.meta-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; border-bottom: 0; }
.meta-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; margin-bottom: 15px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; }
.detail-hero .hero-facts { color: rgba(255,255,255,.92); }
.detail-hero .hero-facts strong { color: white; }
.meta-item { padding: 11px 0; }
.meta-item + .meta-item { border-inline-start: 1px solid var(--line); padding-inline-start: 14px; }
.meta-item span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; }
.meta-item strong { display: block; font-size: 14px; margin-top: 3px; }
.match-line { background: var(--surface-soft); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
.match-line strong { color: var(--brand-dark); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.card-links { display: flex; flex-wrap: wrap; gap: 9px; }
.checked { color: var(--muted); font-size: 12px; }
.empty { text-align: center; background: white; border: 1px dashed #b9c4d0; border-radius: var(--radius); padding: 50px 20px; color: var(--muted); }
.newsletter { margin-top: 28px; background: var(--ink); color: white; border-radius: 20px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 24px; align-items: center; }
.newsletter h2 { margin: 0 0 8px; }
.newsletter p { margin: 0; color: #cdd6e4; }
.newsletter-actions { display: grid; gap: 8px; justify-items: start; }
.newsletter-actions .button { min-height: 45px; }
.form-message { min-height: 20px; font-size: 13px; color: #d9e5fb; }
.site-footer:not(.ed-standard-footer) { border-top: 1px solid var(--line); background: white; padding: 28px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; color: var(--muted); font-size: 13px; }
.footer-row strong { color: var(--ink); display: block; }
.detail-hero { padding: 34px 0 22px; background: white; border-bottom: 1px solid var(--line); }
.breadcrumbs { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.detail-hero h1 { font-size: clamp(30px, 4vw, 48px); margin: 10px 0; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 28px 0 64px; align-items: start; }
.detail-main, .detail-side { display: grid; gap: 16px; }
.section-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section-card h2 { font-size: 20px; margin: 0 0 12px; }
.section-card h3 { font-size: 15px; margin: 18px 0 7px; }
.section-card p { margin: 0; }
.section-card ul { margin: 8px 0 0; padding-inline-start: 20px; }
.fact-list { display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { color: var(--muted); font-size: 13px; }
.fact dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.side-actions { display: grid; gap: 9px; }
.source-box { border-inline-start: 4px solid var(--brand); }
.quality-meter { height: 7px; background: #e9edf2; border-radius: 999px; overflow: hidden; margin: 8px 0; }
.quality-meter span { display: block; height: 100%; background: var(--brand); }
.rule-list { display: grid; gap: 8px; }
.rule { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; align-items: flex-start; gap: 9px; }
.rule::before { content: "✓"; color: var(--success); font-weight: 900; }
.change { border-inline-start: 3px solid #b7c5d8; padding-inline-start: 12px; margin-top: 12px; }
.change time { color: var(--muted); font-size: 12px; }
.sources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.source-summary .lead { margin-bottom: 18px; }
.count-grid { margin-bottom: 16px; }
.count-grid h3 { margin: 0 0 8px; font-size: 15px; color: var(--muted); }
.count-grid { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.count-grid h3 { width: 100%; }
.count-chip { background: var(--wash); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; display: inline-flex; gap: 8px; align-items: center; }
.count-chip strong { font-size: 15px; color: var(--brand); }
.rules-block { margin-top: 18px; }
.rules-block h3 { margin: 0 0 10px; font-size: 16px; }
.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rule-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fbfdff; }
.rule-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.rule-head h3 { margin: 0; font-size: 16px; }
.rule-card p { margin: 0; color: var(--muted); font-size: 14px; }
.rule-scope { margin-top: 10px; font-size: 12px; color: var(--muted); }
.badge.daily { background: #e8f4ea; color: #1f6b3b; }
.badge.weekly { background: #eef3fb; color: #2f4f86; }
.tier-section { margin-top: 18px; }
.table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; background: white; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.data-table thead th { background: var(--soft); font-size: 12px; color: var(--muted); white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.source-table { width: 100%; border-collapse: collapse; font-size: 13px; background: white; }
.source-table th, .source-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.source-table th[scope="row"] { font-weight: 600; min-width: 180px; }
.source-table thead th { background: var(--soft); font-size: 12px; color: var(--muted); white-space: nowrap; }
.source-table tbody tr:last-child td, .source-table tbody tr:last-child th { border-bottom: 0; }
.example-note { margin: 0 0 14px; padding: 10px 12px; background: #fff8e8; border: 1px solid #f0dfa8; border-radius: 8px; font-size: 13px; color: #5a4a20; }
.muted { color: var(--muted); }
.source-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.source-card h2 { font-size: 19px; margin: 0 0 6px; }
.source-card p { color: var(--muted); font-size: 14px; }
.source-card dl { margin: 12px 0; }
.source-card .fact { grid-template-columns: 105px 1fr; font-size: 13px; }
.notice { background: #fff9e9; border: 1px solid #eddcae; color: #624c13; border-radius: 12px; padding: 14px; margin-bottom: 18px; }
.mobile-filter { display: none; }
dialog { width: min(92vw, 560px); border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.25); padding: 0; }
dialog::backdrop { background: rgba(19,34,56,.5); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dialog-body { padding: 18px; max-height: 72vh; overflow: auto; }
.dialog-body .filter-grid { grid-template-columns: 1fr; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .nav { display: none; }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { grid-row: 1; }
  .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 22px), var(--max)); }
  .header-row { min-height: 62px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 34px; }
  h1 { letter-spacing: -.7px; }
  .hero p { font-size: 16px; }
  .toolbar { padding: 12px; }
  .search-row { grid-template-columns: 1fr auto; }
  .filter-grid.desktop-filters { display: none; }
  .mobile-filter { display: inline-flex; }
  .toolbar-foot { margin-top: 10px; }
  .card { padding: 16px; }
  .card h3 { font-size: 19px; }
  .card-career {
    display: flex;
    flex-direction: column;
  }
  .card-career .card-top { order: 1; }
  .card-career .summary,
  .card-career .card-expand,
  .card-career .card-details { order: 2; }
  .card-career .card-priority-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    order: 3;
    margin: 0 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
  }
  .card-career .card-priority-meta .meta-item {
    padding: 10px 12px;
  }
  .card-career .card-priority-meta .meta-item + .meta-item {
    border-top: 1px solid var(--line);
  }
  .card-career .meta-grid { order: 4; }
  .card-career .card-uncertainty,
  .card-career .match-line { order: 5; }
  .card-career .card-actions { order: 6; }
  .card-career .meta-location,
  .card-career .meta-deadline { display: none; }
  .meta-grid { grid-template-columns: 1fr; }
  .meta-grid-4, .meta-grid-2 { grid-template-columns: 1fr; }
  .meta-item + .meta-item { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline-start: 0; }
  .card-actions { align-items: flex-start; }
  .newsletter { padding: 20px; }
  .newsletter-actions { justify-items: stretch; }
  .newsletter-actions .button { width: 100%; }
  .sources-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .source-table { font-size: 12px; }
  .footer-row { flex-direction: column; }
  .fact { grid-template-columns: 1fr; gap: 3px; }
}
@media print {
  .site-header, .toolbar, .newsletter, .site-footer, .side-actions, .favorite, .access-banner { display: none !important; }
  body { background: white; }
  .detail-layout { grid-template-columns: 1fr; }
  .section-card, .card { box-shadow: none; break-inside: avoid; }
}

.card-locked { position: relative; overflow: hidden; }
.card-lock-body { filter: blur(4px); opacity: 0.45; user-select: none; pointer-events: none; }
.card-lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 20px; text-align: center; background: rgba(255,255,255,.82); border-radius: var(--radius);
}
.card-lock-overlay p { margin: 0; color: var(--muted); font-size: 14px; max-width: 360px; }

.access-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px;
}
.access-banner p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.access-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.button-disabled, .button:disabled { opacity: 0.45; cursor: not-allowed; }

.account-layout { display: grid; gap: 16px; padding: 0 0 64px; max-width: 720px; }
.account-hero { padding: 28px 0 8px; background: white; border-bottom: 1px solid var(--line); }
.account-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.account-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; resize: vertical; }
.account-form .field { margin-bottom: 12px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.contact-dialog-body .contact-form { grid-template-columns: 1fr; margin-top: 12px; }
#eddataContactDialog { width: min(92vw, 560px); }
.profile-summary { display: flex; gap: 16px; align-items: center; }
.avatar { border-radius: 50%; border: 2px solid var(--line); }
.tier-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  background: #eef2f6;
  color: var(--muted);
  white-space: nowrap;
}
.tier-badge.paid { background: #e8f5ef; color: var(--success); }
.tier-badge.pending { background: #fff2d7; color: var(--warning); }
.tier-badge.rejected { background: #f8e9e9; color: var(--danger); }
.section-muted { opacity: 0.92; }
.check-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-weight: 600; }
.check-row input:disabled { cursor: not-allowed; }
.notice.ok { background: #e8f5ef; border-color: #b8e0cc; color: var(--success); }
.notice.warn { background: #f8e9e9; border-color: #e8c4c4; color: var(--danger); }
.access-locked-page { max-width: 640px; margin: 0 auto; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.admin-tabs a.button { text-decoration: none; }
.admin-table td { vertical-align: top; }
.career-review-list { display: grid; gap: 14px; }
.career-review-card {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
@media (min-width: 900px) {
  .career-review-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.9fr);
    grid-template-areas:
      "main fields"
      "actions actions";
    align-items: start;
  }
  .career-review-card__main { grid-area: main; }
  .career-review-card__fields { grid-area: fields; }
  .career-review-card__actions { grid-area: actions; }
}
.career-review-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.35;
}
.career-review-card__reason {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #39475b;
}
.career-review-card__id { margin: 8px 0 0; font-size: 12px; word-break: break-all; }
.career-review-card__fields .field { margin: 0 0 10px; }
.career-review-card__fields label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--muted);
}
.career-review-card__fields input,
.career-review-card__fields select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  background: #fff;
}
.career-review-card__link { margin: 0; font-size: 13px; font-weight: 700; }
.career-review-card__actions { padding-top: 4px; border-top: 1px solid var(--line); }
.repo-edit-form {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.repo-edit-title {
  margin: 0 0 12px;
  font-size: 16px;
}
.repo-edit-form .filter-grid { margin-top: 0; }
.repo-edit-form input,
.repo-edit-form select,
.repo-edit-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  background: #fff;
}
.repo-edit-form textarea { min-height: 72px; resize: vertical; }
dialog.draft-edit-dialog { width: min(96vw, 920px); max-height: 92vh; }
.draft-edit-dialog .dialog-body { max-height: calc(92vh - 70px); overflow: auto; }
.draft-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.draft-edit-form .notice { margin: 0 0 12px; }
.draft-bulk-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.draft-section { margin-top: 18px; }
.draft-section-head { align-items: flex-start; gap: 10px; }
.draft-bulk-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-row-title { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.admin-row-title:hover strong { text-decoration: underline; }
.warn-badge { background: #fef3c7; color: #92400e; border: 1px solid #f6d98a; }
.button-sm { min-height: 32px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.admin-restore-quiet { margin-top: 8px; }
.tippable { position: relative; }
.tippable[data-tip]:hover::after,
.tippable[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  inset-inline-start: 50%;
  transform: translateX(50%);
  background: #1a2b3c;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  padding: 8px 10px;
  border-radius: 8px;
  width: max-content;
  max-width: min(260px, 70vw);
  z-index: 40;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
[dir="rtl"] .tippable[data-tip]:hover::after,
[dir="rtl"] .tippable[data-tip]:focus-visible::after {
  transform: translateX(-50%);
}
.admin-help { margin-bottom: 16px; }
.admin-help summary { cursor: pointer; font-size: 15px; }
.admin-help-body { margin-top: 12px; font-size: 14px; line-height: 1.55; }
.admin-help-body h3 { margin: 14px 0 6px; font-size: 15px; }
.admin-help-body ul, .admin-help-body ol { margin: 0 0 8px; padding-inline-start: 1.3em; }
.admin-detail-panel { background: #f7fafc; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 4px 0 8px; }
.admin-detail-panel p { margin: 0 0 8px; }
.admin-row-title { background: none; border: 0; padding: 0; color: inherit; text-align: right; cursor: pointer; font: inherit; }
.admin-row-title:hover { text-decoration: underline; }
.admin-expandable.is-open > td { background: #f3f7fa; }
.admin-filter-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.admin-filter-row .field { min-width: 220px; flex: 1; }
.admin-repo-cats { margin: 0 0 14px; }
.admin-create-user { margin: 14px 0 18px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; }
.admin-create-user h3 { margin: 0 0 10px; font-size: 15px; }
.admin-form-grid, .admin-inline-form { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.admin-form-grid label, .admin-inline-form label { display: flex; gap: 6px; align-items: center; font-size: 14px; }
.admin-form-grid input[type="email"], .admin-form-grid input[type="text"] { min-width: 180px; }
.form-message { min-height: 20px; font-size: 13px; color: var(--muted); }

.status-grid { display: grid; gap: 16px; }
.status-panel .list-head { margin-bottom: 10px; }
.status-panel h3 { margin: 16px 0 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.admin-status-nav a.button { text-decoration: none; }
.export-panel .export-form { display: grid; gap: 14px; }
.export-fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; display: grid; gap: 8px; }
.export-fieldset legend { padding: 0 6px; font-size: 13px; font-weight: 700; color: var(--brand-dark); }
.export-fieldset label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.export-preview { margin: 0; }
.export-preview strong { color: var(--brand); font-size: 16px; }
@media (min-width: 900px) {
  .status-grid { grid-template-columns: 1fr 1fr; }
  .status-grid > .export-panel { grid-column: 1 / -1; }
}

.hidden { display: none !important; }

.system-message {
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.error-state {
  color: #9b1c1c;
  background: #fff5f5;
  border-color: #e7adb1;
}

.trust-line {
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-nav a {
  color: var(--deep);
  font-weight: 600;
}

/* Radar home (reorg phase 3 + gate stats) */
.hero-radar { padding-bottom: 28px; }
.audience-gates {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 900px;
}
@media (min-width: 720px) {
  .audience-gates { grid-template-columns: 1fr 1fr; }
}
.audience-gate {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(19, 34, 56, .04);
  transition: border-color .15s ease, transform .15s ease;
}
.audience-gate:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.audience-gate strong {
  font-size: 22px;
  color: var(--brand-dark);
  line-height: 1.3;
}
.audience-gate span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.home-tag-nav {
  margin-top: 28px;
  max-width: 900px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.home-tag-nav-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.home-tag-groups {
  display: grid;
  gap: 18px;
}
.home-tag-group-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.home-tag-group .category-chips { margin-top: 0; }
.radar-home-dashboard { padding-top: 20px; }
.radar-section { margin-bottom: 36px; }
.section-lead { margin: 6px 0 0; font-size: 14px; max-width: 52rem; }
.home-stats-totals {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
@media (min-width: 640px) {
  .home-stats-totals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-stat-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}
.home-stat-total:hover { border-color: var(--brand); }
.home-stat-total strong {
  font-size: 28px;
  line-height: 1.1;
  color: var(--brand-dark);
}
.home-stat-total span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.home-stats-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.home-stats-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.home-stats-table th,
.home-stats-table td {
  padding: 12px 14px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.home-stats-table thead th {
  background: #f4f8fa;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.home-stats-table tbody th {
  font-weight: 700;
}
.home-stats-table tbody th a {
  color: var(--ink);
  text-decoration: none;
}
.home-stats-table tbody th a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
.home-stats-table tbody tr:last-child th,
.home-stats-table tbody tr:last-child td {
  border-bottom: 0;
}
.home-stats-table td {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.home-stat-count {
  color: var(--brand-dark);
  text-decoration: none;
}
.home-stat-count:hover { text-decoration: underline; }
.home-stat-zero { color: var(--muted); font-weight: 500; }
.radar-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.radar-secondary a {
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.radar-secondary a:hover { text-decoration: underline; }
.card-compact .card-facts {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
}
.card-compact .card-facts div {
  display: grid;
  gap: 2px;
}
.card-compact .card-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.card-compact .card-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.card-facts-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 10px 0 12px;
}
.card-facts-inline div {
  display: inline-grid;
  gap: 2px;
}
.badge.audience { background: #e8f0f4; color: var(--brand-dark); }
.badge.approaching { background: #fff8e8; color: #7a5a10; }
.notice-inline {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f3f8fa;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
}
.notice-inline a { font-weight: 700; }

