/* PDF matcher uses /assets/theme.css, shared with the discovery catalogue. */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 92px; border-bottom: 1px solid var(--line); }
.wordmark span { display: block; font-size: 11px; line-height: 1.5; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-top: 5px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; color: var(--muted); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.intro { padding: 60px 0 42px; max-width: 960px; }
.eyebrow { color: var(--accent); margin-bottom: 20px; }
h1 { font-size: clamp(40px,5.5vw,72px); line-height: 1.06; letter-spacing: -.055em; margin-bottom: 26px; }
.lede { font-size: 18px; line-height: 1.75; max-width: 725px; color: var(--muted); }
.terms-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 25px 0 12px; font-size: 12px; }
.terms-line strong { color: var(--accent); padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-weight: 600; }
.terms-line span { color: var(--muted); }
.small, .field-note { font-size: 12px; color: var(--muted); line-height: 1.65; }
.workspace { display: grid; grid-template-columns: minmax(320px,.86fr) minmax(0,1.3fr); gap: 24px; align-items: start; padding-bottom: 42px; }
.input-panel { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.report-panel { padding: 30px; min-width: 0; border: 1px solid var(--line); border-radius: 14px; }
h2 { font-size: 28px; line-height: 1.2; margin-bottom: 27px; }
.input-panel > .eyebrow, .report-panel > .eyebrow { margin-bottom: 13px; font-size: 10px; }
.field { margin-bottom: 22px; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 9px; }
select { width: 100%; min-height: 46px; border: 1px solid var(--strong-line); border-radius: 7px; background: var(--bg); color: var(--ink); padding: 10px 30px 10px 11px; font-size: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row + .field-note { margin-top: -12px; margin-bottom: 25px; }
fieldset { padding: 0; margin: 0 0 26px; border: 0; }
legend { font-weight: 600; font-size: 13px; margin-bottom: 9px; }
.choice { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font-size: 13px; cursor: pointer; }
.choice input { accent-color: var(--accent); width: 16px; height: 16px; margin: 3px 0 0; flex-shrink: 0; }
fieldset .field-note { margin-top: 12px; }
.primary-button { width: 100%; font-size: 14px; }
.secondary-button { font-size: 12px; padding: 9px 14px; min-height: 40px; }
.privacy-note { margin-top: 14px; }
.examples { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.examples summary { min-height: 32px; }
.sample { display: block; border: 0; background: none; color: var(--accent); padding: 9px 0; text-decoration: underline; text-underline-offset: 3px; text-align: left; font-size: 12px; }
.placeholder-intro { font-size: 21px; font-weight: 500; line-height: 1.5; max-width: 420px; }
.method-list { padding-left: 23px; max-width: 480px; color: var(--muted); font-size: 13px; }
.method-list li { padding-left: 10px; margin: 26px 0; }
.method-list li::marker { color: var(--accent); font-size: 11px; }
.method-list span { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.no-upload { margin-top: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 23px; font-size: 19px; line-height: 1.5; }
.no-upload span { display: inline-block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.error { border-left: 3px solid var(--error); margin-top: 16px; padding: 10px 15px; color: var(--error); font-size: 14px; }
.result-summary { padding: 0 0 23px; border-bottom: 1px solid var(--line); }
.result-summary h3 { font-size: 23px; margin-bottom: 14px; }
.result-summary p { font-size: 14px; margin-bottom: 14px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 11px; }
.report-actions { display: flex; gap: 10px; margin: 23px 0; flex-wrap: wrap; }
.candidate { border-bottom: 1px solid var(--line); padding: 27px 0; }
.candidate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.candidate h3 { font-size: 25px; margin-bottom: 9px; overflow-wrap: anywhere; }
.rank-label { font-size: 10px; color: var(--accent); letter-spacing: .08em; white-space: nowrap; }
.configuration { font-size: 13px; color: var(--muted); }
.candidate h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin: 24px 0 9px; font-weight: 600; }
.report-list { padding-left: 18px; font-size: 13px; }
.report-list li { margin: 10px 0; line-height: 1.75; }
.source-inline { white-space: nowrap; font-size: 11px; margin-left: 6px; color: var(--accent); }
.start-link { display: inline-block; margin: 12px 0 2px; color: var(--accent); font-size: 13px; }
.review-section { margin: 24px 0; }
.review-section > summary { font-weight: 600; font-size: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.excluded-tool { padding: 20px 0; border-bottom: 1px solid var(--line); }
.excluded-tool h4 { font-size: 15px; margin: 0 0 8px; }
.state-label { font-size: 11px; color: var(--accent); margin-left: 8px; font-weight: 400; }
.report-sources { padding-left: 20px; font-size: 12px; overflow-wrap: anywhere; }
.report-sources li { margin: 12px 0; }
.source-date { display: block; color: var(--muted); }
.agent-section { padding: 48px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; border-block: 1px solid var(--line); }
.agent-section p:not(.eyebrow) { font-size: 14px; max-width: 480px; margin-bottom: 16px; }
.agent-section .small { color: var(--muted); }
.contract { margin: 0; }
.contract div { display: grid; grid-template-columns: 100px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 16px; font-size: 12px; }
.contract dt { color: var(--muted); }
.contract dd { margin: 0; overflow-wrap: anywhere; }
.contract-links { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 12px; margin-top: 24px; color: var(--accent); }
.scope-section { padding: 44px 0; max-width: 830px; }
.scope-section h2 { font-size: 26px; margin-bottom: 20px; }
.scope-section p { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
footer { display: flex; justify-content: space-between; gap: 25px; padding-block: 26px 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.noscript { padding-block: 25px; }
.scope-note, .input-summary { font-size: 12px; color: var(--muted); line-height: 1.75; }
.input-summary { overflow-wrap: anywhere; margin: 16px 0; }
.report-section-title { font-size: 22px; margin: 26px 0 12px; }
#report-status:not(:empty) { margin: 16px 0; }
@media (max-width: 1050px) {
  .workspace { gap: 20px; grid-template-columns: minmax(300px,.9fr) minmax(0,1.1fr); }
  .input-panel, .report-panel { padding: 24px; }
  .field-row { display: block; }
  .agent-section { gap: 35px; }
  .candidate-head { flex-wrap: wrap; gap: 2px 14px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 96px; gap: 20px; }
  .wordmark { font-size: 24px; }
  .site-header nav { gap: 18px; font-size: 12px; }
  .intro { padding: 38px 0 31px; }
  h1 { font-size: clamp(38px,7.7vw,58px); }
  .intro .eyebrow { font-size: 10px; }
  .lede { font-size: 16px; }
  .workspace { grid-template-columns: minmax(0,1fr); padding-bottom: 32px; }
  .input-panel, .report-panel { padding: 25px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; }
  .agent-section { grid-template-columns: 1fr; padding: 35px 0; gap: 18px; }
  .scope-section { padding: 35px 0; }
  footer { flex-direction: column; gap: 15px; }
  .contract div { grid-template-columns: 80px 1fr; }
  .no-upload { margin-top: 25px; padding: 20px; }
  h2 { font-size: 27px; }
  .candidate h3 { font-size: 24px; }
}
@media (max-width: 480px) {
  .site-header { flex-wrap: wrap; gap: 9px; padding-block: 20px 12px; }
  .site-header nav { width: 100%; gap: 24px; }
  .site-header nav a { min-height: 36px; }
  .wordmark span { display: none; }
  .input-panel, .report-panel { padding: 22px; }
  .field-row { display: block; }
  .terms-line { gap: 10px 15px; }
  .source-inline { white-space: normal; }
}
@media print {
  body { font-size: 11pt; }
  .site-header, .intro, .input-panel, #report-placeholder, #agent-contract, .scope-section, footer, .report-actions, .skip-link, .examples, #report-status { display: none !important; }
  .workspace { display: block; border: 0; padding: 0; }
  .report-panel { padding: 0; border: 0; }
  .report-panel > .eyebrow { display: none; }
  .report-panel > h2 { font-size: 24pt; }
  .candidate, .excluded-tool { break-inside: avoid; }
  .review-section > summary { list-style: none; }
  .review-section { display: block; }
  .review-section:not([open]) > *:not(summary) { display: block; }
  .candidate h3 { font-size: 18pt; }
  a { color: black; }
  .source-inline { white-space: normal; }
  .report-sources a::after { content: ' (' attr(href) ')'; font-size: 8pt; }
}
