/* Original, printable first-party worksheet. Separate from the live GIS UI. */
.worksheet-shell{max-width:1050px;margin:0 auto;padding:44px 22px 80px;color:var(--text-color,#1d2f3a)}
.worksheet-back{font-size:.9rem;text-decoration:underline;text-underline-offset:3px}
.worksheet-hero{margin-top:23px;padding:38px 38px 36px;border-radius:20px;background:#0f3340;color:#f7f8f5}
.worksheet-eyebrow{margin:0 0 12px;font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;color:#b9dad8;font-weight:700}
.worksheet-hero h1{max-width:18ch;margin:0;font-size:clamp(2rem,4.3vw,3.55rem);line-height:1.1;letter-spacing:-.035em;color:#fff}
.worksheet-hero p:last-child{max-width:65ch;margin:18px 0 0;font-size:1.04rem;line-height:1.65;color:#d9e9e7}
.worksheet-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:22px 0 26px}
.worksheet-tools a,.worksheet-tools button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid #335a64;border-radius:9px;background:#fff;color:#173642;font:inherit;font-weight:650;font-size:.92rem;text-decoration:none;cursor:pointer}
.worksheet-tools a:first-child,.worksheet-tools button[data-action="print"]{background:#0f535c;color:#fff;border-color:#0f535c}
.worksheet-tools a:focus-visible,.worksheet-tools button:focus-visible,.worksheet-shell input:focus-visible,.worksheet-shell textarea:focus-visible,.worksheet-shell summary:focus-visible{outline:3px solid #078b9e;outline-offset:3px}
.worksheet-intro{margin:0 0 30px;padding:16px 18px;border-left:4px solid #2a8790;background:#eaf4f3;border-radius:0 10px 10px 0;line-height:1.65;color:#213a44}
.worksheet-step{margin:22px 0;border:1px solid #cedde0;border-radius:16px;background:#fff;padding:26px}
.worksheet-step-head{display:flex;align-items:center;gap:12px;margin-bottom:11px}
.worksheet-number{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#e4f2f0;color:#0e5960;font-size:.91rem;font-weight:750}
.worksheet-step h2{font-size:1.3rem;line-height:1.3;margin:0;color:#153641}
.worksheet-step p{margin:10px 0 19px;line-height:1.65;color:#465b61}
.worksheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.worksheet-field{min-width:0;margin:0 0 16px}
.worksheet-field label{display:block;margin-bottom:7px;font-size:.9rem;font-weight:670;color:#29404a}
.worksheet-field input,.worksheet-field textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:43px;padding:11px 13px;border:1px solid #a9bec2;border-radius:8px;background:#fff;color:#1b3841;font:inherit;font-size:.97rem;line-height:1.5;resize:vertical}
.worksheet-field input::placeholder,.worksheet-field textarea::placeholder{color:#6c7b7f;opacity:1}
.worksheet-field textarea{min-height:88px}
.worksheet-field small{display:block;margin:7px 0 0;line-height:1.5;color:#54646a}
.worksheet-print-value{display:none;overflow-wrap:anywhere;white-space:pre-wrap}
.worksheet-blank-lines{display:none}
.worksheet-tools [data-action="print-blank"]{display:none}
form[data-worksheet-ready="true"] .worksheet-tools [data-action="print-blank"]{display:inline-flex}
.worksheet-ref{font-size:.92rem;line-height:1.6;color:#475e65}
.worksheet-ref a{color:#0c5b69;text-decoration:underline;text-underline-offset:2px}
.worksheet-interpretation{border:1px solid #aacbc9;border-radius:12px;background:#f4faf9;padding:16px 19px;margin:4px 0 17px}
.worksheet-interpretation strong{color:#123f47}
.worksheet-interpretation ul{margin:10px 0 0;padding-left:19px;line-height:1.68}
.worksheet-answers{border-top:1px solid #d7e2e3;margin-top:13px;padding-top:17px}
.worksheet-answers summary{cursor:pointer;font-weight:700;color:#185967;line-height:1.5}
.worksheet-answers p{margin:11px 0 0}
.worksheet-footer{font-size:.88rem;line-height:1.75;margin:27px 0 0;color:#52666b}
.worksheet-footer a{color:#165d6b;text-decoration:underline}
@media (max-width:680px){.worksheet-shell{padding:22px 13px 50px}.worksheet-hero{padding:28px 21px;border-radius:15px}.worksheet-grid{grid-template-columns:1fr;gap:0}.worksheet-step{padding:20px 17px}.worksheet-tools{gap:7px}.worksheet-tools a,.worksheet-tools button{flex:1 1 45%;font-size:.86rem;padding:10px 11px}}
@media print{
  @page{size:A4;margin:13mm}
  html,body,body.portfolio-body{color:#111!important;background:#fff!important;font-size:10.5pt!important}
  nav.menu,.navbar,.folio-footer,.folio-skip-link,.site-skip-link,.worksheet-tools,.worksheet-back,.worksheet-answers,footer{display:none!important}
  main.folio{display:block!important;max-width:none!important;padding:0!important;margin:0!important;background:#fff!important;box-shadow:none!important}
  .worksheet-shell{max-width:none;padding:0;margin:0;color:#111}
  .worksheet-hero{background:#fff!important;color:#111!important;border-radius:0;border-bottom:2px solid #333;padding:0 0 11px;margin:0 0 11px}
  .worksheet-hero h1{color:#111!important;font-size:19pt;max-width:none}
  .worksheet-hero p:last-child,.worksheet-eyebrow{color:#333!important;margin-top:5px;font-size:9pt}
  .worksheet-intro{background:#fff!important;color:#111!important;border:1px solid #ccc;border-left:3px solid #333;padding:8px 10px;margin-bottom:12px}
  .worksheet-step{border:1px solid #c8c8c8;border-radius:4px;margin:8px 0;padding:9px 12px;break-inside:avoid;page-break-inside:avoid}
  .worksheet-step-head{margin-bottom:5px}
  .worksheet-number{color:#111!important;background:#eee!important;width:22px;height:22px;font-size:9pt}
  .worksheet-step h2{color:#111!important;font-size:12pt}
  .worksheet-step p{font-size:9pt;color:#333;margin:4px 0 7px}
  .worksheet-grid{gap:10px}
  .worksheet-field{margin-bottom:7px}
  .worksheet-field label{font-size:9pt;color:#111;margin-bottom:1px}
  .worksheet-field small{display:none!important}
  form[data-worksheet-ready="true"] .worksheet-field input,form[data-worksheet-ready="true"] .worksheet-field textarea{display:none!important}
  form[data-worksheet-ready="true"] .worksheet-print-value{display:block!important;min-height:15px;padding:2px 0 4px;border-bottom:1px solid #aaa;color:#111;line-height:1.35;font-size:9pt;overflow-wrap:anywhere;white-space:pre-wrap}
  form:not([data-worksheet-ready="true"]) .worksheet-field input,form:not([data-worksheet-ready="true"]) .worksheet-field textarea{display:block!important;border:1px solid #aaa!important}
  /* Blank photocopies need space for handwritten sources and conclusions.
     Existing answers stay in memory, but are hidden on the blank sheet. */
  form[data-worksheet-ready="true"][data-print-mode="blank"] .worksheet-print-value{display:none!important}
  form[data-worksheet-ready="true"][data-print-mode="blank"] .worksheet-blank-lines{display:block!important;box-sizing:border-box;min-height:12mm;border-bottom:1px solid #667!important;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(8mm - 1px),#aaa calc(8mm - 1px),#aaa 8mm);background-position:0 1px;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  form[data-worksheet-ready="true"][data-print-mode="blank"] textarea + .worksheet-print-value + .worksheet-blank-lines{min-height:29mm}
  .worksheet-interpretation{background:#fff!important;border:1px solid #bbb;padding:6px 8px;margin:5px 0}
  .worksheet-interpretation ul{margin:3px 0 0;font-size:9pt;line-height:1.45}
  .worksheet-footer{font-size:8pt;line-height:1.4;margin:10px 0}
  a{color:#111!important;text-decoration:none!important}
}
