@import url("/round6-lists.css?v=20261114-4");
/* Round 6: scoped layout and accessible type; data and destinations unchanged. */
body[data-design] :is(.shared-site-footer,.page-footer-context){width:calc(100% - 32px)!important;max-width:none!important;margin:16px auto!important;box-sizing:border-box}
body[data-design] .page-footer-context{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}
body[data-design] .page-footer-context :is(p,div){margin:0}
body[data-map-page="japan"] .dashboard-record .feed-description{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;max-height:none!important;white-space:normal;overflow-wrap:anywhere}
body[data-map-page="japan"] .dashboard-record .feed-description::after{display:none!important}
body[data-map-page="japan"] :is(.dashboard-filter-note,.redesign-filter-description,.redesign-map-hint,#map-period-scope,.dashboard-side-note,small){font-size:14px!important;line-height:1.4}
body[data-map-page="japan"] .dashboard-cluster>span{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:0;min-width:48px;min-height:48px;font-size:16px!important;line-height:1.15;border-style:solid!important;background:#0b1a2a;color:#fff}
body[data-map-page="japan"] .dashboard-cluster small{font-size:14px!important;line-height:1.1}
body[data-map-page="japan"] .leaflet-control-attribution,body[data-map-page="japan"] .leaflet-control-attribution a{font-size:16px!important;line-height:1.4!important;background:#0b1a2a!important;color:#eef5f7!important;white-space:normal;max-width:100%;box-sizing:border-box}
body[data-dashboard-embed] :is(.page-footer-context,.shared-site-footer,.page-context-links){display:none!important}
body[data-workspace="home"] .home-evidence{width:fit-content!important;max-width:calc(100% - 28px)!important;min-height:0!important;padding:18px!important;margin:20px auto!important}
body[data-workspace="home"] .home-evidence>div{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;max-width:1100px}
body[data-workspace="home"] .home-evidence :is(p,h2){margin:0!important}
body[data-map-page="japan"] .report-drawer,body[data-map-page="japan"] .post-entry-description{max-width:1180px!important;width:calc(100% - 24px)!important;margin-inline:auto!important}
@media(min-width:1001px){
 body[data-design][data-map-page="japan"] .explorer-grid{grid-template-columns:minmax(260px,300px) minmax(0,1fr) minmax(280px,380px)!important;align-items:start!important}
 body[data-design][data-map-page="japan"] .map-stage,body[data-design][data-map-page="japan"][data-dashboard-embed]:not([data-home-map-embed]) .map-stage,body[data-design][data-map-page="japan"][data-home-map-embed] .map-stage{height:clamp(340px,calc(100vh - 300px),720px)!important;min-height:340px!important;max-height:720px!important}
 body[data-design][data-map-page="japan"][data-dashboard-embed] .map-stage{height:580px!important;min-height:580px!important;max-height:580px!important}
 body[data-map-page="japan"] .redesign-categories{gap:0!important;padding:6px!important;margin-bottom:6px!important}
 body[data-map-page="japan"] .redesign-categories label{min-height:30px!important;padding:2px!important;margin:0!important;line-height:1.25!important}
 body[data-map-page="japan"] .redesign-select{gap:2px!important;margin:4px 0!important}
 body[data-map-page="japan"] .redesign-select select{min-height:36px!important;padding:5px 8px!important;font-size:14px!important}
 body[data-map-page="japan"] .explorer-picker{padding:10px!important}
 body[data-map-page="japan"] .explorer-picker :is(p,fieldset){margin-block:6px!important}
 body[data-map-page="japan"] #skip-region-picker{display:none!important}
}
@media(max-width:1000px){body[data-map-page="japan"] .leaflet-control-attribution{max-width:calc(100vw - 30px)!important}}
/* Follow-up: ID-scoped rules supersede legacy !important dashboard overrides. */
html body #panel-regions .map-stage{height:clamp(360px,calc(100dvh - 300px),680px)!important;min-height:360px!important;max-height:680px!important}
html body #panel-regions #live-map{height:100%!important;min-height:0!important}
html body #panel-regions .map-canvas .map-toolbar{display:flex!important;flex-wrap:wrap;gap:8px}
html body #panel-regions .leaflet-control-zoom{display:flex!important;flex-direction:row!important;gap:4px!important;border:0!important;box-shadow:none!important}
html body #panel-regions .leaflet-control-zoom a{border:1px solid #3c4453!important;border-radius:6px!important;width:44px!important;height:44px!important;line-height:42px!important}
html body #live-map .leaflet-control-attribution,html body #live-map .leaflet-control-attribution a{font-size:18px!important;line-height:1.4!important;color:#fff!important;background:#0b1a2a!important;white-space:nowrap!important;word-break:normal!important;max-width:none!important;overflow:visible!important}
html body #live-map .leaflet-bottom.leaflet-right{width:auto!important;max-width:100%!important;right:8px!important;bottom:6px!important}
html body #live-map .dashboard-cluster>span{width:68px!important;height:52px!important;min-width:68px!important;min-height:52px!important;border:2px solid #8cb8ff!important;border-radius:10px!important;font-size:18px!important;line-height:1.1!important;background:#0b1a2a!important;padding:4px!important;box-sizing:border-box!important}
html body #live-map .dashboard-cluster>span small{font-size:15px!important;line-height:1.1!important;color:#fff!important}
html body #panel-regions .explorer-picker :is(.map-filter-scope,.dashboard-filter-note,#dashboard-source-note,.redesign-scope-note){font-size:15px!important;line-height:1.35!important}
html body #panel-regions .explorer-picker .redesign-categories{display:grid!important;gap:0!important;padding:4px 8px!important;margin:4px 0!important}
html body #panel-regions .explorer-picker .redesign-categories label{min-height:28px!important;height:auto!important;padding:2px!important;margin:0!important;gap:6px!important;line-height:1.2!important;font-size:14px!important}
html body #panel-regions .explorer-picker .redesign-select{display:grid!important;grid-template-columns:95px minmax(0,1fr)!important;align-items:center!important;gap:4px!important;padding:0!important;margin:5px 0!important;min-height:0!important}
html body #panel-regions .explorer-picker .redesign-select select{min-height:34px!important;padding:4px!important;font-size:14px!important}
html body #panel-regions .explorer-picker .redesign-select small{grid-column:1/-1!important}
html body #panel-regions .dashboard-record .feed-description{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important;font-size:15px!important}
html body #panel-regions .dashboard-record .report-translation:has(.translation-status:empty):has(.translation-toggle[hidden]){display:none!important}
html body :is(.shared-site-footer,.page-footer-context){width:calc(100% - 32px)!important;max-width:none!important;margin-inline:auto!important;box-sizing:border-box!important}
@media(max-width:700px){html body #panel-regions .map-stage{height:420px!important;min-height:320px!important;max-height:60dvh!important}html body #live-map .leaflet-control-attribution,html body #live-map .leaflet-control-attribution a{font-size:14px!important}html body #panel-regions .explorer-picker .redesign-select{grid-template-columns:1fr!important}}
html body #panel-regions .explorer-picker{padding:10px!important;position:static!important;max-height:none!important;overflow:visible!important}
html body #panel-regions .explorer-picker>h3{margin:8px 0 4px!important}
html body #panel-regions .explorer-picker>p{margin:4px 0!important}
html body #panel-regions .explorer-picker .redesign-apply{min-height:38px!important;margin-top:5px!important;padding:5px 8px!important}
html body #panel-regions .dashboard-category-legend{font-size:15px!important;line-height:1.4!important}
/* v305: measure available height below the real header/tab stack. */
html body #panel-regions .map-stage{height:var(--visible-map-height,480px)!important;min-height:280px!important;max-height:680px!important;max-width:850px!important;width:100%!important;margin-inline:auto!important}
@media(min-width:1001px){
html body #panel-regions .explorer-picker .redesign-categories{grid-template-columns:1fr 1fr!important;gap:2px 5px!important}
html body #panel-regions .explorer-picker .redesign-categories label{font-size:14px!important;min-width:0!important}
html body #panel-regions .explorer-picker .map-filter-scope{margin:2px 0!important;line-height:1.2!important}
html body #panel-regions .explorer-picker .redesign-select{margin:3px 0!important}
html body #panel-regions .explorer-picker #dashboard-source-note{line-height:1.2!important}
html body #panel-regions .explorer-picker .dashboard-pin-toggle{padding:3px!important;margin:3px 0!important;min-height:30px!important}
html body #panel-regions .explorer-picker .unified-search-shortcut{min-height:30px!important;padding:4px 6px!important;line-height:1.2!important}
html body #panel-regions .explorer-picker .region-sync-note{margin:3px 0!important;line-height:1.2!important}
}
/* v306: full-extent first view; canvas itself follows the bounded map viewport. */
@media(min-width:1001px){html body #panel-regions .explorer-grid>.map-canvas{width:100%!important;max-width:850px!important;justify-self:center!important;min-height:0!important}html body #panel-regions .map-stage{min-height:200px!important}}
/* v308: devote the first-screen card to actual map pixels, not expanded notes. */
html body #panel-regions .map-details{margin:4px 0!important;padding:0!important;border:0!important;min-height:0!important;font-size:14px!important}
html body #panel-regions .map-details>summary{min-height:28px!important;padding:4px 10px!important;font-size:14px!important;line-height:20px!important;cursor:pointer}
html body #panel-regions .map-details:not([open])>:not(summary){display:none!important}
@media(min-width:1001px){
 html body #panel-regions .map-canvas{padding:8px!important}
 html body #panel-regions .map-canvas .map-toolbar{margin:0 0 4px!important;padding:0!important;gap:4px!important;align-items:center!important}
 html body #panel-regions .map-canvas .map-toolbar button{min-height:32px!important;padding:4px 8px!important;font-size:14px!important}
 html body #panel-regions .dashboard-category-legend{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px 12px!important;padding:5px!important;margin:0!important}
 html body #panel-regions .dashboard-category-legend>span{display:inline-flex!important;align-items:center!important;gap:4px!important;font-size:14px!important;line-height:20px!important}
}
html body #panel-regions .japan-map-views{display:block;min-width:0}
html body[data-map-page="japan"] .map-stage{position:relative}

/* Give the main-island viewport back the unnecessary header/toolbar rows. */
@media(min-width:1600px){
 html body[data-map-page="japan"] .explorer-heading{padding:0!important;margin:0!important}
 html body[data-map-page="japan"] .japan-navigation{margin:2px 0 4px!important}
 html body #panel-regions>.section-heading{margin:0 0 4px!important;padding:0!important;min-height:32px!important}
 html body #panel-regions .map-canvas .map-toolbar{height:auto!important;min-height:32px!important;max-height:none!important}
 html body #panel-regions .map-stage{max-height:800px!important}
 html body #panel-regions .dashboard-category-legend{padding:2px!important}
}

/* Category symbols remain visible when nearby representative locations are grouped. */
html body #live-map .dashboard-cluster .dashboard-cluster-categories{display:flex;align-items:center;justify-content:center;gap:1px;line-height:1}
html body #live-map .dashboard-cluster .dashboard-cluster-categories i{display:grid;place-items:center;width:14px;height:14px;border:1px solid #fff;border-radius:50%;font-size:14px;font-style:normal;font-weight:700;color:#102238}

/* Keep the explanation visible while the list alone scrolls. */
html body #live-map .leaflet-popup-content-wrapper,html body #live-map .leaflet-popup-tip{background:#0b1a2a;color:#eef5f7}
html body #live-map .leaflet-popup-content{margin:16px;min-width:220px;max-width:min(300px,70vw)}
html body #live-map .dashboard-cluster-chooser{max-height:none;overflow:visible}
html body #live-map .dashboard-cluster-chooser p{margin:0 28px 10px 0;line-height:1.5}
html body #live-map .dashboard-cluster-chooser button{background:#0b1a2a;color:#eef5f7;border-color:#617987}
html body #live-map .leaflet-popup-close-button{width:44px;height:44px;line-height:44px;font-size:26px;color:#fff}
html body #live-map .dashboard-cluster-list{max-height:min(220px,35vh);overflow:auto}

body[data-workspace="home"] .lookup-panel{background:#0b1a2a!important;color:#eef5f7!important}
body[data-workspace="home"] .lookup-panel .lookup-hint{color:#d9e8f5!important;font-size:15px!important}
body[data-map-page="japan"] .prefecture-row>span:first-child{min-width:0}
body[data-map-page="japan"] .prefecture-row .row-value{white-space:nowrap}
body[data-map-page="japan"] .filter-apply-hint{font-size:14px;line-height:1.4;color:#d9e8f5;margin:4px 0}
html body[data-map-page="japan"] .dashboard-category-legend{display:flex!important;flex-wrap:wrap!important;gap:8px 16px!important;padding:8px!important;height:auto!important;min-height:44px!important;font-size:15px!important;line-height:1.5!important}
html body #live-map .dashboard-marker i{font-size:18px!important}
html body #live-map .dashboard-cluster .dashboard-cluster-categories i{width:18px!important;height:18px!important;font-size:16px!important}
html body #live-map .dashboard-cluster small{font-size:15px!important;line-height:1.4!important}
html body #live-map .leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:44px!important}
html body[data-map-page="japan"] .redesign-filter-box{align-content:start!important;gap:8px!important}
html body[data-map-page="japan"] .redesign-filter-box label{font-size:14px!important;line-height:1.5!important}
html body[data-map-page="japan"] .prefecture-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
html body[data-map-page="japan"] .prefecture-row .row-value{flex-shrink:0!important;white-space:nowrap!important}
html body .explorer-heading>p,html body .world-page-header>p{font-size:16px!important;line-height:1.5!important}
html body .site-footer{padding-top:12px!important;padding-bottom:12px!important;gap:8px!important}
html body .site-footer a,html body .site-footer p,html body .site-footer summary{font-size:14px!important;line-height:1.5!important;color:#d9e8f5!important}

@media(min-width:1001px){html body #panel-regions .map-stage{max-width:none!important}}
/* Instruction is ordinary flow text, never on top of map controls or attribution. */
html body[data-map-page="japan"] #panel-regions .redesign-map-hint{position:static!important;inset:auto!important;max-width:none!important;width:auto!important;margin:0 0 4px!important;padding:4px 6px!important;box-sizing:border-box!important;font-size:14px!important;line-height:1.4!important;white-space:normal!important;background:#0B1A2A!important;color:#eef5f7!important}
