.civil-paper { max-width: 980px; }
.agency-header.compact { grid-template-columns: 72px 1fr; }
.agency-header.compact img { width: 68px; height: 68px; }

.status-hero {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3.5rem) 1rem 2.2rem;
  text-align: center;
  border-bottom: 4px double var(--rule);
}

.status-stamp { position: absolute; top: 2.1rem; right: clamp(1rem, 5vw, 3.5rem); }
.clerk-note { position: absolute; right: 8%; bottom: 1.1rem; margin: 0; color: #38507a; font: italic .72rem/1.1 "Comic Sans MS", cursive; transform: rotate(-7deg); opacity: .7; }

.form-number {
  margin: 0 0 1.5rem;
  color: #665f49;
  font: 700 .62rem/1 var(--sans);
  letter-spacing: .15em;
}

.status-hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2.3rem);
  font-weight: normal;
}

.answer {
  margin: -.02em 0 -.08em;
  color: var(--official-red);
  font: 900 clamp(8rem, 35vw, 20rem)/.9 var(--sans);
  letter-spacing: -.09em;
  text-shadow: 2px 3px 0 rgba(116, 93, 44, .18);
}

.certification {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1rem;
  border: 1px solid var(--rule);
  background: #fffdf2;
  font: .92rem/1.3 var(--sans);
}

.lamp {
  width: 13px;
  height: 13px;
  border: 2px solid #173f32;
  border-radius: 50%;
  background: #41a15c;
  box-shadow: 0 0 0 3px rgba(65,161,92,.18);
}

.updated { margin: .7rem 0 0; color: #6d6754; font-size: .72rem; font-style: italic; }

.instruments {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem);
}

.instruments > div { padding: 1rem; border: 1px solid var(--rule); background: rgba(255,255,255,.3); }
.instruments h2 { margin: 0 0 .8rem; font-size: .78rem; font-family: var(--sans); letter-spacing: .09em; text-transform: uppercase; }

.meter { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #554f3e; font: 700 .55rem/1.2 var(--sans); text-align: center; }
.meter span { display: grid; place-items: center; min-height: 58px; padding: .3rem; border-right: 1px solid #554f3e; }
.meter span:last-child { border: 0; }
.meter .active { color: #fff; background: #b07721; box-shadow: inset 0 0 0 4px #d9b86a; }

.dispatch-card blockquote { min-height: 3.3rem; margin: 0 0 .75rem; font-size: .95rem; font-style: italic; }
.dispatch-card button { padding: .45rem .65rem; color: #fff; background: var(--department-green); border: 2px outset #507463; cursor: pointer; font: 700 .68rem/1 var(--sans); text-transform: uppercase; }
.dispatch-card button:active { border-style: inset; }

.faq { padding: 1rem clamp(1rem, 4vw, 2.5rem) 2rem; }
.section-heading { margin-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0 0 .55rem; font-size: clamp(1.35rem, 4vw, 2rem); }
.faq details { border-bottom: 1px dotted var(--rule); }
.faq summary { padding: .85rem .2rem; cursor: pointer; font-weight: bold; }
.faq details p { margin: -.2rem 1rem 1rem; }

.notice { margin: 0 clamp(1rem, 4vw, 2.5rem) 2rem; padding: 1rem; text-align: center; border: 1px dashed var(--official-red); }
.notice p { margin: .75rem 0 0; }
.routing-note { margin: -1rem clamp(1rem, 4vw, 2.5rem) 2rem; color: #615b49; font: .62rem/1.45 "Courier New", Courier, monospace; }

.assessment, .prediction-archive, .readiness { padding: 2rem clamp(1rem, 4vw, 2.5rem); border-top: 1px solid var(--rule); }
.table-wrap { overflow-x: auto; }
.assessment-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.28); }
.assessment-table th, .assessment-table td { padding: .75rem; border: 1px solid var(--rule); text-align: left; }
.assessment-table th { color: white; background: var(--department-green); font: 800 .68rem/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.assessment-table td:last-child { width: 38%; font-family: var(--sans); }
.assessment-table .actual { border-top: 3px double var(--ink); }
.assessment-table .actual strong { color: var(--official-red); font-size: 1.35rem; }
.level { display: inline-block; padding: .25rem .4rem; border: 1px solid currentColor; font-size: .68rem; font-weight: bold; text-transform: uppercase; }
.level.elevated { color: #7a5b16; }.level.concerning { color: #8a491d; }.level.critical { color: var(--official-red); }.level.high { color: #6d3b69; }
.determination { padding: 1rem; border-left: 5px solid var(--department-green); background: var(--paper-deep); line-height: 1.5; }

.prediction-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.prediction-files article { position: relative; min-height: 230px; padding: 1rem 1rem 2.7rem; border: 1px solid var(--rule); background: #fffdf2; }
.prediction-files blockquote { margin: 1.2rem 0 .5rem; font-size: 1.1rem; font-style: italic; }
.prediction-files .stamp { position: absolute; right: .7rem; bottom: .7rem; }
.case-label { margin: 0; color: #665f4d; font: 700 .58rem/1.35 "Courier New", monospace; letter-spacing: .06em; text-transform: uppercase; }
.archive-note { margin-bottom: 0; color: #665f4d; font-size: .68rem; font-style: italic; }

.readiness-form { max-width: 760px; }
.readiness-form fieldset { display: grid; gap: .65rem; padding: 1rem; border: 1px solid var(--rule); }
.readiness-form legend { padding: 0 .5rem; font-weight: bold; }
.readiness-form label { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; }
.readiness-form input { margin-top: .2rem; }
.readiness-form button { margin-top: 1rem; padding: .65rem .85rem; color: white; border: 2px outset #668275; border-radius: 0; background: var(--department-green); cursor: pointer; font: 800 .68rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.readiness-result { position: relative; margin-top: 1.5rem; padding: 1.2rem; border: 4px double var(--official-red); background: #fffdf2; }
.readiness-result[hidden] { display: none; }
.readiness-no { float: right; margin: -.2rem 0 .5rem 1rem; color: var(--official-red); font: 900 3.2rem/.9 var(--sans); }
.clerk-signoff { clear: both; margin: 1rem 0 0; color: #38507a; font: italic .72rem/1.2 "Comic Sans MS", cursive; transform: rotate(-1deg); }

@media (max-width: 680px) {
  .instruments { grid-template-columns: 1fr; }
  .answer { font-size: clamp(7.5rem, 45vw, 13rem); }
  .status-stamp { position: static; margin-bottom: 1.1rem; transform: rotate(-2deg); }
  .clerk-note { display: none; }
  .prediction-files { grid-template-columns: 1fr; }
}
