/* A quiet, ruled worksheet in the existing Herrliche Hormone palette. */
.hh-article-outline { margin-top: 1.5rem; padding: 1rem 1.25rem; border-block: 1px solid var(--line); }
.hh-article-outline summary { cursor: pointer; font-weight: 700; }
.hh-article-outline ul { padding-left: 1.25rem; }
.hh-article-outline li { margin-block: .65rem; }
.hh-article-outline a { text-underline-offset: .18em; }
.hh-article-outline :is(summary, a):focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.answer-section[id] { scroll-margin-top: 7rem; }
.hh-article-expanded .answer-section h2 { max-width: none; font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.18; letter-spacing: -.02em; overflow-wrap: break-word; hyphens: auto; }
.hh-article-depth ul { padding-left: 1.25rem; color: var(--muted); }
.hh-article-depth li { margin-block: .75rem; font-size: 1.05rem; }
.knowledge-body .hh-article-citations, .hh-article-review { color: var(--muted); font-size: .9rem; line-height: 1.6; overflow-wrap: anywhere; }
.hh-article-pilot .knowledge-hero h1 { max-width: 20ch; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.06; }
.hh-article-orientation, .hh-article-next-steps { margin-block: 2rem; scroll-margin-top: 7rem; }
.hh-article-orientation h2, .hh-article-next-steps h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; }
.hh-article-orientation h3, .hh-article-next-steps h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; }
.hh-article-orientation > ul, .hh-article-next-steps > ul { display: grid; gap: 1rem; padding: 0; list-style: none; }
.hh-article-orientation > ul > li, .hh-article-next-steps > ul > li { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); background: var(--paper); }
.hh-article-orientation > ul > li:first-child { border-left: 4px solid var(--terracotta); }
.hh-article-orientation li p, .hh-article-next-steps li p { margin-bottom: .75rem; color: var(--muted); }
.hh-article-orientation a, .hh-article-next-steps a { text-underline-offset: .2em; overflow-wrap: anywhere; }
.hh-article-orientation a:focus-visible, .hh-article-next-steps a:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
@media (min-width: 1000px) { .hh-article-next-steps > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hh-worksheet-jump { margin-block: 1.25rem 0; }
.hh-worksheet-jump a { font-weight: 700; text-underline-offset: .2em; }
.hh-worksheet { margin-block: 3rem; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--line); border-top: 4px solid var(--terracotta); background: var(--paper); scroll-margin-top: 7rem; }
.hh-worksheet h2 { margin-block: .5rem 1.25rem; font-size: clamp(2rem, 4vw, 3rem); overflow-wrap: anywhere; }
.hh-worksheet h3 { margin-top: 2rem; font-size: 1.6rem; }
.hh-worksheet-topic { color: var(--muted); font-size: .9rem; }
.hh-worksheet-privacy { font-weight: 700; }
.hh-worksheet-print[hidden] { display: none; }
.hh-worksheet-print { margin-block: .5rem 1.5rem; white-space: normal; }
.hh-worksheet :is(a, button, summary):focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.hh-worksheet-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .94rem; }
.hh-worksheet-table caption { padding-block: .75rem; text-align: left; font-weight: 700; }
.hh-worksheet-table :is(th, td) { padding: .9rem .65rem; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.hh-worksheet-table th { text-align: left; font-weight: 700; }
.hh-worksheet-table thead { background: var(--cream); }
.hh-worksheet-table tbody th { width: 34%; }
.hh-worksheet-lines { display: block; min-height: 3.5rem; border-bottom: 1px dotted var(--muted); }
.hh-worksheet .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hh-worksheet-example { margin-top: 1.5rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.hh-worksheet-example summary { cursor: pointer; font-weight: 700; }
.hh-worksheet-example dl { margin-bottom: 0; }
.hh-worksheet-example dl div { margin-top: .75rem; }
.hh-worksheet-example dt { font-weight: 700; }
.hh-worksheet-example dd { margin: .25rem 0 0; }
.hh-worksheet-questions { padding-left: 1.25rem; }
.hh-worksheet-questions li { margin-block: .75rem; }
.hh-worksheet-note { padding-left: 1rem; border-left: 3px solid var(--terracotta); }
.hh-worksheet-source { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
@media screen and (max-width: 600px) {
    .hh-worksheet-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .hh-worksheet-table tbody { display: block; }
    .hh-worksheet-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 1rem; }
    .hh-worksheet-table tbody th { grid-column: 1 / -1; width: auto; background: var(--cream); }
    .hh-worksheet-table td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; }
}
@media print {
    .hh-worksheet { margin: 0; padding: 0; color: #000; background: #fff; border: 0; font: 10pt/1.35 Arial, sans-serif; }
    .hh-worksheet h2 { font: 700 18pt/1.2 Georgia, serif; margin: 0 0 8pt; }
    .hh-worksheet h3 { font: 700 12pt/1.2 Arial, sans-serif; margin-top: 12pt; }
    .hh-worksheet :is(p, ul, caption) { margin-block: 6pt; }
    .hh-worksheet-print, .hh-worksheet-example { display: none !important; }
    .hh-worksheet-table { font-size: 9pt; }
    .hh-worksheet-table :is(th, td) { padding: 6pt; border-color: #666; }
    .hh-worksheet-table tr, .hh-worksheet-note { break-inside: avoid; }
    .hh-worksheet-lines { min-height: 24pt; border-color: #666; }
    .hh-worksheet-source { color: #000; font-size: 8pt; }
    body.hh-print-worksheet { margin: 12mm; background: #fff; }
    body.hh-print-worksheet > :not(main),
    body.hh-print-worksheet main > article > :not(.knowledge-body),
    body.hh-print-worksheet .knowledge-body > :not(.hh-worksheet) { display: none !important; }
    body.hh-print-worksheet :is(main, article, .knowledge-body) { width: auto; max-width: none; margin: 0; padding: 0; }
}
