:root {
    --bg: #f6f7fb;
    --text: #1f2933;
    --muted: #657283;
    --line: #d9dee8;
    --green: #0f9f6e;
    --red: #d64545;
    --yellow: #f3a712;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    border-radius: 8px;
    background: #1d4ed8;
    color: var(--white);
    cursor: pointer;
    font-weight: 700;
    min-height: 42px;
    padding: 0 16px;
}

button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.secondary-button {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
}

input,
select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    padding: 0 12px;
}

main {
    width: min(1180px, calc(100% - 28px));
    margin: 88px auto 40px;
}

.topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 0 max(18px, calc((100vw - 1180px) / 2));
    background: #102033;
    color: var(--white);
    box-shadow: 0 6px 24px rgb(16 32 51 / 18%);
}

.brand,
.nav a {
    color: var(--white);
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.1;
}

.brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.nav {
    display: flex;
    flex: 0 0 auto;
    gap: 18px;
    align-items: center;
}

.nav a {
    color: #dce7f5;
    font-size: .95rem;
    font-weight: 700;
}

.menu-button {
    display: none;
    flex: 0 0 auto;
    width: 44px;
    padding: 0;
    background: rgb(255 255 255 / 12%);
}

.topbar-actions {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.topbar-selection-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 18%);
    font-size: .9rem;
    padding: 0 12px;
}

.topbar-selection-badge.reserve-badge {
    background: #d64545;
}

.topbar-selection-badge.trade-badge {
    background: #0f9f6e;
}

.topbar-selection-badge[hidden] {
    display: none;
}

.topbar-selection-badge span {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    background: var(--white);
    color: #9b1c1c;
    font-weight: 800;
}

.topbar-selection-badge.trade-badge span {
    color: #08734e;
}

.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 172px;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    border-radius: 12px;
    padding: 28px;
    background: var(--accent);
    background-image: linear-gradient(135deg, rgb(0 0 0 / 22%), rgb(255 255 255 / 10%));
    color: var(--white);
}

.image-hero {
    width: 100%;
    height: 132px;
    margin: -6px 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #06383d;
    overflow: hidden;
}

.image-hero img {
    display: block;
    width: 100%;
    height: 100%;
    margin-left: 0;
    object-fit: cover;
    object-position: center;
}

.hero.has-flag::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: min(48%, 520px);
    background-image: linear-gradient(90deg, rgb(0 0 0 / 0), rgb(0 0 0 / 18%)), var(--flag);
    background-position: center;
    background-size: cover;
    opacity: .34;
}

.hero-flag {
    width: min(28vw, 300px);
    aspect-ratio: 3 / 2;
    border-radius: 10px;
    object-fit: contain;
    background: rgb(255 255 255 / 92%);
    box-shadow: 0 16px 36px rgb(16 32 51 / 22%);
    padding: 8px;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero p {
    margin: 0 0 8px;
    font-weight: 700;
    opacity: .9;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 4.4rem);
    letter-spacing: 0;
}

.score {
    min-width: 160px;
    text-align: right;
}

.score strong {
    display: block;
    font-size: 3rem;
}

.metrics,
.dashboard,
.filters,
.admin-head {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.metrics {
    grid-template-columns: repeat(3, 1fr);
}

.dashboard {
    grid-template-columns: 1fr 1fr;
}

.metrics div,
.metrics a,
.panel,
.sticker,
.country-card,
.edit-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.metrics div,
.metrics a {
    padding: 18px;
}

.metrics a {
    color: var(--text);
    text-decoration: none;
}

.country-metrics {
    grid-template-columns: repeat(3, 1fr);
}

.country-metrics a.metric-card,
.country-metrics a.metric-card:link,
.country-metrics a.metric-card:visited {
    display: grid;
    gap: 4px;
    min-height: 98px;
    align-content: center;
    border: 1px solid var(--line);
    border-top: 5px solid #1d4ed8;
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 10px 28px rgb(16 32 51 / 8%);
    transition: transform .15s ease, box-shadow .15s ease;
}

.country-metrics a.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgb(16 32 51 / 13%);
}

.country-metrics a.metric-card strong {
    color: var(--text);
    text-decoration: none;
}

.country-metrics a.metric-card span {
    color: var(--muted);
    text-decoration: none;
}

.metrics strong {
    display: block;
    font-size: 1.8rem;
}

.metrics span,
.metrics em,
.sticker span,
.country-card span,
.sticker small {
    color: var(--muted);
}

.metrics em {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    font-size: .82rem;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filters {
    grid-template-columns: 2fr 1fr 1fr auto auto;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    background: #1d4ed8;
    color: var(--white);
    font-weight: 700;
    padding: 0 16px;
    text-decoration: none;
    white-space: nowrap;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.country-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 74px auto auto;
    gap: 8px;
    align-items: center;
    min-height: 172px;
    padding: 12px;
    color: var(--text);
    text-decoration: none;
    border-top: 5px solid var(--accent);
}

.country-card img {
    grid-column: 1 / -1;
    width: 100%;
    height: 74px;
    border-radius: 5px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 3px 10px rgb(16 32 51 / 16%);
}

.country-card.active {
    outline: 3px solid rgb(16 32 51 / 18%);
}

.country-card strong {
    font-size: 1.15rem;
}

.country-card span {
    grid-column: 1 / -1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.country-card em {
    align-self: start;
    color: var(--accent);
    font-style: normal;
    font-weight: 800;
}

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

.grouped-list {
    display: grid;
    gap: 16px;
}

.country-group {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 16px;
    border-top: 5px solid var(--accent);
}

.country-group h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 1.25rem;
}

.country-group h2 img,
.admin-country img {
    width: 48px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgb(16 32 51 / 16%);
}

.country-group p {
    margin: 0;
    color: var(--muted);
}

.sticker {
    display: grid;
    gap: 14px;
    min-height: 150px;
    padding: 16px;
    border-top: 5px solid var(--accent);
}

.sticker > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.sticker strong {
    font-size: 1.25rem;
}

.sticker-title {
    margin: -6px 0 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.qty {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.qty b {
    color: var(--accent);
    font-size: 2.2rem;
}

.reserved-info {
    color: #9b1c1c;
    font-weight: 800;
}

.offered-info {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: #fff7d6;
    color: #8a5a00;
    font-weight: 800;
    padding: 4px 8px;
}

.sticker.missing {
    background: #fff7f7;
}

.sticker.duplicate {
    background: #f3fff9;
}

.reserve {
    display: grid;
    grid-template-columns: 1fr 70px;
    gap: 8px;
}

.reserve button {
    grid-column: 1 / -1;
}

.reserve-select-button,
.trade-select-button {
    width: 100%;
}

.reserve-select-button {
    background: #1d4ed8;
}

.reserve-select-button.selected {
    background: #9b1c1c;
}

.trade-select-button {
    background: #0f9f6e;
}

.trade-select-button.selected {
    background: #9b1c1c;
}

.selection-box {
    position: sticky;
    top: 76px;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 12px;
    align-items: center;
    border: 1px solid #f0b4b4;
    border-left: 5px solid #d64545;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(16 32 51 / 12%);
    margin: 18px 0;
    padding: 14px;
}

.selection-box[hidden] {
    display: none;
}

.selection-box strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 1.05rem;
}

.selection-box strong span {
    display: inline-grid;
    min-width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    background: #d64545;
    color: var(--white);
}

.selection-box > div > span {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: var(--muted);
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selection-box form {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
}

.flash {
    margin-bottom: 14px;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}

.flash.success {
    background: #e7f8f0;
    color: #096342;
}

.flash.error {
    background: #fdecec;
    color: #9b1c1c;
}

.login-wrap {
    display: grid;
    min-height: calc(100vh - 120px);
    place-items: center;
}

.panel {
    width: min(100%, 520px);
    padding: 22px;
}

.panel h1,
.panel h2 {
    margin-top: 0;
}

.dash-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 10px;
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--text);
    padding: 10px 0;
    text-decoration: none;
}

.dash-row span,
.dash-row em {
    color: var(--muted);
}

.dash-row em {
    font-style: normal;
    font-weight: 800;
}

.panel label,
.quick-add label,
.country-select label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-weight: 700;
}

.admin-head {
    grid-template-columns: 2fr 1fr;
}

.admin-country {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--accent);
    border-radius: 8px;
    background: var(--white);
    margin-bottom: 18px;
    padding: 14px 16px;
}

.admin-country span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.admin-country strong {
    display: block;
    font-size: 1.35rem;
}

.quick-add,
.country-select {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 16px;
}

.quick-add div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.edit-grid {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
}

.edit-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-top: 5px solid var(--accent);
}

.edit-card strong {
    font-size: 1.2rem;
}

.edit-card small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.2;
}

.edit-card span {
    font-size: 2rem;
    font-weight: 800;
}

.edit-card div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.edit-card button {
    width: 100%;
}

.edit-card.missing {
    background: #fff7f7;
}

.reservations {
    width: 100%;
    margin-top: 18px;
}

.names-import {
    width: min(100%, 820px);
}

.names-import textarea {
    width: 100%;
    min-height: 320px;
    margin: 10px 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    resize: vertical;
    font: inherit;
}

.reservation-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.8fr) 1fr 80px 150px auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.reservation-row.readonly {
    grid-template-columns: minmax(220px, 1.8fr) 1fr 80px 1fr;
}

.reservation-group {
    border-top: 1px solid var(--line);
    padding: 14px 0 8px;
}

.reservation-group h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1rem;
}

.reservation-group ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0 0 0 18px;
    list-style: none;
}

.reservation-group li {
    position: relative;
    color: var(--muted);
    line-height: 1.35;
}

.reservation-group li::before {
    content: "---";
    position: absolute;
    left: -18px;
    color: var(--line);
    font-weight: 800;
}

.reservation-group li strong {
    color: var(--text);
}

.reservation-group li em {
    color: var(--text);
    font-style: normal;
    font-weight: 700;
}

.control-reservation-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) 1fr 70px 1fr 130px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.trade-offer-control {
    display: grid;
    grid-template-columns: minmax(160px, 1.2fr) minmax(200px, 1.6fr) minmax(150px, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 14px 0;
}

.trade-offer-person {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.trade-offer-person strong {
    min-width: 0;
    overflow-wrap: break-word;
}

.trade-offer-control span {
    color: var(--muted);
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin: 18px 0;
}

.admin-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-weight: 800;
    padding: 0 16px;
    text-decoration: none;
}

.admin-tabs a.active {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: var(--white);
}

.status-actions {
    display: inline-flex;
    gap: 8px;
    justify-content: flex-end;
}

.icon-action {
    display: inline-grid;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-size: 1.05rem;
    padding: 0;
}

.icon-action.success {
    border-color: #a7e7cb;
    background: #e7f8f0;
}

.icon-action.danger {
    border-color: #f0b4b4;
    background: #fdecec;
}

.control-reservation-row span,
.control-reservation-row strong,
.reservation-row span,
.reservation-row strong {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.reservation-sticker {
    display: grid;
    gap: 3px;
    line-height: 1.2;
}

.reservation-sticker span {
    color: var(--text);
    font-size: 1rem;
}

.reservation-sticker small {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.compare-head {
    margin-top: 18px;
}

.compare-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 16px;
    align-items: start;
    margin: 18px 0;
}

.compare-input {
    position: sticky;
    top: 82px;
    width: 100%;
}

.compare-input textarea {
    width: 100%;
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    resize: vertical;
    font: inherit;
}

.compare-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.compare-results {
    display: grid;
    gap: 12px;
}

.compare-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}

.compare-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.compare-list-panel {
    width: 100%;
}

.compare-list-panel h2 {
    margin-bottom: 8px;
}

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

.compare-list.compact {
    display: flex;
    flex-wrap: wrap;
}

.compare-list.compact span {
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    font-weight: 800;
    padding: 6px 10px;
}

.compare-item {
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcff;
    padding: 10px;
}

.compare-item strong,
.compare-item span {
    min-width: 0;
    overflow-wrap: break-word;
}

.compare-item span {
    color: var(--muted);
    font-size: .9rem;
}

.compare-item em {
    width: fit-content;
    border-radius: 999px;
    background: #e7f8f0;
    color: #096342;
    font-size: .82rem;
    font-style: normal;
    font-weight: 800;
    padding: 4px 8px;
}

.compare-list-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 12px;
}

.compare-list-actions button {
    width: 100%;
}

.compare-copy-all {
    justify-self: start;
}

@media (max-width: 780px) {
    main {
        width: min(100% - 20px, 1180px);
        margin-top: 64px;
    }

    .menu-button {
        display: block;
    }

    .brand {
        max-width: min(58vw, 300px);
        font-size: 1rem;
    }

    .topbar-actions {
        justify-content: flex-end;
        gap: 6px;
    }

    .topbar-selection-badge {
        min-height: 34px;
        font-size: 0;
        padding: 0 8px;
    }

    .topbar-selection-badge span {
        min-width: 24px;
        height: 24px;
        font-size: .85rem;
    }

    .nav {
        position: absolute;
        top: 64px;
        right: 10px;
        left: 10px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-radius: 8px;
        background: #102033;
        padding: 8px;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 13px 10px;
    }

    .hero {
        display: grid;
        min-height: 160px;
        padding: 20px;
    }

    .image-hero {
        width: 100vw;
        height: 86px;
        margin: -1px calc(50% - 50vw) 12px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .image-hero img {
        height: 100%;
        width: 100%;
        margin-left: 0;
    }

    .hero-flag {
        width: min(100%, 220px);
    }

    .score {
        text-align: left;
    }

    .metrics,
    .filters,
    .admin-head,
    .reservation-row,
    .control-reservation-row {
        grid-template-columns: 1fr;
    }

    .metrics,
    .country-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .metrics div,
    .metrics a,
    .country-metrics a.metric-card,
    .country-metrics a.metric-card:link,
    .country-metrics a.metric-card:visited {
        min-height: 86px;
        padding: 12px 10px;
    }

    .metrics strong {
        font-size: 1.45rem;
    }

    .metrics span {
        font-size: .9rem;
    }

    .metrics em {
        font-size: .72rem;
    }

    .reservation-row,
    .control-reservation-row,
    .trade-offer-control {
        align-items: start;
        gap: 8px;
        padding: 14px 0;
    }

    .trade-offer-control {
        grid-template-columns: 1fr;
    }

    .admin-tabs a {
        flex: 1;
        padding: 0 10px;
    }

    .status-actions {
        justify-content: flex-start;
    }

    .reservation-row.readonly {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
        row-gap: 6px;
    }

    .reservation-row.readonly .reservation-sticker,
    .reservation-row.readonly span:nth-child(4) {
        grid-column: 1 / -1;
    }

    .reservation-row.readonly span:nth-child(2) {
        color: var(--muted);
        font-weight: 700;
    }

    .reservation-row.readonly span:nth-child(3) {
        justify-self: end;
        white-space: nowrap;
    }

    .dashboard {
        grid-template-columns: 1fr;
    }

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

    .country-card {
        grid-template-columns: 1fr auto;
        grid-template-rows: 58px auto auto;
        min-height: 148px;
    }

    .country-card img {
        width: 100%;
        height: 58px;
    }

    .country-card em {
        grid-column: 1 / -1;
    }

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

    .sticker {
        min-height: 0;
        gap: 8px;
        padding: 10px;
        border-radius: 8px;
    }

    .sticker > div:first-child {
        display: grid;
        gap: 3px;
    }

    .sticker strong {
        font-size: 1.05rem;
    }

    .sticker > div:first-child span {
        overflow: hidden;
        font-size: .8rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sticker-title {
        margin-top: -2px;
        font-size: .85rem;
        line-height: 1.2;
    }

    .qty {
        gap: 5px;
    }

    .qty b {
        font-size: 1.55rem;
    }

    .qty span,
    .sticker small {
        font-size: .78rem;
    }

    .reserve-select-button,
    .trade-select-button {
        min-height: 38px;
        padding: 0 8px;
        font-size: .82rem;
    }

    .selection-box {
        top: 74px;
        grid-template-columns: 1fr;
    }

    .selection-box form {
        grid-template-columns: 1fr;
    }

    .selection-box > div > span {
        white-space: normal;
    }

    .quick-add div {
        grid-template-columns: 1fr;
    }

    .compare-layout,
    .compare-columns {
        grid-template-columns: 1fr;
    }

    .compare-input {
        position: static;
    }

    .compare-input textarea {
        min-height: 260px;
    }

    .compare-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .compare-actions {
        grid-template-columns: 1fr 1fr;
    }

    .compare-list-actions {
        grid-template-columns: 1fr;
    }
}
