.result-pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 14px 0 4px; }
.result-pagination button { border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; background: #fff; color: var(--ink); cursor: pointer; }
.result-pagination button:disabled { opacity: .4; cursor: default; }
.result-pagination span { color: var(--muted); font-size: 12px; }
.selected-search-label { display: flex; align-items: center; gap: 6px; margin-left: 8px; color: var(--muted); font-size: 11px; }
.selected-search-label input { width: 145px; border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; background: #fff; }
.selected-search-results { position: absolute; left: 28px; bottom: calc(100% + 7px); width: min(680px, calc(100vw - 56px)); max-height: 230px; overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 -8px 30px rgba(30,60,49,.14); }
.selected-search-results button { margin: 3px; border: 1px solid #cae0d7; border-radius: 18px; padding: 5px 9px; background: #f0f8f4; color: #315f50; cursor: pointer; }
.selected-search-results button span { margin-left: 5px; color: #8b4b4b !important; }
.list-settings fieldset small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
#listNoteFields, #listHeaderFields { margin: 18px 0; }
#listNoteFields label, #listHeaderFields label { display: inline-block; margin: 4px 10px 4px 0; font-size: 11px; }
.print-header-content.is-empty { display: none; }
.sound-section-row th { padding: 7px 9px; background: #dfeee7; color: #255d49; text-align: left; font-size: 11px; letter-spacing: .04em; }
.sound-counts { display: block; margin-top: 4px; color: #60736c; font-size: 7px; line-height: 1.35; font-weight: 600; }
.target-sound { padding: 0 1px; border-bottom: 1.5px solid currentColor; background: #ffec9e; color: #342c10; font-weight: 900; }
.note-col { width: 48px; text-align: center !important; }
.memo-col { width: 74px; }
.note-blank { color: #9ba7a3; text-align: center; }
.density-relaxed .position-list-table td { height: 72px; font-size: 10.5px; }
.density-compact .position-list-table td { height: 45px; padding: 4px 5px; font-size: 8.5px; }
.density-compact .mora-group { margin-bottom: 1px; }
.density-relaxed .selected-list-table td { height: 43px; }
.density-compact .selected-list-table th, .density-compact .selected-list-table td { padding: 5px 7px; }
.density-compact .selected-list-table td { height: 28px; }
@media(max-width:900px){.selected-search-label{margin-left:0}.selected-search-results{left:14px;width:calc(100vw - 28px)}#selectionBar .selection-summary{flex-wrap:wrap}}
@media print {
  .target-sound { background: transparent; color: #000; border-bottom: 1.2pt solid #000; }
  .sound-section-row th { background: #e9e9e9 !important; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .density-relaxed .position-list-table td { height: 17mm; font-size: 8.5pt; }
  .density-compact .position-list-table td { height: 10mm; font-size: 6.8pt; padding: 1mm 1.2mm; }
  .density-relaxed .selected-list-table td { height: 10mm; }
  .density-compact .selected-list-table td { height: 6.6mm; padding: 1.2mm 1.5mm; }
}
