:root {
    --ink: #36536b;
    --blue: #245ea1;
    --muted: #526f83;
    --mint: #138c84;
    --line: #cbdfe9;
    --paper: #f3f8fc;
    --wash: #e7f2fb;
    --white: #fff;
    --red: #b72c3d;
    --red-hover: #9f2636;
    --radius: 15px;
    --content: 1240px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: var(--blue); text-decoration: none; font-weight: 400; overflow-wrap: anywhere; }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #138c84; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; font-weight: 700; line-height: 1.16; letter-spacing: -.025em; overflow-wrap: anywhere; }
h2 { font-size: 28px; font-weight: 400; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 18px; }
h3 { font-size: 21px; font-weight: 400; line-height: 1.35; margin-bottom: 12px; }
p { font-size: 16px; line-height: 1.65; }
p + p { margin-top: 13px; }
.container { width: min(calc(100% - 56px), var(--content)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; background: white; padding: 10px 16px; z-index: 10; }
.skip-link:focus { top: 8px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 19px; }
.brand { white-space: nowrap; font-size: 23px; letter-spacing: -.04em; }
.brand::before { content: ''; display: inline-block; width: 12px; height: 12px; border: 3px solid var(--mint); border-radius: 50%; margin-right: 8px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.main-nav a { font-size: 15px; padding-block: 4px; }
.main-nav a:hover { box-shadow: inset 0 -2px var(--mint); }
.hero { background: #e4f0fa; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: center; gap: 28px; padding-block: 35px; }
.hero h1 { color: var(--blue); margin-bottom: 13px; }
.hero p { max-width: 78ch; }
.hero-panel { background: #f9fcff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 15px; }
.hero-catalog { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-catalog a { flex: 1 1 100px; border: 1px solid #a6c8df; background: #e9f3fa; padding: 8px 10px; border-radius: 7px; text-align: center; }
.hero-catalog a:hover, .topic-links a:hover { background: #d7eaf7; }
.offers { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.offer, button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 7px; background: var(--red); color: white; padding: 10px 16px; font: inherit; text-align: center; cursor: pointer; }
.offer { flex: 0 1 auto; }
.offer:hover, button:hover { background: var(--red-hover); color: white; }
.section { padding-block: 31px; }
.section + .section { border-top: 1px solid #dae8ef; }
.tint { background: #e9f4f7; }
.split, .catalog-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 24px; align-items: start; }
.split.equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
.split.reverse { grid-template-columns: minmax(0,2fr) minmax(0,1fr); }
.split.reverse > .panel { order: -1; }
.split.reverse { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.split > *, .catalog-layout > *, .hero-grid > * { min-width: 0; }
.copy { padding: 2px 0; }
.copy p { max-width: 86ch; }
.panel { background: #e4f2f2; border: 1px solid #b8d8df; border-top: 4px solid var(--mint); border-radius: var(--radius); padding: 19px 21px; }
.panel .device { margin-top: 14px; }
.metric { font-size: 29px; line-height: 1.3; color: var(--blue); margin-bottom: 8px; }
.panel > a { display: inline-block; margin-top: 12px; }
.catalog-layout .offers .offer { flex: 1 1 29%; }
.topic-links { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,215px),1fr)); gap: 8px; margin-top: 12px; }
.topic-links a { display: flex; align-items: center; padding: 10px 13px; background: #fff; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.panel .topic-links { grid-template-columns: minmax(0,1fr); }
.panel .offers .offer { flex: 1 1 45%; }
.source { margin-top: 13px; color: var(--muted); font-size: 16px; }
.bar-chart { display: grid; gap: 8px; padding: 14px 0 0; }
.bar-row { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(60px,1fr) minmax(75px,auto); gap: 12px; align-items: center; font-variant-numeric: tabular-nums; font-size: 15px; }
meter { width: 100%; height: 18px; }
meter::-webkit-meter-bar { background: #dceaf4; border: 0; border-radius: 4px; }
meter::-webkit-meter-optimum-value { background: #258d9b; border-radius: 4px; }
.table-wrap { width: 100%; }
table { width: 100%; border-collapse: collapse; background: #fff; table-layout: fixed; border: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; font-weight: 400; }
th { background: #d8eaf3; color: var(--blue); }
tbody tr:nth-child(even) { background: #f3f8fc; }
.tool-section { background: #e5f1f8; }
.tool { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 17px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; min-width: 0; }
input, select { min-width: 0; width: 100%; padding: 10px; font: inherit; color: var(--ink); border: 1px solid #9eb8cb; border-radius: 7px; background: #fff; }
.result:not(:empty) { display: block; background: #e7f4f1; border-left: 4px solid var(--mint); padding: 13px 16px; margin-top: 15px; white-space: pre-line; }
.db-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 10px; }
#db-count { margin-bottom: 10px; }
.site-footer { background: #deedf6; border-top: 1px solid var(--line); padding-block: 27px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 24px; }
.footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; }
.footer-grid a { font-size: 14px; }
/* CSS device silhouettes, no external assets. */
.device { display: grid; place-items: center; position: relative; height: 110px; background: #dcecf7; border-radius: 10px; }
.device-body { position: relative; background: #8fb5ce; border: 3px solid #5484a6; border-radius: 6px; }
.device.screen .device-body { width: 148px; height: 81px; background: #d9f4f1; border-width: 5px; box-shadow: inset 0 0 0 4px #b0dbe7; }
.device.screen .device-body::after { content: ''; position: absolute; top: 76px; width: 60px; height: 5px; background: #5484a6; left: 39px; box-shadow: 0 -6px 0 -1px #5484a6; }
.device.fridge .device-body { height: 95px; width: 53px; background: #f8fcff; }
.device.fridge .device-body::before { content: ''; position: absolute; top: 28px; width: 100%; border-top: 3px solid #5484a6; }
.device.fridge .device-body::after { content: ''; position: absolute; top: 38px; left: 5px; width: 4px; height: 22px; background: #5484a6; border-radius: 3px; }
.device.oven .device-body, .device.dryer .device-body { width: 88px; height: 83px; background: #f5fbff; }
.device.oven .device-body::after, .device.dryer .device-body::after { content: ''; position: absolute; inset: 20px 9px 8px; background: #a6d3de; border: 4px solid #5484a6; border-radius: 3px; }
.device.dryer .device-body::after { border-radius: 50%; }
.device.oven i:first-child, .device.dryer i:first-child { position: absolute; left: 9px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #5484a6; box-shadow: 13px 0 #5484a6, 26px 0 #5484a6; }
.device.robot .device-body { width: 92px; height: 92px; border-radius: 50%; background: #f6fbff; }
.device.robot .device-body::after { content: ''; position: absolute; top: 16px; left: 31px; width: 24px; height: 24px; border-radius: 50%; background: #8fb5ce; }
.device.coffee .device-body { width: 78px; height: 83px; background: #eaf5fc; }
.device.coffee .device-body::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 33px; border-radius: 3px; background: #95bbc9; border: 3px solid #5484a6; }
.device.coffee i:first-child { position: absolute; top: 12px; left: 22px; width: 28px; height: 8px; border-radius: 5px; background: #5484a6; }
@media (max-width: 1000px) {
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .main-nav { gap: 5px 14px; }
    .container { width: calc(100% - 36px); }
    .hero-grid, .split, .catalog-layout { gap: 18px; }
    .fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid nav { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
    .hero-grid, .split, .split.equal, .split.reverse, .catalog-layout, .footer-grid { grid-template-columns: minmax(0,1fr); }
    .split.reverse > .panel { order: 0; }
    .hero-grid { padding-block: 24px; }
    .hero-panel { padding: 12px; }
    .hero-panel .device { display: none; }
    .section { padding-block: 23px; }
    .footer-grid nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .db-controls { grid-template-columns: minmax(0,1fr); }
    .table-wrap table, .table-wrap thead, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
    .table-wrap thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
    .table-wrap tr { border-bottom: 1px solid var(--line); padding: 8px; }
    .table-wrap td { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 10px; border: 0; padding: 5px; }
    .table-wrap td::before { content: attr(data-label); color: var(--muted); }
    .table-wrap tr[hidden] { display: none; }
}
@media (max-width: 440px) {
    .container { width: calc(100% - 28px); }
    .fields { grid-template-columns: minmax(0,1fr); }
    .tool { padding: 15px; }
    .offers .offer { flex: 1 1 42%; padding-inline: 9px; }
    .bar-row { grid-template-columns: minmax(0,1fr) minmax(65px,auto); gap: 4px 8px; }
    .bar-row meter { grid-row: 2; grid-column: 1 / -1; }
    .bar-row span:last-child { grid-row: 1; grid-column: 2; }
}
/* Balanced wrapping: incomplete rows use all available width. */
.topic-links { display: flex; flex-wrap: wrap; }
.topic-links a { flex: 1 1 215px; }
.panel .topic-links a { flex-basis: 100%; }
.hero .offers .offer { flex: 1 1 30%; }
.panel .bar-chart { padding-top: 16px; }
.panel .bar-row { grid-template-columns: minmax(0,1fr) minmax(55px,1fr) minmax(65px,auto); }
@media (max-width: 440px) {
    .hero .offers .offer { flex-basis: 42%; }
    .panel .bar-row { grid-template-columns: minmax(0,1fr) minmax(65px,auto); }
}

.device-directory {
    border-top: 1px solid var(--line);
    padding-block: 12px;
}
.device-directory .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 21px;
}
.device-directory a {
    display: inline-block;
    padding-block: 3px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}
.device-directory a:hover {
    box-shadow: inset 0 -1px var(--muted);
}
@media (max-width: 740px) {
    .device-directory .container {
        gap: 4px 16px;
    }
    .device-directory a {
        padding-block: 6px;
    }
}

/* Editorial layouts and shopping zones. */
.editorial .section {
    padding-block: 38px;
}
.editorial .hero-grid {
    gap: 30px;
    align-items: start;
}
.editorial .hero-panel {
    border-top: 4px solid var(--mint);
    box-shadow: 0 6px 20px #32628c0c;
}
.editorial .offers {
    gap: 10px;
    align-items: stretch;
}
.editorial .offers .offer {
    flex: 1 1 calc(25% - 10px);
    min-width: min(100%, 126px);
    max-width: 100%;
    padding: 12px 13px;
    line-height: 1.35;
    color: #fff;
}
.editorial .hero .offers .offer {
    background: #b72c3d;
}
.editorial .hero .offers .offer:hover {
    background: #9f2636;
}
.editorial .section .offers .offer {
    background: #207977;
}
.editorial .section .offers .offer:hover {
    background: #176a68;
}
.editorial .offers .catalog-button,
.editorial .section .offers .catalog-button {
    background: #356ca8;
}
.editorial .offers .catalog-button:hover,
.editorial .section .offers .catalog-button:hover {
    background: #295b95;
}
.editorial .hero .offers .catalog-button {
    background: #356ca8;
}
.editorial .hero .offers .catalog-button:hover {
    background: #295b95;
}
.editorial .panel .offers .offer {
    flex-basis: calc(50% - 10px);
}
.editorial .editorial-feature .split {
    align-items: start;
    gap: 32px;
}
.editorial .editorial-feature .copy p {
    max-width: none;
}
.editorial .editorial-side {
    background: #f8fcfd;
    box-shadow: 0 5px 20px #32628c0b;
    padding: 20px;
}
.editorial .editorial-side h3 {
    margin-top: 16px;
    color: var(--blue);
}
.editorial .editorial-side .device {
    margin-top: 0;
}
.editorial .editorial-side .offers {
    margin-top: 18px;
}
.editorial .editorial-reading .reading-width {
    max-width: 940px;
}
.editorial .editorial-pair .split {
    gap: 32px;
}
.editorial .editorial-column + .editorial-column {
    border-left: 1px solid #bad8e1;
    padding-left: 32px;
}
.editorial .purchase-end {
    background: #e6effa;
    border-top: 1px solid #ccddeb;
}
.editorial .purchase-end .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    align-items: center;
    gap: 28px;
}
.editorial .purchase-end h2,
.editorial .purchase-end .offers {
    margin: 0;
}
.editorial .purchase-end .offers .offer {
    background: #315f9b;
}
.editorial .purchase-end .offers .offer:hover {
    background: #284f85;
}
.editorial .purchase-end .offers .catalog-button {
    background: #207977;
}
.editorial .purchase-end .offers .catalog-button:hover {
    background: #176a68;
}
.editorial .footer-compact nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
}
.editorial .footer-compact a {
    font-size: 14px;
    color: var(--ink);
}
.editorial .site-footer {
    padding-block: 17px;
}
.editorial .device-directory {
    background: #f3f8fc;
    padding-block: 10px;
}
.editorial .device-directory a {
    font-size: 13px;
    color: #526f83;
}
.editorial .editorial-art {
    height: 110px;
    overflow: hidden;
    background: linear-gradient(145deg, #eaf5fb, #dceff1);
    border: 1px solid #d1e3ec;
}
.editorial .editorial-art .device-body {
    box-shadow: 4px 5px 0 #719db62a;
}
.editorial .editorial-art.speaker .device-body {
    width: 49px;
    height: 82px;
    background: #7eabbf;
    border-radius: 7px;
    transform: translateX(-34px);
    box-shadow: 67px 0 0 -3px #7eabbf, 67px 0 0 #5484a6;
}
.editorial .editorial-art.speaker .device-body::before,
.editorial .editorial-art.speaker .device-body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: #d7ecf4;
    border: 3px solid #5484a6;
    left: 8px;
    box-shadow: 67px 0 0 -1px #d7ecf4, 67px 0 0 2px #5484a6;
}
.editorial .editorial-art.speaker .device-body::before {
    top: 8px;
    width: 22px;
    height: 22px;
}
.editorial .editorial-art.speaker .device-body::after {
    top: 35px;
    left: 5px;
    width: 28px;
    height: 28px;
}
.editorial .editorial-art.parcel .device-body {
    width: 88px;
    height: 65px;
    background: #d4e8f2;
    border-radius: 4px;
    transform: skewY(-8deg);
}
.editorial .editorial-art.parcel .device-body::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 17px;
    background: #8fb9c8;
}
.editorial .editorial-art.parcel .device-body::after {
    content: '';
    position: absolute;
    top: 35px;
    right: 5px;
    width: 22px;
    height: 15px;
    background: repeating-linear-gradient(90deg, #5484a6 0 2px, #edf7fb 2px 4px);
    border: 3px solid #edf7fb;
}
.editorial .editorial-art.tag .device-body {
    width: 99px;
    height: 58px;
    background: #d0e9ed;
    border-radius: 4px 23px 23px 4px;
    transform: rotate(-12deg);
}
.editorial .editorial-art.tag .device-body::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 3px solid #5484a6;
    background: #edf7fb;
    border-radius: 50%;
    right: 11px;
    top: 19px;
}
.editorial .editorial-art.tag .device-body::after {
    content: '%';
    position: absolute;
    font-size: 28px;
    line-height: 1;
    left: 13px;
    top: 12px;
    color: #437b94;
}
.editorial .editorial-art.document .device-body {
    width: 64px;
    height: 81px;
    background: #f8fcff;
    border-radius: 4px 14px 4px 4px;
}
.editorial .editorial-art.document .device-body::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 17px;
    right: 9px;
    height: 3px;
    background: #7aa5bc;
    box-shadow: 0 10px #7aa5bc, 0 20px #7aa5bc, 0 30px #7aa5bc;
}
.editorial .editorial-art.document .device-body::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: -5px;
    width: 23px;
    height: 23px;
    border: 4px solid #41928e;
    border-radius: 50%;
    background: #d0e9ed;
}
.editorial .editorial-art.energy .device-body {
    width: 50px;
    height: 78px;
    background: #d5eeed;
    border-radius: 7px;
}
.editorial .editorial-art.energy .device-body::before {
    content: '';
    position: absolute;
    width: 21px;
    height: 8px;
    top: -9px;
    left: 11px;
    background: #5484a6;
    border-radius: 3px 3px 0 0;
}
.editorial .editorial-art.energy .device-body::after {
    content: '';
    position: absolute;
    inset: 10px;
    background: #438c97;
    clip-path: polygon(57% 0, 9% 52%, 44% 52%, 28% 100%, 95% 39%, 57% 39%);
}
.editorial .editorial-art.filter .device-body {
    width: 92px;
    height: 65px;
    border: 7px solid #5484a6;
    background: repeating-linear-gradient(90deg, #f5fbff 0 5px, #8fb5ce 5px 8px);
    transform: rotate(-7deg);
}
.editorial .editorial-art.hob .device-body {
    width: 116px;
    height: 79px;
    background: #8fb5ce;
}
.editorial .editorial-art.hob .device-body::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 6px;
    width: 27px;
    height: 27px;
    border: 3px solid #edf7fb;
    border-radius: 50%;
    box-shadow: 56px 0 0 -3px #8fb5ce, 56px 0 #edf7fb, 0 32px 0 -3px #8fb5ce, 0 32px #edf7fb, 56px 32px 0 -3px #8fb5ce, 56px 32px #edf7fb;
}
@media (max-width: 1000px) {
    .editorial .hero-grid, .editorial .editorial-feature .split, .editorial .editorial-pair .split {
        gap: 20px;
    }
    .editorial .editorial-column + .editorial-column {
        padding-left: 20px;
    }
    .editorial .offers .offer {
        flex-basis: calc(33.333% - 10px);
    }
}
@media (max-width: 740px) {
    .editorial .section {
        padding-block: 26px;
    }
    .editorial .hero-panel .editorial-art {
        display: none;
    }
    .editorial .editorial-column + .editorial-column {
        border-left: 0;
        border-top: 1px solid #bad8e1;
        padding: 22px 0 0;
    }
    .editorial .purchase-end .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .editorial .offers .offer {
        flex-basis: calc(50% - 10px);
    }
    .editorial .device-directory a {
        font-size: 13px;
    }
}
.editorial .compact-feature .editorial-side .device {
    display: none;
}
.editorial .compact-feature .editorial-side h3 {
    margin-top: 0;
}

/* Baza parametrów */
.db-overview { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 16px; margin-bottom: 22px; align-items: stretch; }
.db-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.db-metric { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.db-metric span { font-size: 32px; line-height: 1.3; color: var(--blue); font-variant-numeric: tabular-nums; }
.db-units { padding: 15px 18px; border: 1px solid #b8d8df; border-radius: 10px; background: #e4f2f2; }
#db-controls { grid-template-columns: minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,1fr) auto; gap: 12px; }
#db-controls button, .db-pagination button { background: var(--blue); }
#db-controls button:hover, .db-pagination button:hover { background: #3878b5; }
.db-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.db-pagination button:disabled { cursor: default; background: #d5e3ed; color: var(--muted); }
#database th:nth-child(1) { width: 15%; }
#database th:nth-child(2) { width: 19%; }
#database th:nth-child(3) { width: 10%; }
#database th:nth-child(4) { width: 13%; }
#database th:nth-child(5) { width: 19%; }
#database th:nth-child(6) { width: 16%; }
#database th:nth-child(7) { width: 8%; }
#database [hidden], #database[hidden], #db-controls[hidden], #db-pagination[hidden], #db-empty[hidden] { display: none !important; }
@media (max-width: 1050px) {
    #db-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #database th, #database td { padding: 8px; }
    .db-overview { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    #db-controls { grid-template-columns: minmax(0,1fr); }
    .db-summary { gap: 6px; }
    .db-metric { padding: 9px; font-size: 14px; }
    .db-metric span { font-size: 25px; }
    .db-pagination { gap: 8px; }
    .db-pagination button { padding: 9px 12px; }
}

.data-analysis { background: #f0f7fb; }
.analysis-split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.analysis-split.analysis-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.analysis-reverse .analysis-side { grid-column: 1; grid-row: 1; }
.analysis-reverse .analysis-copy { grid-column: 2; grid-row: 1; }
.analysis-split > * { min-width: 0; }
.analysis-side { padding: 20px; background: #e4f2f2; border: 1px solid #b8d8df; border-top: 4px solid var(--mint); border-radius: 12px; }
.analysis-side h3 { color: var(--blue); }
.analysis-chart { display: grid; gap: 8px; }
.analysis-chart h3 { margin-bottom: 0; font-size: 19px; }
.analysis-scale { color: var(--muted); }
.analysis-bar { min-width: 0; }
.analysis-bar-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.analysis-bar meter { display: block; height: 12px; margin: 4px 0; }
.analysis-number { padding-block: 11px; border-bottom: 1px solid #b8d8df; }
.analysis-number:last-child { border-bottom: 0; padding-bottom: 0; }
.analysis-number span { display: block; color: var(--blue); font-size: 29px; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.analysis-number + p { margin-top: 12px; }
.analysis-table { margin-top: 24px; }
.analysis-table th:first-child { width: 33%; }
.analysis-table th:last-child { width: 17%; }
.data-analysis .source { margin-top: 14px; }
@media (max-width: 920px) {
    .analysis-split, .analysis-split.analysis-reverse { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .analysis-reverse .analysis-side, .analysis-reverse .analysis-copy { grid-column: auto; grid-row: auto; }
}
@media (max-width: 740px) {
    .analysis-side { padding: 15px; }
    .analysis-table th:first-child, .analysis-table th:last-child { width: auto; }
}

@media (min-width: 921px) {
    .analysis-split.analysis-equal, .analysis-split.analysis-reverse.analysis-equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.interactive-section { background: #eef6f9; }
.interactive-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 24px; align-items: start; }
.interactive-layout.interactive-equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
.interactive-main, .interactive-aside { min-width: 0; }
.interactive-form { border: 1px solid #b7d4df; border-radius: 12px; background: #fff; padding: 18px; }
.interactive-aside { background: #e2f1ef; border: 1px solid #b8d8df; border-top: 4px solid var(--mint); padding: 18px; border-radius: 12px; }
.interactive-aside h3 { color: var(--blue); }
.interactive-art { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; padding: 10px 14px 18px; height: 118px; }
.art-device { position: relative; height: 82px; max-width: 104px; border: 3px solid #4d87b0; border-radius: 12px; display: grid; gap: 4px; align-content: center; padding: 10px; background: #f6fcff; }
.art-device i { display: block; height: 8px; background: #a9cfdf; border-radius: 4px; }
.art-device i:nth-child(2) { width: 72%; }
.art-device i:nth-child(3) { width: 87%; }
.art-bars { display: flex; gap: 8px; align-items: center; height: 75px; position: relative; }
.art-bars::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #72a2b7; }
.art-bars i { position: relative; width: 28%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #37988f; background: #f6fcff; }
.art-bars i:nth-child(2) { border-color: #558dbc; }
.art-bars i:nth-child(3) { border-color: #d08b4a; }
.art-fridge .art-device { height: 96px; max-width: 62px; border-radius: 8px; align-content: start; }
.art-fridge .art-device i:first-child { height: 35px; }
.art-dryer .art-device, .art-oven .art-device { height: 84px; max-width: 84px; }
.art-dryer .art-device i:first-child { width: 49px; height: 49px; border: 3px solid #4d87b0; border-radius: 50%; background: #d3e9f0; }
.art-oven .art-device i:first-child { height: 42px; background: #d3e9f0; border: 2px solid #4d87b0; }
.art-tv .art-device { height: 65px; max-width: 120px; border-radius: 5px; background: #c4e1ec; }
.art-tv .art-device::after { content: ''; position: absolute; width: 40%; height: 5px; bottom: -10px; left: 30%; background: #4d87b0; }
.interactive-controls form { margin: 0; }
.interactive-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.interactive-fields label { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 14px; }
.interactive-fields input, .interactive-fields select { width: 100%; min-width: 0; max-width: 100%; border: 1px solid #9bbaca; border-radius: 5px; padding: 9px; background: white; color: var(--ink); font: inherit; }
.interactive-fields .wide { grid-column: 1/-1; }
.interactive-fields [hidden], .interactive-controls [hidden] { display: none !important; }
.interactive-controls button { background: var(--blue); }
.interactive-controls button:hover { background: #3477ad; }
.interactive-status { margin: 8px 0 0; color: #a04d28; }
.interactive-status:empty { display: none; }
.interactive-results:not(:empty) { margin-top: 22px; padding: 18px; border: 1px solid #b7d4df; border-left: 4px solid var(--mint); background: white; border-radius: 10px; }
.interactive-results h3 { color: var(--blue); }
.interactive-results table { margin-top: 12px; }
.interactive-results td, .interactive-results th { overflow-wrap: anywhere; }
.interactive-result-bar { height: 9px; margin-top: 5px; background: #e0edf3; border-radius: 4px; }
.interactive-result-bar i { display: block; height: 100%; background: #37988f; border-radius: 4px; }
.interactive-result-bar meter { width: 100%; height: 12px; display: block; }
.interactive-controls .secondary-tool { background: #e4eff5; color: var(--blue); border: 1px solid #b7d4df; margin-left: 8px; }
@media(max-width:920px) { .interactive-layout, .interactive-layout.interactive-equal { grid-template-columns: minmax(0,1fr); gap: 16px; } .interactive-art { display:none; } }
@media(max-width:540px) { .interactive-fields { grid-template-columns: minmax(0,1fr); } .interactive-form, .interactive-aside, .interactive-results:not(:empty) { padding: 13px; } }

.interactive-static { margin-top: 20px; }
.interactive-meter { display: block; width: 100%; height: 14px; margin-top: 6px; }
.interactive-main > p { margin-bottom: 14px; }
.interactive-section .source { margin-top: 15px; }
.interactive-results th { font-weight: 400; }
.interactive-form select, .interactive-form input { min-height: 42px; }

.interactive-controls > .interactive-fields > label:only-child { grid-column: 1 / -1; }
@media (min-width: 1100px) {
    #tco-narzedzie .interactive-sub .interactive-fields { grid-template-columns: repeat(6, minmax(0,1fr)); }
    #tco-narzedzie .interactive-sub .interactive-fields > label { grid-column: span 2; }
    #tco-narzedzie .interactive-sub .interactive-fields > label:last-child:nth-child(3n+1) { grid-column: 1/-1; }
    #tco-narzedzie .interactive-sub .interactive-fields > label:nth-last-child(2):nth-child(3n+1), #tco-narzedzie .interactive-sub .interactive-fields > label:last-child:nth-child(3n+2) { grid-column: span 3; }
}

.depth-section { background: #f4f9fc; }
.depth-section + .depth-section { background: #eaf4f7; }
.depth-section h2 { color: var(--blue); max-width: 100%; }
.depth-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 25px; align-items: start; }
.depth-layout.depth-equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
.depth-layout.depth-reverse { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.depth-reverse .depth-copy { grid-column: 2; grid-row: 1; }
.depth-reverse .depth-panel { grid-column: 1; grid-row: 1; }
.depth-copy, .depth-panel { min-width: 0; overflow-wrap: anywhere; }
.depth-panel { background: #e4f2f2; border: 1px solid #b8d8df; border-top: 4px solid var(--mint); padding: 18px 20px; border-radius: 12px; }
.depth-panel h3 { color: var(--blue); margin-bottom: 12px; }
.depth-table { margin: 0 0 13px; }
.depth-table th, .depth-table td { padding: 8px 10px; font-size: 15px; font-weight: 400; }
.depth-source { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
@media (max-width: 1000px) {
    .depth-layout, .depth-layout.depth-equal, .depth-layout.depth-reverse { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .depth-reverse .depth-copy, .depth-reverse .depth-panel { grid-row: auto; grid-column: auto; }
}
@media (max-width: 540px) {
    .depth-panel { padding: 14px; }
    .depth-table th, .depth-table td { padding: 7px 5px; }
}

.purchase-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.purchase-links a { flex: 1 1 155px; padding: 9px 12px; text-align: center; background: #f9fcff; border: 1px solid #a8c7dc; border-radius: 6px; color: var(--blue); line-height: 1.35; }
.purchase-links a:hover { background: #dcecf7; }
.hero .purchase-links a { flex: 1 1 20%; min-width: min(100%, 140px); }
.market-section { background: #eff7fb; }
.market-panel { background: #f9fcff; }
.market-panel .offers { margin-top: 8px; }
.market-panel .offer { flex-basis: calc(50% - 10px); }
.reading-composition .split { align-items: start; }
.reading-column { min-width: 0; }
.reading-column + .reading-column { border-left: 1px solid var(--line); padding-left: 24px; }
@media (min-width: 741px) {
    .split.reading-left { grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); }
    .split.reading-right { grid-template-columns: minmax(0,1fr) minmax(0,1.65fr); }
}
@media (max-width: 740px) {
    .reading-column + .reading-column { border-left: 0; padding-left: 0; }
    .hero .purchase-links a { flex-basis: 42%; }
}
.editorial .device { height: 156px; background: radial-gradient(ellipse at 50% 82%, #b7d5e4 0%, #e4f0f6 43%, #f4f9fc 85%); overflow: hidden; }
.editorial .device-body { border-color: #577b94; box-shadow: 7px 7px 10px #48708925, inset 1px 1px 1px #fff9; }
.editorial .device.screen .device-body { width: 186px; height: 106px; border: 6px solid #597c96; border-bottom-width: 9px; background: radial-gradient(ellipse at 82% 15%, #e0fbf7, transparent 50%), linear-gradient(155deg,#8db2d9 0%,#d2eaf3 40%,#79afbb 41%,#a9d8d6 58%,#6196ba 59%,#cce3ef 100%); box-shadow: 5px 7px 8px #50789144, inset 0 0 3px #52788b; }
.editorial .device.screen .device-body::after { top: auto; bottom: -19px; left: calc(50% - 36px); width: 72px; height: 5px; background: linear-gradient(#9bb6c7,#52758d); box-shadow: none; }
.editorial .device.screen .device-body::before { content: ''; position: absolute; bottom: -15px; left: calc(50% - 8px); width: 16px; height: 13px; background: linear-gradient(90deg,#65869e,#adc4d1,#65869e); }
.editorial .device.screen i:first-child { position: absolute; right: 6px; bottom: -6px; width: 3px; height: 3px; border-radius: 50%; background: #9de5cb; }
.editorial .device.fridge .device-body { height: 129px; width: 77px; border-radius: 7px 7px 3px 3px; background: linear-gradient(95deg,#a8c2d2,#f8fcfe 18%,#e5edf2 75%,#abc4d3); box-shadow: 8px 3px 0 #9db6c7, 12px 8px 11px #48708935; }
.editorial .device.fridge .device-body::before { top: 38px; border-top: 3px solid #7899af; }
.editorial .device.fridge .device-body::after { top: 47px; height: 38px; width: 5px; background: linear-gradient(90deg,#688ca6,#d5e3eb,#688ca6); box-shadow: 0 -35px 0 -1px #7899af; }
.editorial .device.fridge i:first-child { position: absolute; right: 6px; top: 11px; width: 21px; height: 10px; border-radius: 2px; background: #8aaec3; box-shadow: inset 0 0 0 2px #d5e6f0; }
.editorial .device.oven .device-body,.editorial .device.dryer .device-body { width: 124px; height: 121px; background: linear-gradient(100deg,#acc5d3,#f9fcfe 28%,#dce7ed 85%,#a5bfce); border-radius: 5px; }
.editorial .device.oven .device-body::after { inset: 33px 9px 10px; border: 5px solid #63859d; background: repeating-linear-gradient(0deg,transparent 0 16px,#9fbacb 16px 18px),linear-gradient(125deg,#6f94ad,#b9d2e1 45%,#e2eef4 46%,#9cbdcf 54%,#769bb2); }
.editorial .device.oven .device-body::before { content: ''; position: absolute; left: 11px; right: 11px; top: 27px; height: 6px; background: linear-gradient(#f7fbfd,#7598ae); border-radius: 2px; z-index: 1; }
.editorial .device.oven i:first-child,.editorial .device.dryer i:first-child { width: 13px; height: 13px; top: 7px; left: 8px; background: radial-gradient(circle at 35% 30%,#f2f8fb,#8caabd 70%); border: 1px solid #6c8fa6; box-shadow: 87px 0 #8caabd; }
.editorial .device.oven i:nth-child(2),.editorial .device.dryer i:nth-child(2) { position: absolute; left: 35px; top: 8px; width: 48px; height: 11px; background: #668ca4; border-radius: 2px; box-shadow: inset 0 0 0 2px #b4cfdf; }
.editorial .device.dryer .device-body::after { inset: 29px 15px 10px; border: 8px solid #8ca9bb; background: radial-gradient(circle,#b7cedb 0 32%,#7e9fb4 33% 36%,#b4cddc 37% 52%,#e6f1f5 53%); box-shadow: inset 0 0 0 2px #e4edf3; }
.editorial .device.coffee .device-body { width: 113px; height: 122px; background: linear-gradient(100deg,#b2c9d7,#eef6fa 30%,#c2d7e2 75%,#8ba9bd); border-radius: 10px 10px 4px 4px; }
.editorial .device.coffee .device-body::after { left: 12px; right: 12px; bottom: 8px; height: 57px; background: linear-gradient(90deg,#64879e,#a9c4d4 17%,#7699b1 80%); border: 3px solid #6e91a8; }
.editorial .device.coffee i:first-child { top: 13px; left: 25px; width: 56px; height: 18px; background: #779db4; box-shadow: inset 0 0 0 3px #c7dce7; }
.editorial .device.coffee i:nth-child(2) { position: absolute; left: 43px; top: 55px; width: 25px; height: 11px; background: #cbdde7; border-radius: 3px; z-index: 2; }
.editorial .device.coffee i:nth-child(3) { position: absolute; left: 40px; bottom: 13px; width: 33px; height: 27px; background: linear-gradient(90deg,#d5e7ef,#fff,#a8c3d3); border-radius: 2px 2px 9px 9px; z-index: 2; box-shadow: 7px -3px 0 -3px #e6f1f7; }
.editorial .device.robot .device-body { width: 130px; height: 118px; border-radius: 50%; background: radial-gradient(ellipse at 40% 35%,#fff 0%,#dae8ef 65%,#91adbf 100%); box-shadow: 0 7px 0 #7597ab, 5px 11px 10px #5e859e42; }
.editorial .device.robot .device-body::after { width: 37px; height: 34px; left: 45px; top: 16px; border: 3px solid #9eb9c9; background: radial-gradient(circle,#f5fafc,#95b2c5); }
.editorial .device.robot i:first-child { position: absolute; bottom: 12px; left: 28px; right: 28px; height: 5px; border-radius: 5px; background: #a5bdcc; }
.editorial .device.tag .device-body { width: 145px; height: 80px; background: linear-gradient(135deg,#f2fcfc,#b9deda); border: 2px solid #6798a3; border-radius: 6px 38px 38px 6px; box-shadow: 6px 8px 0 #9cbfc8, 10px 12px 12px #6992a735; }
.editorial .device.tag .device-body::after { font-size: 38px; top: 17px; left: 24px; }
.editorial .device.tag .device-body::before { top: 28px; right: 14px; border-width: 2px; }
.editorial .device.tag i:first-child { position: absolute; width: 43px; height: 39px; border: 2px solid #789baa; border-left: 0; border-radius: 50%; right: -31px; top: 8px; transform: rotate(-30deg); }
.editorial .device.parcel .device-body { width: 124px; height: 92px; background: linear-gradient(100deg,#9fb9cc,#d4e5ef); border: 2px solid #7b9db4; box-shadow: 15px -7px 0 #9cb7c9, 17px 7px 9px #557e9b3c; }
.editorial .device.parcel .device-body::before { left: 51px; width: 19px; background: #9bb9c7; }
.editorial .device.parcel .device-body::after { top: 52px; right: 8px; width: 33px; height: 24px; }
.editorial .device.parcel i:first-child { position: absolute; left: 8px; bottom: 12px; width: 32px; height: 22px; background: repeating-linear-gradient(0deg,#f2f7fa 0 4px,#a7c2d2 4px 6px); }
.editorial .device.document .device-body { width: 93px; height: 115px; background: linear-gradient(110deg,#fff,#f1f6fa); border-color: #99b5c8; border-width: 2px; box-shadow: -8px 5px 0 #cfdee9, 6px 7px 9px #5c7f9730; }
.editorial .device.document .device-body::before { left: 12px; right: 12px; top: 31px; box-shadow: 0 11px #7aa5bc, 0 22px #7aa5bc, 0 33px #7aa5bc, 0 44px #7aa5bc; }
.editorial .device.document i:first-child { position: absolute; width: 47px; height: 7px; left: 12px; top: 13px; background: #4d889a; }
.editorial .device.energy .device-body { width: 73px; height: 110px; border-radius: 9px; background: linear-gradient(95deg,#b5d1d7,#edf8f6 25%,#b4d9d7 75%); }
.editorial .device.energy .device-body::before { left: 21px; width: 25px; }
.editorial .device.energy .device-body::after { inset: 18px; background: linear-gradient(#78b8ab,#397f91); }
.editorial .device.filter .device-body { width: 133px; height: 90px; border: 8px solid #7d9fb5; background: repeating-linear-gradient(90deg,#f7fbfd 0 5px,#afc7d6 6px 9px,#789bb3 10px 11px); box-shadow: 7px 8px 0 #9bb6c7, 10px 12px 12px #6288a333; }
.editorial .device.hob .device-body { width: 170px; height: 116px; border: 3px solid #7295ac; background: linear-gradient(135deg,#9dbbcc,#7095ab 55%,#b5ccda 56%,#8baabd); }
.editorial .device.hob .device-body::before { width: 42px; height: 42px; left: 16px; top: 4px; border: 2px solid #d8e9f1; box-shadow: 90px 0 0 -2px #8daec1,90px 0 #d8e9f1,0 53px 0 -2px #8daec1,0 53px #d8e9f1,90px 53px 0 -2px #8daec1,90px 53px #d8e9f1; }
.editorial .device.hob i:first-child { position: absolute; width: 14px; height: 4px; bottom: 4px; left: 75px; background: #d2e5ed; box-shadow: -18px 0 #d2e5ed,18px 0 #d2e5ed; }
.editorial .device.speaker .device-body { width: 65px; height: 116px; background: linear-gradient(90deg,#7194ab,#a6bfce 45%,#6f93ac); transform: translateX(-40px); box-shadow: 80px 0 0 -2px #91afc1,80px 0 0 #64899f; }
.editorial .device.speaker .device-body::before { width: 30px; height: 30px; left: 15px; top: 9px; background: radial-gradient(circle,#829eb2 15%,#c6dbe6 20% 36%,#7194aa 40%); box-shadow: 80px 0 0 -1px #c6dbe6,80px 0 0 2px #64899f; }
.editorial .device.speaker .device-body::after { width: 43px; height: 43px; left: 8px; top: 48px; background: radial-gradient(circle,#7c9cb0 13%,#c6dce7 18% 38%,#7194aa 42%); box-shadow: 80px 0 0 -1px #c6dbe6,80px 0 0 2px #64899f; }

.partner-hero { background: #e8f3fa; }
.partner-hero-inner { padding-block: 27px 29px; }
.partner-hero h1 { margin-bottom: 9px; }
.partner-hero p { max-width: none; }
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 18px; align-items: stretch; }
.partner-card { min-width: 0; display: flex; flex-direction: column; padding: 10px; background: #fff; border: 1px solid #c6dbe8; border-radius: 8px; }
.partner-image { display: block; width: 100%; background: #f2f7fa; border: 1px solid #d4e3ed; border-radius: 4px; overflow: hidden; }
.partner-image[hidden] { display: none; }
.partner-image img { display: block; width: 100%; height: auto; }
.partner-image:hover { box-shadow: 0 0 0 2px #4a8dc3; }
.partner-category { margin: 9px 0; color: var(--ink); font-size: 16px; line-height: 1.4; }
.partner-button { display: block; text-align: center; background: #b72c3d; color: #fff; font-size: 16px; line-height: 1.35; padding: 10px 8px; border-radius: 5px; overflow-wrap: anywhere; margin-top: auto; }
.partner-button:hover { background: #9f2636; color: #fff; }
.partner-mid .partner-button { background: #207977; }
.partner-mid .partner-button:hover { background: #176a68; }
.partner-end .partner-button { background: #315f9b; }
.partner-end .partner-button:hover { background: #284f85; }
.partner-final { background: #e6effa; }
.table-partner { background: #207977; }
.table-partner:hover { background: #176a68; }
.product-addition .offers .offer { background: #356ca8; }
.product-addition .offers .offer:hover { background: #295b95; }
.partner-hero .purchase-links a { flex: 1 1 140px; min-width: 0; }
.partner-grid[data-count="1"] { grid-template-columns: minmax(0,1fr); max-width: 100%; }
.partner-grid[data-count="1"] .partner-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 18px; align-items: center; }
.partner-grid[data-count="1"] .partner-image:not([hidden]) { grid-row: span 2; }
.partner-grid[data-count="1"] .partner-image[hidden] ~ * { grid-column: 1/-1; }
.partner-grid[data-count="2"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
.partner-grid[data-count="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (min-width: 1001px) {
    .partner-grid:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]) .partner-card:last-child:nth-child(4n + 1) { grid-column: span 4; }
    .partner-grid:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]) .partner-card:nth-last-child(-n + 2):nth-child(4n + 1),
    .partner-grid:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]) .partner-card:last-child:nth-child(4n + 2) { grid-column: span 2; }
}
@media (max-width: 1000px) {
    .partner-grid, .partner-grid[data-count="3"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .partner-grid .partner-card:last-child:nth-child(odd) { grid-column: 1/-1; }
}
@media (max-width: 560px) {
    .partner-grid, .partner-grid[data-count="2"], .partner-grid[data-count="3"] { grid-template-columns: minmax(0,1fr); }
    .partner-grid[data-count="1"] .partner-card { display: flex; }
    .partner-hero-inner { padding-block: 22px; }
    .partner-hero .purchase-links a { flex: 1 1 125px; }
}

/* Store layouts: galleries and purchase navigation use independent grids. */
.editorial .partner-hero-inner { padding-block: 24px 27px; }
.editorial .partner-hero-inner > p { max-width: 100%; }
.editorial .partner-hero-inner > .partner-grid { margin-top: 16px; }
.editorial .shop-split { align-items: start; gap: 28px; }
.editorial .shop-split .copy p { max-width: none; }
.editorial .shop-side { padding: 17px 18px; }
.editorial .shop-side h3 { margin-bottom: 12px; }
.editorial .shop-side .topic-links { margin-top: 0; gap: 8px; }
.editorial .shop-side .topic-links a { flex: 1 1 100%; justify-content: center; text-align: center; color: #fff; background: #207977; border-color: #207977; padding: 9px 12px; }
.editorial .shop-side .topic-links a:hover { background: #176a68; }
.editorial .shop-split.reverse .shop-side .topic-links a { background: #315f9b; border-color: #315f9b; }
.editorial .shop-split.reverse .shop-side .topic-links a:hover { background: #284f85; }
.editorial .shop-paired .split { gap: 28px; }
.editorial .shop-paired .source { margin-top: 12px; }
.editorial .shop-paired .topic-links { margin-top: 18px; }
.editorial .shop-intro { align-items: center; gap: 24px; }
.editorial .shop-intro-side { background: #f8fcff; padding: 14px 16px; border-top: 3px solid #207977; }
.editorial .shop-intro-side h2 { margin-bottom: 10px; }
.editorial .shop-intro-side .purchase-links { margin-top: 0; }
.editorial .shop-intro-side .catalog-links a { background: #356ca8; border-color: #356ca8; color: #fff; }
.editorial .shop-intro-side .catalog-links a:hover { background: #295b95; }
.editorial .partner-hero .purchase-links > a { background: #286b9d; border-color: #286b9d; color: #fff; }
.editorial .partner-hero .purchase-links > a:hover { background: #225e89; }
.editorial .shop-intro .catalog-links > a { background: #207977; border-color: #207977; }
.editorial .shop-intro .catalog-links > a:hover { background: #176a68; }
.editorial .purchase-links > a, .editorial .partner-hero .purchase-links > a { flex: 1 1 calc((100% - 16px) / 3); min-width: 0; }
.editorial .offers .offer { flex: 1 1 calc((100% - 20px) / 3); min-width: 0; }
.editorial .offers:has(> .offer:nth-child(4):last-child) .offer { flex-basis: calc((100% - 10px) / 2); }
.editorial .panel .offers .offer { flex-basis: calc((100% - 10px) / 2); }
.editorial .panel .offers:has(> .offer:nth-child(3):last-child) .offer { flex-basis: 100%; }
.editorial .purchase-links:has(> a:nth-child(4):last-child) > a { flex-basis: calc((100% - 8px) / 2); }
.editorial .partner-card .partner-category { line-height: 1.35; }
.editorial .partner-card { padding: 8px; }
.editorial .partner-button { padding: 10px 8px; }
.editorial .shop-side .topic-links a { min-height: 0; }
@media (max-width: 1000px) {
    .editorial .shop-intro-side .catalog-links > a { flex-basis: 100%; }
    .editorial .shop-split { gap: 18px; }
}
@media (max-width: 740px) {
    .editorial .shop-intro, .editorial .shop-split, .editorial .shop-split.reverse { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .editorial .shop-split.reverse > .panel { order: 0; }
    .editorial .purchase-links > a, .editorial .partner-hero .purchase-links > a, .editorial .offers .offer { flex-basis: calc((100% - 10px) / 2); }
    .editorial .shop-intro-side .catalog-links > a { flex-basis: calc((100% - 16px) / 3); }
}
@media (max-width: 440px) {
    .editorial .shop-intro-side .catalog-links > a, .editorial .shop-intro .purchase-links > a { flex-basis: 100%; }
    .editorial .shop-side { padding: 14px; }
}

.editorial .market-panel .offers .offer { flex-basis: 100%; }
.editorial .market-panel .offers:has(> .offer:nth-child(4):last-child) .offer { flex-basis: calc((100% - 10px) / 2); }
.editorial .market-panel .market-compare { margin-top: 9px; }
.editorial .market-panel .market-compare > a { flex-basis: 100%; }
.editorial .shop-side .offers { margin-top: 10px; }
