@font-face {
  font-family: Figtree;
  src: url("/assets/figtree-var-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: Livvic;
  src: url("/assets/livvic-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: JetBrains;
  src: url("/assets/jetbrains-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --ink: #0e3b45;
  --paper: #faf6f0;
  --card: #fffcf7;
  --sand: #f3e7d6;
  --teal: #136a70;
  --teal-tint: #ddf0f1;
  --soft: #3d5e66;
  --rule: #d4dfdb;
  --amber: #8f5a0f;
  --amber-tint: #fff1d9;
  --coral: #a63d2a;
  --coral-tint: #fbe4de;
  --radius: 18px;
  --small-radius: 8px;
  --page-width: 1080px;
  --flow-width: 760px;
  --heading: 44px;
  --section-heading: 24px;
  --body: 16px;
  --space: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    var(--body) / 1.5 Figtree,
    sans-serif;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a {
  color: var(--teal);
}
button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}
input:focus,
select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Livvic, Figtree, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}
h1 {
  font-size: var(--heading);
  line-height: 1.18;
}
h1 em {
  font-style: normal;
  color: var(--teal);
}
h2 {
  font-size: var(--section-heading);
  line-height: 1.3;
}
h3 {
  font-size: 21px;
  line-height: 1.4;
}
input,
select {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--small-radius);
}
input::placeholder {
  color: var(--soft);
}
button span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.15s;
}
.button.primary {
  background: var(--ink);
  color: var(--card);
}
.button.primary:hover {
  background: var(--teal);
}
.button.secondary {
  background: transparent;
  border-color: var(--rule);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--sand);
}
.button.text-link {
  padding: 0;
  min-height: 36px;
  background: transparent;
  color: var(--teal);
  font-weight: 600;
  border: 0;
  border-radius: 2px;
  text-align: left;
  justify-content: flex-start;
}
.button.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.button.icon-button {
  padding: 8px;
  min-height: 36px;
  min-width: 36px;
  background: transparent;
  color: var(--soft);
  border-radius: 50%;
}
.button.icon-button:hover {
  background: var(--sand);
}
.app-header {
  height: 100px;
  max-width: 1440px;
  margin: auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 26px;
}
.wordmark img {
  width: 148px;
  height: auto;
  display: block;
}
.header-purpose {
  font-size: 14px;
  color: var(--soft);
  border-left: 1px solid var(--rule);
  padding-left: 26px;
}
.source-tag {
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid var(--rule);
  color: var(--soft);
  background: transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.source-tag:after {
  content: "i";
  font-family: serif;
  font-style: italic;
  border: 1px solid var(--soft);
  border-radius: 50%;
  font-size: 10px;
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}
.product-main {
  max-width: var(--flow-width);
  margin: 36px auto 88px;
  padding: 0 20px;
  min-height: calc(100vh - 300px);
}
.product-main.wide {
  max-width: var(--page-width);
}
.flow-steps {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0 0 42px;
  font-size: 13px;
  color: var(--soft);
}
.flow-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
}
.flow-steps li + li:before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--rule);
}
.step-mark {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 11px;
}
.step-mark svg {
  width: 12px;
  height: 12px;
}
.flow-steps .current {
  color: var(--ink);
  font-weight: 600;
}
.current .step-mark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
}
.complete .step-mark {
  border-color: var(--teal-tint);
  background: var(--teal-tint);
  color: var(--teal);
}
.intro {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.6;
  max-width: 62ch;
  margin-top: 16px;
}
.connection-form {
  margin-top: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field-help {
  font-size: 12px;
  color: var(--soft);
  line-height: 1.5;
  font-weight: 400;
}
.connection-footer {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.credential-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  max-width: 35ch;
  color: var(--soft);
}
.credential-note svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.connection-footer .primary {
  flex-shrink: 0;
}
.sample-option {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--soft);
}
.sample-option .button {
  font-size: 14px;
}
.back-link {
  margin-top: 20px;
}
.sample-product-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.sample-product-line p {
  font-size: 14px;
  color: var(--soft);
}
.product-symbol {
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Livvic, sans-serif;
  font-size: 20px;
  flex-shrink: 0;
}
.evaluation-brief,
.progress-panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin-top: 32px;
  padding: 28px;
}
.product-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-identity strong {
  font-size: 17px;
  font-weight: 650;
  display: block;
}
.product-version {
  font-size: 13px;
  color: var(--soft);
  display: block;
  margin-top: 2px;
}
.connected-state {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  white-space: nowrap;
}
.connected-state svg {
  width: 15px;
  height: 15px;
}
.scope-brief {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.scope-brief h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.scope-brief > p {
  color: var(--soft);
}
.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--soft);
  font-size: 13px;
  margin-top: 16px;
}
.scope-tags span + span:before {
  content: "·";
  padding-right: 16px;
}
.brief-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}
.coverage {
  margin-top: 22px;
}
.coverage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  padding: 4px 0;
}
.coverage summary::-webkit-details-marker,
.finding summary::-webkit-details-marker {
  display: none;
}
.coverage summary svg {
  height: 14px;
  width: 14px;
  transform: rotate(90deg);
}
.coverage[open] summary svg {
  transform: rotate(-90deg);
}
.coverage ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.coverage li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.coverage-count,
.coverage-issue {
  color: var(--soft);
  font-size: 12px;
  text-align: right;
}
.coverage-issue {
  color: var(--coral);
}
.method-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--soft);
  max-width: 78ch;
}
.run-progress {
  margin-top: 32px;
}
.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
}
.progress-label strong {
  font-weight: 600;
}
.progress-label > span {
  color: var(--soft);
}
.progress-track {
  height: 6px;
  background: var(--sand);
  border-radius: 99px;
  overflow: hidden;
}
.progress-track > div {
  height: 100%;
  background: var(--teal);
  border-radius: 99px;
  transition: width 0.3s linear;
}
.working-state {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 24px 0 20px;
  color: var(--soft);
}
.spinner {
  width: 15px;
  height: 15px;
  display: inline-block;
  flex-shrink: 0;
  border: 1.5px solid var(--rule);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.recent-conversations {
  padding: 0;
  margin: 0;
  list-style: none;
}
.recent-conversations li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 8px 0;
}
.recent-conversations li svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}
.recent-conversations li > span {
  margin-left: auto;
  color: var(--soft);
  font-size: 12px;
  white-space: nowrap;
}
.progress-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  border-top: 1px solid var(--rule);
  margin-top: 24px;
  padding-top: 16px;
}
.report-header {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
}
.report-header > div:first-child {
  min-width: 0;
}
.report-product {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}
.report-product > span:first-child {
  font-weight: 650;
}
.report-product > span + span {
  color: var(--soft);
  padding-left: 12px;
  border-left: 1px solid var(--rule);
}
.report-header h1 {
  font-size: 38px;
}
.report-header .intro {
  font-size: 16px;
  max-width: 65ch;
  line-height: 1.6;
}
.report-actions {
  padding-top: 30px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-test-modes { margin-top: 28px; max-width: 75ch; }
.report-test-modes h2 { font-size: 20px; margin-bottom: 6px; }
.report-test-modes p, .finding-detail { font-size: 14px; line-height: 1.5; color: var(--soft); }
.finding-detail { margin-top: 10px; overflow-wrap: anywhere; }
.report-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--soft);
  font-size: 13px;
  margin-top: 22px;
}
.report-facts span + span:before {
  content: "·";
  padding-right: 20px;
}
.findings {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
}
.finding {
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.finding summary {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
}
.finding-heading {
  flex: 1;
  min-width: 0;
}
.finding-area {
  display: block;
  font-size: 12px;
  color: var(--soft);
  margin-bottom: 5px;
}
.finding summary > svg {
  width: 18px;
  height: 18px;
  color: var(--soft);
  transition: transform 0.15s;
}
.finding[open] summary > svg {
  transform: rotate(90deg);
}
.severity {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 99px;
  color: var(--amber);
  background: var(--amber-tint);
}
.severity.high,
.severity.critical {
  color: var(--coral);
  background: var(--coral-tint);
}
.finding-body {
  padding: 0 0 28px;
  max-width: 78ch;
}
.finding-explanation {
  font-size: 15px;
  line-height: 1.65;
  color: var(--soft);
}
.evidence {
  margin: 22px 0;
  border-left: 2px solid var(--rule);
  padding-left: 20px;
}
.evidence-turn + .evidence-turn {
  margin-top: 18px;
}
.speaker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--soft);
  margin-bottom: 6px;
}
.evidence-turn p {
  font-size: 16px;
  line-height: 1.6;
}
.evidence-turn.assistant p {
  color: var(--ink);
  font-weight: 500;
}
.expected-behavior {
  margin: 22px 0;
}
.expected-behavior strong {
  font-size: 13px;
  font-weight: 650;
}
.expected-behavior p {
  font-size: 15px;
  line-height: 1.65;
  margin-top: 6px;
  color: var(--soft);
}
.finding-body .text-link {
  font-size: 13px;
}
.report-method {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.report-method .coverage {
  margin: 0 0 14px;
}
.next-evaluation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 0 16px;
}
.next-evaluation h2 {
  font-size: 21px;
}
.next-evaluation p {
  font-size: 14px;
  color: var(--soft);
  margin-top: 6px;
}
.new-product-link {
  font-size: 13px !important;
}
.comparison {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--teal-tint);
  border-radius: var(--small-radius);
  padding: 16px 20px;
  margin: 28px 0 0;
}
.comparison svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--teal);
}
.comparison strong {
  font-size: 14px;
}
.comparison p {
  font-size: 13px;
  color: var(--soft);
  margin-top: 4px;
}
.review-note {
  background: var(--amber-tint);
  padding: 20px;
  border-radius: var(--small-radius);
  margin: 24px 0;
}
.review-note p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 6px;
}
.error-message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--coral-tint);
  color: var(--coral);
  font-size: 14px;
  border-radius: var(--small-radius);
  margin-top: 20px;
}
.form-error {
  font-size: 14px;
  color: var(--coral);
  background: var(--coral-tint);
  padding: 12px 16px;
  border-radius: var(--small-radius);
}
.app-footer {
  max-width: 1440px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 24px 48px;
  font-size: 12px;
  color: var(--soft);
  border-top: 1px solid var(--rule);
}
.modal {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0;
  background: var(--card);
  color: var(--ink);
  width: min(620px, calc(100vw - 40px));
  max-height: 85vh;
}
.modal::backdrop {
  background: rgba(6, 27, 32, 0.42);
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
}
.modal-header h2 {
  font-size: 22px;
  padding-top: 4px;
}
.modal-content {
  padding: 24px 28px;
}
.modal-content > p + p {
  margin-top: 16px;
}
.modal-content > p {
  line-height: 1.65;
  color: var(--soft);
}
.conversation-dialog {
  width: min(720px, calc(100vw - 40px));
}
.dialog-meta {
  font-size: 13px;
}
.transcript {
  margin-top: 24px;
}
.transcript-turn {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  max-width: 70ch;
}
.transcript-turn p {
  font-size: 15px;
  line-height: 1.65;
}
.transcript-turn.flagged {
  padding: 18px 16px;
  margin: 0 -16px;
  background: var(--amber-tint);
  border-top-color: transparent;
  border-radius: var(--small-radius);
}
.evidence-label {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 99px;
  background: var(--paper);
  color: var(--amber);
}
.login-form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.login-form label {
  font-size: 14px;
  font-weight: 600;
}
.login-form .button {
  justify-self: end;
  margin-top: 10px;
}
.initial-loading {
  max-width: 760px;
  margin: 100px auto;
  padding: 20px;
  color: var(--soft);
}
[hidden] {
  display: none !important;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .spinner {
    animation: none;
  }
}
@media (max-width: 800px) {
  .app-header {
    height: 82px;
    padding: 0 24px;
  }
  .header-purpose {
    display: none;
  }
  .product-main {
    margin-top: 24px;
  }
  .report-header {
    display: block;
  }
  .report-actions {
    padding-top: 20px;
  }
  .report-header h1 {
    font-size: 34px;
  }
  .next-evaluation {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .next-evaluation .button {
    align-self: flex-start;
  }
  .report-method .coverage li {
    display: block;
  }
  .coverage-count,
  .coverage-issue {
    display: block;
    text-align: left;
    margin-top: 3px;
  }
  .app-footer {
    padding: 22px 24px;
  }
}
@media (max-width: 520px) {
  :root {
    --heading: 34px;
  }
  .app-header {
    padding: 0 20px;
    height: 78px;
  }
  .wordmark img {
    width: 125px;
  }
  .source-tag {
    font-size: 11px;
  }
  .product-main {
    padding: 0 20px;
    margin: 20px auto 54px;
  }
  .flow-steps {
    margin-bottom: 30px;
    gap: 28px;
  }
  .intro {
    font-size: 16px;
  }
  .connection-form {
    padding: 20px;
    margin-top: 24px;
    gap: 18px;
  }
  .field-pair {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .connection-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .connection-footer .primary {
    width: 100%;
  }
  .credential-note {
    max-width: none;
  }
  .sample-option {
    flex-direction: column;
    gap: 2px;
    margin-top: 22px;
  }
  .evaluation-brief,
  .progress-panel {
    padding: 20px;
    margin-top: 24px;
  }
  .product-line {
    align-items: flex-start;
  }
  .connected-state {
    font-size: 11px;
  }
  .product-identity {
    gap: 10px;
  }
  .product-identity strong {
    font-size: 16px;
  }
  .product-symbol {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }
  .scope-tags {
    gap: 6px 12px;
  }
  .scope-tags span + span:before {
    padding-right: 12px;
  }
  .brief-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }
  .brief-actions > .primary {
    width: 100%;
  }
  .brief-actions > .text-link {
    justify-content: center;
  }
  .coverage ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .coverage li {
    font-size: 14px;
  }
  .progress-label {
    font-size: 13px;
  }
  .recent-conversations li {
    align-items: flex-start;
  }
  .recent-conversations li > span {
    font-size: 11px;
  }
  .report-header h1 {
    font-size: 32px;
  }
  .report-actions .button {
    width: 100%;
  }
  .report-facts {
    font-size: 12px;
    gap: 6px 12px;
  }
  .report-facts span + span:before {
    padding-right: 12px;
  }
  .finding summary {
    gap: 10px;
    align-items: flex-start;
    position: relative;
    padding: 20px 0;
  }
  .finding summary > svg {
    margin-top: 23px;
  }
  .finding-heading {
    padding-bottom: 28px;
  }
  .finding h3 {
    font-size: 19px;
  }
  .finding .severity {
    position: absolute;
    left: 0;
    bottom: 17px;
    font-size: 10px;
  }
  .finding-body {
    padding-bottom: 24px;
  }
  .evidence {
    padding-left: 14px;
  }
  .evidence-turn p {
    font-size: 15px;
  }
  .next-evaluation .button {
    width: 100%;
  }
  .modal {
    max-height: 90vh;
    width: calc(100vw - 24px);
  }
  .modal-header {
    padding: 20px;
  }
  .modal-header h2 {
    font-size: 20px;
  }
  .modal-content {
    padding: 20px;
  }
  .app-footer {
    padding: 20px;
    font-size: 11px;
  }
}
@media print {
  .app-header,
  .app-footer,
  .flow-steps,
  .report-actions,
  .next-evaluation,
  .new-product-link {
    display: none;
  }
  .product-main {
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .finding {
    break-inside: avoid;
  }
  body {
    font-size: 10pt;
  }
}

.sample-report-entry {
  margin: 1.25rem 0 2rem;
  padding: 1.25rem 0;
  border-block: 1px solid var(--rule);
}
.sample-report-entry h2 { margin: 0; }
.sample-report-entry p { margin: .45rem 0 .85rem; }
.sample-report-entry a { width: fit-content; text-decoration: none; }

.sample-fill { margin-bottom: .65rem; padding-inline: 0; }
.api-contract { padding-block: .5rem; }
.api-contract p, .other-examples p { font-size: 15px; line-height: 1.45; color: var(--soft); }
.judge-toggle { display: flex; align-items: center; gap: .5rem; }
.judge-toggle input { width: auto; min-height: auto; }
.judge-fields:not([hidden]) { display: grid; gap: 12px; margin-block: 12px; }
.other-examples { margin-top: 1.25rem; }
.other-examples a.button { background: transparent; color: var(--teal); }
.observed-report nav,.observed-report .outcome-key,.case-search {display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.observed-report nav {border-bottom:1px solid var(--rule);margin:18px 0 26px}
.observed-report nav button,.case-filter {color:var(--teal);background:none;border:0;padding:5px 0;font-weight:600}
.case-filter{text-decoration:underline;text-underline-offset:3px}
.observed-report nav button[aria-pressed=true]{border-bottom:2px solid var(--ink);color:var(--ink)}
.observed-report .deck,.observed-report .note{color:var(--soft)}.observed-report .bar{display:flex;height:12px;margin-top:22px}
.observed-report .s0,.observed-report .s1,.observed-report .s2,.observed-report .s3{display:block}.observed-report .s0{background:var(--teal)}.observed-report .s1{background:var(--coral)}.observed-report .s2{background:var(--amber)}.observed-report .s3{background:var(--soft)}
.run-notes{margin-block:20px}.run-notes .brief{border-block-start:1px solid var(--rule);padding:14px 0;display:grid;grid-template-columns:95px 1fr}.run-notes h3,.run-notes p{margin:2px 0}
.observed-report table {width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;margin:14px 0}
.observed-report td,.observed-report th{border-bottom:1px solid var(--rule);padding:7px 4px;text-align:left}
.observed-report .cell {display:block;text-align:center}.observed-report .cell button{color:inherit}
.observed-report .low{background:var(--coral-tint);color:var(--coral)}.observed-report .mid{background:var(--amber-tint);color:var(--amber)}.observed-report .high{background:var(--teal-tint);color:var(--teal)}
.case-search label{display:grid;gap:4px;font-size:14px}.case-search{margin:15px 0}.observed-report .report-product{display:block}.observed-report #observed-body{overflow-wrap:anywhere}
@media(max-width:650px){.observed-report table{display:block;overflow-x:auto}.observed-report .brief{display:block}.observed-report nav{gap:8px}.observed-report .case-search input{width:100%}}
.observed-report .inkplot svg { display:block;width:100%;height:auto;fill:none;stroke:none; }
.observed-report .sc{max-width:410px}.observed-report .mv{max-width:700px}
.observed-report .inkplot svg text{font:13px Figtree,sans-serif;fill:var(--ink)}
.observed-report .inkplot .axis,.observed-report .inkplot .equal{stroke:var(--soft)}
.observed-report .inkplot .grid{stroke:var(--rule);fill:none}.observed-report .inkplot .equal{stroke-dasharray:4 3}
.observed-report .inkplot .gain{fill:var(--teal)}.observed-report .inkplot .loss{fill:var(--coral)}.observed-report .inkplot .even{fill:var(--soft)}.observed-report .inkplot svg .overlap{fill:white;font-size:10px}

.connect-content .api-contract {margin-top:0}.connect-content .connection-form{gap:16px;margin-top:16px}.connect-content .connection-footer{padding-top:16px}.scope-brief > p + p{margin-top:8px}
@media(min-width:750px){.observed-report .report-header{align-items:center}.observed-report .report-actions{display:flex;flex-direction:row;gap:8px;min-width:0}.observed-report .report-actions button{width:auto}}
@media(max-width:650px){
  .observed-report table{display:table;table-layout:fixed}
  .observed-report table thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  .observed-report table tbody{display:block}
  .observed-report table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;border-top:1px solid var(--rule);padding:10px 0}
  .observed-report table th,.observed-report table td{border:none;padding:0;font-size:15px}
  .observed-report table th{grid-column:1/-1}
  .observed-report table td::before{content:attr(data-label);display:block;color:var(--soft);font-size:12px}
  .observed-report table td:only-of-type{grid-column:1/-1}
}

#message-limit { max-width: 8rem; }

.report-history > div { padding: 12px 0; border-bottom: 1px solid var(--rule) }
.report-history a { color: var(--teal); font-weight: 600 }
.report-history p { margin: 4px 0; color: var(--soft) }

@media (max-width: 520px) { .app-header { gap: 8px; } .app-header .button.text-link { padding: 4px; } }
