/* ----------------------------------------------------------------
   JobsNonStop — shared stylesheet
   Used by both the React prototype (design canvas) and the deployable
   PHP/HTML site. Tokens live as CSS custom properties so the Tweaks
   panel can recolor things at runtime.
   ---------------------------------------------------------------- */

:root {
  color-scheme: light;
  /* color */
  --jn-bg: #fafbfc;
  --jn-surface: #ffffff;
  --jn-soft: #eef2f7;
  --jn-soft-2: #e3eaf2;
  --jn-line: #dbe2ec;
  --jn-line-strong: #c4cfdc;
  --jn-navy: #0a1f3d;
  --jn-navy-2: #13315c;
  --jn-text: #0a1f3d;
  --jn-muted: #5a6b80;
  --jn-muted-2: #8693a5;

  /* accents */
  --jn-cta: #0e7c5a;
  --jn-cta-hover: #0b6a4d;
  --jn-cta-soft: #e3f3eb;
  --jn-blue: #1d6fd8;
  --jn-blue-soft: #e6effb;
  --jn-warn: #b15c00;
  --jn-warn-soft: #fbf0dd;

  /* type */
  --jn-sans: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --jn-serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;

  /* shape */
  --jn-r-sm: 6px;
  --jn-r-md: 10px;
  --jn-r-lg: 14px;
  --jn-shadow-1: 0 1px 2px rgba(10,31,61,0.04), 0 1px 1px rgba(10,31,61,0.03);
  --jn-shadow-2: 0 6px 20px rgba(10,31,61,0.08), 0 2px 4px rgba(10,31,61,0.04);
}

/* ----------------------------------------------------------------
   Base
   ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--jn-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--jn-text);
  background: var(--jn-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { color: var(--jn-navy); margin: 0; line-height: 1.2; font-weight: 600; }
h1 { font-size: 28px; letter-spacing: -0.01em; }
h2 { font-size: 22px; letter-spacing: -0.005em; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
p  { margin: 0; }
a  { color: var(--jn-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.jn-logo:hover { text-decoration: none; }
small, .jn-small { font-size: 13px; color: var(--jn-muted); }

/* ----------------------------------------------------------------
   Layout
   ---------------------------------------------------------------- */
.jn-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.jn-section   { padding: 32px 0; }
.jn-stack > * + * { margin-top: 12px; }
.jn-stack-lg > * + * { margin-top: 20px; }
.jn-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jn-row-tight { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.jn-grow { flex: 1 1 auto; }

/* ----------------------------------------------------------------
   Top nav (deployable site)
   ---------------------------------------------------------------- */
.jn-topbar {
  background: var(--jn-surface);
  border-bottom: 1px solid var(--jn-line);
}
.jn-topbar-inner {
  display: flex; align-items: center; gap: 16px;
  height: 60px;
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
}
.jn-topbar-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 14px; }
.jn-topbar-nav a { color: var(--jn-navy); }
.jn-topbar-nav a:hover { color: var(--jn-cta); text-decoration: none; }
.jn-topbar-phone {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--jn-line-strong);
  border-radius: 999px;
  color: var(--jn-navy) !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.jn-topbar-phone:hover { border-color: var(--jn-cta); color: var(--jn-cta) !important; text-decoration: none; }
@media (max-width: 640px) {
  .jn-topbar-phone { display: none; }
  .jn-topbar-nav-link { display: none; }
  .jn-topbar-inner { gap: 10px; padding: 0 14px; }
}

/* ----------------------------------------------------------------
   Logo — JobsNonStop
   Mark: navy rounded square containing two white forward-chevrons
   (visual shorthand for "non-stop" forward motion).
   Wordmark: "Jobs" navy + "NonStop" cta-green.
   ---------------------------------------------------------------- */
.jn-logo {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--jn-navy);
}
.jn-logo-mark {
  width: 32px; height: 32px;
  display: inline-flex;
  flex-shrink: 0;
  color: var(--jn-navy); /* SVG rect uses currentColor */
}
.jn-logo-mark svg { width: 100%; height: 100%; display: block; }
.jn-logo-text {
  font-family: var(--jn-sans);
  font-weight: 800; letter-spacing: -0.015em; font-size: 19px;
  line-height: 1;
  white-space: nowrap;
  color: var(--jn-navy);
}
.jn-logo-text em {
  font-style: normal;
  color: var(--jn-cta);
  font-weight: 800;
}
/* on-dark variant for footer (mark = outlined white, wordmark white + green) */
.jn-logo-on-dark { color: #fff; }
.jn-logo-on-dark .jn-logo-mark { color: transparent; }
.jn-logo-on-dark .jn-logo-text { color: #fff; }
.jn-logo-on-dark .jn-logo-text em { color: #5fd29f; }

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.jn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 18px;
  border-radius: var(--jn-r-md);
  font: 600 15px/1 var(--jn-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s, transform .04s;
  text-decoration: none;
  white-space: nowrap;
}
.jn-btn:active { transform: translateY(1px); }
.jn-btn-primary {
  background: var(--jn-cta);
  color: #fff !important;
}
.jn-btn-primary:hover { background: var(--jn-cta-hover); text-decoration: none; }
.jn-btn-secondary {
  background: var(--jn-surface);
  color: var(--jn-navy);
  border-color: var(--jn-line-strong);
}
.jn-btn-secondary:hover { background: var(--jn-soft); text-decoration: none; }
.jn-btn-ghost {
  background: transparent; color: var(--jn-navy);
}
.jn-btn-ghost:hover { background: var(--jn-soft); text-decoration: none; }
.jn-btn-block { width: 100%; }
.jn-btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* ----------------------------------------------------------------
   Inputs
   ---------------------------------------------------------------- */
.jn-field { display: flex; flex-direction: column; gap: 6px; }
.jn-label { font-size: 13px; font-weight: 600; color: var(--jn-navy); }
.jn-input, .jn-select, .jn-textarea {
  width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--jn-line-strong);
  border-radius: var(--jn-r-md);
  font: 15px var(--jn-sans);
  color: var(--jn-text);
  background: var(--jn-surface);
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.jn-textarea { height: auto; padding: 12px; min-height: 100px; resize: vertical; line-height: 1.5; }
.jn-input:focus, .jn-select:focus, .jn-textarea:focus {
  border-color: var(--jn-cta);
  box-shadow: 0 0 0 3px rgba(14,124,90,0.15);
}
.jn-help { font-size: 12px; color: var(--jn-muted); }
.jn-checkbox-row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--jn-text); line-height: 1.5;
}
.jn-checkbox-row input[type=checkbox] {
  margin: 2px 0 0 0; width: 16px; height: 16px;
  accent-color: var(--jn-cta);
}

/* search bar combined */
.jn-searchbar {
  display: grid;
  grid-template-columns: 1fr 160px auto;
  gap: 8px;
  background: var(--jn-surface);
  padding: 10px;
  border-radius: var(--jn-r-lg);
  border: 1px solid var(--jn-line);
  box-shadow: var(--jn-shadow-1);
}
@media (max-width: 640px) {
  .jn-searchbar { grid-template-columns: 1fr; }
}
.jn-searchbar .jn-input { border-color: transparent; }
.jn-searchbar .jn-input:focus { border-color: var(--jn-cta); }

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.jn-hero {
  padding: 56px 0 52px;
  background: linear-gradient(150deg, #0a1f3d 0%, #0d2b50 55%, #0a3347 100%);
  border-bottom: none;
}
.jn-hero h1 {
  font-family: var(--jn-serif);
  font-size: 52px; font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #fff;
}
.jn-hero p.lede { color: rgba(255,255,255,0.78); font-size: 18px; max-width: 58ch; margin-top: 14px; line-height: 1.55; }
.jn-hero .trust { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 14px; }
.jn-hero .jn-searchbar {
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  border-color: transparent;
}
@media (max-width: 640px) {
  .jn-hero { padding: 36px 0 36px; }
  .jn-hero h1 { font-size: 34px; }
  .jn-hero p.lede { font-size: 16px; }
}

/* category grid */
.jn-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .jn-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .jn-cat-grid { grid-template-columns: repeat(2, 1fr); } }
.jn-cat-card {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px;
  background: var(--jn-surface);
  border: 1px solid var(--jn-line);
  border-radius: var(--jn-r-lg);
  padding: 18px 16px 14px;
  text-decoration: none;
  color: var(--jn-navy);
  transition: border-color .12s, box-shadow .12s, transform .1s;
}
.jn-cat-card:hover { border-color: var(--jn-cta); box-shadow: 0 4px 16px rgba(14,124,90,0.12); transform: translateY(-1px); text-decoration: none; }
.jn-cat-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--jn-cta-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--jn-cta);
  flex-shrink: 0;
}
.jn-cat-card-icon svg { width: 20px; height: 20px; }
.jn-cat-card-name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.jn-cat-card-sub { font-size: 12px; color: var(--jn-muted); margin-top: 2px; }
.jn-cat-card-arrow { font-size: 12px; color: var(--jn-cta); font-weight: 600; margin-top: auto; padding-top: 4px; }

/* cta strip */
.jn-cta-strip {
  background: var(--jn-cta);
  padding: 40px 0;
}

/* stat badges row */
.jn-stat-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.jn-stat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.18);
}

/* ----------------------------------------------------------------
   Cards & info blocks
   ---------------------------------------------------------------- */
.jn-card {
  background: var(--jn-surface);
  border: 1px solid var(--jn-line);
  border-radius: var(--jn-r-lg);
  padding: 18px;
}
.jn-card-pad-lg { padding: 24px; }
.jn-card-soft { background: var(--jn-soft); border-color: transparent; }

.jn-feature-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 760px) {
  .jn-feature-grid { grid-template-columns: 1fr; }
}
.jn-feature {
  background: var(--jn-surface);
  border: 1px solid var(--jn-line);
  border-radius: var(--jn-r-lg);
  padding: 28px 22px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.jn-feature h3 { margin-bottom: 6px; font-size: 17px; }
.jn-feature p { font-size: 14px; color: var(--jn-muted); max-width: 32ch; }
.jn-feature .icon {
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--jn-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--jn-navy);
}
.jn-feature .icon svg { width: 30px; height: 30px; }

/* ----------------------------------------------------------------
   Job cards
   ---------------------------------------------------------------- */
.jn-job {
  background: var(--jn-surface);
  border: 1px solid var(--jn-line);
  border-radius: var(--jn-r-lg);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .12s, box-shadow .12s;
}
.jn-job:hover { border-color: var(--jn-line-strong); box-shadow: var(--jn-shadow-1); }
.jn-job-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.jn-job-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.jn-job-employer { font-size: 14px; color: var(--jn-muted); margin-top: 2px; }
.jn-job-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--jn-muted); }
.jn-job-desc { font-size: 14px; color: #2c3e54; line-height: 1.5; flex: 1; }
.jn-job-cta { display: flex; gap: 8px; margin-top: auto; }
.jn-job-cta .jn-btn { flex: 1; justify-content: center; }

/* match score badge */
.jn-match {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  flex-shrink: 0; min-width: 64px;
}
.jn-match-pct {
  font-size: 13px; font-weight: 700;
  color: var(--jn-cta);
  font-variant-numeric: tabular-nums;
}
.jn-match-bar {
  width: 64px; height: 4px;
  background: var(--jn-soft);
  border-radius: 4px; overflow: hidden;
}
.jn-match-bar > i {
  display: block; height: 100%;
  background: var(--jn-cta);
  border-radius: 4px;
}
.jn-match-label {
  font-size: 11px; color: var(--jn-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* compact card density variant */
.jn-job.density-compact {
  padding: 12px 14px;
  border-radius: 10px;
  gap: 6px;
}
.jn-job.density-compact .jn-job-desc { display: none; }
.jn-job.density-compact .jn-match-bar { display: none; }
.jn-job.density-compact .jn-job-cta .jn-btn { height: 32px; padding: 0 10px; font-size: 13px; }

/* ----------------------------------------------------------------
   Chips / tags
   ---------------------------------------------------------------- */
.jn-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--jn-soft);
  color: var(--jn-navy-2);
  border: 1px solid transparent;
  white-space: nowrap;
}
.jn-chip.is-good   { background: var(--jn-cta-soft);  color: #075b41; }
.jn-chip.is-info   { background: var(--jn-blue-soft); color: #134c97; }
.jn-chip.is-warn   { background: var(--jn-warn-soft); color: var(--jn-warn); }
.jn-chip.is-outline{ background: transparent; border-color: var(--jn-line-strong); color: var(--jn-muted); }
.jn-chip-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   Filter sidebar / chips bar
   ---------------------------------------------------------------- */
.jn-filterbar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 10px 0;
}
.jn-filter-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--jn-line-strong);
  background: var(--jn-surface);
  color: var(--jn-navy);
  font-size: 13px;
  cursor: pointer;
}
.jn-filter-btn[aria-pressed="true"] {
  background: var(--jn-navy);
  color: #fff;
  border-color: var(--jn-navy);
}

/* ----------------------------------------------------------------
   Quiz
   ---------------------------------------------------------------- */
.jn-quiz {
  display: flex; flex-direction: column; height: 100%;
  background: var(--jn-bg);
}
.jn-quiz-progress {
  height: 4px; background: var(--jn-soft); position: relative;
}
.jn-quiz-progress > i {
  display: block; height: 100%; background: var(--jn-cta);
  transition: width .25s ease;
}
.jn-quiz-body { padding: 24px 20px 20px; flex: 1 1 auto; overflow-y: auto; }
.jn-quiz-step { font-size: 12px; color: var(--jn-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.jn-quiz-q { font-family: var(--jn-serif); font-size: 26px; font-weight: 600; margin: 8px 0 18px; line-height: 1.2; }
.jn-quiz-options { display: flex; flex-direction: column; gap: 8px; }
.jn-quiz-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--jn-line-strong);
  border-radius: var(--jn-r-md);
  background: var(--jn-surface);
  font-size: 15px; color: var(--jn-navy);
  cursor: pointer; text-align: left;
  transition: border-color .12s, background .12s;
}
.jn-quiz-option:hover { border-color: var(--jn-cta); }
.jn-quiz-option.is-selected {
  border-color: var(--jn-cta);
  background: var(--jn-cta-soft);
  color: #075b41;
}
.jn-quiz-option.is-selected::after {
  content: "✓"; font-weight: 700; color: var(--jn-cta);
}
.jn-quiz-foot {
  padding: 14px 20px 20px;
  border-top: 1px solid var(--jn-line);
  background: var(--jn-surface);
  display: flex; gap: 10px;
}

/* ----------------------------------------------------------------
   Loader
   ---------------------------------------------------------------- */
.jn-loader {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 60px 20px; text-align: center;
  height: 100%;
}
.jn-loader-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--jn-soft);
  border-top-color: var(--jn-cta);
  animation: jn-spin 0.9s linear infinite;
}
@keyframes jn-spin { to { transform: rotate(360deg); } }
.jn-loader-status { font-size: 14px; color: var(--jn-muted); min-height: 20px; }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.jn-footer {
  background: var(--jn-navy);
  color: #c9d3e2;
  padding: 32px 0 28px;
  font-size: 13px;
}
.jn-footer a { color: #c9d3e2; }
.jn-footer a:hover { color: #fff; text-decoration: none; }
.jn-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px;
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
}
@media (max-width: 760px) { .jn-footer-grid { grid-template-columns: 1fr 1fr; } }
.jn-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; font-weight: 600; }
.jn-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.jn-footer-blurb {
  margin-top: 12px; max-width: 320px;
  color: #9aa9be; font-size: 13px; line-height: 1.55;
}
.jn-footer-contact {
  margin-top: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.jn-footer-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.jn-footer-contact a:hover { color: #5fd29f; text-decoration: none; }
.jn-footer-contact svg { color: #9aa9be; flex-shrink: 0; }
.jn-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 28px; padding-top: 18px;
  max-width: 1080px; margin-left: auto; margin-right: auto;
  padding-left: 20px; padding-right: 20px;
  font-size: 12px; color: #8b9bb2;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
}

/* ----------------------------------------------------------------
   Legal page typography
   ---------------------------------------------------------------- */
.jn-legal { max-width: 760px; margin: 0 auto; padding: 32px 20px 60px; }
.jn-legal h1 { font-family: var(--jn-serif); font-size: 32px; font-weight: 600; }
.jn-legal h2 { font-family: var(--jn-serif); margin-top: 28px; margin-bottom: 8px; font-size: 20px; }
.jn-legal p, .jn-legal li { color: #2c3e54; line-height: 1.6; font-size: 15px; }
.jn-legal ul { margin: 8px 0; padding-left: 22px; }
.jn-legal .meta { color: var(--jn-muted); font-size: 13px; margin-top: 4px; }

/* ----------------------------------------------------------------
   SMS / message bubble
   ---------------------------------------------------------------- */
.jn-sms-bubble {
  background: #e9eef5;
  color: #0a1f3d;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 4px;
  font-size: 14px;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.45;
}

/* ----------------------------------------------------------------
   Utility
   ---------------------------------------------------------------- */
.jn-divider { height: 1px; background: var(--jn-line); margin: 16px 0; }
.jn-banner {
  padding: 10px 14px;
  background: var(--jn-blue-soft);
  color: #134c97;
  border-radius: var(--jn-r-md);
  font-size: 13px;
  display: flex; gap: 8px; align-items: center;
}
.jn-banner.is-warn { background: var(--jn-warn-soft); color: var(--jn-warn); }
.jn-banner.is-good { background: var(--jn-cta-soft); color: #075b41; }
.jn-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

/* page-specific full-bleed wrapper for mobile prototype frames */
.jn-mobile-page { min-height: 100%; background: var(--jn-bg); }
.jn-mobile-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--jn-surface);
  border-bottom: 1px solid var(--jn-line);
  position: sticky; top: 0; z-index: 5;
}
.jn-mobile-topbar .jn-grow { display: flex; align-items: center; }
.jn-mobile-back {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--jn-soft); color: var(--jn-navy);
  cursor: pointer; flex-shrink: 0;
  border: none;
}

/* ----------------------------------------------------------------
   Pagination
   ---------------------------------------------------------------- */
.jn-pagination {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--jn-line);
}
.jn-page-btn {
  min-width: 38px; height: 38px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--jn-line-strong);
  border-radius: var(--jn-r-md);
  background: var(--jn-surface);
  color: var(--jn-navy);
  font: 600 14px var(--jn-sans);
  cursor: pointer;
  transition: background .1s, border-color .1s, color .1s;
}
.jn-page-btn:hover { background: var(--jn-soft); border-color: var(--jn-navy); }
.jn-page-btn.is-active {
  background: var(--jn-navy); color: #fff;
  border-color: var(--jn-navy);
  cursor: default;
}
.jn-page-ellipsis {
  font-size: 14px; color: var(--jn-muted); padding: 0 4px;
}

/* ----------------------------------------------------------------
   HTMX spinner
   ---------------------------------------------------------------- */
.jn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid var(--jn-soft);
  border-top-color: var(--jn-cta);
  border-radius: 50%;
  animation: jn-spin .7s linear infinite;
}
.jn-spinner.htmx-request { display: inline-block; }

.jn-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}
.jn-alert-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}
.jn-alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
}
.jn-alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline; }
