#dialogDescOverlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

#dialogDescModal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
}

#dialogDescDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 320px;
    max-width: 560px;
    width: 90%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    background: #ffffff;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

#dialogDescHeader {
    background-color: #003087;
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    padding: 14px 20px;
    line-height: 1.4;
    word-break: break-word;
}

#dialogDescBody {
    background-color: #ffffff;
    color: #222222;
    font-size: 0.95em;
    padding: 16px 20px;
    line-height: 1.7;
    word-break: break-word;
    overflow-y: auto;
    overflow-wrap: anywhere;
    flex: 1 1 auto;
    min-height: 0;
}

#dialogDescBody img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 8px 0;
}