:root {
    color-scheme: light;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #17324d;
    background: #e9f0f4;
    --brand-blue: #0875ad;
    --brand-blue-dark: #075a88;
    --brand-blue-deep: #12435f;
    --brand-teal: #168b83;
    --brand-teal-soft: #e8f6f4;
    --surface: #ffffff;
    --surface-soft: #f5f9fb;
    --surface-blue: #eef7fb;
    --border: #cad9e2;
    --border-soft: #dce6ec;
    --text: #17324d;
    --muted: #60778a;
    --important: #a54537;
    --important-soft: #fff4f1;
    --success: #267a4c;
    --success-soft: #eaf7ef;
    --warning: #a75a10;
    --warning-soft: #fff4e7;
    --focus: #f4b400;
    --shadow: 0 12px 28px rgba(24, 57, 78, 0.08);
    --shadow-hover: 0 16px 34px rgba(24, 57, 78, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 8% 0%, rgba(22, 139, 131, 0.12), transparent 28rem),
        radial-gradient(circle at 96% 5%, rgba(8, 117, 173, 0.12), transparent 30rem),
        #e9f0f4;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: var(--brand-blue-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--brand-blue);
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
}

.portal-shell {
    width: min(100% - 36px, 1140px);
    margin: 0 auto;
    padding: 28px 0 42px;
}

.portal-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    min-height: 220px;
    padding: 34px 42px;
    overflow: hidden;
    border-radius: 18px;
    color: #ffffff;
    background:
        linear-gradient(125deg, rgba(7, 90, 136, 0.98), rgba(8, 117, 173, 0.95) 58%, rgba(22, 139, 131, 0.95));
    box-shadow: var(--shadow);
}

.portal-header::before,
.portal-header::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.portal-header::before {
    top: -110px;
    right: 35px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.portal-header::after {
    right: -70px;
    bottom: -160px;
    width: 340px;
    height: 340px;
    background: rgba(255, 255, 255, 0.06);
}

.portal-header__content,
.portal-header__visual {
    position: relative;
    z-index: 1;
}

.portal-header__brand,
.portal-footer__brand {
    line-height: 0;
}

.portal-header__brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
}

.portal-brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.portal-brand-logo--header {
    width: min(280px, 46vw);
}

.portal-brand-logo--footer {
    width: min(240px, 48vw);
}

.portal-header h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.portal-header p {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 2vw, 19px);
}

.portal-header__visual {
    display: grid;
    place-items: center;
    justify-self: end;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(3deg);
}

.portal-header__visual svg {
    width: 66px;
    height: 66px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
    padding: 8px;
    border: 1px solid rgba(186, 205, 216, 0.9);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(24, 57, 78, 0.06);
}

.portal-navigation__link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 9px;
    color: var(--brand-blue-deep);
    font-weight: 700;
    text-decoration: none;
    transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}

.portal-navigation__link:hover {
    color: var(--brand-blue-dark);
    background: var(--surface-blue);
    transform: translateY(-1px);
}

.portal-navigation__link--active,
.portal-navigation__link--active:hover {
    color: #ffffff;
    background: linear-gradient(125deg, var(--brand-blue-dark), var(--brand-teal));
}

.portal-section,
.download-overview > article,
.portal-metric {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(24, 57, 78, 0.06);
}

.portal-section {
    margin-top: 16px;
    padding: 26px;
    border-radius: 15px;
}

.portal-section--important {
    border-color: #e5b9b1;
    background:
        linear-gradient(135deg, rgba(255, 244, 241, 0.96), #ffffff 48%);
}

.portal-section__heading {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--border-soft);
}

.portal-section__heading > div:first-child {
    min-width: 0;
}

.portal-section__heading h2 {
    margin: 3px 0 0;
    color: #142f47;
    font-size: clamp(22px, 3vw, 29px);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.portal-section__heading p {
    margin: 7px 0 0;
    color: var(--muted);
}

.portal-kicker {
    color: var(--brand-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.portal-count {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--brand-blue-dark);
    background: var(--surface-blue);
    font-size: 14px;
    font-weight: 800;
}

.portal-empty {
    margin: 0;
    color: var(--muted);
}

.portal-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 14px 3px 0;
    color: var(--muted);
    font-size: 14px;
}

.portal-breadcrumbs > *:not(:last-child)::after {
    margin-left: 8px;
    color: #9aabba;
    content: "/";
}

.portal-breadcrumbs a {
    font-weight: 650;
    text-decoration: none;
}

.portal-breadcrumbs span[aria-current="page"] {
    color: var(--text);
    font-weight: 700;
}

.portal-back {
    margin: 15px 3px 0;
}

.portal-back a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 11px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.portal-back a:hover {
    background: var(--surface-blue);
}

.portal-button {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 9px;
    color: #ffffff;
    background: linear-gradient(125deg, var(--brand-blue-dark), var(--brand-blue));
    box-shadow: 0 7px 16px rgba(7, 90, 136, 0.2);
    font-weight: 700;
    text-decoration: none;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.portal-button:hover {
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(7, 90, 136, 0.28);
    transform: translateY(-1px);
}

.portal-button--document > span:first-child {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 20px;
}

.portal-button--document > span:last-child {
    display: grid;
}

.portal-button--document small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 500;
}

.portal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
}

.portal-badge--category {
    color: #12617f;
    background: #e8f5f9;
}

.portal-badge--document {
    color: #426178;
    background: #edf2f5;
}

.portal-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.portal-metric {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 14px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 13px;
}

.portal-metric strong {
    grid-row: 1 / span 2;
    color: var(--brand-blue-dark);
    font-size: 34px;
    line-height: 1;
}

.portal-metric span {
    color: #18384f;
    font-weight: 800;
}

.portal-metric small {
    color: var(--muted);
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.faq-category {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    gap: 12px;
    align-items: center;
    min-height: 78px;
    padding: 13px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    color: inherit;
    background: var(--surface-soft);
    text-decoration: none;
    transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.faq-category:hover {
    border-color: #9cbecf;
    color: inherit;
    background: #f2fafc;
    box-shadow: 0 9px 18px rgba(24, 57, 78, 0.09);
    transform: translateY(-2px);
}

.faq-category__number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(140deg, var(--brand-blue), var(--brand-teal));
    font-size: 13px;
    font-weight: 850;
}

.faq-category__content {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.faq-category__content strong {
    overflow-wrap: anywhere;
    color: #17324d;
    line-height: 1.25;
}

.faq-category__content small {
    color: var(--muted);
    font-size: 12px;
}

.faq-category__arrow {
    color: var(--brand-blue-dark);
    font-size: 25px;
    font-weight: 800;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.faq-card {
    display: flex;
    flex-direction: column;
    min-height: 158px;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    color: inherit;
    background: var(--surface-soft);
    text-decoration: none;
    transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.faq-card:hover {
    border-color: #96becf;
    color: inherit;
    background: #f3fafc;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.portal-section--important .faq-card {
    border-color: #efd5cf;
    background: rgba(255, 255, 255, 0.82);
}

.portal-section--important .faq-card:hover {
    border-color: #d9a79c;
}

.faq-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.faq-card__topline time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.faq-card__headline {
    margin: 14px 0 18px;
    overflow-wrap: anywhere;
    color: #17324d;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
}

.faq-card__footer {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid var(--border-soft);
}

.faq-card__action {
    color: var(--brand-blue-dark);
    font-size: 13px;
    font-weight: 750;
}

.faq-card__arrow {
    margin-left: auto;
    color: var(--brand-blue-dark);
    font-size: 24px;
    line-height: 1;
}

.faq-article {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.faq-article::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(var(--brand-blue), var(--brand-teal));
    content: "";
}

.faq-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.faq-article__meta time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.faq-article__label {
    margin-bottom: 8px;
    color: var(--brand-teal);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.faq-article__text {
    color: #263f55;
    font-size: 17px;
    line-height: 1.68;
    white-space: pre-wrap;
}

.faq-article__document {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}


.news-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.news-overview > article {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 132px;
    padding: 24px 26px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(24, 57, 78, 0.06);
}

.news-overview__primary {
    color: #ffffff;
    background: linear-gradient(130deg, var(--brand-blue-dark), var(--brand-blue), var(--brand-teal)) !important;
}

.news-overview__primary::after {
    position: absolute;
    right: -38px;
    bottom: -54px;
    width: 150px;
    height: 150px;
    border: 22px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.news-overview__primary .portal-kicker {
    color: rgba(255, 255, 255, 0.78);
}

.news-overview > article > strong {
    position: relative;
    z-index: 1;
    color: var(--brand-blue-dark);
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1;
}

.news-overview > .news-overview__primary > strong,
.news-overview > .news-overview__primary > span {
    color: #ffffff;
}

.news-overview > article > span {
    position: relative;
    z-index: 1;
    color: var(--muted);
}

.news-promotion {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    overflow: hidden;
    border-color: #e2c3a1;
    background: linear-gradient(130deg, #fff8ed, #ffffff 60%);
}

.news-promotion::after {
    position: absolute;
    top: -82px;
    right: -45px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(244, 180, 0, 0.08);
    content: "";
}

.news-promotion__marker {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(145deg, #c86c14, #ef9a31);
    box-shadow: 0 12px 25px rgba(167, 90, 16, 0.22);
    font-size: 38px;
    font-weight: 850;
}

.news-promotion__content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.news-promotion h2 {
    margin: 3px 0 0;
    color: #603b16;
    font-size: clamp(22px, 3vw, 29px);
}

.news-promotion__headline {
    margin: 10px 0 0;
    color: #3e4b55;
    font-size: 18px;
    font-weight: 750;
}


.news-year + .news-year {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border-soft);
}

.news-year__heading {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 11px;
}

.news-year__heading > span {
    color: var(--brand-blue-deep);
    font-size: 21px;
}

.news-year__heading > small {
    padding: 3px 9px;
    border-radius: 999px;
    color: var(--muted);
    background: #edf3f6;
    font-size: 11px;
    font-weight: 750;
}

.news-list {
    display: grid;
    gap: 10px;
}

.news-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 24px;
    gap: 16px;
    align-items: center;
    min-height: 104px;
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    color: inherit;
    background: var(--surface-soft);
    text-decoration: none;
    transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.news-card--link:hover {
    border-color: #91bdcf;
    color: inherit;
    background: #f1fafc;
    box-shadow: 0 10px 22px rgba(24, 57, 78, 0.1);
    transform: translateY(-1px);
}

.news-card__date {
    display: grid;
    place-items: center;
    width: 58px;
    min-height: 66px;
    border: 1px solid #c7dfe9;
    border-radius: 12px;
    color: var(--brand-blue-dark);
    background: #eaf6fa;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.news-card__date strong {
    font-size: 23px;
    line-height: 1;
}

.news-card__date span {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card__content {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.news-card__headline {
    overflow-wrap: anywhere;
    color: #17324d;
    font-size: 17px;
    line-height: 1.32;
}


.news-card__meta {
    color: #668092;
    font-size: 12px;
    font-weight: 650;
}

.news-card__arrow {
    color: var(--brand-blue-dark);
    font-size: 26px;
    font-weight: 800;
}

.download-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 14px;
    margin-top: 16px;
}

.download-overview > article {
    min-height: 270px;
    padding: 28px;
    border-radius: 16px;
}

.download-current {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(135deg, #075a88, #0875ad 56%, #168b83) !important;
}

.download-current::after {
    position: absolute;
    right: -50px;
    bottom: -80px;
    width: 230px;
    height: 230px;
    border: 34px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.download-current .portal-kicker,
.download-current h2,
.download-current__version,
.download-current__meta,
.download-current__icon {
    position: relative;
    z-index: 1;
}

.download-current .portal-kicker {
    color: #b5eee8;
}

.download-current h2,
.download-liveupdate h2 {
    margin: 6px 0 0;
    font-size: 23px;
    line-height: 1.2;
}

.download-current h2 {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.download-current__icon {
    display: grid;
    place-items: center;
    float: right;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 30px;
    font-weight: 700;
}

.download-current__version {
    margin: 24px 0 20px;
    font-size: clamp(48px, 8vw, 76px);
    font-weight: 850;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.download-current__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.download-current__meta > span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.download-current__hotfix {
    color: #fff7d7;
}

.download-liveupdate {
    background:
        linear-gradient(145deg, #ffffff, #f6fbfc) !important;
}

.download-liveupdate h2 {
    color: #17324d;
}

.download-steps {
    display: grid;
    gap: 13px;
    margin: 23px 0 0;
    padding: 0;
    list-style: none;
}

.download-steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.download-steps li > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
    font-size: 14px;
    font-weight: 850;
}

.download-steps li > div {
    display: grid;
    gap: 2px;
}

.download-steps small {
    color: var(--muted);
}

kbd {
    padding: 2px 6px;
    border: 1px solid #b9cbd5;
    border-bottom-width: 2px;
    border-radius: 5px;
    color: #18384f;
    background: #edf3f6;
    font: 700 12px/1.2 "Segoe UI", Arial, sans-serif;
}

.download-liveupdate__note {
    margin: 19px 0 0;
    padding: 10px 12px;
    border-left: 4px solid var(--brand-teal);
    color: #35566b;
    background: var(--brand-teal-soft);
    font-size: 13px;
}

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

.download-roadmap-card {
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: var(--surface-soft);
}

.download-roadmap-card--planned {
    border-top: 4px solid var(--brand-blue);
}

.download-roadmap-card--progress {
    border-top: 4px solid var(--brand-teal);
}

.download-roadmap-card__header {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.download-roadmap-card h3 {
    margin: 0;
    color: #17324d;
    font-size: 18px;
}

.download-roadmap-card__header > span {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--brand-blue-dark);
    background: var(--surface-blue);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.download-roadmap-card--progress .download-roadmap-card__header > span {
    color: #17645e;
    background: var(--brand-teal-soft);
}

.download-roadmap {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.download-roadmap li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    color: #2a455a;
}

.download-roadmap li > span:first-child {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--brand-teal);
    font-size: 11px;
    font-weight: 800;
}

.release-history {
    display: grid;
    gap: 10px;
}

.release-version {
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: var(--surface-soft);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.release-version:hover {
    border-color: #a8c5d3;
}

.release-version--current {
    border-color: #81bf9a;
    box-shadow: 0 8px 18px rgba(38, 122, 76, 0.1);
}

.release-version--future {
    border-color: #b5cfe0;
}

.release-version > summary {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    min-height: 72px;
    padding: 13px 16px;
    cursor: pointer;
    list-style: none;
}

.release-version > summary::-webkit-details-marker {
    display: none;
}

.release-version > summary::before {
    grid-column: 1;
    color: var(--brand-blue-dark);
    content: "›";
    font-size: 25px;
    font-weight: 850;
    transition: transform 120ms ease;
}

.release-version[open] > summary::before {
    transform: rotate(90deg);
}

.release-version__main {
    display: grid;
    grid-column: 2;
    gap: 1px;
}

.release-version__state {
    color: var(--brand-teal);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.release-version--current .release-version__state {
    color: var(--success);
}

.release-version__title {
    color: #17324d;
    font-size: 17px;
    font-weight: 800;
}

.release-version__date {
    color: var(--muted);
    font-size: 12px;
}

.release-version__count {
    grid-column: 3;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--muted);
    background: #eaf1f5;
    font-size: 12px;
    font-weight: 700;
}

.release-version__content {
    padding: 15px 16px 17px 51px;
    border-top: 1px solid var(--border-soft);
    background: #ffffff;
}

.release-subsection-heading {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.release-subsection-heading h3 {
    margin: 0;
    color: #24435a;
    font-size: 15px;
}

.release-subsection-heading > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.release-subsection-heading--hotfix h3 {
    color: #1c685f;
}

.release-hotfixes {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-soft);
}

.release-base {
    margin-top: 2px;
}

.release-hotfix {
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #c8e1dc;
    border-left: 5px solid var(--brand-teal);
    border-radius: 9px;
    background: #f4faf9;
}

.release-hotfix > summary {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
}

.release-hotfix > summary::-webkit-details-marker {
    display: none;
}

.release-hotfix > summary::before {
    color: var(--brand-teal);
    content: "›";
    font-size: 22px;
    font-weight: 850;
    transition: transform 120ms ease;
}

.release-hotfix[open] > summary::before {
    transform: rotate(90deg);
}

.release-hotfix[open] > summary {
    background: #ebf7f4;
}

.release-hotfix__title {
    color: #1c5852;
    font-size: 15px;
    font-weight: 800;
}

.release-hotfix__count {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.release-hotfix__content {
    padding: 11px 12px 12px 40px;
    border-top: 1px solid #d6ebe7;
    background: #ffffff;
}

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

.release-hotfix .release-notes {
    margin: 0;
}

.release-note {
    display: grid;
    grid-template-columns: 64px 82px auto minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 10px 11px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: var(--surface-soft);
}

.release-note__type {
    display: inline-flex;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
}

.release-note--solved .release-note__type {
    color: var(--success);
    background: var(--success-soft);
}

.release-note--new .release-note__type {
    color: var(--brand-blue-dark);
    background: var(--surface-blue);
}

.release-note__date,
.release-note__ticket {
    padding-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.release-note__ticket {
    color: #476579;
    font-weight: 700;
}

.release-note__text {
    overflow-wrap: anywhere;
    color: #2a455a;
}

.portal-footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px 4px 0;
    border-top: 1px solid rgba(169, 192, 205, 0.8);
}

.portal-footer__brand {
    display: inline-flex;
    align-items: center;
}

.portal-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.portal-footer a {
    font-weight: 650;
}

@media (max-width: 900px) {
    .portal-header {
        grid-template-columns: minmax(0, 1fr) 104px;
        min-height: 190px;
        padding: 30px;
    }

    .portal-header__visual {
        width: 92px;
        height: 92px;
        border-radius: 22px;
    }

    .portal-header__visual svg {
        width: 54px;
        height: 54px;
    }

    .portal-metrics,
    .faq-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-metric:last-child {
        grid-column: 1 / -1;
    }

    .news-overview,
    .download-overview {
        grid-template-columns: 1fr;
    }

    .download-overview > article {
        min-height: auto;
    }

    .release-note {
        grid-template-columns: 64px 82px minmax(0, 1fr);
    }

    .release-note__ticket {
        grid-column: 1 / 2;
    }

    .release-note__text {
        grid-column: 2 / -1;
    }
}

@media (max-width: 680px) {
    .portal-shell {
        width: min(100% - 20px, 1140px);
        padding: 10px 0 26px;
    }

    .portal-header {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 25px 22px;
        border-radius: 14px;
    }

    .portal-header__visual {
        display: none;
    }

    .portal-header h1 {
        font-size: clamp(30px, 11vw, 42px);
    }

    .portal-navigation {
        gap: 5px;
        padding: 6px;
        border-radius: 11px;
    }

    .portal-navigation__link {
        flex: 1 1 auto;
        justify-content: center;
        min-height: 38px;
        padding: 7px 10px;
        font-size: 14px;
    }

    .portal-section,
    .download-overview > article {
        padding: 19px;
        border-radius: 12px;
    }

    .portal-section__heading {
        gap: 12px;
        margin-bottom: 15px;
        padding-bottom: 13px;
    }

    .portal-section__heading p {
        font-size: 14px;
    }

    .portal-metrics,
    .faq-categories,
    .faq-list,
    .download-roadmap-grid {
        grid-template-columns: 1fr;
    }

    .portal-metric:last-child {
        grid-column: auto;
    }

    .faq-card {
        min-height: 140px;
    }

    .faq-article {
        padding-left: 24px;
    }

    .news-promotion {
        grid-template-columns: 1fr;
    }

    .news-promotion__marker {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 28px;
    }

    .news-card {
        grid-template-columns: 54px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 12px;
    }

    .news-card__date {
        width: 50px;
        min-height: 58px;
    }

    .release-hotfix > summary {
        grid-template-columns: 16px minmax(0, 1fr);
    }

    .release-hotfix__count {
        grid-column: 2;
    }

    .release-hotfix__content {
        padding: 10px;
    }

    .download-current__version {
        font-size: 58px;
    }

    .release-version > summary {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    .release-version__count {
        grid-column: 2;
        justify-self: start;
        margin-top: 4px;
    }

    .release-version__content {
        padding: 13px;
    }

    .release-note {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .release-note__type,
    .release-note__date,
    .release-note__ticket,
    .release-note__text {
        grid-column: auto;
    }

    .release-note__text {
        grid-column: 1 / -1;
    }

    .portal-footer {
        display: grid;
        justify-content: start;
    }
}

@media (max-width: 430px) {
    body {
        font-size: 15px;
    }

    .portal-header {
        padding: 22px 18px;
    }

    .portal-header p {
        font-size: 15px;
    }

    .portal-section,
    .download-overview > article {
        padding: 16px;
    }

    .portal-count {
        min-width: 36px;
        height: 36px;
    }

    .faq-category {
        grid-template-columns: 38px minmax(0, 1fr) 18px;
        padding: 11px;
    }

    .news-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .news-card__date {
        width: 44px;
        min-height: 54px;
    }

    .news-card__arrow {
        display: none;
    }

    .faq-category__number {
        width: 38px;
        height: 38px;
    }

    .download-current__version {
        font-size: 50px;
    }

    .download-current__meta > span {
        width: 100%;
        border-radius: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
