/* Page-specific behaviour and layout. Shared components: /explorer/ui.css. */
.topic-row{display:flex;justify-content:space-between;align-items:center;gap:20px}
.topic-row h2{font-size:28px;margin-bottom:0}
.topic-row .eyebrow{font-size:10px}
.view-controls{border-top:1px solid var(--line);padding-top:22px;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.scope-row{display:flex;gap:12px;align-items:end}
.scope-row label{font-size:11px}
.scope-row select{max-width:240px}
.scope-row button{font-size:12px}
#compare-count{background:var(--soft);padding:3px 6px;border-radius:4px;margin-left:5px}
.time-row{display:flex;gap:22px;align-items:end;margin:20px 0 12px}
.time-row>label:first-child{width:200px}
.slider-label{flex:1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px}
.slider-label input{grid-column:1/-1}
output{color:var(--teal)}
.notice{font-size:12px;color:var(--muted);margin:15px 0}
.notice.error{color:#9b4235;background:#fbece4;padding:14px;border-radius:6px}
.artwork{background:var(--paper);border:1px solid var(--line);border-radius:7px;overflow:hidden;touch-action:auto}
.artwork svg{display:block;width:100%;height:auto}
.artwork [data-country]{cursor:pointer}
.artwork [data-country]:hover{filter:brightness(.91)}
.loading{padding:130px 20px;text-align:center;color:var(--muted)}
.below-art{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:var(--muted);margin:9px 0 20px}
.country-detail{padding:18px;background:var(--soft);border-radius:7px;margin-bottom:20px}
.country-detail h3{margin-top:0}
.country-detail p{margin:7px 0;font-size:14px}
.country-detail .button-row{margin-top:12px}
.data-table{border-block:1px solid var(--line)}
.table-scroll{max-height:440px;overflow:auto;margin-bottom:16px}
table{border-collapse:collapse;width:100%;font-size:13px}
th{position:sticky;top:0;background:var(--surface);font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}
td,th{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line)}
td:nth-child(3),th:nth-child(3){text-align:right}
td:last-child{white-space:nowrap}
.data-table>button{margin-bottom:20px}
.caption-row,.save-row{display:flex;gap:12px;align-items:end;margin:20px 0}
.caption-row label:first-child{width:130px}
.caption-row label:nth-child(2),.save-row label{flex:1}
.saved-row,.caption-item{display:flex;gap:7px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding:13px 0;font-size:13px}
.saved-row span{margin-right:auto}
.saved-row button,.caption-item button{font-size:12px;padding:8px 10px}
.catalogue-controls{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:18px}
.indicator-option{display:block;width:100%;text-align:left;padding:16px;margin-bottom:8px;font-size:14px;line-height:1.4;font-weight:600}
.indicator-option small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px}
.indicator-option .tag{color:var(--teal);font-weight:bold}
.chips{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}
.chips button{border-radius:20px;font-size:12px;min-height:35px;padding:7px 12px;background:var(--soft);color:var(--teal)}
.country-list{max-height:350px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:18px}
.country-list label{flex-direction:row;align-items:center;padding:10px;font-size:13px;min-height:44px;border-radius:5px}
.country-list label:hover{background:var(--soft)}
#source-detail p{font-size:14px}
#source-detail dl{display:grid;grid-template-columns:135px 1fr;gap:12px;font-size:13px}
#source-detail dd{margin:0;overflow-wrap:anywhere}
.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:90%;background:var(--ink);color:white;border-radius:8px;padding:14px 22px;font-size:14px;box-shadow:0 8px 30px #0002;z-index:100}
[hidden]{display:none!important}
body.exporting .explorer button{pointer-events:none}
body.exporting dialog button{pointer-events:auto}
@media(max-width:800px){.topic-row{align-items:start}
.topic-row h2{font-size:24px}
.topic-row .primary{font-size:12px;padding:10px 12px}
.scope-row{width:100%}
.scope-row label{flex:1}
.scope-row select{max-width:100%}
.time-row{gap:12px}
.time-row>label:first-child{width:160px}
.artwork{margin-inline:-8px}
.below-art{align-items:start}
.below-art span{padding-top:9px}
.below-art button{white-space:nowrap}}
@media(max-width:480px){.topic-row h2{font-size:23px}
.time-row{flex-wrap:wrap}
.time-row>label:first-child{width:calc(100% - 96px);order:0}
.time-row>#play{order:1;width:84px}
.time-row>.slider-label{order:2;flex-basis:100%}
.caption-row{flex-wrap:wrap}
.caption-row label:first-child{width:100px}
.caption-row label:nth-child(2){min-width:155px}
.save-row{flex-wrap:wrap}
.catalogue-controls{grid-template-columns:1fr}
.country-list{grid-template-columns:1fr}
.below-art{font-size:11px}
.below-art button{font-size:11px}
#source-detail dl{grid-template-columns:1fr;gap:5px}
#source-detail dd{margin-bottom:10px}
td,th{padding:10px 5px;font-size:11px}}
@media print{body>*{display:none!important}body>#print-art{display:block!important}#print-art svg{width:100%;height:auto}body{background:white}@page{margin:8mm}}
.playback{padding:16px 0;border-top:1px solid var(--line,#d8d0c2);border-bottom:1px solid var(--line,#d8d0c2);margin-bottom:16px}
.playback-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.playback-buttons button{min-height:44px;padding:9px 16px}
.playback-buttons #play{min-width:110px}
.playback-settings{display:flex;align-items:end;flex-wrap:wrap;gap:12px}
.playback-settings>label{flex:1 1 120px;min-width:0}
.playback-settings>label:nth-child(3){flex-basis:195px}
.playback-settings .check{flex:1 1 240px;align-self:center;min-height:44px}
.playback-settings select{width:100%}
#playback-summary{margin:10px 0 0;font-size:13px}
.time-row:has(+.playback) .slider-label{order:0;flex:1}
.time-row:has(+.playback)>label:first-child{order:0;width:200px}
@media(max-width:480px){.playback-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.playback-buttons #play{width:auto;order:0}
.playback-settings>label:nth-child(3){flex-basis:100%}
.time-row:has(+.playback)>label:first-child{width:100%}
.time-row:has(+.playback) .slider-label{flex-basis:100%}}
