/**
 * Weather widget CSS — excerpt from boss-mwd.com/css/styles.css (scoped to #resources-resource-app-12).
 * Embed on any page; standalone demo adds .weather-export-root for display:block.
 */

#resources-resource-app-12.weather-export-root,
#resources-resource-app-12 {
    box-sizing: border-box;
    --primary: #ff8c00;
    --secondary: #1a1a1a;
    max-width: 720px;
    margin: 0 auto;
    padding: 12px;
}

#resources-resource-app-12 .resources-card {
    margin: 0;
}

#resources-resource-app-12 .resources-card.resources-card-secondary {
    background: #fff;
    border: 1px solid rgba(16, 24, 32, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

#resources-resource-app-12.weather-export-root.resources-app-panel {
    display: block;
}

.resource-app-panel[data-resource-panel="weather"] #resources-resource-app-12 {
    max-width: none;
    margin: 0;
}

#resources-resource-app-12 .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

#resources-resource-app-12 .btn-secondary {
    background: #6c757d;
    color: white;
}

#resources-resource-app-12 .btn-secondary:hover {
    filter: brightness(1.05);
}

#resources-resource-app-12 .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

#resources-resource-app-12 .resources-weather-search-block {
    position: relative;
    padding: 16px 24px 0;
}

#resources-resource-app-12 .resources-weather-search-bar {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(16, 24, 32, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

#resources-resource-app-12 .resources-weather-search-input {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--secondary);
    min-width: 0;
}

#resources-resource-app-12 .resources-weather-search-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(255, 140, 0, 0.25);
}

#resources-resource-app-12 .resources-weather-search-btn {
    border: none;
    padding: 0 14px;
    background: rgba(16, 24, 32, 0.04);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: background 0.15s ease;
}

#resources-resource-app-12 .resources-weather-search-btn:hover {
    background: rgba(255, 140, 0, 0.14);
}

#resources-resource-app-12 .resources-weather-search-results {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% - 4px);
    z-index: 20;
    max-height: 280px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid rgba(16, 24, 32, 0.12);
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

#resources-resource-app-12 .resources-weather-search-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-bottom: 1px solid rgba(16, 24, 32, 0.06);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

#resources-resource-app-12 .resources-weather-search-item:last-child {
    border-bottom: none;
}

#resources-resource-app-12 .resources-weather-search-item:hover {
    background: rgba(255, 248, 240, 0.85);
}

#resources-resource-app-12 .resources-weather-search-item-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
}

#resources-resource-app-12 .resources-weather-search-item-meta {
    font-size: 12px;
    color: #777;
}

#resources-resource-app-12 .resources-weather-search-empty {
    padding: 12px 14px;
    font-size: 13px;
    color: #666;
}

#resources-resource-app-12 .resources-weather-favorites-panel {
    padding: 10px 24px 0;
}

#resources-resource-app-12 .resources-weather-favorites-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

#resources-resource-app-12 .resources-weather-favorites-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
}

#resources-resource-app-12 .resources-weather-favorite-hint {
    min-height: 1.25em;
    margin: 6px 0 8px;
    font-size: 12px;
    color: var(--primary);
}

#resources-resource-app-12 .resources-weather-favorites-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

#resources-resource-app-12 .resources-weather-favorites-empty {
    font-size: 13px;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap {
    display: inline-flex;
    align-items: stretch;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 32, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, rgba(251, 252, 254, 0.98) 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 3px 10px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 140, 0, 0.28);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 10px 24px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 140, 0, 0.08);
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active {
    border-color: rgba(232, 128, 0, 0.55);
    background: linear-gradient(180deg, rgba(255, 252, 247, 1) 0%, rgba(255, 246, 232, 0.96) 100%);
    box-shadow:
        0 0 0 2px rgba(255, 140, 0, 0.2),
        0 4px 16px rgba(255, 140, 0, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.05);
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active:hover {
    border-color: rgba(232, 128, 0, 0.65);
}

#resources-resource-app-12 .resources-weather-fav-chip:focus-visible {
    outline: none;
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap:focus-within {
    box-shadow:
        0 0 0 2px rgba(255, 140, 0, 0.35),
        0 2px 8px rgba(15, 23, 42, 0.08);
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active:focus-within {
    box-shadow:
        0 0 0 2px rgba(255, 140, 0, 0.45),
        0 6px 20px rgba(255, 140, 0, 0.15),
        0 2px 8px rgba(15, 23, 42, 0.05);
}

#resources-resource-app-12 .resources-weather-fav-chip {
    border: none;
    background: transparent;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--secondary);
    cursor: pointer;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active .resources-weather-fav-chip {
    color: #c25600;
}

#resources-resource-app-12 .resources-weather-fav-chip:hover {
    background: rgba(255, 140, 0, 0.08);
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active .resources-weather-fav-chip:hover {
    background: rgba(255, 140, 0, 0.1);
}

#resources-resource-app-12 .resources-weather-fav-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    border: none;
    border-left: 1px solid rgba(16, 24, 32, 0.08);
    background: rgba(246, 248, 250, 0.95);
    padding: 0 8px;
    font-size: 17px;
    line-height: 1;
    font-weight: 500;
    color: rgba(100, 112, 128, 0.85);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

#resources-resource-app-12 .resources-weather-fav-chip-remove:hover {
    background: rgba(254, 226, 226, 0.95);
    color: #b91c1c;
}

#resources-resource-app-12 .resources-weather-fav-chip-remove:active {
    background: rgba(252, 165, 165, 0.45);
}

#resources-resource-app-12 .resources-weather-fav-chip-remove:focus-visible {
    outline: 2px solid rgba(220, 53, 69, 0.45);
    outline-offset: -2px;
}

#resources-resource-app-12 .resources-weather-favorites-list.is-edit-mode {
    gap: 12px;
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap.is-editing {
    cursor: grab;
    padding-right: 0;
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap.is-editing.is-dragging {
    opacity: 0.72;
    cursor: grabbing;
}

#resources-resource-app-12 .resources-weather-fav-drag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    border: none;
    border-right: 1px solid rgba(16, 24, 32, 0.08);
    background: rgba(246, 248, 250, 0.95);
    padding: 0 8px;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.08em;
    color: rgba(100, 112, 128, 0.85);
    cursor: grab;
}

#resources-resource-app-12 .resources-weather-fav-chip-label {
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--secondary);
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#resources-resource-app-12 .resources-weather-fav-chip-wrap.is-editing .resources-weather-fav-chip-remove {
    min-width: auto;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

#resources-resource-app-12 .resources-weather-status-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#resources-resource-app-12 #resourceWeatherEditFavoritesBtn[aria-pressed="true"],
#resources-resource-app-12 #resourceWeatherUnitsBtn[aria-pressed="true"] {
    border-color: rgba(232, 128, 0, 0.55);
    background: linear-gradient(180deg, rgba(255, 252, 247, 1) 0%, rgba(255, 246, 232, 0.96) 100%);
    color: #c25600;
}

#resources-resource-app-12 #resourceWeatherAddFavoriteBtn:disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

#resources-resource-app-12 .resources-weather-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 24px 0;
}

#resources-resource-app-12 .resources-calgary-weather-updated {
    margin: 0;
    font-size: 13px;
    color: #666;
}

#resources-resource-app-12 .resources-calgary-weather-body {
    padding: 8px 24px;
}

@media (prefers-reduced-motion: no-preference) {
    #resources-resource-app-12 #resourceCalgaryWeatherBody {
        transition: opacity 0.2s ease;
    }
}

#resources-resource-app-12 #resourceCalgaryWeatherBody.resources-calgary-body-refreshing {
    opacity: 0.72;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    #resources-resource-app-12 #resourceCalgaryWeatherBody {
        transition: none;
    }

    #resources-resource-app-12 #resourceCalgaryWeatherBody.resources-calgary-body-refreshing {
        opacity: 0.94;
    }
}

#resources-resource-app-12 .resources-calgary-loading,
#resources-resource-app-12 .resources-calgary-error {
    margin: 0 0 12px;
    font-size: 14px;
    color: #555;
}

#resources-resource-app-12 .resources-calgary-error {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

#resources-resource-app-12 .resources-calgary-error p {
    margin: 0;
}

#resources-resource-app-12 .resources-calgary-weather-attrib {
    margin: 0 24px 20px;
    font-size: 12px;
    color: #777;
    line-height: 1.45;
}

#resources-resource-app-12 .resources-calgary-dashboard {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 6px;
}

#resources-resource-app-12 .resources-weather-current-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px 32px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(16, 24, 32, 0.08);
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

#resources-resource-app-12 .resources-weather-current-left {
    flex: 1 1 260px;
    min-width: 220px;
}

#resources-resource-app-12 .resources-weather-city-title {
    margin: 0 0 14px;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

#resources-resource-app-12 .resources-weather-city-line2 {
    margin: -8px 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

#resources-resource-app-12 .resources-weather-hero {
    display: flex;
    align-items: center;
    gap: 16px;
}

#resources-resource-app-12 .resources-calgary-now-icon {
    font-size: 3.35rem;
    line-height: 1;
}

#resources-resource-app-12 .resources-calgary-now-temp {
    font-size: 2.55rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.05;
}

#resources-resource-app-12 .resources-weather-feels {
    margin-top: 4px;
    font-size: 14px;
    color: #666;
}

#resources-resource-app-12 .resources-calgary-now-label {
    font-size: 15px;
    color: #444;
    margin-top: 6px;
}

#resources-resource-app-12 .resources-weather-metrics {
    flex: 1 1 280px;
    min-width: 260px;
}

#resources-resource-app-12 .resources-weather-metrics-cols {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#resources-resource-app-12 .resources-weather-metric-col {
    flex: 1 1 170px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 150px;
}

#resources-resource-app-12 .resources-weather-metric {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(16, 24, 32, 0.1);
    font-size: 13px;
}

#resources-resource-app-12 .resources-weather-metric span {
    color: #777;
}

#resources-resource-app-12 .resources-weather-metric strong {
    color: var(--secondary);
    font-weight: 600;
    text-align: right;
}

#resources-resource-app-12 .resources-calgary-section-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.35);
}

#resources-resource-app-12 .resources-calgary-days {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#resources-resource-app-12 .resources-calgary-day-row {
    display: grid;
    grid-template-columns: minmax(140px, 1.35fr) 38px minmax(128px, 0.95fr) 64px minmax(110px, 1fr);
    align-items: center;
    gap: 10px 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 32, 0.06);
    background: rgba(255, 255, 255, 0.65);
}

#resources-resource-app-12 .resources-calgary-day-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--secondary);
}

#resources-resource-app-12 .resources-calgary-day-icon {
    font-size: 1.35rem;
    text-align: center;
}

#resources-resource-app-12 .resources-calgary-day-hilo {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    white-space: nowrap;
}

#resources-resource-app-12 .resources-calgary-day-pop-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

#resources-resource-app-12 .resources-calgary-drop {
    font-size: 0.9rem;
    opacity: 0.85;
}

#resources-resource-app-12 .resources-calgary-day-pop {
    font-size: 12px;
    color: #667;
}

#resources-resource-app-12 .resources-calgary-day-summary {
    font-size: 13px;
    color: #555;
}

/* Next 24 hours — not in original excerpt; matches widget layout */
#resources-resource-app-12 .resources-calgary-hourly-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scrollbar-color: rgba(255, 140, 0, 0.45) rgba(16, 24, 32, 0.06);
}

#resources-resource-app-12 .resources-calgary-hour-cell {
    flex: 0 0 74px;
    text-align: center;
    padding: 8px 6px;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 32, 0.07);
    background: rgba(255, 255, 255, 0.72);
}

#resources-resource-app-12 .resources-calgary-hour-time {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
}

#resources-resource-app-12 .resources-calgary-hour-ico {
    font-size: 1.45rem;
    line-height: 1;
}

#resources-resource-app-12 .resources-calgary-hour-temp {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-top: 4px;
}

#resources-resource-app-12 .resources-calgary-hour-pop {
    font-size: 11px;
    color: #0ea5e9;
    margin-top: 2px;
    display: block;
}

@media (max-width: 620px) {
    #resources-resource-app-12 .resources-calgary-days {
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    #resources-resource-app-12 .resources-calgary-day-row {
        min-width: min(520px, 100%);
    }
}

html[data-theme="dark"] #resources-resource-app-12.weather-export-root,
html[data-theme="dark"] #resources-resource-app-12 {
    --secondary: #e8eef6;
    --primary: #ffb84d;
}

html[data-theme="dark"] #resources-resource-app-12 .resources-card.resources-card-secondary {
    background: rgba(14, 23, 36, 0.92);
    border-color: rgba(100, 116, 139, 0.24);
    border-left-color: var(--primary, #ffb84d);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
    color: #e8eef6;
}

html[data-theme="dark"] #resources-resource-app-12 .btn-secondary {
    background: #101a28;
    border: 1px solid rgba(100, 116, 139, 0.24);
    color: #dbe5f1;
}

html[data-theme="dark"] #resources-resource-app-12 .btn-secondary:hover {
    filter: brightness(1.1);
    border-color: rgba(148, 163, 184, 0.35);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-bar {
    border-color: rgba(100, 116, 139, 0.28);
    background: #09111a;
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-input {
    background: transparent;
    color: rgba(243, 244, 246, 0.95);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-btn {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(243, 244, 246, 0.9);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-btn:hover {
    background: rgba(255, 140, 0, 0.2);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-results {
    border-color: rgba(100, 116, 139, 0.28);
    background: rgba(14, 23, 36, 0.98);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-item:hover {
    background: rgba(255, 140, 0, 0.08);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-item-title {
    color: rgba(243, 244, 246, 0.96);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-item-meta,
html[data-theme="dark"] #resources-resource-app-12 .resources-weather-search-empty {
    color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-favorites-label {
    color: rgba(243, 244, 246, 0.92);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-favorite-hint {
    color: rgba(251, 191, 36, 0.92);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-favorites-empty {
    color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-wrap {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(44, 52, 64, 0.98) 0%, rgba(32, 38, 48, 0.92) 100%);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-wrap:hover {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.25),
        0 14px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(251, 191, 36, 0.12);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active {
    border-color: rgba(251, 191, 36, 0.5);
    background: linear-gradient(180deg, rgba(72, 58, 40, 0.95) 0%, rgba(48, 40, 30, 0.92) 100%);
    box-shadow:
        0 0 0 2px rgba(251, 191, 36, 0.22),
        0 6px 24px rgba(251, 191, 36, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active:hover {
    border-color: rgba(251, 191, 36, 0.6);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-wrap:focus-within {
    box-shadow:
        0 0 0 2px rgba(251, 191, 36, 0.42),
        0 8px 20px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active:focus-within {
    box-shadow:
        0 0 0 2px rgba(253, 186, 116, 0.5),
        0 10px 28px rgba(251, 191, 36, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip {
    color: rgba(243, 244, 246, 0.96);
    font-weight: 600;
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active .resources-weather-fav-chip {
    color: rgba(253, 224, 180, 0.98);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip:hover {
    background: rgba(255, 140, 0, 0.14);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-wrap.is-active .resources-weather-fav-chip:hover {
    background: rgba(255, 140, 0, 0.18);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-remove {
    border-left-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(203, 213, 225, 0.8);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-remove:hover {
    background: rgba(127, 29, 29, 0.45);
    color: #fecaca;
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-remove:active {
    background: rgba(185, 28, 28, 0.5);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-remove:focus-visible {
    outline-color: rgba(248, 113, 113, 0.6);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-drag-btn {
    border-right-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(203, 213, 225, 0.8);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-fav-chip-label {
    color: rgba(243, 244, 246, 0.92);
}

html[data-theme="dark"] #resources-resource-app-12 #resourceWeatherEditFavoritesBtn[aria-pressed="true"],
html[data-theme="dark"] #resources-resource-app-12 #resourceWeatherUnitsBtn[aria-pressed="true"] {
    border-color: rgba(251, 191, 36, 0.5);
    background: linear-gradient(180deg, rgba(72, 58, 40, 0.95) 0%, rgba(48, 40, 30, 0.92) 100%);
    color: rgba(251, 191, 36, 0.96);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-weather-updated {
    color: rgba(226, 232, 240, 0.72);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-loading,
html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-error {
    color: rgba(226, 232, 240, 0.78);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-error p {
    color: rgba(254, 202, 202, 0.95);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-weather-attrib {
    color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-current-grid {
    border-color: rgba(100, 116, 139, 0.22);
    background: linear-gradient(180deg, rgba(17, 28, 42, 0.96) 0%, rgba(12, 20, 32, 0.98) 100%);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-day-row {
    border-color: rgba(100, 116, 139, 0.22);
    background: rgba(9, 17, 26, 0.75);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-hour-cell {
    border-color: rgba(100, 116, 139, 0.22);
    background: rgba(9, 17, 26, 0.75);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-city-title {
    color: rgba(243, 244, 246, 0.95);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-city-line2 {
    color: rgba(203, 213, 225, 0.75);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-now-label {
    color: rgba(226, 232, 240, 0.82);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-now-temp {
    color: rgba(243, 244, 246, 0.98);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-feels {
    color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-metric {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-metric span {
    color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-weather-metric strong {
    color: rgba(243, 244, 246, 0.95);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-section-title {
    color: rgba(253, 186, 116, 0.95);
    border-bottom-color: rgba(251, 191, 36, 0.35);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-day-name,
html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-day-hilo {
    color: rgba(243, 244, 246, 0.92);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-day-summary {
    color: rgba(226, 232, 240, 0.78);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-day-pop {
    color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-hour-time {
    color: rgba(203, 213, 225, 0.75);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-hour-temp {
    color: rgba(243, 244, 246, 0.95);
}

html[data-theme="dark"] #resources-resource-app-12 .resources-calgary-hour-pop {
    color: rgba(125, 211, 252, 0.9);
}
