@charset "utf-8";

.disease-changes-page {
    overflow-y: auto;
}

.disease-changes-page .apply {
    min-height: calc(100vh - 51px);
    height: auto !important;
    overflow: visible !important;
}

.disease-changes-page .apply .app-con {
    overflow: visible;
    padding: 12px 0 0;
}

.diagnosis-group-note {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 12px;
    padding: 12px 14px;
    border-left: 4px solid #8c1515;
    background: #f7f5f2;
    color: #3f464d;
}

.diagnosis-group-note strong {
    flex: 0 0 auto;
    color: #8c1515;
    font-size: 12px;
    line-height: 1.5;
    text-transform: uppercase;
}

.diagnosis-group-note dl {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
}

.diagnosis-group-note dl div {
    display: flex;
    gap: 5px;
    font-size: 12px;
    line-height: 1.5;
}

.diagnosis-group-note dt {
    color: #252a2e;
    font-weight: 800;
}

.diagnosis-group-note dd {
    margin: 0;
    color: #626970;
}

.disease-changes-page .apply .app-con .app-grid {
    height: auto;
    overflow: visible;
    border: 0;
    background: transparent;
}

.disease-changes-page .apply .app-con #t-con {
    position: relative;
}

.disease-changes-page #t-con,
.disease-changes-page .t-con,
.disease-changes-page .t-con1 {
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
}

.disease-changes-page .t-con1 {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 36px;
}

.disease-changes-page .content-tips {
    display: none;
    min-height: 180px;
    padding-top: 84px;
    color: #60707d;
    text-align: center;
}

.disease-grid-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #8c1515;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.disease-grid-header span:last-child {
    text-align: right;
}

.disease-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.disease-grid-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 10px;
    align-items: start;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #e2e6ea;
    background: #fff;
}

.disease-grid-item:hover {
    border-color: #8c1515;
    background: #fff7f7;
}

.disease-pattern {
    color: #17212b;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.disease-number {
    min-width: 36px;
    padding: 2px 0;
    border-radius: 4px;
    background: #f1f3f5;
    color: #17212b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 700px) {
    .diagnosis-group-note {
        display: block;
    }

    .diagnosis-group-note strong {
        display: block;
        margin-bottom: 6px;
    }
}
