/* V0.8 keeps the existing layout and reserves a responsive Google sign-in area. */
#google-signin { width:100%; max-width:400px; min-width:0; display:grid; gap:10px; margin-top:22px; }
#google-gis-button { width:100%; min-width:0; overflow:hidden; }
#google-gis-button iframe { max-width:100%; }
#google-signin [hidden] { display:none !important; }
#google-login-button { white-space:normal; overflow-wrap:anywhere; min-height:44px; }
#google-signin[aria-busy="true"] { opacity:.7; }
#google-login-hint { overflow-wrap:anywhere; min-height:2.6em; }

/* Explicit, touch-friendly report columns; the selector is meaningful for tables. */
.report-column-picker { grid-column:1/-1; min-width:0; margin:0; padding:12px 16px; border:1px solid #dce4ee; border-radius:14px; background:#f8faff; }
.report-column-picker[hidden] { display:none !important; }
.report-column-picker legend { padding:0 6px; font-size:12px; font-weight:600; color:#425b76; }
.report-column-choices { display:flex; flex-wrap:wrap; gap:8px; }
.report-column-option { display:flex !important; flex-direction:row !important; align-items:center; gap:8px; min-height:44px; padding:9px 14px; border:1px solid #dce4ee; border-radius:10px; background:#fff; cursor:pointer; color:#60758a; }
.report-column-option:has(input:checked) { border-color:#8aafcf; background:#eaf2fb; color:#1f3a5f; }
.report-column-option:has(input:focus-visible) { outline:2px solid #1f3a5f; outline-offset:2px; }
.report-column-option input[type="checkbox"] { width:16px; height:16px; min-height:0; margin:0; accent-color:#1f3a5f; }
.report-column-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; color:#60758a; }
.report-column-footer .text-button { font-size:12px; padding:7px; }
@media(max-width:480px) { .report-column-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .report-column-option { padding:9px; } }

/* A short reveal starts on visibility, and never loops or changes the chart's values. */
.chart.chart-v08 .bar,.chart.chart-v08 .point,.chart.chart-v08 .slice { animation:none; opacity:1; }
.chart.chart-v08 .line-path,.chart.chart-v08 .daily-trend,.chart.chart-v08 .date-connection { animation:none; stroke-dasharray:100; stroke-dashoffset:0; }
.chart.chart-v08 .slice { transform-box:view-box; transform-origin:90px 90px; transition:transform .2s ease,opacity .18s ease,filter .18s ease; }
.chart.chart-v08 .slice.chart-hover { transform:translate(var(--slice-x,0px),var(--slice-y,0px));filter:saturate(1.15); }
.chart.chart-v08.chart-has-hover .slice:not(.chart-hover):not(.chart-selected) { opacity:.45; }
.chart.chart-v08 .bar,.chart.chart-v08 .point { transition:filter .16s ease; }
.chart.chart-v08 .bar.chart-hover,.chart.chart-v08 .point.chart-hover { filter:brightness(1.08) saturate(1.2); }
.chart-v08 .pie-legend button.chart-hover { background:#eaf2fb;box-shadow:inset 0 0 0 1px #c6d7e9; }
.chart-replay { position:absolute;top:2px;right:2px;z-index:2;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #dce4ee;border-radius:50%;background:#fff;color:#425b76;font-size:21px;cursor:pointer; }
.chart-replay:hover,.chart-replay:focus-visible { color:#1f3a5f;background:#eaf2fb;outline:2px solid #afc8e1;outline-offset:2px; }
@media(prefers-reduced-motion:no-preference) {
  .chart.chart-v08.chart-motion-pending .bar { transform:scaleY(.02);opacity:.25; }
  .chart.chart-v08.chart-motion-pending .slice,.chart.chart-v08.chart-motion-pending .point { opacity:0; }
  .chart.chart-v08.chart-motion-pending .line-path,.chart.chart-v08.chart-motion-pending .daily-trend,.chart.chart-v08.chart-motion-pending .date-connection { stroke-dashoffset:100; }
}
@media(prefers-reduced-motion:reduce) {
  .chart.chart-v08 .bar,.chart.chart-v08 .point,.chart.chart-v08 .slice { opacity:1;transform:none;transition:none; }
  .chart.chart-v08 .line-path,.chart.chart-v08 .daily-trend,.chart.chart-v08 .date-connection { stroke-dashoffset:0; }
  .chart-replay { display:none; }
}
