:root {
  --paper: #f5f4ee;
  --surface: #fffefa;
  --ink: #162c27;
  --muted: #6c7a72;
  --line: #dce2d9;
  --green: #174d3b;
  --green-soft: #e5f0e8;
  --gold: #eecb44;
  --gold-soft: #fff5d6;
  --red: #a83d38;
  --red-soft: #fbeae7;
  --blue: #345f83;
  --shadow: 0 12px 35px rgba(26, 43, 36, 0.045);
  --radius: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.48 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d8ad23;
  outline-offset: 3px;
}
::selection {
  background: #f6dc73;
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 100;
  background: #fff;
  padding: 10px 14px;
}
.skip-link:focus {
  top: 10px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 258px;
  min-width: 258px;
  background: #fcfcf8;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 27px 29px;
  border-bottom: 1px solid var(--line);
}
.brand-symbol {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  transform: rotate(-25deg);
}
.brand-symbol span {
  position: absolute;
  border: 5px solid var(--gold);
  border-left-color: transparent;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  transform: rotate(12deg);
}
.brand-symbol span:nth-child(2) {
  width: 16px;
  height: 16px;
  left: 8px;
  top: 8px;
  border-width: 4px;
}
.brand-symbol span:nth-child(3) {
  width: 8px;
  height: 8px;
  left: 15px;
  top: 15px;
  border-width: 3px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}
.brand-copy strong {
  letter-spacing: -0.08em;
  font-size: 24px;
  font-weight: 800;
}
.brand-dot {
  color: #d9ad1d;
}
.brand-copy small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 700;
}
.primary-nav {
  padding: 30px 14px;
  flex: 1;
  overflow-y: auto;
}
.nav-label {
  display: block;
  margin: 0 14px 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #96a099;
}
.nav-label-gap {
  margin-top: 29px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  margin: 3px 0;
  border-radius: 10px;
  color: #596a60;
  font-weight: 650;
  transition:
    background 0.16s,
    color 0.16s;
}
.nav-link:hover {
  background: #eef2ec;
  color: var(--green);
}
.nav-link.active {
  background: #e5eee7;
  color: var(--green);
  font-weight: 800;
}
.nav-icon {
  width: 19px;
  text-align: center;
  font-size: 17px;
  line-height: 1;
  color: #638176;
}
.sub-link {
  padding-left: 46px;
  font-size: 13px;
}
.nav-count {
  margin-left: auto;
  border-radius: 99px;
  padding: 2px 8px;
  background: #d1e2d6;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  min-width: 25px;
  text-align: center;
}
.sidebar-footer {
  padding: 18px 19px 23px;
  border-top: 1px solid var(--line);
}
.sidebar-footnote {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #62736a;
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.35;
  padding: 0 7px 19px;
}
.footnote-mark {
  color: #d0a925;
  font-size: 25px;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 17px 7px 0;
}
.account strong,
.account small {
  display: block;
}
.account-copy {
  min-width: 0;
  flex: 1;
}
.account-logout {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: #687a70;
  font-size: 15px;
}
.account-logout:hover {
  border-color: #aebbb3;
  background: #eef2ed;
  color: var(--green);
}
.account strong {
  font-size: 12px;
}
.account small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #dce9df;
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
}
.shell-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 71px;
  padding: 0 clamp(22px, 3.6vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.68);
}
.topbar-crumb {
  font-size: 12px;
  color: #65766b;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #7c8a80;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.topbar-note {
  border-right: 1px solid var(--line);
  padding-right: 23px;
}
.menu-toggle {
  display: none;
}
.page {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 37px clamp(22px, 3.6vw, 58px) 72px;
  flex: 1;
}
.page-footer {
  padding: 16px clamp(22px, 3.6vw, 58px) 28px;
  color: #9aa69c;
  font-size: 11px;
}
.page-footer span {
  padding: 0 5px;
}
.eyebrow {
  margin: 0 0 11px;
  color: #2c7759;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.page-header {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 0 25px;
}
.page-header h1,
.editorial-title {
  font-family: Georgia, "Iowan Old Style", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
  font-size: clamp(32px, 3.5vw, 49px);
}
.page-header p:last-child {
  max-width: 660px;
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 14px;
}
.header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-shrink: 0;
}
.button {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 15px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
  box-shadow: 0 2px 0 rgba(24, 44, 35, 0.02);
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s;
}
.button:hover {
  transform: translateY(-1px);
  background: #f5f8f2;
  border-color: #bacdc0;
}
.button-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.button-primary:hover {
  background: #0e3929;
  color: #fff;
}
.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #1d2c21;
}
.button-gold:hover {
  background: #dfbb2d;
}
.button-danger {
  color: var(--red);
  border-color: #efcecb;
}
.button-danger:hover {
  background: var(--red-soft);
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.button-plain {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.icon-button {
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}
.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.surface-header {
  padding: 19px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.surface-header h2,
.section-title {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.surface-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.surface-body {
  padding: 22px 23px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 34px 0 13px;
  gap: 20px;
}
.section-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.text-link {
  font-size: 12px;
  color: var(--green);
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 11px;
}
.overline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 850;
  color: var(--muted);
}
.value {
  font-variant-numeric: tabular-nums;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 24px;
  padding: 31px 34px;
  background: #173a2e;
  border-radius: 17px;
  color: #fff;
}
.hero .eyebrow {
  color: #ecd667;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1;
  max-width: 560px;
  margin: 0;
}
.hero p:not(.eyebrow) {
  max-width: 610px;
  color: #b9d0c4;
  font-size: 13px;
  margin: 15px 0 22px;
}
.hero-side {
  align-self: end;
  border-left: 1px solid rgba(255, 255, 255, 0.19);
  padding-left: 25px;
}
.hero-side .overline {
  color: #a6c4af;
}
.hero-side strong {
  font-size: 42px;
  display: block;
  font-weight: 500;
  line-height: 1.1;
  margin: 9px 0 2px;
  font-family: Georgia, serif;
}
.hero-side small {
  color: #c0d4c8;
  font-size: 12px;
}
.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero .button-outline {
  background: transparent;
  border-color: #658273;
  color: #fff;
}
.hero .button-outline:hover {
  background: #254a3b;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin: 15px 0 0;
}
.metric {
  min-height: 105px;
  padding: 16px 18px;
}
.metric .overline {
  display: block;
  margin-bottom: 12px;
}
.metric strong {
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}
.metric small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.metric.highlight {
  border-color: #d9d3b4;
  background: #fffdf3;
}
.metric.highlight strong {
  color: #8e6b06;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(265px, 0.75fr);
  gap: 16px;
}
.aside-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}
.note-panel {
  padding: 22px;
}
.note-panel h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  font-size: 22px;
  margin: 0 0 13px;
}
.note-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.rule-list {
  margin: 0;
  padding-left: 19px;
  color: #50655a;
  font-size: 12px;
}
.rule-list li {
  margin: 8px 0;
}
.count-pill {
  background: #ecf2ea;
  color: var(--green);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
}
.work-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 17px 22px;
  border-bottom: 1px solid #e9ede7;
  transition: background 0.15s;
}
.work-row:last-child {
  border-bottom: 0;
}
.work-row:hover {
  background: #f7f9f5;
}
.row-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e8eee8;
  color: #2f7052;
  font-weight: 800;
  font-size: 12px;
}
.work-row h3 {
  margin: 0 0 3px;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.work-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.row-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}
.chip-green {
  background: #e4f0e7;
  color: #246746;
}
.chip-amber {
  background: #fff0d0;
  color: #8d610c;
}
.chip-red {
  background: #f8e6e4;
  color: #9d403a;
}
.chip-gray {
  background: #e9ede9;
  color: #627168;
}
.chip-blue {
  background: #e6eef4;
  color: #386382;
}
.row-arrow {
  font-size: 19px;
  color: #397a5a;
  padding: 8px;
}
.row-arrow:hover {
  transform: translateX(3px);
}
.empty-state {
  padding: 44px 25px;
  text-align: center;
}
.empty-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 17px;
  border: 1px solid #cddbd0;
  border-radius: 16px;
  background: #eff5ed;
  color: #2f694c;
  font-size: 22px;
}
.empty-state h3 {
  margin: 0 0 7px;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 400;
}
.empty-state p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  max-width: 380px;
}
.toolbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 12px;
  margin: 0 0 14px;
}
.tabs {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.tab {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 8px 12px;
  color: #68786e;
  font-size: 12px;
  font-weight: 800;
}
.tab:hover {
  background: #f2f5f0;
}
.tab.active {
  background: #e5efe6;
  color: var(--green);
}
.search {
  position: relative;
  min-width: 210px;
}
.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 9px 12px 9px 31px;
  font-size: 12px;
  color: var(--ink);
}
.search::before {
  content: "⌕";
  position: absolute;
  left: 12px;
  top: 3px;
  font-size: 21px;
  color: #7c9282;
}
.company-group {
  border-bottom: 1px solid var(--line);
}
.company-group:last-child {
  border-bottom: 0;
}
.company-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 21px;
  background: #f7f8f4;
}
.company-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.company-head small {
  color: var(--muted);
  font-size: 11px;
}
.company-head a:hover {
  text-decoration: underline;
}
.company-service-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(180px, 1.5fr) 135px auto;
  gap: 18px;
  align-items: center;
  padding: 17px 21px;
  border-top: 1px solid #ebeee8;
}
.company-service-row .service-name {
  font-size: 13px;
  font-weight: 850;
}
.company-service-row .reason-line {
  font-size: 12px;
  color: #61736a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.company-service-row .text-link {
  justify-self: end;
}
.list-count {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 3px 13px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(265px, 330px);
  gap: 17px;
  align-items: start;
}
.detail-main {
  min-width: 0;
  display: grid;
  gap: 16px;
}
.detail-rail {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 20px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #7b897e;
  font-size: 11px;
  font-weight: 750;
  margin: 0 0 20px;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.detail-intro {
  padding: 29px 32px;
}
.detail-intro h1 {
  font-family: Georgia, serif;
  letter-spacing: -0.045em;
  font-weight: 400;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  margin: 8px 0 11px;
}
.detail-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.detail-intro .tagline {
  font-size: 17px;
  color: var(--green);
  font-weight: 750;
  margin: 0 0 13px;
}
.intro-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 19px;
}
.three-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.question {
  padding: 22px 20px;
  background: var(--surface);
}
.question .overline {
  color: #287758;
}
.question h2 {
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 9px 0 8px;
}
.question p {
  font-size: 12px;
  color: #5d6d62;
  margin: 0;
  line-height: 1.55;
}
.detail-section {
  padding: 25px 27px;
}
.detail-section h2 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0 0 5px;
}
.section-caption {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 20px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid #edf0eb;
}
.check-mark {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: #e5eee7;
  color: #267150;
  font-size: 12px;
  font-weight: 900;
}
.check-mark.warn {
  background: #fff0ce;
  color: #9e6e10;
}
.check-mark.bad {
  background: #fbe8e6;
  color: #a44b46;
}
.check-row strong {
  font-size: 12px;
  display: block;
}
.check-row p {
  margin: 3px 0 0;
  font-size: 12px;
  color: #627267;
  line-height: 1.45;
}
.evidence-card {
  padding: 15px 0;
  border-top: 1px solid #edf0eb;
}
.evidence-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.evidence-card h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}
.evidence-card a {
  font-size: 12px;
  font-weight: 800;
  color: #23714c;
  white-space: nowrap;
}
.evidence-card a:hover {
  text-decoration: underline;
}
.evidence-card .source-line {
  font-size: 10px;
  color: #758479;
  margin: 4px 0 8px;
}
.source-extract summary {
  width: fit-content;
  color: var(--green);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.source-extract summary:hover {
  text-decoration: underline;
}
.source-extract p {
  font-size: 12px;
  color: #506158;
  margin: 10px 0 0;
  line-height: 1.5;
}
.decision-card {
  padding: 23px;
}
.decision-card h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}
.decision-card > p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 15px;
}
.field label {
  font-size: 11px;
  font-weight: 800;
  color: #455e4f;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cdd9cf;
  background: #fff;
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  font-size: 12px;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.field-hint {
  font-size: 11px;
  color: var(--muted);
}
.check-input {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 8px 0 17px;
  font-size: 11px;
  color: #5b6d60;
  line-height: 1.4;
}
.check-input input {
  margin-top: 2px;
  accent-color: var(--green);
}
.decision-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.decision-actions .button:first-child {
  grid-column: 1/-1;
}
.decision-actions .button {
  font-size: 11px;
}
.decision-note {
  font-size: 10px;
  color: #7d8b7f;
  margin: 14px 0 0 !important;
}
.action-notice {
  background: #fff9e5;
  border: 1px solid #e8d895;
  border-radius: 9px;
  padding: 11px 12px;
  color: #6c571c;
  font-size: 11px;
  line-height: 1.45;
  margin-bottom: 16px;
}
.quick-facts {
  padding: 20px;
}
.quick-facts dl {
  margin: 0;
}
.quick-facts div {
  padding: 11px 0;
  border-top: 1px solid #edf0eb;
}
.quick-facts div:first-child {
  border-top: 0;
}
.quick-facts dt {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #849084;
  text-transform: uppercase;
  font-weight: 800;
}
.quick-facts dd {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.related-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #edf0eb;
  font-size: 12px;
  font-weight: 750;
  color: var(--green);
}
.related-link:hover {
  text-decoration: underline;
}
.candidate-table {
  width: 100%;
  border-collapse: collapse;
}
.candidate-table th {
  text-align: left;
  color: #819086;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 850;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8faf6;
}
.candidate-table td {
  padding: 17px 18px;
  border-bottom: 1px solid #e9eee7;
  font-size: 12px;
  vertical-align: middle;
}
.candidate-table tr:last-child td {
  border-bottom: 0;
}
.candidate-table tbody tr:hover {
  background: #f9faf7;
}
.candidate-table strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}
.candidate-table small {
  color: var(--muted);
}
.candidate-table a:hover {
  text-decoration: underline;
}
.candidate-table .text-link {
  text-decoration: none;
}
.empty-inline {
  color: #9aa69e;
  font-size: 12px;
}
.related-opportunity {
  padding: 17px 0;
  border-top: 1px solid #edf0eb;
}
.related-opportunity h3 {
  margin: 0 0 6px;
  font-size: 14px;
}
.related-opportunity p {
  margin: 0 0 10px;
  font-size: 12px;
  color: #5d6e62;
  line-height: 1.5;
}
.related-opportunity .row-meta {
  margin-top: 0;
}
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dev-stat {
  padding: 18px;
}
.dev-stat .overline {
  display: block;
  margin-bottom: 15px;
}
.dev-stat strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}
.dev-stat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 17px 20px;
  border-top: 1px solid #e9eee7;
}
.data-row:first-child {
  border-top: 0;
}
.data-row strong {
  display: block;
  font-size: 13px;
}
.data-row small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
}
.data-row .row-meta {
  margin-top: 7px;
}
.data-row-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.data-row-actions .button {
  font-size: 11px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 15px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-grid .field textarea {
  min-height: 80px;
}
.insight-strip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 17px;
  background: #f2f7f1;
  border-radius: 10px;
  border: 1px solid #d7e4d7;
  color: #345940;
  font-size: 12px;
}
.insight-strip strong {
  display: block;
  color: #1a5037;
}
.insight-strip p {
  margin: 2px 0 0;
}
.code-text {
  font:
    11px/1.4 ui-monospace,
    SFMono-Regular,
    monospace;
  color: #58716a;
  overflow-wrap: anywhere;
}
.pill-dot {
  width: 7px;
  height: 7px;
  background: #63b985;
  border-radius: 50%;
  display: inline-block;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.status-grid .surface {
  padding: 18px;
}
.toast-stack {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 9px;
  width: min(370px, calc(100vw - 40px));
}
.toast {
  background: #163b2c;
  color: #fff;
  padding: 12px 15px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(11, 42, 26, 0.25);
  font-size: 12px;
}
.toast.error {
  background: #903d37;
}
.loading-screen {
  min-height: 50vh;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #708176;
  font-size: 13px;
  gap: 18px;
}
.loading-line {
  height: 3px;
  width: 140px;
  background: #e1e8de;
  border-radius: 2px;
  overflow: hidden;
}
.loading-line::before {
  content: "";
  display: block;
  width: 45px;
  height: 100%;
  background: var(--gold);
  animation: load 1.2s ease-in-out infinite alternate;
}
@keyframes load {
  to {
    transform: translateX(95px);
  }
}
.fade-in {
  animation: rise 0.35s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sign-in-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f5f4ee;
  padding: 28px;
}
.sign-in-shell {
  width: min(450px, 100%);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(22, 44, 39, 0.08);
  overflow: hidden;
}
.sign-in-panel {
  padding: 48px 46px 42px;
}
.sign-in-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(148px, 48vw);
  margin: 0 auto 42px;
}
.sign-in-logo img {
  display: block;
  width: 148px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.sign-in-panel-heading {
  margin-bottom: 32px;
  text-align: center;
}
.sign-in-panel h1 {
  margin: 8px 0 0;
  font: 400 34px/1.05 Georgia, serif;
  letter-spacing: -0.04em;
}
.sign-in-panel .eyebrow {
  margin: 0;
}
.sign-in-form .field {
  margin-bottom: 19px;
}
.sign-in-form label {
  display: block;
  margin-bottom: 8px;
  color: #44584e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sign-in-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5cd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
}
.sign-in-form input:hover {
  border-color: #91a398;
}
.sign-in-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 77, 59, 0.1);
  outline: 0;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 70px;
}
.password-field button {
  position: absolute;
  right: 6px;
  top: 6px;
  min-width: 55px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: #eef2ed;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}
.sign-in-error {
  min-height: 21px;
  margin: -3px 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}
.sign-in-submit {
  width: 100%;
  min-height: 49px;
  justify-content: space-between;
  border-radius: 8px;
}
.sign-in-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}
.error-actions {
  text-align: center;
  padding-bottom: 30px;
}
.form-inline-note {
  margin-left: 12px;
}
.draft-action {
  margin-top: 16px;
}
.draft-body {
  white-space: pre-line;
}
.draft-controls {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.draft-controls .field {
  flex: 1 1 220px;
  margin: 0;
}
.table-scroll {
  overflow-x: auto;
}
@media (max-width: 1200px) {
  .sidebar {
    width: 230px;
    min-width: 230px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr);
  }
  .company-service-row {
    grid-template-columns: minmax(130px, 1fr) minmax(130px, 1.5fr) 120px auto;
    gap: 10px;
  }
}
@media (max-width: 980px) {
  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    box-shadow: 20px 0 35px rgba(20, 40, 30, 0.08);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-toggle {
    display: block;
  }
  .topbar {
    justify-content: flex-start;
    gap: 13px;
  }
  .topbar-right {
    margin-left: auto;
  }
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-rail {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .company-service-row {
    grid-template-columns: minmax(130px, 1fr) minmax(160px, 1.5fr) auto;
  }
  .company-service-row .chip {
    display: none;
  }
}
@media (max-width: 800px) {
  .toolbar {
    display: block;
  }
  .search {
    margin-top: 10px;
  }
  .search input {
    width: 100%;
  }
  .three-questions {
    grid-template-columns: 1fr;
  }
  .question {
    padding: 19px 22px;
  }
  .company-service-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .company-service-row .reason-line {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .company-service-row .chip {
    display: inline-flex;
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }
  .company-service-row .text-link {
    grid-column: 2;
    grid-row: 1;
  }
  .detail-rail {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .page {
    padding: 24px 17px 50px;
  }
  .topbar {
    padding: 0 17px;
    height: 62px;
  }
  .topbar-note {
    display: none;
  }
  .topbar-today {
    font-size: 10px;
  }
  .page-header {
    display: block;
  }
  .page-header h1 {
    font-size: 34px;
  }
  .header-actions {
    margin-top: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .hero-side {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 18px 0 0;
  }
  .hero-side strong {
    font-size: 31px;
  }
  .metric-strip {
    gap: 8px;
  }
  .metric {
    min-height: 95px;
    padding: 13px;
  }
  .metric strong {
    font-size: 25px;
  }
  .toolbar {
    display: block;
  }
  .search {
    margin-top: 10px;
  }
  .search input {
    width: 100%;
  }
  .company-service-row {
    grid-template-columns: 1fr auto;
    padding: 15px;
  }
  .company-service-row .reason-line {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .company-service-row .text-link {
    grid-column: 2;
    grid-row: 1;
  }
  .company-service-row .chip {
    display: none;
  }
  .three-questions {
    grid-template-columns: 1fr;
  }
  .question {
    padding: 19px;
  }
  .detail-intro {
    padding: 23px;
  }
  .detail-rail {
    grid-template-columns: 1fr;
  }
  .detail-section {
    padding: 22px;
  }
  .candidate-table th:nth-child(3),
  .candidate-table td:nth-child(3),
  .candidate-table th:nth-child(4),
  .candidate-table td:nth-child(4) {
    display: none;
  }
  .candidate-table th,
  .candidate-table td {
    padding: 13px 11px;
  }
  .dev-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .data-row {
    grid-template-columns: 1fr;
  }
  .data-row-actions {
    justify-content: flex-start;
  }
  .sign-in-page {
    padding: 18px;
  }
  .sign-in-shell {
    width: min(450px, 100%);
  }
  .sign-in-panel {
    padding: 38px 28px 34px;
  }
  .sign-in-logo {
    margin-bottom: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
