:root {
    --rw-bg: #edf5fb;
    --rw-hero-start: #0f4d86;
    --rw-hero-mid: #146fa6;
    --rw-hero-end: #24a7c4;
    --rw-card: #ffffff;
    --rw-border: #d3e4f2;
    --rw-title: #102d49;
    --rw-text: #375673;
    --rw-muted: #6786a2;
    --rw-primary: #0f6fb7;
    --rw-primary-strong: #0a588f;
    --rw-soft: #eaf5ff;
    --rw-good: #1f9f67;
    --rw-fair: #cc8b1f;
    --rw-poor: #c34d4d;
    --rw-shadow: 0 22px 46px rgba(10, 58, 105, 0.1);
}

.rw-page {
    background:
        radial-gradient(circle at top left, rgba(31, 176, 207, 0.1), transparent 28%),
        radial-gradient(circle at top right, rgba(15, 93, 164, 0.12), transparent 24%),
        radial-gradient(circle at 50% 18%, rgba(255, 215, 138, 0.12), transparent 20%),
        linear-gradient(180deg, var(--rw-bg) 0%, #f8fcff 44%, #ffffff 100%);
    min-height: calc(100vh - 84px);
    padding-bottom: 56px;
}

.rw-hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 18%),
        radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.12), transparent 20%),
        radial-gradient(circle at 62% 14%, rgba(255, 207, 120, 0.18), transparent 16%),
        linear-gradient(140deg, var(--rw-hero-start) 0%, var(--rw-hero-mid) 56%, var(--rw-hero-end) 100%);
    color: #fff;
    padding: 68px 0 56px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.rw-hero::before {
    content: "";
    position: absolute;
    inset: auto auto -120px -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
}

.rw-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 153, 0.16) 0%, rgba(255, 220, 153, 0) 70%);
}

.rw-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.rw-hero-grid--simple {
    align-items: center;
}

.rw-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}

.rw-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.rw-hero p {
    margin: 0;
    opacity: 0.96;
    max-width: 640px;
    font-size: 1.02rem;
    line-height: 1.6;
}

.rw-topbar {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rw-geo-help {
    margin-top: 14px;
    max-width: 620px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.5;
}

.rw-hero-copy {
    display: grid;
    gap: 0;
}

.rw-hero-copy--single {
    max-width: 760px;
}

.rw-hero-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rw-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.rw-hero-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 28px 54px rgba(3, 32, 63, 0.22);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.rw-hero-card.is-frost {
    background: linear-gradient(180deg, rgba(225, 241, 255, 0.2) 0%, rgba(196, 224, 250, 0.12) 100%);
}

.rw-hero-card.is-calm {
    background: linear-gradient(180deg, rgba(230, 245, 255, 0.2) 0%, rgba(203, 234, 248, 0.12) 100%);
}

.rw-hero-card.is-warm {
    background: linear-gradient(180deg, rgba(255, 243, 214, 0.22) 0%, rgba(255, 224, 171, 0.12) 100%);
}

.rw-hero-card.is-sun {
    background: linear-gradient(180deg, rgba(255, 238, 179, 0.22) 0%, rgba(255, 209, 102, 0.14) 100%);
}

.rw-hero-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rw-hero-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.rw-hero-status {
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
    font-weight: 700;
}

.rw-hero-temp {
    font-size: clamp(3rem, 6vw, 4.8rem);
    line-height: 1;
    font-weight: 800;
    margin: 12px 0 8px;
}

.rw-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 1.9rem;
    vertical-align: middle;
}

.rw-hero-icon svg,
.rw-hour-icon svg,
.rw-day-icon svg,
.rw-ribbon-icon svg {
    width: 100%;
    height: 100%;
}

.rw-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.92rem;
    opacity: 0.92;
}

.rw-hero-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.rw-hero-insight {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 4px;
}

.rw-hero-insight span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.rw-hero-insight strong {
    font-size: 1rem;
}

.rw-chip {
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.rw-panel {
    background: var(--rw-card);
    border: 1px solid var(--rw-border);
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(10, 58, 105, 0.08);
    padding: 18px;
    margin-bottom: 18px;
}

.rw-panel-soft {
    background:
        radial-gradient(circle at right top, rgba(15, 111, 183, 0.05), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rw-panel-hourly {
    background:
        radial-gradient(circle at left top, rgba(36, 167, 196, 0.06), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.rw-panel-calendar {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 211, 135, 0.1), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rw-panel-archive {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.rw-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.rw-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.rw-search-shell {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 18px;
    padding: 4px 2px 12px;
}

.rw-search-copy h2 {
    margin: 4px 0 10px;
    color: var(--rw-title);
    font-size: 1.75rem;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.rw-search-copy p {
    margin: 0;
    color: var(--rw-muted);
    max-width: 620px;
}

.rw-search-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.rw-city-pill {
    border: 1px solid #d3e4f2;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    color: #1a5989;
    border-radius: 999px;
    padding: 10px 15px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.rw-city-pill:hover {
    transform: translateY(-1px);
    border-color: #8fc1e3;
    background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
    box-shadow: 0 14px 26px rgba(10, 66, 120, 0.1);
}

.rw-search-field {
    position: relative;
}

.rw-search-control {
    position: relative;
    padding: 5px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(244, 249, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid #d6e5f3;
    box-shadow: 0 18px 30px rgba(10, 66, 120, 0.06);
}

.rw-search-field .rw-input {
    padding-right: 54px;
    padding-left: 42px;
    min-height: 58px;
    border-radius: 18px;
    border-color: transparent;
    box-shadow: none;
    background: transparent;
    font-size: 1rem;
}

.rw-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6f93ae;
    font-size: 1rem;
    pointer-events: none;
}

.rw-search-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #f2f8ff 0%, #deecfb 100%);
    box-shadow: inset 0 0 0 1px rgba(116, 165, 205, 0.18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rw-search-toggle span {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #1f5f93;
}

.rw-search-submit {
    min-height: 58px;
    padding-inline: 24px;
    border-radius: 18px;
    box-shadow: 0 18px 30px rgba(15, 95, 154, 0.24);
}

.rw-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.rw-panel-head h2 {
    margin: 0 0 6px;
    color: var(--rw-title);
}

.rw-panel-head p {
    margin: 0;
    color: var(--rw-muted);
}

.rw-field {
    display: grid;
    gap: 6px;
}

.rw-field label {
    font-size: 0.86rem;
    color: var(--rw-muted);
    font-weight: 600;
}

.rw-input,
.rw-select,
.rw-textarea {
    width: 100%;
    border: 1px solid #c9ddef;
    border-radius: 10px;
    padding: 10px 11px;
    font: inherit;
    color: #1f4668;
    background: #fff;
}

.rw-input:focus,
.rw-select:focus,
.rw-textarea:focus {
    outline: none;
    border-color: #70afd9;
    box-shadow: 0 0 0 3px rgba(26, 123, 193, 0.12);
}

.rw-textarea {
    min-height: 140px;
    resize: vertical;
}

.rw-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rw-selector-form {
    position: relative;
}

.rw-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 25;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid #d8e8f4;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.995);
    box-shadow: 0 28px 46px rgba(10, 66, 120, 0.16);
    max-height: 280px;
    overflow-y: auto;
}

.rw-suggestion-item {
    border: 1px solid transparent;
    background: #f5faff;
    color: var(--rw-title);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font: inherit;
}

.rw-suggestion-item small {
    color: var(--rw-muted);
    white-space: nowrap;
}

.rw-suggestion-item:hover {
    border-color: #b8d7ee;
    background: #edf6ff;
}

.rw-suggestion-item.is-active {
    border-color: #8fc5e8;
    background: #eaf5ff;
    box-shadow: inset 0 0 0 1px rgba(143, 197, 232, 0.35);
}

.rw-inline-alert {
    border: 1px solid #f3d6b2;
    background: #fff8ee;
    color: #8c5a17;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 500;
}

.rw-status-banner {
    display: grid;
    gap: 4px;
    border-radius: 14px;
    padding: 12px 14px;
}

.rw-status-banner strong {
    color: var(--rw-title);
}

.rw-status-banner span {
    color: var(--rw-text);
    line-height: 1.45;
}

.rw-status-banner.is-stale {
    background: #fff6ea;
    border: 1px solid #f1d2a4;
}

.rw-status-banner.is-fresh {
    background: #eef8f2;
    border: 1px solid #cde9d7;
}

.rw-btn {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rw-btn.primary {
    background: linear-gradient(135deg, var(--rw-primary), #1590cb);
    color: #fff;
}

.rw-btn.primary:hover {
    background: linear-gradient(135deg, var(--rw-primary-strong), #107db0);
}

.rw-btn.secondary {
    background: #edf5ff;
    border: 1px solid #d6e8f9;
    color: #1f5f93;
}

.rw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.rw-current-grid {
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
    margin-bottom: 14px;
}

.rw-season-grid {
    grid-template-columns: 1fr 1fr;
}

.rw-overview-grid {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    margin-bottom: 14px;
}

.rw-grid.one {
    grid-template-columns: 1fr;
}

.rw-card {
    background: #fff;
    border: 1px solid #dce8f5;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(10, 66, 120, 0.07);
    padding: 16px;
    display: grid;
    gap: 10px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rw-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(10, 66, 120, 0.1);
    border-color: #c6dcef;
}

.rw-feature-card {
    background:
        radial-gradient(circle at right top, rgba(36, 167, 196, 0.12), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
}

.rw-info-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rw-summary-card {
    background:
        radial-gradient(circle at right top, rgba(255, 215, 138, 0.14), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
}

.rw-archive-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.rw-card h3 {
    margin: 0;
    color: #113353;
    font-size: 1.08rem;
}

.rw-card-accent {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    border-color: #cfe1f1;
}

.rw-card-state-frost {
    background: linear-gradient(180deg, #ffffff 0%, #edf7ff 100%);
    border-color: #c8ddf0;
}

.rw-card-state-calm {
    background: linear-gradient(180deg, #ffffff 0%, #f1f9ff 100%);
    border-color: #cfe2f2;
}

.rw-card-state-warm {
    background: linear-gradient(180deg, #ffffff 0%, #fff7eb 100%);
    border-color: #efd8b0;
}

.rw-card-state-sun {
    background: linear-gradient(180deg, #ffffff 0%, #fff8db 100%);
    border-color: #edd88f;
}

.rw-card-state-rain {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    border-color: #c5ddef;
}

.rw-card-state-wind {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
    border-color: #d1deeb;
}

.rw-card-state-soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rw-card-kicker {
    color: var(--rw-primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rw-card p {
    margin: 0;
    color: var(--rw-text);
    font-size: 0.9rem;
    line-height: 1.45;
}

.rw-metric-list {
    display: grid;
    gap: 8px;
}

.rw-metric-item {
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    padding: 12px 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    background: #f9fcff;
}

.rw-metric-item span {
    color: var(--rw-muted);
    font-size: 0.88rem;
}

.rw-metric-item strong {
    color: var(--rw-title);
    font-size: 1rem;
}

.rw-metric-item--wide {
    display: grid;
    justify-content: start;
}

.rw-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rw-badge {
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--rw-soft);
    color: #1c598f;
}

.rw-badge.good {
    background: #e8f8ef;
    color: #1b7e50;
}

.rw-badge.fair {
    background: #fff4e4;
    color: #ad7417;
}

.rw-badge.poor {
    background: #feebeb;
    color: #ac3f3f;
}

.rw-kpi {
    font-size: 3rem;
    font-weight: 800;
    color: #0e598f;
    line-height: 1;
}

.rw-kpi-sm {
    font-size: 2rem;
}

.rw-window-list {
    display: grid;
    gap: 8px;
}

.rw-window-item {
    border: 1px solid #d8e6f4;
    background: #f9fcff;
    border-radius: 14px;
    padding: 10px 12px;
    display: grid;
    gap: 3px;
}

.rw-window-item strong {
    color: var(--rw-title);
}

.rw-window-item span {
    color: var(--rw-primary);
    font-weight: 700;
}

.rw-window-item small {
    color: var(--rw-muted);
}

.rw-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rw-summary-item {
    border: 1px solid #dbe8f4;
    border-radius: 16px;
    padding: 12px 13px;
    background: rgba(255, 255, 255, 0.78);
    display: grid;
    gap: 4px;
}

.rw-summary-item span {
    color: var(--rw-muted);
    font-size: 0.83rem;
}

.rw-summary-item strong {
    color: var(--rw-title);
    font-size: 0.98rem;
}

.rw-factor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rw-factor-card {
    border: 1px solid #dae8f6;
    border-radius: 16px;
    padding: 14px;
    background: #fbfdff;
    display: grid;
    gap: 10px;
}

.rw-factor-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.rw-factor-title {
    color: var(--rw-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rw-factor-value {
    margin-top: 8px;
    color: var(--rw-title);
    font-size: 1.4rem;
    font-weight: 800;
}

.rw-factor-hint {
    margin-top: 5px;
    color: var(--rw-muted);
    font-size: 0.84rem;
}

.rw-factor-bar {
    height: 8px;
    border-radius: 999px;
    background: #e7f1fb;
    overflow: hidden;
}

.rw-factor-bar span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rw-primary), #29a0d8);
}

.rw-scroll-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(175px, 1fr);
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.rw-hour-card {
    border: 1px solid #dbe7f4;
    border-radius: 20px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    display: grid;
    gap: 8px;
    min-height: 186px;
}

.rw-hour-time {
    color: var(--rw-primary);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rw-hour-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #edf6ff;
    color: var(--rw-title);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.rw-hour-temp {
    color: var(--rw-title);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.rw-hour-line {
    color: var(--rw-text);
    font-size: 0.88rem;
}

.rw-hour-lines {
    display: grid;
    gap: 5px;
}

.rw-calendar-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.rw-day-card {
    border: 1px solid #d8e6f3;
    border-radius: 22px;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 24px rgba(10, 66, 120, 0.07);
    display: grid;
    gap: 10px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    text-decoration: none;
}

.rw-day-card:hover,
.rw-day-card.is-active {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(10, 66, 120, 0.12);
    border-color: #8fc5e8;
}

.rw-day-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rw-day-date {
    color: var(--rw-title);
    font-weight: 800;
    font-size: 0.95rem;
}

.rw-day-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #edf6ff;
    color: var(--rw-title);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.rw-day-range {
    color: var(--rw-muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.rw-day-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rw-day-detail {
    margin-top: 16px;
    border: 1px solid #d8e6f3;
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 10px 26px rgba(10, 66, 120, 0.08);
}

.rw-day-detail-head {
    margin-bottom: 12px;
}

.rw-day-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.rw-day-detail-text {
    margin: 14px 0 0;
    color: var(--rw-text);
}

.rw-day-nav-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rw-day-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rw-day-nav-link {
    border: 1px solid #d8e6f3;
    border-radius: 18px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    text-decoration: none;
    color: inherit;
    display: grid;
    gap: 4px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rw-day-nav-link:hover {
    transform: translateY(-2px);
    border-color: #8fc5e8;
    box-shadow: 0 14px 28px rgba(10, 66, 120, 0.12);
}

.rw-day-nav-link span {
    color: var(--rw-muted);
    font-size: 0.86rem;
}

.rw-day-nav-link strong {
    color: var(--rw-title);
    font-size: 1rem;
}

.rw-day-nav-link.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.rw-day-ribbon-panel {
    overflow: hidden;
}

.rw-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rw-ribbon-card {
    border-radius: 20px;
    padding: 16px;
    display: grid;
    gap: 8px;
    color: #123b63;
    box-shadow: 0 12px 24px rgba(10, 66, 120, 0.08);
}

.rw-ribbon-ночь {
    background: linear-gradient(180deg, #e9efff 0%, #f6f8ff 100%);
}

.rw-ribbon-утро {
    background: linear-gradient(180deg, #fff3df 0%, #fffaf1 100%);
}

.rw-ribbon-день {
    background: linear-gradient(180deg, #fff6bf 0%, #fffdf0 100%);
}

.rw-ribbon-вечер {
    background: linear-gradient(180deg, #ffe6d9 0%, #fff6f2 100%);
}

.rw-ribbon-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.rw-ribbon-temp {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.rw-ribbon-time {
    color: var(--rw-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.rw-ribbon-card p {
    margin: 0;
    min-height: 42px;
}

.rw-ribbon-meta {
    display: grid;
    gap: 4px;
    color: var(--rw-muted);
    font-size: 0.86rem;
}

.rw-period-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rw-period-card {
    border: 1px solid #d8e6f3;
    border-radius: 22px;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 22px rgba(10, 66, 120, 0.06);
    display: grid;
    gap: 12px;
}

.rw-period-card h3 {
    margin: 0;
    color: var(--rw-title);
    font-size: 1.8rem;
}

.rw-period-card p {
    margin: 0;
    color: var(--rw-text);
}

.rw-period-lines {
    display: grid;
    gap: 6px;
    color: var(--rw-muted);
    font-size: 0.88rem;
}

.rw-period-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.rw-period-stat {
    border: 1px solid #e0ebf6;
    border-radius: 14px;
    background: #f9fcff;
    padding: 8px 10px;
    display: grid;
    gap: 2px;
}

.rw-period-stat span {
    color: var(--rw-muted);
    font-size: 0.78rem;
}

.rw-period-stat strong {
    color: var(--rw-title);
    font-size: 0.92rem;
}

.rw-selector-panel {
    position: relative;
    overflow: visible;
    background:
        radial-gradient(circle at right top, rgba(15, 111, 183, 0.06), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rw-selector-form {
    position: relative;
    z-index: 1;
}

.rw-empty {
    border: 1px dashed #bfd7eb;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    background: #f8fcff;
    color: #45647f;
}

.rw-empty h3 {
    margin: 0 0 8px;
    color: #123b63;
}

.rw-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.rw-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--rw-text);
}

.rw-list li i {
    color: var(--rw-primary);
    margin-top: 3px;
    font-style: normal;
    font-weight: 700;
}

.rw-list--plain li {
    border-bottom: 1px solid #e4eef7;
    padding-bottom: 10px;
}

.rw-list--plain li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rw-condition {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 6px;
}

.rw-condition.excellent { background: #e6faef; color: var(--rw-good); }
.rw-condition.good { background: #e9f4ff; color: #1e74be; }
.rw-condition.fair { background: #fff4e4; color: var(--rw-fair); }
.rw-condition.poor { background: #feebeb; color: var(--rw-poor); }

.rw-season-switches .rw-btn {
    min-width: 108px;
}

@media (max-width: 760px) {
    .rw-hero h1 { font-size: 1.6rem; }
    .rw-toolbar { grid-template-columns: 1fr; }
    .rw-hero-grid { grid-template-columns: 1fr; }
    .rw-search-shell { grid-template-columns: 1fr; }
    .rw-search-pills { justify-content: flex-start; }
    .rw-hero-insights { grid-template-columns: 1fr; }
    .rw-overview-grid { grid-template-columns: 1fr; }
    .rw-current-grid { grid-template-columns: 1fr; }
    .rw-season-grid { grid-template-columns: 1fr; }
    .rw-ribbon-grid { grid-template-columns: 1fr; }
    .rw-period-grid { grid-template-columns: 1fr; }
    .rw-factor-grid { grid-template-columns: 1fr 1fr; }
    .rw-panel-head { flex-direction: column; }
    .rw-scroll-grid { grid-auto-columns: minmax(160px, 78vw); }
    .rw-search-row { grid-template-columns: 1fr; }
    .rw-day-nav { grid-template-columns: 1fr; }
    .rw-summary-grid { grid-template-columns: 1fr; }
    .rw-hero-icon { width: 46px; height: 46px; font-size: 1.55rem; }
}
