@import url("/fonts.css");
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #233b32;
  background: #f7f7f2;
  font-synthesis: none;
  --green: #214e3e;
  --muted: #69746a;
  --line: #dce1d8;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 12px 19px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: #143c2d;
}
button:active {
  transform: scale(0.98);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--green);
}
button.secondary:hover {
  background: #edf0e7;
}
button.text {
  background: transparent;
  color: var(--muted);
  padding: 9px;
}
button.icon {
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  padding: 0 8px;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b29f60;
  outline-offset: 3px;
}
header {
  height: 92px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5vw;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 600;
}
.brand b {
  color: #aab1a2;
  margin: 0 12px;
  font-weight: 400;
}
.mark {
  background: #dce5cd;
  color: var(--green);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: -2px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 58px 5.5vw 65px;
  min-height: calc(100vh - 173px);
}
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #7b856a;
  margin: 0 0 16px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.7px;
  font-weight: 400;
  margin-bottom: 14px;
}
h2 {
  font-family: Georgia, serif;
  font-size: 27px;
  letter-spacing: -0.6px;
  font-weight: 400;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
.sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 42px;
}
.stat {
  padding: 23px 26px 22px 0;
}
.stat + .stat {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.stat strong {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
  margin-left: 10px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 22px;
  margin: 0;
}
.funnel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 25px 27px;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.funnel:hover {
  border-color: #a8b79e;
}
.funnel h3 {
  margin: 0 0 10px;
}
.url {
  font-size: 12px;
  word-break: break-all;
  color: var(--muted);
}
.funnel-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 23px;
  font-size: 11px;
  color: var(--muted);
}
.funnel-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 600;
  background: #edf0e7;
  color: #5c6e4b;
  white-space: nowrap;
}
.pill:before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.pill.issue {
  color: #a54a36;
  background: #fbeddf;
}
.pill.inconclusive,
.pill.cancelled {
  color: #827656;
  background: #f1ede2;
}
.pill.running,
.pill.queued,
.pill.collecting,
.pill.cancelling {
  color: #356c85;
  background: #eaf2f5;
}
.pill.running:before {
  animation: pulse 1.6s ease-in-out infinite;
}
.history {
  margin-top: 43px;
}
.history-head,
.run-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 30px;
  gap: 20px;
  align-items: center;
}
.history-head {
  padding: 13px 17px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.7px;
  border-bottom: 1px solid var(--line);
}
.run-row {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #233b32;
  padding: 19px 17px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 400;
}
.run-row:hover {
  background: #eef1e8;
}
.run-row strong {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}
.run-row small {
  color: var(--muted);
  font-size: 11px;
}
.run-row .pill {
  justify-self: start;
}
.arrow {
  color: #7c8b70;
  font-size: 20px;
}
.empty {
  border: 1px dashed #cbd4c1;
  border-radius: 10px;
  padding: 35px;
  text-align: center;
  color: var(--muted);
}
.empty-symbol {
  font-family: Georgia, serif;
  font-size: 33px;
  color: #8d9b74;
  margin-bottom: 12px;
}
.empty p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.banner {
  border-left: 3px solid #ad9b64;
  padding: 14px 18px;
  background: #f0ecdc;
  margin-bottom: 26px;
  font-size: 13px;
  line-height: 1.6;
}
.banner a {
  font-weight: 600;
}
.notice {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #243e32;
  color: white;
  border-radius: 8px;
  box-shadow: 0 5px 30px #0002;
  padding: 15px 24px;
  font-size: 13px;
  max-width: 90vw;
  z-index: 10;
}
footer {
  height: 81px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 0 5.5vw;
  color: #87907d;
  font-size: 10px;
  letter-spacing: 0.4px;
}
.loading {
  padding: 80px 0;
  color: var(--muted);
  text-align: center;
}
.login {
  max-width: 430px;
  margin: 35px auto;
}
.login h1 {
  margin-bottom: 22px;
}
.login .sub {
  margin-bottom: 32px;
}
.login button {
  width: 100%;
  margin-top: 12px;
}
.login input {
  margin-top: 10px;
}
.divider {
  text-align: center;
  margin: 24px;
  color: var(--muted);
  font-size: 11px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #516149;
  margin-bottom: 20px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfd7c7;
  border-radius: 7px;
  padding: 12px;
  color: #2e4032;
  background: #fff;
  margin-top: 9px;
  line-height: 1.5;
}
textarea {
  resize: vertical;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fafbf7;
  color: #233b32;
  padding: 30px;
  width: min(580px, calc(100vw - 32px));
  max-height: 90vh;
  box-shadow: 0 30px 100px #10251c33;
}
dialog[open] {
  animation: enter 0.3s var(--ease);
}
dialog::backdrop {
  background: #18372b66;
  backdrop-filter: blur(3px);
}
dialog.detail {
  width: min(850px, calc(100vw - 32px));
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  margin-bottom: 0;
}
.dialog-heading .eyebrow {
  margin-bottom: 10px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: auto;
  margin: 0;
  accent-color: var(--green);
}
.small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.error {
  font-size: 12px;
  color: #a04835;
  line-height: 1.5;
}
.report-summary {
  margin: 20px 0;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.5;
}
.report-section {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 24px;
}
.report-section h3 {
  margin-bottom: 17px;
}
.coverage {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 11px 0;
  font-size: 12px;
}
.coverage p {
  grid-column: 1/-1;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.finding {
  border: 1px solid #e4c6b7;
  border-radius: 8px;
  background: #fff7f0;
  padding: 20px;
  margin: 15px 0;
}
.finding h3 {
  color: #85442f;
}
.finding p,
.finding li {
  font-size: 12px;
  line-height: 1.8;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.evidence {
  margin: 0;
  min-width: 0;
}
.evidence a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: white;
}
.evidence img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s var(--ease);
}
.evidence a:hover img {
  transform: scale(1.03);
}
.evidence figcaption {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.timeline {
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  font-size: 12px;
  line-height: 1.6;
  padding: 8px 0;
}
.timeline time {
  color: var(--muted);
  font-size: 10px;
}
.control-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
}
.control-row span {
  color: var(--muted);
}
.report-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 12px;
}
.active-note {
  font-size: 12px;
  color: #356c85;
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.account {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
details {
  margin-top: 18px;
  font-size: 12px;
}
summary {
  cursor: pointer;
  color: var(--green);
  padding: 7px 0;
}
ol {
  padding-left: 20px;
}
.fade {
  animation: enter 0.3s var(--ease);
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
@media (max-width: 700px) {
  header {
    height: 75px;
    padding: 0 22px;
  }
  .brand {
    font-size: 9px;
    gap: 10px;
  }
  .brand b {
    margin: 0 4px;
  }
  .mark {
    width: 32px;
    height: 32px;
    font-size: 24px;
  }
  nav {
    gap: 5px;
  }
  .account {
    display: none;
  }
  main {
    padding: 35px 22px 45px;
  }
  .hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .stats {
    margin-bottom: 30px;
  }
  .stat,
  .stat + .stat {
    padding: 17px 10px;
  }
  .stat strong {
    font-size: 24px;
  }
  .stat span {
    display: block;
    margin: 7px 0 0;
  }
  .funnel {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .funnel-actions {
    justify-content: flex-end;
  }
  .history-head,
  .run-row {
    grid-template-columns: 1.1fr 1fr 18px;
    gap: 8px;
  }
  .history-head > span:nth-child(3),
  .run-row > span:nth-child(3) {
    display: none;
  }
  .run-row {
    padding: 18px 5px;
  }
  .history-head {
    padding-left: 5px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  dialog {
    padding: 22px;
  }
  .schedule {
    gap: 10px;
  }
  footer {
    padding: 0 22px;
    gap: 20px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
