.coffee-page { max-width: 1120px; margin: 0 auto; padding: 36px 20px 64px; }
.coffee-page h1 { font-size: clamp(2rem, 4.2vw, 3.5rem); max-width: 25ch; }
.coffee-page h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.coffee-page p, .coffee-page li, .coffee-page td, .coffee-page th { line-height: 1.6; }
.coffee-page p, .coffee-page li { max-width: 78ch; }
.coffee-page section { margin-top: 32px; scroll-margin-top: 145px; }
.coffee-page a { text-underline-offset: 3px; }
.coffee-page a:focus-visible, .coffee-page button:focus-visible, .coffee-page [tabindex]:focus-visible { outline: 3px solid #146b66; outline-offset: 4px; }
.coffee-page .coffee-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.coffee-tabs button { min-height: 44px; padding: 12px 18px; border: 1px solid #7b9c94; border-radius: 8px; color: #173f3b; background: #f7faf8; font: inherit; font-weight: 700; cursor: pointer; }
.coffee-tabs button[aria-pressed="true"] { color: white; background: #0d6159; border-color: #0d6159; }
.coffee-page .coffee-note { border-left: 4px solid #947134; padding: 16px 20px; background: #fbf6eb; border-radius: 0 8px 8px 0; }
.coffee-page .coffee-context { color: #4f635d; }
.coffee-page .denominator { padding: 20px; background: #e9f4f1; border: 1px solid #c3d7d1; border-radius: 12px; }
.coffee-page .denominator strong { display: block; font-size: clamp(1.7rem, 4vw, 2.5rem); overflow-wrap: anywhere; }
.coffee-page figure { margin: 24px 0; }
.coffee-page .chart-row { margin: 20px 0; }
.coffee-page .chart-label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 7px; }
.coffee-page .chart-label span { max-width: 70%; }
.coffee-page .bar-track { height: 18px; border-radius: 6px; background: #e3eeea; overflow: hidden; }
.coffee-page .bar-fill { height: 100%; background: #0d6159; }
.coffee-page .bar-other { background: #70867f; }
.coffee-page figcaption { color: #4f635d; line-height: 1.5; }
.coffee-page .table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #c3d7d1; border-radius: 8px; }
.coffee-page table { width: 100%; border-collapse: collapse; min-width: 530px; background: white; }
.coffee-page caption { text-align: left; padding: 16px; font-weight: 700; }
.coffee-page th, .coffee-page td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #d6e2dd; }
.coffee-page thead th { background: #edf5f2; }
.coffee-page tbody tr:last-child td, .coffee-page tbody tr:last-child th { border-bottom: 0; }
.coffee-page .source-table { min-width: 730px; }
.coffee-page .source-list li { margin-bottom: 12px; }
.coffee-page .coffee-return { display: inline-block; padding: 12px 16px; border: 1px solid #a9c4bb; border-radius: 8px; background: #edf5f2; }
.coffee-skip { position: absolute; left: 10px; top: -90px; padding: 12px; background: white; color: #173f3b; z-index: 30; }
.coffee-skip:focus { top: 10px; }
@media (max-width: 600px) { .coffee-page { padding: 24px 12px 40px; } .coffee-page .coffee-tabs button { flex: 1 1 145px; } .coffee-page .denominator { padding: 16px; } .coffee-page .chart-label { align-items: flex-start; } }
@media print { .site-header, .site-footer, .coffee-tabs, .coffee-skip { display: none !important; } .coffee-page { max-width: none; padding: 0; color: black; } .coffee-page .table-scroll { overflow: visible; } .coffee-page table { min-width: 0; } }
