.approval-mask {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    place-items: center;
    padding: 22px;
    background: rgba(25, 39, 61, .38);
    backdrop-filter: blur(3px);
}

.approval-mask.show {
    display: grid;
}

.approval-card {
    position: relative;
    width: min(460px, 100%);
    padding: 32px;
    border: 1px solid #dce7f8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(22, 54, 104, .24);
    text-align: center;
}

.close-card {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #f3f6fa;
    color: #76839a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.approval-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: #e7f8ef;
    color: #1eaa68;
    font-size: 31px;
    font-weight: 800;
}

.approval-card h2 {
    margin: 7px 0 8px;
    color: var(--ink);
    font-size: 27px;
}

.approval-message {
    margin: 0 auto 21px;
    color: var(--muted);
    font-size: 13px;
}

.approval-details {
    display: grid;
    gap: 0;
    margin: 0 0 22px;
    border: 1px solid #e3ebf7;
    border-radius: 13px;
    overflow: hidden;
    text-align: left;
}

.approval-details div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    border-bottom: 1px solid #edf1f7;
    font-size: 12px;
}

.approval-details div:last-child {
    border-bottom: 0;
}

.approval-details span {
    color: #8794a8;
}

.approval-details b {
    max-width: 68%;
    color: #25344a;
    text-align: right;
    word-break: break-word;
}

.approval-details strong {
    color: var(--blue);
    font-size: 17px;
}

.approval-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.secondary {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
}

.approval-hint {
    margin: 17px 0 0;
    color: #9aa5b6;
    font-size: 11px;
}

@media print {
    body.print-approval > *:not(#approval-card) {
        display: none !important;
    }

    body.print-approval {
        background: #fff;
    }

    .print-approval .approval-mask {
        position: static;
        display: grid;
        min-height: 100vh;
        padding: 0;
        background: #fff;
    }

    .print-approval .approval-card {
        width: 100%;
        max-width: 540px;
        margin: auto;
        border: 0;
        box-shadow: none;
    }

    .print-approval .close-card,
    .print-approval .approval-actions {
        display: none !important;
    }
}
