.parent-path-page { max-width: 56rem; margin-inline: auto; }
.parent-path-page label { display: block; font-weight: 700; margin-block: 1rem .35rem; }
.parent-path-page :is(select, textarea, input:not([type=checkbox]):not([type=radio])) {
  box-sizing: border-box; width: 100%; max-width: 100%; font: inherit; line-height: 1.5;
  min-height: 44px; padding: .6rem .8rem; border: 1px solid #786847; border-radius: .55rem;
  color: #251e2a; background: #fffdf8;
}
.parent-path-page textarea { resize: vertical; }
.parent-path-page button { min-height: 44px; }
.parent-path-page :focus-visible, .parent-path-links a:focus-visible { outline: 3px solid #315969; outline-offset: 3px; }
.parent-path-page [hidden] { display: none !important; }
.parent-path-page :is(h2,h3)[tabindex] { scroll-margin-top: 6rem; }
.parent-path-page :is(p, li, dd, textarea) { overflow-wrap: anywhere; }
.path-paper, .hp-paper { display: none; white-space: pre-wrap; }
.parent-path-links { margin-block: 1rem; }
.parent-path-links ul { padding-inline-start: 1.35rem; }
.parent-path-links li { margin-block: .5rem; }
.parent-path-links a { display: inline-block; padding-block: .4rem; text-decoration: underline; text-underline-offset: .18em; }
#hp-times label { display: flex; align-items: center; gap: .5rem; min-height: 44px; margin-block: .15rem; }
#hp-times input { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
#hp-suggestion-options { display: flex; flex-wrap: wrap; gap: .5rem; }
#hp-kit, #hp-suggestions { overflow-wrap: anywhere; }
#hp-kit :is(p, li) { white-space: pre-wrap; }
.hp-time-card { padding-inline-start: 1rem; border-inline-start: 3px solid #786847; margin-block: 1rem; }
.hp-write-line { white-space: pre-wrap; }
@media print {
  body:has(.parent-path-page) :is(.site-head, .site-foot, .skip) { display: none !important; }
  .parent-path-page:has(#school-result:not([hidden])) > :not(#school-result) { display: none !important; }
  #school-result :is(button, textarea, label, .path-controls, [role=status]) { display: none !important; }
  #school-result .path-paper { display: block; }
  .parent-path-page .hp-paper { display: block; overflow-wrap: anywhere; }
  .parent-path-page .no-print { display: none !important; }
  .parent-path-page[data-hp-print=kit] > :not(#hp-kit),
  .parent-path-page:not([data-hp-print=kit]) > #hp-kit { display: none !important; }
  #hp-kit .hp-month { break-inside: avoid; }
  #hp-kit .hp-write-line { display: block; min-height: 1.4cm; border-bottom: 1px solid #635f55; }
  #hp-kit h3, #hp-kit .hp-month label { break-after: avoid; }
  .parent-path-page { max-width: none; padding: 0; }
}
