:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --surface: #fff;
  --ink: #1a302a;
  --muted: #63746a;
  --green: #227855;
  --green-dark: #15523c;
  --soft: #eaf3ee;
  --line: #e3e9e5;
  --radius: 14px;
  --font: 'DM Sans',system-ui,-apple-system,sans-serif;
  --display:'Manrope',var(--font)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior: smooth;
  scroll-padding-top:28px
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--font);
  -webkit-font-smoothing:antialiased
}
button,input,select {
  font:inherit
}
button,a,input,summary {
  touch-action:manipulation
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor: default;
  opacity:.45
}
a {
  color: inherit;
  text-decoration:none
}
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink:0
}
button svg,a svg {
  pointer-events:none
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  font-family: var(--display);
  font-weight:750
}
h1 {
  font-size: clamp(30px,3vw,42px);
  line-height: 1.2;
  letter-spacing:-1.7px
}
h2 {
  font-size: 17px;
  letter-spacing:-.45px
}
h3 {
  font-size: 16px;
  letter-spacing:-.3px
}
::selection {
  background:#d0e7d7
}
:focus-visible {
  outline: 3px solid #62a889;
  outline-offset:4px
}
[hidden] {
  display:none!important
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  padding: 12px 18px;
  background: var(--green-dark);
  color: white;
  z-index: 1000;
  border-radius:8px
}
.skip-link:focus {
  top:12px
}
.muted {
  color:var(--muted)
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 700;
  color:var(--muted)
}
.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin:round
}
.icon.small {
  width: 15px;
  height:15px
}
.shell {
  min-height:100vh
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 35px 20px 22px;
  display: flex;
  flex-direction: column;
  z-index:40
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding:0 10px
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 38px;
  color:var(--green)
}
.brand-name {
  font: 800 25px var(--display);
  letter-spacing:-1.2px
}
.brand-dot {
  color:var(--green)
}
.nav {
  display: grid;
  gap:6px;
  margin-top:40px
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 550;
  transition:background .18s,color .18s
}
.nav-link:hover {
  background: var(--bg);
  color:var(--ink)
}
.nav-link[aria-current=page] {
  background: var(--soft);
  color: var(--green-dark);
  font-weight:650
}
.nav-link .nav-indicator {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background:var(--green)
}
.sidebar-bottom {
  margin-top:auto
}
.sidebar-note {
  margin: 20px 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:#fafcfb
}
.sidebar-note .icon {
  color: var(--green);
  margin-bottom:10px
}
.sidebar-note strong {
  display: block;
  font-size: 14px;
  margin-bottom:6px
}
.sidebar-note p {
  font-size: 13px;
  line-height: 1.7;
  color:var(--muted)
}
.sidebar-footer {
  flex-wrap: wrap;
  gap: 7px 12px;
  border-top: 1px solid var(--line);
  padding: 18px 12px 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items:center
}
.public-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #5a9c75;
  border-radius: 50%;
  margin-right:6px
}
.main-shell {
  margin-left: 224px;
  min-width:0
}
.content {
  max-width: 1510px;
  margin: 0 auto;
  padding:39px 42px 24px
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom:30px
}
.page-head .eyebrow {
  color: var(--green);
  margin-bottom:9px
}
.page-copy {
  color: var(--muted);
  margin-top: 10px;
  font-size: 14px;
  line-height:1.7
}
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 550;
  font-size: 14px;
  transition: background .18s,border-color .18s,box-shadow .18s,transform .18s;
  white-space:nowrap
}
.button:hover {
  border-color: #bdcec2;
  background: #fafcfb;
  box-shadow:0 3px 9px #183c2710
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color:white
}
.button.primary:hover {
  background: var(--green-dark);
  border-color:var(--green-dark)
}
.button.ghost {
  background: transparent;
  border-color: transparent;
  color:var(--muted)
}
.button.ghost:hover {
  background: var(--soft);
  color:var(--green-dark)
}
.text-link {
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap:7px
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset:4px
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width:0
}
.stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-bottom:24px
}
.stat {
  padding: 21px 22px 18px;
  position: relative;
  overflow:hidden
}
.stat-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight:500
}
.stat-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color:var(--green)
}
.stat-icon .icon {
  width: 16px;
  height:16px
}
.stat-value {
  font: 700 clamp(27px,2.5vw,35px)/1.4 var(--display);
  letter-spacing: -1.6px;
  font-variant-numeric: tabular-nums;
  margin:7px 0 4px
}
.stat-note {
  color: var(--muted);
  font-size:12px
}
.stat:first-child {
  background: #eaf3ee;
  border-color:#dbe9df
}
.stat:first-child .stat-icon {
  background:#dbeadf
}
.stat:first-child .stat-value {
  color:var(--green-dark)
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 16px;
  margin-bottom: 22px;
  position: relative;
  z-index:10
}
.filter-bar-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  margin-right:3px
}
.filter-bar .filter-select {
  min-width: 150px;
  max-width: 240px;
  flex:1
}
.filter-bar .reset-button {
  margin-left:auto
}
.filter-select {
  position: relative;
  min-width:0
}
.filter-select summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  min-height: 39px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  background: white;
  color: var(--ink);
  user-select:none
}
.filter-select summary::-webkit-details-marker {
  display:none
}
.filter-select summary .selected-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex:1
}
.filter-select summary>.icon:last-child {
  margin-left: auto;
  color: var(--muted);
  transition:transform .16s
}
.filter-select[open] summary {
  border-color: #a4c4ae;
  box-shadow:0 0 0 2px #eaf3ee
}
.filter-select[open] summary>.icon:last-child {
  transform:rotate(180deg)
}
.filter-count {
  color: var(--green);
  font-size: 12px;
  min-width: 17px;
  text-align:center
}
.filter-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 30;
  width: max(100%,255px);
  max-width: min(340px,calc(100vw - 56px));
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 36px #142e221b;
  border-radius: 10px;
  padding:8px
}
.filter-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 14px;
  outline-offset: 1px;
  margin-bottom: 7px;
  color: var(--ink);
  background:var(--bg)
}
.filter-options {
  max-height: 245px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width:thin
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 8px;
  font-size: 14px;
  border-radius: 5px;
  cursor:pointer
}
.filter-option:hover {
  background:var(--bg)
}
.filter-option input {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  margin: 0;
  flex-shrink:0
}
.filter-option .option-name {
  flex: 1;
  overflow-wrap:anywhere
}
.option-count {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric:tabular-nums
}
.filter-empty {
  padding: 15px;
  color: var(--muted);
  font-size:14px
}
.date-menu {
  padding:16px
}
.date-menu label {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  color:var(--muted)
}
input[type=date] {
  display: block;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  margin-top: 6px;
  background:white
}
.reset-button {
  font-size: 13px;
  min-height: 35px;
  padding:5px 8px
}
.active-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin:0 0 18px
}
.active-filters:empty {
  display:none
}
.filter-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cfe0d4;
  background: var(--soft);
  color: var(--green-dark);
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align:left
}
.filter-chip:hover {
  background:#dcebe1
}
.filter-chip .icon {
  width: 12px;
  height:12px
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(280px,1fr);
  gap: 20px;
  align-items:start
}
.date-slicer {
  padding:17px 19px 14px;
  margin:0 0 18px
}
.date-slicer-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px
}
.date-slicer-head h2 {
  display:flex;
  align-items:center;
  gap:8px;
  font:650 16px/1.3 var(--display);
  letter-spacing:-.2px
}
.date-slicer-head h2 [data-icon] {color:var(--green)}
.date-slicer-head h2 .icon {width:17px;height:17px}
.date-slicer-head p,.date-range-status {
  color:var(--muted);
  font-size:12px
}
.date-slicer-head p {margin-top:3px}
.date-range-status {white-space:nowrap;font-variant-numeric:tabular-nums}
.date-slicer-controls {
  display:flex;
  align-items:flex-end;
  gap:8px
}
.date-slicer-controls>label {
  display:grid;
  gap:4px;
  color:var(--muted);
  font-size:11px
}
.date-slicer-controls input {
  width:150px;
  min-height:38px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  color:var(--ink);
  padding:6px 9px
}
.date-range-separator {color:var(--muted);padding-bottom:9px;font-size:12px}
.date-presets {display:flex;gap:5px;margin-left:auto}
.date-presets button,.map-controls button {
  min-height:38px;
  padding:6px 11px;
  color:var(--muted);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:7px;
  font-size:12px;
  white-space:nowrap
}
.date-presets button[aria-pressed=true] {
  border-color:transparent;
  background:var(--soft);
  color:var(--green-dark);
  font-weight:650
}
.dashboard-insights {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
  align-items:stretch
}
.matrix-panel,.map-panel {min-width:0;overflow:hidden}
.matrix-category-controls {padding:0 19px 16px}
.matrix-category-controls button {font-family:inherit;cursor:pointer}
.matrix-category-heading {display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:11px}
.matrix-category-heading>span:first-child {font-weight:650;color:var(--ink)}
#matrixCategoryStatus {color:var(--muted)}
#matrixCategoryReset {border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--green-dark);margin-left:auto;padding:4px 10px;font-size:11px;min-height:30px}
.matrix-category-chips {display:flex;flex-wrap:wrap;gap:6px}
.matrix-category-chip {display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:550;white-space:nowrap}
.matrix-category-chip .icon {width:12px;height:12px;opacity:0;flex:none}
.matrix-category-chip[aria-pressed=true] {background:var(--soft);border-color:#9bc2ae;color:var(--green-dark)}
.matrix-category-chip[aria-pressed=true] .icon {opacity:1}
.matrix-category-chip:hover {border-color:var(--green)}
.matrix-category-more {display:none}
.matrix-scroll {overflow-x:auto;overscroll-behavior-inline:contain}
.company-category-matrix {
  width:100%;
  min-width:var(--matrix-min-width,555px);
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  font-size:12px
}
.company-category-matrix th,.company-category-matrix td {
  padding:8px 7px;
  border-bottom:1px solid var(--line)
}
.company-category-matrix thead th {
  color:var(--muted);
  font-size:11px;
  font-weight:550;
  line-height:1.25;
  text-align:center;
  vertical-align:bottom;
  overflow-wrap:anywhere
}
.company-category-matrix thead th:first-child {width:145px;text-align:left}
.company-category-matrix .matrix-total-heading {width:66px;text-align:right}
.company-category-matrix tbody th {
  max-width:145px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left;
  font-weight:600
}
.company-category-matrix .matrix-share {
  background:color-mix(in srgb,var(--green) var(--cell-fill),transparent);
  text-align:center;
  font-variant-numeric:tabular-nums;
  white-space:nowrap
}
.company-category-matrix .matrix-total {text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
.company-category-matrix tbody tr:last-child th,.company-category-matrix tbody tr:last-child td {border-bottom:0}
.matrix-note {
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:11px 19px 15px;
  color:var(--muted);
  font-size:11px
}
.matrix-empty {padding:25px 12px;color:var(--muted);text-align:center}
.map-head {align-items:flex-start}
.map-controls {display:flex;gap:5px;flex:none}
.map-controls button {min-width:38px;padding:5px 9px;font-weight:600}
.map-controls button:last-child {font-weight:500}
.world-map-frame {
  height:clamp(350px,42vw,620px);
  margin:0 18px;
  overflow:hidden;
  border-radius:9px;
  background:#edf3ef
}
.world-map {display:block;width:100%;height:100%;touch-action:none;cursor:grab;user-select:none}
.world-map:active {cursor:grabbing}
.world-map-layer {transform-origin:0 0}
.world-country {
  fill:#e4ebe7;
  stroke:#fff;
  stroke-width:.75px;
  vector-effect:non-scaling-stroke;
  transition:fill .16s ease
}
.world-country.has-data {fill:color-mix(in srgb,var(--green) var(--map-fill),#e8efeb)}
.world-country:focus-visible {outline:none;stroke:var(--green-dark);stroke-width:2px}
.map-region {stroke-width:.55px}
.world-country:hover {stroke:var(--green-dark);stroke-width:1.25px}
.map-detail {
  min-height:37px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 19px 15px;
  color:var(--muted);
  font-size:11px
}
.map-detail strong {color:var(--ink);font-weight:650}
.map-legend {display:flex;align-items:center;gap:4px;white-space:nowrap}
.map-legend i {width:10px;height:8px;border-radius:2px;background:var(--green);opacity:.28}
.map-legend i:nth-child(2) {opacity:.55}
.map-legend i:nth-child(3) {opacity:.82}
.map-note {padding:6px 19px 15px;color:var(--muted);font-size:11px}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding:23px 24px 15px
}
.card-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top:5px
}
.card-tag {
  font-size: 12px;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 7px;
  white-space:nowrap
}
.chart {
  padding:7px 24px 10px
}
.chart-row {
  display: grid;
  grid-template-columns: 155px minmax(0,1fr) 46px;
  gap: 13px;
  align-items: center;
  width: 100%;
  padding: 12px 0;
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink);
  border-radius:5px
}
.chart-row:hover {
  background:#f4f8f5
}
.chart-label {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space:nowrap
}
.chart-track {
  height: 10px;
  background: #eff3f0;
  border-radius: 3px;
  overflow:hidden
}
.chart-fill {
  height: 100%;
  border-radius: 3px;
  background: #7eae91;
  min-width: 3px;
  animation: grow .55s ease both;
  transform-origin:left
}
.chart-row:first-child .chart-fill {
  background:var(--green)
}
.chart-row:nth-child(2) .chart-fill {
  background:#4a8e66
}
.chart-row[aria-pressed=true] .chart-label {
  font-weight: 700;
  color:var(--green)
}
.chart-count {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align:right
}
.chart-label-head {
  display: flex;
  justify-content: space-between;
  padding: 0 24px 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing:1px
}
.card-foot {
  border-top: 1px solid var(--line);
  padding: 13px 24px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items:center
}
.company-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border: 1px solid #e0e9e2;
  border-radius: 9px;
  background: #f0f5f1;
  color: #51735c;
  font: 700 10px var(--display);
  letter-spacing:-.4px
}
.company-avatar[data-tone="1"] {
  background: #f7f0e8;
  color: #987045;
  border-color:#ede3d6
}
.company-avatar[data-tone="2"] {
  background: #eef1f9;
  color: #607395;
  border-color:#e1e6f0
}
.company-avatar[data-tone="3"] {
  background: #f5eef5;
  color: #8b6988;
  border-color:#eadfea
}
.feature-note {
  margin-top: 20px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  background: #edf3ee;
  border: 1px solid #dde8df;
  border-radius:var(--radius)
}
.feature-note .note-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  background: #deebe1;
  border-radius: 11px;
  color:var(--green)
}
.feature-note h3 {
  font-size: 14px;
  margin-bottom:5px
}
.feature-note p {
  font-size: 13px;
  color: #536b5a;
  line-height:1.7
}
.feature-note .text-link {
  margin-left: auto;
  flex-shrink:0
}
.recent-card {
  margin-top:22px
}
.recent-row {
  display: grid;
  grid-template-columns: minmax(0,1.8fr) 1fr 100px 18px;
  gap: 20px;
  align-items: center;
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  transition:background .18s
}
.recent-row:hover {
  background:#f8fbf9
}
.recent-title {
  font-size: 14px;
  font-weight:600
}
.recent-company {
  font-size: 12px;
  color: var(--muted);
  margin-top:3px
}
.recent-location {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space:nowrap
}
.recent-date {
  font-size: 12px;
  color: var(--muted);
  white-space:nowrap
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 32px;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color:var(--muted)
}
.footer-brand {
  font-weight: 650;
  color:#52705c
}
.error-notice {
  border: 1px solid #ebccbc;
  background: #fff6ef;
  color: #815237;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content:space-between
}
.empty-state {
  display: grid;
  justify-items: center;
  gap: 13px;
  text-align: center;
  padding: 54px 24px;
  max-width: 100%;
  color:var(--muted)
}
.empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom:5px
}
.empty-state h2 {
  color: var(--ink);
  font-size:18px
}
.empty-state p {
  font-size: 14px;
  max-width:300px
}
.loading-line {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg,#edf2ee 25%,#f7f9f7 50%,#edf2ee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin: 14px 0;
  max-width:100%
}
.skeleton-card {
  padding:24px
}
.skeleton-card .loading-line:first-child {
  width:55%
}
.loading-line.large {
  height: 32px;
  width:70%
}
.loading .stat-value {
  color:#91a39a
}
.loading-indicator {
  height: 2px;
  position: fixed;
  top: 0;
  left: 224px;
  right: 0;
  z-index: 80;
  overflow: hidden;
  pointer-events:none
}
.loading-indicator:before {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: var(--green);
  animation:progress 1s ease-in-out infinite
}
.loading-indicator[hidden] {
  display:none
}
.results-layout {
  display: grid;
  grid-template-columns: 234px minmax(0,1fr);
  gap: 24px;
  align-items:start
}
.results-layout > section {
  position:relative;
  z-index:0
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #d9e3dc;
  border-radius: 10px;
  padding: 0 16px;
  min-height: 53px;
  box-shadow:0 2px 4px #1f3b2703
}
.search-box:focus-within {
  border-color: #7da98b;
  box-shadow:0 0 0 3px #e4eee7
}
.search-box>.icon {
  color: var(--green);
  width: 20px;
  height:20px
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
  color: var(--ink);
  padding: 15px 0;
  font-size:14px
}
.search-box input::placeholder {
  color:#63746a
}
.search-box kbd {
  font: 12px var(--font);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding:0 6px
}
.search-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom:25px
}
.search-toolbar .search-box {
  flex:1
}
.mobile-filter-button {
  display:none
}
.filters-panel {
  padding: 20px 18px;
  position: sticky;
  top:22px;
  z-index:2
}
.filters-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom:20px
}
.filters-heading h2 {
  font-size:14px
}
.filters-heading .reset-button {
  font-size: 12px;
  min-height: 24px;
  padding:0
}
.filter-field {
  margin:17px 0
}
.field-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing:.2px
}
.filters-panel .filter-select summary {
  font-size: 13px;
  padding:9px 10px
}
.filters-panel .filter-menu {
  width:280px
}
.filters-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top:22px
}
.results-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin:0 0 15px
}
.results-top h2 {
  font-size:16px
}
.results-sort {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap:6px
}
.results-summary {
  font-size: 12px;
  color: var(--muted);
  margin-top:4px
}
.job-list {
  display: grid;
  gap:12px
}
.job-card {
  padding: 22px;
  transition: border-color .18s,box-shadow .18s,transform .18s;
  position:relative
}
.job-card:hover {
  border-color: #b6cfbe;
  box-shadow: 0 5px 16px #193a2210;
  transform:translateY(-1px)
}
.job-card-top {
  display: flex;
  gap: 12px;
  align-items:flex-start
}
.job-card .company-avatar {
  width: 41px;
  height: 41px;
  flex-basis: 41px;
  border-radius:10px
}
.job-title-block {
  min-width: 0;
  flex:1
}
.job-company {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight:500
}
.job-title {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -.3px;
  overflow-wrap:anywhere
}
.job-title a:hover {
  color:var(--green)
}
.job-title a:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius:var(--radius)
}
.job-title a:focus-visible {
  outline:none
}
.job-card:focus-within {
  outline: 3px solid #83b194;
  outline-offset:3px
}
.job-date {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top:2px
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12px;
  margin-top:12px
}
.job-meta span {
  display: flex;
  align-items: center;
  gap:5px
}
.job-meta .icon {
  width: 13px;
  height:13px
}
.job-description {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: #617367;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden
}
.job-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top:16px
}
.badges {
  display: flex;
  gap: 6px;
  flex-wrap:wrap
}
.badge {
  padding: 3px 7px;
  background: #f0f4f1;
  color: #5b7665;
  border-radius: 4px;
  font-size: 11px;
  display: inline-block;
  line-height:1.65
}
.salary-badge {
  background: #edf5e6;
  color:#507334
}
.job-details-link {
  color: var(--green);
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  white-space:nowrap
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding:22px 0 2px
}
.pagination:empty {
  display:none
}
.pagination-info {
  font-size: 12px;
  color:var(--muted)
}
.pagination-buttons {
  display: flex;
  gap: 5px;
  align-items:center
}
.page-button {
  min-width: 32px;
  height: 32px;
  padding: 4px 8px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size:13px
}
.page-button:hover {
  background: white;
  border-color:var(--line)
}
.page-button[aria-current=page] {
  background: var(--green);
  color:white
}
.page-button.arrow {
  background: white;
  border-color:var(--line)
}
.page-ellipsis {
  color: var(--muted);
  font-size: 13px;
  padding:0 2px
}
.results-loading {
  opacity: .5;
  pointer-events:none
}
.detail-breadcrumb {
  margin-bottom:24px
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 270px;
  gap: 23px;
  align-items:start
}
.detail-main {
  padding: 32px;
  overflow-wrap:anywhere
}
.detail-company-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom:22px
}
.detail-company-head .company-avatar {
  width: 45px;
  height: 45px;
  flex-basis: 45px;
  font-size:14px
}
.detail-company-name {
  font-size: 14px;
  font-weight:600
}
.detail-company-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top:3px
}
.detail-title {
  font-size: clamp(25px,2.4vw,34px);
  line-height: 1.35;
  letter-spacing: -1px;
  margin-bottom:14px
}
.detail-main .job-meta {
  margin:17px 0
}
.detail-main .badges {
  margin:20px 0
}
.description-section {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top:25px
}
.description-section h2 {
  font-size: 16px;
  margin-bottom:18px
}
.description-text {
  font-size: 14px;
  color: #56685f;
  line-height: 1.75;
  overflow-wrap: anywhere
}
.description-text p {
  margin:0 0 17px
}
.description-text h3,
.description-text h4,
.description-text h5,
.description-text h6 {
  color:var(--ink);
  font-family:Manrope,sans-serif;
  line-height:1.4;
  margin:24px 0 9px
}
.description-text h3 {font-size:16px}
.description-text h4 {font-size:15px}
.description-text ul,
.description-text ol {
  margin:0 0 19px;
  padding-left:24px
}
.description-text li {
  padding-left:3px;
  margin:0 0 7px
}
.description-text a {
  color:var(--green-dark);
  text-decoration:underline;
  text-underline-offset:2px
}
.detail-sidebar {
  position: sticky;
  top: 23px;
  padding:24px
}
.detail-sidebar .button {
  width: 100%;
  font-size:13px
}
.detail-sidebar h2 {
  font-size: 14px;
  margin-bottom:22px
}
.detail-field {
  margin:0 0 22px
}
.detail-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom:6px
}
.detail-value {
  font-size: 14px;
  overflow-wrap:anywhere
}
.detail-side-note {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top:20px
}
.copy-button {
  margin-top:9px
}
.detail-main .salary-badge {
  font-size: 13px;
  padding:7px 10px
}
.detail-actions-mobile {
  display:none
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 112px);
  transform: translateX(-50%);
  background: var(--green-dark);
  color: white;
  border-radius: 9px;
  padding: 12px 20px;
  font-size: 14px;
  box-shadow: 0 5px 25px #193a2226;
  z-index: 100;
  max-width:90vw
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border:0
}
@keyframes grow {
  from {
    transform:scaleX(0)
  }
  to {
    transform:scaleX(1)
  }
}
@keyframes shimmer {
  to {
    background-position:-200% 0
  }
}
@keyframes progress {
  from {
    transform:translateX(-100%)
  }
  to {
    transform:translateX(350%)
  }
}
@media(min-width:1600px) {
  .content {
    padding-top:45px
  }
  .page-head {
    margin-bottom:34px
  }
  .chart-row {
    padding:14px 0
  }
}
@media(max-width:1200px) {
  .sidebar {
    width: 190px;
    padding-left: 14px;
    padding-right:14px
  }
  .main-shell {
    margin-left:190px
  }
  .content {
    padding:30px 28px 22px
  }
  .loading-indicator {
    left:190px
  }
  .toast {
    left:calc(50% + 95px)
  }
  .stats {
    gap:12px
  }
  .stat {
    padding:17px
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1.4fr) minmax(245px,1fr)
  }
  .dashboard-insights {grid-template-columns:minmax(0,1fr)}
  .card-head {
    padding:20px 20px 15px
  }
  .chart {
    padding:6px 20px 10px
  }
  .chart-row {
    grid-template-columns: 115px minmax(0,1fr) 39px;
    gap:9px
  }
  .chart-label {
    font-size:12px
  }
  .results-layout {
    grid-template-columns: 210px minmax(0,1fr);
    gap:19px
  }
  .detail-layout {
    grid-template-columns:minmax(0,1fr) 240px
  }
  .detail-main {
    padding:25px
  }
  .detail-sidebar {
    padding:20px
  }
  .feature-note {
    align-items:flex-start
  }
  .feature-note .text-link {
    margin-top:2px
  }
}
@media(max-width:1000px) {
  .sidebar {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 17px 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    justify-content:space-between
  }
  .brand {
    padding: 0;
    gap:8px
  }
  .brand-mark {
    width: 29px;
    height:31px
  }
  .brand-name {
    font-size:23px
  }
  .sidebar-bottom {
    display:none
  }
  .nav {
    display: flex;
    gap: 25px;
    width: 100%;
    margin-top:0
  }
  .nav-link {
    border-radius: 0;
    padding: 10px 0 12px;
    background: transparent!important;
    color: var(--muted);
    position: relative;
    font-size: 14px;
    gap:8px
  }
  .nav-link[aria-current=page] {
    color:var(--green)
  }
  .nav-link[aria-current=page]:after {
    content: '';
    position: absolute;
    height: 2px;
    background: var(--green);
    bottom: -1px;
    left: 0;
    right:0
  }
  .nav-indicator {
    display:none
  }
  .nav-link .icon {
    width: 16px;
    height:16px
  }
  .main-shell {
    margin-left:0
  }
  .loading-indicator {
    left:0
  }
  .content {
    padding:28px 24px 20px
  }
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .dashboard-insights {
    grid-template-columns:minmax(0,1fr)
  }
  .chart-row {
    grid-template-columns:155px minmax(0,1fr) 50px
  }
  .chart-label {
    font-size:13px
  }
  .feature-note {
    flex-wrap:wrap
  }
  .feature-note .text-link {
    margin-left:55px
  }
  .page-head {
    gap:15px
  }
  h1 {
    font-size:33px
  }
  .page-head .button {
    padding: 10px 12px;
    font-size:13px
  }
  .results-layout {
    grid-template-columns:minmax(0,1fr)
  }
  .mobile-filter-button {
    display:inline-flex
  }
  .filters-panel {
    display: none;
    position: static;
    grid-template-columns: 1fr 1fr;
    gap:0 20px
  }
  .filters-panel.is-open {
    display:grid;
    position:relative;
    z-index:2
  }
  .filters-heading,.filters-note {
    grid-column:1/-1
  }
  .filters-heading {
    margin-bottom:0
  }
  .filter-field {
    margin:11px 0
  }
  .filters-note {
    margin-top:10px
  }
  .detail-layout {
    grid-template-columns:minmax(0,1fr)
  }
  .detail-sidebar {
    position:static
  }
  .detail-actions-mobile {
    display: flex;
    gap: 10px;
    margin-top:23px
  }
  .detail-actions-mobile .button {
    flex:1
  }
  .toast {
    left:50%
  }
  .recent-row {
    grid-template-columns:minmax(0,1.5fr) 1fr 18px
  }
  .recent-date {
    display:none
  }
}
@media(max-width:720px) {
  .sidebar {
    padding:17px 20px 0
  }
  .sidebar:after {
    content: 'PUBLIC EXPLORER';
    font-size: 10px;
    letter-spacing: 1px;
    color: #829587;
    position: absolute;
    right: 21px;
    top:29px
  }
  .content {
    padding:27px 20px 18px
  }
  .loading-indicator {
    left:0
  }
  .page-head {
    align-items: flex-start;
    margin-bottom:23px
  }
  .page-head .eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
    margin-bottom:9px
  }
  h1 {
    font-size: 30px;
    letter-spacing:-1.2px
  }
  .page-copy {
    font-size: 14px;
    margin-top: 10px;
    line-height:1.7
  }
  .page-head>.button {
    display:none
  }
  .stats {
    gap: 10px;
    margin-bottom:18px
  }
  .stat {
    padding:15px 15px 13px
  }
  .stat-header {
    font-size: 12px;
    gap:5px
  }
  .stat-icon {
    width: 25px;
    height: 25px;
    border-radius:6px
  }
  .stat-icon .icon {
    width: 14px;
    height:14px
  }
  .stat-value {
    font-size: 29px;
    margin: 5px 0 2px;
    letter-spacing:-1.2px
  }
  .stat-note {
    font-size:11px
  }
  .filter-bar {
    padding: 11px;
    gap: 8px;
    margin-bottom:17px
  }
  .date-slicer {padding:14px 13px 12px;margin-bottom:15px}
  .date-slicer-head {align-items:center;margin-bottom:10px}
  .date-slicer-head h2 {font-size:15px}
  .date-slicer-head p {font-size:11px}
  .date-range-status {max-width:48%;white-space:normal;text-align:right;font-size:11px;line-height:1.3}
  .date-slicer-controls {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px}
  .date-slicer-controls>label {min-width:0}
  .date-slicer-controls input {width:100%;min-width:0;min-height:40px;padding:5px 6px;font-size:13px}
  .date-range-separator {padding:0 0 10px}
  .date-presets {grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:1px 0 0}
  .date-presets button {min-width:0;min-height:40px;padding:5px 4px;font-size:11px}
  .filter-bar-label {
    width: 100%;
    font-size: 12px;
    margin-bottom:1px
  }
  .filter-bar .filter-select {
    min-width: calc(50% - 8px);
    max-width:none
  }
  .filter-bar .filter-select summary {
    font-size: 12px;
    padding: 8px;
    min-height:36px
  }
  .filter-bar .reset-button {
    min-height: 33px;
    font-size: 12px;
    flex:1
  }
  .filter-bar .filter-select:nth-of-type(even) .filter-menu {
    left: auto;
    right:0
  }
  .filter-menu {
    max-width:calc(100vw - 64px)
  }
  .dashboard-grid {
    gap:16px
  }
  .dashboard-insights {gap:15px}
  .card {
    border-radius:11px
  }
  .card-head {
    padding:19px 17px 15px
  }
  .card-head h2 {
    font-size:15px
  }
  .card-subtitle {
    font-size:12px
  }
  .card-tag {
    font-size:11px
  }
  .chart-label-head {
    padding: 0 17px 4px;
    font-size:10px
  }
  .chart {
    padding:0 17px 10px
  }
  .chart-row {
    grid-template-columns: 121px minmax(0,1fr) 36px;
    gap: 9px;
    padding:11px 0
  }
  .chart-label {
    font-size:12px
  }
  .chart-track {
    height:8px
  }
  .chart-count {
    font-size:12px
  }
  .card-foot {
    padding: 12px 17px;
    font-size: 11px;
    gap:7px
  }
  .card-foot .text-link {
    font-size:12px
  }
  .matrix-panel .card-head,.map-panel .card-head {padding:17px 15px 13px}
  .matrix-category-controls {padding:0 15px 14px}
  .matrix-category-chip {min-height:40px}
  .matrix-category-chips:not(.is-expanded) .matrix-category-chip[aria-pressed=false] {display:none}
  .matrix-category-chips:not(.is-expanded) .matrix-category-chip[aria-pressed=false]:focus {display:inline-flex}
  .matrix-category-more {border:1px solid var(--line);background:var(--surface);display:inline-flex;align-items:center;min-height:40px;padding:6px 12px;border-radius:999px;font-size:11px;color:var(--green-dark)}
  .company-category-matrix {min-width:var(--matrix-min-width,555px)}
  .company-category-matrix th,.company-category-matrix td {padding:8px 6px}
  .matrix-note {display:grid;gap:4px;padding:10px 15px 13px;font-size:10px;line-height:1.45}
  .world-map-frame {height:290px;margin:0 12px}
  .map-controls button {min-width:42px;min-height:42px;padding:5px 10px}
  .map-detail {padding:9px 14px 13px;align-items:flex-start;line-height:1.45}
  .map-legend {gap:3px}
  .map-legend i {width:8px}
  .map-note {padding:6px 14px 13px;font-size:10px}
  .feature-note {
    margin-top: 16px;
    padding: 17px;
    gap:11px
  }
  .feature-note .note-icon {
    width: 32px;
    height: 32px;
    border-radius:8px
  }
  .feature-note>div:not(.note-icon) {
    flex: 1;
    min-width:0
  }
  .feature-note h3 {
    font-size:13px
  }
  .feature-note p {
    font-size:12px
  }
  .feature-note .text-link {
    margin-left: 43px;
    font-size:12px
  }
  .recent-card {
    margin-top:17px
  }
  .recent-row {
    padding: 14px 17px;
    gap: 9px;
    grid-template-columns:minmax(0,1fr) 15px
  }
  .recent-location {
    display:none
  }
  .recent-title {
    font-size:13px
  }
  .recent-company {
    font-size:11px
  }
  .recent-card .card-head .text-link {
    font-size:12px
  }
  .page-footer {
    margin-top: 24px;
    font-size: 11px;
    align-items: flex-start;
    line-height:1.8
  }
  .page-footer>span:last-child {
    text-align: right;
    max-width:65%
  }
  .search-toolbar {
    margin-bottom: 21px;
    gap:8px
  }
  .search-box {
    min-height: 47px;
    padding: 0 12px;
    gap:8px
  }
  .search-box input {
    font-size: 13px;
    padding:13px 0
  }
  .search-box>.icon {
    width: 17px;
    height:17px
  }
  .search-box kbd {
    display:none
  }
  .mobile-filter-button {
    font-size: 13px;
    padding: 9px 11px;
    min-height:47px
  }
  .mobile-filter-button .icon {
    width: 16px;
    height:16px
  }
  .results-layout {
    gap:16px
  }
  .filters-panel {
    padding: 17px;
    gap:0 12px
  }
  .filters-panel .filter-menu {
    width: 260px;
    max-width:calc(100vw - 60px)
  }
  .filter-field:nth-of-type(odd) .filter-menu {
    left: auto;
    right:0
  }
  .filters-heading .reset-button {
    font-size:12px
  }
  .results-top {
    margin-bottom:14px
  }
  .results-top h2 {
    font-size:15px
  }
  .results-sort {
    font-size:11px
  }
  .results-summary {
    font-size:11px
  }
  .job-card {
    padding:17px
  }
  .job-card .company-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 11px;
    border-radius:8px
  }
  .job-card-top {
    gap: 10px;
    flex-wrap:wrap
  }
  .job-title-block {
    flex-basis:calc(100% - 44px)
  }
  .job-company {
    font-size: 11px;
    margin-bottom:3px
  }
  .job-title {
    font-size:14px
  }
  .job-date {
    margin-left: 44px;
    margin-top: -3px;
    font-size:11px
  }
  .job-meta {
    font-size: 12px;
    margin-top: 11px;
    gap:7px 12px
  }
  .job-description {
    font-size: 12px;
    margin-top:12px
  }
  .job-card-bottom {
    gap: 7px;
    margin-top:13px
  }
  .job-details-link {
    font-size:11px
  }
  .badge {
    font-size: 10px;
    padding:3px 6px
  }
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    padding-top:20px
  }
  .pagination-info {
    width: 100%;
    text-align:center
  }
  .pagination-buttons {
    gap:5px
  }
  .page-button {
    min-width: 34px;
    height:34px
  }
  .detail-breadcrumb {
    margin-bottom:20px
  }
  .detail-main {
    padding:22px 19px
  }
  .detail-title {
    font-size: 27px;
    letter-spacing:-.8px
  }
  .detail-company-head {
    margin-bottom:20px
  }
  .detail-main .job-meta {
    font-size:12px
  }
  .description-section {
    padding-top:22px
  }
  .description-text {
    font-size: 14px;
    line-height:1.95
  }
  .detail-sidebar {
    padding:22px 20px
  }
  .detail-actions-mobile {
    flex-wrap:wrap
  }
  .detail-actions-mobile .button {
    font-size: 12px;
    padding:10px 12px
  }
  .toast {
    left: 50%;
    bottom: 17px;
    font-size:13px
  }
  .active-filters {
    gap: 6px;
    margin-bottom:15px
  }
  .filter-chip {
    font-size:11px
  }
  .error-notice {
    font-size: 13px;
    padding: 12px;
    gap:8px
  }
  .empty-state {
    padding:43px 20px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto!important;
    animation: none!important;
    transition:none!important
  }
}

/* Keep filter controls aligned even when their selected labels change. */
.filter-bar>[data-filter] {
  flex: 1;
  min-width: 150px;
  max-width:240px
}
.filter-bar>[data-filter] .filter-select {
  min-width: 0;
  width: 100%;
  max-width:none
}
.filter-bar>.filter-select {
  flex: 1;
  min-width:150px
}
.filter-select summary {
  min-height:42px
}
.chart-row {
  min-height:44px
}
.filter-select .filter-option {
  min-height:40px
}
.filter-select .filter-options {
  scrollbar-gutter:stable
}
.stat-header {
  line-height:1.4
}
.card-foot {
  flex-wrap:wrap
}
.chart-row .chart-label {
  overflow: visible;
  white-space: normal;
  line-height:1.4
}
@media(max-width:1000px) {
  .sidebar-note p {
    font-size:12px
  }
  .sidebar-footer {
    flex-direction: column;
    align-items:flex-start
  }
}
@media(max-width:720px) {
  .filter-bar>[data-filter] {
    min-width: calc(50% - 4px);
    max-width:none
  }
  .filter-bar>.filter-select {
    min-width: calc(50% - 4px);
    max-width:none
  }
  .filter-bar>[data-filter]:nth-of-type(2) .filter-menu {
    left: auto;
    right:0
  }
  .filter-bar>[data-filter]:nth-of-type(1) .filter-menu {
    left: 0;
    right:auto
  }
  .filter-bar .filter-select summary {
    min-height:40px
  }
  .filter-select summary {
    min-height:44px
  }
  .chart-row {
    grid-template-columns: 129px minmax(0,1fr) 37px;
    gap:9px
  }
  .filter-bar-label {
    margin-bottom:3px
  }
  .card-foot .text-link {
    min-height:30px
  }
  .job-card {
    padding:19px 17px
  }
  .job-meta {
    line-height:1.7
  }
  .job-description {
    font-size:12px
  }
  .detail-main .job-meta {
    font-size:12px
  }
  .description-text {
    font-size: 14px;
    line-height:1.9
  }
  .job-card-top .job-date {
    font-size:11px
  }
}

/* Leave room for navigation on short laptop and landscape screens. */
@media (min-width: 721px) and (max-height: 650px) {
  .sidebar-note {
    display: none;
  }
}
.pagination-buttons {
  flex-wrap: wrap;
  justify-content: center;
}

/* Use one navigation region: a sidebar on wide screens, a header below 1001px. */
@media (min-width: 721px) and (max-width: 1000px) {
  .sidebar {
    min-height:68px;
    padding:0 24px;
    flex-wrap:nowrap;
    gap:24px;
  }
  .brand {
    flex-shrink:0;
  }
  .nav {
    width:auto;
    margin-left:auto;
    align-self:stretch;
    gap:24px;
  }
  .nav-link {
    padding:16px 0;
    white-space:nowrap;
  }
}

/* Overview: orient with the summary, then refine one shared view. */
.dashboard-filters {
  margin-bottom: 22px;
  position: relative;
  z-index: 10;
}
.dashboard-filters .date-slicer {
  margin: 0;
  padding: 19px 20px;
}
.dashboard-filters .date-slicer-controls {gap: 10px}
.dashboard-filters .date-slicer-controls input {min-height: 44px}
.dashboard-filters .date-presets {margin-left: 12px}
.dashboard-filters .date-presets button {min-height: 44px}
.dashboard-filters .filter-bar {
  margin: 0;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fbfcfb;
}
.dashboard-filters .filter-bar > [data-filter] {max-width: none}
.dashboard-filters .filter-select summary,
.dashboard-filters .reset-button {min-height: 44px}
.dashboard-explore .icon {width: 16px; height: 16px}
@media (max-width: 1100px) and (min-width: 721px) {
  .dashboard-filters .date-slicer-controls {flex-wrap: wrap}
  .dashboard-filters .date-presets {margin-left: 0}
}
@media (max-width: 720px) {
  body[data-page="dashboard"] .stats {margin-bottom: 16px}
  .dashboard-filters {margin-bottom: 18px}
  .dashboard-filters .date-slicer {padding: 16px 14px}
  .dashboard-filters .date-slicer-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  .dashboard-filters .date-range-separator {display: none}
  /* iOS date controls must shrink inside their column, including native content. */
  .dashboard-filters .date-slicer-controls > label {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }
  .dashboard-filters .date-slicer-controls input {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 16px;
    padding: 8px;
  }
  .dashboard-filters .date-slicer-controls input::-webkit-date-and-time-value {
    min-width: 0;
    min-height: 1.5em;
    text-align: left;
  }
  .dashboard-filters .date-presets {margin: 0; gap: 6px}
  .dashboard-filters .date-presets button {font-size: 12px}
  .dashboard-filters .filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 12px 14px 14px;
    gap: 10px;
  }
  .dashboard-filters .filter-bar-label {
    width: auto;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
  }
  .dashboard-filters .reset-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    padding: 4px 0 4px 8px;
    font-size: 12px;
  }
  .dashboard-filters .filter-bar > [data-filter] {min-width: 0; grid-row: 2}
  .dashboard-filters .filter-select summary {font-size: 13px}
  body[data-page="dashboard"] .map-head {flex-wrap: wrap; gap: 12px}
  body[data-page="dashboard"] .map-controls button {min-width: 44px; min-height: 44px}
}
@media (max-width: 420px) {
  body[data-page="dashboard"] .matrix-panel > .card-head {flex-wrap: wrap; gap: 10px}
}

/* Keep the query, its status and its controls clear at touch widths. */
.search-toolbar { margin-bottom: 8px; }
.search-toolbar .search-box { min-width: 0; }
.search-help { margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.search-submit { flex-shrink: 0; min-height: 40px; }
.search-clear { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.search-clear:hover { background: var(--soft); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (max-width: 600px) {
  .search-toolbar { flex-wrap: wrap; }
  .search-toolbar .search-box { flex-basis: 100%; gap: 6px; padding: 0 8px; }
  .search-box input { font-size: 16px; }
  .search-box > .icon { flex-shrink: 0; }
  .search-submit { padding: 8px 12px; }
  .search-help { font-size: 12px; line-height: 1.6; }
}

/* Search results: compact controls and excerpts that explain the match. */
.filter-chip-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-chip > .icon { flex-shrink: 0; }
.job-details-link { position: relative; z-index: 1; min-height: 44px; padding: 6px 0 6px 8px; flex-shrink: 0; }
.job-details-link:hover { text-decoration: underline; }
.job-card mark { background: #e6f0c7; color: #1a302a; border-radius: 2px; font-weight: 650; }
.job-description.search-snippet { color: #4b6155; line-height: 1.65; -webkit-line-clamp: 3; }
body[data-page="jobs"] .results-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
body[data-page="jobs"] .results-top > div { min-width: 0; }
@media (max-width: 1000px) {
  body[data-page="jobs"] .content { padding-top: 16px; }
  body[data-page="jobs"] .page-head { margin-bottom: 12px; }
  body[data-page="jobs"] .page-head .eyebrow,
  body[data-page="jobs"] .page-copy { display: none; }
  body[data-page="jobs"] .page-head h1 { font-size: 26px; line-height: 1.25; }
  body[data-page="jobs"] .search-toolbar { margin-bottom: 6px; }
  body[data-page="jobs"] .search-help { margin-bottom: 14px; line-height: 1.5; }
  body[data-page="jobs"] .search-auto-hint { display: none; }
  body[data-page="jobs"] .results-top { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 12px; align-items: center; margin-bottom: 10px; }
  body[data-page="jobs"] .results-top > div { grid-column: 1; grid-row: 1; }
  body[data-page="jobs"] .results-sort { grid-column: 1; grid-row: 2; }
  body[data-page="jobs"] .mobile-filter-button { grid-column: 2; grid-row: 1 / span 2; min-height: 44px; }
  body[data-page="jobs"] .active-filters { margin-bottom: 10px; }
}
@media (max-width: 1000px) and (max-height: 500px) {
  body[data-page="jobs"] .content { padding-top: 10px; }
  body[data-page="jobs"] .page-head { margin-bottom: 8px; }
  body[data-page="jobs"] .page-head h1 { font-size: 23px; }
  body[data-page="jobs"] .search-help { margin-bottom: 10px; }
}

@media (max-width: 1000px) {
  body[data-page="jobs"] .filters-panel.is-open { margin-bottom: 14px; }
}
@media (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  body[data-page="jobs"] .sidebar { min-height: 56px; padding-top: 0; padding-bottom: 0; }
  body[data-page="jobs"] .search-help { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body[data-page="jobs"] .search-toolbar { margin-bottom: 10px; }
  body[data-page="jobs"] .results-top { display: flex; gap: 16px; }
  body[data-page="jobs"] .results-sort { margin-left: auto; }
}
@media (min-width: 480px) and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  body[data-page="jobs"] .sidebar { flex-wrap: nowrap; gap: 16px; }
  body[data-page="jobs"] .sidebar:after { display: none; }
  body[data-page="jobs"] .brand { flex-shrink: 0; }
  body[data-page="jobs"] .nav { width: auto; margin-left: auto; gap: 16px; }
  body[data-page="jobs"] .nav-link { white-space: nowrap; padding: 12px 0; }
}
