@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Libre+Caslon+Display&display=swap");
:root {
  --bg: #f8f9f5;
  --paper: #fff;
  --ink: #233b34;
  --muted: #5f6a63;
  --green: #214e40;
  --line: #e2e7df;
  --light: #edf2e7;
  --accent: #d4e4a5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.55 "DM Sans",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
textarea,
select {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  outline: none;
  max-width: 100%;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #678f77;
  box-shadow: 0 0 0 3px #214e4010;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6d9973;
  outline-offset: 4px;
}
textarea {
  resize: vertical;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 35px;
  letter-spacing: -1.3px;
  line-height: 1.2;
  font-weight: 500;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 550;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}
small {
  font-size: 11px;
  color: var(--muted);
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  width: 246px;
  inset: 0 auto 0 0;
  background: #fbfcf9;
  border-right: 1px solid var(--line);
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.6px;
}
.brand-mark {
  height: 37px;
  width: 37px;
  border-radius: 11px;
  background: var(--green);
  color: #f1f6e8;
  font-family: Georgia, serif;
  font-size: 29px;
  text-align: center;
  line-height: 37px;
}
.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 500;
  line-height: 8px;
  margin-left: 2px;
  color: var(--muted);
}
.workspace-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 9px;
  margin: 35px 0 28px;
  text-align: left;
  font-size: 12px;
  font-weight: 550;
}
.workspace-switch small {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
.workspace-icon {
  padding: 7px;
  border-radius: 8px;
  background: var(--light);
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #5f6a63;
  margin: 0 14px 14px;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  color: #6b776e;
  background: none;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  text-align: left;
}
nav button:hover {
  background: #f1f4ed;
}
nav button.active {
  background: #e7eede;
  color: #244f3d;
  font-weight: 600;
}
nav button.active:before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 24px;
  background: #315a43;
  border-radius: 0 3px 3px 0;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  padding: 0 5px;
  background: white;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.privacy-note {
  padding: 17px 14px;
  background: #f0f3e9;
  border: 1px solid #e4eadb;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
}
.privacy-note strong {
  font-size: 10px;
  line-height: 20px;
}
.privacy-note p {
  color: #5c6852;
  line-height: 1.6;
  font-size: 10px;
}
.profile-button {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
.profile-button > span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-button small {
  display: block;
  font-size: 9px;
}
.avatar {
  width: 33px;
  height: 33px;
  background: #e4ebd9;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.main-shell {
  margin-left: 246px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 76px;
  padding: 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #ffffffa0;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: #5f6a63;
}
.breadcrumb strong {
  font-weight: 500;
  color: #59685e;
}
.top-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}
.pilot-pill {
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  color: #5a675a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pilot-pill > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #88a466;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 11px;
  font-weight: 550;
  color: var(--green);
}
.icon-button {
  border: 0;
  background: none;
  color: inherit;
  display: grid;
  place-items: center;
  padding: 6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #dce3d7;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  padding: 11px 16px;
  font-weight: 550;
  white-space: nowrap;
}
.button:hover {
  background: #f0f4ec;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.button.primary:hover {
  background: #2d634f;
}
.button.small {
  padding: 7px 12px;
  font-size: 11px;
}
.button.toggled {
  background: #e7eede;
  border-color: #859c72;
}
main {
  padding: 32px 42px 0;
  max-width: 1590px;
  margin: auto;
}
.page-kicker {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #5f6a63;
  margin: 0 0 17px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 29px;
}
.page-heading p {
  color: #5c6852;
  font-size: 12px;
  margin-top: 11px;
}
.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 13px;
  overflow: hidden;
  background: #204a3d;
  min-height: 285px;
  color: #fff;
  position: relative;
}
.hero-copy {
  padding: 32px 36px;
  z-index: 1;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #5f6b58;
}
.eyebrow.light {
  color: #bdd0ae;
  font-size: 8px;
  letter-spacing: 1.8px;
}
.hero-copy h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 43px;
  line-height: 1.07;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin: 15px 0 17px;
}
.hero-copy p {
  max-width: 340px;
  font-size: 11px;
  line-height: 1.8;
  color: #bed0c1;
}
.hero-link {
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  color: #e7efce;
  background: none;
  margin-top: 23px;
}
.hero-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.orbit {
  position: absolute;
  border: 1px solid #d1e6bc15;
  border-radius: 50%;
  width: 450px;
  height: 450px;
  top: -85px;
  right: -40px;
}
.orbit-two {
  width: 330px;
  height: 330px;
  top: -25px;
  right: 20px;
}
.float-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 26px #122c4026;
  padding: 13px 15px;
  color: #355244;
  position: absolute;
  width: 255px;
  font-size: 11px;
  z-index: 2;
}
.float-note small {
  display: block;
  color: #9ca593;
  font-size: 9px;
  margin-top: 2px;
}
.float-icon {
  padding: 8px;
  background: #edf2e5;
  border-radius: 7px;
}
.note-number {
  margin-left: auto;
  color: #bbc5b4;
  font-size: 11px;
}
.note-a {
  top: 33px;
  right: 116px;
  transform: rotate(-5deg);
}
.note-b {
  top: 116px;
  right: 38px;
  transform: rotate(4deg);
}
.note-c {
  top: 199px;
  right: 99px;
  transform: rotate(-2deg);
  background: #e9f0d6;
}
.path-line {
  position: absolute;
  top: 43px;
  right: 200px;
  border-left: 1px dashed #a5c68b;
  width: 40px;
  height: 220px;
  transform: rotate(-16deg);
}
.visual-caption {
  position: absolute;
  right: 106px;
  bottom: 15px;
  font-size: 8px;
  color: #a4b9a3;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin: 23px 0 33px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 18px 21px;
}
.stat-card .row {
  font-size: 11px;
  color: #788575;
}
.stat-card .row svg {
  color: #8b9d7c;
}
.stat-card > strong {
  font-size: 30px;
  font-weight: 500;
  display: block;
  margin: 7px 0 2px;
  letter-spacing: -1px;
}
.stat-card small {
  font-size: 10px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.between {
  justify-content: space-between;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 17px;
  gap: 16px;
}
.section-heading h2 {
  font-size: 20px;
}
.section-heading p {
  font-size: 11px;
  color: #8b9485;
  margin-top: 4px;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.job-card {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  min-width: 0;
  color: var(--ink);
  transition:
    transform 0.15s,
    border-color 0.15s;
  width: 100%;
}
.job-card:hover {
  transform: translateY(-2px);
  border-color: #95ab87;
}
.job-card.selected {
  border-color: #5c815f;
  background: #fcfdf9;
}
.job-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}
.company-mark {
  height: 35px;
  width: 35px;
  background: #e7eced;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 21px;
  color: #405f67;
  flex-shrink: 0;
}
.mark-1 {
  background: #f2e8da;
  color: #997541;
}
.mark-2 {
  background: #e9e6f2;
  color: #79649a;
}
.job-company {
  flex: 1;
  font-size: 11px;
  font-weight: 550;
}
.job-company small {
  display: block;
  font-size: 8px;
  font-weight: 400;
}
.job-card-top > svg {
  color: #93a08b;
}
.job-card h3 {
  font-size: 14px;
  letter-spacing: -0.2px;
}
.job-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #8a9384;
  margin: 9px 0 15px;
  flex-wrap: wrap;
}
.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tag {
  padding: 4px 7px;
  border-radius: 5px;
  background: #f5f6f2;
  color: #56624d;
  font-size: 8px;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.tag.green {
  background: #eaf0e1;
  color: #547044;
}
.job-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #edf0e9;
  padding-top: 14px;
  margin-top: 20px;
  font-size: 9px;
  gap: 10px;
}
.job-card-bottom strong {
  font-weight: 500;
}
.job-card-bottom > span {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 8px;
  white-space: nowrap;
}
.bottom-note {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 27px 0;
  padding: 16px 18px;
  background: #f0f3e9;
  border-radius: 7px;
  color: #7f8e76;
  font-size: 10px;
}
.bottom-note p {
  flex: 1;
}
.footer {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 0;
  margin-top: 35px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #5f6a63;
}
.footer > span {
  font-size: 19px;
  letter-spacing: -0.6px;
  font-weight: 600;
  color: #788971;
}
.footer small {
  font-size: 7px;
  letter-spacing: 1px;
  margin-left: 4px;
}
.footer p {
  flex: 1;
}
.footer a {
  display: flex;
  gap: 5px;
  align-items: center;
}
.empty {
  border: 1px dashed #d5ddcd;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 42px 24px;
  background: #fbfcf9;
}
.empty-icon {
  width: 48px;
  height: 48px;
  background: #edf2e7;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  color: #78916b;
}
.empty h3 {
  font-size: 18px;
  font-weight: 500;
}
.empty p {
  max-width: 440px;
  font-size: 12px;
  color: #84917b;
  margin: 10px 0 20px;
}
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.filter-bar select {
  min-width: 140px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  flex: 1;
  color: #8a9782;
}
.search-box input {
  border: 0;
  flex: 1;
  box-shadow: none;
  width: 100%;
  font-size: 12px;
}
.opportunity-layout.with-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
  gap: 22px;
}
.job-list {
  display: grid;
  gap: 15px;
}
.results-label {
  font-size: 10px;
  color: #89957f;
  margin-bottom: 14px;
}
.detail-panel {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-self: start;
  position: sticky;
  top: 20px;
}
.detail-panel h2 {
  font-size: 27px;
  margin: 22px 0 6px;
  line-height: 1.2;
}
.detail-company {
  font-size: 13px;
  color: #829174;
}
.detail-facts {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #7b8a70;
}
.detail-facts span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-panel h3 {
  font-size: 13px;
  margin: 20px 0 12px;
}
.preserve {
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.9;
  color: #738067;
  margin: 15px 0 24px;
}
.detail-footer {
  display: flex;
  gap: 10px;
  margin: 30px 0 13px;
}
.detail-footer .primary {
  flex: 1;
}
.subtle {
  display: block;
  font-size: 10px;
  line-height: 1.6;
}
.record-banner {
  display: flex;
  gap: 15px;
  background: #edf2e5;
  padding: 22px;
  border: 1px solid #e0e9d6;
  border-radius: 10px;
  margin-bottom: 27px;
}
.record-banner strong {
  font-size: 13px;
}
.record-banner p {
  font-size: 11px;
  color: #56634c;
  margin-top: 5px;
}
.timeline {
  margin: 20px 0 30px;
}
.record-card {
  display: flex;
  gap: 20px;
  position: relative;
  padding: 0 0 25px;
}
.timeline-dot {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 20px;
  z-index: 1;
}
.record-card:before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50px;
  bottom: 0;
  border-left: 1px solid var(--line);
}
.record-card:last-child:before {
  display: none;
}
.record-content {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  flex: 1;
  min-width: 0;
}
.record-content h3 {
  margin: 12px 0;
}
.record-content .eyebrow {
  font-size: 9px;
}
.evidence-copy {
  font-size: 12px;
  color: #4a5a43;
  white-space: pre-wrap;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.voided {
  opacity: 0.6;
}
.application-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
}
.application-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.application-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  text-align: left;
  color: inherit;
}
.application-card.selected {
  border-color: #78946a;
}
.application-card strong {
  font-size: 11px;
}
.application-card h3 {
  font-size: 13px;
  margin: 12px 0 7px;
}
.application-card .text-button {
  display: flex;
  margin-top: 18px;
}
.thread-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 23px;
}
.thread-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.thread-header h2 {
  font-size: 21px;
  margin-bottom: 16px;
}
.thread-candidate {
  font-size: 13px;
  color: #4f5d48;
  margin: -8px 0 14px;
}
.thread-header select {
  font-size: 11px;
  padding: 7px;
}
.application-note {
  font-size: 12px;
  white-space: pre-wrap;
  color: #4f5d48;
  margin: 20px 0;
}
.shared-details {
  background: #f4f6ee;
  border-radius: 8px;
  padding: 12px;
  font-size: 11px;
  margin-bottom: 20px;
}
/* The AI's replies beside a shared conversation: collapsed, always present, labelled. */
.ai-turns {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border: 1px dashed #c9d3c3;
  border-radius: 8px;
  background: #fafbf8;
}
.record-card .ai-turns summary {
  display: flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  color: #3f5247;
}
.record-card .ai-turns summary::-webkit-details-marker {
  display: none;
}
.ai-turns[open] summary svg {
  transform: rotate(180deg);
}
.ai-turns > small {
  display: block;
  margin: 6px 0 0;
}
/* The AI's words never read louder than the candidate's own (.evidence-copy). */
.ai-turn {
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 0;
  color: #5f6a63;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.shared-details summary {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  color: #4f6440;
}
.shared-details summary svg:last-child {
  margin-left: auto;
}
.shared-details > p {
  padding: 12px 0;
  color: #5c6852;
}
/* Integrity notices: plain statements of what changed about records the employer
   read. Calm by design: no colour, no icon. */
.shared-details .notice {
  list-style: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
}
.shared-details .notice li + li {
  margin-top: 6px;
}
.shared-details .record-card {
  gap: 8px;
}
.shared-details .timeline-dot {
  display: none;
}
.shared-details .record-card:before {
  display: none;
}
.shared-details .record-content {
  padding: 12px;
}
.shared-details .record-content h3 {
  font-size: 13px;
}
.shared-details .row {
  flex-wrap: wrap;
}
.message-list {
  min-height: 180px;
  max-height: 440px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0;
}
.message {
  max-width: 85%;
  align-self: flex-start;
  background: #f4f5f0;
  border-radius: 10px;
  padding: 12px 15px;
}
.message.mine {
  align-self: flex-end;
  background: #eaf1e3;
}
.message p {
  white-space: pre-wrap;
  font-size: 12px;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.message-compose {
  display: flex;
  gap: 8px;
  margin: 17px 0;
}
.message-compose input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}
.danger {
  color: #a56c5d;
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.connection-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.connection-icon {
  width: 44px;
  height: 44px;
  background: #edf2e6;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #779365;
}
.connection-card h2 {
  font-size: 20px;
  margin: 6px 0 0;
}
.connection-card p {
  font-size: 12px;
  color: #859077;
  line-height: 1.8;
  flex: 1;
}
.connection-card small {
  font-size: 9px;
}
.quiet {
  background: #f4f6ef;
}
.muted {
  color: #5c6852;
  font-size: 11px;
}
.grant-card {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 13px;
}
.grant-card > div {
  flex: 1;
}
.grant-card h3 {
  font-size: 15px;
}
.grant-card p {
  font-size: 12px;
  margin: 6px 0;
}
.grant-card small {
  display: block;
  margin-top: 5px;
}
.key-banner {
  border: 1px solid #b7c898;
  background: #f0f5e5;
  padding: 23px;
  border-radius: 10px;
  margin: 20px 0;
}
.key-banner p {
  font-size: 12px;
  margin: 9px 0;
}
.key-banner code {
  display: block;
  background: #fff;
  padding: 13px;
  margin-bottom: 15px;
  overflow-wrap: anywhere;
  font-size: 11px;
}
.key-banner .button {
  margin-right: 10px;
}
.company-profile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.company-profile h2 {
  margin: 15px 0;
}
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f4e9;
  border: 1px solid #dde6d2;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 11px;
  color: #70855c;
  margin-bottom: 20px;
}
.error {
  background: #fcf0eb;
  color: #995e47;
  border: 1px solid #eed7cc;
  padding: 13px 16px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 12px;
}
.error button {
  background: none;
  border: 0;
  color: inherit;
}
.setup-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: #f2f4eb;
  border: 1px solid #e2e7d7;
  border-radius: 10px;
  margin-bottom: 24px;
}
.setup-banner > div {
  flex: 1;
}
.setup-banner strong {
  display: block;
  font-size: 13px;
}
.setup-banner span {
  font-size: 11px;
  color: #89957b;
}
.loading-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a967e;
  font-size: 12px;
  margin: 20px 0;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  z-index: 100;
  background: #214e40;
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 7px 35px #214e4030;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  max-width: calc(100vw - 40px);
  width: max-content;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #15271c65;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  width: 580px;
  max-width: 100%;
  max-height: 92vh;
  overflow: auto;
  background: #fcfdf9;
  border: 1px solid #dfe7d7;
  border-radius: 16px;
  padding: 33px;
  position: relative;
  box-shadow: 0 30px 80px #0e241e33;
}
.modal.wide {
  width: 760px;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
}
.modal h2 {
  font-size: 28px;
  margin: 10px 25px 10px 0;
  line-height: 1.2;
}
.modal p {
  font-size: 12px;
  color: #5c6852;
  margin-bottom: 20px;
  line-height: 1.8;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 17px 0;
}
.field > span {
  font-size: 11px;
  font-weight: 550;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  line-height: 1.7;
  margin: 19px 0;
  color: #697b5e;
}
.check-field input {
  margin-top: 4px;
  accent-color: #2e6347;
  flex-shrink: 0;
}
.check-field small {
  display: block;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.select-records {
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--line);
  padding: 0 15px;
  border-radius: 8px;
  background: #fff;
}
.modal pre {
  background: #edf1e8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.7;
  padding: 17px;
  overflow: auto;
  max-height: 55vh;
}
.form-error {
  color: #b05a42 !important;
  margin-top: 15px !important;
}
.mobile-menu {
  display: none;
}
@media (min-width: 1500px) {
  .hero-panel {
    min-height: 320px;
  }
  .hero-copy {
    padding: 39px 43px;
  }
  .hero-copy h2 {
    font-size: 48px;
  }
  .float-note {
    width: 285px;
  }
  .note-a {
    right: 150px;
    top: 40px;
  }
  .note-b {
    right: 60px;
    top: 131px;
  }
  .note-c {
    right: 125px;
    top: 222px;
  }
  .visual-caption {
    bottom: 14px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding: 28px 13px 18px;
  }
  .main-shell {
    margin-left: 215px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 28px 28px 0;
  }
  h1 {
    font-size: 28px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero-copy h2 {
    font-size: 38px;
  }
  .hero-visual {
    min-height: 300px;
  }
  .float-note {
    width: 210px;
    padding: 10px;
  }
  .note-a {
    right: 50px;
    top: 40px;
  }
  .note-b {
    right: 20px;
    top: 126px;
  }
  .note-c {
    right: 42px;
    top: 210px;
  }
  .visual-caption {
    right: 40px;
  }
  .hero-copy p {
    font-size: 10px;
  }
  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .job-card:last-child:nth-child(3) {
    display: none;
  }
  .connection-grid {
    grid-template-columns: 1fr 1fr;
  }
  .application-layout {
    grid-template-columns: 260px 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading > .row {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .privacy-note strong {
    font-size: 9px;
  }
  .footer p {
    display: none;
  }
  .footer {
    justify-content: space-between;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 190px;
  }
  .main-shell {
    margin-left: 190px;
  }
  .workspace-switch {
    font-size: 10px;
    padding: 9px 6px;
    gap: 7px;
  }
  .workspace-icon {
    padding: 5px;
  }
  nav button {
    font-size: 11px;
    padding: 11px 9px;
    gap: 9px;
  }
  .privacy-note {
    display: none;
  }
  .topbar {
    padding: 0 20px;
  }
  .top-actions {
    gap: 12px;
  }
  .pilot-pill {
    display: none;
  }
  main {
    padding: 25px 20px 0;
  }
  .hero-panel {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .hero-copy {
    padding: 30px;
  }
  .hero-copy h2 {
    font-size: 43px;
  }
  .hero-copy p {
    font-size: 12px;
    max-width: 410px;
  }
  .hero-copy br {
    display: none;
  }
  .hero-link {
    margin-top: 20px;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 18px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-card .row {
    font-size: 10px;
  }
  .stat-card small {
    font-size: 9px;
  }
  .opportunity-layout.with-detail {
    grid-template-columns: 1fr;
  }
  .detail-panel {
    position: static;
  }
  .application-layout {
    grid-template-columns: 1fr;
  }
  .application-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .row.between {
    gap: 8px;
  }
  .record-content .row {
    flex-wrap: wrap;
  }
  .toast {
    left: 50%;
  }
}
@media (max-width: 640px) {
  .sidebar {
    transform: translateX(-100%);
    width: 245px;
    transition: transform 0.2s;
    box-shadow: 20px 0 60px #1731261a;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .main-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    height: 65px;
    padding: 0 17px;
    gap: 10px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 6px;
    flex: 1;
  }
  .top-actions .text-button {
    font-size: 9px;
  }
  .top-actions {
    gap: 10px;
  }
  .top-actions .button {
    padding: 7px 10px;
    font-size: 10px;
  }
  main {
    padding: 25px 18px 0;
  }
  .page-kicker {
    font-size: 8px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero-copy h2 {
    font-size: 40px;
  }
  .hero-copy br {
    display: block;
  }
  .stats-grid {
    gap: 8px;
    margin-bottom: 28px;
  }
  .stat-card {
    padding: 13px 10px;
  }
  .stat-card .row svg {
    display: none;
  }
  .stat-card .row {
    font-size: 9px;
  }
  .stat-card > strong {
    font-size: 27px;
  }
  .stat-card small {
    font-size: 8px;
    line-height: 1.4;
    display: block;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading p {
    font-size: 10px;
    max-width: 220px;
  }
  .section-heading .text-button {
    font-size: 10px;
    white-space: nowrap;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .job-card:last-child:nth-child(3) {
    display: block;
  }
  .job-card {
    padding: 21px;
  }
  .job-card h3 {
    font-size: 16px;
  }
  .job-meta {
    font-size: 10px;
  }
  .job-company {
    font-size: 12px;
  }
  .tag {
    font-size: 9px;
  }
  .job-card-bottom {
    font-size: 11px;
  }
  .bottom-note {
    font-size: 9px;
    padding: 14px;
    gap: 9px;
  }
  .bottom-note .text-button {
    display: none;
  }
  .filter-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .search-box {
    flex-basis: 100%;
  }
  .filter-bar select {
    flex: 1;
    font-size: 11px;
  }
  .application-list {
    grid-template-columns: 1fr;
  }
  .record-card {
    gap: 9px;
  }
  .record-content {
    padding: 15px;
  }
  .record-content h3 {
    font-size: 15px;
  }
  .timeline-dot {
    width: 26px;
    height: 26px;
  }
  .record-card:before {
    left: 12px;
  }
  .grant-card {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .grant-card > div {
    flex-basis: 65%;
  }
  .setup-banner {
    flex-wrap: wrap;
    gap: 13px;
  }
  .setup-banner > div {
    flex-basis: 100%;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal {
    padding: 26px 21px;
    max-height: 94vh;
  }
  .modal h2 {
    font-size: 26px;
  }
  .form-grid {
    gap: 10px;
  }
  .toast {
    width: calc(100% - 30px);
    font-size: 11px;
    bottom: 15px;
  }
  .footer {
    font-size: 8px;
    gap: 15px;
  }
  .footer > span {
    font-size: 17px;
  }
  .footer small {
    display: none;
  }
  .connection-card {
    padding: 23px;
  }
  .page-heading > .row {
    justify-content: flex-start;
  }
  .button {
    padding: 10px 13px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Preview and redaction before sharing */
.redact-list {
  display: grid;
  gap: 18px;
  margin: 16px 0;
}
.redact-tools {
  display: grid;
  gap: 10px;
  margin: 4px 0 0 52px;
}
.redact-source {
  margin: 0;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  background: var(--paper);
  border-radius: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: text;
  -webkit-user-select: text;
}
.redact-source mark {
  background: var(--ink);
  color: var(--paper);
  text-decoration: line-through;
  border-radius: 3px;
  padding: 0 2px;
}
.redact-tools .row {
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 720px) {
  .redact-tools {
    margin-left: 0;
  }
}

/* Reader flow (2026-11-13): what a record is, the candidate's context, the employer's
   readings and what the candidate can see of a grant. */
.reading {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f9f4;
  font-size: 11px;
  line-height: 1.6;
}
.reading dt {
  font-weight: 600;
  color: #4f6245;
}
.reading dd {
  margin: 0;
  color: #3f4a38;
}
.learner-context {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #2e6347;
  background: #fff;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}
.learner-context strong {
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
  color: #2e6347;
}
.review-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px 18px;
  margin: 0 0 16px;
}
.review-panel p {
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0;
}
.review-panel .row {
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 8px 0;
}
.review-panel .field {
  margin: 10px 0;
}
.radio-group {
  border: 0;
  padding: 0;
  min-width: 0;
}
.radio-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}
.radio-field input {
  accent-color: #2e6347;
}
.grant-views {
  display: block;
  margin-top: 6px;
  color: #4f6245;
}
.grant-records {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 11px;
  color: #697b5e;
}
/* Pay range: the first fact a candidate reads about a role. */
.pay-line {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #e0e9d6;
  border-radius: 10px;
  background: #edf2e5;
}
.pay-line strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
}
.pay-line small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}
.share-summary {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f9f3;
}
.share-summary p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.7;
}
/* Report: present, never loud. */
.text-button.report-link {
  display: inline;
  color: var(--muted);
  font-weight: 450;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.thread-panel > .report-link,
.detail-panel > .report-link {
  display: block;
  margin-top: 10px;
}
.report-options {
  border: 0;
  padding: 0;
  margin: 14px 0;
}
.report-options .check-field {
  margin: 10px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Role activities and the O*NET® 31.0 credit (docs/careers/frontend/activities.tsx). */
.activity-list,
.activity-editor {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px 18px;
  margin: 0 0 16px;
}
.activity-list ol {
  margin: 8px 0;
  padding-left: 20px;
}
.activity-list li {
  margin: 0 0 10px;
}
.activity-list li p {
  font-size: 13px;
  margin: 0 0 2px;
}
.activity-editor legend {
  font-size: 12px;
  font-weight: 600;
  padding: 0 4px;
}
.activity-row {
  display: grid;
  gap: 4px;
  margin: 8px 0;
}
.activity-row textarea {
  width: 100%;
}
.onet-tasks {
  list-style: none;
  margin: 8px 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}
.onet-tasks li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.onet-tasks li small {
  grid-column: 1;
}
.onet-tasks li button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.onet-credit {
  font-size: 11px;
  line-height: 1.5;
  color: #5b6b57;
  margin: 10px 0 0;
}

/* Employer profile: shared work laid out under the role's activities. */
.profile-overview {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px 18px;
  margin: 0 0 16px;
}
.profile-rows {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  counter-reset: activity;
}
.profile-row {
  display: grid;
  /* Two columns where the pane is wide enough, stacked where it is not. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 6px 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  counter-increment: activity;
}
.profile-row:first-child {
  border-top: 0;
}
.profile-activity p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.profile-activity p::before {
  content: counter(activity) ". ";
  font-weight: 600;
}
.profile-source summary {
  cursor: pointer;
  font-size: 11px;
  color: var(--muted);
}
.profile-source small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.profile-shared > p small {
  display: block;
}
.profile-shared > p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
}
.profile-row.nothing-linked .profile-shared > p {
  color: var(--muted);
}
.profile-card {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.profile-heading {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.profile-sequence {
  margin: 0;
  padding-left: 22px;
}
.profile-turn {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
}
.profile-turn em {
  color: var(--muted);
}
.profile-turn small {
  display: block;
}
.profile-turn blockquote {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--green);
  background: #fff;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.profile-turn.ai blockquote {
  border-left-color: #9aa59c;
  background: var(--light);
}
.profile-other {
  margin-top: 12px;
}
.profile-other summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.link-picker {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px 18px;
  margin: 12px 0 16px;
}
.link-picker ol {
  margin: 8px 0 0;
  padding-left: 20px;
}
.link-picker li {
  margin: 0 0 12px;
}
.link-picker li p {
  margin: 0 0 6px;
  font-size: 13px;
}
.link-picker select,
.link-picker input[type="text"] {
  width: 100%;
  margin-bottom: 6px;
}
.frozen-note {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.6;
}
