/* Product-save packaging review, scoped to its SweetAlert dialog. */
.swal2-container.ppr-overlay { padding: 20px; }
.swal2-container.swal2-backdrop-show.ppr-overlay { background: #020617b8 !important; backdrop-filter: blur(6px) !important; -webkit-backdrop-filter: blur(6px) !important; }
.swal2-popup.ppr-dialog {
    display: flex !important;
    flex-direction: column;
    width: min(860px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow: hidden;
    padding: 0;
    border: 1px solid #334155;
    border-radius: 18px;
    background: #101827;
    color: #e8eef8;
    box-shadow: 0 32px 110px #0009, 0 0 0 1px #ffffff04;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    color-scheme: dark;
}
.ppr-dialog * { box-sizing: border-box; }
.ppr-dialog svg { width: 18px; height: 18px; flex-shrink: 0; }
.ppr-dialog :is(button, summary):focus-visible { outline: 2px solid #67e8f9; outline-offset: 3px; }
.ppr-dialog .ppr-header { flex-shrink: 0; margin: 0; padding: 23px 60px 20px 26px; border-bottom: 1px solid #ffffff0b; text-align: left; }
.ppr-dialog .ppr-heading { display: flex; align-items: center; gap: 13px; }
.ppr-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #fbbf243b; border-radius: 13px; background: #fbbf2410; color: #fbbf24; }
.ppr-dialog .ppr-icon svg { width: 23px; height: 23px; }
.ppr-eyebrow { display: block; margin-bottom: 3px; color: #94a3b8; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; }
.ppr-title { display: block; font-size: 23px; font-weight: 700; line-height: 1.25; letter-spacing: -.6px; color: #f1f5f9; }
.ppr-dialog .ppr-close { position: absolute; top: 18px; right: 17px; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 8px; color: #94a3b8; font-size: 27px; box-shadow: none; }
.ppr-dialog .ppr-close:hover { background: #ffffff0a; border-color: #334155; color: #f8fafc; }
.ppr-dialog .ppr-body { min-height: 0; margin: 0; padding: 20px 26px 24px; overflow: auto; overscroll-behavior: contain; text-align: left; font-size: 13px; color: #cbd5e1; }
.ppr-intro { margin: 0 0 20px; max-width: 650px; font-size: 13px; line-height: 1.7; color: #a5b4ca; }
.ppr-product + .ppr-product { margin-top: 24px; padding-top: 23px; border-top: 1px solid #334155; }
.ppr-product-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.ppr-product-heading h3 { margin: 0; color: #f1f5f9; font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.ppr-sku { display: block; margin-top: 4px; color: #8292aa; font-family: 'JetBrains Mono', monospace; font-size: 10px; }
.ppr-count { flex-shrink: 0; padding: 4px 9px; border: 1px solid #fbbf2429; border-radius: 6px; background: #fbbf240b; color: #fcd580; font-size: 10px; font-weight: 600; }
.ppr-comparison-head, .ppr-row { display: grid; grid-template-columns: 108px minmax(0, 1fr) 20px minmax(0, 1fr); gap: 12px; }
.ppr-comparison-head { align-items: center; padding: 0 14px 10px; }
.ppr-component-label { font-size: 10px; color: #8292aa; }
.ppr-package-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border: 1px solid #334155; border-radius: 8px; color: #a6b5cc; background: #0b1220; font-size: 11px; }
.ppr-package-label strong { padding: 1px 6px; border-radius: 4px; background: #ffffff08; color: #cbd5e1; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; }
.ppr-package-label--new { border-color: #22d3ee42; background: #22d3ee09; color: #67e8f9; }
.ppr-package-label--new strong { background: #22d3ee13; color: #a5f3fc; }
.ppr-direction, .ppr-row-arrow { display: flex; align-items: center; justify-content: center; color: #536680; }
.ppr-changes { overflow: hidden; border: 1px solid #29364a; border-radius: 10px; }
.ppr-row { align-items: start; padding: 13px 14px; }
.ppr-row + .ppr-row { border-top: 1px solid #ffffff09; }
.ppr-row:nth-child(even) { background: #ffffff02; }
.ppr-role { padding-top: 1px; color: #b7c5d9; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.ppr-new { display: block; width: fit-content; margin-top: 5px; padding: 1px 5px; border-radius: 4px; background: #22d3ee10; color: #67e8f9; font-size: 9px; font-weight: 600; }
.ppr-value { min-width: 0; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.ppr-value--old { color: #9aabc3; }
.ppr-value--new { color: #d4f3fa; }
.ppr-material-name, .ppr-quantity { display: block; }
.ppr-quantity { margin-top: 4px; color: #8292aa; font-size: 10px; }
.ppr-row-arrow { align-self: center; }
.ppr-row-arrow svg { width: 14px; height: 14px; }
.ppr-empty { color: #536680; }
.ppr-mobile-label { display: none; }
.ppr-unchanged { margin-top: 13px; }
.ppr-unchanged summary { width: fit-content; color: #90a6c1; cursor: pointer; font-size: 11px; }
.ppr-unchanged summary:hover { color: #cbd5e1; }
.ppr-unchanged ul { margin: 10px 0 0; padding: 12px 12px 12px 28px; border-radius: 8px; background: #0b1220; color: #9aabc3; font-size: 12px; }
.ppr-unchanged li + li { margin-top: 6px; }
.ppr-dialog .ppr-actions { flex-shrink: 0; display: flex; justify-content: flex-end; gap: 10px; width: 100%; margin: 0; padding: 17px 26px; border-top: 1px solid #ffffff0b; background: #0c1422; }
.ppr-dialog .ppr-actions button { min-height: 42px; margin: 0; padding: 10px 17px; border: 1px solid #354258; border-radius: 9px; background: #172132; color: #cbd5e1; font: 600 12px/1.5 'DM Sans', 'Inter', sans-serif; cursor: pointer; transition: background .15s, border-color .15s; }
.ppr-dialog .ppr-actions .ppr-confirm { border-color: #22d3ee; background: #22d3ee; color: #083344; }
.ppr-dialog .ppr-actions .ppr-confirm:hover { background: #67e8f9; border-color: #67e8f9; }
.ppr-dialog .ppr-actions .ppr-cancel:hover { background: #223149; border-color: #536580; }
@media (max-width: 620px) {
    .swal2-container.ppr-overlay { padding: 10px; }
    .swal2-popup.ppr-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 14px; }
    .ppr-dialog .ppr-header { padding: 18px 50px 17px 18px; }
    .ppr-title { font-size: 20px; }
    .ppr-icon { width: 38px; height: 38px; border-radius: 10px; }
    .ppr-dialog .ppr-body { padding: 16px 18px 20px; }
    .ppr-intro { margin-bottom: 17px; font-size: 12px; }
    .ppr-product-heading h3 { font-size: 14px; }
    .ppr-comparison-head { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 8px; padding: 0 0 11px; }
    .ppr-component-label { display: none; }
    .ppr-row { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 9px; padding: 12px; }
    .ppr-role { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; color: #d5dfed; font-size: 11px; }
    .ppr-new { display: inline-block; margin-top: 0; }
    .ppr-dialog .ppr-actions { padding: 14px 18px; }
    .ppr-dialog .ppr-actions button { padding: 10px 13px; }
}
@media (max-width: 380px) {
    .ppr-row { grid-template-columns: 1fr; gap: 8px; }
    .ppr-row-arrow { display: none; }
    .ppr-mobile-label { display: inline-block; min-width: 67px; color: #8292aa; font-size: 10px; }
    .ppr-material-name { display: inline; }
    .ppr-dialog .ppr-actions { flex-direction: column; }
    .ppr-dialog .ppr-actions button { width: 100%; }
}
