/* Ported from the Anders Group design repo: templates/job-search/ct-tech-texas.html
   Scoped to .anders-design and re-indented on the way in; the rules
   themselves are verbatim. Do not hand-edit — a re-port overwrites this
   file. Change the design repo and re-run:
     node tools/port-design.js
   See JOB-TEMPLATES-PLAN.md. */

/* =========================================================================
   Page — mobile-first (375px baseline), widened at 768 / 1024
   (canonical breakpoints — see css/tokens.css).
   ========================================================================= */
.anders-design .page {
  background: var(--card);
  min-height: 100vh;
  overflow-x: clip;
}

.anders-design .skip-link {
  position: absolute;
  left: var(--s-3);
  top: -56px;
  z-index: 60;
  background: var(--accent);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 500;
  transition: top .15s ease;
}

.anders-design .skip-link:focus {
  top: var(--s-3);
}

/* ---------- Header (sticky; enlarged wordmark — the header logo embeds a
   tight-cropped wordmark so its rendered height is the visible pill) ---------- */

/* ---------- Breadcrumb band ---------- */
.anders-design .breadcrumb-band {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.anders-design .breadcrumb {
  font-size: 13px;
  color: var(--muted);
}

.anders-design .breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.anders-design .breadcrumb ol::-webkit-scrollbar {
  display: none;
}

.anders-design .breadcrumb li {
  display: flex;
  align-items: center;
}

.anders-design .breadcrumb li+li::before {
  content: "›";
  margin-right: 6px;
  color: var(--muted);
}

.anders-design .breadcrumb a,
.anders-design .breadcrumb [aria-current="page"] {
  display: inline-block;
  padding: 13px 2px;
}

.anders-design .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.anders-design .breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.anders-design .breadcrumb [aria-current="page"] {
  color: var(--slate);
  font-weight: 500;
}

.anders-design .bc-mid {
  display: none;
}

/* ---------- Hero header (image right, navy scrim left, neon base rule) ---------- */
.anders-design .hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.anders-design .hero-bg {
  position: absolute;
  inset: 0;
  background-position: right 32%;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: var(--hero-image,url("../images/design/job-search-1.jpg"));
}

.anders-design .hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,var(--navy) 0%,rgba(3,61,99,.94) 34%,rgba(3,61,99,.55) 58%,rgba(3,61,99,.12) 80%,rgba(3,61,99,0) 100%);
}

.anders-design .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--action);
}

.anders-design .hero-inner {
  position: relative;
  padding-top: 28px;
  padding-bottom: 28px;
  max-width: 620px;
}

.anders-design h1 {
  font-size: 26px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.015em;
}

.anders-design .hero h1 {
  color: var(--on-dark);
}

.anders-design .intro {
  margin-top: var(--s-2);
  font-size: 15px;
  max-width: 76ch;
}

.anders-design .hero .intro {
  color: var(--on-dark-2);
}

/* =========================================================================
   SECTION 1 — floating search & filter row
   ONE ROW ALWAYS. position:sticky from page load, under the sticky header.
   No ancestor overflow:hidden/auto or fixed height (page uses overflow-x:clip
   only, matching FINAL v3, which does not create a scroll container).
   ========================================================================= */
/* -1px: this bar carries its own border-top, so it tucks under the header's
   bottom border instead of stacking against it and drawing a 2px seam. */
.anders-design .fbar-wrap {
  position: sticky;
  top: calc(var(--h-header) - 1px);
  z-index: 30;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}

.anders-design .fbar-wrap.stuck {
  box-shadow: var(--shadow-md);
}

.anders-design .fbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: var(--s-3);
  padding-bottom: var(--s-3);
}

.anders-design .fsearch-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.anders-design .fsearch {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  border: 1.5px solid var(--accent-line);
  border-radius: var(--r-field);
  background: var(--card);
  height: 52px;
  padding: 0 6px 0 13px;
}

.anders-design .fsearch .go {
  flex: none;
  border: 0;
  background: var(--cta);
  color: var(--on-dark);
  border-radius: 9px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(4,79,129,.25);
}

.anders-design .fsearch .go:hover {
  filter: brightness(1.08);
}

.anders-design .suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 36;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  display: none;
  padding: 6px;
}

.anders-design .suggest.on {
  display: block;
}

.anders-design .suggest button {
  width: 100%;
  text-align: left;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 14px;
  color: var(--slate);
  display: flex;
  gap: 9px;
  align-items: center;
}

.anders-design .suggest button:hover,
.anders-design .suggest button:focus-visible {
  background: var(--accent-soft);
}

.anders-design .suggest svg {
  color: var(--muted);
  flex: none;
}

.anders-design .fsearch:focus-within {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.anders-design .fsearch>svg {
  color: var(--accent);
  flex: none;
}

.anders-design .fsearch input {
  border: 0;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: transparent;
}

.anders-design .fsearch input::placeholder {
  color: var(--muted);
}

.anders-design .fsearch .clr {
  display: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--slate);
  font-size: 14px;
  line-height: 1;
  flex: none;
}

.anders-design .fsearch.has-val .clr {
  display: grid;
  place-items: center;
}

.anders-design .fsearch .clr:hover {
  background: var(--accent-line);
}

/* Anchor filters — CATEGORY / SPECIALTY / STATE (label-over-value, set state) */
.anders-design .pillwrap {
  position: relative;
  flex: none;
  display: none;
}

.anders-design .anchor {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  height: 52px;
  padding: 0 13px;
  border: 1.5px solid var(--accent-line);
  border-radius: var(--r-field);
  background: var(--panel);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color .15s,background .15s;
}

.anders-design .anchor .ic {
  color: var(--muted);
  flex: none;
}

.anders-design .anchor .txt {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.anders-design .anchor .lab {
  display: block;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  line-height: 1;
}

.anders-design .anchor .val {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anders-design .anchor .chev,
.anders-design .anchor .check {
  margin-left: auto;
  flex: none;
}

.anders-design .anchor .chev {
  color: var(--muted);
  transition: transform .15s;
}

.anders-design .anchor .check {
  display: none;
  color: var(--accent);
}

.anders-design .anchor:hover {
  border-color: var(--accent);
}

.anders-design .anchor[aria-expanded="true"] {
  border-color: var(--accent);
}

.anders-design .anchor[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.anders-design .anchor.set .ic,
.anders-design .anchor.set .lab {
  color: var(--accent);
}

.anders-design .anchor.set .val {
  color: var(--ink);
}

.anders-design .anchor.set .chev {
  display: none;
}

.anders-design .anchor.set .check {
  display: block;
}

.anders-design .more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
  padding: 10px 6px;
  white-space: nowrap;
}

.anders-design .more-link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.anders-design .sortsel {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  border: 1.5px solid var(--accent-line);
  border-radius: var(--r-field);
  background: var(--card);
  padding: 10px 12px;
  cursor: pointer;
}

.anders-design .sortsel:hover {
  border-color: var(--accent);
}

.anders-design .count-badge {
  background: var(--accent);
  color: var(--on-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--r-pill);
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  line-height: 1;
}

.anders-design .mfilters {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: var(--r-field);
  background: var(--accent-soft);
  color: var(--accent-d);
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  flex: none;
}

.anders-design .fpanel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 35;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  min-width: 270px;
  padding: 10px;
  text-align: left;
}

.anders-design .fpanel.on {
  display: block;
}

.anders-design .fpanel.right {
  left: auto;
  right: 0;
}

.anders-design .fpanel .ptitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px 6px;
}

.anders-design .fopt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border-radius: var(--r-sm);
  padding: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  text-align: left;
}

.anders-design .fopt:hover {
  background: var(--accent-soft);
}

.anders-design .fopt .nm {
  display: flex;
  align-items: center;
  min-width: 0;
}

.anders-design .fopt .cnt {
  font-size: 12.5px;
  color: var(--muted);
}

.anders-design .fopt .ck {
  flex: none;
  width: 18px;
  height: 18px;
  margin-right: 9px;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: transparent;
  background: var(--card);
}

.anders-design .fopt.on {
  color: var(--accent-d);
  font-weight: 700;
}

.anders-design .fopt.on .ck {
  background: var(--action);
  border-color: var(--action-d);
  color: var(--action-ink);
}

.anders-design .fopt.soon {
  cursor: not-allowed;
  color: var(--muted);
  opacity: .75;
}

.anders-design .fopt.soon:hover {
  background: transparent;
}

.anders-design .soon-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  padding: 3px 9px;
  white-space: nowrap;
}

.anders-design .fpanel .psearch {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-sm);
  padding: 8px 11px;
  margin: 4px 6px 8px;
}

.anders-design .fpanel .psearch svg {
  color: var(--muted);
  flex: none;
}

.anders-design .fpanel .psearch input {
  border: 0;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
}

.anders-design .fpanel .pscroll {
  max-height: 264px;
  overflow-y: auto;
}

.anders-design .fpanel-spec {
  min-width: 300px;
}

.anders-design .pillwrap.sortwrap {
  display: block;
  margin-left: auto;
}

/* ---------- Applied-filter chips / results meta / notices ---------- */
.anders-design .chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
  padding-top: var(--s-4);
}

.anders-design .chips-row[hidden] {
  display: none;
}

.anders-design .chip-applied {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-d);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--r-pill);
  padding: 6px 7px 6px 13px;
}

.anders-design .chip-applied .x {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--card);
  color: var(--slate);
}

.anders-design .chip-applied .x:hover {
  background: var(--accent-line);
  color: var(--accent-d);
}

.anders-design .chip-clear {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 7px 4px;
}

.anders-design .proto-note {
  margin-top: var(--s-3);
  font-size: 12.5px;
  color: var(--slate);
  background: var(--amber-soft);
  border: 1px solid var(--amber-line);
  border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-3);
  display: none;
  max-width: 76ch;
}

.anders-design .proto-note.on {
  display: block;
}

.anders-design .results-meta {
  padding-top: var(--s-3);
  font-size: 13px;
  color: var(--muted);
}

.anders-design .results-meta b {
  color: var(--slate);
  font-weight: 700;
}

/* ---------- Empty state ---------- */
.anders-design .empty-state {
  display: none;
  text-align: center;
  padding: 44px 20px;
  border: 1.5px dashed var(--accent-line);
  border-radius: var(--r);
  background: var(--canvas);
  margin-bottom: var(--s-3);
}

.anders-design .empty-state.on {
  display: block;
}

.anders-design .empty-state h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.anders-design .empty-state p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: var(--s-4);
}

/* ---------- Featured Jobs (compact horizontal cards) ---------- */
.anders-design .featured {
  padding-top: var(--s-6);
}

.anders-design .featured h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: var(--s-3);
}

.anders-design .feat-grid {
  display: grid;
  gap: var(--s-3);
}

.anders-design .feat-card {
  padding: var(--s-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anders-design .feat-card:hover {
  box-shadow: var(--shadow-md);
}

.anders-design .feat-city {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.anders-design .feat-sub {
  font-size: 13px;
  color: var(--muted);
}

.anders-design .feat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: var(--s-1);
}

.anders-design .feat-pay {
  font-size: 22px;
  font-weight: 700;
  color: var(--emph);
  letter-spacing: -.01em;
}

.anders-design .feat-meta {
  font-size: 13px;
  color: var(--slate);
  white-space: nowrap;
}

.anders-design .feat-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

.anders-design .feat-link:hover {
  text-decoration: underline;
}

/* ---------- Pagination ---------- */
.anders-design .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-6);
  flex-wrap: wrap;
}

.anders-design .page-btn {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1.5px solid var(--accent-line);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--slate);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.anders-design .page-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.anders-design .page-btn[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-dark);
  font-weight: 700;
  cursor: default;
}

.anders-design .page-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.anders-design .page-btn:disabled:hover {
  border-color: var(--accent-line);
  color: var(--slate);
}

/* =========================================================================
   SECTION 2 — job cards
   ========================================================================= */
.anders-design .results {
  padding-top: var(--s-3);
}

.anders-design .job-card {
  padding: 18px 22px;
  margin-bottom: var(--s-3);
}

.anders-design .job-card:hover {
  box-shadow: var(--shadow-md);
}

.anders-design .job-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 4px 11px;
  margin-bottom: var(--s-2);
}

.anders-design .badge-new {
  background: var(--accent-soft);
  color: var(--accent-d);
}

.anders-design .badge-priority {
  background: var(--navy);
  color: var(--on-dark);
}

.anders-design .job-title {
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 700;
}

.anders-design .job-title a {
  color: var(--ink);
}

.anders-design .job-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.anders-design .job-facts {
  margin-top: var(--s-3);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.anders-design .job-pay {
  white-space: nowrap;
}

.anders-design .job-pay strong {
  font-size: 24px;
  font-weight: 700;
  color: var(--emph);
  letter-spacing: -.01em;
}

.anders-design .job-pay span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.anders-design .job-start {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--slate);
  white-space: nowrap;
}

.anders-design .job-start svg {
  color: var(--accent);
  flex: none;
}

.anders-design .job-side {
  margin-top: var(--s-4);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-2);
}

.anders-design .job-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  text-align: center;
}

.anders-design .job-actions .btn {
  width: 100%;
}

.anders-design .view-link {
  justify-content: center;
}

.anders-design .view-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.anders-design .view-link:hover {
  text-decoration: underline;
}

.anders-design .load-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--s-6);
}

.anders-design .end-note {
  display: none;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--s-4);
}

/* =========================================================================
   SECTION 3a — market snapshot (light card, navy figures, count-up on scroll)
   ========================================================================= */
.anders-design .stat-band {
  margin-top: var(--s-section);
  border-radius: var(--r-lg);
  background: var(--band-soft);
  border: 1px solid var(--line);
  padding: var(--s-6);
  box-shadow: var(--shadow);
}

.anders-design .stat-grid {
  display: grid;
  gap: var(--s-6);
}

.anders-design .stat-figs {
  display: flex;
  gap: var(--s-8);
  flex-wrap: wrap;
  align-items: flex-start;
}

.anders-design .stat-fig .num {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent);
  line-height: 1;
}

.anders-design .stat-fig .num .cur {
  font-size: 26px;
  vertical-align: 6px;
  margin-right: 2px;
}

.anders-design .stat-fig .lbl {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--slate);
  font-weight: 600;
  max-width: 16ch;
}

.anders-design .stat-copy h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: var(--s-3);
}

.anders-design .stat-copy p {
  font-size: 15.5px;
  color: var(--slate);
  max-width: 62ch;
  line-height: 1.6;
}

/* ---------- Section divider (matches FINAL v3) ---------- */
.anders-design .section {
  margin-top: var(--s-section);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}

.anders-design .section h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: var(--s-4);
}

.anders-design .section p {
  max-width: 76ch;
  margin-bottom: 14px;
  color: var(--slate);
}

.anders-design .section p:last-child {
  margin-bottom: 0;
}

/* 3b authority */
.anders-design .authority-grid {
  display: grid;
  gap: var(--s-6);
}

.anders-design .auth-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* 3d blog widget */
.anders-design .blog-grid {
  display: grid;
  gap: var(--s-4);
}

.anders-design .blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.anders-design .blog-card:hover {
  box-shadow: var(--shadow-md);
}

.anders-design .blog-img {
  aspect-ratio: 16/9;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.anders-design .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.anders-design .blog-body {
  padding: var(--s-card);
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.anders-design .blog-cat {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-d);
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

.anders-design .blog-card h3 {
  font-size: 16.5px;
  line-height: 1.35;
}

.anders-design .blog-card p {
  font-size: 14px;
  color: var(--slate);
}

.anders-design .blog-more {
  margin-top: auto;
  padding-top: 6px;
}

/* 3e accordion interlinks */
.anders-design .linkcols {
  display: grid;
  gap: var(--s-3);
}

.anders-design .linkcol {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}

.anders-design .linkcol-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  padding: var(--s-4) var(--s-card);
  text-align: left;
}

.anders-design .linkcol-q:hover {
  background: var(--accent-soft);
  border-radius: var(--r);
}

.anders-design .linkcol-q svg {
  flex: none;
  color: var(--accent);
  transition: transform .18s ease;
}

.anders-design .linkcol-q[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.anders-design .linkcol-list {
  list-style: none;
  padding: 0 var(--s-card) var(--s-4);
}

.anders-design .linkcol-list[hidden] {
  display: none;
}

.anders-design .linkcol-list a {
  display: inline-block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--slate);
}

.anders-design .linkcol-list a:hover {
  color: var(--accent);
}

.anders-design .linkcol-list .lk-pay {
  color: var(--emph);
  font-weight: 700;
}

/* ---------- Footer (matches FINAL v3) ---------- */

/* ---------- Quick Apply modal (approved form, FINAL v3 skin) ---------- */
.anders-design .qa-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: 58;
  border: none;
  cursor: pointer;
}

.anders-design .qa-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  align-items: flex-start;
  justify-content: center;
  padding: var(--s-4);
  overflow-y: auto;
}

body.anders-design.qa-open .qa-backdrop {
  display: block;
}

body.anders-design.qa-open .qa-modal {
  display: flex;
}

body.anders-design.qa-open {
  overflow: hidden;
}

.anders-design .apply-card {
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border-radius: var(--r);
}

.anders-design .apply-head {
  background: var(--navy);
  color: var(--on-dark);
  padding: var(--s-3) var(--s-card);
}

.anders-design .apply-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.anders-design .apply-head h2 {
  font-size: 19px;
  color: var(--on-dark);
  font-weight: 700;
  letter-spacing: -.01em;
}

.anders-design .apply-head p {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--on-dark-2);
  line-height: 1.4;
}

.anders-design .qa-close {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--on-dark);
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.anders-design .qa-close:hover {
  background: var(--line-on-dark);
}

.anders-design .apply-ctx {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: var(--s-3);
}

.anders-design .apply-ctx b {
  color: var(--ink);
}

.anders-design .apply-ctx .cx-pay {
  color: var(--emph);
  font-weight: 700;
}

.anders-design .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.anders-design .attach-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  padding: 10px 0;
  position: relative;
  width: fit-content;
}

/* The row is a label plus its hint, and neither reads as a phrase once it
   breaks mid-way: keep each part whole and let the hint drop to its own line
   in a card too narrow for both. The hint is written short enough that this
   does not happen in the apply card at any supported width. */
.anders-design .attach-line > span {
  white-space: nowrap;
}

.anders-design .attach-line:hover {
  text-decoration: underline;
}

.anders-design .attach-line:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.anders-design .attach-line input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.anders-design .attach-meta {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

/* .consent is a component; only the spacing to the button below it is local. */
.anders-design .consent {
  margin-bottom: 11px;
}

.anders-design .apply-rating {
  margin-top: var(--s-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

.anders-design .apply-rating .stars {
  color: var(--star);
  font-size: 13px;
  letter-spacing: 1px;
}

.anders-design .apply-rating strong {
  color: var(--ink);
  font-weight: 700;
}

.anders-design .ask-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--s-4) 0;
}

.anders-design .ask-divider::before,
.anders-design .ask-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.anders-design .ask-divider span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.anders-design .apply-phone-line {
  margin-top: 9px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.anders-design .apply-phone-line a {
  color: var(--accent);
  font-weight: 700;
}

.anders-design .apply-success {
  display: none;
  padding: 30px var(--s-6);
  text-align: center;
  background: var(--card);
}

.anders-design .success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--action-line);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.anders-design .apply-success h2 {
  font-size: 19px;
  margin-bottom: var(--s-2);
}

.anders-design .apply-success p {
  font-size: 14px;
  color: var(--muted);
  max-width: 32ch;
  margin: 0 auto var(--s-4);
}

/* Success links (source of truth: job page FINAL v3/4) */
.anders-design .success-links {
  display: grid;
  gap: var(--s-2);
}

.anders-design .success-links a,
.anders-design .success-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 16px;
}

.anders-design .success-links .primary {
  background: var(--accent);
  color: var(--on-dark);
  border: none;
}

.anders-design .success-links .primary:hover {
  background: var(--accent-d);
}

.anders-design .success-links .secondary {
  background: var(--card);
  color: var(--accent);
  border: 1.5px solid var(--accent-line);
}

.anders-design .success-links .secondary:hover {
  border-color: var(--accent);
}

.anders-design .apply-rating .rating-note {
  white-space: nowrap;
}

.anders-design .sheet-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.anders-design .qa-sheet-close {
  display: grid;
  place-items: center;
  font: inherit;
  color: var(--on-dark);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
  margin: -7px -10px -7px 0;
  cursor: pointer;
}

.anders-design .qa-sheet-close:hover {
  background: var(--line-on-dark);
}

.anders-design .qa-handle {
  display: none;
  width: 44px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--on-dark-3);
  margin: 0 auto var(--s-2);
}

/* Mobile: the Quick Apply dialog presents as a bottom sheet (source of truth) */
@keyframes sheetUp {
  from {
    transform: translateY(105%);
  }

  to {
    transform: translateY(0);
  }
}

.anders-design .qa-modal.as-sheet {
  align-items: flex-end;
  padding: 0;
}

.anders-design .qa-modal.as-sheet .apply-card {
  max-width: none;
  width: 100%;
  max-height: 88%;
  overflow-y: auto;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  animation: sheetUp .28s ease;
}

.anders-design .qa-modal.as-sheet .apply-head {
  position: sticky;
  top: 0;
  z-index: 2;
}

.anders-design .qa-modal.as-sheet .qa-handle {
  display: block;
}

/* ---------- Ask an Expert modal (source of truth markup + styling) ---------- */
.anders-design .ask-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: 66;
  border: none;
  cursor: pointer;
}

.anders-design .ask-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 68;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
}

body.anders-design.ask-open .ask-backdrop {
  display: block;
}

body.anders-design.ask-open .ask-modal {
  display: flex;
}

body.anders-design.ask-open {
  overflow: hidden;
}

.anders-design .ask-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--s-6);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.anders-design .ask-close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  color: var(--muted);
  cursor: pointer;
}

.anders-design .ask-close:hover {
  background: var(--accent-soft);
  color: var(--accent-d);
}

.anders-design .ask-card h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  padding-right: 40px;
}

.anders-design .ask-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--slate);
}

.anders-design .job-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: var(--s-4);
  margin-bottom: var(--s-3);
  padding: 7px 12px;
  background: var(--accent-soft);
  color: var(--accent-d);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
}

.anders-design .job-pill svg {
  flex: none;
  color: var(--accent);
}

/* The textarea is styled by the .field component (css/components.css) like
   every other control in the form. It used to be overridden here, which cost
   it the floating label's padding and the shared focus ring. */

/* ---------- Mobile filter bottom sheet ---------- */
.anders-design .sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: 48;
  border: none;
  cursor: pointer;
}

.anders-design .filter-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  transform: translateY(105%);
  transition: transform .28s ease;
  max-height: 86%;
  display: flex;
  flex-direction: column;
}

body.anders-design.sheet-open .filter-sheet {
  transform: translateY(0);
}

body.anders-design.sheet-open .sheet-backdrop {
  display: block;
}

body.anders-design.sheet-open {
  overflow: hidden;
}

.anders-design .filter-sheet .sheet-card {
  background: var(--card);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow-y: auto;
  padding: 10px var(--s-4) var(--s-6);
}

.anders-design .sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--accent-line);
  margin: 0 auto 10px;
}

.anders-design .sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.anders-design .sheet-head h2 {
  font-size: 18px;
}

.anders-design .sheet-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--muted);
}

.anders-design .sheet-close:hover {
  background: var(--accent-soft);
}

.anders-design .sheet-group {
  margin-bottom: var(--s-4);
}

.anders-design .sheet-glab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.anders-design .sheet-opts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.anders-design .chip-opt {
  border: 1px solid var(--accent-line);
  background: var(--card);
  color: var(--slate);
  border-radius: var(--r-pill);
  padding: 9px 15px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
}

.anders-design .chip-opt.sel {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-d);
  font-weight: 700;
}

/* =========================================================================
   768px — tablet
   ========================================================================= */
@media (min-width:768px) {
  .anders-design .breadcrumb ol {
    flex-wrap: wrap;
    white-space: normal;
    overflow: visible;
  }

  .anders-design .bc-mid {
    display: flex;
  }

  .anders-design h1 {
    font-size: 34px;
  }

  /* Reduced-height hero (was 440px). At tablet widths the photo keeps the
       cover crop with a raised focal point so the technologist's head clears
       the top edge; the full-scene treatment arrives at 1024. */
  .anders-design .hero {
    min-height: 225px;
    display: flex;
    align-items: center;
  }

  .anders-design .hero>.shell {
    width: 100%;
  }

  .anders-design .hero-inner {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .anders-design .hero-bg {
    background-position: right 26%;
  }

  .anders-design .hero-scrim {
    background: linear-gradient(90deg,var(--navy) 0%,rgba(3,61,99,.92) 30%,rgba(3,61,99,.35) 55%,rgba(3,61,99,0) 74%);
  }

  .anders-design .stat-grid {
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: var(--s-8);
  }

  .anders-design .stat-band {
    padding: 44px var(--s-8);
  }

  .anders-design .stat-copy {
    border-left: 1px solid var(--accent-line);
    padding-left: var(--s-8);
  }

  .anders-design .authority-grid {
    grid-template-columns: minmax(0,1fr) 320px;
    align-items: start;
  }

  .anders-design .blog-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .anders-design .feat-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .anders-design .linkcols {
    grid-template-columns: repeat(3,1fr);
    align-items: start;
  }
}

/* =========================================================================
   1024px — desktop: full pill row, card row layout
   ========================================================================= */
@media (min-width:1024px) {
  /* Full-scene hero photo: fit by height (auto 150% ≈ whole scene visible)
       instead of cover-cropping, so the technologist's head keeps headroom and
       the patient stays in frame. The photo renders at a fixed ~604px width,
       so the scrim stops are anchored in px from the right edge — the fade
       always lands on the photo's own baked-in gradient, never on bare navy. */
  .anders-design .hero-bg {
    background-size: auto 150%;
    background-position: right 17%;
  }

  .anders-design .hero-scrim {
    background: linear-gradient(90deg,var(--navy) 0,var(--navy) calc(100% - 600px),rgba(3,61,99,.90) calc(100% - 480px),rgba(3,61,99,.50) calc(100% - 340px),rgba(3,61,99,.12) calc(100% - 190px),rgba(3,61,99,0) 100%);
  }

  .anders-design .pillwrap {
    display: block;
  }

  .anders-design .fsearch-wrap {
    flex: 1 1 340px;
    min-width: 260px;
  }

  .anders-design .mfilters {
    display: none;
  }

  .anders-design .fsearch-wrap {
    flex: 1 1 280px;
    min-width: 200px;
  }

  .anders-design .job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-6);
  }

  .anders-design .job-side {
    margin-top: 0;
    flex: none;
  }

  .anders-design .job-actions .btn {
    width: auto;
    min-width: 158px;
  }

  .anders-design .stat-fig .num {
    font-size: 48px;
  }
}
