.song-list-page { max-width: 1440px; }
.song-list-page .filter-controls { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.song-list-page .search-box { box-sizing: border-box; width: 100%; }
.song-table-scroll { overflow-x: auto; border: 1px solid var(--brass, #8f6f43); border-radius: 8px; }
.song-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; }
.song-table caption { text-align: left; padding: 16px; font-weight: 600; }
.song-table th { background: rgba(143, 111, 67, 0.15); }
.song-table th, .song-table td { padding: 12px 14px; border-bottom: 1px solid rgba(143, 111, 67, 0.3); vertical-align: top; }
.song-table th button { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; padding: 6px 0; white-space: nowrap; text-align: left; }
.song-table td:first-child { min-width: 220px; }
.song-table td:not(:first-child) { min-width: 130px; }
.song-table a { color: inherit; text-underline-offset: 3px; }
.song-table tr:hover { background: rgba(143, 111, 67, 0.1); }
.song-table button:focus-visible, .song-table a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 700px) { .top-nav .nav-btn { flex: 1 1 auto; padding: 8px 10px; min-height: 40px; font-size: 0.85rem; } }
.song-table-scroll { background: #fff; border-color: #dfe6e2; border-radius: 14px; }
.song-table { font-size: 0.9rem; }
.song-table caption { padding: 20px; color: #52656e; font-size: 0.82rem; }
.song-table th { background: #edf3f0; color: #3a515a; }
.song-table th, .song-table td { border-color: #e7ece9; padding: 16px; }
.song-table th button { min-height: 44px; }
.song-table a { color: #175c51; font-weight: 600; text-decoration: none; }
.song-table a:hover { text-decoration: underline; }
.song-table tr:hover { background: #f4f8f6; }
#song-count { color: #52656e; font-size: 0.9rem; }
.song-list-page > p:not(#song-count) { color: #62767d; font-size: 0.85rem; }

/* Person links in the table look like plain cell text */
.song-table a.person-link { color: inherit; font: inherit; text-decoration: none; }
.song-table a.person-link:hover { text-decoration: underline; }
.song-table td, .song-table th { vertical-align: middle; }
.song-table td.song-rights-cell, .song-table th.song-rights-cell { text-align: center; }
.song-table.song-table-fixed { table-layout: fixed; min-width: 1050px; }
.song-table-fixed td, .song-table-fixed th { overflow-wrap: anywhere; padding-inline: 12px; }
.song-table-fixed td:first-child, .song-table-fixed td:not(:first-child) { min-width: 0; }
.song-table-fixed th button { white-space: normal; }
.song-table-fixed th.song-rights-cell { white-space: nowrap; }
/* The ΚΚ / ΙΚ column is only for the master and lieutenant accounts (public-domain.js adds .rights-visible) */
html:not(.rights-visible) .song-table th.song-rights-cell, html:not(.rights-visible) .song-table td.song-rights-cell { display: none !important; }
