:root {
    --ink: #101c28;
    --ink-soft: #395064;
    --paper: #f5f7f8;
    --white: #fff;
    --accent: #e83f29;
    --accent-dark: #bd2f1c;
    --cyan: #1c9fbd;
    --line: #d9e0e4;
    --night: #0b1823;
    --radius: 4px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.55 Arial, Helvetica, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}
h1, h2, h3, p {
    margin-top: 0;
}
h1, h2, h3 {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: -.035em;
    line-height: 1.05;
}
h1 {
    font-size: clamp(2.5rem, 5vw, 5.15rem);
}
h2 {
    font-size: clamp(1.8rem, 3vw, 3.1rem);
}
h3 {
    font-size: 1.18rem;
}
.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}
.narrow {
    width: min(820px, 100%);
}
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-content {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 38px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.05;
    letter-spacing: .07em;
    min-width: 205px;
}
.brand img {
    width: 46px;
    max-height: 46px;
    object-fit: contain;
}
.brand strong {
    font-size: 14px;
}
.main-nav {
    display: flex;
    gap: 28px;
    font-weight: 700;
}
.main-nav a:hover, .text-link:hover {
    color: var(--accent);
}
.header-content>.button {
    margin-left: auto;
}
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--white);
    font: 700 14px/1 Arial, sans-serif;
    letter-spacing: .015em;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
}
.button--small {
    min-height: 40px;
    padding: 0 16px;
}
.button--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}
.button--light:hover {
    background: #e8eef0;
    border-color: #e8eef0;
}
.button--outline {
    background: transparent;
    color: var(--accent);
}
.button--outline:hover {
    color: var(--white);
}
.hero {
    background: linear-gradient(110deg, #101c28 0%, #142b3a 66%, #126e85 155%);
    color: var(--white);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr .66fr;
    gap: 72px;
    padding: 98px 0 88px;
    position: relative;
}
.hero-grid:after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -260px;
    width: 550px;
    height: 550px;
    border: 64px solid rgba(232, 63, 41, .85);
    border-radius: 50%;
    opacity: .8;
}
.hero-copy, .hero-panel {
    position: relative;
    z-index: 1;
}
.eyebrow {
    margin-bottom: 16px;
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: .15em;
    font-weight: 700;
}
.hero h1 {
    margin-bottom: 25px;
    max-width: 820px;
}
.hero h1 span {
    color: #78d5e9;
}
.hero-text {
    max-width: 625px;
    color: #d2e0e6;
    font-size: 19px;
}
.search-form {
    margin-top: 34px;
    display: flex;
    max-width: 635px;
    gap: 8px;
}
.search-form input {
    flex: 1;
    min-width: 0;
}
input, textarea, select {
    border: 1px solid #bcc8ce;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: 16px/1.2 Arial, sans-serif;
    padding: 14px 15px;
    width: 100%;
    outline: none;
    transition: border .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(28, 159, 189, .16);
}
.search-hint {
    font-size: 14px;
    color: #b7cbd3;
}
.search-hint a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hero-panel {
    border-left: 1px solid rgba(255, 255, 255, .25);
    padding: 9px 0 9px 29px;
    align-self: center;
}
.hero-panel h2 {
    font-size: 20px;
    margin: 2px 0 7px;
    letter-spacing: -.02em;
}
.hero-panel p {
    color: #c0d0d6;
    font-size: 14px;
}
.panel-index {
    color: #79d4e7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}
.panel-rule {
    height: 1px;
    background: rgba(255, 255, 255, .25);
    margin: 24px 0;
}
.section {
    padding: 84px 0;
}
.section--brands {
    background: var(--white);
}
.section--catalog-preview {
    background: var(--paper);
}
.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 33px;
}
.section-heading h2 {
    margin-bottom: 0;
}
.text-link {
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
}
.text-link span {
    padding-left: 7px;
    font-size: 20px;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 11px;
}
.brand-card {
    min-height: 205px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 18px;
    border: 1px solid var(--line);
    background: #fbfcfc;
    transition: transform .2s, box-shadow .2s, border .2s;
}
.brand-card:hover {
    transform: translateY(-4px);
    border-color: #9bb9c4;
    box-shadow: 0 9px 28px rgba(14, 42, 56, .1);
}
.brand-card img {
    width: 130px;
    height: 51px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
}
.brand-card span {
    margin-top: auto;
    color: var(--ink-soft);
    font-size: 13px;
}
.brand-card b {
    color: var(--accent);
    font-size: 13px;
}
.brand-card i {
    font-style: normal;
    padding-left: 5px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.product-card {
    background: var(--white);
    padding: 17px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.product-card__image {
    height: 160px;
    background: #edf2f4;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 15px;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card__image span, .product-placeholder {
    color: #72909d;
    font-size: 33px;
    font-weight: 800;
    letter-spacing: -.1em;
}
.product-card__brand {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.product-card h2, .product-card h3 {
    font-size: 18px;
    line-height: 1.18;
    margin-bottom: 9px;
}
.product-card h2 a:hover, .product-card h3 a:hover {
    color: var(--accent);
}
.article {
    color: var(--ink-soft);
    font-size: 13px;
}
.product-card__bottom {
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}
.product-card__bottom strong {
    font-size: 14px;
}
.product-card__bottom a {
    color: var(--accent);
    font-weight: 700;
}
.empty-state {
    background: var(--white);
    border: 1px dashed #aabac1;
    padding: 36px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.empty-state h2, .empty-state h3 {
    margin-bottom: 7px;
}
.empty-state p {
    color: var(--ink-soft);
    margin-bottom: 0;
}
.empty-state .button {
    margin-left: auto;
    white-space: nowrap;
}
.empty-state__mark {
    color: var(--cyan);
    font-size: 37px;
    font-weight: 800;
}
.cta-section {
    background: var(--accent);
    color: var(--white);
    padding: 67px 0;
}
.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.cta-content h2 {
    max-width: 675px;
    margin-bottom: 13px;
}
.cta-content p:not(.eyebrow) {
    max-width: 700px;
    color: #ffded7;
}
.site-footer {
    background: var(--night);
    color: #d4dfe3;
    padding: 42px 0;
    font-size: 14px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 42px;
}
.footer-content strong {
    color: var(--white);
    font-size: 17px;
}
.footer-content p {
    margin: 7px 0 0;
    max-width: 400px;
}
.footer-note {
    max-width: 370px;
    color: #97adb7;
}
.page-hero {
    background: #e6eef1;
    border-bottom: 1px solid #cad8dd;
    padding: 68px 0;
}
.page-hero h1 {
    max-width: 890px;
    margin-bottom: 16px;
}
.page-hero p:not(.eyebrow) {
    color: var(--ink-soft);
    max-width: 750px;
    font-size: 18px;
}
.catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: start;
}
.catalog-filters {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 20px;
}
.catalog-filters label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 9px;
}
.catalog-filters fieldset {
    margin: 23px 0;
    padding: 0;
    border: 0;
}
.catalog-filters legend {
    font-weight: 700;
    margin-bottom: 12px;
}
.catalog-filters fieldset label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.catalog-filters input[type=radio] {
    width: auto;
    accent-color: var(--accent);
}
.catalog-results__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--ink-soft);
}
.catalog-results__header a {
    color: var(--accent);
    font-weight: 700;
}
.breadcrumbs {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
    font-size: 13px;
    color: var(--ink-soft);
}
.breadcrumbs .container {
    display: flex;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
}
.breadcrumbs a:hover {
    color: var(--accent);
}
.product-detail {
    display: grid;
    grid-template-columns: .9fr 1fr .8fr;
    gap: 42px;
    align-items: start;
}
.product-detail__media {
    min-height: 400px;
    background: var(--white);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    padding: 30px;
}
.product-detail__media img {
    max-height: 370px;
    object-fit: contain;
}
.product-detail__content h1 {
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    margin-bottom: 18px;
}
.product-price {
    font-size: 23px;
    font-weight: 700;
    margin: 30px 0 9px;
}
.availability {
    color: var(--ink-soft);
    font-size: 14px;
}
.product-detail__spec {
    background: #e6eef1;
    padding: 25px;
}
.product-detail__spec h2 {
    font-size: 22px;
    margin-bottom: 22px;
}
.product-detail__spec dl {
    margin: 0 0 22px;
}
.product-detail__spec dl div {
    padding: 10px 0;
    border-top: 1px solid #c1d0d6;
}
.product-detail__spec dt {
    color: var(--ink-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.product-detail__spec dd {
    margin: 3px 0 0;
    font-weight: 700;
}
.notice-section {
    background: #102a38;
    color: #dce7eb;
    padding: 21px 0;
}
.selection-layout {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 65px;
    align-items: start;
}
.selection-sidebar {
    border-left: 3px solid var(--cyan);
    padding-left: 24px;
}
.selection-sidebar span {
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .09em;
}
.selection-sidebar h2 {
    font-size: 23px;
    margin: 4px 0 8px;
}
.selection-sidebar p {
    color: var(--ink-soft);
    margin-bottom: 28px;
}
.selection-form {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 31px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-grid label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
}
.form-grid__wide {
    grid-column: span 2;
}
textarea {
    min-height: 150px;
    resize: vertical;
}
.consent {
    display: flex;
    align-items: start;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 13px;
    margin: 23px 0;
    cursor: pointer;
}
.consent input {
    width: auto;
    margin-top: 3px;
    accent-color: var(--accent);
}
.form-note {
    color: var(--ink-soft);
    font-size: 12px;
    margin: 12px 0 0;
}
.form-status {
    display: none;
    padding: 13px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}
.form-status.is-error {
    display: block;
    color: #8d2517;
    background: #fde9e5;
    border-left: 3px solid var(--accent);
}
.form-status.is-success {
    display: block;
    color: #126127;
    background: #e4f5e7;
    border-left: 3px solid #27833d;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 960px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-panel {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .25);
        padding: 22px 0 0;
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 14px;
    }
    .hero-panel h2, .hero-panel p, .hero-panel .panel-rule {
        grid-column: 2;
    }
    .hero-panel .panel-rule {
        width: 100%;
    }
    .hero-panel .panel-index {
        grid-column: 1;
    }
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .catalog-filters form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 14px;
        align-items: end;
    }
    .catalog-filters fieldset {
        grid-column: 1 / -1;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 18px;
    }
    .catalog-filters legend {
        width: 100%;
    }
    .catalog-filters fieldset label {
        margin: 0;
    }
    .product-detail {
        grid-template-columns: 1fr 1fr;
    }
    .product-detail__spec {
        grid-column: 1 / -1;
    }
    .selection-layout {
        gap: 34px;
    }
    .selection-sidebar {
        font-size: 14px;
    }
}
@media (max-width: 650px) {
    .container {
        width: min(100% - 32px, 1180px);
    }
    .header-content {
        height: 66px;
        gap: 13px;
    }
    .brand {
        min-width: 0;
        font-size: 10px;
    }
    .brand img {
        width: 34px;
    }
    .brand strong {
        font-size: 12px;
    }
    .main-nav {
        display: none;
    }
    .header-content>.button {
        font-size: 12px;
        padding: 0 11px;
    }
    .hero-grid {
        padding: 65px 0;
    }
    .hero-text {
        font-size: 16px;
    }
    .search-form {
        flex-direction: column;
    }
    .search-form .button {
        width: 100%;
    }
    .section {
        padding: 56px 0;
    }
    .section-heading, .cta-content, .footer-content {
        align-items: start;
        flex-direction: column;
        gap: 18px;
    }
    .brand-grid {
        grid-template-columns: 1fr 1fr;
    }
    .brand-card {
        min-height: 165px;
        padding: 15px;
    }
    .brand-card:last-child {
        grid-column: span 2;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .product-card {
        padding: 12px;
    }
    .product-card__image {
        height: 115px;
    }
    .product-card h2, .product-card h3 {
        font-size: 15px;
    }
    .product-card__bottom {
        align-items: start;
        flex-direction: column;
    }
    .empty-state {
        padding: 23px;
        align-items: start;
        flex-direction: column;
        gap: 13px;
    }
    .empty-state .button {
        margin-left: 0;
    }
    .page-hero {
        padding: 48px 0;
    }
    .catalog-filters form {
        display: block;
    }
    .catalog-filters fieldset {
        display: block;
        margin: 22px 0;
    }
    .catalog-filters fieldset label {
        margin-bottom: 10px;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .product-detail__media {
        min-height: 280px;
    }
    .product-detail__spec {
        grid-column: auto;
    }
    .selection-layout {
        grid-template-columns: 1fr;
    }
    .selection-form {
        padding: 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid__wide {
        grid-column: auto;
    }
    .cta-section {
        padding: 51px 0;
    }
}


/*
 * Theme: Atom Compact Hero v1
 * Status: proposed / active in the local development environment
 * Scope: compact top banners and direction cards. The atom-current theme remains unchanged.
 */
:root {
    --compact-hero-radius: 18px;
    --compact-card-radius: 16px;
    --compact-card-info-background: #eef4f6;
}

/* Keep the search, core message, and first row of directions closer together. */
.hero-grid {
    min-height: 414px;
    padding: 58px 0 48px;
    gap: clamp(28px, 4vw, 56px);
}

.hero h1 {
    max-width: 740px;
    font-size: clamp(2.35rem, 4.5vw, 4.5rem);
    margin-bottom: 18px;
}

.hero-text {
    max-width: 660px;
    margin-bottom: 0;
}

.search-form {
    margin-top: 24px;
}

.hero-panel {
    padding: 5px 0 5px 24px;
}

.hero-panel h2 {
    font-size: 18px;
}

.panel-rule {
    margin: 17px 0;
}

/* Page-level banners use the same compact vertical rhythm. */
.page-hero {
    padding: 60px 0;
}

.section--brands {
    padding-top: 58px;
}

/*
 * Card anatomy: the logo visual occupies the upper two thirds. The lower third
 * carries the category and the real link to the pre-filtered catalog.
 */
.brand-grid {
    gap: 16px;
}

.brand-card {
    min-height: 246px;
    display: grid;
    grid-template-rows: 2fr 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--compact-card-radius);
    background: linear-gradient(
        to bottom,
        #fbfcfc 0%,
        #fbfcfc 66.666%,
        var(--compact-card-info-background) 66.666%,
        var(--compact-card-info-background) 100%
    );
    box-shadow: 0 7px 22px rgba(14, 42, 56, .07);
}

.brand-card img {
    grid-area: 1 / 1;
    align-self: center;
    justify-self: center;
    width: min(74%, 184px);
    height: min(100%, 142px);
    max-height: 142px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.brand-card span {
    grid-area: 2 / 1;
    align-self: start;
    margin: 0;
    padding: 17px 18px 0;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.brand-card b {
    grid-area: 2 / 1;
    align-self: end;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0 18px 17px;
    color: var(--accent);
    font-size: 13px;
}

.brand-card i {
    padding-left: 10px;
    font-size: 18px;
    line-height: 1;
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: #78b9c9;
    box-shadow: 0 16px 34px rgba(14, 42, 56, .16);
}

.brand-card:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

@media (max-width: 960px) {
    .hero-grid {
        min-height: 0;
        padding: 46px 0 40px;
        gap: 28px;
    }

    .page-hero {
        padding: 50px 0;
    }

    .brand-grid {
        gap: 14px;
    }

    .brand-card {
        min-height: 224px;
    }

    .brand-card img {
        width: min(76%, 172px);
        max-height: 128px;
    }
}

@media (max-width: 650px) {
    .hero-grid {
        padding: 38px 0 34px;
    }

    .hero h1 {
        font-size: clamp(2.05rem, 11vw, 3.1rem);
        margin-bottom: 14px;
    }

    .hero-text {
        font-size: 15px;
    }

    .search-form {
        margin-top: 20px;
    }

    .hero-panel {
        display: none;
    }

    .page-hero {
        padding: 38px 0;
    }

    .section--brands {
        padding-top: 44px;
    }

    .brand-grid {
        gap: 12px;
    }

    .brand-card {
        min-height: 188px;
        border-radius: 14px;
    }

    .brand-card img {
        width: min(78%, 142px);
        max-height: 106px;
    }

    .brand-card span {
        padding: 13px 14px 0;
        font-size: 10px;
    }

    .brand-card b {
        padding: 0 14px 13px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-card {
        transition: none;
    }

    .brand-card:hover {
        transform: none;
    }
}

/*
 * Compact CTA refinement: a quiet industrial surface keeps the action visible
 * without using a large red colour field. Red is reserved for the final action.
 */
:root {
    --cta-surface-start: #173542;
    --cta-surface-end: #0d222e;
    --cta-copy: #d5e3e7;
}

.cta-section {
    background: linear-gradient(118deg, var(--cta-surface-start), var(--cta-surface-end));
    border-top: 1px solid rgba(121, 212, 231, .28);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 44px 0;
}

.cta-content {
    gap: 28px;
}

.cta-content h2 {
    max-width: 620px;
    margin-bottom: 9px;
    font-size: clamp(1.65rem, 2.65vw, 2.5rem);
}

.cta-content p:not(.eyebrow) {
    max-width: 650px;
    color: var(--cta-copy);
    font-size: 15px;
}

.cta-section .eyebrow {
    color: #8ed4e3;
}

.cta-section .button--light {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.cta-section .button--light:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}

.cta-section .button--light:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

@media (max-width: 650px) {
    .cta-section {
        padding: 34px 0;
    }

    .cta-content {
        gap: 16px;
    }

    .cta-content h2 {
        font-size: clamp(1.55rem, 8vw, 2.05rem);
    }
}

/* Catalog pages prioritize filters and the product grid over decorative space. */
.catalog-page-hero {
    padding: 24px 0 20px;
}

.catalog-page-hero h1 {
    max-width: 720px;
    margin-bottom: 8px;
    font-size: clamp(1.9rem, 3.2vw, 3.05rem);
}

.catalog-page-hero p:not(.eyebrow) {
    max-width: 640px;
    margin-bottom: 0;
    font-size: 15px;
}

@media (max-width: 650px) {
    .catalog-page-hero {
        padding: 18px 0 14px;
    }

    .catalog-page-hero h1 {
        font-size: clamp(1.65rem, 7.5vw, 2.25rem);
    }
}



/* Halve the transition from the compact catalog banner to usable catalog controls. */
.catalog-page-hero + .section {
    padding-top: 42px;
}

@media (max-width: 650px) {
    .catalog-page-hero + .section {
        padding-top: 28px;
    }
}

/* Language control: visible utility control, intentionally secondary to the request action. */
.language-switcher {
    position: relative;
    margin-left: auto;
    flex: 0 0 auto;
}

.language-switcher summary {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafb;
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    list-style: none;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-switcher__flag {
    font-size: 16px;
    line-height: 1;
}

.language-switcher__chevron {
    font-size: 15px;
    line-height: 1;
}

.language-switcher summary:hover,
.language-switcher[open] summary {
    border-color: #9bb9c4;
    color: var(--ink);
}

.language-switcher summary:focus-visible,
.language-switcher__option:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.language-switcher__menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 7px);
    right: 0;
    min-width: 150px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(14, 42, 56, .14);
}

.language-switcher__option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 6px;
    color: var(--ink-soft);
    font-size: 13px;
}

.language-switcher__option:hover,
.language-switcher__option.is-active {
    background: #eaf2f5;
    color: var(--ink);
}

@media (max-width: 650px) {
    .language-switcher {
        margin-left: auto;
    }

    .language-switcher summary {
        min-height: 34px;
        padding: 0 8px;
    }

    .language-switcher__menu {
        right: -42px;
    }
}

/* Translation administration. Available only after HTTP Basic authentication. */
.admin-page-hero {
    padding: 34px 0 28px;
}

.admin-section {
    padding-top: 48px;
}

.admin-notice {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid #b9d0d9;
    border-left: 4px solid var(--cyan);
    border-radius: 8px;
    background: #f2f8fa;
    color: var(--ink-soft);
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.35fr);
    gap: 28px;
    align-items: start;
}

.admin-translation-form,
.admin-translations-list {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(14, 42, 56, .06);
}

.admin-translation-form h2,
.admin-translations-list h2 {
    margin-top: 0;
    font-size: 1.35rem;
}

.admin-translation-form label,
.admin-list-heading label {
    display: grid;
    gap: 7px;
    margin: 14px 0;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.admin-translation-form input,
.admin-translation-form select,
.admin-translation-form textarea,
.admin-list-heading select,
.translation-entry textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fbfcfd;
    color: var(--ink);
    font: inherit;
}

.admin-translation-form input,
.admin-translation-form select,
.admin-list-heading select {
    min-height: 42px;
    padding: 0 10px;
}

.admin-translation-form textarea,
.translation-entry textarea {
    min-height: 128px;
    padding: 10px;
    resize: vertical;
}

.admin-list-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    margin-bottom: 16px;
}

.admin-list-heading p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.admin-list-heading label {
    width: 145px;
    margin: 0;
}

.translation-list {
    display: grid;
    gap: 14px;
}

.translation-entry {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfd;
}

.translation-entry__meta,
.translation-entry__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.translation-entry__meta {
    margin-bottom: 10px;
    color: var(--ink-soft);
    font-size: 12px;
}

.translation-entry__meta span {
    color: var(--ink);
    font-weight: 800;
}

.translation-entry code,
.admin-notice code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #eaf2f5;
    color: #285463;
    font-size: .92em;
}

.translation-entry__actions {
    justify-content: flex-end;
    margin-top: 10px;
}

.admin-empty {
    margin: 0;
    padding: 20px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--ink-soft);
    text-align: center;
}

@media (max-width: 800px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .admin-page-hero,
    .admin-section {
        padding-top: 26px;
    }

    .admin-translation-form,
    .admin-translations-list {
        padding: 18px;
    }

    .admin-list-heading {
        display: grid;
    }

    .admin-list-heading label {
        width: 100%;
    }
}

/* Approved homepage refinement: catalog-first hierarchy and compact copy. */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header-actions .language-switcher {
    margin-left: 0;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.45vw, 4.35rem);
}

.hero-text,
.search-form {
    max-width: 568px;
}

.hero-text {
    margin-bottom: 20px;
}

.section--brands .section-heading h2 {
    font-size: clamp(1.55rem, 2.25vw, 2.35rem);
}

.button--catalog {
    border-color: var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    white-space: nowrap;
}

.button--catalog:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: var(--white);
}

.brand-card span {
    padding-bottom: 20px;
    color: var(--ink);
    font-weight: 800;
}

.catalog-search-bar {
    display: flex;
    width: min(100%, 760px);
    margin: 0 0 26px;
}

.catalog-search-bar input[type="search"] {
    min-width: 0;
    flex: 1 1 auto;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.catalog-search-bar .button {
    border-radius: 0 8px 8px 0;
}

.catalog-empty-state h2 {
    font-size: 20px;
}

.selection-page-hero {
    padding: 24px 0 20px;
}

.selection-page-hero h1 {
    max-width: 720px;
    margin-bottom: 8px;
    font-size: clamp(1.9rem, 3.2vw, 3.05rem);
}

@media (max-width: 650px) {
    .header-actions {
        gap: 5px;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.95rem);
    }

    .section--brands .section-heading h2 {
        font-size: 1.5rem;
    }

    .catalog-search-bar {
        width: 100%;
        margin-bottom: 18px;
    }

    .catalog-search-bar input[type="search"] {
        min-height: 48px;
        padding: 0 12px;
    }

    .selection-page-hero {
        padding: 18px 0 14px;
    }

    .selection-page-hero h1 {
        font-size: clamp(1.65rem, 7.5vw, 2.25rem);
    }
}



/* Approved refinement: aligned category labels and balanced catalog controls. */
.brand-card span {
    align-self: stretch;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    text-align: center;
}

.button--catalog {
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius);
}

.catalog-search-bar {
    width: min(100%, 400px);
}

/* Approved refinement: selection form typography and clear controls. */
.selection-page-hero h1 {
    font-size: clamp(1.775rem, calc(3.2vw - 2px), 2.925rem);
}

.selection-form .input-with-clear {
    position: relative;
    display: block;
}

.selection-form .input-with-clear > input,
.selection-form .input-with-clear > textarea {
    padding-right: 46px;
}

.selection-form .input-clear {
    position: absolute;
    top: 50%;
    right: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    transform: translateY(-50%);
}

.selection-form .input-clear::before,
.selection-form .input-clear::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: currentcolor;
    content: "";
}

.selection-form .input-clear::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.selection-form .input-clear::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.selection-form .input-clear:hover {
    color: var(--accent);
}

.selection-form .input-clear:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.selection-form .input-with-clear > textarea + .input-clear {
    top: 0;
    transform: none;
}

.selection-form .input-clear[hidden] {
    display: none;
}

@media (max-width: 650px) {
    .selection-page-hero h1 {
        font-size: clamp(1.525rem, calc(7.5vw - 2px), 2.125rem);
    }
}

.selection-form select[name="brand_name"] {
    appearance: none;
    padding-right: 46px;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

@media (max-width: 650px) {
    .catalog-search-bar {
        width: min(100%, 400px);
    }
}

/* Approved refinement: align the footer note with the supply description. */
@media (min-width: 651px) {
    .footer-note {
        margin-top: 28px;
    }
}

/* Candidate refinement: future request channels and contact page. */
.selection-channels-section {
    padding-bottom: 24px;
}

.selection-form-section {
    padding-top: 24px;
}

.selection-channels-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.selection-channels-heading h2,
.contacts-page-hero h1 {
    margin-bottom: 10px;
}

.selection-channels-heading > p:not(.eyebrow),
.contacts-page-hero p:not(.eyebrow) {
    color: var(--ink-soft);
    font-size: 17px;
}

.request-channels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.request-channel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 210px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--white);
}

.request-channel.is-available {
    border-top: 3px solid var(--accent);
}

.request-channel__icon,
.contact-card__index {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.request-channel__content {
    margin-top: 18px;
}

.request-channel h3,
.contact-card h2 {
    margin: 0 0 8px;
    font-size: 17px;
}

.request-channel p,
.contact-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

.request-channel__status {
    align-self: end;
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.request-channel.is-available .request-channel__status {
    color: var(--accent);
}

.request-channels--checklist {
    display: block;
    border-top: 1px solid var(--line);
}

.request-channels--checklist .request-channel {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    grid-template-rows: auto;
    min-height: 0;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
}

.request-channels--checklist .request-channel.is-available {
    border-top: 0;
}

.request-channels--checklist .request-channel__content {
    margin: 0;
}

.request-channels--checklist .request-channel h3 {
    margin-bottom: 3px;
}

.request-channels--checklist .request-channel__status {
    margin: 0;
    text-align: right;
}

.selection-channels-note {
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.contacts-page-hero {
    padding: 24px 0 20px;
}

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

.contact-card {
    min-height: 170px;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--white);
}

.contact-card h2 {
    margin-top: 24px;
}

.contact-card a {
    color: var(--ink);
    font-weight: 700;
    text-decoration-color: var(--cyan);
    text-underline-offset: 4px;
}

.contacts-request {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.contacts-request p {
    max-width: 620px;
    margin: 0;
    color: var(--ink-soft);
}

@media (max-width: 900px) {
    .request-channels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 650px) {
    .selection-channels-section,
    .selection-form-section {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .selection-channels-heading > p:not(.eyebrow),
    .contacts-page-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .request-channels {
        grid-template-columns: 1fr;
    }

    .request-channel {
        min-height: 0;
    }

    .request-channels--checklist .request-channel {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .request-channels--checklist .request-channel__status {
        grid-column: 2;
        text-align: left;
    }

    .contacts-request {
        align-items: start;
        flex-direction: column;
    }
}

/* Approved refinement: visual channel icons, hover motion, and status tooltips. */
.request-channel {
    position: relative;
    overflow: visible;
    cursor: default;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.request-channel__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--cyan) 50%, var(--line));
    background: color-mix(in srgb, var(--cyan) 7%, var(--white));
    color: var(--cyan);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.request-channel__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.request-channel:hover,
.request-channel:focus-visible {
    z-index: 1;
    border-color: var(--cyan);
    box-shadow: 0 14px 26px rgba(14, 33, 43, 0.12);
    transform: translateY(-5px);
    outline: none;
}

.request-channel:hover .request-channel__icon,
.request-channel:focus-visible .request-channel__icon {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
    transform: rotate(-4deg) scale(1.05);
}

.request-channel__tooltip {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    max-width: 150px;
    padding: 7px 9px;
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    text-transform: uppercase;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.request-channel__tooltip::after {
    position: absolute;
    right: 12px;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: var(--ink);
    content: "";
    transform: rotate(45deg);
}

.request-channel:hover .request-channel__tooltip,
.request-channel:focus-visible .request-channel__tooltip {
    opacity: 1;
    transform: translateY(0);
}

.request-channels--checklist .request-channel__tooltip {
    top: 50%;
    right: 0;
    transform: translateY(calc(-50% + 4px));
}

.request-channels--checklist .request-channel:hover .request-channel__tooltip,
.request-channels--checklist .request-channel:focus-visible .request-channel__tooltip {
    transform: translateY(-50%);
}

@media (prefers-reduced-motion: reduce) {
    .request-channel,
    .request-channel__icon,
    .request-channel__tooltip {
        transition: none;
    }

    .request-channel:hover,
    .request-channel:focus-visible,
    .request-channel:hover .request-channel__icon,
    .request-channel:focus-visible .request-channel__icon {
        transform: none;
    }
}

@media (max-width: 650px) {
    .request-channel__tooltip {
        top: 14px;
        right: 14px;
    }

    .request-channels--checklist .request-channel__tooltip {
        right: 0;
    }
}

/* Approved refinement: contact icons and hover behavior match request channels. */
.contact-card {
    position: relative;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--cyan) 50%, var(--line));
    background: color-mix(in srgb, var(--cyan) 7%, var(--white));
    color: var(--cyan);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.contact-card__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.contact-card:hover,
.contact-card:focus-within {
    z-index: 1;
    border-color: var(--cyan);
    box-shadow: 0 14px 26px rgba(14, 33, 43, 0.12);
    transform: translateY(-5px);
}

.contact-card:hover .contact-card__icon,
.contact-card:focus-within .contact-card__icon {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
    transform: rotate(-4deg) scale(1.05);
}

.contact-card:hover a,
.contact-card:focus-within a {
    color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .contact-card__icon {
        transition: none;
    }

    .contact-card:hover,
    .contact-card:focus-within,
    .contact-card:hover .contact-card__icon,
    .contact-card:focus-within .contact-card__icon {
        transform: none;
    }
}

/* Approved refinement: rounded horizontal cards and contact map dialog. */
.request-channels--cards .request-channel {
    display: flex;
    min-height: 154px;
    gap: 14px;
    align-items: flex-start;
    border-radius: 18px;
}

.request-channels--cards .request-channel__icon,
.contact-card__icon {
    flex: 0 0 42px;
    border-radius: 12px;
}

.request-channels--cards .request-channel__content {
    margin-top: 0;
}

.request-channels--cards .request-channel__tooltip {
    top: -38px;
    right: 14px;
}

.request-channels--cards .request-channel__tooltip::after {
    right: 12px;
    bottom: -5px;
}

.contacts-page-hero h1 {
    display: none;
}

.contacts-page-hero__intro {
    max-width: 760px;
    margin: 0;
}

.contact-card {
    min-height: 170px;
    border-radius: 18px;
    overflow: hidden;
}

.contact-card__content {
    display: flex;
    width: 100%;
    min-height: 100%;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    color: inherit;
    text-align: left;
}

button.contact-card__content {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.contact-card__body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.contact-card__title {
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-card__text {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

.contact-card__text a {
    color: var(--ink);
    font-weight: 700;
    text-decoration-color: var(--cyan);
    text-underline-offset: 4px;
}

.contact-card__action {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.contact-card:hover .contact-card__action,
.contact-card:focus-within .contact-card__action {
    color: var(--accent);
}

.contact-map-dialog {
    width: min(640px, calc(100vw - 32px));
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(14, 33, 43, 0.32);
    color: var(--ink);
}

.contact-map-dialog::backdrop {
    background: rgba(14, 33, 43, 0.62);
}

.contact-map-dialog__header,
.contact-map-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: var(--white);
}

.contact-map-dialog__header h2 {
    margin: 0;
    font-size: 18px;
}

.contact-map-dialog__close {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.contact-map-dialog__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
}

.contact-map-dialog__attribution {
    margin: 0;
    padding: 8px 18px;
    color: var(--ink-soft);
    font-size: 11px;
}

.contact-map-dialog__footer {
    border-top: 1px solid var(--line);
}

.contact-map-dialog__footer a {
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 650px) {
    .request-channels--cards .request-channel {
        min-height: 0;
    }

    .request-channels--cards .request-channel__tooltip {
        top: -34px;
    }

    .contact-card {
        min-height: 0;
    }

    .contact-map-dialog__image {
        max-height: 300px;
    }
}

/* Approved refinement: wider information channels and denser contact cards. */
.selection-channels-section .container.narrow {
    width: min(1180px, 100%);
}

.request-channels--cards .request-channel {
    min-height: 124px;
    padding: 16px;
}

.request-channels--cards .request-channel__content {
    flex: 1 1 auto;
}

.contact-card__content {
    gap: 12px;
    padding: 18px 16px 18px 14px;
}

.contact-card__icon {
    margin-left: 0;
}

.contact-card__body {
    flex: 1 1 auto;
}

@media (max-width: 900px) {
    .selection-channels-section .container.narrow {
        width: min(820px, 100%);
    }
}

@media (max-width: 650px) {
    .contact-card__content {
        padding: 16px 14px 16px 12px;
    }
}

/* Approved refinement: compact channel cards with descriptive hover tooltips. */
.selection-channels-section .container.narrow {
    width: min(820px, 100%);
}

.request-channels--cards .request-channel {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    min-height: 154px;
    gap: 10px 12px;
    padding: 16px;
}

.request-channels--cards .request-channel__icon {
    grid-column: 1;
    grid-row: 1;
}

.request-channels--cards .request-channel__content {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
}

.request-channels--cards .request-channel h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
}

.request-channel__availability {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
}

.request-channel__availability svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.request-channel__availability.is-available {
    background: #e4f3e8;
    color: #28753d;
}

.request-channel__availability.is-planned {
    background: #fff1da;
    color: #a86512;
}

.request-channels--cards .request-channel__tooltip {
    top: auto;
    right: auto;
    bottom: calc(100% + 10px);
    left: 12px;
    width: max-content;
    max-width: min(250px, calc(100vw - 48px));
    padding: 10px 12px;
    font-weight: 400;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    transform: translateY(4px);
}

.request-channels--cards .request-channel__tooltip::after {
    right: auto;
    bottom: -5px;
    left: 16px;
}

.request-channel__tooltip-status,
.request-channel__tooltip-text {
    display: block;
}

.request-channel__tooltip-status {
    margin-bottom: 4px;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.request-channel__tooltip-text {
    font-size: 12px;
    line-height: 1.4;
}

.contact-card {
    min-height: 142px;
}

.contact-card__content {
    gap: 12px;
    padding: 14px 12px;
}

.contact-card__icon {
    margin-left: 0;
}

.contact-card__text a {
    white-space: nowrap;
}

@media (min-width: 651px) {
    .main-nav {
        transform: translateY(8px);
    }
}

@media (max-width: 650px) {
    .request-channels--cards .request-channel {
        min-height: 128px;
    }
}

/* Approved refinement: one shared 12px interval around contact icons. */
.contact-card {
    padding: 0;
}

/* Approved refinement: customer account and interface settings scaffold. */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
}

.header-content {
    gap: 26px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header-account,
.header-icon-button,
.header-notifications > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    color: var(--ink);
}

.header-account {
    gap: 8px;
    padding: 5px 10px 5px 7px;
    text-decoration: none;
}

.header-account:hover,
.header-icon-button:hover,
.header-notifications[open] > summary {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(28, 159, 189, 0.1);
}

.header-account__icon,
.header-icon-button svg,
.header-notifications svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.header-account__icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--cyan) 9%, var(--white));
    color: var(--cyan);
}

.header-account__text {
    display: grid;
    gap: 1px;
    line-height: 1.1;
}

.header-account__text strong {
    font-size: 12px;
}

.header-account__text small {
    color: var(--ink-soft);
    font-size: 11px;
}

.header-icon-button,
.header-notifications > summary {
    width: 40px;
    padding: 0;
    cursor: pointer;
}

.header-notifications {
    position: relative;
}

.header-notifications > summary {
    list-style: none;
}

.header-notifications > summary::-webkit-details-marker {
    display: none;
}

.header-popover {
    position: absolute;
    z-index: 20;
    top: calc(100% + 9px);
    right: 0;
    width: 230px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(14, 33, 43, 0.14);
}

.header-popover strong,
.header-popover p {
    margin: 0;
}

.header-popover p {
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.4;
}

.interface-settings-dialog {
    width: min(620px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 32px));
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(14, 33, 43, 0.32);
    color: var(--ink);
}

.interface-settings-dialog::backdrop {
    background: rgba(14, 33, 43, 0.62);
}

.interface-settings-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}

.interface-settings-dialog__header h2 {
    margin: 0;
    font-size: 24px;
}

.interface-settings-dialog__close {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--cyan);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.interface-settings-dialog__content {
    display: grid;
    gap: 14px;
    padding: 18px;
    background: var(--paper);
}

.interface-settings-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.interface-settings-card h3,
.interface-settings-card p {
    margin: 0;
}

.interface-settings-card h3 {
    font-size: 18px;
}

.interface-settings-card p {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.45;
}

.interface-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.interface-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
}

.interface-choice.is-selected {
    border-color: var(--cyan);
    box-shadow: inset 0 0 0 1px var(--cyan);
}

.interface-choice.is-selected::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
}

.interface-choice.is-future {
    opacity: 0.58;
}

.interface-choice__preview {
    display: inline-block;
    width: 34px;
    height: 20px;
    border-radius: 5px;
}

.interface-choice__preview--light {
    border: 1px solid #c8d4d8;
    background: linear-gradient(90deg, #fff 0 34%, #edf2f3 34%);
}

.interface-choice__preview--dark {
    background: linear-gradient(90deg, #263342 0 34%, #586675 34%);
}

.login-page-hero h1 {
    margin-bottom: 12px;
}

.login-page-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 17px;
}

.login-placeholder-section {
    min-height: 360px;
}

.login-placeholder {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.login-placeholder__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: color-mix(in srgb, var(--cyan) 9%, var(--white));
    color: var(--cyan);
}

.login-placeholder__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.login-placeholder h2,
.login-placeholder p {
    margin: 0;
}

.login-placeholder h2 {
    font-size: 20px;
}

.login-placeholder p {
    margin-top: 7px;
    color: var(--ink-soft);
    line-height: 1.45;
}

@media (max-width: 1050px) {
    .header-account__text {
        display: none;
    }

    .header-account {
        width: 40px;
        padding: 0;
    }
}

@media (max-width: 760px) {
    .header-account,
    .header-notifications {
        display: none;
    }

    .interface-settings-dialog__header {
        padding: 16px;
    }

    .interface-settings-dialog__content {
        padding: 12px;
    }

    .login-placeholder {
        grid-template-columns: auto 1fr;
    }

    .login-placeholder .button {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* Approved refinement: compact language, centered header controls, and account access forms. */
.language-switcher > summary {
    display: grid;
    width: 40px;
    min-height: 40px;
    place-items: center;
    padding: 0;
}

.language-switcher__label,
.language-switcher__chevron {
    display: none;
}

.language-switcher__flag {
    font-size: 18px;
    line-height: 1;
}

.header-icon-button,
.header-notifications > summary {
    position: relative;
    display: grid;
    place-items: center;
}

.header-icon-button svg,
.header-notifications > summary svg {
    display: block;
    transform-origin: center;
    transition: transform 220ms ease, color 180ms ease;
}

@keyframes header-bell-swing {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-13deg); }
    55% { transform: rotate(11deg); }
    78% { transform: rotate(-5deg); }
}

.header-notifications > summary:hover svg,
.header-notifications > summary:focus-visible svg {
    animation: header-bell-swing 560ms ease-in-out;
}

.header-icon-button:hover svg,
.header-icon-button:focus-visible svg {
    transform: rotate(28deg);
}

.header-notifications[data-has-unread="true"] > summary::after {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: #f59b22;
    content: "";
}

.login-page-hero h1 {
    max-width: 670px;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.12;
}

.account-access-section {
    min-height: 430px;
}

.account-access {
    max-width: 640px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(14, 33, 43, 0.08);
}

.account-access__tabs {
    display: flex;
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    border-radius: 18px 18px 0 0;
}

.account-access__tab {
    flex: 1;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    font: 700 14px/1 Arial, sans-serif;
}

.account-access__tab.is-active {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(14, 33, 43, 0.06);
}

.account-access__notice {
    margin: 0;
    padding: 13px 20px;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--cyan) 5%, var(--white));
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.45;
}

.account-access__forms {
    padding: 20px;
}

.account-access__form {
    display: grid;
    gap: 14px;
}

.account-access__form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.account-access__form input {
    min-height: 46px;
    font-weight: 400;
}

.account-access__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.account-access__consent {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 9px !important;
    color: var(--ink-soft) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4;
}

.account-access__consent input {
    width: 17px;
    min-height: 17px;
    margin: 1px 0 0;
    accent-color: var(--cyan);
}

.account-access__form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.account-access__link-button {
    border: 0;
    background: transparent;
    color: var(--cyan);
    cursor: pointer;
    font: 700 13px/1.2 Arial, sans-serif;
}

.account-access__link-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.account-access__status {
    min-height: 20px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.4;
}

.account-access__status.is-visible {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--cyan) 8%, var(--white));
}

@media (max-width: 650px) {
    .account-access__forms {
        padding: 16px;
    }

    .account-access__grid {
        grid-template-columns: 1fr;
    }

    .account-access__form-footer {
        align-items: start;
        flex-direction: column;
    }

    .account-access__form-footer .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-icon-button svg,
    .header-notifications > summary svg {
        transition: none;
    }

    .header-notifications > summary:hover svg,
    .header-notifications > summary:focus-visible svg {
        animation: none;
    }
}

.account-access__form[hidden] {
    display: none;
}

/* Approved refinement: B2B registration validation and balanced form actions. */
.account-access__forms {
    padding: 20px 20px 8px;
}

.account-access__robot {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px !important;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: color-mix(in srgb, var(--cyan) 4%, var(--white));
    color: var(--ink) !important;
    font-weight: 400 !important;
}

.account-access__robot input {
    width: 18px;
    min-height: 18px;
    margin: 1px 0 0;
    accent-color: var(--cyan);
}

.account-access__robot span {
    display: grid;
    gap: 3px;
    line-height: 1.3;
}

.account-access__robot strong {
    font-size: 14px;
}

.account-access__robot small {
    color: var(--ink-soft);
    font-size: 12px;
}

.account-access__form .button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    transform: none;
}

.account-access__form .button:disabled:hover {
    background: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 650px) {
    .account-access__forms {
        padding: 16px 16px 8px;
    }
}
