/* Incumbent palette, shared semantic roles. No changes to footer columns or portraits. */
:root {
    --chi-text: #333;
    --chi-muted: #666;
    --chi-link: #337bae;
    --chi-surface: #fff;
    --chi-border: #ddd;
    --chi-focus: #245d85;
}
.breadcrumb { opacity: 1; }
.breadcrumb a { color: var(--chi-link); }
.cal-years-text, .chi-author-legend, .chi-search-message { color: var(--chi-muted); }
.post-card--vertical .author-category-rel { color: #444; }
.search-field.chi-search-input { caret-color: var(--chi-focus); }
.search-field.chi-search-input::placeholder { color: var(--chi-muted); }
.chi-search-results { background: var(--chi-surface); }
.search-field.chi-search-input:hover { border-color: var(--chi-border) !important; }
body :is(a,button,input,textarea,select,[tabindex]):focus-visible,
.search-field.chi-search-input:focus-visible {
    outline: 2px solid var(--chi-focus) !important;
    outline-offset: 3px;
}
button.humburger, button.search-icon, button.table-of-contents__hide, button.chi-search-close {
    appearance: none; background: transparent; border: 0; border-radius: 0;
    padding: 0; box-shadow: none; color: inherit; font: inherit; cursor: pointer;
}
button.search-icon { display: inline-block; font-size: 1.5em; }
button.table-of-contents__hide { text-align: left; }
button.chi-search-close { min-width: 30px; min-height: 30px; line-height: 1; }
.poem-hero-card .chi-reading-jump {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    margin: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 8px;
    background: #f5f5f5;
    color: #555;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color .2s ease, color .2s ease;
}
.poem-hero-card .chi-reading-jump svg { display: block; flex-shrink: 0; }
.poem-hero-card .chi-reading-jump:hover,
.poem-hero-card .chi-reading-jump:active { background: #111; color: #fff; text-decoration: none; }
.chi-catalog-action { margin-top: 16px; }
.chi-work-heading .tools-actions-ui { gap: 16px !important; flex-wrap: wrap; }
@media (max-width: 650px) {
    .chi-work-heading .hero-info { width: 100%; }
    .chi-work-heading .tools-actions-ui { justify-content: center; gap: 12px !important; }
}
#chi-catalog-works, #chi-reading-text, .chi-catalog-jump-heading { scroll-margin-top: 110px; }
.chi-reading-target { display: block; height: 0; }
.chi-author-legend { font-size: 16px; line-height: 1.5; margin: 0 0 22px; max-width: 75ch; }
.chi-search-message { padding: 15px; text-align: center; }
.chi-search-retry { margin-top: 8px; }
.contact-form__field label { display: block; font-size: 16px; color: var(--chi-text); margin-bottom: 5px; }
.site-footer { --chi-focus: #a7cce7; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .w-animate { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
    .search-screen, .search-screen-overlay, .chi-search-loader, .search-field.chi-search-input::placeholder { animation: none !important; transition: none !important; }
    .poem-hero-card .chi-reading-jump { transition: none; }
}
