/* =======================================================================
 * hurricane.css — /hurricane-it-prep.php: interactive checklist + print
 * layout. Screen styles first, then @media print, which prints ONLY the
 * checklist section as a compact one-to-two-page sheet.
 * ===================================================================== */

/* Tick glyph fix for any .checklist on this page (see compliance.css). */
.guide-body .checklist li::before{ content:"\2713"; }

.hc-section{ background:var(--pit-surface); scroll-margin-top:90px; }
.hc-wrap{ max-width:1000px; margin:0 auto; background:#fff; border:1px solid var(--pit-border); border-radius:16px; padding:30px 32px; box-shadow:0 1px 2px rgba(16,32,64,.04); }
.hc-head{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:16px; border-bottom:2px solid var(--pit-accent); padding-bottom:14px; margin-bottom:14px; }
.hc-head h2{ margin:0 0 4px; font-size:26px; }
.hc-sub{ margin:0; font-size:13px; color:#5b6573; }
.hc-progress{ margin:8px 0 0; font-size:14px; font-weight:700; color:var(--pit-anchor); }
.hc-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.hc-actions .btn{ margin:0; }
.hc-note{ font-size:14px; color:#5b6573; margin:0 0 18px; }

.hc-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 30px; }
.hc-group{ border:0; margin:0; padding:0; min-width:0; }
.hc-group legend, .hc-legend{ display:block; width:100%; font-size:16px; font-weight:800; color:var(--pit-anchor); text-transform:none; margin:0 0 8px; padding:0 0 6px; border-bottom:1px solid var(--pit-border); }
.hc-list{ list-style:none; margin:0; padding:0; }
.hc-list li{ margin:0 0 6px; }
.hc-list label{ display:flex; gap:10px; align-items:flex-start; cursor:pointer; font-size:15px; line-height:1.45; color:#2b3240; font-weight:400; margin:0; text-transform:none; letter-spacing:0; }
.hc-list input[type="checkbox"]{ flex:0 0 auto; width:18px; height:18px; margin:2px 0 0; accent-color:var(--pit-accent); cursor:pointer; }
.hc-list input[type="checkbox"]:focus-visible{ outline:3px solid var(--pit-accent); outline-offset:2px; }
.hc-list input:checked + span{ color:#66717F; text-decoration:line-through; text-decoration-color:rgba(0,0,0,.35); }

.hc-contacts p{ margin:0 0 16px; font-size:14px; display:flex; gap:8px; align-items:flex-end; }
.hc-contacts label{ flex:0 0 auto; margin:0; font-size:14px; font-weight:400; color:#2b3240; text-transform:none; letter-spacing:0; }
.hc-line{ flex:1 1 auto; min-width:0; border:0; border-bottom:1px solid #9aa1ad; border-radius:0; background:transparent; min-height:1.2em; padding:2px 2px; font-size:14px; color:var(--pit-ink); }
.hc-line:focus{ outline:none; border-bottom:2px solid var(--pit-accent); }

@media (max-width:767.98px){
  .hc-wrap{ padding:22px 16px; border-radius:12px; }
  .hc-grid{ grid-template-columns:1fr; }
  .hc-head h2{ font-size:22px; }
  .hc-list label{ font-size:15px; }
}

/* ------------------------------------------------------------------ PRINT */
@media print{
  @page{ margin:11mm 12mm; }

  /* Hide everything except the checklist. */
  #header, #footer, #scrollTop, #topbar, .hp-noprint, .page-hero, .breadcrumb-bar{ display:none !important; }
  html, body, .body-inner{ background:#fff !important; margin:0 !important; padding:0 !important; }
  body{ color:#000; font-size:10pt; }
  a[href]::after{ content:none !important; }

  .hc-section{ background:#fff !important; padding:0 !important; margin:0 !important; }
  .hc-section .container{ max-width:none !important; width:auto !important; padding:0 !important; }
  .hc-wrap{ max-width:none; border:0; box-shadow:none; padding:0; border-radius:0; }
  .hc-head{ border-bottom:1.5pt solid #000; padding-bottom:5pt; margin-bottom:8pt; }
  .hc-head h2{ font-size:16pt; color:#000; }
  .hc-sub{ font-size:8.5pt; color:#333; }

  .hc-grid{ display:block; column-count:2; column-gap:9mm; }
  .hc-group{ break-inside:avoid; page-break-inside:avoid; margin:0 0 8pt; }
  .hc-group legend, .hc-legend{ font-size:10.5pt; color:#000; border-bottom:.75pt solid #000; padding:0 0 2pt; margin:0 0 4pt; }
  .hc-list li{ margin:0 0 3pt; break-inside:avoid; }
  .hc-list label{ font-size:9pt; line-height:1.3; color:#000; gap:6pt; }
  .hc-list input[type="checkbox"]{ width:10pt; height:10pt; margin:1pt 0 0; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .hc-list input:checked + span{ color:#555; }
  .hc-contacts p{ font-size:9pt; margin:0 0 7pt; }
  .hc-contacts label{ font-size:9pt; color:#000; }
  .hc-line{ border-bottom:.75pt solid #000 !important; font-size:9pt; color:#000; padding:0; height:auto; }
}

/* Key-contact inputs: override the theme's 40px minimum input height so they
   read as fill-in lines on screen and in print. */
.hc-contacts input.hc-line{ min-height:0; height:auto; line-height:1.35; box-shadow:none; margin:0; }
/* Touch screens: a 44px fill-in line, and it drops under its label when the
   label leaves it too little room (it was 18px wide at 320px). */
@media screen and (max-width:991.98px), screen and (hover:none) and (pointer:coarse){
  .hc-contacts p{ flex-wrap:wrap; }
  .hc-contacts input.hc-line{ flex:1 1 160px; min-height:44px; padding:12px 2px 4px; font-size:16px; }
}
@media print{
  .hc-contacts input.hc-line{ min-height:0 !important; height:auto !important; }
}
