.cot-screener { display: grid; gap: 1rem; padding-block: 2rem 3rem; }
.screener-intro h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.screener-intro p, .screener-note, .screener-summary { color: var(--muted); }
.screener-panel { min-width: 0; padding: clamp(.8rem, 2vw, 1.3rem); }
.screener-panel h2 { margin: 0 0 .8rem; font-size: 1.18rem; }
#screener-filters { display: grid; justify-items: start; gap: .7rem; }
.screener-main-fields, .screener-option-fields {
    display: grid;
    align-items: end;
    gap: .6rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    width: 100%;
}
#screener-filters label { display: grid; gap: .23rem; font-size: .85rem; font-weight: 600; min-width: 0; }
#screener-filters .ui-field { font-size: 1rem; font-weight: 400; }
.screener-option-fields .cot-period-fields { grid-column: span 2; }
.screener-options { width: 100%; min-width: 0; border-block: 1px solid var(--border); }
.screener-options summary, .screener-card-details summary {
    min-height: 44px;
    padding-block: .66rem;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 650;
}
.screener-note { margin: .55rem 0 .65rem; font-size: .84rem; }
.screener-summary { display: grid; gap: .25rem; margin-bottom: .8rem; }
.screener-summary p { margin: 0; }
.screener-summary strong { color: var(--ink); }
.screener-table-scroll { overflow-x: auto; }
.screener-table-scroll table { min-width: 48rem; }
.screener-table-scroll tbody th { width: 15rem; text-align: left; }
.screener-table-scroll td:nth-child(3), .screener-table-scroll th:nth-child(3) { text-align: left; }
.screener-table-scroll td, .screener-table-scroll th { vertical-align: top; }
.screener-table-scroll time { white-space: nowrap; }
.screener-code { display: block; font-size: .76rem; color: var(--muted); }
.screener-index { min-width: 6rem; }
.screener-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.screener-mobile-results { display: none; }

@media (min-width: 661px) and (max-width: 860px) {
    #screener-filters .screener-search { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
    .cot-screener { padding-block: 1.2rem 2rem; }
    .screener-main-fields, .screener-option-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .42rem .55rem; }
    #screener-filters .screener-search, #screener-filters label:has(#screener-group),
    #screener-filters .cot-period-fields { grid-column: 1 / -1; }
    #screener-filters .ui-field { min-height: 44px; }
    .screener-table-scroll { display: none; }
    .screener-mobile-results { display: block; }
    .screener-mobile-sort { min-height: 44px; margin: 0 0 .55rem; }
    .screener-cards { display: grid; gap: .5rem; list-style: none; margin: 0; padding: 0; }
    .screener-card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-control); padding: .58rem .65rem 0; }
    .screener-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: start; }
    .screener-card-chart { display: inline-block; min-height: 44px; padding-block: .15rem; font-weight: 650; overflow-wrap: anywhere; }
    .screener-card .screener-index { min-width: 0; max-width: 6rem; text-align: right; font-variant-numeric: tabular-nums; }
    .screener-card .screener-index strong { display: inline-block; padding: .15rem .36rem; border-radius: 4px; background: var(--surface-muted); }
    .screener-card-details { border-top: 1px solid var(--border); margin-top: .45rem; }
    .screener-card-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin: 0 0 .6rem; }
    .screener-card-details dt { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
    .screener-card-details dd { margin: 0; font-size: .88rem; overflow-wrap: anywhere; }
}
