:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #202b34; background: #fbfbf8; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 740px; padding: 32px 24px; margin: auto; }
.brand { font-weight: 700; color: #1f594a; margin: 0 0 24px; font-size: clamp(28px, 5vw, 40px); line-height: 1.2; text-align: center; }
.info-box { padding: 16px 18px; margin: 0 0 16px; border: 1px solid #d9e0dc; border-radius: 10px; background: white; }
.info-box h2 { margin: 0 0 8px; font-size: 17px; }
.info-box p { margin: 0; line-height: 1.6; }
.about-link { display: inline-block; min-height: 44px; padding: 10px 0; margin-bottom: 16px; color: #1f594a; text-underline-offset: 3px; }
.footer-about { font-size: 14px; color: #202b34; margin-bottom: 20px; scroll-margin-top: 24px; }
.footer-about h2 { margin: 0 0 8px; font-size: 17px; }
.footer-about p { margin: 0; }
h1 { font-size: clamp(24px, 4vw, 30px); line-height: 1.25; margin: 0 0 24px; font-weight: 650; }
h3 { margin: 8px 0 12px; font-size: 19px; line-height: 1.35; }
button, input, select { font: inherit; }
.catalogue-controls { margin-bottom: 28px; }
select { width: 100%; padding: 10px 12px; border: 1px solid #b7c4bd; border-radius: 8px; background: white; font-size: 16px; }
#catalogue-status:empty { display: none; }
.review-toggle { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; margin: 12px 0; min-height: 32px; }
.review-toggle input { width: 18px; height: 18px; flex-shrink: 0; padding: 0; }
button:disabled { cursor: default; opacity: .5; }
#selection-toolbar { padding: 10px 14px; background: #eef3ee; border-radius: 8px; }
#show-more { margin-top: 24px; }
.reference a { color: #1f594a; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #318269; outline-offset: 3px; }
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 22px 18px; min-height: 96px; border: 1px solid #d9e0dc; border-radius: 12px; background: white; color: inherit; line-height: 1.5; }
.menu button:hover { background: #eff5f0; border-color: #81a595; }
.menu span { color: #1f594a; }
.browse-topics { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; margin-top: 16px; padding: 14px 18px; border: 1px solid #81a595; border-radius: 10px; color: #1f594a; background: #eff5f0; text-align: left; }
.topics-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.topics-heading h2 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; padding: 9px 14px; border: 1px solid #b7c4bd; border-radius: 24px; background: white; color: #1f594a; font-size: 14px; text-align: left; overflow-wrap: anywhere; }
.topic-choice:hover { background: #eff5f0; }
.topic-choice[aria-pressed="true"] { background: #1f594a; color: white; border-color: #1f594a; }
.topic-count { font-size: 12px; opacity: .8; }
.back, .link { border: 0; background: none; padding: 8px 0; color: #1f594a; text-decoration: underline; text-underline-offset: 3px; }
.back { margin-bottom: 16px; }
.muted { font-size: 14px; color: #626d67; line-height: 1.5; }
#section-note:empty { display: none; }
#section-note { margin: -12px 0 20px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.filter-row { display: flex; gap: 12px; }
input { min-width: 0; width: 100%; border: 1px solid #b7c4bd; background: white; padding: 13px 14px; border-radius: 8px; font-size: 16px; }
.filter-row .copy { flex-shrink: 0; }
article { padding: 18px; margin: 14px 0; border: 1px solid #d9e0dc; border-radius: 12px; background: white; overflow-wrap: anywhere; }
.topic { font-size: 13px; color: #626d67; }
.content-kind { font-size: 12px; color: #626d67; line-height: 1.5; margin: 0 0 12px; }
.content { line-height: 1.65; margin: 0 0 12px; white-space: pre-wrap; }
.actions { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.link { font-size: 14px; min-height: 44px; text-align: left; }
.link[aria-pressed="true"] { font-weight: 700; }
.copy { padding: 8px 14px; border-radius: 6px; border: 1px solid #b7c4bd; color: #1f594a; background: white; min-height: 44px; font-size: 14px; }
.panel { background: #eef3ee; padding: 18px; border-radius: 8px; margin-top: 12px; }
.panel h4 { margin: 0 0 12px; font-size: 15px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; white-space: normal; }
.comparison-column { min-width: 0; padding: 14px; border: 1px solid #b7c4bd; border-radius: 8px; background: white; }
.comparison-column h5 { font-size: 16px; line-height: 1.4; margin: 0 0 12px; }
.comparison-body { margin: 0; white-space: pre-wrap; }
@media (max-width: 600px) { .comparison-grid { grid-template-columns: minmax(0, 1fr); } }
.reference { font-size: 12px; line-height: 1.6; color: #626d67; }
.empty { padding: 24px 0; line-height: 1.6; }
footer { color: #778078; font-size: 12px; line-height: 1.5; margin-top: 40px; }
#copy-status:not(:empty) { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); background: #202b34; color: white; padding: 12px 20px; border-radius: 8px; width: max-content; max-width: calc(100vw - 32px); font-size: 14px; z-index: 2; }
@media (max-width: 480px) { main { padding: 24px 18px; } .menu { grid-template-columns: 1fr; } .menu button { min-height: 76px; } .brand { margin-bottom: 28px; } }
