.acg-fw-marker:empty { display: none; }
/* With the toolbar installed, let both weather views size to their contents. */
#top .edfg-weather-panel.acg-fw-ready {
    height: auto !important;
}
#top .edfg-weather-panel.acg-fw-ready .edfg-weather-grid {
    flex: 0 0 auto;
}
.acg-fw-ready [hidden] { display: none !important; }
.acg-fw-ready.acg-fw-show-forecast > :not(.edfg-weather-header):not(.acg-fw-toolbar):not(.acg-fw-forecast),
.acg-fw-ready.acg-fw-show-forecast .edfg-weather-header-line > :not(:first-child) { display: none !important; }
.acg-fw-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 15px;
    border-bottom: 1px solid #d2daea;
    background: #f5f7fb;
}
.acg-fw-switches { display: flex; flex-wrap: wrap; gap: 4px; }
#top .acg-fw-ready .acg-fw-toolbar button,
#top .acg-fw-ready .acg-fw-forecast button,
.acg-fw-ready .acg-fw-toolbar button,
.acg-fw-ready .acg-fw-forecast button {
    appearance: none;
    padding: 7px 11px;
    border: 1px solid #cdd8e9;
    border-radius: 4px;
    background: white;
    color: #245483;
    cursor: pointer;
    font: inherit;
    line-height: 1.3;
}
#top .acg-fw-ready button[aria-pressed="true"],
.acg-fw-ready button[aria-pressed="true"] {
    border-color: #295a8e;
    background: #e8f0fa;
    color: #173e67;
    box-shadow: inset 0 -2px #295a8e;
}
.acg-fw-ready button:focus-visible { outline: 2px solid #295a8e; outline-offset: 2px; }
.acg-fw-forecast { padding: 14px 15px 10px; color: #17263b; }
.acg-fw-days {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}
#top .acg-fw-ready .acg-fw-days button,
.acg-fw-ready .acg-fw-days button {
    display: grid;
    grid-template-columns: auto minmax(0, max-content);
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 2px 5px;
    min-width: 0;
    padding: 6px;
    border-color: #b7c9e2;
    border-radius: 8px;
    background: #f0f5fc;
    text-align: center;
}
#top .acg-fw-ready .acg-fw-days button:hover,
.acg-fw-ready .acg-fw-days button:hover {
    border-color: #295a8e;
    background: #e2edfb;
}
#top .acg-fw-ready .acg-fw-days button[aria-pressed="true"],
.acg-fw-ready .acg-fw-days button[aria-pressed="true"] {
    border-color: #6a8fbb;
    background: #deebfa;
    color: #173e67;
    box-shadow: inset 0 -2px #6a8fbb;
}
#top .acg-fw-ready .acg-fw-days button > strong,
.acg-fw-days button > strong {
    grid-column: 1 / -1;
    color: inherit;
}
.acg-fw-day-icon { font-size: 1.25em; line-height: 1.12; }
.acg-fw-day-condition { font-size: 0.85em; }
.acg-fw-day-temperature { grid-column: 1 / -1; font-size: 0.95em; font-weight: 700; }
.acg-fw-details { overflow-x: auto; margin-top: 12px; }
.acg-fw-details:empty, .acg-fw-message:empty { display: none; }
.acg-fw-message { margin-bottom: 8px; }
.acg-fw-details table { border-collapse: collapse; width: 100%; margin: 0; font-size: 0.92em; }
.acg-fw-details caption { text-align: left; font-weight: 600; margin-bottom: 4px; }
.acg-fw-details th, .acg-fw-details td { padding: 6px 8px; white-space: nowrap; text-align: left; border-bottom: 1px solid #dce3ee; }
.acg-fw-source { margin-top: 10px; font-size: 0.82em; color: #455e7a; }
@media (max-width: 650px) {
    .acg-fw-days { grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); }
    .acg-fw-toolbar, .acg-fw-forecast { padding-left: 10px; padding-right: 10px; }
}
