:root {
    --akf-navy: #08213b;
    --akf-blue: #0b568c;
    --akf-blue-hover: #073f68;
    --akf-text: #18283a;
    --akf-muted: #6a7582;
    --akf-border: #dbe2e8;
    --akf-border-soft: #e9eef2;
    --akf-bg: #ffffff;
    --akf-bg-soft: #f6f8fa;
    --akf-radius: 8px;
}

.akf-comparison,
.akf-data-block,
.akf-summary {
    width: 100%;
    color: var(--akf-text);
    font-size: 15px;
    line-height: 1.5;
}

.akf-comparison *,
.akf-data-block *,
.akf-summary * {
    box-sizing: border-box;
}

.akf-comparison__bar,
.akf-data-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 2px 12px;
    color: var(--akf-navy);
}

.akf-comparison__bar strong,
.akf-data-block__header strong {
    font-size: 17px;
    font-weight: 700;
}

.akf-comparison__bar span,
.akf-data-block__header span {
    color: var(--akf-muted);
    font-size: 13px;
}

.akf-comparison__labels {
    display: grid;
    grid-template-columns: minmax(310px, 1.8fr) repeat(4, minmax(90px, .6fr)) 112px;
    gap: 12px;
    padding: 10px 16px;
    border-top: 2px solid var(--akf-navy);
    border-bottom: 1px solid var(--akf-border);
    color: #586575;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.akf-comparison__rows {
    border-bottom: 1px solid var(--akf-border);
}

.akf-row {
    display: grid;
    grid-template-columns: minmax(310px, 1.8fr) repeat(4, minmax(90px, .6fr)) 112px;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--akf-border-soft);
    background: var(--akf-bg);
}

.akf-row:last-child {
    border-bottom: 0;
}

.akf-row:hover {
    background: #fbfcfd;
}

.akf-row__identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.akf-row__identity-text {
    min-width: 0;
}

.akf-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 72px;
    width: 72px;
    height: 52px;
    padding: 5px;
    border: 1px solid var(--akf-border-soft);
    background: #fff;
}

.akf-logo--small {
    flex-basis: 46px;
    width: 46px;
    height: 34px;
    padding: 3px;
}

.akf-logo--large {
    flex-basis: 92px;
    width: 92px;
    height: 66px;
    padding: 7px;
}

.akf-logo img,
.akf-logo__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.akf-row__name {
    display: inline-block;
    margin: 0;
    color: var(--akf-navy);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
}

a.akf-row__name:hover,
a.akf-row__name:focus {
    color: var(--akf-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.akf-row__type {
    display: block;
    margin-top: 3px;
    color: var(--akf-muted);
    font-size: 12px;
    font-weight: 600;
}

.akf-row__target {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    color: #475463;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.akf-metric {
    min-width: 0;
}

.akf-metric__label {
    display: none;
    color: var(--akf-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.akf-metric strong {
    display: block;
    color: var(--akf-text);
    font-size: 14px;
    font-weight: 700;
}

.akf-unit {
    color: var(--akf-muted);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.akf-row__action {
    text-align: right;
}

.akf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--akf-blue);
    border-radius: 5px;
    background: var(--akf-blue);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}

.akf-button:hover,
.akf-button:focus {
    border-color: var(--akf-blue-hover);
    background: var(--akf-blue-hover);
    color: #fff !important;
}

.akf-button--secondary {
    border-color: var(--akf-border);
    background: #fff;
    color: var(--akf-navy) !important;
}

.akf-button--secondary:hover,
.akf-button--secondary:focus {
    border-color: #b7c2cd;
    background: var(--akf-bg-soft);
    color: var(--akf-navy) !important;
}

.akf-footnote {
    margin: 10px 2px 0;
    color: var(--akf-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* Compact reusable statistics tables. */
.akf-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 2px solid var(--akf-navy);
    border-bottom: 1px solid var(--akf-border);
}

.akf-data-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
}

.akf-data-table th,
.akf-data-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--akf-border-soft);
    text-align: left;
    vertical-align: middle;
}

.akf-data-table thead th {
    background: var(--akf-bg-soft);
    color: #576474;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.akf-data-table tbody tr:last-child th,
.akf-data-table tbody tr:last-child td {
    border-bottom: 0;
}

.akf-data-table tbody th {
    min-width: 220px;
    color: var(--akf-navy);
    font-size: 14px;
}

.akf-data-table a {
    color: var(--akf-navy);
    font-weight: 700;
    text-decoration: none;
}

.akf-data-table a:hover,
.akf-data-table a:focus {
    color: var(--akf-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.akf-table-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.akf-muted {
    color: var(--akf-muted);
}

/* Single a-kasse summary. */
.akf-summary {
    padding: 22px;
    border: 1px solid var(--akf-border);
    border-top: 3px solid var(--akf-navy);
    background: #fff;
}

.akf-summary__identity {
    display: flex;
    align-items: center;
    gap: 18px;
}

.akf-kicker {
    margin: 0 0 3px;
    color: var(--akf-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.akf-summary h3 {
    margin: 0;
    color: var(--akf-navy);
    font-size: 22px;
    line-height: 1.25;
}

.akf-summary__target {
    max-width: 680px;
    margin: 5px 0 0;
    color: #4e5b69;
    font-size: 14px;
}

.akf-summary__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 20px 0 0;
    border-top: 1px solid var(--akf-border);
    border-bottom: 1px solid var(--akf-border);
}

.akf-summary__facts > div {
    padding: 13px 16px 13px 0;
}

.akf-summary__facts dt {
    color: var(--akf-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .025em;
}

.akf-summary__facts dd {
    margin: 3px 0 0;
    color: var(--akf-text);
    font-size: 15px;
    font-weight: 700;
}

.akf-summary__footer {
    margin-top: 16px;
}

.akf-error {
    padding: 12px 14px;
    border-left: 3px solid #b42318;
    background: #fff6f5;
    color: #69231c;
    font-size: 14px;
}

@media (max-width: 980px) {
    .akf-comparison__labels {
        display: none;
    }

    .akf-comparison__rows {
        border-top: 2px solid var(--akf-navy);
    }

    .akf-row {
        grid-template-columns: minmax(0, 1fr) 116px;
        gap: 15px 18px;
        padding: 18px 4px;
        background: transparent;
    }

    .akf-row:hover {
        background: transparent;
    }

    .akf-row__identity {
        grid-column: 1 / -1;
    }

    .akf-metric {
        display: grid;
        grid-template-columns: minmax(82px, auto) 1fr;
        align-items: baseline;
        gap: 8px;
        grid-column: 1;
        padding-left: 86px;
    }

    .akf-metric__label {
        display: block;
    }

    .akf-row__action {
        grid-column: 2;
        grid-row: 2 / span 4;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .akf-summary__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .akf-comparison__bar,
    .akf-data-block__header {
        align-items: baseline;
        padding-bottom: 10px;
    }

    .akf-row {
        display: block;
        padding: 17px 0 18px;
    }

    .akf-row__identity {
        gap: 12px;
    }

    .akf-logo {
        flex-basis: 64px;
        width: 64px;
        height: 46px;
    }

    .akf-row__name {
        font-size: 16px;
    }

    .akf-row__target {
        -webkit-line-clamp: 3;
    }

    .akf-row .akf-metric {
        display: inline-flex;
        flex-direction: column;
        width: calc(50% - 5px);
        margin-top: 15px;
        padding: 0;
        vertical-align: top;
    }

    .akf-row .akf-metric:nth-of-type(odd) {
        margin-left: 6px;
    }

    .akf-metric__label {
        margin-bottom: 2px;
    }

    .akf-row__action {
        display: block;
        margin-top: 16px;
        text-align: left;
    }

    .akf-button {
        width: 100%;
    }

    .akf-table-scroll {
        overflow: visible;
        border-top: 2px solid var(--akf-navy);
    }

    .akf-data-table {
        min-width: 0;
    }

    .akf-data-table,
    .akf-data-table tbody,
    .akf-data-table tr,
    .akf-data-table th,
    .akf-data-table td {
        display: block;
        width: 100%;
    }

    .akf-data-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }

    .akf-data-table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 14px;
        padding: 14px 0;
        border-bottom: 1px solid var(--akf-border);
    }

    .akf-data-table tbody th {
        grid-column: 1 / -1;
        padding: 0 0 5px;
        border: 0;
    }

    .akf-data-table tbody td {
        padding: 0;
        border: 0;
        color: var(--akf-text);
    }

    .akf-data-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 1px;
        color: var(--akf-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .025em;
        text-transform: uppercase;
    }

    .akf-summary {
        padding: 18px;
    }

    .akf-summary__identity {
        align-items: flex-start;
        gap: 12px;
    }

    .akf-logo--large {
        flex-basis: 72px;
        width: 72px;
        height: 52px;
    }

    .akf-summary h3 {
        font-size: 19px;
    }

    .akf-summary__facts {
        grid-template-columns: 1fr 1fr;
    }
}

/* v0.4 card feed -------------------------------------------------------- */
.akf-feed {
    width: 100%;
    color: var(--akf-text);
}

.akf-feed *,
.akf-feed *::before,
.akf-feed *::after {
    box-sizing: border-box;
}

.akf-feed__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.akf-feed-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d9e1e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(8, 33, 59, .04);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.akf-feed-card:hover {
    border-color: #c6d1dc;
    box-shadow: 0 7px 22px rgba(8, 33, 59, .08);
    transform: translateY(-1px);
}

.akf-feed-card__top {
    padding: 22px 22px 18px;
}

.akf-feed-card__brand {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.akf-feed-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 78px;
    width: 78px;
    height: 58px;
    padding: 7px;
    border: 1px solid #e6ebef;
    border-radius: 8px;
    background: #fff;
}

.akf-feed-card__logo-wrap img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.akf-feed-card__logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #496074;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
}

.akf-feed-card__heading {
    min-width: 0;
}

.akf-feed-card__type {
    margin: 0 0 3px;
    color: #72808f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.3;
    text-transform: uppercase;
}

.akf-feed-card__title {
    margin: 0;
    color: var(--akf-navy);
    font-size: 20px;
    font-weight: 760;
    line-height: 1.18;
}

.akf-feed-card__target {
    display: -webkit-box;
    min-height: 42px;
    margin: 15px 0 0;
    overflow: hidden;
    color: #52606f;
    font-size: 13.5px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.akf-feed-card__price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 22px;
    padding: 17px 0 18px;
    border-top: 1px solid #edf0f3;
    border-bottom: 1px solid #edf0f3;
}

.akf-feed-card__price-label {
    padding-bottom: 4px;
    color: #687686;
    font-size: 12px;
    font-weight: 650;
}

.akf-feed-card__price-value {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: var(--akf-navy);
    white-space: nowrap;
}

.akf-feed-card__price-value strong {
    font-size: 29px;
    font-weight: 780;
    letter-spacing: -.025em;
    line-height: 1;
}

.akf-feed-card__price-value span {
    color: #677585;
    font-size: 12px;
    font-weight: 550;
}

.akf-feed-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 17px 22px;
}

.akf-feed-card__facts > div {
    min-width: 0;
    padding: 0 12px;
    border-right: 1px solid #edf0f3;
}

.akf-feed-card__facts > div:first-child {
    padding-left: 0;
}

.akf-feed-card__facts > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.akf-feed-card__facts dt {
    margin: 0 0 3px;
    color: #7a8794;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.akf-feed-card__facts dd {
    margin: 0;
    overflow: hidden;
    color: #25364a;
    font-size: 13px;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.akf-feed-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    padding: 4px 22px 20px;
}

.akf-button--feed {
    min-height: 42px;
    width: 100%;
    border-radius: 7px;
    font-size: 13px;
}

.akf-feed-card__details-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cfd8e1;
    border-radius: 7px;
    background: #fff;
    color: #24405b;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.akf-feed-card__details-toggle:hover,
.akf-feed-card__details-toggle:focus-visible {
    border-color: #9fb1c2;
    background: #f8fafb;
}

.akf-feed-card__chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.akf-feed-card__details-toggle[aria-expanded="true"] .akf-feed-card__chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.akf-feed-card__details {
    border-top: 1px solid #dfe6ec;
    background: #fbfcfd;
}

.akf-feed-card__details[hidden] {
    display: none !important;
}

.akf-feed-card__details-inner {
    padding: 20px 22px 22px;
}

.akf-card-detail__loading,
.akf-card-detail__error,
.akf-card-detail__empty {
    margin: 0;
    color: #667482;
    font-size: 13px;
}

.akf-card-detail__loading {
    display: flex;
    align-items: center;
    gap: 9px;
}

.akf-card-detail__loader {
    width: 16px;
    height: 16px;
    border: 2px solid #d1dae3;
    border-top-color: var(--akf-blue);
    border-radius: 50%;
    animation: akf-spin .7s linear infinite;
}

@keyframes akf-spin {
    to { transform: rotate(360deg); }
}

.akf-card-detail__section + .akf-card-detail__charts,
.akf-card-detail__charts + .akf-card-detail__contact {
    margin-top: 20px;
}

.akf-card-detail__section-head,
.akf-mini-chart-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.akf-card-detail h4 {
    margin: 0;
    color: var(--akf-navy);
    font-size: 14px;
    font-weight: 760;
    line-height: 1.3;
}

.akf-card-detail__section-head > span,
.akf-mini-chart-card__head p {
    margin: 2px 0 0;
    color: #798591;
    font-size: 10.5px;
    line-height: 1.4;
}

.akf-card-detail__price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 12px 0 0;
    border: 1px solid #e1e7ed;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.akf-card-detail__price-grid > div {
    padding: 11px 12px;
    border-right: 1px solid #e9edf1;
    border-bottom: 1px solid #e9edf1;
}

.akf-card-detail__price-grid > div:nth-child(2n) {
    border-right: 0;
}

.akf-card-detail__price-grid > div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.akf-card-detail__price-grid dt {
    color: #768391;
    font-size: 10.5px;
    font-weight: 680;
}

.akf-card-detail__price-grid dd {
    margin: 3px 0 0;
    color: #23384e;
    font-size: 13px;
    font-weight: 750;
}

.akf-card-detail__note {
    margin: 9px 0 0;
    color: #7c8792;
    font-size: 10.5px;
    line-height: 1.45;
}

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

.akf-mini-chart-card {
    min-width: 0;
    padding: 13px;
    border: 1px solid #e1e7ed;
    border-radius: 8px;
    background: #fff;
}

.akf-trend-value {
    flex: 0 0 auto;
    color: #34495e;
    font-size: 12px;
    font-weight: 760;
}

.akf-sparkline {
    margin: 10px 0 0;
}

.akf-sparkline svg {
    display: block;
    width: 100%;
    height: 90px;
    overflow: visible;
}

.akf-sparkline__grid {
    stroke: #e9edf1;
    stroke-width: 1;
}

.akf-sparkline__line {
    fill: none;
    stroke: #0b568c;
    stroke-width: 2.25;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akf-sparkline figcaption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    color: #7a8794;
    font-size: 9.5px;
}

.akf-card-detail__contact {
    padding-top: 15px;
    border-top: 1px solid #e1e7ed;
}

.akf-card-detail__contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 7px;
    color: #526170;
    font-size: 11px;
}

.akf-card-detail__contact-links a {
    color: var(--akf-blue);
    font-weight: 700;
    text-decoration: none;
}

.akf-card-detail__contact-links a:hover,
.akf-card-detail__contact-links a:focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 1120px) {
    .akf-feed__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .akf-feed__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .akf-feed-card__top {
        padding: 19px 18px 16px;
    }

    .akf-feed-card__logo-wrap {
        flex-basis: 72px;
        width: 72px;
        height: 54px;
    }

    .akf-feed-card__title {
        font-size: 19px;
    }

    .akf-feed-card__price {
        margin: 0 18px;
    }

    .akf-feed-card__facts {
        padding: 16px 18px;
    }

    .akf-feed-card__actions {
        padding: 3px 18px 18px;
    }

    .akf-feed-card__details-inner {
        padding: 18px;
    }

    .akf-card-detail__charts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .akf-feed-card__actions {
        grid-template-columns: 1fr;
    }

    .akf-feed-card__target {
        min-height: 0;
    }

    .akf-feed-card__facts {
        gap: 0;
    }

    .akf-feed-card__facts > div {
        padding: 0 8px;
    }

    .akf-feed-card__price-value strong {
        font-size: 27px;
    }

    .akf-card-detail__price-grid {
        grid-template-columns: 1fr;
    }

    .akf-card-detail__price-grid > div,
    .akf-card-detail__price-grid > div:nth-child(2n),
    .akf-card-detail__price-grid > div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid #e9edf1;
    }

    .akf-card-detail__price-grid > div:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .akf-feed-card,
    .akf-feed-card__chevron,
    .akf-card-detail__loader {
        transition: none;
        animation: none;
    }
}


/* v0.5: richer card feed and reusable history charts. */
.akf-feed__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.akf-feed-card {
    border-top: 3px solid var(--akf-navy);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(8, 33, 59, .045);
}

.akf-feed-card:hover {
    box-shadow: 0 8px 24px rgba(8, 33, 59, .075);
}

.akf-feed-card__price > div:first-child {
    min-width: 0;
}

.akf-feed-card__price-secondary {
    display: block;
    margin-top: 4px;
    color: #7a8794;
    font-size: 10.5px;
    font-weight: 550;
    line-height: 1.35;
}

.akf-card-detail__section-head > div > p {
    margin: 3px 0 0;
    color: #798591;
    font-size: 10.5px;
    line-height: 1.4;
}

.akf-mini-chart-card--wide {
    margin-top: 18px;
}

.akf-mini-chart-card--wide .akf-sparkline svg {
    height: 118px;
}

.akf-sparkline__point {
    fill: #ffffff;
    stroke: #0b568c;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.akf-sparkline__point--last {
    fill: #0b568c;
}

.akf-history-block {
    width: 100%;
    color: var(--akf-text);
    font-size: 15px;
    line-height: 1.5;
}

.akf-history-block *,
.akf-history-block *::before,
.akf-history-block *::after {
    box-sizing: border-box;
}

.akf-history-block__head {
    margin-bottom: 14px;
}

.akf-history-block__head .akf-kicker {
    margin-bottom: 2px;
}

.akf-history-block__head h3 {
    margin: 0;
    color: var(--akf-navy);
    font-size: 21px;
    line-height: 1.25;
}

.akf-history-block__grid {
    display: grid;
    gap: 14px;
}

.akf-history-block__grid--multi {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.akf-history-block__grid--single {
    grid-template-columns: minmax(0, 760px);
}

.akf-mini-chart-card--article {
    min-height: 210px;
    padding: 16px;
}

.akf-mini-chart-card--article .akf-sparkline svg {
    height: 118px;
}

@media (max-width: 960px) {
    .akf-history-block__grid--multi {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .akf-feed__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.akf-mini-chart-card--wide + .akf-card-detail__charts { margin-top: 12px; }


/* v0.6: elongated comparison feed --------------------------------------- */
.akf-feed__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.akf-feed-card {
    display: block;
    overflow: hidden;
    border: 1px solid #d7e0e8;
    border-left: 4px solid var(--akf-navy);
    border-top-width: 1px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(8, 33, 59, .04);
    transform: none;
}

.akf-feed-card:hover {
    border-color: #c6d3dd;
    border-left-color: var(--akf-blue);
    box-shadow: 0 7px 20px rgba(8, 33, 59, .07);
    transform: none;
}

.akf-feed-card__summary {
    display: grid;
    grid-template-columns: minmax(300px, 1.55fr) minmax(155px, .58fr) minmax(285px, 1fr) minmax(175px, .68fr);
    align-items: stretch;
    min-width: 0;
}

.akf-feed-card__top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 19px 22px;
}

.akf-feed-card__brand {
    gap: 16px;
}

.akf-feed-card__logo-wrap {
    flex: 0 0 84px;
    width: 84px;
    height: 62px;
    padding: 8px;
    border-color: #e3e9ee;
    border-radius: 7px;
}

.akf-feed-card__type {
    margin-bottom: 4px;
    font-size: 10.5px;
    letter-spacing: .045em;
}

.akf-feed-card__title {
    font-size: 20px;
    line-height: 1.2;
}

.akf-feed-card__target {
    min-height: 0;
    margin: 10px 0 0 100px;
    color: #5d6976;
    font-size: 12.5px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.akf-feed-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 18px 22px;
    border: 0;
    border-left: 1px solid #edf1f4;
    background: #fbfcfd;
}

.akf-feed-card__price-value {
    order: -1;
    margin-bottom: 7px;
}

.akf-feed-card__price-value strong {
    font-size: 30px;
}

.akf-feed-card__price-label {
    display: block;
    padding: 0;
    color: #6e7b89;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.akf-feed-card__price-secondary {
    margin-top: 4px;
    font-size: 10.5px;
}

.akf-feed-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    margin: 0;
    padding: 0 10px;
    border-left: 1px solid #edf1f4;
}

.akf-feed-card__facts > div {
    display: flex;
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
    padding: 0 13px;
    border-right: 1px solid #edf1f4;
}

.akf-feed-card__facts > div:first-child {
    padding-left: 13px;
}

.akf-feed-card__facts > div:last-child {
    padding-right: 13px;
    border-right: 0;
}

.akf-feed-card__facts dt {
    margin-bottom: 5px;
    font-size: 9.5px;
}

.akf-feed-card__facts dd {
    font-size: 14px;
    line-height: 1.25;
}

.akf-feed-card__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 17px 18px;
    border-left: 1px solid #edf1f4;
    background: #fff;
}

.akf-button--feed,
.akf-feed-card__details-toggle {
    min-height: 40px;
    border-radius: 6px;
    font-size: 12px;
}

.akf-feed .akf-feed-card__details-toggle,
.akf-feed .akf-feed-card__details-toggle[aria-expanded="true"] {
    border: 1px solid #cbd6df;
    background: #fff;
    color: #24405b;
    box-shadow: none;
}

.akf-feed .akf-feed-card__details-toggle:hover,
.akf-feed .akf-feed-card__details-toggle:focus-visible,
.akf-feed .akf-feed-card__details-toggle[aria-expanded="true"]:hover,
.akf-feed .akf-feed-card__details-toggle[aria-expanded="true"]:focus-visible {
    border-color: #9fb1c2;
    background: #f7f9fb;
    color: #17334f;
}

.akf-feed-card__details {
    border-top: 1px solid #dce4ea;
    background: #f8fafb;
}

.akf-feed-card__details-inner {
    padding: 24px 26px 26px;
}

/* The expanded panel now has the full width of the horizontal card. */
@media (min-width: 981px) {
    .akf-card-detail__price-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .akf-card-detail__price-grid > div,
    .akf-card-detail__price-grid > div:nth-child(2n),
    .akf-card-detail__price-grid > div:nth-last-child(-n+2) {
        border-right: 1px solid #e9edf1;
        border-bottom: 0;
    }

    .akf-card-detail__price-grid > div:nth-child(4n),
    .akf-card-detail__price-grid > div:last-child {
        border-right: 0;
    }
}

@media (max-width: 1100px) {
    .akf-feed-card__summary {
        grid-template-columns: minmax(280px, 1.35fr) minmax(145px, .55fr) minmax(250px, 1fr) minmax(160px, .68fr);
    }

    .akf-feed-card__top,
    .akf-feed-card__price {
        padding-left: 18px;
        padding-right: 18px;
    }

    .akf-feed-card__target {
        margin-left: 96px;
    }

    .akf-feed-card__facts > div {
        padding-left: 9px;
        padding-right: 9px;
    }
}

@media (max-width: 900px) {
    .akf-feed-card__summary {
        grid-template-columns: minmax(0, 1fr) 225px;
        grid-template-areas:
            "identity price"
            "facts actions";
    }

    .akf-feed-card__top {
        grid-area: identity;
    }

    .akf-feed-card__price {
        grid-area: price;
    }

    .akf-feed-card__facts {
        grid-area: facts;
        min-height: 72px;
        border-top: 1px solid #edf1f4;
        border-left: 0;
    }

    .akf-feed-card__actions {
        grid-area: actions;
        border-top: 1px solid #edf1f4;
    }
}

@media (max-width: 680px) {
    .akf-feed__grid {
        gap: 13px;
    }

    .akf-feed-card {
        border-left-width: 3px;
        border-radius: 8px;
    }

    .akf-feed-card__summary {
        display: block;
    }

    .akf-feed-card__top {
        padding: 17px 16px 14px;
    }

    .akf-feed-card__logo-wrap {
        flex-basis: 74px;
        width: 74px;
        height: 54px;
    }

    .akf-feed-card__title {
        font-size: 18px;
    }

    .akf-feed-card__target {
        margin: 9px 0 0 90px;
        font-size: 12px;
    }

    .akf-feed-card__price {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 13px 16px;
        border-top: 1px solid #edf1f4;
        border-left: 0;
    }

    .akf-feed-card__price-value {
        order: 0;
        margin: 0 0 0 14px;
    }

    .akf-feed-card__price-value strong {
        font-size: 25px;
    }

    .akf-feed-card__facts {
        min-height: 0;
        padding: 13px 8px;
        border-top: 1px solid #edf1f4;
        border-left: 0;
    }

    .akf-feed-card__facts > div {
        min-height: 42px;
        padding: 0 9px;
    }

    .akf-feed-card__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 0 16px 16px;
        border: 0;
    }

    .akf-feed-card__details-inner {
        padding: 18px 16px 20px;
    }
}

@media (max-width: 430px) {
    .akf-feed-card__target {
        margin-left: 0;
    }

    .akf-feed-card__actions {
        grid-template-columns: 1fr;
    }
}


/* v0.6.2: single-column feed layout fix --------------------------------- */
.akf-feed > .akf-feed__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
    width: 100%;
}

.akf-feed > .akf-feed__grid > .akf-feed-card {
    width: 100%;
    max-width: none;
}

/* v0.7: natural chart proportions + interactive hover/focus values. */
.akf-sparkline__plot {
    position: relative;
    width: 100%;
}

.akf-sparkline svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.akf-mini-chart-card--wide .akf-sparkline {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.akf-mini-chart-card--wide .akf-sparkline svg,
.akf-mini-chart-card--article .akf-sparkline svg {
    height: auto;
}

.akf-sparkline__grid {
    stroke: #edf1f4;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.akf-sparkline__grid--middle {
    stroke: #e4e9ee;
}

.akf-sparkline__line {
    stroke-width: 2.4;
}

.akf-sparkline__hit {
    fill: transparent;
    cursor: crosshair;
    pointer-events: all;
    outline: none;
}

.akf-sparkline__guide {
    opacity: 0;
    stroke: #9aa9b7;
    stroke-width: 1;
    stroke-dasharray: 3 4;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
    transition: opacity .12s ease;
}

.akf-sparkline__active-point {
    opacity: 0;
    fill: #fff;
    stroke: #0b568c;
    stroke-width: 2.4;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
    transition: opacity .12s ease;
}

.akf-sparkline__guide.is-active,
.akf-sparkline__active-point.is-active {
    opacity: 1;
}

.akf-sparkline__tooltip {
    position: absolute;
    z-index: 3;
    min-width: 105px;
    padding: 7px 9px;
    border: 1px solid #d8e0e7;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(16, 40, 65, .10);
    color: #17324c;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

.akf-sparkline__tooltip[hidden] {
    display: none !important;
}

.akf-sparkline__tooltip-period {
    display: block;
    margin-bottom: 2px;
    color: #768391;
    font-size: 10px;
    font-weight: 650;
}

.akf-sparkline__tooltip strong {
    display: block;
    color: #102d48;
    font-size: 12px;
    font-weight: 780;
}

.akf-sparkline__hit:focus + * {
    outline: none;
}

@media (max-width: 700px) {
    .akf-mini-chart-card--wide .akf-sparkline {
        max-width: none;
    }

    .akf-sparkline__tooltip {
        min-width: 96px;
        padding: 6px 8px;
    }
}


/* v0.8: flatter, more readable expanded detail layout ------------------ */
.akf-feed-card__details {
    background: #fff;
}

.akf-feed-card__details-inner {
    padding: 26px 28px 28px;
}

.akf-card-detail {
    color: var(--akf-text);
}

.akf-card-detail__section-head {
    align-items: flex-end;
    padding-bottom: 13px;
}

.akf-card-detail__section-head > div > p {
    margin-top: 3px;
    color: #6f7d8b;
    font-size: 11px;
}

.akf-card-detail__section-head > span {
    padding-bottom: 1px;
    color: #7b8793;
    font-size: 10.5px;
    white-space: nowrap;
}

/* One flat data strip instead of four nested cards. */
.akf-card-detail__price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border: 0;
    border-top: 1px solid #dfe6ec;
    border-bottom: 1px solid #dfe6ec;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.akf-card-detail__price-grid > div,
.akf-card-detail__price-grid > div:nth-child(2n),
.akf-card-detail__price-grid > div:nth-last-child(-n+2) {
    min-width: 0;
    padding: 15px 18px;
    border: 0;
    border-right: 1px solid #e6ebef;
    background: transparent;
}

.akf-card-detail__price-grid > div:first-child {
    padding-left: 0;
}

.akf-card-detail__price-grid > div:last-child,
.akf-card-detail__price-grid > div:nth-child(4n) {
    padding-right: 0;
    border-right: 0;
}

.akf-card-detail__price-grid dt {
    margin: 0 0 4px;
    color: #6f7c89;
    font-size: 10px;
    font-weight: 720;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.akf-card-detail__price-grid dd {
    margin: 0;
    color: #102c48;
    font-size: 17px;
    font-weight: 780;
    line-height: 1.25;
}

.akf-card-detail__price-grid dd .akf-unit {
    font-size: 10.5px;
    font-weight: 550;
}

/* Charts live directly on the detail surface; no cards inside the card. */
.akf-mini-chart-card,
.akf-mini-chart-card--wide,
.akf-card-detail__chart-primary,
.akf-card-detail__chart-secondary {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.akf-card-detail__chart-primary {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e0e7ed;
}

.akf-card-detail__chart-primary .akf-sparkline {
    max-width: none;
    margin-top: 12px;
}

.akf-card-detail__chart-primary .akf-sparkline__plot {
    max-width: 980px;
    margin: 0 auto;
}

.akf-card-detail__charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 22px !important;
    padding-top: 20px;
    border-top: 1px solid #e0e7ed;
}

.akf-card-detail__chart-secondary {
    min-width: 0;
    padding-right: 22px;
}

.akf-card-detail__chart-secondary + .akf-card-detail__chart-secondary {
    padding-right: 0;
    padding-left: 22px;
    border-left: 1px solid #e5eaee;
}

.akf-mini-chart-card__head {
    min-height: 38px;
    align-items: flex-start;
}

.akf-card-detail h4 {
    color: #102d48;
    font-size: 14px;
    font-weight: 780;
}

.akf-mini-chart-card__head p {
    margin-top: 3px;
    color: #778491;
    font-size: 10.5px;
}

.akf-trend-value {
    color: #173c5e;
    font-size: 12.5px;
    font-weight: 780;
    white-space: nowrap;
}

.akf-card-detail__chart-secondary .akf-sparkline {
    margin-top: 7px;
}

.akf-card-detail__note {
    margin-top: 8px;
    color: #75818d;
    font-size: 10.5px;
    line-height: 1.45;
}

/* Contact is one information row with separators, not a set of cards. */
.akf-card-detail__contact {
    display: grid;
    grid-template-columns: minmax(125px, .7fr) minmax(0, 4fr);
    gap: 22px;
    margin-top: 22px !important;
    padding-top: 20px;
    border-top: 1px solid #dfe6ec;
}

.akf-card-detail__contact-heading h4 {
    margin: 0;
}

.akf-card-detail__contact-heading p {
    margin: 3px 0 0;
    color: #7a8692;
    font-size: 10.5px;
    line-height: 1.4;
}

.akf-card-detail__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    margin: 0;
}

.akf-card-detail__contact-grid > div {
    min-width: 0;
    padding: 0 16px;
    border-left: 1px solid #e3e8ed;
}

.akf-card-detail__contact-grid > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.akf-card-detail__contact-grid dt {
    margin: 0 0 4px;
    color: #6e7c89;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.akf-card-detail__contact-grid dd {
    margin: 0;
    color: #33485c;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.akf-card-detail__contact-grid a {
    color: var(--akf-blue);
    font-weight: 700;
    text-decoration: none;
}

.akf-card-detail__contact-grid a:hover,
.akf-card-detail__contact-grid a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* The old compact contact links are retained for backwards compatibility,
   but are no longer used by the feed detail renderer. */
.akf-card-detail__contact-links {
    margin-top: 0;
}

@media (max-width: 820px) {
    .akf-feed-card__details-inner {
        padding: 22px 20px 24px;
    }

    .akf-card-detail__price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .akf-card-detail__price-grid > div,
    .akf-card-detail__price-grid > div:nth-child(2n),
    .akf-card-detail__price-grid > div:nth-last-child(-n+2) {
        padding: 13px 14px;
        border-right: 1px solid #e6ebef;
        border-bottom: 1px solid #e6ebef;
    }

    .akf-card-detail__price-grid > div:nth-child(odd) {
        padding-left: 0;
    }

    .akf-card-detail__price-grid > div:nth-child(even) {
        padding-right: 0;
        border-right: 0;
    }

    .akf-card-detail__price-grid > div:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .akf-card-detail__contact {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .akf-card-detail__contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 16px;
    }

    .akf-card-detail__contact-grid > div,
    .akf-card-detail__contact-grid > div:first-child {
        padding: 0 14px 0 0;
        border-left: 0;
        border-right: 1px solid #e3e8ed;
    }

    .akf-card-detail__contact-grid > div:nth-child(even) {
        padding-right: 0;
        padding-left: 14px;
        border-right: 0;
    }
}

@media (max-width: 620px) {
    .akf-card-detail__section-head {
        display: block;
    }

    .akf-card-detail__section-head > span {
        display: block;
        margin-top: 7px;
    }

    .akf-card-detail__charts {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .akf-card-detail__chart-secondary,
    .akf-card-detail__chart-secondary + .akf-card-detail__chart-secondary {
        padding: 0;
        border-left: 0;
    }

    .akf-card-detail__chart-secondary + .akf-card-detail__chart-secondary {
        padding-top: 18px;
        border-top: 1px solid #e5eaee;
    }
}

@media (max-width: 430px) {
    .akf-card-detail__price-grid {
        grid-template-columns: 1fr 1fr;
    }

    .akf-card-detail__price-grid > div,
    .akf-card-detail__price-grid > div:nth-child(2n),
    .akf-card-detail__price-grid > div:nth-last-child(-n+2) {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .akf-card-detail__price-grid dd {
        font-size: 15px;
    }

    .akf-card-detail__contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .akf-card-detail__contact-grid > div,
    .akf-card-detail__contact-grid > div:first-child,
    .akf-card-detail__contact-grid > div:nth-child(even) {
        padding: 10px 0;
        border-right: 0;
        border-bottom: 1px solid #e6ebef;
    }

    .akf-card-detail__contact-grid > div:first-child {
        padding-top: 0;
    }

    .akf-card-detail__contact-grid > div:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }
}

/* v0.8.1: chart polish -------------------------------------------------- */
.akf-sparkline {
    margin: 12px 0 0;
}

.akf-sparkline__plot {
    overflow: visible;
}

.akf-sparkline__area {
    fill: rgba(11, 86, 140, 0.10);
}

.akf-sparkline--secondary .akf-sparkline__area,
.akf-sparkline--article .akf-sparkline__area {
    fill: rgba(11, 86, 140, 0.07);
}

.akf-sparkline__line {
    stroke: #0b568c;
    stroke-width: 2.2;
}

.akf-sparkline--primary .akf-sparkline__line {
    stroke-width: 2.35;
}

.akf-sparkline__point--last {
    fill: #0b568c;
    stroke: #0b568c;
    stroke-width: 0;
}

.akf-sparkline__tick-label,
.akf-sparkline__x-label {
    fill: #7b8794;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
}

.akf-sparkline__tick-label {
    dominant-baseline: middle;
}

.akf-sparkline__x-label {
    font-size: 9.5px;
}

.akf-sparkline__grid {
    stroke: #e9eef3;
}

.akf-sparkline__grid--middle {
    stroke: #dee6ed;
}

.akf-sparkline figcaption {
    margin-top: 8px;
    color: #7b8794;
    font-size: 10px;
}

.akf-card-detail__chart-primary .akf-sparkline figcaption {
    margin-top: 10px;
}

.akf-card-detail__chart-secondary .akf-sparkline figcaption {
    margin-top: 7px;
}

.akf-card-detail__chart-primary .akf-sparkline__plot {
    max-width: 1020px;
}

.akf-card-detail__chart-secondary .akf-sparkline__plot {
    max-width: 100%;
}

.akf-sparkline__tooltip {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(16, 40, 65, 0.12);
}

@media (max-width: 620px) {
    .akf-sparkline__tick-label {
        font-size: 9px;
    }

    .akf-sparkline__x-label {
        font-size: 8.5px;
    }
}

/* v0.9: market benchmarks --------------------------------------------- */
.akf-market-benchmarks {
    margin-top: 20px;
    padding: 15px 0 0;
    border-top: 1px solid #dfe6ec;
}

.akf-market-benchmarks__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.akf-market-benchmarks__heading strong {
    color: #102d48;
    font-size: 12px;
    font-weight: 780;
}

.akf-market-benchmarks__heading span {
    color: #7a8793;
    font-size: 9.5px;
}

.akf-market-benchmarks__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid #e7ecf0;
    border-bottom: 1px solid #e7ecf0;
}

.akf-market-benchmarks__grid > div {
    min-width: 0;
    padding: 13px 18px;
    border-right: 1px solid #e7ecf0;
}

.akf-market-benchmarks__grid > div:first-child {
    padding-left: 0;
}

.akf-market-benchmarks__grid > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.akf-market-benchmarks__grid dt {
    margin: 0 0 4px;
    color: #6f7c89;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.akf-market-benchmarks__grid dd {
    margin: 0;
    color: #173a59;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.3;
}

.akf-market-benchmarks__grid small {
    display: block;
    margin-top: 3px;
    color: #7a8793;
    font-size: 9.5px;
    line-height: 1.35;
}

.akf-sparkline__benchmark {
    stroke: #7e8b97;
    stroke-width: 1.15;
    stroke-dasharray: 5 4;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.akf-sparkline__benchmark-label {
    fill: #667481;
    font-size: 8.8px;
    font-weight: 680;
    paint-order: stroke;
    stroke: #fff;
    stroke-width: 3px;
    stroke-linejoin: round;
    pointer-events: none;
}

@media (max-width: 700px) {
    .akf-market-benchmarks__heading {
        display: block;
    }

    .akf-market-benchmarks__heading span {
        display: block;
        margin-top: 3px;
    }

    .akf-market-benchmarks__grid {
        grid-template-columns: 1fr;
    }

    .akf-market-benchmarks__grid > div,
    .akf-market-benchmarks__grid > div:first-child,
    .akf-market-benchmarks__grid > div:last-child {
        padding: 11px 0;
        border-right: 0;
        border-bottom: 1px solid #e7ecf0;
    }

    .akf-market-benchmarks__grid > div:last-child {
        border-bottom: 0;
    }

    .akf-sparkline__benchmark-label {
        font-size: 8px;
    }
}

/* v0.9.1: historical price median comparison --------------------------- */
.akf-chart-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin: 5px 0 4px;
    color: #6f7c89;
    font-size: 9.5px;
    font-weight: 650;
}

.akf-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.akf-chart-legend__line {
    display: inline-block;
    width: 20px;
    height: 0;
    border-top: 2px solid #0b568c;
}

.akf-chart-legend__line--median {
    border-top-color: #7c8995;
    border-top-style: dashed;
}

.akf-sparkline__comparison-line {
    fill: none;
    stroke: #7c8995;
    stroke-width: 1.6;
    stroke-dasharray: 6 5;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.akf-sparkline--comparison .akf-sparkline__area {
    fill: rgba(11, 86, 140, .055);
}

.akf-sparkline__tooltip--comparison {
    min-width: 150px;
    padding: 8px 10px;
    text-align: left;
}

.akf-sparkline__tooltip-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px;
}

.akf-sparkline__tooltip-row span {
    color: #697684;
    font-size: 9.5px;
    font-weight: 650;
}

.akf-sparkline__tooltip-row strong {
    margin: 0;
    color: #102d48;
    font-size: 11px;
    font-weight: 780;
}

.akf-sparkline__tooltip--comparison small {
    display: block;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #e6ebef;
    color: #85909b;
    font-size: 8.5px;
    line-height: 1.3;
}

@media (max-width: 620px) {
    .akf-chart-legend {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 14px;
        margin-top: 8px;
    }
}


/* v0.9.3: clearer mobile benchmark legends ----------------------------- */
.akf-chart-legend--inline {
    justify-content: flex-start;
    margin: 4px 0 8px;
}

.akf-sparkline--with-benchmark .akf-sparkline__benchmark-label {
    display: none;
}

@media (min-width: 621px) {
    .akf-sparkline--with-benchmark .akf-sparkline__benchmark-label {
        display: block;
    }
}

/* v0.10.0: occupation/fag data ---------------------------------------- */
.akf-occupation-data,
.akf-occupation-section {
    width: 100%;
    color: var(--akf-text);
}

.akf-occupation-data {
    display: grid;
    gap: 34px;
}

.akf-occupation-section {
    padding: 0;
}

.akf-occupation-section + .akf-occupation-section {
    padding-top: 30px;
    border-top: 1px solid var(--akf-border);
}

.akf-occupation-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.akf-occupation-section__head .akf-kicker {
    margin: 0 0 3px;
    color: #6e7b88;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.akf-occupation-section__head h2 {
    margin: 0;
    color: var(--akf-navy);
    font-size: clamp(21px, 2.1vw, 28px);
    font-weight: 780;
    line-height: 1.18;
}

.akf-occupation-section__head > span {
    flex: 0 0 auto;
    padding-bottom: 2px;
    color: #75818d;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
}

.akf-occupation-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 20px;
    border-top: 1px solid #dfe6ec;
    border-bottom: 1px solid #dfe6ec;
}

.akf-occupation-kpis--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.akf-occupation-kpis > div {
    min-width: 0;
    padding: 14px 18px;
    border-right: 1px solid #e5eaee;
}

.akf-occupation-kpis > div:first-child {
    padding-left: 0;
}

.akf-occupation-kpis > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.akf-occupation-kpis span,
.akf-balance-current span,
.akf-balance-regions span {
    display: block;
    margin-bottom: 4px;
    color: #6e7b88;
    font-size: 10px;
    font-weight: 730;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.akf-occupation-kpis strong {
    display: block;
    color: #102d48;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.akf-occupation-kpis small {
    display: block;
    margin-top: 4px;
    color: #7d8893;
    font-size: 10px;
    line-height: 1.35;
}

.akf-occupation-chart {
    margin-top: 14px;
}

.akf-sparkline--occupation {
    margin-top: 0;
}

.akf-sparkline--occupation .akf-sparkline__area {
    fill: rgba(11, 86, 140, .055);
}

.akf-occupation-note {
    margin: 11px 0 0;
    color: #737f8a;
    font-size: 11px;
    line-height: 1.5;
}

.akf-balance-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #dfe6ec;
    border-bottom: 1px solid #dfe6ec;
}

.akf-balance-current span {
    margin: 0;
}

.akf-balance-current strong {
    color: #102d48;
    font-size: 18px;
    font-weight: 800;
    text-align: right;
}

.akf-balance-regions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 14px;
    border-bottom: 1px solid #e4e9ed;
}

.akf-balance-regions > div {
    min-width: 0;
    padding: 11px 12px 13px;
    border-right: 1px solid #e7ebef;
}

.akf-balance-regions > div:first-child {
    padding-left: 0;
}

.akf-balance-regions > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.akf-balance-regions span {
    margin: 0 0 5px;
    text-transform: none;
}

.akf-balance-regions strong {
    display: block;
    color: #233b52;
    font-size: 12px;
    line-height: 1.3;
}

.akf-balance-history {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 18px;
    border-top: 1px solid #e3e8ed;
}

.akf-balance-history > div {
    min-width: 0;
    padding: 9px 12px 10px 0;
    border-bottom: 1px solid #e9edf1;
}

.akf-balance-history span {
    display: block;
    margin-bottom: 3px;
    color: #84909b;
    font-size: 9px;
    font-weight: 700;
}

.akf-balance-history strong {
    display: block;
    color: #415367;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.3;
}

.akf-occupation-ranking {
    border-top: 1px solid #dfe6ec;
    border-bottom: 1px solid #dfe6ec;
}

.akf-occupation-ranking__row {
    display: grid;
    grid-template-columns: 28px minmax(180px, 1.5fr) minmax(90px, .55fr) minmax(90px, .55fr);
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #e9edf1;
}

.akf-occupation-ranking__row:last-child {
    border-bottom: 0;
}

.akf-occupation-ranking__rank {
    color: #82909d;
    font-size: 11px;
    font-weight: 750;
}

.akf-occupation-ranking__row strong {
    color: #18334d;
    font-size: 13px;
    font-weight: 760;
}

.akf-occupation-ranking__row > span:not(.akf-occupation-ranking__rank),
.akf-occupation-ranking__row small {
    color: #566675;
    font-size: 11px;
}

.akf-dynamic-value {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .akf-occupation-data {
        gap: 28px;
    }

    .akf-occupation-section + .akf-occupation-section {
        padding-top: 24px;
    }

    .akf-occupation-section__head {
        display: block;
        margin-bottom: 14px;
    }

    .akf-occupation-section__head > span {
        display: block;
        margin-top: 5px;
    }

    .akf-occupation-kpis,
    .akf-occupation-kpis--compact {
        grid-template-columns: 1fr;
    }

    .akf-occupation-kpis > div,
    .akf-occupation-kpis > div:first-child,
    .akf-occupation-kpis > div:last-child {
        padding: 11px 0;
        border-right: 0;
        border-bottom: 1px solid #e7ecf0;
    }

    .akf-occupation-kpis > div:last-child {
        border-bottom: 0;
    }

    .akf-occupation-kpis strong {
        font-size: 18px;
    }

    .akf-balance-regions {
        grid-template-columns: 1fr 1fr;
    }

    .akf-balance-regions > div,
    .akf-balance-regions > div:first-child,
    .akf-balance-regions > div:last-child {
        padding: 10px 12px 10px 0;
        border-right: 0;
        border-bottom: 1px solid #e7ebef;
    }

    .akf-balance-history {
        grid-template-columns: 1fr 1fr;
    }

    .akf-occupation-ranking__row {
        grid-template-columns: 24px minmax(0, 1fr) auto;
        gap: 9px;
    }

    .akf-occupation-ranking__row small {
        grid-column: 2 / -1;
        margin-top: -6px;
    }
}


/* v0.10.4: interactive regional labour-market map ---------------------- */
.akf-regionmap {
    display: grid;
    grid-template-columns: minmax(250px, .78fr) minmax(320px, 1.22fr);
    gap: 28px;
    align-items: center;
    margin-top: 18px;
    padding: 18px 0 16px;
    border-bottom: 1px solid #e4e9ed;
}

.akf-regionmap__visual {
    position: relative;
    width: min(100%, 340px);
    margin: 0 auto;
}

.akf-regionmap__svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.akf-regionmap__region path {
    opacity: .78;
    cursor: pointer;
    transition: opacity .16s ease, filter .16s ease;
    stroke: rgba(255,255,255,.92);
    stroke-width: 1.35px;
    vector-effect: non-scaling-stroke;
}

.akf-regionmap__region--shortage path { fill: #0b568c; }
.akf-regionmap__region--good path { fill: #3f806e; }
.akf-regionmap__region--paradox path { fill: #b7832f; }
.akf-regionmap__region--balance path { fill: #778897; }
.akf-regionmap__region--weak path { fill: #a66565; }
.akf-regionmap__region--neutral path { fill: #8794a0; }

.akf-regionmap__region:hover path,
.akf-regionmap__region:focus path,
.akf-regionmap__region.is-active path {
    opacity: .96;
    filter: brightness(.94);
    outline: none;
}

.akf-regionmap__region:focus {
    outline: none;
}

.akf-regionmap__summary[hidden] {
    display: none !important;
}

.akf-regionmap__summary {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    padding: 9px 11px;
    border: 1px solid rgba(214, 222, 229, .92);
    background: rgba(255,255,255,.94);
    box-shadow: 0 3px 12px rgba(16,45,72,.08);
    backdrop-filter: blur(3px);
}

.akf-regionmap__summary span,
.akf-regionmap__summary strong {
    display: block;
}

.akf-regionmap__summary span {
    margin-bottom: 2px;
    color: #71808d;
    font-size: 9.5px;
    font-weight: 730;
}

.akf-regionmap__summary strong {
    color: #102d48;
    font-size: 11px;
    font-weight: 780;
    line-height: 1.3;
}

.akf-regionmap__panel {
    min-width: 0;
}

.akf-regionmap__panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dde4e9;
}

.akf-regionmap__panel-head strong {
    color: #102d48;
    font-size: 13px;
    font-weight: 800;
}

.akf-regionmap__panel-head span {
    color: #788693;
    font-size: 10px;
    font-weight: 700;
}

.akf-regionmap__list {
    display: grid;
}

.akf-regionmap__row {
    display: grid;
    grid-template-columns: 10px minmax(90px, .7fr) minmax(150px, 1.3fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #e8edf0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.akf-regionmap__row:last-child {
    border-bottom: 0;
}

.akf-regionmap__row:hover,
.akf-regionmap__row:focus,
.akf-regionmap__row.is-active {
    background: #f7f9fa;
    outline: none;
}

.akf-regionmap__row > span {
    color: #536575;
    font-size: 11px;
    font-weight: 720;
}

.akf-regionmap__row > strong {
    color: #173550;
    font-size: 11.5px;
    font-weight: 780;
    line-height: 1.3;
}

.akf-regionmap__dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.akf-regionmap__dot--shortage { background: #0b568c; }
.akf-regionmap__dot--good { background: #3f806e; }
.akf-regionmap__dot--paradox { background: #b7832f; }
.akf-regionmap__dot--balance { background: #778897; }
.akf-regionmap__dot--weak { background: #a66565; }
.akf-regionmap__dot--neutral { background: #8794a0; }

@media (max-width: 760px) {
    .akf-regionmap {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 12px;
    }

    .akf-regionmap__visual {
        width: min(100%, 300px);
    }

    .akf-regionmap__row {
        grid-template-columns: 10px minmax(95px, .8fr) minmax(135px, 1.2fr);
    }

    .akf-regionmap__summary {
        left: 8px;
        right: 8px;
        bottom: 7px;
    }
}


/* v0.10.7: exact first-level region geometry --------------------------- */
.akf-regionmap--no-map {
    grid-template-columns: 1fr;
}

.akf-regionmap--no-map .akf-regionmap__panel {
    max-width: 760px;
}


/* v0.11.0: municipality / geography data ------------------------------- */
.akf-geography-data {
    display: grid;
    gap: 0;
}

.akf-geography-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.akf-geography-kpis__text {
    font-size: 15px !important;
    line-height: 1.25;
}

.akf-geography-job-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.akf-geography-subsection {
    margin-top: 24px;
}

.akf-geography-subsection > h3 {
    margin: 0 0 10px;
    color: #102d48;
    font-size: 15px;
    line-height: 1.35;
}

.akf-geography-industries {
    border-top: 1px solid #dfe6eb;
}

.akf-geography-industries__head,
.akf-geography-industries__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 110px;
    gap: 16px;
    align-items: center;
}

.akf-geography-industries__head {
    padding: 9px 0;
    color: #71808d;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.akf-geography-industries__head span:not(:first-child),
.akf-geography-industries__row > span {
    text-align: right;
}

.akf-geography-industries__row {
    padding: 11px 0;
    border-top: 1px solid #e8edf0;
}

.akf-geography-industries__row:first-of-type {
    border-top: 0;
}

.akf-geography-industries__row > div {
    min-width: 0;
}

.akf-geography-industries__row strong,
.akf-geography-industries__row small {
    display: block;
}

.akf-geography-industries__row strong {
    color: #173550;
    font-size: 12px;
    line-height: 1.35;
}

.akf-geography-industries__row small {
    margin-top: 2px;
    color: #7b8995;
    font-size: 10px;
}

.akf-geography-industries__row > span {
    color: #173550;
    font-size: 12px;
    font-weight: 750;
}

.akf-geography-age {
    display: grid;
    gap: 8px;
}

.akf-geography-age__row {
    display: grid;
    grid-template-columns: 76px minmax(100px, 1fr) 70px 58px;
    gap: 10px;
    align-items: center;
}

.akf-geography-age__row > span,
.akf-geography-age__row > strong,
.akf-geography-age__row > small {
    font-size: 11px;
}

.akf-geography-age__row > span {
    color: #526575;
    font-weight: 700;
}

.akf-geography-age__row > strong {
    color: #173550;
    text-align: right;
}

.akf-geography-age__row > small {
    color: #7b8995;
    text-align: right;
}

.akf-geography-age__bar {
    position: relative;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf1f4;
}

.akf-geography-age__bar > i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #1e6d9f;
}

@media (max-width: 760px) {
    .akf-geography-kpis,
    .akf-geography-job-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .akf-geography-industries__head,
    .akf-geography-industries__row {
        grid-template-columns: minmax(0, 1fr) 76px 76px;
        gap: 8px;
    }

    .akf-geography-industries__head,
    .akf-geography-industries__row > span {
        font-size: 10px;
    }

    .akf-geography-age__row {
        grid-template-columns: 64px minmax(70px, 1fr) 56px;
    }

    .akf-geography-age__row > small {
        display: none;
    }
}


/* v0.11.2: compact source attribution --------------------------------- */
.akf-data-source {
    margin: 12px 0 0;
    color: #7a8792;
    font-size: 10px;
    line-height: 1.45;
}

.akf-data-source > span:first-child {
    font-weight: 700;
}

.akf-data-source a {
    color: #667784;
    text-decoration: underline;
    text-decoration-color: #c1cbd2;
    text-underline-offset: 2px;
}

.akf-data-source a:hover,
.akf-data-source a:focus {
    color: #173550;
    text-decoration-color: currentColor;
}

.akf-data-source__period {
    white-space: nowrap;
}


/* v0.12.0: municipality office finder ---------------------------------- */
.akf-geography-section--offices {
    color: var(--akf-text);
}

.akf-office-section__head {
    margin-bottom: 14px;
}

.akf-office-intro {
    max-width: 760px;
    margin: 0 0 18px;
    color: #526575;
    font-size: 14px;
    line-height: 1.55;
}

.akf-office-groups {
    display: grid;
    gap: 24px;
}

.akf-office-group + .akf-office-group {
    padding-top: 2px;
}

.akf-office-group__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--akf-border);
}

.akf-office-group__heading h3 {
    margin: 0;
    color: var(--akf-navy);
    font-size: 16px;
    line-height: 1.3;
}

.akf-office-group__heading span {
    color: var(--akf-muted);
    font-size: 12px;
    white-space: nowrap;
}

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

.akf-office-card {
    min-width: 0;
    padding: 15px 16px 13px;
    border: 1px solid var(--akf-border);
    border-radius: var(--akf-radius);
    background: #fff;
}

.akf-office-card__top {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.akf-office-card__logo {
    flex: 0 0 54px;
    width: 54px;
    height: 38px;
    border: 0;
    padding: 0;
}

.akf-office-card__identity {
    min-width: 0;
}

.akf-office-card__identity strong,
.akf-office-card__identity span {
    display: block;
}

.akf-office-card__identity strong {
    color: var(--akf-navy);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
}

.akf-office-card__identity span {
    margin-top: 2px;
    color: var(--akf-muted);
    font-size: 11px;
    line-height: 1.35;
}

.akf-office-card__details {
    display: grid;
    gap: 7px;
    margin: 13px 0 0;
}

.akf-office-card__details > div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
}

.akf-office-card__details dt,
.akf-office-card__details dd {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.akf-office-card__details dt {
    color: var(--akf-muted);
    font-weight: 700;
}

.akf-office-card__details dd {
    color: #33485a;
}

.akf-office-card__details a {
    color: var(--akf-blue);
    text-decoration: none;
}

.akf-office-card__details a:hover,
.akf-office-card__details a:focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.akf-office-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px solid var(--akf-border-soft);
}

.akf-office-card__appointment {
    color: var(--akf-muted);
    font-size: 11px;
}

.akf-office-card__link {
    color: var(--akf-blue);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.akf-office-card__link::after {
    content: " →";
}

.akf-office-card__link:hover,
.akf-office-card__link:focus {
    color: var(--akf-blue-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.akf-office-distance-note {
    margin-top: 14px;
}

@media (max-width: 760px) {
    .akf-office-grid {
        grid-template-columns: 1fr;
    }

    .akf-office-card {
        padding: 14px;
    }

    .akf-office-card__details > div {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 8px;
    }
}

.akf-internal-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.akf-internal-link:hover,
.akf-internal-link:focus {
    color: var(--akf-blue);
}

/* Data foundation / trust block */
.akf-data-foundation {
    width: 100%;
    margin: 24px 0;
    padding: 22px 24px;
    border: 1px solid #d7e4ec;
    border-radius: 12px;
    background: #f3f8fb;
    color: var(--akf-text);
    font-size: 14px;
    line-height: 1.55;
}

.akf-data-foundation * {
    box-sizing: border-box;
}

.akf-data-foundation__intro {
    margin-bottom: 18px;
}

.akf-data-foundation__intro-copy {
    padding-left: 14px;
    border-left: 3px solid #1689bd;
}

.akf-data-foundation__eyebrow {
    display: block;
    margin: 0 0 4px;
    color: #547083;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .085em;
    line-height: 1.25;
    text-transform: uppercase;
}

.akf-data-foundation__intro h2 {
    margin: 0 0 3px;
    color: var(--akf-navy);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.3;
}

.akf-data-foundation__intro p {
    margin: 0;
    max-width: 820px;
    color: #526273;
    font-size: 13px;
}

.akf-data-foundation__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 19px;
    border-top: 1px solid #d7e4ec;
    border-bottom: 1px solid #d7e4ec;
}

.akf-data-foundation__stat {
    min-width: 0;
    padding: 13px 14px;
    border-right: 1px solid #d7e4ec;
}

.akf-data-foundation__stat:first-child {
    padding-left: 0;
}

.akf-data-foundation__stat:last-child {
    padding-right: 0;
    border-right: 0;
}

.akf-data-foundation__stat strong,
.akf-data-foundation__stat span {
    display: block;
}

.akf-data-foundation__stat strong {
    margin-bottom: 2px;
    color: var(--akf-navy);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.15;
}

.akf-data-foundation__stat span {
    color: #667584;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.35;
    text-transform: uppercase;
}

.akf-data-foundation__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 26px;
}

.akf-data-foundation__point {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.akf-data-foundation__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: #087db6;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.akf-data-foundation__point p {
    margin: 0;
    color: #34465a;
    font-size: 13px;
    line-height: 1.5;
}

.akf-data-foundation__point strong {
    color: var(--akf-text);
    font-weight: 750;
}

.akf-data-foundation__note {
    margin: 16px 0 0;
    padding-top: 12px;
    border-top: 1px solid #d7e4ec;
    color: #6d7b89;
    font-size: 11px;
    line-height: 1.45;
}

.akf-data-foundation__mobile-preview,
.akf-data-foundation__toggle {
    display: none;
}

.akf-data-foundation__toggle {
    width: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--akf-navy);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

.akf-data-foundation__chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transform-origin: center;
    transition: transform .18s ease;
}

.akf-data-foundation--compact {
    padding-top: 18px;
    padding-bottom: 18px;
}

.akf-data-foundation--compact .akf-data-foundation__stats {
    margin-bottom: 0;
}

.akf-data-foundation--compact .akf-data-foundation__note {
    margin-top: 12px;
}

@media (max-width: 760px) {
    .akf-data-foundation {
        padding: 17px 16px 14px;
    }

    .akf-data-foundation__intro {
        margin-bottom: 14px;
    }

    .akf-data-foundation__intro-copy {
        padding-left: 11px;
        border-left-width: 2px;
    }

    .akf-data-foundation__intro h2 {
        font-size: 17px;
    }

    .akf-data-foundation__intro p {
        font-size: 12px;
        line-height: 1.45;
    }

    .akf-data-foundation__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 12px;
    }

    .akf-data-foundation__stat {
        padding: 10px 9px;
        border-bottom: 1px solid #d7e4ec;
    }

    .akf-data-foundation__stat strong {
        font-size: 18px;
    }

    .akf-data-foundation__stat span {
        font-size: 9px;
        line-height: 1.25;
    }

    .akf-data-foundation__stat:nth-child(2) {
        border-right: 0;
    }

    .akf-data-foundation__stat:nth-child(3),
    .akf-data-foundation__stat:nth-child(4) {
        border-bottom: 0;
    }

    .akf-data-foundation__stat:nth-child(3) {
        padding-left: 0;
    }

    .akf-data-foundation__points {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* JS activates the compact mobile view. Without JS the full evidence remains visible. */
    .akf-data-foundation.is-mobile-collapsible .akf-data-foundation__details {
        display: none;
    }

    .akf-data-foundation.is-mobile-collapsible .akf-data-foundation__mobile-preview {
        position: relative;
        display: grid;
        max-height: 104px;
        overflow: hidden;
        gap: 10px;
        padding-bottom: 22px;
    }

    .akf-data-foundation.is-mobile-collapsible .akf-data-foundation__mobile-preview::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 56px;
        content: '';
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(243, 248, 251, 0), #f3f8fb 78%);
    }

    .akf-data-foundation.is-mobile-collapsible .akf-data-foundation__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 9px 0 2px;
    }

    .akf-data-foundation.is-mobile-collapsible.is-expanded .akf-data-foundation__mobile-preview {
        display: none;
    }

    .akf-data-foundation.is-mobile-collapsible.is-expanded .akf-data-foundation__details {
        display: block;
    }

    .akf-data-foundation.is-mobile-collapsible.is-expanded .akf-data-foundation__toggle {
        margin-top: 9px;
        padding-top: 10px;
        border-top: 1px solid #d7e4ec;
    }

    .akf-data-foundation.is-mobile-collapsible.is-expanded .akf-data-foundation__chevron {
        transform: rotate(225deg) translate(-1px, -1px);
    }
}


/* Affiliate CTA support. */
.akf-button--affiliate { border-color: var(--akf-blue); background: var(--akf-blue); color: #fff !important; }
.akf-button--affiliate:hover, .akf-button--affiliate:focus { border-color: var(--akf-blue-hover); background: var(--akf-blue-hover); color: #fff !important; }
.akf-feed-card__affiliate { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
.akf-affiliate-note { display: block; color: var(--akf-muted); font-size: 9px; font-weight: 600; line-height: 1.2; text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.akf-feed-card__internal-link { display: inline-flex; justify-content: center; color: var(--akf-navy); font-size: 11px; font-weight: 650; line-height: 1.25; text-decoration: underline; text-underline-offset: 2px; }
.akf-feed-card__internal-link:hover, .akf-feed-card__internal-link:focus { color: var(--akf-blue); }
.akf-row__action .akf-affiliate-note, .akf-summary__footer .akf-affiliate-note { margin-top: 4px; }

/* v0.18: local-office badge in the main feed ----------------------------- */
.akf-feed-card__office-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 7px;
    padding: 3px 8px;
    border: 1px solid #b8d5e4;
    border-radius: 999px;
    background: #f1f8fb;
    color: #175f83;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .akf-feed-card__office-badge {
        margin-top: 6px;
        font-size: 10px;
    }
}


/* v0.20: individual a-kasse article modules ----------------------------- */
.akf-akasse-section {
    width: 100%;
    margin: 22px 0;
    color: var(--akf-text);
    font-size: 15px;
    line-height: 1.5;
}

.akf-akasse-section *,
.akf-akasse-section *::before,
.akf-akasse-section *::after {
    box-sizing: border-box;
}

.akf-akasse-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.akf-akasse-section__head .akf-kicker {
    margin: 0 0 2px;
}

.akf-akasse-section__head h2,
.akf-akasse-overview h2 {
    margin: 0;
    color: var(--akf-navy);
    font-size: 24px;
    line-height: 1.2;
}

.akf-akasse-section__head > span {
    color: var(--akf-muted);
    font-size: 12px;
    white-space: nowrap;
}

.akf-akasse-overview {
    padding: 20px;
    border: 1px solid var(--akf-border);
    border-radius: 12px;
    background: #fff;
}

.akf-akasse-overview__identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.akf-akasse-overview__target {
    max-width: 780px;
    margin: 5px 0 0;
    color: #495869;
}

.akf-akasse-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
    border-top: 1px solid var(--akf-border);
    border-bottom: 1px solid var(--akf-border);
}

.akf-akasse-kpis--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.akf-akasse-kpis > div {
    min-width: 0;
    padding: 14px 16px;
    border-right: 1px solid var(--akf-border);
}

.akf-akasse-kpis > .akf-akasse-kpi--current {
    background: #f7fbff;
    box-shadow: inset 0 0 0 1px rgba(24, 109, 204, 0.12);
}

.akf-akasse-kpi__label--current {
    color: var(--akf-blue);
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: none;
}

.akf-akasse-kpis > div:last-child {
    border-right: 0;
}

.akf-akasse-kpis span,
.akf-akasse-facts-grid span {
    display: block;
    color: #607080;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.akf-akasse-kpis strong {
    display: block;
    margin-top: 2px;
    color: var(--akf-navy);
    font-size: 22px;
    line-height: 1.2;
}

.akf-akasse-kpis > .akf-akasse-kpi--current strong {
    margin-top: 6px;
}

.akf-akasse-kpis small {
    display: block;
    margin-top: 4px;
    color: var(--akf-muted);
    font-size: 11px;
    line-height: 1.35;
}

.akf-akasse-overview__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 20px;
    margin-top: 0;
    padding-top: 14px;
}

.akf-akasse-overview__meta {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 0;
    color: #4e5d6c;
    font-size: 13px;
}

.akf-akasse-overview__meta span::before {
    content: "✓";
    margin-right: 6px;
    color: var(--akf-blue);
    font-weight: 800;
}

.akf-akasse-section__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.akf-akasse-overview__cta {
    flex: 0 0 auto;
    margin-top: 0;
    margin-left: auto;
}

.akf-akasse-facts-grid,
.akf-akasse-contact__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.akf-akasse-facts-grid > div,
.akf-akasse-contact__grid > div {
    padding: 13px 14px;
    border: 1px solid var(--akf-border-soft);
    border-radius: 8px;
    background: var(--akf-bg-soft);
}

.akf-akasse-facts-grid strong {
    display: block;
    margin-top: 3px;
    color: var(--akf-navy);
    font-size: 16px;
}

.akf-akasse-history > .akf-history-block,
.akf-akasse-history__chart > .akf-history-block {
    margin-top: 10px;
}

.akf-akasse-history .akf-history-block__grid--single,
.akf-akasse-history__chart .akf-history-block__grid--single {
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
}

.akf-akasse-feature-grid,
.akf-akasse-product-grid,
.akf-akasse-office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.akf-akasse-feature,
.akf-akasse-product,
.akf-akasse-office {
    padding: 15px 16px;
    border: 1px solid var(--akf-border);
    border-radius: 9px;
    background: #fff;
}

.akf-akasse-feature strong,
.akf-akasse-product h3,
.akf-akasse-office h3 {
    margin: 0;
    color: var(--akf-navy);
    font-size: 16px;
    line-height: 1.3;
}

.akf-akasse-feature p,
.akf-akasse-product p,
.akf-akasse-office p {
    margin: 7px 0 0;
}

.akf-akasse-feature small,
.akf-akasse-office small {
    display: block;
    margin-top: 7px;
    color: var(--akf-muted);
    font-size: 12px;
}

.akf-akasse-product dl {
    margin: 12px 0 0;
}

.akf-akasse-product dl > div {
    display: grid;
    grid-template-columns: minmax(115px, .7fr) minmax(0, 1.3fr);
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid var(--akf-border-soft);
}

.akf-akasse-product dt,
.akf-akasse-contact__grid dt {
    color: var(--akf-muted);
    font-size: 12px;
    font-weight: 650;
}

.akf-akasse-product dd,
.akf-akasse-contact__grid dd {
    margin: 0;
    color: var(--akf-text);
    font-weight: 650;
}

.akf-akasse-contact__grid {
    margin: 0;
}

.akf-akasse-contact__grid dt,
.akf-akasse-contact__grid dd {
    margin: 0;
}

.akf-akasse-contact__grid dd {
    margin-top: 4px;
}

.akf-akasse-office .akf-text-link,
.akf-akasse-product .akf-text-link {
    display: inline-block;
    margin-top: 10px;
}

.akf-text-link {
    color: var(--akf-blue);
    font-weight: 700;
    text-decoration: none;
}

.akf-text-link:hover,
.akf-text-link:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.akf-akasse-offices__more {
    margin-top: 12px;
}

.akf-akasse-offices__more > summary {
    cursor: pointer;
    color: var(--akf-blue);
    font-weight: 700;
}

.akf-akasse-offices__more[open] > summary {
    margin-bottom: 12px;
}

@media (max-width: 780px) {
    .akf-akasse-section__head {
        display: block;
    }

    .akf-akasse-section__head > span {
        display: block;
        margin-top: 4px;
    }

    .akf-akasse-overview {
        padding: 16px;
    }

    .akf-akasse-overview__identity {
        align-items: flex-start;
    }

    .akf-akasse-overview__footer {
        display: block;
    }

    .akf-akasse-overview__cta {
        margin-top: 14px;
        margin-left: 0;
    }

    .akf-akasse-section__head h2,
    .akf-akasse-overview h2 {
        font-size: 21px;
    }

    .akf-akasse-kpis,
    .akf-akasse-kpis--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .akf-akasse-kpis > div {
        padding: 12px 10px;
        border-bottom: 1px solid var(--akf-border-soft);
    }

    .akf-akasse-kpis > div:nth-child(2n) {
        border-right: 0;
    }



    .akf-akasse-kpis strong {
        font-size: 19px;
    }

    .akf-akasse-facts-grid,
    .akf-akasse-contact__grid,
    .akf-akasse-feature-grid,
    .akf-akasse-product-grid,
    .akf-akasse-office-grid {
        grid-template-columns: 1fr;
    }
}

/* Multi a-kasse comparison chart */
.akf-compare-chart {
    margin: 22px 0;
    padding: 20px;
    border: 1px solid var(--akf-border);
    border-radius: 12px;
    background: #fff;
}

.akf-compare-chart__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.akf-compare-chart__head .akf-kicker {
    margin: 0 0 3px;
}

.akf-compare-chart__head h2 {
    margin: 0;
    color: var(--akf-navy);
    font-size: 24px;
    line-height: 1.2;
}

.akf-compare-chart__head > p {
    max-width: 420px;
    margin: 0;
    color: var(--akf-muted);
    font-size: 13px;
    text-align: right;
}

.akf-compare-chart__toolbar {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--akf-border-soft);
}

.akf-compare-chart__toolbar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 11px;
}

.akf-compare-chart__toolbar-head > strong {
    color: var(--akf-navy);
    font-size: 13px;
}

.akf-compare-chart__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.akf-compare-chart__action {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--akf-blue);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.akf-compare-chart__action + .akf-compare-chart__action::before {
    content: "·";
    margin-right: 8px;
    color: #9aa7b4;
}

.akf-compare-chart__toggles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 7px 18px;
    padding: 0;
}

.akf-compare-chart__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #5a6875;
    font: inherit;
    font-size: 12px;
    font-weight: 550;
    text-align: left;
    cursor: pointer;
    transition: color .15s ease, opacity .15s ease;
}

.akf-compare-chart__toggle:hover,
.akf-compare-chart__toggle:focus,
.akf-compare-chart__toggle:focus-visible,
.akf-compare-chart__toggle:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: var(--akf-navy);
    outline: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.akf-compare-chart__toggle.is-active {
    color: var(--akf-navy);
    font-weight: 700;
}

.akf-compare-chart__toggle-label {
    min-width: 0;
}

.akf-compare-chart__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c5d0d9;
    flex: 0 0 auto;
}

.akf-compare-chart__toggle.is-active .akf-compare-chart__dot {
    background: var(--akf-series-color);
}

.akf-compare-chart__plot {
    position: relative;
    min-height: 350px;
    margin-top: 4px;
}

.akf-compare-chart__svg {
    display: block;
    width: 100%;
    height: 390px;
    overflow: visible;
}

.akf-compare-chart__gridline {
    stroke: #e4ebf0;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.akf-compare-chart__axis-label {
    fill: #72808d;
    font-size: 11px;
    font-family: inherit;
}

.akf-compare-chart__series-line,
.akf-compare-chart__median-line {
    pointer-events: none;
}

.akf-compare-chart__median-line {
    fill: none;
    stroke: #8895a1;
    stroke-width: 2;
    stroke-dasharray: 7 6;
}

.akf-compare-chart__point {
    pointer-events: none;
    stroke: #fff;
    stroke-width: 1.5;
}

.akf-compare-chart__hit {
    cursor: crosshair;
    outline: none;
    pointer-events: all;
}

.akf-compare-chart__tooltip {
    position: absolute;
    top: 14px;
    z-index: 3;
    min-width: 210px;
    max-width: 300px;
    padding: 10px 12px;
    border: 1px solid #d6e0e8;
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 8px 24px rgba(18, 39, 57, .12);
    transform: translateX(-50%);
    color: var(--akf-text);
    font-size: 12px;
    pointer-events: none;
}

.akf-compare-chart__tooltip > strong {
    display: block;
    margin-bottom: 7px;
    color: var(--akf-navy);
    font-size: 13px;
}

.akf-compare-chart__tooltip-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 3px 0;
}

.akf-compare-chart__tooltip-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.akf-compare-chart__tooltip-list i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.akf-compare-chart__tooltip-list b {
    white-space: nowrap;
    color: var(--akf-navy);
}

.akf-compare-chart__tooltip-list .is-benchmark {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--akf-border-soft);
}

.akf-compare-chart__tooltip-list .is-benchmark i {
    width: 12px;
    height: 0;
    border-radius: 0;
    border-top: 2px dashed #8895a1;
}

.akf-compare-chart__empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--akf-muted);
    font-size: 14px;
}

.akf-compare-chart__empty[hidden],
.akf-compare-chart__tooltip[hidden] {
    display: none !important;
}

.akf-compare-chart__note {
    margin: 9px 0 0;
    color: var(--akf-muted);
    font-size: 11px;
}

.akf-compare-chart__median-key {
    display: inline-block;
    width: 19px;
    margin-right: 6px;
    vertical-align: middle;
    border-top: 2px dashed #8895a1;
}

@media (max-width: 780px) {
    .akf-compare-chart {
        padding: 16px;
    }

    .akf-compare-chart__head {
        display: block;
    }

    .akf-compare-chart__head h2 {
        font-size: 21px;
    }

    .akf-compare-chart__head > p {
        margin-top: 6px;
        text-align: left;
    }

    .akf-compare-chart__toolbar-head {
        display: block;
    }

    .akf-compare-chart__actions {
        margin-top: 7px;
    }

    .akf-compare-chart__toggles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px 12px;
    }

    .akf-compare-chart__toggle {
        white-space: normal;
    }

    .akf-compare-chart__plot {
        min-height: 285px;
    }

    .akf-compare-chart__svg {
        height: 310px;
    }

    .akf-compare-chart__tooltip {
        min-width: 185px;
        max-width: 245px;
    }
}
