:root {
  --ink: #17201c;
  --ink-soft: #2f3b36;
  --muted: #69756f;
  --line: #e6dddd;
  --line-strong: #d8cbc9;
  --paper: #ffffff;
  --wash: #f8f6f5;
  --wash-2: #f1ecea;
  --accent: #f2554b;
  --accent-dark: #d83f38;
  --accent-soft: #fff0ef;
  --teal: #f2554b;
  --teal-dark: #d83f38;
  --teal-soft: #fff0ef;
  --coral: #e35d46;
  --coral-soft: #fde7e1;
  --gold: #c58c3a;
  --shadow: 0 18px 48px rgba(23, 32, 28, 0.10);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--wash);
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 240, 239, 0.78), rgba(248, 246, 245, 0) 320px),
    var(--wash);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(220, 229, 223, 0.86);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 24px rgba(242, 85, 75, 0.22);
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--wash);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1460px;
  margin: 0 auto;
  padding: 22px 28px 36px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer div,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  font-weight: 760;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.app-shell,
.shell {
  max-width: 1460px;
  margin: 0 auto;
  padding: 18px 26px 52px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92) 56%, rgba(255,255,255,0.55)),
    url("https://images.unsplash.com/photo-1551632436-cbf8dd35adfa?auto=format&fit=crop&w=1800&q=76") right center / 44% auto no-repeat,
    white;
  box-shadow: 0 14px 36px rgba(23, 32, 28, 0.08);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  font-size: 15px;
  line-height: 1.25;
}

.topbar p {
  max-width: 690px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.lead {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.trust-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 26px 82px;
}

.trust-hero {
  padding: 36px 0 28px;
}

.trust-hero h1 {
  max-width: 820px;
}

.trust-hero p:last-child {
  max-width: 720px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.58;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-grid article,
.trust-panel,
.trust-stack article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(23, 32, 28, 0.06);
}

.trust-grid article {
  padding: 22px;
}

.trust-grid p,
.trust-stack p,
.trust-panel p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.trust-panel {
  padding: 26px;
}

.trust-panel a,
.trust-stack a {
  color: var(--accent-dark);
  font-weight: 760;
}

.trust-stack {
  display: grid;
  gap: 12px;
}

.trust-stack article {
  padding: 24px 26px;
}

.muted {
  color: var(--muted);
}

.mini-label {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.scoreboard div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(220, 229, 223, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.scoreboard strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.scoreboard span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.job-board {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 318px;
  gap: 14px;
  align-items: start;
}

.filter-rail,
.results-pane,
.profile-pane,
.panel,
.company-card,
.source-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(23, 32, 28, 0.03);
}

.filter-rail,
.profile-pane,
.panel.sticky {
  position: sticky;
  top: 82px;
}

.filter-rail,
.profile-pane,
.panel {
  padding: 16px;
}

.rail-head,
.eyeline,
.results-head,
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.icon-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.filters {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 85, 75, 0.13);
}

.search-field input {
  min-height: 48px;
  padding-left: 14px;
  font-weight: 650;
}

.filter-note {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  color: #983421;
  background: var(--teal-soft);
  font-size: 12px;
  line-height: 1.4;
}

.results-pane {
  padding: 14px;
}

.results-head {
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--line);
}

.result-subline {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  font-size: 12px;
  font-weight: 750;
}

.chip.teal,
.pill.trust {
  border-color: transparent;
  color: #983421;
  background: var(--teal-soft);
}

.chip.coral,
.pill.warm {
  border-color: transparent;
  color: #983421;
  background: var(--coral-soft);
}

.chip.quiet {
  color: var(--muted);
  background: var(--wash);
}

.job-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.job-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,1), rgba(250,252,251,1));
}

.job-row.needs-description {
  border-color: rgba(242, 85, 75, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 240, 239, 0.92), rgba(255,255,255,1) 28%);
  box-shadow: inset 3px 0 0 rgba(242, 85, 75, 0.82);
}

.job-row:hover {
  border-color: rgba(242, 85, 75, 0.38);
  box-shadow: 0 16px 34px rgba(23, 32, 28, 0.08);
}

.job-row.needs-description:hover {
  box-shadow: inset 3px 0 0 rgba(242, 85, 75, 0.82), 0 16px 34px rgba(23, 32, 28, 0.08);
}

.job-main {
  min-width: 0;
}

.job-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.job-kicker span + span {
  color: var(--gold);
}

.job-title {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.18;
}

.job-title:hover {
  color: var(--teal);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.meta-alert {
  color: var(--accent-dark);
  font-weight: 850;
}

.job-tags {
  margin-top: 9px;
}

.job-summary {
  display: -webkit-box;
  margin-top: 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-actions {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 8px;
  min-width: 108px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: white;
  background: var(--teal);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}

.button:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button.wide {
  width: 100%;
}

.source-note {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.load-more {
  margin-top: 10px;
}

.empty {
  margin-top: 10px;
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: white;
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(242, 85, 75, 0.18);
  border-radius: 8px;
  background: var(--teal-soft);
}

.trust-band span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.job-detail-hero > p,
.job-detail-hero p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.profile-pane {
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.profile-image {
  min-height: 118px;
  margin: -16px -16px 0;
  background:
    linear-gradient(135deg, rgba(242, 85, 75, 0.76), rgba(23, 32, 28, 0.16)),
    url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=900&q=76") center/cover;
}

.profile-content p {
  margin-top: 6px;
  color: var(--muted);
}

.profile-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-metrics div {
  padding: 12px;
  border-radius: 8px;
  background: var(--wash);
}

.profile-metrics strong {
  display: block;
  font-size: 24px;
}

.profile-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.profile-brands {
  display: grid;
  gap: 8px;
}

.profile-list {
  display: grid;
  gap: 6px;
}

.company-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  text-align: left;
  cursor: pointer;
}

.company-pick:hover {
  border-color: var(--accent);
}

.company-pick.selected {
  border-color: rgba(242, 85, 75, 0.42);
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.company-pick span {
  font-weight: 750;
}

.company-pick strong {
  color: var(--teal);
}

.grid {
  display: grid;
  gap: 12px;
}

.company-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.company-card,
.source-row {
  padding: 16px;
}

.source-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.directory-head {
  min-height: 104px;
  align-items: end;
  padding-bottom: 4px;
}

.directory-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.directory-stats div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.directory-stats strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.directory-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.company-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
}

.company-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 150px;
  align-content: space-between;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.company-card:hover {
  border-color: rgba(242, 85, 75, 0.38);
  box-shadow: 0 16px 34px rgba(23, 32, 28, 0.08);
  transform: translateY(-1px);
}

.company-card-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.company-card-logo,
.company-profile-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--accent);
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.company-card-logo img,
.company-profile-logo img {
  width: 34px;
  max-height: 34px;
  object-fit: contain;
}

.company-card-logo img.logo-loaded + span,
.company-profile-logo img.logo-loaded + span,
.job-logo img.logo-loaded + span,
.profile-logo img.logo-loaded + span,
.profile-brand-mark img.logo-loaded + span,
.brand-hierarchy-logo img.logo-loaded + span,
.brand-image-frame > img.logo-loaded + .brand-placeholder {
  display: none;
}

.company-profile-logo {
  width: 76px;
  height: 76px;
  border-radius: 8px;
}

.company-profile-logo img {
  width: 54px;
  max-height: 54px;
}

.company-profile-logo.compact {
  width: 58px;
  height: 58px;
}

.company-profile-logo.compact img {
  width: 42px;
  max-height: 42px;
}

.company-card h2 {
  max-width: 20ch;
}

.company-summary {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.company-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  max-width: none;
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.detail-body {
  display: grid;
  gap: 16px;
}

.detail .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.company-profile-hero {
  display: grid;
  gap: 16px;
}

.company-profile-heading,
.job-detail-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.company-profile-hero h1,
.job-detail-hero h1 {
  max-width: 920px;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-stat-grid div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.profile-stat-grid strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.profile-stat-grid span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.company-jobs-panel {
  padding: 14px;
}

.company-intel-panel {
  padding: 14px;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.coverage-grid div {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.coverage-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.coverage-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.category-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.category-strip strong {
  color: var(--accent);
}

.profile-sidebar {
  overflow: hidden;
}

.hierarchy-panel,
.brand-context-panel {
  padding: 14px;
}

.brand-hierarchy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 9px;
}

.brand-hierarchy-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.brand-hierarchy-card:hover {
  border-color: rgba(242, 85, 75, 0.32);
  box-shadow: 0 12px 26px rgba(23, 32, 28, 0.07);
  transform: translateY(-1px);
}

.brand-hierarchy-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  background: white;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.brand-hierarchy-logo img {
  width: 31px;
  max-height: 31px;
  object-fit: contain;
}

.brand-hierarchy-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.brand-hierarchy-copy strong,
.brand-context-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.brand-hierarchy-copy em {
  color: var(--teal);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.brand-hierarchy-copy small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
}

.sidebar-brand-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.sidebar-brand-list.grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.sidebar-brand-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 36px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #334155;
  background: #fbfcfd;
  font-size: 12px;
  font-weight: 800;
}

.sidebar-brand-link:hover {
  border-color: #ffb4ae;
  color: var(--accent-dark);
  background: #fffafa;
}

.sidebar-brand-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sidebar-brand-link em {
  min-width: 28px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #983421;
  background: var(--accent-soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-align: center;
}

.mini-health {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.mini-health span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.mini-health div {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ecef;
}

.mini-health i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.brand-context-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 10px;
  align-items: stretch;
}

.brand-context-card,
.brand-context-facts {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--wash);
}

.brand-context-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.brand-context-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.brand-context-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-context-facts div {
  padding: 12px;
  border-right: 1px solid var(--line);
}

.brand-context-facts div:last-child {
  border-right: 0;
}

.brand-context-facts strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.brand-context-facts span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 750;
}

.subbrand-strip {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.subbrand-strip h3 {
  margin-bottom: 8px;
  font-size: 13px;
}

.brand-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.brand-image-frame {
  width: 112px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.brand-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--teal);
  background:
    radial-gradient(circle at 26% 22%, rgba(223, 243, 239, 0.92), transparent 42%),
    linear-gradient(135deg, #ffffff, var(--wash));
}

.brand-placeholder span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(223, 243, 239, 0.72);
  font-size: 20px;
  font-weight: 850;
}

.brand-hero-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.brand-hero-copy h1 {
  font-size: clamp(30px, 3.1vw, 44px);
}

.brand-hero-copy .lead {
  max-width: 820px;
}

.page-head {
  margin-bottom: 18px;
}

@media (max-width: 1180px) {
  .topbar,
  .job-board,
  .detail {
    grid-template-columns: 1fr;
  }

  .filter-rail,
  .profile-pane,
  .panel.sticky {
    position: static;
  }

  .company-card {
    grid-template-columns: 1fr;
  }

  .brand-hero {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .brand-image-frame {
    width: 96px;
  }

  .brand-context-grid {
    grid-template-columns: 1fr;
  }

  .company-card-meta {
    justify-content: flex-start;
    max-width: none;
  }
}

/* Mockup-aligned jobs surface */
body {
  background: #f6f7f8;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid #eceef2;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.brand {
  gap: 10px;
  justify-self: start;
}

.brand-mark {
  position: relative;
  width: 27px;
  height: 35px;
  border-radius: 9px 9px 12px 12px;
  background: linear-gradient(180deg, #ff6a61, var(--accent));
  box-shadow: none;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.brand-mark::before {
  left: 3px;
}

.brand-mark::after {
  right: 3px;
}

.brand-mark span {
  display: none;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-copy strong {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 0;
}

.brand-copy small {
  color: #98a0ad;
  font-size: 10px;
  font-weight: 700;
}

.nav-links {
  justify-self: center;
  gap: 20px;
  height: 100%;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0 12px;
  border-radius: 0;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--accent);
  background: transparent;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--accent);
  content: "";
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  color: #263142;
  font-size: 12px;
  font-weight: 750;
}

.saved-link::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  vertical-align: -2px;
  content: "";
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #f2f3f5;
  color: #4f5663;
  font-weight: 850;
}

.market-shell {
  max-width: none;
  margin: 0;
  padding: 0;
}

.market-board {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 290px;
  min-height: calc(100vh - 58px);
  background: white;
}

.market-filter.filter-rail,
.market-results.results-pane,
.market-profile.profile-pane {
  border: 0;
  border-radius: 0;
  background: white;
  box-shadow: none;
}

.market-filter.filter-rail {
  top: 58px;
  height: calc(100vh - 58px);
  overflow: auto;
  padding: 20px 20px 92px;
  border-right: 1px solid #eceef2;
}

.market-results.results-pane {
  padding: 0 24px;
  border-right: 1px solid #eceef2;
}

.market-profile.profile-pane {
  top: 58px;
  height: calc(100vh - 58px);
  overflow: auto;
  gap: 0;
  padding: 16px;
}

.filter-title {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.filter-title h2 {
  font-size: 17px;
  font-weight: 850;
}

.plain-button {
  border: 0;
  color: #687384;
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.plain-button:hover {
  color: var(--accent);
}

.search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  padding: 0 10px;
  border: 1px solid #dfe3ea;
  border-radius: 4px;
  background: white;
}

.search-control.small {
  min-height: 40px;
  margin: 0 0 9px;
}

.search-control input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #202939;
  font-size: 16px;
  font-weight: 650;
}

.search-control input::placeholder {
  color: #9aa3af;
}

.search-control span {
  position: relative;
  justify-self: end;
  width: 15px;
  height: 15px;
  overflow: hidden;
  color: transparent;
}

.search-control span::before {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid #9aa3af;
  border-radius: 999px;
  content: "";
}

.search-control span::after {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #9aa3af;
  transform: rotate(45deg);
  content: "";
}

.filter-group {
  padding: 14px 0;
  border-top: 1px solid #eceef2;
}

.filter-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #1c2635;
  font-size: 15px;
}

.filter-group-head strong {
  font-weight: 850;
}

.check-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  color: #4f5b6b;
  font-size: 15px;
  line-height: 1.3;
}

.check-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--accent);
}

.check-row strong {
  color: #9aa3af;
  font-size: 12px;
  font-weight: 700;
}

.company-filter-list {
  display: grid;
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.company-filter-list::-webkit-scrollbar {
  width: 6px;
}

.company-filter-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d7dce4;
}

.shift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.shift-pill {
  min-height: 38px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  color: #4f5b6b;
  background: white;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.shift-pill.active,
.shift-pill:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.see-jobs {
  position: sticky;
  bottom: 0;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  background: var(--accent);
  box-shadow: 0 -10px 20px rgba(255, 255, 255, 0.92);
}

.see-jobs:hover {
  background: var(--accent-dark);
}

.market-results-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid #eceef2;
}

.market-results-top strong {
  color: #1c2635;
  font-size: 17px;
  font-weight: 850;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8a94a3;
  font-size: 13px;
  font-weight: 700;
}

.sort-control select {
  border: 0;
  color: #1f2937;
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  outline: 0;
}

.job-table-head,
.market-job-row {
  display: grid;
  grid-template-columns: 52px minmax(160px, 1.5fr) minmax(124px, 0.9fr) minmax(76px, 0.7fr) minmax(96px, 0.92fr) 62px 60px;
  align-items: center;
  column-gap: 8px;
}

.job-table-head > *,
.market-job-row > *,
.secondary-job-table-head > *,
.secondary-job-row > * {
  min-width: 0;
}

.job-table-head {
  min-height: 54px;
  border-bottom: 1px solid #eceef2;
  color: #1f2937;
  font-size: 15px;
  font-weight: 850;
}

.job-table-head small {
  color: #7b8492;
  font-size: 12px;
  font-weight: 650;
}

.market-job-list.job-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.market-job-row {
  min-height: 104px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #eceef2;
  border-radius: 0;
  background: white;
  cursor: pointer;
}

.market-job-row.needs-description {
  background: linear-gradient(90deg, rgba(255, 240, 239, 0.92), #ffffff 16%);
  box-shadow: inset 3px 0 0 rgba(242, 85, 75, 0.78);
}

.market-job-row:hover {
  border-color: #eceef2;
  background: #fffafa;
  box-shadow: none;
}

.market-job-row.needs-description:hover {
  box-shadow: inset 3px 0 0 rgba(242, 85, 75, 0.78);
}

.job-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #eef0f4;
  border-radius: 4px;
  color: var(--accent);
  background: linear-gradient(180deg, #ffffff, #fbfbfc);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.job-logo img {
  display: block;
  width: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
}

.job-title-cell {
  min-width: 0;
}

.job-title-cell .job-title {
  display: block;
  margin: 0 0 5px;
  color: #1f2937;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.3;
  white-space: normal;
}

.job-title-cell p {
  color: #5f6977;
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
}

.table-cell {
  color: #263142;
  font-size: 15px;
  line-height: 1.42;
}

.salary-cell {
  font-size: 14px;
  font-weight: 750;
  overflow-wrap: normal;
}

.location-cell {
  display: grid;
  gap: 2px;
}

.location-cell strong {
  color: #263142;
  font-size: 15px;
}

.location-cell span {
  color: #697386;
  font-size: 14px;
}

.table-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-blue,
.tag-green,
.tag-purple,
.tag-generic,
.tag-alert {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.tag-blue {
  color: #23749a;
  background: #e5f5ff;
}

.tag-green {
  color: #14785b;
  background: #e6f7ee;
}

.tag-generic {
  color: #4b5563;
  background: #f1f5f9;
}

.tag-alert {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.tag-purple {
  color: #6d4ba6;
  background: #f0e9ff;
}

.date-cell {
  display: grid;
  gap: 2px;
  color: #5f6977;
  font-size: 14px;
  line-height: 1.25;
}

.date-cell span {
  color: #263142;
  font-weight: 800;
}

.date-cell small {
  color: #7a8492;
  font-size: 13px;
  font-weight: 700;
}

.apply-cell {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.apply-outline {
  display: inline-flex;
  min-width: 60px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffb4ae;
  border-radius: 5px;
  color: var(--accent);
  background: white;
  font-size: 13px;
  font-weight: 850;
}

.apply-outline:hover {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
}

.apply-cell span {
  color: #818b98;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  color: #5f6977;
}

.pager {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.page-btn {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #1f2937;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

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

.page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.pager-ellipsis,
.page-summary {
  color: #7a8492;
  font-size: 13px;
  font-weight: 700;
}

.source-footnote {
  padding-bottom: 12px;
  color: #7a8492;
  font-size: 12px;
}

.profile-cover {
  height: 136px;
  border-radius: 4px 4px 0 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,0.08)),
    url("https://images.unsplash.com/photo-1565967511849-76a60a516170?auto=format&fit=crop&w=900&q=78") center/cover;
}

.featured-company {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eceef2;
}

.profile-logo {
  display: grid;
  width: 72px;
  height: 58px;
  place-items: center;
  border: 1px solid #eceef2;
  border-radius: 4px;
  background: white;
  color: var(--accent);
  font-weight: 900;
}

.profile-logo img {
  max-width: 58px;
  max-height: 44px;
  object-fit: contain;
}

.featured-company h2 {
  font-size: 18px;
  line-height: 1.24;
}

.featured-company p {
  margin-top: 4px;
  color: #697386;
  font-size: 14px;
}

.profile-brand-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.profile-brand-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid #eceef2;
  border-radius: 5px;
  color: #334155;
  background: #fbfcfd;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.profile-brand-card:hover {
  border-color: #ffb4ae;
  color: var(--accent-dark);
  background: #fffafa;
}

.profile-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #eef0f4;
  border-radius: 4px;
  color: var(--accent);
  background: white;
  font-size: 11px;
  font-weight: 900;
}

.profile-brand-mark img {
  width: 22px;
  max-height: 22px;
  object-fit: contain;
}

.profile-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid #eceef2;
}

.profile-facts div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #eceef2;
}

.profile-facts dt {
  color: #3c4656;
  font-size: 15px;
  font-weight: 850;
}

.profile-facts dd {
  min-width: 0;
  margin: 0;
  color: #384254;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.profile-facts a {
  color: #247099;
}

.profile-section {
  padding: 14px 0;
  border-bottom: 1px solid #eceef2;
}

.profile-section h3,
.health-head h3 {
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 17px;
  font-weight: 850;
}

.profile-section p {
  color: #4b5667;
  font-size: 15px;
  line-height: 1.56;
}

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

.benefit-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #edf1f5;
  border-radius: 5px;
  color: #536071;
  background: #fbfcfd;
  line-height: 1.2;
}

.benefit-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 5px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

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

.benefit-item em {
  color: #465366;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.health-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.health-head span {
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 850;
}

.health-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f5;
}

.health-bar span {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.health-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  text-align: center;
}

.health-stats strong {
  display: block;
  color: var(--accent-dark);
  min-height: 30px;
  font-size: 16px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.health-stats span {
  color: #697386;
  font-size: 12px;
}

.primary-source {
  display: grid;
  gap: 5px;
  padding-top: 12px;
  color: #4b5667;
  font-size: 13px;
}

.primary-source span {
  color: #1f2937;
  font-weight: 850;
}

.profile-company-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #eceef2;
}

.profile-company-card > div {
  min-width: 0;
}

.profile-company-card > div > span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.profile-company-card h2 {
  color: #1f2937;
  font-size: 20px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.profile-company-card p {
  margin-top: 5px;
  color: #697386;
  font-size: 14px;
  line-height: 1.35;
}

.sidebar-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid #eceef2;
}

.sidebar-stat-grid div {
  min-height: 76px;
  padding: 12px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #fbfcfd;
}

.sidebar-stat-grid strong {
  display: block;
  color: var(--accent-dark);
  font-size: 27px;
  line-height: 1;
}

.sidebar-stat-grid span {
  display: block;
  margin-top: 8px;
  color: #697386;
  font-size: 12px;
  font-weight: 850;
}

.source-health-section {
  border-bottom: 0;
  padding-bottom: 0;
}

.secondary-market-board {
  grid-template-columns: 260px minmax(0, 1fr) 290px;
}

.company-detail-board {
  grid-template-columns: 220px minmax(0, 1fr) 290px;
}

.entity-rail,
.entity-results,
.entity-profile {
  font-size: 15px;
}

.entity-rail-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.entity-rail-head.no-logo {
  grid-template-columns: 1fr;
}

.entity-rail-head h1 {
  max-width: none;
  color: #1f2937;
  font-size: 24px;
  line-height: 1.1;
}

.entity-rail-head p {
  margin-top: 5px;
  color: #697386;
  font-size: 14px;
  line-height: 1.4;
}

.rail-context-card {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
  padding: 13px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #fbfcfd;
}

.rail-context-card .status-pill {
  justify-self: start;
}

.rail-context-card h2 {
  color: #1f2937;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.rail-context-card p {
  color: #697386;
  font-size: 14px;
  line-height: 1.45;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: #697386;
  font-size: 14px;
  font-weight: 850;
}

.back-link::before {
  margin-right: 7px;
  color: var(--accent);
  content: "<";
}

.rail-facts {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
  border-top: 1px solid #eceef2;
}

.rail-facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eceef2;
}

.rail-facts dt {
  color: #5f6977;
  font-size: 14px;
  font-weight: 780;
}

.rail-facts dd {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 850;
  text-align: right;
}

.entity-results {
  min-width: 0;
}

.entity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px 0;
  border-bottom: 1px solid #eceef2;
}

.entity-hero.compact-entity-hero {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.entity-label {
  margin-bottom: 7px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entity-hero h2 {
  max-width: 780px;
  color: #1f2937;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.entity-hero p {
  max-width: 820px;
  margin-top: 10px;
  color: #4b5667;
  font-size: 16px;
  line-height: 1.56;
}

.entity-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 92px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #fbfcfd;
}

.entity-score-grid div,
.source-score-button {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 12px;
  border-right: 1px solid #eceef2;
}

.entity-score-grid div:last-child,
.entity-score-grid > :last-child {
  border-right: 0;
}

.entity-score-grid strong {
  color: var(--accent-dark);
  font-size: 25px;
  line-height: 1;
}

.entity-score-grid span {
  color: #697386;
  font-size: 13px;
  font-weight: 780;
}

.entity-stat-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
  padding: 14px 0 2px;
  border-top: 1px solid #eceef2;
}

.entity-stat-panel div {
  min-width: 0;
}

.entity-stat-panel strong {
  display: block;
  color: var(--accent-dark);
  font-size: 27px;
  line-height: 1;
}

.entity-stat-panel span {
  display: block;
  margin-top: 7px;
  color: #697386;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.source-score-button {
  width: 100%;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.source-score-button:hover,
.source-score-button.active {
  background: #fffafa;
}

.source-score-button.active {
  box-shadow: inset 0 -3px 0 var(--accent);
}

.source-score-button:focus-visible {
  outline: 2px solid rgba(242, 85, 75, 0.55);
  outline-offset: -2px;
}

.source-status-filter {
  margin-top: 14px;
}

.entity-parent-card,
.entity-parent-link,
.apply-card-mini {
  display: grid;
  align-content: center;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #fbfcfd;
}

.entity-parent-card,
.entity-parent-link {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.entity-parent-link {
  color: inherit;
  transition: border-color 150ms ease, background 150ms ease;
}

.entity-parent-link:hover {
  border-color: #ffb4ae;
  background: #fffafa;
}

.entity-parent-card strong,
.entity-parent-link strong {
  display: block;
  color: #1f2937;
  font-size: 16px;
}

.entity-parent-card span:last-child,
.entity-parent-card div span,
.entity-parent-link div span {
  display: block;
  margin-top: 4px;
  color: #697386;
  font-size: 14px;
}

.apply-card-mini {
  justify-items: center;
  gap: 5px;
  padding: 16px;
}

.apply-card-mini span {
  color: #818b98;
  font-size: 11px;
}

.entity-section {
  padding: 18px 0;
  border-bottom: 1px solid #eceef2;
}

.entity-section.no-border {
  border-bottom: 0;
}

.entity-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.entity-section-head h3 {
  color: #1f2937;
  font-size: 17px;
  font-weight: 900;
}

.entity-section-head span {
  color: #7b8492;
  font-size: 14px;
  font-weight: 750;
}

.brand-strip-grid,
.mini-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.brand-strip-card,
.mini-link-grid a {
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  color: #334155;
  background: #fbfcfd;
}

.brand-strip-card {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 9px;
}

.brand-strip-card:hover,
.mini-link-grid a:hover,
.company-table-row:hover,
.source-audit-row:hover {
  border-color: #ffb4ae;
  background: #fffafa;
}

.brand-strip-card.needs-visual {
  background:
    linear-gradient(90deg, rgba(255, 240, 239, 0.72), rgba(255, 255, 255, 0) 48%),
    #fbfcfd;
}

.priority,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #eceef2;
  border-radius: 999px;
  background: #fff;
  color: #4b5667;
  font-size: 11px;
  font-weight: 850;
}

.status-pill.live {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: #ffdad6;
}

.status-pill.quiet {
  color: #5b6472;
  background: #f2f4f7;
  border-color: #e2e6ec;
}

.status-pill.parked {
  color: #707782;
  background: #f7f7f7;
  border-color: #dedede;
}

.status-pill.needs-work {
  color: #9a4b13;
  background: #fff3e9;
  border-color: #ffd9be;
}

.brand-strip-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.26;
}

.brand-strip-card em {
  display: block;
  margin-top: 3px;
  color: var(--accent-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.mini-link-grid a {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 38px;
  padding: 8px 9px;
  font-size: 12px;
  font-weight: 800;
}

.mini-link-grid em {
  min-width: 26px;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-style: normal;
  text-align: center;
}

.brand-directory {
  border-top: 1px solid #eceef2;
}

.brand-directory-head,
.brand-directory-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(170px, 1fr) 64px 58px;
  gap: 12px;
  align-items: center;
}

.brand-directory-head {
  min-height: 42px;
  color: #697386;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-directory-list {
  display: grid;
}

.brand-directory-row {
  min-height: 66px;
  border-top: 1px solid #eceef2;
  color: #3f4a5b;
  font-size: 15px;
  line-height: 1.35;
  transition: background 150ms ease;
}

.brand-directory-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.brand-directory-row:hover {
  background: #fffafa;
}

.brand-directory-main strong {
  display: block;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.25;
}

.brand-directory-main em {
  display: block;
  margin-top: 4px;
  color: #7b8492;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.brand-directory-row > span:nth-child(2) {
  color: #5f6977;
}

.brand-directory-row > span:nth-child(3) {
  color: var(--accent-dark);
  font-weight: 900;
}

.brand-directory-row > span:last-child {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.brand-directory.compact .brand-directory-row {
  min-height: 58px;
}

.secondary-job-table-head,
.secondary-job-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(104px, 0.72fr) minmax(106px, 0.82fr) minmax(100px, 0.72fr) 84px;
  gap: 10px;
  align-items: center;
}

.secondary-job-table-head {
  min-height: 54px;
  border-bottom: 1px solid #eceef2;
  color: #1f2937;
  font-size: 15px;
  font-weight: 850;
}

.secondary-job-table-head small {
  color: #7b8492;
  font-size: 12px;
  font-weight: 650;
}

.secondary-job-list {
  display: grid;
}

.secondary-job-row {
  min-height: 92px;
  padding: 13px 0;
  border-bottom: 1px solid #eceef2;
}

.secondary-job-row.needs-description {
  background: linear-gradient(90deg, rgba(255, 240, 239, 0.88), #ffffff 18%);
  box-shadow: inset 3px 0 0 rgba(242, 85, 75, 0.76);
}

.secondary-title-cell {
  min-width: 0;
}

.secondary-title-cell .job-title {
  display: block;
  margin: 0 0 5px;
  color: #1f2937;
  font-size: 17px;
  line-height: 1.3;
}

.secondary-title-cell p {
  display: -webkit-box;
  overflow: hidden;
  color: #5f6977;
  font-size: 14px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.secondary-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.detail-summary {
  max-width: 78ch;
  color: #374151;
  font-size: 17px;
  line-height: 1.58;
}

.summary-note {
  margin-top: 10px;
  max-width: 70ch;
}

.source-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.source-highlight-grid > div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #fbfcfd;
}

.source-highlight-grid h4 {
  margin: 0 0 9px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
}

.source-highlight-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.source-highlight-grid li {
  color: #374151;
  font-size: 14px;
  line-height: 1.46;
}

.manual-description-callout {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(242, 85, 75, 0.24);
  border-radius: 8px;
  background: var(--accent-soft);
}

.manual-description-callout strong {
  color: var(--accent-dark);
}

.manual-description-callout.generic {
  border-color: rgba(37, 116, 154, 0.22);
  background: #eef8fc;
}

.manual-description-callout.generic strong {
  color: #23749a;
}

.manual-description-callout p {
  margin: 5px 0 0;
  color: var(--muted);
}

.inline-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid #ffb4ae;
  border-radius: 5px;
  color: var(--accent-dark);
  background: white;
  font-size: 14px;
  font-weight: 850;
}

.inline-action:hover {
  color: white;
  background: var(--accent);
}

.detail-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail-fact-grid div {
  min-height: 76px;
  padding: 12px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #fbfcfd;
}

.detail-fact-grid span {
  display: block;
  color: #697386;
  font-size: 14px;
  font-weight: 780;
}

.detail-fact-grid strong {
  display: block;
  margin-top: 7px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.35;
}

.data-inspector {
  display: grid;
  gap: 10px;
}

.data-panel {
  border: 1px solid #eceef2;
  border-radius: 8px;
  background: #fbfcfd;
  overflow: hidden;
}

.data-panel summary {
  cursor: pointer;
  padding: 13px 14px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 900;
  list-style-position: inside;
}

.data-panel[open] summary {
  border-bottom: 1px solid #eceef2;
  background: #fff;
}

.data-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.data-field {
  min-width: 0;
  min-height: 64px;
  padding: 10px;
  border: 1px solid #edf0f4;
  border-radius: 6px;
  background: #fff;
}

.data-field-wide {
  grid-column: 1 / -1;
}

.data-field span,
.description-records article > div span {
  display: block;
  margin-bottom: 6px;
  color: #697386;
  font-size: 12px;
  font-weight: 850;
}

.data-field strong,
.data-field a {
  display: block;
  overflow-wrap: anywhere;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.42;
}

.data-field a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.data-field pre,
.description-records pre,
.raw-json-record {
  overflow: auto;
  max-height: 360px;
  margin: 0;
  padding: 11px;
  border: 1px solid #edf0f4;
  border-radius: 6px;
  background: #f7f8fa;
  color: #1f2937;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.description-records {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.empty-description-record {
  display: grid;
  gap: 5px;
  margin: 12px;
  padding: 13px 14px;
  border: 1px solid #edf0f4;
  border-radius: 6px;
  background: #fff;
}

.empty-description-record strong {
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
}

.empty-description-record p {
  color: #5f6977;
  font-size: 14px;
  line-height: 1.45;
}

.description-records article {
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf0f4;
  border-radius: 6px;
  background: #fff;
}

.description-records article > div {
  margin-bottom: 8px;
}

.description-records article > div strong {
  display: block;
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
}

.raw-json-record {
  max-height: 520px;
  margin: 12px;
}

.trust-band.compact {
  padding: 0;
  border: 0;
  background: transparent;
}

.trust-band.compact span {
  border: 1px solid #ffdad6;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.category-mini-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.category-mini-list span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  color: #4b5667;
  background: #fbfcfd;
  font-size: 14px;
  font-weight: 760;
}

.category-mini-list strong {
  color: var(--accent-dark);
  font-size: 15px;
}

.role-area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.role-area-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 10px;
  border-top: 1px solid #eceef2;
  color: #4b5667;
  font-size: 14px;
  font-weight: 780;
}

.role-area-list strong {
  min-width: 28px;
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 900;
}

.brand-source-meta {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #5f6977;
  font-size: 13px;
  line-height: 1.35;
}

.brand-source-meta span:first-child {
  color: #1f2937;
  font-weight: 850;
}

.brand-source-meta a {
  color: #247099;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.company-table-head,
.company-table-row {
  display: grid;
  grid-template-columns: 52px minmax(240px, 1.55fr) 78px 78px 90px;
  gap: 12px;
  align-items: center;
}

.company-table-head {
  min-height: 48px;
  border-bottom: 1px solid #eceef2;
  color: #1f2937;
  font-size: 12px;
  font-weight: 850;
}

.company-table-head span:first-child {
  grid-column: 1 / span 2;
}

.company-table-head small {
  color: #7b8492;
  font-size: 11px;
  font-weight: 650;
}

.company-table-list {
  display: grid;
}

.company-table-row {
  min-height: 82px;
  border-bottom: 1px solid #eceef2;
  color: #263142;
}

.company-table-main {
  min-width: 0;
}

.company-table-main strong {
  display: block;
  color: #1f2937;
  font-size: 13.5px;
  line-height: 1.25;
}

.company-table-main em,
.company-table-main small {
  display: block;
  margin-top: 3px;
  color: #5f6977;
  font-size: 11.5px;
  font-style: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.source-table-head,
.source-audit-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) minmax(130px, 0.8fr) minmax(130px, 0.75fr) 54px 110px;
  gap: 13px;
  align-items: center;
}

.source-table-head {
  min-height: 48px;
  border-bottom: 1px solid #eceef2;
  color: #1f2937;
  font-size: 12px;
  font-weight: 850;
}

.source-table-head small {
  color: #7b8492;
  font-size: 11px;
  font-weight: 650;
}

.source-row-list {
  display: grid;
}

.source-audit-row[hidden] {
  display: none;
}

.source-audit-row {
  min-height: 88px;
  padding: 10px 0;
  border-bottom: 1px solid #eceef2;
}

.source-audit-row > div {
  min-width: 0;
  color: #374151;
  font-size: 12px;
  line-height: 1.35;
}

.source-audit-row small {
  display: block;
  margin-top: 4px;
  color: #7b8492;
  font-size: 11px;
  line-height: 1.35;
}

.source-main-cell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.source-main-cell a {
  color: #1f2937;
  font-size: 13px;
  font-weight: 850;
}

.source-main-cell p {
  margin-top: 3px;
  color: #5f6977;
  font-size: 11.5px;
}

.source-main-cell .priority {
  justify-content: center;
  min-width: 30px;
}

.source-audit-row .jobs-count {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 900;
}

.source-empty-state {
  padding: 28px 12px;
  border-bottom: 1px solid #eceef2;
  color: #697386;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.source-qa-table-head,
.source-qa-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) 90px 78px 84px 78px 106px;
  gap: 12px;
  align-items: center;
}

.source-qa-table-head {
  min-height: 48px;
  border-bottom: 1px solid #eceef2;
  color: #1f2937;
  font-size: 12px;
  font-weight: 850;
}

.source-qa-table-head small {
  color: #7b8492;
  font-size: 11px;
  font-weight: 650;
}

.source-qa-list {
  display: grid;
}

.source-qa-row {
  min-height: 70px;
  padding: 10px 0;
  border-bottom: 1px solid #eceef2;
  color: #374151;
  font-size: 12px;
}

.source-qa-row.needs-work {
  background: linear-gradient(90deg, rgba(255, 240, 239, 0.72), #ffffff 18%);
}

.qa-count,
.qa-score {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-width: 34px;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #dce8df;
  border-radius: 999px;
  color: #177144;
  background: #edf9f2;
  font-weight: 900;
}

.qa-count.warn,
.qa-score.warn {
  color: #9a4b13;
  border-color: #ffd9be;
  background: #fff3e9;
}

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

.profile-gap-grid a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  min-height: 76px;
  padding: 11px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #fbfcfd;
}

.profile-gap-grid a:hover {
  border-color: #ffb4ae;
  background: #fffafa;
}

.profile-gap-grid strong,
.profile-gap-grid em,
.profile-gap-grid small {
  display: block;
}

.profile-gap-grid strong {
  color: #1f2937;
  font-size: 13px;
  line-height: 1.25;
}

.profile-gap-grid em {
  margin-top: 3px;
  color: #697386;
  font-size: 11.5px;
  font-style: normal;
  line-height: 1.25;
}

.profile-gap-grid b {
  color: var(--accent-dark);
  font-size: 15px;
}

.profile-gap-grid small {
  grid-column: 1 / -1;
  color: #5f6977;
  font-size: 11.5px;
  line-height: 1.35;
}

.profile-section.first {
  padding-top: 0;
}

.source-qa-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.profile-quality-section {
  padding-top: 14px;
  border-bottom: 1px solid #eceef2;
}

.profile-quality-section p {
  color: #697386;
  font-size: 13px;
  line-height: 1.45;
}

.quality-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.quality-chip-list span {
  padding: 5px 7px;
  border: 1px solid #ffd9be;
  border-radius: 999px;
  color: #9a4b13;
  background: #fff3e9;
  font-size: 11px;
  font-weight: 850;
}

.source-note.compact {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 1240px) {
  .market-board {
    grid-template-columns: 252px minmax(0, 1fr);
  }

  .secondary-market-board {
    grid-template-columns: 266px minmax(0, 1fr);
  }

  .secondary-job-table-head,
  .secondary-job-row {
    grid-template-columns: minmax(0, 1fr) 92px 100px 88px;
  }

  .secondary-job-table-head span:last-child,
  .secondary-job-row .apply-cell {
    display: none;
  }

  .company-table-head,
  .company-table-row {
    grid-template-columns: 52px minmax(0, 1fr) 64px 74px 90px;
  }

  .source-table-head,
  .source-audit-row {
    grid-template-columns: minmax(0, 1fr) 118px 54px;
  }

  .source-qa-table-head,
  .source-qa-row {
    grid-template-columns: minmax(0, 1fr) 72px 70px 74px;
  }

  .source-qa-table-head span:nth-child(5),
  .source-qa-table-head span:nth-child(6),
  .source-qa-row > span:nth-child(5),
  .source-qa-row > span:nth-child(6) {
    display: none;
  }

  .source-table-head span:nth-child(3),
  .source-table-head span:nth-child(5),
  .source-audit-row > div:nth-child(3),
  .source-audit-row > div:nth-child(5) {
    display: none;
  }

  .market-results.results-pane {
    padding: 0 20px;
  }

  .market-profile.profile-pane,
  .entity-profile.profile-pane {
    display: none;
  }

  .job-table-head,
  .market-job-row {
    grid-template-columns: 52px minmax(170px, 1.4fr) 104px 92px 112px;
  }

  .job-table-head span:last-child,
  .market-job-row .apply-cell {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand,
  .nav-links,
  .header-actions {
    justify-self: start;
  }

  .header-actions {
    display: none;
  }

  .market-board {
    grid-template-columns: 1fr;
  }

  .secondary-market-board {
    grid-template-columns: 1fr;
  }

  .market-filter.filter-rail,
  .market-results.results-pane,
  .entity-rail.filter-rail,
  .entity-results.results-pane {
    position: static;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid #eceef2;
  }

  .market-results-top {
    min-height: 52px;
  }

  .job-table-head {
    display: none;
  }

  .secondary-job-table-head,
  .company-table-head,
  .source-table-head {
    display: none;
  }

  .market-job-row {
    grid-template-columns: 52px minmax(0, 1fr) 92px;
    gap: 10px;
    min-height: 94px;
  }

  .market-job-row .salary-cell,
  .market-job-row .location-cell,
  .market-job-row .date-cell {
    display: none;
  }

  .market-job-row .table-tags {
    grid-column: 2 / 3;
  }

  .market-job-row .apply-cell {
    display: grid;
    grid-column: 3 / 4;
    grid-row: 1 / span 2;
  }

  .table-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .entity-hero,
  .entity-hero.compact-entity-hero {
    grid-template-columns: 1fr;
  }

  .brand-directory-head {
    display: none;
  }

  .brand-directory-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    min-height: 0;
    padding: 12px 0;
  }

  .brand-directory-row > span:nth-child(2) {
    grid-column: 1 / -1;
  }

  .brand-directory-row > span:nth-child(3) {
    justify-self: end;
  }

  .secondary-job-row,
  .company-table-row,
  .source-audit-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .source-qa-table-head {
    display: none;
  }

  .source-qa-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 13px 0;
  }

  .profile-gap-grid {
    grid-template-columns: 1fr;
  }

  .company-table-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .company-table-row > span:nth-child(n+3) {
    grid-column: 2 / 3;
  }

  .source-main-cell {
    grid-template-columns: 34px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 8px 14px;
  }

  .nav-links {
    margin-left: -4px;
    height: 34px;
    align-items: center;
  }

  .nav-links a {
    min-height: 34px;
  }

  .app-shell,
  .shell {
    padding: 16px 12px 36px;
  }

  .topbar {
    min-height: 0;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92)),
      url("https://images.unsplash.com/photo-1551632436-cbf8dd35adfa?auto=format&fit=crop&w=1000&q=76") center/cover;
  }

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

  .scoreboard div {
    min-height: 68px;
    padding: 10px;
  }

  .scoreboard strong {
    font-size: 22px;
  }

  .results-head,
  .rail-head,
  .page-head,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .job-row {
    grid-template-columns: 1fr;
  }

  .job-actions {
    justify-items: stretch;
    min-width: 0;
  }

  .source-note {
    text-align: left;
  }

  .directory-head {
    min-height: 0;
  }

  .directory-stats,
  .profile-stat-grid,
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-directory {
    grid-template-columns: 1fr;
  }

  .company-card {
    min-height: 0;
  }

  .brand-hierarchy-grid,
  .sidebar-brand-list.grid {
    grid-template-columns: 1fr;
  }

  .brand-context-facts {
    grid-template-columns: 1fr;
  }

  .brand-context-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-context-facts div:last-child {
    border-bottom: 0;
  }

  .brand-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .entity-rail-head {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .entity-score-grid,
  .detail-fact-grid,
  .data-field-grid,
  .source-highlight-grid {
    grid-template-columns: 1fr;
  }

  .brand-image-frame {
    width: 66px;
  }

  .brand-placeholder span {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}

/* 2026 interface reset: clearer, roomier, and source-first */
:root {
  --ink: #17201c;
  --ink-soft: #34413c;
  --muted: #68746f;
  --line: #e2e6ea;
  --line-strong: #cfd6dc;
  --paper: #ffffff;
  --wash: #f6f7f8;
  --wash-2: #eef1f3;
  --accent: #ef5a50;
  --accent-dark: #cb3d36;
  --accent-soft: #fff0ee;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --teal-soft: #e8f6f3;
  --coral: #ef5a50;
  --coral-soft: #fff0ee;
  --gold: #a87020;
  --shadow: 0 18px 42px rgba(23, 32, 28, 0.08);
}

html,
body {
  min-height: 100%;
  background: var(--wash);
}

body {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 248, 0) 190px),
    var(--wash);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(180px, 1fr);
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #ff786f);
  box-shadow: 0 12px 24px rgba(239, 90, 80, 0.20);
}

.brand-mark::before,
.brand-mark::after {
  display: none;
}

.brand-mark span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.05;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 8px;
  color: #34413c;
  font-size: 15px;
  font-weight: 780;
}

.nav-links a:hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.nav-links a.active {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.nav-links a.active::after {
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  background: var(--accent);
}

.header-actions {
  font-size: 14px;
}

.avatar {
  background: #eef1f3;
  color: #34413c;
}

.market-shell {
  max-width: 1540px;
  margin: 0 auto;
  padding: 18px;
}

.market-board {
  grid-template-columns: minmax(250px, 280px) minmax(0, 1fr) minmax(300px, 330px);
  gap: 16px;
  min-height: auto;
  align-items: start;
  background: transparent;
}

.market-filter.filter-rail,
.market-results.results-pane,
.market-profile.profile-pane {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 1px rgba(17, 24, 39, 0.02), 0 18px 40px rgba(17, 24, 39, 0.05);
}

.market-filter.filter-rail,
.market-profile.profile-pane {
  position: sticky;
  top: 90px;
  height: auto;
  max-height: calc(100vh - 108px);
  overflow: auto;
  padding: 18px;
}

.market-results.results-pane {
  min-width: 0;
  padding: 0 20px;
}

.filter-title h2 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.plain-button {
  color: var(--muted);
  font-size: 14px;
}

.search-control {
  min-height: 46px;
  border-color: var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.search-control input {
  color: var(--ink);
  font-size: 16px;
}

.filter-group {
  padding: 16px 0;
  border-top-color: var(--line);
}

.filter-group-head {
  color: var(--ink);
  font-size: 15px;
}

.check-row {
  min-height: 32px;
  color: #485650;
  font-size: 15px;
}

.check-row strong {
  color: #8a9590;
  font-size: 13px;
}

.shift-pill {
  min-height: 40px;
  border-color: var(--line);
  color: #485650;
  font-size: 14px;
}

.market-results-top {
  min-height: 72px;
  border-bottom-color: var(--line);
}

.market-results-top strong {
  color: var(--ink);
  font-size: 18px;
}

.sort-control,
.sort-control select {
  font-size: 14px;
}

.job-table-head,
.market-job-row {
  grid-template-columns:
    58px minmax(220px, 1.7fr) minmax(124px, 0.8fr) minmax(102px, 0.72fr)
    minmax(118px, 0.88fr) minmax(78px, 0.58fr) 78px;
  column-gap: 12px;
}

.job-table-head {
  min-height: 58px;
  border-bottom-color: var(--line);
  color: var(--ink);
  font-size: 14px;
}

.job-table-head small {
  color: var(--muted);
  font-size: 12px;
}

.market-job-row {
  min-height: 112px;
  padding: 15px 0;
  border-bottom-color: var(--line);
}

.market-job-row:hover {
  background: #fffafa;
}

.market-job-row.needs-description {
  background: linear-gradient(90deg, rgba(255, 240, 238, 0.82), #ffffff 18%);
}

.job-logo {
  width: 56px;
  height: 56px;
  border-color: var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.job-logo img {
  width: 38px;
  max-width: 38px;
  max-height: 38px;
}

.job-title-cell .job-title,
.secondary-title-cell .job-title {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

.job-title-cell p,
.secondary-title-cell p {
  color: var(--muted);
  font-size: 15px;
}

.table-cell,
.location-cell strong,
.date-cell {
  color: #34413c;
  font-size: 15px;
}

.location-cell span,
.date-cell small {
  color: var(--muted);
  font-size: 13px;
}

.salary-cell {
  color: #26342f;
  font-size: 15px;
}

.tag-blue,
.tag-green,
.tag-purple,
.tag-generic,
.tag-alert,
.chip,
.pill {
  border-radius: 999px;
  font-size: 13px;
}

.tag-blue {
  color: #1f6f8b;
  background: #eaf6fb;
}

.tag-green,
.chip.teal,
.pill.trust {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.tag-alert,
.chip.coral,
.pill.warm {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.apply-outline {
  min-width: 68px;
  min-height: 36px;
  border-color: #f2bbb6;
  border-radius: 7px;
  color: var(--accent-dark);
  font-size: 14px;
}

.apply-outline:hover,
.inline-action:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.table-footer {
  min-height: 64px;
}

.page-btn {
  min-width: 32px;
  height: 32px;
  border-radius: 7px;
}

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

.profile-cover {
  height: 124px;
  border-radius: 8px;
}

.featured-company {
  grid-template-columns: 74px minmax(0, 1fr);
  border-bottom-color: var(--line);
}

.featured-company h2,
.profile-company-card h2 {
  color: var(--ink);
  font-size: 20px;
}

.profile-logo {
  width: 68px;
  height: 58px;
  border-color: var(--line);
  border-radius: 8px;
}

.profile-brand-card,
.benefit-item,
.sidebar-stat-grid div,
.rail-context-card,
.source-highlight-grid > div,
.detail-fact-grid div,
.data-panel,
.data-field,
.brand-directory-row,
.secondary-job-row {
  border-color: var(--line);
}

.profile-section {
  border-bottom-color: var(--line);
}

.profile-section h3,
.health-head h3,
.entity-section-head h3 {
  color: var(--ink);
  font-size: 18px;
}

.profile-section p,
.profile-facts dd,
.entity-hero p,
.detail-summary {
  color: #3f4d47;
}

.benefit-icon {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.health-head span {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.health-bar span,
.mini-health i {
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
}

.health-stats strong,
.sidebar-stat-grid strong,
.entity-stat-panel strong,
.role-area-list strong,
.category-mini-list strong,
.brand-directory-row > span:nth-child(3),
.brand-directory-row > span:last-child {
  color: var(--teal-dark);
}

.secondary-market-board {
  grid-template-columns: minmax(240px, 270px) minmax(0, 1fr) minmax(300px, 330px);
}

.company-detail-board,
.brand-detail-board {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 330px);
}

.company-detail-board > .entity-rail,
.brand-detail-board > .entity-rail {
  display: none;
}

.entity-results.results-pane {
  padding: 0 22px;
}

.entity-profile.profile-pane {
  padding: 18px;
}

.entity-hero {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom-color: var(--line);
}

.entity-label {
  color: var(--accent-dark);
  font-size: 12px;
}

.entity-hero h2 {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: 0;
}

.entity-stat-panel {
  gap: 16px;
  border-top-color: var(--line);
}

.entity-section {
  padding: 22px 0;
  border-bottom-color: var(--line);
}

.brand-directory {
  border-top-color: var(--line);
}

.brand-directory-head,
.secondary-job-table-head {
  color: var(--ink);
  font-size: 13px;
}

.brand-directory-row {
  min-height: 72px;
  font-size: 15px;
}

.secondary-job-table-head,
.secondary-job-row {
  grid-template-columns: minmax(240px, 1.55fr) minmax(118px, 0.72fr) minmax(118px, 0.82fr) minmax(116px, 0.72fr) 88px;
  column-gap: 14px;
}

.secondary-job-row {
  min-height: 98px;
}

.detail-summary {
  max-width: 82ch;
  font-size: 18px;
}

.manual-description-callout,
.manual-description-callout.generic {
  border-radius: 8px;
}

.data-panel summary {
  font-size: 16px;
}

.data-field strong,
.data-field a {
  font-size: 15px;
}

.source-footnote {
  font-size: 13px;
}

@media (max-width: 1320px) {
  .market-board {
    grid-template-columns: minmax(240px, 270px) minmax(0, 1fr);
  }

  .market-profile.profile-pane,
  .entity-profile.profile-pane {
    display: none;
  }

  .company-detail-board,
  .brand-detail-board,
  .secondary-market-board {
    grid-template-columns: minmax(240px, 270px) minmax(0, 1fr);
  }

  .company-detail-board > .entity-rail,
  .brand-detail-board > .entity-rail {
    display: block;
  }

  .job-table-head,
  .market-job-row {
    grid-template-columns: 58px minmax(220px, 1.7fr) minmax(124px, 0.8fr) minmax(118px, 0.88fr) minmax(78px, 0.58fr);
  }

  .job-table-head span:nth-child(4),
  .market-job-row .location-cell,
  .job-table-head span:last-child,
  .market-job-row .apply-cell {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 14px 16px;
  }

  .brand,
  .nav-links,
  .header-actions {
    justify-self: start;
  }

  .header-actions {
    display: none;
  }

  .market-shell {
    padding: 12px;
  }

  .market-board,
  .secondary-market-board,
  .company-detail-board,
  .brand-detail-board {
    grid-template-columns: 1fr;
  }

  .market-filter.filter-rail,
  .market-results.results-pane,
  .market-profile.profile-pane,
  .entity-rail.filter-rail,
  .entity-results.results-pane {
    position: static;
    max-height: none;
    padding: 16px;
  }

  .company-detail-board > .entity-rail,
  .brand-detail-board > .entity-rail {
    display: block;
  }

  .market-profile.profile-pane,
  .entity-profile.profile-pane {
    display: block;
  }

  .market-results-top {
    min-height: 58px;
  }

  .market-job-row {
    grid-template-columns: 58px minmax(0, 1fr) 82px;
    gap: 12px;
  }

  .market-job-row .salary-cell,
  .market-job-row .location-cell,
  .market-job-row .date-cell {
    display: none;
  }

  .market-job-row .table-tags {
    grid-column: 2 / 3;
  }

  .market-job-row .apply-cell {
    display: grid;
    grid-column: 3 / 4;
    grid-row: 1 / span 2;
  }

  .entity-hero,
  .entity-hero.compact-entity-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-copy strong {
    font-size: 16px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 0 10px;
    font-size: 14px;
  }

  .market-filter.filter-rail,
  .market-results.results-pane,
  .market-profile.profile-pane,
  .entity-rail.filter-rail,
  .entity-results.results-pane {
    padding: 14px;
  }

  .job-title-cell .job-title,
  .secondary-title-cell .job-title {
    font-size: 17px;
  }

  .job-title-cell p,
  .secondary-title-cell p {
    font-size: 14px;
  }

  .market-job-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .market-job-row .apply-cell {
    grid-column: 2 / 3;
    grid-row: auto;
    justify-items: start;
  }

  .table-tags {
    grid-column: 2 / 3;
  }

  .entity-hero h2 {
    font-size: 30px;
  }

  .detail-summary {
    font-size: 16px;
  }
}

/* HiredInn primary app surface */
:root {
  --sl-ink: #121a27;
  --sl-ink-soft: #334155;
  --sl-muted: #667085;
  --sl-line: #e5e9ef;
  --sl-paper: #ffffff;
  --sl-wash: #f6f8fb;
  --sl-accent: #ff4f43;
  --sl-accent-dark: #d9362e;
  --sl-accent-soft: #fff0ee;
  --sl-teal: #13806f;
  --sl-teal-soft: #e8f6f2;
  --sl-warm: #a86600;
  --sl-warm-soft: #fff5dc;
  --sl-shadow: 0 22px 60px rgba(18, 26, 39, 0.08);
}

body {
  color: var(--sl-ink);
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 79, 67, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0, var(--sl-wash) 280px);
  font-size: 16px;
}

.site-header {
  min-height: 76px;
  padding: 0 34px;
  border-bottom: 1px solid var(--sl-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  grid-template-columns: 46px minmax(0, max-content);
  gap: 11px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--sl-accent);
  box-shadow: 0 14px 28px rgba(255, 79, 67, 0.22);
  font-size: 17px;
  font-weight: 900;
}

.brand-copy strong {
  color: #233047;
  font-size: 30px;
  line-height: 0.96;
  letter-spacing: 0;
}

.brand-copy strong span {
  color: var(--sl-accent);
}

.brand-copy small {
  margin-top: 4px;
  color: var(--sl-muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links {
  gap: 10px;
}

.nav-links a {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--sl-ink);
  font-size: 15px;
  font-weight: 760;
}

.nav-links a.active {
  color: var(--sl-accent-dark);
  background: var(--sl-accent-soft);
}

.nav-links a.active::after {
  right: 15px;
  bottom: 6px;
  left: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--sl-accent);
}

.header-actions {
  color: var(--sl-ink);
  font-size: 14px;
  font-weight: 760;
}

.avatar {
  background: #edf1f5;
}

.sl-app-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 30px 56px;
}

.sl-app-shell *,
.sl-app-shell *::before,
.sl-app-shell *::after {
  box-sizing: border-box;
}

.sl-app-shell a {
  color: inherit;
}

.sl-app-shell button,
.sl-app-shell input,
.sl-app-shell select {
  font: inherit;
}

.sl-search-dock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  margin-bottom: 14px;
}

.sl-search-box {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 60px;
  padding: 0 17px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 44px rgba(18, 26, 39, 0.05);
}

.sl-search-box svg,
.sl-filter-card svg {
  width: 22px;
  height: 22px;
  color: var(--sl-ink-soft);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sl-search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--sl-ink);
  background: transparent;
  font-size: 18px;
  font-weight: 620;
}

.sl-search-box input::placeholder {
  color: #98a2b3;
}

.sl-search-shortcut {
  color: #8b95a6;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.sl-search-button,
.sl-apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--sl-accent);
  box-shadow: 0 16px 34px rgba(255, 79, 67, 0.22);
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
}

.sl-search-button {
  min-height: 60px;
}

.sl-filter-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr)) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.sl-filter-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 8px 11px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: #ffffff;
}

.sl-filter-card strong {
  display: block;
  margin-bottom: 2px;
  color: var(--sl-ink);
  font-size: 13px;
  font-weight: 850;
}

.sl-filter-card select,
.sl-sort-control select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--sl-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 660;
}

.sl-clear-button {
  min-height: 42px;
  border: 0;
  color: var(--sl-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.sl-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.sl-stat-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--sl-line);
  border-radius: 999px;
  color: var(--sl-muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 720;
}

.sl-stat-strip strong {
  margin-right: 5px;
  color: var(--sl-ink);
}

.sl-workspace {
  display: grid;
  grid-template-columns: minmax(480px, 0.92fr) minmax(500px, 1.08fr);
  gap: 28px;
  align-items: start;
}

.sl-results-panel,
.sl-preview-panel,
.sl-employer-strip {
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--sl-shadow);
}

.sl-results-panel {
  padding: 20px;
}

.sl-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sl-kicker {
  margin: 0 0 7px;
  color: var(--sl-accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.sl-results-head h1,
.sl-strip-head h2 {
  margin: 0;
  color: var(--sl-ink);
  letter-spacing: 0;
}

.sl-results-head h1 {
  font-size: clamp(27px, 2.2vw, 34px);
  line-height: 1.02;
}

.sl-sort-control {
  display: grid;
  min-width: 174px;
  min-height: 42px;
  align-content: center;
  padding: 7px 10px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: #ffffff;
}

.sl-sort-control span {
  color: var(--sl-muted);
  font-size: 11px;
  font-weight: 850;
}

.sl-job-list {
  display: grid;
  gap: 0;
}

.sl-group-label {
  margin: 14px 0 8px;
  color: var(--sl-ink);
  font-size: 14px;
  font-weight: 850;
}

.sl-job-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(118px, auto);
  gap: 15px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-top-color: var(--sl-line);
  background: #ffffff;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.sl-job-row:first-of-type {
  border-top-color: transparent;
}

.sl-job-row:hover,
.sl-job-row.active {
  position: relative;
  z-index: 1;
  border-color: var(--sl-accent);
  border-radius: 8px;
  background: #fffdfa;
  box-shadow: 0 14px 34px rgba(255, 79, 67, 0.08);
}

.sl-logo-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  color: #314158;
  background: #fbfcfe;
  font-weight: 900;
}

.sl-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.sl-job-logo {
  width: 70px;
  height: 70px;
  font-size: 17px;
}

.sl-preview-logo {
  width: 112px;
  height: 112px;
  font-size: 25px;
}

.sl-small-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  font-size: 14px;
}

.sl-job-copy {
  display: grid;
  min-width: 0;
}

.sl-job-copy strong {
  color: var(--sl-ink);
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sl-job-copy small {
  margin: 5px 0 8px;
  color: var(--sl-ink-soft);
  font-size: 15px;
  font-weight: 560;
  overflow-wrap: anywhere;
}

.sl-job-meta,
.sl-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sl-chip,
.sl-job-meta span,
.sl-tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #4b5565;
  background: #f1f4f7;
  font-size: 13px;
  font-weight: 720;
}

.sl-chip-teal,
.sl-job-meta .sl-chip-teal,
.sl-tag-row span:first-child {
  color: var(--sl-teal);
  background: var(--sl-teal-soft);
}

.sl-chip-warm {
  color: var(--sl-warm);
  background: var(--sl-warm-soft);
}

.sl-chip-alert {
  color: var(--sl-accent-dark);
  background: var(--sl-accent-soft);
}

.sl-row-aside {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--sl-ink-soft);
}

.sl-row-aside strong {
  color: var(--sl-ink);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.sl-row-aside small {
  max-width: 135px;
  color: var(--sl-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-align: right;
}

.sl-list-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--sl-muted);
  font-size: 14px;
  font-weight: 700;
}

.sl-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  color: var(--sl-ink-soft);
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.sl-preview-panel {
  position: sticky;
  top: 98px;
  overflow: hidden;
}

.sl-preview-inner {
  padding: 28px;
}

.sl-verified-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sl-teal);
  font-size: 15px;
  font-weight: 760;
}

.sl-verified-line span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sl-teal);
  box-shadow: 0 0 0 5px var(--sl-teal-soft);
}

.sl-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 24px;
  align-items: start;
  margin-top: 26px;
}

.sl-preview-head h2 {
  margin: 0;
  color: var(--sl-ink);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.sl-preview-head p {
  margin: 12px 0 0;
  color: var(--sl-ink-soft);
  font-size: 17px;
  font-weight: 640;
  line-height: 1.45;
}

.sl-preview-summary {
  margin: 24px 0;
  color: var(--sl-ink-soft);
  font-size: 18px;
  line-height: 1.62;
}

.sl-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.sl-fact {
  display: grid;
  min-height: 82px;
  align-content: center;
  padding: 13px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: #fbfcfe;
}

.sl-fact strong {
  color: var(--sl-muted);
  font-size: 12px;
  font-weight: 850;
}

.sl-fact small {
  margin-top: 5px;
  color: var(--sl-ink);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
}

.sl-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sl-preview-actions .sl-apply-button {
  padding: 0 16px;
}

.sl-source-note {
  margin-top: 16px;
  color: var(--sl-muted);
  font-size: 13px;
  font-weight: 650;
}

.sl-employer-strip {
  grid-column: 1 / -1;
  padding: 20px;
}

.sl-strip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.sl-strip-head h2 {
  font-size: 25px;
}

.sl-strip-head a {
  color: var(--sl-accent-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.sl-employer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sl-employer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
}

.sl-employer-card strong {
  display: block;
  color: var(--sl-ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
}

.sl-employer-card small {
  display: block;
  margin-top: 4px;
  color: var(--sl-muted);
  font-size: 13px;
  font-weight: 680;
}

.sl-empty-state {
  padding: 24px;
  border: 1px dashed var(--sl-line);
  border-radius: 8px;
  color: var(--sl-muted);
  background: #fbfcfe;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .sl-filter-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sl-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .sl-preview-panel {
    position: static;
  }

  .sl-employer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 14px 16px;
  }

  .brand,
  .nav-links {
    justify-self: start;
  }

  .nav-links {
    width: 100%;
    gap: 6px;
    overflow-x: auto;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 0 12px;
    font-size: 15px;
  }

  .brand-copy strong {
    font-size: 26px;
  }

  .header-actions {
    display: none;
  }

  .site-footer {
    display: grid;
    gap: 14px;
    padding: 20px 16px 32px;
  }

  .site-footer div,
  .site-footer nav {
    align-items: flex-start;
  }

  .trust-shell {
    padding: 32px 16px 58px;
  }

  .trust-hero {
    padding: 24px 0;
  }

  .trust-hero p:last-child {
    font-size: 16px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .sl-app-shell {
    padding: 16px 14px 42px;
  }

  .sl-search-dock,
  .sl-filter-strip {
    grid-template-columns: 1fr;
  }

  .sl-search-box {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .sl-search-shortcut {
    display: none;
  }

  .sl-results-panel,
  .sl-preview-inner,
  .sl-employer-strip {
    padding: 16px;
  }

  .sl-results-head,
  .sl-strip-head {
    display: grid;
    align-items: start;
  }

  .sl-sort-control {
    width: 100%;
  }

  .sl-job-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .sl-job-logo {
    width: 56px;
    height: 56px;
  }

  .sl-row-aside {
    grid-column: 2;
    justify-items: start;
  }

  .sl-row-aside small {
    max-width: none;
    text-align: left;
  }

  .sl-preview-head {
    grid-template-columns: 1fr;
  }

  .sl-preview-logo {
    width: 86px;
    height: 86px;
    grid-row: 1;
  }

  .sl-preview-head h2 {
    font-size: 31px;
  }

  .sl-fact-grid,
  .sl-employer-grid {
    grid-template-columns: 1fr;
  }

  .sl-list-actions,
  .sl-preview-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
