/* ═══════════════════════════════════════════════════════════════
   Release Notes – Front-end Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Page ─────────────────────────────────────────────────────── */
.rn-page {
    padding-bottom: 24px;
}

.rn-page-header {
    margin-bottom: 24px;
}

.rn-page-header h1 {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.3;
}

/* ── Toolbar ──────────────────────────────────────────────────── */
.rn-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Search */
.rn-search-wrap {
    position: relative;
    width: 260px;
    flex-shrink: 0;
}

.rn-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.rn-search-input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    box-sizing: border-box;
}

.rn-search-input:focus {
    border-color: unset;
    outline: auto 2px #2e48b1;
}

.rn-search-input::placeholder {
    color: #9ca3af;
}

/* Filters group */
.rn-filters {
    position: relative;
}

/* ── Unified Filters Panel ───────────────────────────────────── */
.rn-filters__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.87);
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s,
        box-shadow 0.2s,
        color 0.2s;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1;
}

.rn-filters__trigger:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background: #fff;
}

.rn-filters__trigger.is-active {
    border-color: #2e48b1;
    color: #2e48b1;
}

.rn-filters.is-open .rn-filters__trigger {
    border-color: #2e48b1;
    box-shadow: inset 0 0 0 1px #2e48b1;
}

.rn-filters__trigger-icon,
.rn-filters__trigger-chevron {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.rn-filters__trigger-label {
    font-weight: 400;
}

.rn-filters__trigger-chevron {
    transition: transform 0.2s;
}

.rn-filters.is-open .rn-filters__trigger-chevron {
    transform: rotate(180deg);
}

.rn-filters__popover {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    z-index: 1000;
    width: 0;
    height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    pointer-events: none;
}

.rn-filters.is-open .rn-filters__popover {
    display: block;
}

.rn-filters__layout {
    position: relative;
    width: 0;
    height: 0;
}

.rn-filters__groups {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    width: min(335px, calc(100vw - 32px));
    max-width: 335px;
    max-height: var(--rn-popover-max-h, 80vh);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 2px 8px 0 rgba(0, 0, 0, 0.15);
    overflow: hidden;
    pointer-events: auto;
}

.rn-filters__group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.7);
    transition: background 0.15s, color 0.15s;
    border: 0;
    background: transparent;
    text-align: left;
}

.rn-filters__group:hover,
.rn-filters__group.is-active {
    background: #f8fbfe;
}

.rn-filters__group-label {
    flex: 1;
}

.rn-filters__group-value {
    color: #2e48b1;
    font-weight: 600;
}

.rn-filters__group.has-selection .rn-filters__group-value {
    color: #2e48b1;
    font-weight: 600;
}

.rn-filters__group-chevron {
    color: rgba(0, 0, 0, 0.7);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.rn-filters__panes {
    position: absolute;
    top: 0;
    left: calc(min(335px, calc(100vw - 32px)) - 6px);
    right: auto;
    width: min(290px, calc(100vw - 32px));
    max-width: min(290px, calc(100vw - 32px));
    pointer-events: none;
}

.rn-filters__pane {
    display: none;
    position: absolute;
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 2px 8px 0 rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    overflow: hidden;
    box-sizing: border-box;
}

.rn-filters__pane.is-active {
    display: flex;
    flex-direction: column;
    max-height: var(--rn-popover-max-h, 80vh);
}

.rn-filters__search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    flex-shrink: 0;
    padding: 0 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    box-sizing: border-box;
}

.rn-filters__search-icon {
    position: static;
    transform: none;
    color: rgba(0, 0, 0, 0.37);
    flex-shrink: 0;
}

.rn-filters__search-input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    padding: 0 0 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    line-height: normal;
    color: rgba(0, 0, 0, 0.87);
    box-sizing: border-box!important;
}

.rn-filters__search-input:focus {
    border-left-color: #2e48b1;
    box-shadow: none;
    outline: 0;
}

.rn-filters__search-input::placeholder {
    color: rgba(0, 0, 0, 0.37);
}

.rn-filters__options {
    flex: 1;
    min-height: 0;
    max-height: 320px;
    overflow-y: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #1e2b48;
}

/* Firefox only: scrollbar-color is isolated here so it never reaches Chrome/Safari.
   @supports not selector(::-webkit-scrollbar) is true in Firefox (doesn't support
   the webkit pseudo-element) and false in Chrome/Safari (which do support it). */
@supports not selector(::-webkit-scrollbar) {
    .rn-filters__options {
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }

    .rn-filters__options:hover {
        scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    }
}

/* Chrome, Edge, Safari.
   scrollbar-color is intentionally absent here — if present, Chrome 121+ ignores
   all ::-webkit-scrollbar-* rules and falls back to OS overlay scrollbars on macOS.
   JS (release-notes.js) switches overflow-y to scroll on hover so the custom
   webkit scrollbar track is always rendered while hovered, allowing :hover to show
   the thumb (macOS overlay scrollbars only appear during scroll otherwise). */
@supports selector(::-webkit-scrollbar) {
    .rn-filters__options::-webkit-scrollbar {
        width: 10px;
    }

    .rn-filters__options::-webkit-scrollbar-track {
        background: transparent;
    }

    .rn-filters__options::-webkit-scrollbar-thumb {
        background-color: transparent;
        border-radius: 100px;
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .rn-filters__options:hover::-webkit-scrollbar-thumb {
        background-color: rgba(170, 170, 170, 0.75);
    }

    .rn-filters__options:hover::-webkit-scrollbar-thumb:hover {
        background-color: rgba(100, 100, 100, 0.9);
        border-width: 1.5px;
    }
}

.rn-filters__option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 12px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    transition: background 0.15s, color 0.15s;
    user-select: none;
    margin: 0;
}

.rn-filters__option:hover {
    background: #f8fbfe;
}

.rn-filters__option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2e48b1;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.rn-filters__select-all {
    min-height: 56px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 400;
}

.rn-filters__option-label {
    min-width: 0;
}

.rn-filters__platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
    opacity: 0.45;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.rn-filters__platform-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.rn-filters__option input[type="checkbox"]:checked + .rn-filters__platform-icon {
    opacity: 1;
    color: rgba(0, 0, 0, 0.6);
}

.rn-filters__type-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rn-filters__type-dot--new_feature {
    background: #9333ea;
}

.rn-filters__type-dot--enhancement {
    background: #4f46e5;
}

.rn-filters__type-dot--ui_ux_update {
    background: #06b6d4;
}

.rn-filters__type-dot--integration {
    background: #22c55e;
}

.rn-filters__type-dot--system_update {
    background: #64748b;
}

.rn-filters__type-dot--feature_removal {
    background: #ef4444;
}

.rn-filters__type-dot--highlights {
    background: #1f2937;
}

.rn-filters__groups-footer,
.rn-filters__pane-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    flex-shrink: 0;
}

.rn-filters__pane-footer .rn-filters__pane-reset,
.rn-filters__groups-footer .rn-filters__groups-reset {
    margin-right: auto;
}

.rn-filters__footer-btn {
    min-width: 84px;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.rn-filters__footer-btn--secondary {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: rgba(0, 0, 0, 0.7);
}

.rn-filters__footer-btn--secondary:hover {
    border-color: rgba(0, 0, 0, 0.18);
    background: #fff;
    color: rgba(0, 0, 0, 0.7);
}

.rn-filters__footer-btn--primary {
    border: 1px solid #80bf00;
    background: #80bf00;
    color: #fff;
}

.rn-filters__footer-btn--primary:hover {
    background: #8ace00;
    border-color: #8ace00;
}

/* ── Flipped state (popover opens above trigger) ─────────────── */
.rn-filters.is-flipped .rn-filters__groups {
    top: auto;
    bottom: 0;
}

.rn-filters.is-flipped .rn-filters__panes {
    top: auto;
    bottom: 0;
}

.rn-filters.is-flipped .rn-filters__pane {
    top: auto;
    bottom: 0;
}

/* ── Month Sections ───────────────────────────────────────────── */
.rn-month-section {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #fff;
}

.rn-month-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: #f8f9fb;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
    gap: 12px;
    position: sticky;
    top: 72px;
    z-index: 10;
    border-radius: 9px 9px 0 0;
}

.is-collapsed .rn-month-header {
    border-radius: 9px;
}

.rn-month-header:hover {
    background: #f0f2f5;
}

.rn-month-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.rn-month-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 14px;
    background: #e8eaed;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    flex-shrink: 0;
}

.rn-month-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    flex-shrink: 0;
}

/* Show minus icon when expanded (default) */
.rn-month-icon-minus {
    display: block;
}

.rn-month-icon-plus {
    display: none;
}

/* Show plus icon when collapsed */
.rn-month-section.is-collapsed .rn-month-icon-minus {
    display: none;
}

.rn-month-section.is-collapsed .rn-month-icon-plus {
    display: block;
}

.rn-month-section.is-collapsed .rn-month-body {
    display: none;
}

/* ── Releases Table Header ────────────────────────────────────── */
.rn-releases-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #eff0f2;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    color: #00000099;
    background: #fcfcfd;
}

/* Sortable column headers */
.rn-sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.rn-sortable:hover {
    color: #000000cc;
}

.rn-sort-indicator {
    display: inline-flex;
    flex-direction: column;
    width: 12px;
    height: 16px;
    position: relative;
    opacity: 0.3;
}

.rn-sort-indicator::before,
.rn-sort-indicator::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.rn-sort-indicator::before {
    top: 2px;
    border-bottom: 5px solid currentColor;
}

.rn-sort-indicator::after {
    bottom: 2px;
    border-top: 5px solid currentColor;
}

.rn-sortable:hover .rn-sort-indicator {
    opacity: 0.5;
}

.rn-sortable.is-sorted-asc .rn-sort-indicator,
.rn-sortable.is-sorted-desc .rn-sort-indicator {
    opacity: 1;
}

.rn-sortable.is-sorted-asc .rn-sort-indicator::after {
    opacity: 0.3;
}

.rn-sortable.is-sorted-desc .rn-sort-indicator::before {
    opacity: 0.3;
}

/* Column widths — shared by header and rows */
.rn-col-toggle {
    width: 36px;
    flex-shrink: 0;
}

.rn-col-name {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}

.rn-col-type {
    width: 160px;
    flex-shrink: 0;
    padding-right: 12px;
}

.rn-col-platform {
    width: 102px;
    flex-shrink: 0;
    padding-right: 12px;
    text-align: left;
}

.rn-page--planned .rn-col-platform {
    width: 112px;
}

.rn-col-date {
    width: 80px;
    flex-shrink: 0;
    text-align: left;
    padding-left: 20px;
}

.rn-col-status {
    width: 172px;
    flex-shrink: 0;
    text-align: left;
}

/* ── Release Row ──────────────────────────────────────────────── */
.rn-release-row {
    border-bottom: 1px solid #f3f4f6;
}

.rn-release-row:last-child {
    border-bottom: none;
}

.rn-release-row:last-child .rn-release-summary{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.rn-release-row:last-child .rn-release-summary:hover {
    background: #f9fafb;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.rn-release-row.is-expanded .rn-release-summary, .rn-release-row.is-expanded .rn-release-summary:hover{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.rn-release-row.is-expanded:last-child .rn-release-detail {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.rn-release-summary {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    cursor: pointer;
    transition: background 0.15s;
}

.rn-release-meta-group {
    display: contents;
}

.rn-release-summary:has(.rn-type-badge--filled) {
    background: #9333EA08;
}

.rn-release-summary:hover {
    background: #f9fafb;
}

.rn-release-row.is-expanded>.rn-release-summary {
    background: #f5f7fa;
}

/* Toggle icon */
.rn-release-toggle-icon {
    display: flex;
    align-items: center;
}

.rn-release-toggle-icon svg {
    transition:
        transform 0.2s,
        color 0.2s;
}

.rn-release-row.is-expanded .rn-release-toggle-icon svg {
    transform: rotate(90deg);
    color: #4b5563;
}

.rn-release-row.rn-no-expand .rn-release-toggle-icon svg {
    color: #b0b5bd;
    visibility: hidden;
}

.rn-release-row.rn-no-expand .rn-release-summary {
    cursor: default;
}

/* Release Name */
.rn-release-name {
    color: rgba(0, 0, 0, 0.70);
    font-family: "Open Sans", sans-serif;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Multiline Release Name – allows wrapping with preserved line breaks */
.rn-release-name.rn-release-name--multiline {
    white-space: pre-line;
    text-overflow: unset;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ── Release Type Badge ───────────────────────────────────────── */
.rn-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4b5563;
    white-space: nowrap;
}

.rn-type-badge .rn-col-type .rn-type-badge {
    display: flex;
}

.rn-col-type .rn-type-badge+.rn-type-badge {
    margin-top: 4px;
}

.rn-release-platform {
    display: flex;
    align-items: center;
    min-height: 24px;
}

.rn-platform-list {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    min-width: 0;
}

.rn-platform-list--text {
    gap: 0;
}

.rn-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
    opacity: 1;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.rn-platform-icon[title] {
    cursor: pointer;
}

.rn-platform-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.rn-platform-icon.is-inactive {
    opacity: 0.38;
}

.rn-platform-label {
    font-size: 14px;
    line-height: 20px;
    color: #6b7280;
    white-space: nowrap;
}

.rn-type-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

/* Type colors */
.rn-type-dot.rn-type--enhancement {
    background-color: #4F46E5;
}

.rn-type-dot.rn-type--new_feature {
    background-color: #9333EA;
}

.rn-type-dot.rn-type--ui_ux_update {
    background-color: #06B6D4;
}

.rn-type-dot.rn-type--integration {
    background-color: #22C55E;
}

.rn-type-dot.rn-type--system_update {
    background-color: #64748B;
}

.rn-type-dot.rn-type--feature_removal {
    background-color: #EF4444;
}

/* Filled type colors */
.rn-type-dot.rn-type--filled_enhancement,
.rn-type--filled_enhancement {
    background-color: #4F46E5;
    color: #4F46E5;
}

.rn-type-dot.rn-type--filled_new_feature,
.rn-type--filled_new_feature {
    background-color: #9333EA;
    color: #9333EA;
}

.rn-type-dot.rn-type--filled_ui_ux_update,
.rn-type--filled_ui_ux_update {
    background-color: #06B6D4;
    color: #06B6D4;
}

.rn-type-dot.rn-type--filled_integration,
.rn-type--filled_integration {
    background-color: #22C55E;
    color: #22C55E;
}

.rn-type-dot.rn-type--filled_system_update,
.rn-type--filled_system_update {
    background-color: #64748B;
    color: #64748B;
}

.rn-type-dot.rn-type--filled_feature_removal,
.rn-type--filled_feature_removal {
    background-color: #EF4444;
    color: #EF4444;
}

/* ── Filled Type Badges (with colored background) ───────────── */
.rn-type-badge.rn-type--filled_new_feature,
.rn-type-badge.rn-type--filled_enhancement,
.rn-type-badge.rn-type--filled_ui_ux_update,
.rn-type-badge.rn-type--filled_integration,
.rn-type-badge.rn-type--filled_system_update,
.rn-type-badge.rn-type--filled_feature_removal {
    background-color: unset;
}

.rn-type-badge--filled {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    position: relative;
    color: #ffffff;
}

.rn-type-badge--filled::after {
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8" fill="none"%3E%3Cpath d="M3.99984 5.7565L6.05984 6.99984L5.51317 4.6565L7.33317 3.07984L4.9365 2.8765L3.99984 0.666504L3.06317 2.8765L0.666504 3.07984L2.4865 4.6565L1.93984 6.99984L3.99984 5.7565Z" fill="%23FAFCFE"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* .rn-type-badge--filled .rn-type-dot {
  display: none;
} */

.rn-type-badge--filled_enhancement {
    background-color: #4F46E5;
}

.rn-type-badge--filled_new_feature {
    background-color: #9333EA;
}

.rn-type-badge--filled_ui_ux_update {
    background-color: #06B6D4;
}

.rn-type-badge--filled_integration {
    background-color: #22C55E;
}

.rn-type-badge--filled_system_update {
    background-color: #64748B;
}

.rn-type-badge--filled_feature_removal {
    background-color: #EF4444;
}

/* Platform / Date text */
.rn-release-platform,
.rn-release-date {
    font-size: 14px;
    color: #6b7280;
}

.rn-release-status {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.rn-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    border: 0.5px solid transparent;
    font-family: "Open Sans", sans-serif;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    line-height: 22px;
    white-space: nowrap;
    letter-spacing: 0;
    box-sizing: border-box;
}

.rn-status-badge--in_development {
    border-color: #C9DBFF;
    background: #E8F1FF;
    color: #2F5FD0;
}

.rn-status-badge--planned {
    border-color: #DDD2FF;
    background: #F2ECFF;
    color: #6B4FD6;
}

.rn-status-badge--in_testing {
    border-color: #CBEBDD;
    background: #E7F6EF;
    color: #2E8B57;
}

.rn-no-value {
    color: #c4c9d1;
}

/* ── Release Detail (expandable content) ──────────────────────── */
.rn-release-detail {
    display: none;
    padding: 20px;
    border-top: 1px solid #eff1f3;
    background: #fafbfc;
}

.rn-release-row.is-expanded .rn-release-detail {
    display: block;
}

.rn-release-description {
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
}

.rn-release-description p {
    margin: 0 0 12px;
}

.rn-release-description p:last-child {
    margin-bottom: 0;
}

.rn-release-description img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rn-release-description ul,
.rn-release-description ol {
    margin: 0 0 12px 20px;
    padding: 0;
}

.rn-release-description li {
    margin-bottom: 4px;
}

.rn-release-description a {
    color: #0d47a1;
    transition: all .15s ease-in-out;
}

.rn-release-description a.btn {
    background-color: #cfed6b;
    color: #33691e;
    font-weight: 700;
    text-decoration: none;
}

.rn-release-description a:hover {
    color: #1a237e;
}

.rn-release-description a.btn:hover {
    background-color: #c3db64;
    color: #33691e;
}

/* ── No Results / No Data ─────────────────────────────────────── */
.rn-no-results,
.rn-no-data {
    text-align: center;
    padding: 48px 20px;
    font-size: 15px;
    color: #8b919a;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px dashed #d1d5db;
}

/* ── Post Content (below months on single page) ───────────────── */
.rn-post-content {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991px) {
    .rn-col-type {
        width: 150px;
    }

    .rn-col-platform {
        width: 102px;
    }

    .rn-page--planned .rn-col-platform {
        width: 112px;
    }

    .rn-col-status {
        width: 164px;
    }
}

@media (max-width: 1299px) {
    .rn-page,
    .rn-months-wrapper,
    .rn-month-section,
    .rn-month-body {
        max-width: 100%;
    }

    .rn-toolbar {
        position: relative;
    }

    .rn-filters {
        position: relative;
    }

    .rn-filters__popover {
        left: 0;
        right: auto;
        width: min(619px, var(--rn-filters-max-w, calc(100vw - 310px)));
        max-width: min(619px, var(--rn-filters-max-w, calc(100vw - 310px)));
        height: auto;
        pointer-events: auto;
    }

    .rn-filters__layout {
        display: grid;
        grid-template-columns: minmax(180px, 0.536fr) minmax(160px, 0.464fr);
        align-items: start;
        gap: 8px;
        width: 100%;
        height: auto;
    }

    .rn-filters__groups {
        position: static;
        width: 100%;
        max-width: none;
    }

    .rn-filters__panes {
        position: static;
        left: auto;
        right: auto;
        margin-left: -12px;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-top: 0;
        pointer-events: auto;
    }

    .rn-filters__pane {
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
    }

    /* Reset flipped absolute overrides — grid layout handles flow */
    .rn-filters.is-flipped .rn-filters__groups,
    .rn-filters.is-flipped .rn-filters__panes,
    .rn-filters.is-flipped .rn-filters__pane {
        top: auto;
        bottom: auto;
    }

    /* Flipped: align grid items to bottom so groups stay near the trigger */
    .rn-filters.is-flipped .rn-filters__layout {
        align-items: end;
    }

    .rn-filters__footer-btn {
        min-width: 0;
    }

    .rn-filters__pane.is-active {
        min-height: 100%;
    }

}

@media (max-width: 768px) {
    .rn-toolbar {
        position: relative;
        align-items: stretch;
        flex-direction: row;
    }

    .rn-search-wrap {
        width: 70%;
    }

    .rn-filters {
        width: 28%;
    }

    .rn-filters__trigger {
        width: 100%;
        justify-content: center;
    }

    .rn-filters__popover {
        position: absolute;
        right: 0;
        left: auto;
        width: min(270px, calc(100vw - 32px));
        height: auto;
        pointer-events: auto;
    }

    .rn-filters__layout {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
    }

    .rn-filters__groups {
        position: static;
        width: 100%;
        max-width: none;
    }

    .rn-filters__group {
        padding: 14px 16px;
    }

    .rn-filters__panes {
        position: absolute;
        top: 0;
        right: calc(100% - 6px);
        left: auto;
        width: min(240px, calc(100vw - 32px));
        max-width: min(240px, calc(100vw - 32px));
        pointer-events: none;
    }

    .rn-filters__pane {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        max-width: none;
    }

    /* Flipped: panes are absolute again at this breakpoint — anchor from bottom */
    .rn-filters.is-flipped .rn-filters__panes {
        top: auto;
        bottom: 0;
    }

    .rn-filters.is-flipped .rn-filters__pane {
        top: auto;
        bottom: 0;
    }

    .rn-filters__options {
        max-height: 280px;
    }

    .rn-month-header {
        top: 64px;
    }

    /* Hide table header on mobile */
    .rn-releases-header {
        display: none;
    }

    /* Grid layout for release row on mobile */
    .rn-release-summary {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            'name toggle'
            'meta date';
        gap: 12px 8px;
        padding: 16px 20px;
        align-items: start;
    }

    .rn-release-summary:has(.rn-type-badge--filled) {
        background: unset;
    }

    .rn-release-date {
        grid-area: date;
        color: #00000099;
        font-size: 14px;
        padding: 0;
        width: auto;
        position: static;
        text-align: right;
        justify-self: end;
        align-self: center;
    }

    .rn-release-platform {
        padding: 0;
        width: auto;
        min-height: 32px;
    }

    .rn-release-toggle-icon {
        grid-area: toggle;
        width: 36px;
        justify-self: end;
        align-self: center;
    }

    .rn-release-toggle-icon svg {
        color: #00000099;
    }

    .rn-release-name {
        grid-area: name;
        padding: 0;
        width: auto;
    }

    .rn-release-meta-group {
        grid-area: meta;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        min-width: 0;
    }

    .rn-col-type {
        grid-column: auto;
        grid-row: auto;
        font-size: 12px;
        padding: 0;
        width: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .rn-col-type .rn-type-badge {
        display: inline-flex;
        background-color: rgba(0, 0, 0, 0.03);
        padding: 5px 8px;
        border-radius: 46px;
    }

    .rn-col-type .rn-type-badge+.rn-type-badge {
        margin-top: 0;
    }

    .rn-platform-list {
        min-height: 32px;
        padding: 4px 8px;
        border-radius: 36px;
        background: rgba(0, 0, 0, 0.03);
    }

    .rn-platform-list--text {
        padding: 5px 10px;
    }

    /* Reset flex-based properties from desktop */
    .rn-col-toggle {
        width: auto;
    }

    .rn-col-name {
        width: auto;
        flex: none;
    }

    .rn-page--planned .rn-release-status {
        grid-area: date;
        width: auto;
        padding: 0;
        justify-self: end;
        align-self: center;
    }

    .rn-page--planned .rn-status-badge {
        min-height: 24px;
        padding: 0 8px;
        font-size: 14px;
        line-height: 18px;
    }

    .rn-release-detail {
        padding: 16px;
    }

    .rn-month-header {
        padding: 12px 16px;
    }

    .rn-month-title {
        font-size: 15px;
    }
}

@media (max-width: 700px) {
    .rn-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .rn-search-wrap {
        width: 100%;
    }

    .rn-filters {
        width: 100%;
    }

    .rn-filters__popover {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }

    .rn-filters__layout {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        height: var(--rn-popover-max-h, 80vh);
        max-height: var(--rn-popover-max-h, 80vh);
        overflow: hidden;
    }

    .rn-filters__groups {
        position: static;
        width: 100%;
        max-width: none;
        max-height: none;
        flex-shrink: 0;
    }

    .rn-filters__panes {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        margin-top: -6px;
        margin-left: 0;
        width: 100%;
        max-width: none;
        min-height: 0;
        flex: 1 1 0;
        overflow: hidden;
        pointer-events: auto;
    }

    .rn-filters__pane {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        height: 100%;
        max-height: 100%;
        max-width: none;
    }

    .rn-filters.has-active-pane .rn-filters__groups {
        display: none;
    }

    .rn-filters.has-active-pane .rn-filters__panes {
        margin-top: 0;
        max-height: 345px;
    }
}