/* finesse · targeted newcomer usability · existing HEYTEA monochrome identity */
.help-link { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin-top: 12px; padding: 8px 13px; border: 1px solid var(--line); font-size: 12px; }
.help-link:hover, .help-link[aria-current] { background: var(--hover-surface); }
.sidebar-caption { margin-bottom: 20px; }
.sidebar-search { margin-top: 20px; }
.sidebar .search-box input { font-size: 14px; min-width: 0; }
.guide-view { max-width: 1120px; margin: 0 auto; }
.guide-header { padding: 20px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.guide-header h1 { font-family: var(--hand); font-size: clamp(42px, 4.5vw, 64px); line-height: 1.15; font-weight: 400; margin: 10px 0 18px; overflow-wrap: anywhere; }
.guide-header > p:not(.collection-eyebrow) { font-size: 15px; line-height: 1.9; max-width: 650px; color: var(--muted); }
.guide-jumps, .guide-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.guide-jumps a, .guide-end a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.guide-jumps a { border-bottom: 1px solid var(--ink); }
.guide-section { margin: 30px 0; scroll-margin-top: 160px; }
.guide-section h2, .urgent-note h2 { font-family: var(--hand); font-weight: 400; font-size: 31px; line-height: 1.3; margin: 0 0 16px; }
.guide-stages { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.stage-note { min-width: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.stage-note h3 { font-size: 16px; font-weight: 600; line-height: 1.6; }
.stage-note p, .guide-answer > p, .urgent-note p, .guide-note { font-size: 14px; line-height: 1.95; }
.guide-sources { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 10px; }
.guide-sources a { color: var(--muted); font-size: 11px; line-height: 1.6; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.section-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
#checklist-progress { font-size: 13px; font-variant-numeric: tabular-nums; }
.guide-muted { font-size: 12px; line-height: 1.8; color: var(--muted); }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 26px; margin-top: 18px; }
.checklist-item { border-top: 1px solid var(--line); padding: 15px 0 6px; min-width: 0; }
.check-label { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; min-height: 44px; }
.check-label input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; accent-color: var(--ink); }
.check-label strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.6; }
.check-label span span { display: block; font-size: 13px; line-height: 1.85; color: var(--muted); margin-top: 5px; }
.check-label:has(input:checked) strong { text-decoration: line-through; color: var(--muted); }
.check-sources { margin-left: 33px; }
.check-sources summary { font-size: 11px; color: var(--muted); cursor: pointer; min-height: 44px; align-content: center; }
.primary-link { background: var(--ink); color: var(--on-accent); padding: 12px 18px; border: 1px solid var(--ink); border-radius: 2px; display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; }
.guide-end { border-top: 1px solid var(--line); padding: 24px 0; }
.urgent-items { display: grid; gap: 20px; }
.urgent-note { padding: 22px 24px; background: var(--photo-white); border: 1px solid var(--line); }
.urgent-note h2 { font-size: 28px; }
.guide-note { margin: 26px 0 12px; max-width: 800px; }
.storage-status { position: fixed; bottom: 12px; left: calc(var(--sidebar-width) + 16px); right: 16px; z-index: 40; margin: 0; padding: 12px 16px; border: 1px solid var(--ink); background: var(--paper); font-size: 13px; line-height: 1.8; }
.newcomer-banner { display: flex; align-items: center; gap: 10px 20px; padding: 12px 16px; margin: 0 0 24px; border: 1px solid var(--line); background: var(--photo-white); font-size: 12px; min-height: 50px; }
.newcomer-banner span:first-child { font-family: var(--hand); font-size: 24px; }
.newcomer-banner span:last-child { margin-left: auto; }
.catalog-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 14px; }
.catalog-disclosure > summary { display: none; }
select:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.catalog-controls label { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.catalog-controls select, .catalog-controls button, .detail-actions button, #read-detail { min-height: 44px; border: 1px solid var(--line); padding: 8px 12px; background: var(--photo-white); color: var(--ink); font-size: 12px; border-radius: 2px; }
.catalog-controls p { width: 100%; font-size: 11px; color: var(--muted); margin: 0; line-height: 1.7; }
.catalog-controls button[aria-pressed=true], .detail-actions button[aria-pressed=true] { background: var(--ink); color: var(--on-accent); }
.catalog-controls .plain-button { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.query-shortcuts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 20px; font-size: 12px; color: var(--muted); }
.query-shortcuts button { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; min-height: 44px; padding: 6px 12px; font-size: 12px; }
.cross-search { border: 1px solid var(--line); padding: 12px 16px; margin: 18px 0; font-size: 13px; line-height: 1.8; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.cross-search button { min-height: 44px; background: var(--ink); color: var(--on-accent); border: 0; border-radius: 2px; padding: 9px 14px; white-space: nowrap; }
.answer-list { border-top: 1px solid var(--line); }
.guide-answer { border-bottom: 1px solid var(--line); padding: 0 0 10px; }
.guide-answer summary { cursor: pointer; font-size: 15px; line-height: 1.7; min-height: 54px; align-content: center; padding: 12px 4px; }
.guide-answer > p { padding-inline: 4px; margin: 6px 0; max-width: 850px; }
.guide-answer > .guide-sources, .guide-related { padding-inline: 4px; }
.guide-related a, .urgent-result { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.faq-heading { margin-top: 30px !important; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#detail-action-status:empty { display: none; }
#copy-fallback { font-size: 12px; }
#copy-fallback input { width: 100%; padding: 10px; min-height: 44px; border: 1px solid var(--line); background: var(--paper); margin-block: 8px; }
.detail-mobile-intro { display: none; }
.collection-subtitle { line-height: 1.7; }
.saved-tag { position: absolute; bottom: 6px; right: 6px; font-size: 10px; padding: 4px 6px; background: var(--photo-white); color: var(--ink); border: 1px solid var(--line); }
@media(max-width:880px) {
 .storage-status { left: 16px; }
 .help-link { margin-top: 8px; }
 .sidebar[data-menu-open=false] .help-link { display: none; }
 .sidebar .search-box input { font-size: 16px; }
 .search-context { display: block; font-size: 10px; margin-bottom: 5px; }
 .guide-stages { gap: 18px; }
}
@media(max-width:760px) {
 .detail-mobile-intro { display: block; padding: 42px 24px 4px; }
 .detail-mobile-intro strong { font-family: var(--hand); font-weight: 400; font-size: 35px; line-height: 1.3; display: block; overflow-wrap: anywhere; }
 .detail-mobile-intro p { font-size: 14px; line-height: 1.85; margin: 12px 0; }
 .detail-grid { padding-top: 22px; }
 .photo-handnote { display: none; }
 .detail-copy { margin-top: 20px; }
 #detail-article { scroll-margin-top: 60px; }
 .guide-stages { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .guide-header { padding-top: 0; }
 .stage-note h3 { margin: 4px 0; }
 .stage-note p { margin: 8px 0 0; }
}
@media(max-width:600px) {
 .catalog-disclosure { margin-bottom: 20px; border-bottom: 1px solid var(--line); }
 .catalog-disclosure > summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 13px; cursor: pointer; padding: 0 4px 10px; }
 .catalog-disclosure[open] > summary { margin-bottom: 10px; }
 .catalog-disclosure[open] > summary span { transform: rotate(45deg); }
 .query-shortcuts[data-scope=breeds] { display: none; }
 .guide-header h1 { font-size: 43px; }
 .guide-header > p:not(.collection-eyebrow) { font-size: 14px; }
 .checklist { grid-template-columns: minmax(0,1fr); }
 .newcomer-banner { flex-wrap: wrap; gap: 4px 12px; padding: 9px 12px; margin-bottom: 20px; }
 .newcomer-banner span:first-child { font-size: 23px; }
 .newcomer-banner span:nth-child(2) { font-size: 11px; }
 .catalog-controls { gap: 8px 10px; }
 .catalog-controls label { gap: 6px; }
 .catalog-controls select { max-width: 150px; }
 .catalog-controls select, .catalog-controls button { font-size: 11px; padding-inline: 8px; }
 .catalog-controls p { font-size: 11px; }
 .collection-subtitle { display: block; font-size: 11px; }
 .urgent-note { padding: 18px; }
 .urgent-note h2 { font-size: 26px; }
 .guide-sources a { font-size: 12px; }
 .guide-end { align-items: stretch; flex-direction: column; }
}

/* User preference: standard, readable type for page and section headings. */
h1, h2, h3,
.guide-header h1,
.guide-section h2,
.urgent-note h2,
.detail-heading h2,
.detail-section h3,
.collection-empty h2,
.empty-state h2,
.cover-links strong,
.newcomer-banner span:first-child,
.detail-mobile-intro strong {
 font-family: var(--sans);
 font-weight: 600;
 letter-spacing: 0;
}

/* Card names use the same standard text family as the rest of the catalog. */
.card-title,
.stage[data-layout="row"] .card-title,
.collection-card-title {
 font-family: var(--sans);
 line-height: 1.4;
}
