/* V1.01 : polling-source status, dependable refresh and recent surveys */
#poll-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:43px;min-width:225px;white-space:normal;font-size:12px;font-weight:800;border-color:#aac8dd;background:#eaf4fc;color:#164c76;cursor:pointer}
#poll-refresh:disabled{opacity:.68;cursor:progress}
#poll-refresh:focus-visible,.poll-latest-actions button:focus-visible{outline:3px solid #85bce2;outline-offset:3px}
.poll-source-health{display:inline-flex;align-items:center;border:1px solid #b8d5e5;border-radius:100px;padding:6px 10px;margin:6px 0;font:800 10px/1.3 Inter,"Segoe UI",sans-serif;letter-spacing:.04em;color:#2d6b8f;background:#eaf6fc}
.poll-source-health::before{content:"";display:inline-block;width:7px;height:7px;border-radius:100%;background:#34a17a;margin-right:8px}
.poll-source-health-mirror{color:#28638f;border-color:#bdd5e7;background:#edf5fd}
.poll-source-health-stale,.poll-source-health-archive{border-color:#e6c3a0;background:#fff5e9;color:#895324}
.poll-source-health-stale::before,.poll-source-health-archive::before{background:#c88032}
.poll-last-updated{font:550 12px/1.6 Inter,"Segoe UI",sans-serif;color:#536f84;margin:5px 0 15px}
#poll-dataset{font-size:12px;line-height:1.65}
.poll-latest-card{padding-top:21px}
.poll-latest-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.poll-latest-row{border:1px solid #d5e5f0;background:#f8fbfe;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px;min-width:0}
.poll-latest-detail{display:flex;flex-direction:column;gap:4px;min-width:0}
.poll-latest-detail strong{color:#194666;font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.poll-latest-detail span{font-size:10.5px;font-weight:700;color:#51758e}
.poll-latest-detail small{font-size:10px;color:#647c8f;line-height:1.55;overflow-wrap:anywhere}
.poll-latest-actions{display:flex;flex-direction:column;gap:6px;align-items:stretch;flex:0 0 auto}
.poll-latest-actions button,.poll-latest-source{font:750 10px/1.4 Inter,"Segoe UI",system-ui,sans-serif;padding:7px 10px;border:1px solid #b9d1e3;border-radius:7px;background:#fff;color:#205f8a;text-decoration:none;text-align:center;cursor:pointer}
.poll-latest-source:hover,.poll-latest-actions button:hover{background:#e5f2fb}
html[data-theme="dark"] #poll-refresh{border-color:#527fa3;background:#234663;color:#edf8ff}
html[data-theme="dark"] .poll-source-health{background:#174b51;color:#d1fff2;border-color:#397f7e}
html[data-theme="dark"] .poll-source-health-stale,html[data-theme="dark"] .poll-source-health-archive{background:#493821;border-color:#88663e;color:#ffdfa4}
html[data-theme="dark"] .poll-last-updated{color:#d0e1ee}
html[data-theme="dark"] .poll-latest-row{background:#19384f;border-color:#426780}
html[data-theme="dark"] .poll-latest-detail strong{color:#f1f8ff}
html[data-theme="dark"] .poll-latest-detail span{color:#b6d9ee}
html[data-theme="dark"] .poll-latest-detail small{color:#b7d0e1}
html[data-theme="dark"] .poll-latest-actions button,html[data-theme="dark"] .poll-latest-source{background:#284d69;color:#e9f8ff;border-color:#6086a3}
@media(max-width:1020px){.poll-latest-list{grid-template-columns:1fr}}
@media(max-width:650px){#poll-refresh{width:100%;min-width:0}.poll-latest-row{flex-wrap:wrap}.poll-latest-actions{flex-direction:row;width:100%;justify-content:flex-start}.poll-latest-actions button,.poll-latest-source{min-width:100px;min-height:38px}}
