/* Independent Hodgkin lymphoma and ATL modules */
.disease-card.hl-disease-card {
    border-left-color: #bd120a;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .24), transparent 36%),
        linear-gradient(135deg, #83301e 0%, #c94a2d 100%);
}

.disease-card.atl-disease-card {
    border-left-color: #f26522;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .24), transparent 36%),
        linear-gradient(135deg, #9f410f 0%, #e96b1f 100%);
}

.disease-card.hl-disease-card:hover,
.disease-card.hl-disease-card:focus,
.disease-card.hl-disease-card.is-active {
    border-color: #bd120a;
    box-shadow: 0 2px 9px rgba(189, 18, 10, .2);
}

.disease-card.atl-disease-card:hover,
.disease-card.atl-disease-card:focus,
.disease-card.atl-disease-card.is-active {
    border-color: #f26522;
    box-shadow: 0 2px 9px rgba(242, 101, 34, .22);
}

.disease-panel[data-panel="hl"] { border-top-color: #bd120a; }
.disease-panel[data-panel="atl"] { border-top-color: #f26522; }

.hl-exp-panel,
.atl-exp-panel {
    clear: both;
}

.hl-exp-panel.is-active,
.atl-exp-panel.is-active {
    display: flow-root;
}

.hl-exp-panel {
    --exp-accent: #bd120a;
    --exp-soft: #fff1f0;
    --exp-border: #e8b8b5;
}

.atl-exp-panel {
    --exp-accent: #c94f13;
    --exp-soft: #fff3e8;
    --exp-border: #f0c2a8;
}

.atl-exp-panel .exp-panel-heading {
    border-left-color: #f26522;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 24px 26px;
    margin-bottom: 16px;
    border: 1px solid var(--exp-border);
    border-left: 8px solid var(--exp-accent);
    border-radius: 12px;
    background: linear-gradient(135deg, #fff 0%, var(--exp-soft) 100%);
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading h2 {
    margin: 0 0 8px;
    color: #202b38;
    font-size: 25px;
    line-height: 1.35;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading p {
    margin: 0;
    color: #536170;
    line-height: 1.65;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading > span {
    flex: 0 0 auto;
    min-width: 58px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--exp-accent);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: center;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-jump-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid var(--exp-border);
    border-radius: 999px;
    color: var(--exp-accent);
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-jump-nav a:hover,
:is(.hl-exp-panel, .atl-exp-panel) .exp-jump-nav a:focus {
    color: #fff;
    background: var(--exp-accent);
    text-decoration: none;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-tool-card {
    scroll-margin-top: 18px;
    margin: 0 0 22px;
    padding: 22px;
    border: 1px solid #d9e0e7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(31, 51, 73, .06);
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-tool-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 0 17px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--exp-soft);
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-tool-heading > span {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: var(--exp-accent);
    font-weight: 800;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-tool-heading h3 {
    margin: 0 0 5px;
    color: #25313e;
    font-size: 20px;
    line-height: 1.4;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-tool-heading p {
    margin: 0;
    color: #637180;
    line-height: 1.6;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-form-grid {
    margin-bottom: 13px;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-form-grid > label {
    min-width: 0;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-form-grid small {
    display: block;
    margin-top: 4px;
    color: #697786;
    font-weight: 400;
    line-height: 1.35;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-site-fieldset {
    margin: 4px 0 16px;
    padding: 14px 16px 16px;
    border: 1px solid var(--exp-border);
    border-radius: 9px;
    background: var(--exp-soft);
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-site-fieldset legend {
    width: auto;
    margin: 0;
    padding: 0 7px;
    border: 0;
    color: #334354;
    font-size: 15px;
    font-weight: 800;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-site-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid rgba(74, 92, 111, .17);
    border-radius: 7px;
    background: rgba(255, 255, 255, .84);
    font-weight: 600;
    cursor: pointer;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-two-results {
    align-items: stretch;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-score-result {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
    border-top: 4px solid var(--exp-accent);
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-score-result h3 {
    color: #273645;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-score-result .result-body {
    min-height: 72px;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #e4e9ee;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-result-actions .btn {
    padding: 6px 11px;
    font-size: 12px;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-factor-list {
    margin: 8px 0 12px;
    padding-left: 22px;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-factor-list li {
    margin: 4px 0;
    line-height: 1.5;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-context {
    color: #667483;
    font-size: 12px;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-caution {
    margin-top: 11px;
    padding: 9px 11px;
    border-left: 4px solid #d49b2c;
    background: #fff8e7;
    color: #674f20;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-critical-warning {
    margin: 12px 0;
    padding: 13px 15px;
    border: 1px solid #d99a96;
    border-left: 6px solid #ad3732;
    border-radius: 7px;
    color: #762a27;
    background: #fff0ef;
    line-height: 1.6;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-panel-references {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px 15px;
    border-radius: 9px;
    background: #f3f5f7;
}

:is(.hl-exp-panel, .atl-exp-panel) .exp-panel-references a {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    color: var(--exp-accent);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

@media (min-width: 992px) {
    :is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading {
        padding: 27px 30px;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-tool-card {
        padding: 25px 27px;
    }
}

@media (max-width: 767px) {
    :is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading {
        padding: 18px;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading h2 {
        font-size: 21px;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading > span {
        min-width: 48px;
        padding: 6px 9px;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-tool-card {
        padding: 17px 14px;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-tool-heading h3 {
        font-size: 18px;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-site-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-result-actions .btn {
        flex: 1 1 45%;
    }
}

@media (max-width: 420px) {
    :is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading {
        display: block;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-panel-heading > span {
        display: inline-block;
        margin-top: 12px;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-site-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    :is(.hl-exp-panel, .atl-exp-panel) .exp-jump-nav,
    :is(.hl-exp-panel, .atl-exp-panel) .exp-result-actions,
    :is(.hl-exp-panel, .atl-exp-panel) .exp-panel-references,
    :is(.hl-exp-panel, .atl-exp-panel) .exp-tool-card form {
        display: none !important;
    }

    :is(.hl-exp-panel, .atl-exp-panel) .exp-tool-card,
    :is(.hl-exp-panel, .atl-exp-panel) .exp-score-result {
        box-shadow: none;
        break-inside: avoid;
    }
}
