:root { font: 16px/1.5 system-ui, sans-serif; color: #1f2933; background: #fbfaf7; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 50rem); margin: 0 auto; padding: 1.4rem 0 3rem; }
nav { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #c9d4ca; padding-bottom: 1rem; margin-bottom: 2.5rem; }
nav a:first-child { font-weight: 750; text-decoration: none; color: #1f2933; }
h1, h2, h3, summary { line-height: 1.15; }
h1, h2 { font-family: Georgia, serif; }
h1 { max-width: 19ch; margin: 0 0 1rem; font-size: clamp(2.4rem, 7vw, 3.6rem); }
h2 { margin: 0; font-size: 1.65rem; }
h3, summary { font-size: 1.12rem; font-weight: 700; }
p { margin: .5rem 0; }
p.intro { max-width: 58ch; font-size: 1.12rem; }
.location, a { color: #17634d; }
.location { margin: 0 0 .4rem; font-weight: 700; }
a { text-underline-offset: .18em; }
button, select { font: inherit; padding: .6rem .85rem; border: 1px solid #6e827a; border-radius: .35rem; }
button { background: #155942; border-color: #155942; color: white; font-weight: 650; cursor: pointer; }
input:focus-visible, select:focus-visible, [contenteditable]:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #22725e; outline-offset: 3px; }
.card { margin: 1.3rem 0; padding: clamp(1rem, 3vw, 2rem); background: white; border: 1px solid #d2dcd5; border-radius: .6rem; }
.chooser label { font-size: 1.25rem; font-weight: 650; }
.chooser div, .actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 1rem; }
#share-blank { background: white; color: #155942; }
.share-fallback { overflow-wrap: anywhere; }
#share-status:empty { margin: 0; }
.chooser select { background: white; flex: 1 1 13rem; }
.pair { display: grid; gap: 0 1.25rem; }
@media (min-width: 40rem) { .pair { grid-template-columns: 1fr 1fr; } }
.field { min-width: 0; margin: .8rem 0 0; }
.field span { display: block; font-size: .92rem; font-weight: 620; }
.writing { background: #fcfdfb; margin-top: .22rem; min-height: 2.65rem; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid #85958c; border-radius: .25rem; padding: .42rem .55rem; }
.tall { min-height: 3.75rem; }
summary { cursor: pointer; padding: .25rem 0; }
.comparable { padding-top: .6rem; margin-top: 1rem; border-top: 1px solid #ced8d0; }
.comparable h3 { margin: .5rem 0; }
.result { margin-top: 1rem; background: #eef6f0; border-left: .2rem solid #337957; padding: .65rem .8rem; }
.quiet, .filing { color: #444e47; }
.filing { margin: 1.6rem 0; }
.print-only, [hidden] { display: none !important; }
@page { size: letter portrait; margin: .5in .65in; }
@media print {
  :root { font: 10pt/1.26 Arial, sans-serif; color: #000; background: white; }
  main { padding: 0; width: 100%; }
  .screen, .card:not([open]):is(details) { display: none; }
  .print-only { display: block !important; overflow-wrap: anywhere; }
  a, .location, .filing { color: #111; }
  h1 { font-size: 20pt; max-width: 100%; margin: .08in 0 .12in; }
  h2 { font-size: 14pt; } h3, summary { font-size: 12pt; } h1, h2, h3, summary { break-after: avoid; }
  .card, .filing { margin: .13in 0; padding: .09in 0; border: 0; border-top: 1px solid #778379; background: white; }
  .pair { grid-template-columns: 1fr 1fr; }
  .field { margin-top: .06in; }
  .field span { font-size: 9.2pt; break-after: avoid; }
  .writing { min-height: .22in; padding: .03in 0; border: 0; border-bottom: 1px solid #888; border-radius: 0; background: white; }
  .tall { min-height: .36in; }
  #comparisons { break-before: page; }
  .comparable, .filing { break-inside: avoid; }
  .result { margin: .06in 0; padding: 0; border: 0; }
}
