.nen-thuong-hieu { position: relative; isolation: isolate; background-color: #fff; color-scheme: only light; }
.header__band.nen-thuong-hieu { z-index: 1; }
.nen-thuong-hieu__anh {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}
.nen-thuong-hieu__anh::before {
    content: "";
    position: absolute;
    inset: calc(var(--nen-thuong-hieu-mo, 0px) * -2);
    background: var(--nen-thuong-hieu-anh, none) center / cover no-repeat;
    filter: blur(var(--nen-thuong-hieu-mo, 0px));
    opacity: var(--nen-thuong-hieu-hien, 0);
}
.nen-thuong-hieu--logo .nen-thuong-hieu__anh::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #ffffff65 22%, transparent 90%);
}

.home-content {
    --nen-giua: #f0f6fb;
    --nen-giua-xen-ke: #e5eff8;
    --nen-giua-vien: #cddceb;
}
.home-content > :is(.block, .about-band) {
    position: relative;
    isolation: isolate;
    background: var(--nen-giua);
}
.home-content > .block--grey {
    background: var(--nen-giua-xen-ke);
    border-block: 1px solid var(--nen-giua-vien);
}
.home-content--nen > :is(.block, .about-band)::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--nen-thuong-hieu-anh) center / cover no-repeat;
    opacity: var(--nen-thuong-hieu-hien);
    filter: blur(var(--nen-thuong-hieu-mo));
    clip-path: inset(0);
    pointer-events: none;
}
body .home-content > .about-band {
    background: #12243b;
}
@media (prefers-color-scheme: dark) {
    .home-content {
        --nen-giua: #101b2a;
        --nen-giua-xen-ke: #142133;
        --nen-giua-vien: #303f55;
    }
    .home-content > .block {
        color-scheme: dark;
        --ink: #edf3fa;
        --ink-2: #cedbea;
        --ink-3: #b7c9de;
        --red: #ffc1ba;
        --red-d: #ffdad5;
        --red-l: #402332;
        --surface: #243349;
        --line: #394c65;
        --line-2: #526780;
        color: var(--ink);
    }
    .home-content > :is(.block, .about-band) > .wrap { background-color: transparent; }
    .home-content--nen > :is(.block, .about-band)::before {
        filter: blur(var(--nen-thuong-hieu-mo)) brightness(.7);
    }
    .home-content :is(.cat, .product, .sol, .chain__node, .pj, .sw, .sw-hero, .post, .doc-card, .choice__card) {
        background-color: #182638;
    }
    .home-content :is(.contact-mini a, .product__price) { color: var(--ink); }
    .home-content .sw-hero .btn--line {
        color: var(--ink);
        border-color: var(--line-2);
        background-color: #182638;
    }
    .home-content .sw-hero .btn--line:hover { background-color: #263a54; }
}

.qt-nen-dau-chan { scroll-margin-top: 70px; }
.qt-nen-dau-chan fieldset { min-width: 0; }
.qt-nen-dau-chan__xem {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 73px;
    padding: 8px 14px;
    margin: 0 0 12px;
    border: 1px solid #cbd8e8;
    border-radius: 8px;
}
.qt-nen-dau-chan__xem--logo { width: fit-content; margin-inline: auto; }
.qt-nen-dau-chan__xem--giua {
    min-height: 124px;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
    background-color: #e5eff8;
    color: #122744;
}
.qt-nen-dau-chan__minh-hoa {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: min(100%, 340px);
}
.qt-nen-dau-chan__minh-hoa i {
    height: 46px;
    background: #f9fbfe;
    border: 1px solid #c9d9e9;
    border-radius: 5px;
}
@media (prefers-color-scheme: dark) {
    .qt-nen-dau-chan__xem--giua {
        color-scheme: dark;
        background-color: #142133;
        color: #edf3fa;
        border-color: #394c65;
    }
    .qt-nen-dau-chan__xem--giua .nen-thuong-hieu__anh::before {
        filter: blur(var(--nen-thuong-hieu-mo)) brightness(.7);
    }
    .qt-nen-dau-chan__minh-hoa i { background: #182638; border-color: #394c65; }
}
.qt-nen-dau-chan__xem img { display: block; width: auto; height: 54px; max-width: 100%; object-fit: contain; flex-shrink: 0; }
.qt-nen-dau-chan__xem span:not([aria-hidden]) { min-width: 0; padding: 5px 8px; border: 1px solid #c4d0df; border-radius: 5px; background: #f2f5fa; color: #334560; }
.qt-nen-dau-chan input[type="file"], .qt-nen-dau-chan input[type="range"] { display: block; width: 100%; max-width: 100%; margin: 4px 0; }
.qt-nen-dau-chan input[type="range"] { min-height: 26px; accent-color: #0b4f8a; }
.qt-nen-dau-chan output { color: #122744; }
@media (prefers-color-scheme: dark) {
    .qt-nen-dau-chan output { color: #4e617e; }
}
@media (max-width: 400px) {
    .qt-nen-dau-chan__xem { gap: 8px; padding-inline: 8px; }
    .qt-nen-dau-chan__xem img { max-width: min(110px, 50%); }
    .qt-nen-dau-chan__xem span:not([aria-hidden]) { font-size: .8rem; }
}
@media print {
    .nen-thuong-hieu__anh, .home-content--nen > :is(.block, .about-band)::before { display: none; }
}
