@font-face {
  font-family: Body;
  src: url("./assets/fonts/body.woff2");
}
@font-face {
  font-family: Body;
  src: url("./assets/fonts/bold.woff2");
  font-weight: 700;
}
@font-face {
  font-family: Display;
  src: url("./assets/fonts/display.woff2");
}
@font-face {
  font-family: Display;
  src: url("./assets/fonts/italic.woff2");
  font-style: italic;
}
.signal-orbit[aria-label="positive: 0; neutral: 0; negative: 0"] {
  background: var(--line);
}
* {
  box-sizing: border-box;
}
body {
  --paper: #f6f0e7;
  --ink: #263a34;
  --accent: #c65838;
  --line: #d9d9cb;
  --muted: #5b6d65;
  --panel: #fffdf7;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Body, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.project-status-report {
  --paper: #142b36;
  --ink: #eef1e4;
  --accent: #d4ef8a;
  --line: #3c515c;
  --muted: #b5c5c9;
  --panel: #1e3641;
}
body.hiring-pipeline-dashboard {
  --paper: #edf0fa;
  --ink: #202d57;
  --accent: #4559c2;
  --line: #cbd2e6;
  --muted: #566582;
  --panel: #fbfcff;
}
main,
.tools {
  max-width: 1440px;
  padding: 30px 64px;
  margin: auto;
}
button,
input {
  font: inherit;
}
button,
.upload {
  border: 1px solid var(--line);
  color: inherit;
  background: var(--panel);
  padding: 9px 15px;
  border-radius: 5px;
  cursor: pointer;
}
button:hover,
.upload:hover {
  border-color: var(--accent);
}
button:focus-visible,
.upload:focus-within,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font:
    clamp(48px, 6.2vw, 88px)/0.98 Display,
    serif;
  letter-spacing: -0.03em;
  margin: 20px 0 24px;
}
h1 em {
  color: var(--accent);
  font-weight: normal;
}
h2 {
  font:
    38px/1.1 Display,
    serif;
  margin: 10px 0 22px;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
}
small {
  font-size: 12px;
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.masthead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  font-size: 11px;
  letter-spacing: 0.09em;
}
.wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 58px 0 46px;
}
.hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
}
.hero-mark {
  align-self: center;
  font:
    180px/1 Display,
    serif;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
  max-width: 300px;
  width: 100%;
  justify-self: end;
}
.hero-mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--accent);
  border-radius: 50%;
  animation: orbit 32s linear infinite;
}
.hero-mark small {
  font: 9px/1.6 Body;
  letter-spacing: 0.15em;
  margin-top: 12px;
  color: var(--ink);
}
.filters {
  border-block: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
}
.filters > div {
  min-width: 0;
  flex: 1 1 360px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.chip {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 30px;
}
.selection {
  font-size: 12px;
  color: var(--muted);
  padding: 12px 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  margin: 14px 0 36px;
}
.metric {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.metric:first-child {
  padding-left: 0;
}
.metric:last-child {
  border-right: 0;
}
.metric > span {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.metric strong {
  display: block;
  font:
    56px/1.2 Display,
    serif;
  margin: 8px 0;
}
.metric small {
  display: block;
}
.visual-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  min-width: 0;
}
.bars {
  display: grid;
  gap: 20px;
}
.bar-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.track {
  height: 14px;
  background: var(--paper);
  margin-top: 8px;
}
.track i {
  display: block;
  background: var(--accent);
  height: 100%;
  transform-origin: left;
  animation: reveal 1.1s ease both;
}
.caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 22px;
}
.signal-orbit {
  border-radius: 50%;
  width: 220px;
  aspect-ratio: 1;
  background: conic-gradient(
    #647b62 0 var(--positive),
    #d6c9a5 var(--positive) var(--neutral),
    #c65838 var(--neutral) 100%
  );
  padding: 25px;
  margin: 22px auto;
}
.signal-orbit > div {
  border-radius: 50%;
  background: var(--panel);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.signal-orbit strong {
  font: 64px/1 Display;
}
.signal-orbit span {
  font-size: 12px;
  color: var(--muted);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}
.positive {
  background: #d9e6d5;
  color: #25402b;
}
.neutral {
  background: #eae2ce;
  color: #534829;
}
.negative {
  background: #f8dfd5;
  color: #8e321e;
}
.legend .positive {
  background: #647b62;
}
.legend .neutral {
  background: #d6c9a5;
}
.legend .negative {
  background: #c65838;
}
.evidence-grid,
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.evidence-card {
  padding: 24px;
  background: var(--panel);
  border-top: 3px solid var(--accent);
}
blockquote {
  font:
    24px/1.3 Display,
    serif;
  margin: 20px 0;
  min-height: 90px;
}
.evidence-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
}
.timeline-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin: 0 100px 8px 230px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 100px;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.timeline-row strong {
  display: block;
  font-size: 13px;
}
.timeline-row small {
  display: block;
}
.timeline-track {
  height: 36px;
  position: relative;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 24.8%,
    var(--line) 25%
  );
  border-bottom: 1px solid var(--line);
}
.timeline-track i {
  position: absolute;
  height: 18px;
  top: 8px;
  background: #a5c8dc;
  border-radius: 3px;
  animation: reveal 1s ease both;
  transform-origin: left;
}
.timeline-track .done {
  background: #d4ef8a;
}
.timeline-track .blocked {
  background: #f1a278;
}
.timeline-track .planned {
  background: #889fae;
}
.today {
  position: absolute;
  height: 36px;
  border-left: 1px dashed var(--ink);
  z-index: 1;
}
.timeline-dates {
  font-size: 10px;
  color: var(--muted);
}
.milestone-card {
  padding: 22px;
  background: var(--panel);
  border-top: 3px solid #a5c8dc;
}
.milestone-card.blocked {
  border-color: #f1a278;
}
.milestone-card.done {
  border-color: #d4ef8a;
}
.milestone-card h3 {
  margin: 18px 0 12px;
}
.milestone-card p {
  color: var(--muted);
  font-size: 13px;
}
.milestone-card dl {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 5px;
  font-size: 11px;
  margin: 20px 0 0;
}
.milestone-card dd {
  margin: 0;
}
.milestone-card dt {
  color: var(--muted);
}
.funnel-panel {
  padding: 36px;
  background: var(--ink);
  color: #f5f6ff;
  border-radius: 8px;
  margin-bottom: 30px;
}
.funnel-panel .caption {
  color: #bdc7ec;
}
.funnel {
  display: grid;
  gap: 18px;
}
.stage-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.stage-head span {
  font-size: 12px;
  letter-spacing: 0.09em;
}
.stage-head strong {
  font: 38px Display;
}
.funnel-track {
  height: 26px;
  background: #ffffff12;
  margin: 8px 0;
}
.funnel-track i {
  display: block;
  height: 100%;
  background: #a5b5ff;
  transform-origin: left;
  animation: reveal 1.1s ease both;
}
.funnel-stage:nth-child(2) i {
  background: #bac6ff;
}
.funnel-stage:nth-child(3) i {
  background: #d4dcff;
}
.funnel-stage:nth-child(4) i {
  background: #e6cd9c;
}
.funnel-stage:nth-child(5) i {
  background: #f4b88e;
}
.funnel-stage p {
  color: #bdc7ec;
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  text-align: right;
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
}
th:first-child {
  text-align: left;
}
thead th {
  font-size: 10px;
  text-transform: uppercase;
}
th small {
  display: block;
  font-weight: normal;
  min-width: 120px;
}
.actions {
  margin: 38px 0;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.action-grid article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.action-number {
  font: 44px Display;
  color: var(--accent);
}
.action-grid h3 {
  margin: 10px 0;
}
.action-grid p {
  font-size: 14px;
  color: var(--muted);
}
.source-note {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  font-size: 12px;
  color: var(--muted);
}
.source-note p {
  margin-top: 10px;
}
.tools {
  padding-top: 0;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.local-label {
  flex: 1 1 240px;
  color: var(--muted);
}
.standalone {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.upload {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}
.upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.embedded-preview .standalone {
  display: none;
}
#report-status {
  flex-basis: 100%;
}
.empty {
  padding: 20px;
  color: var(--muted);
}
main *,
footer * {
  overflow-wrap: anywhere;
  min-width: 0;
}
@keyframes reveal {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
.paused .track i,
.paused .timeline-track i,
.paused .funnel-track i {
  animation: none !important;
  transform: none;
}
.paused *,
.paused *::after {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 750px) {
  main,
  .tools {
    padding: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 32px 0;
  }
  .hero-mark {
    display: none;
  }
  .masthead {
    flex-wrap: wrap;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .metric,
  .metric:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .metric:last-child {
    border-bottom: 0;
  }
  .metric strong {
    font-size: 44px;
  }
  .visual-grid,
  .evidence-grid,
  .milestone-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }
  .panel,
  .funnel-panel {
    padding: 20px;
  }
  .timeline-label {
    margin: 0 0 8px;
  }
  .timeline-row {
    grid-template-columns: 1fr 90px;
    gap: 8px;
  }
  .timeline-row > div:first-child {
    grid-column: 1/-1;
  }
  .timeline-track {
    width: 100%;
  }
  h2 {
    font-size: 32px;
  }
  .filters > div {
    flex-basis: 100%;
  }
  .evidence-card blockquote {
    min-height: 0;
  }
  .signal-orbit {
    max-width: 100%;
  }
  .tools {
    padding-top: 0;
  }
  table {
    min-width: 550px;
  }
}
@media print {
  @page {
    size: A4;
    margin: 12mm;
  }
  body,
  body.project-status-report,
  body.hiring-pipeline-dashboard {
    --paper: #fff;
    --panel: #fff;
    --ink: #18282a;
    --line: #bcc6c3;
    --muted: #405459;
    --accent: #294d78;
    background: #fff;
    font-size: 10pt;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  main {
    max-width: none;
    padding: 0;
  }
  .tools,
  .filters,
  .hero-mark {
    display: none;
  }
  .hero {
    display: block;
    padding: 15px 0;
  }
  .hero h1 {
    font-size: 42px;
    margin: 12px 0;
  }
  .hero p {
    font-size: 12px;
  }
  .masthead {
    padding-bottom: 10px;
  }
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0;
  }
  .metric,
  .metric:first-child {
    padding: 10px;
    border: 0;
  }
  .metric strong {
    font-size: 32px;
  }
  .visual-grid {
    display: block;
  }
  .panel,
  .funnel-panel {
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 0;
  }
  .section-heading {
    break-after: avoid;
    break-inside: avoid;
  }
  h2 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .signal-panel {
    break-inside: avoid;
  }
  .signal-orbit {
    width: 155px;
    padding: 18px;
    margin: 10px auto;
  }
  .signal-orbit strong {
    font-size: 40px;
  }
  .evidence-grid,
  .milestone-grid,
  .action-grid {
    display: block;
  }
  .evidence-card,
  .milestone-card,
  .action-grid article {
    margin: 10px 0;
    break-inside: avoid;
  }
  .evidence-card {
    padding: 14px;
  }
  blockquote {
    font-size: 18px;
    min-height: 0;
    margin: 10px 0;
  }
  .milestone-card dl {
    margin-top: 12px;
  }
  .timeline-label {
    margin-left: 160px;
  }
  .timeline-row {
    grid-template-columns: 140px minmax(0, 1fr) 90px;
    gap: 12px;
    break-inside: avoid;
  }
  .timeline-row > div:first-child {
    grid-column: auto;
  }
  .timeline-track i {
    background: #64778d !important;
  }
  .timeline-track .done {
    background: #7c9651 !important;
  }
  .timeline-track .blocked {
    background: #c96542 !important;
  }
  .funnel-panel {
    background: #f0f3fb;
    color: #182850;
  }
  .funnel-panel .caption,
  .funnel-stage p {
    color: #405170;
  }
  .funnel-stage {
    break-inside: avoid;
  }
  .table-scroll {
    overflow: visible;
  }
  tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  table {
    min-width: 0;
    font-size: 10px;
    table-layout: fixed;
  }
  th,
  td {
    padding: 8px 4px;
  }
  th small {
    min-width: 0;
  }
  .source-note {
    break-inside: avoid;
  }
  .funnel { gap: 10px; }
  .stage-head strong { font-size: 25px; }
  .funnel-track { height: 14px; margin: 4px 0; }
  .funnel-stage p { font-size: 10px; }
  .funnel-panel .caption { margin-top: 12px; }
  .milestone-card { padding: 12px; margin: 6px 0; }
  .milestone-card h3 { font-size: 14px; margin: 8px 0; }
  .milestone-card p { font-size: 11px; }
  .milestone-card dl { margin-top: 8px; gap: 2px; }
  .action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .action-grid p { font-size: 11px; }
  .action-grid h3 { font-size: 13px; }
  .action-number { font-size: 28px; }
  .actions { margin: 18px 0; }
  .hero,
  .metrics {
    break-inside: avoid;
  }
  *,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
