.notification-detail {
    position: relative;
    padding: 18px 44px 24px 22px;
    text-align: left;
}
.notification-detail-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 22px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}
.notification-detail-close:hover,
.notification-detail-close:focus {
    color: #000;
    outline: none;
}
.notification-detail-kind {
    margin: 0 0 8px;
    color: #111;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}
.notification-detail-title {
    margin: 0 0 10px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}
.notification-detail-meta {
    padding-bottom: 14px;
    color: #64748b;
    font-size: 12px;
}
.notification-detail-scope {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: none;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    word-break: break-word;
    white-space: normal;
}
.notification-detail-content {
    padding-top: 16px;
    color: #334155;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}
.notification-detail-layer.layui-layer {
    box-sizing: border-box;
}
.notification-detail-layer .layui-layer-content {
    text-align: left;
    overflow: visible;
}
@media (max-width: 768px) {
    .notification-detail-layer.layui-layer {
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 24px) !important;
    }
    .notification-detail-layer .layui-layer-content {
        max-height: calc(100vh - 24px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .notification-detail {
        padding: 16px 40px 20px 16px;
        box-sizing: border-box;
    }
    .notification-detail-kind {
        font-size: 18px;
        padding-right: 8px;
    }
    .notification-detail-title {
        font-size: 15px;
    }
    .notification-detail-meta {
        word-break: break-word;
    }
    .notification-detail-scope {
        margin: 0;
        padding: 10px 0;
    }
}
.audit-preview { padding-bottom: 18px; }
.audit-preview-table-wrap { margin-top: 16px; overflow-x: auto; }
.audit-preview-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.audit-preview-table th, .audit-preview-table td {
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    color: #334155;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}
.audit-preview-table th { background: #f8fafc; color: #64748b; font-weight: 600; }
.audit-preview-table .audit-preview-rejection-row th {
    background: #fff7f7;
    color: #b91c1c;
    vertical-align: top;
}
.audit-preview-table .audit-preview-rejection-row td {
    background: #fffafa;
    color: #991b1b;
    line-height: 1.6;
    white-space: normal;
    word-break: break-word;
}
.audit-preview-kv { width: 100%; margin-top: 14px; border-collapse: collapse; }
.audit-preview-kv th, .audit-preview-kv td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f6;
    font-size: 13px;
    text-align: left;
}
.audit-preview-kv th { width: 110px; color: #64748b; font-weight: 500; }
.audit-preview-kv td { color: #1f2937; }
