/* BIM_PATCH_03_INFOBLOCK3 v1.1: Hybrid Split Capsule (Light + Espresso) + Spinning CSS Atom + Live Detail Screen */

.bim-lab-section {
    padding: 4px 0 24px;
    position: relative;
    z-index: 2;
}

.bim-lab-shell {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 0.94fr 1.26fr;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4dad0;
    box-shadow: 0 12px 32px rgba(40, 30, 25, 0.07);
    box-sizing: border-box;
}

/* LEFT SIDE: Clean high-contrast light medical card with Bento-style editorial illustration */
.bim-lab-left {
    padding: 22px 26px;
    background: linear-gradient(145deg, #fffaf4 0%, #f6ebe0 100%);
    border-right: 1px solid #e7d5c5;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 16px;
}

.bim-lab-left-top {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 16px;
}

.bim-lab-bento-art {
    width: 78px;
    height: 78px;
    min-width: 78px;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 14px rgba(145, 75, 50, 0.14));
    transition: transform 0.35s ease;
}

.bim-lab-left:hover .bim-lab-bento-art {
    -webkit-transform: translateY(-3px) scale(1.03);
    transform: translateY(-3px) scale(1.03);
}

.bim-lab-hcard__ico {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 11px;
    background: linear-gradient(145deg, #fff6ee 0%, #f3d6c4 100%);
    border: 1px solid #e7c7b4;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex-shrink: 0;
}

.bim-lab-hcard__ico svg {
    width: 24px;
    height: 24px;
}

.bim-lab-kicker {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a65221;
}

.bim-lab-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b45e2a;
    -webkit-animation: bimLabPulse 2.4s ease-in-out infinite;
    animation: bimLabPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

@-webkit-keyframes bimLabPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(180, 94, 42, 0.45); }
    50% { box-shadow: 0 0 0 7px rgba(180, 94, 42, 0); }
}

@keyframes bimLabPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(180, 94, 42, 0.45); }
    50% { box-shadow: 0 0 0 7px rgba(180, 94, 42, 0); }
}

.bim-lab-left__title {
    margin: 7px 0 8px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    color: #241c19 !important;
    font-family: inherit !important;
}

.bim-lab-left__desc {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #3b332f !important;
    font-family: inherit !important;
}

.bim-lab-hormones {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bim-lab-hcard {
    padding: 11px 13px;
    border-radius: 13px;
    background: #ffffff;
    border: 1px solid #e9ddd0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 11px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bim-lab-hcard:hover {
    border-color: #b45e2a;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(180, 94, 42, 0.1);
}

.bim-lab-hcard__badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #b45e2a 0%, #8f4318 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 14.5px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.bim-lab-hcard strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #241c19;
    line-height: 1.2;
}

.bim-lab-hcard span {
    display: block;
    font-size: 12.5px;
    color: #5e544e;
    margin-top: 2px;
    line-height: 1.25;
}

/* RIGHT SIDE: Warm Dark Espresso (#2b221e -> #382e2d) + Rotating CSS Atom + Live Screen */
.bim-lab-right {
    position: relative;
    padding: 22px 26px;
    background: linear-gradient(140deg, #2a211e 0%, #382e2d 100%);
    color: #fcfcfc;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 14px;
    overflow: hidden;
}

.bim-lab-right::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -40px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 180, 135, 0.14) 0%, rgba(215, 180, 135, 0) 70%);
    pointer-events: none;
}

.bim-lab-right-top {
    position: relative;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 18px;
}

.bim-lab-right-info {
    min-width: 0;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.bim-lab-right__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #d7b487;
    margin-bottom: 5px;
}

.bim-lab-right__title {
    margin: 0 0 12px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.24 !important;
    color: #ffffff !important;
    font-family: inherit !important;
}

.bim-lab-el-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 7px;
}

.bim-lab-el-btn {
    position: relative;
    width: 48px;
    height: 46px;
    padding: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(215, 180, 135, 0.22);
    color: #ffffff;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    outline: none;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bim-lab-el-btn small {
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.56);
    line-height: 1;
}

.bim-lab-el-btn strong {
    font-size: 15.5px;
    font-weight: 800;
    margin-top: 4px;
    line-height: 1;
}

.bim-lab-el-btn:hover,
.bim-lab-el-btn.is-active {
    background: #b45e2a;
    border-color: #d7b487;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(180, 94, 42, 0.42);
}

.bim-lab-el-btn:hover small,
.bim-lab-el-btn.is-active small {
    color: rgba(255, 244, 232, 0.9);
}

/* Pure-CSS Rotating Atom Orbit (high-contrast cream-gold satellites + luminous aura on dark espresso) */
.bim-lab-orbit-wrap {
    position: relative;
    width: 124px;
    height: 124px;
    min-width: 124px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 6px;
}

.bim-lab-orbit-wrap::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 194, 144, 0.26) 0%, rgba(180, 94, 42, 0.14) 44%, rgba(56, 46, 45, 0) 72%);
    pointer-events: none;
}

.bim-lab-orbit-wrap::after {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    border: 1px solid rgba(247, 205, 181, 0.25);
    pointer-events: none;
}

.bim-lab-ring {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 2px dashed rgba(235, 200, 152, 0.72);
    -webkit-animation: bimLabSpin 26s linear infinite;
    animation: bimLabSpin 26s linear infinite;
}

.bim-lab-right:hover .bim-lab-ring,
.bim-lab-right:hover .bim-lab-sat {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

@-webkit-keyframes bimLabSpin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@keyframes bimLabSpin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

.bim-lab-sat {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fffaf2 0%, #f3dfc6 100%);
    color: #2b211d;
    border: 1.5px solid #d7b487;
    font-size: 10.5px;
    font-weight: 800;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35), 0 0 8px rgba(235, 200, 152, 0.25);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-animation: bimLabCounter 26s linear infinite;
    animation: bimLabCounter 26s linear infinite;
}

.bim-lab-sat.is-active,
.bim-lab-sat:hover {
    background: linear-gradient(135deg, #d97a40 0%, #b45e2a 100%);
    color: #ffffff;
    border-color: #fff6eb;
    box-shadow: 0 0 16px rgba(235, 200, 152, 0.9), 0 0 0 3px rgba(215, 180, 135, 0.32);
}

@-webkit-keyframes bimLabCounter { to { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); } }
@keyframes bimLabCounter { to { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); } }

.bim-lab-sat--1 { top: -14px; left: 50%; margin-left: -14px; }
.bim-lab-sat--2 { top: 16px; right: -10px; }
.bim-lab-sat--3 { bottom: 16px; right: -10px; }
.bim-lab-sat--4 { bottom: -14px; left: 50%; margin-left: -14px; }
.bim-lab-sat--5 { bottom: 16px; left: -10px; }
.bim-lab-sat--6 { top: 16px; left: -10px; }

.bim-lab-core {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #eb8c4f 0%, #b45e2a 62%, #873f16 100%);
    color: #ffffff;
    border: 2px solid #f7dec0;
    font-weight: 900;
    font-size: 18px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 0 22px rgba(215, 136, 76, 0.65), 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bim-lab-core small {
    font-size: 8.5px;
    font-weight: 700;
    opacity: 0.92;
    line-height: 1;
}

.bim-lab-core.is-active,
.bim-lab-core:hover {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
    box-shadow: 0 0 26px rgba(242, 200, 148, 0.9), 0 0 0 3px rgba(247, 222, 192, 0.3);
}

/* Live high-contrast detail screen at bottom of dark side */
.bim-lab-screen {
    position: relative;
    z-index: 1;
    padding: 12px 15px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(215, 180, 135, 0.3);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 13px;
    min-height: 66px;
}

.bim-lab-screen__sym {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 11px;
    background: rgba(215, 180, 135, 0.16);
    border: 1px solid rgba(215, 180, 135, 0.35);
    color: #d7b487;
    font-size: 18px;
    font-weight: 800;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.bim-lab-screen__name {
    font-size: 14.5px;
    font-weight: 700;
    color: #d7b487;
    margin-bottom: 2px;
    line-height: 1.25;
}

.bim-lab-screen__desc {
    font-size: 14px;
    color: #f6efe8;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .bim-lab-pulse,
    .bim-lab-ring,
    .bim-lab-sat {
        -webkit-animation: none;
        animation: none;
    }
}

@media (max-width: 1120px) {
    .bim-lab-shell {
        grid-template-columns: 1fr;
    }
    .bim-lab-left {
        border-right: 0;
        border-bottom: 1px solid #ece2d7;
    }
}

@media (max-width: 640px) {
    .bim-lab-section {
        padding: 4px 0 18px;
    }
    .bim-lab-shell {
        border-radius: 16px;
    }
    .bim-lab-left,
    .bim-lab-right {
        padding: 16px 16px;
    }
    .bim-lab-left__title,
    .bim-lab-right__title {
        font-size: 17px !important;
    }
    .bim-lab-left__desc {
        font-size: 14px !important;
    }
    .bim-lab-bento-art {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    .bim-lab-hormones {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .bim-lab-right-top {
        gap: 12px;
    }
    .bim-lab-orbit-wrap {
        width: 82px;
        height: 82px;
        min-width: 82px;
    }
    .bim-lab-core {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    .bim-lab-core small {
        font-size: 7px;
    }
    .bim-lab-sat {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    .bim-lab-sat--1 { top: -10px; margin-left: -10px; }
    .bim-lab-sat--2 { top: 10px; right: -7px; }
    .bim-lab-sat--3 { bottom: 10px; right: -7px; }
    .bim-lab-sat--4 { bottom: -10px; margin-left: -10px; }
    .bim-lab-sat--5 { bottom: 10px; left: -7px; }
    .bim-lab-sat--6 { top: 10px; left: -7px; }
    .bim-lab-el-btn {
        width: 41px;
        height: 40px;
    }
    .bim-lab-el-btn strong {
        font-size: 14px;
    }
    .bim-lab-screen {
        padding: 11px 12px;
    }
    .bim-lab-screen__desc {
        font-size: 13.5px;
    }
}

@media (max-width: 359px) {
    .bim-lab-orbit-wrap {
        display: none;
    }
}