/* Content-driven feed rows: fixed fractional tracks plus visible overflow made
   the support card overlap long reports. Both cards now participate in flow. */
html body #panel-regions .explorer-grid>.dashboard-side{display:flex!important;flex-direction:column!important;gap:12px!important;height:auto!important;max-height:none!important;overflow:visible!important;align-self:start!important;min-width:0}
html body #panel-regions .dashboard-side>section{position:static!important;height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;overflow:visible!important;box-sizing:border-box;width:100%}
html body #dashboard-records{min-width:0;overflow:visible!important}
html body #dashboard-records .dashboard-record{height:auto!important;min-height:0!important;max-height:none!important}
html body #dashboard-records .feed-description{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important;white-space:normal!important}
/* Do not paint an empty translation status as a gray horizontal card. */
html body #dashboard-records .report-translation:has(.translation-status:empty):has(.translation-toggle[hidden]){display:none!important;border:0!important;padding:0!important;margin:0!important;background:transparent!important}
html body #dashboard-records .translation-status:empty{display:none!important}
html body #dashboard-records .feed-content{flex:1;min-width:0}
html body #dashboard-records .feed-content>p{margin:4px 0!important;font-size:15px!important;line-height:1.45!important}
html body #dashboard-records .feed-entity{font-weight:700;font-size:16px!important}
html body #dashboard-records .feed-cues{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
html body #dashboard-records .feed-cues>span{font-size:15px!important;line-height:1.4}
html body #dashboard-records .feed-location{color:#dbe8f6;font-weight:650}
html body #panel-public-reports .record-visible-summary{margin:2px 0 4px!important;font-size:15px!important;line-height:1.45;overflow-wrap:anywhere}
html body #panel-public-reports .record-matching-summary{color:#c9dbec}
html body #dashboard-records .feed-meta{display:block;font-size:15px!important;line-height:1.4!important}
html body #panel-regions #dashboard-records .feed-description{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-weight:400!important;line-height:1.5!important;font-size:15px!important}
html body #dashboard-records .feed-shared-topics{
 margin:6px 0 8px;padding:4px 0 4px 9px;border-inline-start:2px solid #6686a7;
 background:transparent;color:#d7e5f5;font-size:15px;line-height:1.4;overflow-wrap:anywhere;
}
html body #dashboard-records .feed-shared-topics p{margin:2px 0!important;color:#d7e5f5;font-size:15px!important}
html body #dashboard-records .feed-loading p{margin:6px 0;font-size:15px}
html body #dashboard-records .feed-loading-lines{display:grid;gap:5px;padding:4px 0 12px}
html body #dashboard-records .feed-loading-lines span{display:block;block-size:9px;inline-size:76%;border-radius:6px;background:#30455e}
html body #dashboard-records .feed-loading-lines span:nth-child(2){inline-size:58%}
html body #dashboard-records .feed-loading-lines span:nth-child(3){inline-size:67%}
html body #dashboard-records .report-translation{margin:4px 0 0!important;padding:0!important;background:transparent!important;border:0!important}
html body #dashboard-records .translation-status,html body #dashboard-records .translation-toggle{font-size:15px!important;line-height:1.4!important;margin:2px 0!important}
html body #dashboard-records .feed-icon{width:32px;height:32px;font-size:18px;flex:none}
html body #dashboard-records .dashboard-record{padding:10px!important;margin:6px 0!important;gap:8px}
@media(max-width:700px){
 html body #panel-regions .explorer-grid{display:flex!important;flex-direction:column!important;gap:8px!important}
 html body #panel-regions .map-canvas{order:0!important;width:100%!important;min-width:0}
 html body #panel-regions .dashboard-side{order:1!important;width:100%!important}
 html body #panel-regions .explorer-picker{order:2!important;width:100%!important}
 html body #panel-regions .map-stage .redesign-chips{position:absolute!important;display:flex!important;top:8px;left:8px;right:8px;bottom:auto;z-index:500;padding:3px!important;gap:6px;max-width:calc(100% - 16px);box-sizing:border-box;overflow-x:auto;background:#0B1A2A;border-radius:8px}
 html body #panel-regions .redesign-chips button{flex:none;min-height:44px;font-size:14px!important;padding:6px 10px!important}
 html body #panel-regions .dashboard-side>section:first-child{display:flex!important;flex-direction:column!important;padding:10px!important;gap:6px}
 html body #panel-regions .dashboard-side>section:first-child>.redesign-report-cta{order:-2;margin:0!important;min-height:44px!important}
 html body #panel-regions .dashboard-side h3{margin:0!important;font-size:18px!important}
 html body #panel-regions .dashboard-side-note{font-size:14px!important;margin:0!important}
 html body[data-map-page="japan"] main{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
 html body[data-map-page="japan"] .mobile-map-navigation{min-height:56px;padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}
 html body[data-map-page="japan"] :is(button,a,input,select){scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom))}
}
@media(max-width:700px){
 html body #panel-regions .map-stage:has(.redesign-chips) .leaflet-top{top:64px!important}
 html body #panel-regions .map-stage:has(.redesign-chips) .redesign-map-hint{max-width:calc(100% - 24px);box-sizing:border-box;font-size:14px!important}
}

html body #dashboard-records .feed-source-row {
  color: #c6d9ef;
  white-space: nowrap;
}
html body #dashboard-records .feed-error {
  padding: 10px;
  border: 1px solid #6b829a;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
}
html body #dashboard-records .feed-error p {
  margin: 0 0 8px;
}
html body #dashboard-records :is(.feed-error,.feed-loading) button {
  min-height: 44px;
  font-size: 15px;
}

html body #panel-regions .dashboard-side h3 {
  font-size: 17px !important;
  line-height: 1.35;
}
html body[data-map-page="japan"] #panel-regions :is(.dashboard-filter-note,.redesign-filter-description,.filter-apply-hint) {
  font-size: 14px !important;
  line-height: 1.45;
}
html body #dashboard-records .feed-shared-topics {
  margin: 4px 0 10px;
  padding: 8px 10px;
  font-size: 15px;
}
html body #dashboard-records .feed-shared-topics > small {
  display: block;
  margin-top: 3px;
  color: #c9dbec;
}
html body #dashboard-records .dashboard-record {
  margin-block: 10px !important;
}
html body #dashboard-records .feed-content .feed-description {
  font-size: 15px !important;
  line-height: 1.55 !important;
}
html body #dashboard-records .feed-month-group + .feed-month-group {
  margin-block-start: 10px;
}
html body #dashboard-records .feed-month-heading {
  margin: 0;
  padding: 4px 0;
  border-block-end: 1px solid #47617a;
  color: #dbe8f6;
  font-size: 15px;
  line-height: 1.45;
}
html body #dashboard-records:focus-visible {
  outline: 2px solid #72a9ff;
  outline-offset: -2px;
}
@media (min-width: 1001px) {
  html body[data-map-page="japan"] #panel-regions .explorer-grid > aside.dashboard-side {
    max-height: none !important;
    overflow: visible !important;
  }
  html body[data-map-page="japan"] #panel-regions .explorer-grid > aside.dashboard-side > section:first-child {
    display: flex !important;
    flex-direction: column;
    max-height: var(--japan-display-height, max(34rem, 60vh)) !important;
  }
  html body[data-map-page="japan"] #panel-regions aside.dashboard-side #dashboard-records {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
  }
  html body #dashboard-records .dashboard-record {
    margin-block: 6px !important;
    padding: 6px 8px !important;
  }
}
@media (max-width: 1000px) {
  html body[data-map-page="japan"] #panel-regions aside.dashboard-side #dashboard-records {
    max-height: 34rem !important;
    overflow-y: auto !important;
  }
}
html body[data-map-page="japan"] :is(#japan-map-national-breakdown,#japan-records-breakdown,#japan-companies-national-breakdown) {
  font-size: 14px !important;
  line-height: 1.55;
  margin-block: 4px 6px !important;
  padding-block: 4px;
}
