/*
 * LocalPDF Tools - PNG to PDF
 * v2.5.2a30.6-clean Convert Image start hero icon premium polish
 * v2.5.2a29.5-clean PNG Release Prep; runtime CSS includes accepted a29.3 responsive polish
 * v2.5.2a21.4 export behavior QA baseline preserved
 * Scope: PNG to PDF scoped CSS only. Image to PDF, JPG to PDF, shared assets, and stable tools are untouched.
 */

.localpdf-png-to-pdf-wrap,
.localpdf-png-to-pdf-wrap *,
.localpdf-png-to-pdf-wrap *::before,
.localpdf-png-to-pdf-wrap *::after {
    box-sizing: border-box;
}

.localpdf-png-to-pdf-wrap {
    --lpr-primary: var(--localpdf-png-to-pdf-primary, #2563eb);
    --lpr-primary-dark: #1d4ed8;
    --lpr-blue-50: #eff6ff;
    --lpr-blue-100: #dbeafe;
    --lpr-blue-200: #bfdbfe;
    --lpr-ink: #0f172a;
    --lpr-text: #334155;
    --lpr-muted: #64748b;
    --lpr-line: #dbe7f6;
    --lpr-soft-line: #e2e8f0;
    --lpr-surface: #ffffff;
    --lpr-soft: #f8fbff;
    --lpr-soft-2: #f3f8ff;
    --lpr-success: #16a34a;
    --lpr-danger: #dc2626;
    --lpr-warning: #d97706;
    width: min(var(--localpdf-png-to-pdf-tool-width, 1120px), calc(100% - 28px));
    max-width: min(100%, var(--localpdf-png-to-pdf-tool-width, 1120px));
    margin: clamp(18px, 2.4vw, 34px) auto clamp(28px, 4vw, 56px);
    color: var(--lpr-text);
    font-family: inherit;
}

.localpdf-png-to-pdf-wrap [hidden] {
    display: none !important;
}

.localpdf-png-to-pdf-wrap button,
.localpdf-png-to-pdf-wrap input,
.localpdf-png-to-pdf-wrap summary {
    font: inherit;
}

.localpdf-png-to-pdf-wrap button,
.localpdf-png-to-pdf-wrap summary {
    -webkit-tap-highlight-color: transparent;
}

.localpdf-png-to-pdf-wrap button:focus-visible,
.localpdf-png-to-pdf-wrap summary:focus-visible,
.localpdf-png-to-pdf-wrap input:focus-visible,
.localpdf-png-to-pdf-page-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .22);
    outline-offset: 3px;
}

.localpdf-png-to-pdf-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Start screen: keep the Merge PDF metric rhythm while using Duplicate-specific artwork. */
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start {
    width: min(var(--localpdf-png-to-pdf-tool-width, 1120px), calc(100% - 28px));
    max-width: min(100%, 1120px);
    padding: clamp(22px, 3.2vw, 42px);
    border: 1px solid rgba(191, 219, 254, .92);
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% -5%, rgba(37, 99, 235, .08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .98) 100%);
    box-shadow: 0 28px 90px rgba(15, 23, 42, .07);
}

.localpdf-png-to-pdf-tool {
    min-width: 0;
}

.localpdf-png-to-pdf-start {
    display: block;
    max-width: 1180px;
    margin: 0 auto;
}

.localpdf-png-to-pdf-dropzone {
    position: relative;
    min-height: clamp(400px, 42vw, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: clamp(44px, 6vw, 82px) clamp(20px, 4vw, 52px);
    border: 2px dashed #93c5fd;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 18%, rgba(37, 99, 235, .12), transparent 30%),
        radial-gradient(circle at 50% 74%, rgba(34, 197, 94, .055), transparent 38%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), 0 24px 72px rgba(37, 99, 235, .09);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.localpdf-png-to-pdf-dropzone:hover,
.localpdf-png-to-pdf-dropzone.is-dragging {
    border-color: var(--lpr-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), 0 30px 82px rgba(37, 99, 235, .13);
    transform: translateY(-1px);
}

.localpdf-png-to-pdf-start-illustration {
    position: relative;
    width: 156px;
    height: 118px;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.localpdf-png-to-pdf-start-illustration::before {
    content: '';
    position: absolute;
    width: 132px;
    height: 132px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(37, 99, 235, .12), rgba(147, 197, 253, .12));
    box-shadow: 0 22px 70px rgba(37, 99, 235, .16);
}

.localpdf-png-to-pdf-start-card {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(239, 246, 255, .78);
    border: 1px solid rgba(191, 219, 254, .78);
    box-shadow: 0 18px 44px rgba(37, 99, 235, .10);
}

.localpdf-png-to-pdf-start-card svg {
    width: 100%;
    height: 100%;
    padding: 12px;
    overflow: visible;
}

.localpdf-png-to-pdf-start-card svg path,
.localpdf-png-to-pdf-start-card svg rect,
.localpdf-png-to-pdf-start-card svg circle {
    fill: none;
    stroke: #93c5fd;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.localpdf-png-to-pdf-start-card-left {
    z-index: 0;
    left: 0;
    top: 34px;
    width: 60px;
    height: 72px;
    transform: rotate(-13deg);
}

.localpdf-png-to-pdf-start-card-right {
    z-index: 1;
    right: 5px;
    top: 32px;
    width: 62px;
    height: 76px;
    transform: rotate(14deg);
    background: rgba(219, 234, 254, .72);
}

.localpdf-png-to-pdf-start-card-main {
    z-index: 3;
    width: 82px;
    height: 82px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -.03em;
    box-shadow: 0 24px 58px rgba(37, 99, 235, .30);
}

.localpdf-png-to-pdf-start-arrow,
.localpdf-png-to-pdf-start-spark {
    display: none;
}

.localpdf-png-to-pdf-icon {
    display: none;
}

.localpdf-png-to-pdf-dropzone h2 {
    position: relative;
    z-index: 1;
    margin: 10px 0;
    color: var(--lpr-ink);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 950;
    letter-spacing: -.06em;
    line-height: 1.06;
}

.localpdf-png-to-pdf-dropzone p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 0 24px;
    color: var(--lpr-muted);
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.65;
}

.localpdf-png-to-pdf-start-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin: 0 0 18px;
}

.localpdf-png-to-pdf-primary,
.localpdf-png-to-pdf-export,
.localpdf-png-to-pdf-download,
.localpdf-png-to-pdf-wrap .localpdf-primary-button.localpdf-merge-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--lpr-primary) 0%, var(--lpr-primary-dark) 100%);
    color: #fff;
    font-weight: 900;
    letter-spacing: -.015em;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .28);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.localpdf-png-to-pdf-primary {
    min-width: 188px;
    min-height: 58px;
    font-size: 16px;
}

.localpdf-png-to-pdf-primary::before {
    content: '+';
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: 16px;
    font-weight: 950;
    line-height: 1;
}

.localpdf-png-to-pdf-primary:hover,
.localpdf-png-to-pdf-export:hover:not(:disabled),
.localpdf-png-to-pdf-download:hover,
.localpdf-png-to-pdf-wrap .localpdf-primary-button.localpdf-merge-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 22px 48px rgba(37, 99, 235, .32);
}

.localpdf-png-to-pdf-dropzone small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 2px;
    color: var(--lpr-muted);
    font-size: 13px;
    font-weight: 650;
}

.localpdf-png-to-pdf-badges {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 720px);
    margin: 24px auto 0;
}

.localpdf-png-to-pdf-badges span {
    min-height: 76px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-areas: 'icon title' 'icon text';
    align-items: center;
    column-gap: 10px;
    padding: 13px 12px;
    border: 1px solid rgba(191, 219, 254, .74);
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
    text-align: left;
}

.localpdf-png-to-pdf-badges i {
    grid-area: icon;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--lpr-blue-50);
    color: var(--lpr-primary);
    font-style: normal;
}

.localpdf-png-to-pdf-badges i::before {
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
}

.localpdf-png-to-pdf-trust-no-upload i::before { content: '⌂'; }
.localpdf-png-to-pdf-trust-no-signup i::before { content: '↳'; }
.localpdf-png-to-pdf-trust-no-watermark i::before { content: '◇'; }

.localpdf-png-to-pdf-badges strong {
    grid-area: title;
    min-width: 0;
    color: var(--lpr-ink);
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.015em;
}

.localpdf-png-to-pdf-badges em {
    grid-area: text;
    min-width: 0;
    color: var(--lpr-muted);
    font-size: 11.5px;
    font-style: normal;
    font-weight: 650;
    line-height: 1.25;
}

/* Status messages */
.localpdf-png-to-pdf-message {
    margin: 14px auto 0;
    padding: 13px 16px;
    border: 1px solid rgba(191, 219, 254, .86);
    border-radius: 16px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.localpdf-png-to-pdf-message.is-success {
    border-color: rgba(134, 239, 172, .85);
    background: #f0fdf4;
    color: #166534;
}

.localpdf-png-to-pdf-message.is-error {
    border-color: rgba(252, 165, 165, .88);
    background: #fff1f2;
    color: #991b1b;
}

/* Workspace shell: clean source of truth. */
.localpdf-png-to-pdf-wrap:not(.is-empty) {
    width: min(1500px, calc(100vw - 48px));
    max-width: min(1500px, calc(100vw - 48px));
    padding: 24px;
    border: 1px solid rgba(191, 219, 254, .78);
    border-radius: 30px;
    background:
        radial-gradient(circle at 14% 0%, rgba(37, 99, 235, .07), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 28px 86px rgba(15, 23, 42, .10);
}

.localpdf-png-to-pdf-workspace {
    overflow: hidden;
    border: 1px solid var(--lpr-line);
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 24px 64px rgba(15, 23, 42, .075);
}

.localpdf-png-to-pdf-process-masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding: 24px 30px;
    border-bottom: 1px solid #e5edf8;
    background: rgba(255, 255, 255, .96);
}

.localpdf-png-to-pdf-process-brand {
    display: grid;
    grid-template-columns: 44px minmax(0, auto) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.localpdf-png-to-pdf-process-logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(180deg, var(--lpr-primary) 0%, var(--lpr-primary-dark) 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .25);
}

.localpdf-png-to-pdf-process-brand b {
    min-width: 0;
    color: var(--lpr-ink);
    font-size: clamp(20px, 1.9vw, 30px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.05em;
    white-space: nowrap;
}

.localpdf-png-to-pdf-process-brand > span:not(.localpdf-png-to-pdf-process-logo) {
    align-self: end;
    margin-bottom: 2px;
    color: var(--lpr-muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.localpdf-png-to-pdf-workspace-toolbar {
    padding: 20px 30px 18px;
    border-bottom: 1px solid rgba(226, 232, 240, .72);
    background: rgba(255, 255, 255, .58);
}

.localpdf-png-to-pdf-toolbar-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, auto);
    align-items: center;
    gap: 18px;
}

.localpdf-png-to-pdf-toolbar-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.localpdf-png-to-pdf-toolbar-title strong {
    color: var(--lpr-ink);
    font-size: clamp(28px, 2.4vw, 38px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.055em;
    white-space: nowrap;
}

.localpdf-png-to-pdf-toolbar-title span {
    color: var(--lpr-muted);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.15;
    white-space: nowrap;
}

.localpdf-png-to-pdf-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-menu-summary,
.localpdf-png-to-pdf-page-nav {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(190, 207, 232, .90);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    color: #111b34;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, background .16s ease, opacity .16s ease;
}

.localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-menu-summary {
    padding: 0 16px;
}

.localpdf-png-to-pdf-secondary-button span {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eaf2ff;
    color: var(--lpr-primary);
    font-size: 16px;
    font-weight: 950;
    line-height: 1;
}

.localpdf-png-to-pdf-secondary-button:hover:not(:disabled),
.localpdf-png-to-pdf-light-button:hover:not(:disabled),
.localpdf-png-to-pdf-menu-summary:hover,
.localpdf-png-to-pdf-page-nav-button:hover:not(:disabled) {
    border-color: rgba(37, 99, 235, .32);
    color: var(--lpr-primary-dark);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .11);
    transform: translateY(-1px);
}

.localpdf-png-to-pdf-export {
    min-width: 156px;
    min-height: 50px;
    padding: 0 24px;
    font-size: 14px;
}

.localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export {
    min-height: 52px;
    border-radius: 16px;
}

.localpdf-png-to-pdf-wrap button:disabled,
.localpdf-png-to-pdf-wrap input:disabled {
    cursor: not-allowed !important;
    opacity: .52;
    transform: none !important;
    box-shadow: none;
}

.localpdf-png-to-pdf-menu {
    position: relative;
    display: inline-block;
}

.localpdf-png-to-pdf-menu summary {
    list-style: none;
}

.localpdf-png-to-pdf-menu summary::-webkit-details-marker {
    display: none;
}

.localpdf-png-to-pdf-menu-panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: 0;
    min-width: 238px;
    padding: 8px;
    border: 1px solid rgba(190, 207, 232, .95);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .16);
}


.localpdf-png-to-pdf-menu-separator {
    display: block;
    height: 1px;
    margin: 7px 4px;
    background: rgba(203, 213, 225, .82);
}

.localpdf-png-to-pdf-menu-item {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #25304a;
    font-size: 13px;
    font-weight: 820;
    text-align: left;
    cursor: pointer;
}

.localpdf-png-to-pdf-menu-item:hover:not(:disabled),
.localpdf-png-to-pdf-menu-item:focus-visible:not(:disabled) {
    background: var(--lpr-blue-50);
    color: var(--lpr-primary-dark);
    outline: none;
}

.localpdf-png-to-pdf-page-nav {
    min-width: 132px;
    height: 46px;
    padding: 0 11px;
    color: #6b778d;
}

.localpdf-png-to-pdf-page-nav-button {
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #eaf2ff;
    color: var(--lpr-primary);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.localpdf-png-to-pdf-page-nav input {
    width: 52px;
    height: 32px;
    padding: 0 6px;
    border: 1px solid rgba(158, 182, 219, .85);
    border-radius: 11px;
    background: #fff;
    color: #243048;
    font-size: 14px;
    font-weight: 850;
    line-height: 32px;
    text-align: center;
    outline: none;
}

.localpdf-png-to-pdf-page-nav strong {
    color: #536178;
    font-size: 13px;
    font-weight: 850;
}

.localpdf-png-to-pdf-page-nav.is-disabled {
    opacity: .62;
}

.localpdf-png-to-pdf-process-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 30px 20px;
}

.localpdf-png-to-pdf-process-summary span {
    min-height: 72px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid rgba(191, 219, 254, .76);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .045);
}

.localpdf-png-to-pdf-process-summary strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--lpr-ink);
    font-size: 16px;
    font-weight: 940;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.localpdf-png-to-pdf-process-summary em {
    color: var(--lpr-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
}

.localpdf-png-to-pdf-warning {
    display: grid;
    gap: 4px;
    margin: 0 30px 20px;
    padding: 14px 16px;
    border: 1px solid rgba(251, 191, 36, .55);
    border-radius: 16px;
    background: #fffbeb;
    color: #92400e;
}

.localpdf-png-to-pdf-warning.is-error {
    border-color: rgba(252, 165, 165, .88);
    background: #fff1f2;
    color: #991b1b;
}

.localpdf-png-to-pdf-warning strong {
    font-size: 13px;
    font-weight: 930;
    line-height: 1.2;
}

.localpdf-png-to-pdf-warning p {
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.45;
}

/* Page workspace */
.localpdf-png-to-pdf-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    align-items: stretch;
    margin: 0 30px 24px;
    padding: 22px 18px 24px;
    border: 1px solid rgba(191, 219, 254, .70);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .06), transparent 30%),
        linear-gradient(135deg, rgba(239, 246, 255, .92), rgba(236, 253, 245, .34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.localpdf-png-to-pdf-page-card {
    position: relative;
    display: grid;
    grid-template-rows: 188px minmax(42px, auto) 32px;
    gap: 8px;
    min-width: 0;
    min-height: 292px;
    padding: 12px;
    border: 1px solid rgba(214, 226, 243, .96);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .085), 0 2px 8px rgba(37, 99, 235, .04);
    transform: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
    overflow: visible;
}

.localpdf-png-to-pdf-page-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, .60);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .11), 0 3px 10px rgba(37, 99, 235, .08);
}

.localpdf-png-to-pdf-wrap .localpdf-file-order-badge,
.localpdf-png-to-pdf-position-badge {
    position: absolute;
    z-index: 12;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 999px;
    background: var(--lpr-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
    font-size: 15px;
    font-weight: 950;
    line-height: 1;
}

.localpdf-png-to-pdf-thumb,
.localpdf-png-to-pdf-wrap .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap .localpdf-page-file-preview {
    position: relative;
    width: 100%;
    height: 188px;
    min-height: 188px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(191, 219, 254, .82);
    border-radius: 17px;
    background: #eef4fb;
    background-image: linear-gradient(90deg, #eaf3ff 0 18%, #ffffff 18% 100%);
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, .58), 0 12px 26px rgba(15, 23, 42, .08);
    line-height: 0;
}

.localpdf-png-to-pdf-wrap .localpdf-file-icon.has-pdf-thumbnail {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background: #eef4fb;
    pointer-events: none;
}

.localpdf-png-to-pdf-wrap .localpdf-page-rendered-thumb-image {
    position: absolute;
    z-index: 5;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    max-width: none;
    max-height: none;
    display: block;
    object-fit: contain;
    object-position: center center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .12);
    transform: rotate(var(--localpdf-png-to-pdf-rotation, 0deg));
    transform-origin: center center;
    transition: transform .18s ease;
}

.localpdf-png-to-pdf-thumb-loading,
.localpdf-png-to-pdf-thumb-error {
    position: static;
    width: calc(100% - 24px);
    height: auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px dashed rgba(147, 197, 253, .72);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    color: var(--lpr-muted);
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    transform: none;
}

.localpdf-png-to-pdf-thumb-error {
    border-color: rgba(252, 165, 165, .75);
    color: #991b1b;
    background: #fff1f2;
}

.localpdf-png-to-pdf-blank-page-paper,
.localpdf-png-to-pdf-page-card.is-blank-page .localpdf-png-to-pdf-wrap .localpdf-page-rendered-thumb-image {
    background:
        linear-gradient(90deg, rgba(226, 232, 240, .60) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(226, 232, 240, .92);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .80), 0 1px 4px rgba(15, 23, 42, .10);
}

.localpdf-png-to-pdf-wrap .localpdf-file-main,
.localpdf-png-to-pdf-page-meta {
    display: grid;
    align-content: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.localpdf-png-to-pdf-wrap .localpdf-file-title-row,
.localpdf-png-to-pdf-page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.localpdf-png-to-pdf-wrap .localpdf-file-name,
.localpdf-png-to-pdf-page-filename {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--lpr-ink);
    font-size: 13px;
    font-weight: 880;
    line-height: 1.18;
    letter-spacing: -.012em;
}

.localpdf-png-to-pdf-wrap .localpdf-file-type-badge,
.localpdf-png-to-pdf-page-type-badge {
    flex: 0 0 auto;
    width: 34px;
    min-width: 34px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 9px;
    background: var(--lpr-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
    font-size: 9px;
    font-weight: 950;
    line-height: 1;
}

.localpdf-png-to-pdf-wrap .localpdf-file-type-badge.is-blank,
.localpdf-png-to-pdf-page-type-badge.is-blank {
    width: auto;
    min-width: 46px;
    padding: 0 7px;
    background: #64748b;
    box-shadow: 0 10px 20px rgba(100, 116, 139, .14);
}

.localpdf-png-to-pdf-wrap .localpdf-row-actions {
    width: 100%;
    min-height: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    align-self: end;
    overflow: visible;
}

.localpdf-png-to-pdf-wrap .localpdf-drag-handle {
    flex: 0 0 10px;
    width: 10px;
    min-width: 10px;
    height: 28px;
    color: transparent;
    overflow: hidden;
    background: radial-gradient(circle, rgba(100, 116, 139, .56) 1px, transparent 1.35px) 0 4px / 5px 6px;
    cursor: grab;
}

.localpdf-png-to-pdf-wrap .localpdf-icon-button {
    flex: 0 0 26px;
    width: 26px;
    min-width: 26px;
    max-width: 26px;
    height: 26px;
    min-height: 26px;
    max-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(203, 213, 225, .94);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    color: #334155;
    box-shadow: 0 5px 12px rgba(15, 23, 42, .055);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
}

.localpdf-png-to-pdf-wrap .localpdf-icon-button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, .35);
    color: var(--lpr-primary);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .12);
}

.localpdf-png-to-pdf-wrap .localpdf-remove-page:hover:not(:disabled) {
    border-color: rgba(248, 113, 113, .62);
    color: var(--lpr-danger);
    box-shadow: 0 8px 18px rgba(220, 38, 38, .10);
}

.localpdf-png-to-pdf-pages-grid.is-duplicate-dragging {
    cursor: grabbing;
}

.localpdf-png-to-pdf-pages-grid.is-duplicate-dragging .localpdf-png-to-pdf-page-card:not(.is-dragging) {
    transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease, border-color .22s ease, opacity .22s ease;
}

.localpdf-png-to-pdf-page-card.is-dragging {
    z-index: 20;
    opacity: .82;
    transform: translateY(-6px) scale(1.018) rotate(.25deg);
    border-color: rgba(37, 99, 235, .48);
    box-shadow: 0 34px 70px rgba(15, 23, 42, .20), 0 10px 30px rgba(37, 99, 235, .16);
    cursor: grabbing;
}

.localpdf-png-to-pdf-page-card.is-drop-target {
    border-color: rgba(37, 99, 235, .72);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .14), 0 24px 54px rgba(37, 99, 235, .14);
}

.localpdf-png-to-pdf-page-card.is-drop-before::before,
.localpdf-png-to-pdf-page-card.is-drop-after::before {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 18px;
    z-index: 30;
    width: 4px;
    border-radius: 999px;
    background: var(--lpr-primary);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .14);
}

.localpdf-png-to-pdf-page-card.is-drop-before::before { left: -12px; }
.localpdf-png-to-pdf-page-card.is-drop-after::before { right: -12px; }

.localpdf-png-to-pdf-page-card.is-highlighted {
    animation: localpdf-png-to-pdf-highlight 1.25s ease;
}

@keyframes localpdf-png-to-pdf-highlight {
    0%, 100% { box-shadow: 0 16px 34px rgba(15, 23, 42, .085), 0 2px 8px rgba(37, 99, 235, .04); }
    40% { box-shadow: 0 0 0 5px rgba(37, 99, 235, .18), 0 24px 54px rgba(37, 99, 235, .14); }
}

/* Output settings and bottom export bar */
.localpdf-png-to-pdf-output-settings {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px 18px;
    align-items: center;
    margin: 0 30px;
    padding: 20px 24px 18px;
    border: 1px solid var(--lpr-blue-100);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: radial-gradient(circle at right top, rgba(37, 99, 235, .035), transparent 35%), #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .045);
}

.localpdf-png-to-pdf-output-settings label {
    align-self: center;
    color: var(--lpr-ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.localpdf-png-to-pdf-output-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.localpdf-png-to-pdf-output-name {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--lpr-blue-200);
    border-radius: 12px;
    background: #fff;
    color: var(--lpr-ink);
    font-size: 14px;
    font-weight: 720;
    line-height: 1.2;
    letter-spacing: -.015em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 1px 0 rgba(15, 23, 42, .02);
}

.localpdf-png-to-pdf-filename-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.localpdf-png-to-pdf-filename-template-label {
    min-width: 0;
}

.localpdf-png-to-pdf-filename-template {
    min-width: 220px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px;
    border: 1px solid var(--lpr-blue-100);
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 12.5px;
    font-weight: 760;
}

.localpdf-png-to-pdf-output-control .localpdf-png-to-pdf-light-button {
    min-height: 36px;
    padding-inline: 16px;
    border-radius: 10px;
    font-size: 12.5px;
    box-shadow: none;
}

.localpdf-png-to-pdf-output-ready {
    grid-column: 2;
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 11px 16px;
    border: 1px solid var(--lpr-blue-200);
    border-radius: 14px;
    background: #f8fbff;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.localpdf-png-to-pdf-output-ready::before {
    content: '';
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    margin-right: 12px;
    border-radius: 999px;
    background: var(--lpr-primary);
    box-shadow: 0 0 0 7px rgba(37, 99, 235, .10);
}

.localpdf-png-to-pdf-action-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin: 0 30px 30px;
    padding: 20px 24px;
    border: 1px solid var(--lpr-blue-100);
    border-radius: 0 0 22px 22px;
    background: radial-gradient(circle at left center, rgba(37, 99, 235, .034), transparent 31%), #ffffff;
}

.localpdf-png-to-pdf-action-summary {
    display: flex;
    align-items: center;
    min-height: 46px;
    color: #334155;
    font-size: 13px;
    font-weight: 820;
    line-height: 1.35;
}

.localpdf-png-to-pdf-action-summary::before {
    content: '';
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    margin-right: 12px;
    border-radius: 999px;
    background: var(--lpr-primary);
    box-shadow: 0 0 0 7px rgba(37, 99, 235, .10);
}

.localpdf-png-to-pdf-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.localpdf-png-to-pdf-action-buttons .localpdf-png-to-pdf-export {
    min-width: 172px;
    min-height: 54px;
    border-radius: 16px;
    font-size: 15px;
}

.localpdf-png-to-pdf-action-buttons .localpdf-png-to-pdf-light-button {
    min-height: 48px;
    padding-inline: 22px;
}

/* Export panel */
.localpdf-png-to-pdf-export-panel {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    margin: 0 30px 30px;
    padding: 22px;
    border: 1px solid rgba(191, 219, 254, .86);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .075);
}

.localpdf-png-to-pdf-result-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--lpr-blue-50);
    color: var(--lpr-primary);
    font-size: 26px;
    font-weight: 950;
}

.localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-icon {
    background: #dcfce7;
    color: #15803d;
}

.localpdf-png-to-pdf-export-panel.is-error .localpdf-png-to-pdf-result-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.localpdf-png-to-pdf-export-body {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.localpdf-png-to-pdf-export-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.localpdf-png-to-pdf-kicker {
    margin: 0 0 5px;
    color: var(--lpr-primary);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.localpdf-png-to-pdf-export-header h3 {
    margin: 0;
    color: var(--lpr-ink);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.localpdf-png-to-pdf-muted {
    margin: 7px 0 0;
    color: var(--lpr-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.localpdf-png-to-pdf-export-header > strong {
    min-width: 52px;
    text-align: right;
    color: var(--lpr-ink);
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.localpdf-png-to-pdf-progress {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf2ff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .08);
}

.localpdf-png-to-pdf-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lpr-primary), #60a5fa);
    transition: width .2s ease;
}

.localpdf-png-to-pdf-download-area {
    display: grid;
    gap: 14px;
}

.localpdf-png-to-pdf-result-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.localpdf-png-to-pdf-result-stat {
    display: grid;
    gap: 3px;
    padding: 13px;
    border: 1px solid var(--lpr-blue-100);
    border-radius: 15px;
    background: #fff;
}

.localpdf-png-to-pdf-result-stat strong {
    color: var(--lpr-ink);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.1;
}

.localpdf-png-to-pdf-result-stat em {
    color: var(--lpr-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 780;
    line-height: 1.2;
}

.localpdf-png-to-pdf-result-meta {
    margin: 0;
    color: var(--lpr-muted);
    font-size: 13px;
    font-weight: 720;
    line-height: 1.45;
}

.localpdf-png-to-pdf-result-filename {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--lpr-blue-100);
    border-radius: 14px;
    background: #fff;
}

.localpdf-png-to-pdf-result-filename span {
    color: var(--lpr-muted);
    font-size: 12px;
    font-weight: 800;
}

.localpdf-png-to-pdf-result-filename strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--lpr-ink);
    font-size: 13px;
    font-weight: 900;
}

.localpdf-png-to-pdf-export-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.localpdf-png-to-pdf-download {
    min-height: 50px;
    padding: 0 22px;
}

.localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
    min-height: 46px;
}

/* Dark theme support for shortcode theme="dark". */
.localpdf-png-to-pdf-theme-dark {
    --lpr-ink: #e5e7eb;
    --lpr-text: #cbd5e1;
    --lpr-muted: #94a3b8;
    --lpr-line: rgba(71, 85, 105, .92);
    --lpr-soft-line: rgba(51, 65, 85, .92);
    color: var(--lpr-text);
}

.localpdf-png-to-pdf-theme-dark.is-empty.is-flow-start,
.localpdf-png-to-pdf-theme-dark:not(.is-empty),
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-workspace,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-process-masthead,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-workspace-toolbar,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-process-summary span,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-page-card,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-action-bar,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-export-panel,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-result-stat,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-result-filename {
    border-color: rgba(71, 85, 105, .88);
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-pages-grid {
    border-color: rgba(71, 85, 105, .88);
    background: linear-gradient(135deg, rgba(30, 41, 59, .96), rgba(15, 23, 42, .96));
}

.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-menu-summary,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-page-nav,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-page-nav input,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-wrap .localpdf-icon-button,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-output-name,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-filename-template,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-output-ready,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-menu-panel {
    border-color: rgba(71, 85, 105, .88);
    background: #111827;
    color: #e5e7eb;
}

.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-thumb,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-wrap .localpdf-file-card-preview,
.localpdf-png-to-pdf-theme-dark .localpdf-png-to-pdf-wrap .localpdf-page-file-preview {
    border-color: rgba(71, 85, 105, .88);
    background: #1f2937;
    background-image: linear-gradient(90deg, #1e293b 0 18%, #111827 18% 100%);
}

/* Responsive workspace */
@media (max-width: 1220px) {
    .localpdf-png-to-pdf-toolbar-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .localpdf-png-to-pdf-toolbar-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 1024px) {
    .localpdf-png-to-pdf-wrap:not(.is-empty) {
        width: min(100%, calc(100vw - 28px));
        max-width: min(100%, calc(100vw - 28px));
        padding: 18px;
    }

    .localpdf-png-to-pdf-pages-grid {
        grid-template-columns: repeat(auto-fill, minmax(198px, 1fr));
    }
}

@media (max-width: 860px) {
    .localpdf-png-to-pdf-process-masthead,
    .localpdf-png-to-pdf-workspace-toolbar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .localpdf-png-to-pdf-process-summary,
    .localpdf-png-to-pdf-warning,
    .localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-export-panel {
        margin-left: 20px;
        margin-right: 20px;
    }

    .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-action-bar {
        grid-template-columns: 1fr;
        border-radius: 20px;
        border-bottom: 1px solid var(--lpr-blue-100);
    }

    .localpdf-png-to-pdf-output-ready {
        grid-column: 1;
    }
}

@media (max-width: 760px) {
    .localpdf-png-to-pdf-badges {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .localpdf-png-to-pdf-process-brand {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .localpdf-png-to-pdf-process-brand > span:not(.localpdf-png-to-pdf-process-logo) {
        display: none;
    }

    .localpdf-png-to-pdf-process-summary,
    .localpdf-png-to-pdf-result-summary {
        grid-template-columns: 1fr;
    }

    .localpdf-png-to-pdf-pages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding: 14px 10px 18px;
    }

    .localpdf-png-to-pdf-page-card {
        grid-template-rows: 168px minmax(38px, auto) auto;
        min-height: 282px;
        padding: 10px;
    }

    .localpdf-png-to-pdf-thumb,
    .localpdf-png-to-pdf-wrap .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap .localpdf-page-file-preview {
        height: 168px;
        min-height: 168px;
        border-radius: 15px;
    }

    .localpdf-png-to-pdf-wrap .localpdf-row-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        min-height: 0;
    }

    .localpdf-png-to-pdf-wrap .localpdf-drag-handle {
        display: none;
    }

    .localpdf-png-to-pdf-wrap .localpdf-icon-button {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 30px;
        min-height: 30px;
        max-height: none;
    }
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start {
        padding: 16px;
    }

    .localpdf-png-to-pdf-dropzone {
        min-height: 330px;
        padding: 32px 18px;
        border-radius: 24px;
    }

    .localpdf-png-to-pdf-wrap:not(.is-empty) {
        width: min(100%, calc(100vw - 18px));
        max-width: min(100%, calc(100vw - 18px));
        padding: 12px;
        border-radius: 22px;
    }

    .localpdf-png-to-pdf-workspace {
        border-radius: 20px;
    }

    .localpdf-png-to-pdf-toolbar-title {
        display: grid;
        gap: 4px;
    }

    .localpdf-png-to-pdf-toolbar-title strong {
        font-size: 30px;
    }

    .localpdf-png-to-pdf-toolbar-actions > *,
    .localpdf-png-to-pdf-menu,
    .localpdf-png-to-pdf-menu-summary,
    .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export,
    .localpdf-png-to-pdf-page-nav {
        width: 100%;
        flex: 1 1 100%;
    }

    .localpdf-png-to-pdf-process-masthead,
    .localpdf-png-to-pdf-workspace-toolbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .localpdf-png-to-pdf-process-summary,
    .localpdf-png-to-pdf-warning,
    .localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-export-panel {
        margin-left: 14px;
        margin-right: 14px;
    }

    .localpdf-png-to-pdf-pages-grid {
        grid-template-columns: 1fr;
    }

    .localpdf-png-to-pdf-output-control,
    .localpdf-png-to-pdf-filename-tools,
    .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-action-buttons,
    .localpdf-png-to-pdf-export-panel,
    .localpdf-png-to-pdf-export-header {
        grid-template-columns: 1fr;
        display: grid;
    }

    .localpdf-png-to-pdf-filename-template,
    .localpdf-png-to-pdf-action-buttons .localpdf-png-to-pdf-export,
    .localpdf-png-to-pdf-action-buttons .localpdf-png-to-pdf-light-button,
    .localpdf-png-to-pdf-download,
    .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
        width: 100%;
        min-width: 0;
    }

    .localpdf-png-to-pdf-export-header > strong {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .localpdf-png-to-pdf-wrap *,
    .localpdf-png-to-pdf-wrap *::before,
    .localpdf-png-to-pdf-wrap *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* v2.5.2a14.9: Merge workspace parity layer.
   This block intentionally overrides the inherited clean-reset workspace so Duplicate
   follows the proven Merge PDF Pages metrics: compact top toolbar, no heavy
   summary cards, 7-card desktop page view, Merge-like output/export rows. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
    width: min(var(--localpdf-png-to-pdf-tool-width, 1500px), calc(100vw - 40px)) !important;
    max-width: min(var(--localpdf-png-to-pdf-tool-width, 1500px), calc(100vw - 40px)) !important;
    padding: 22px 24px 24px !important;
    border: 1px solid rgba(191, 219, 254, .78) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(37, 99, 235, .075), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    box-shadow: 0 30px 86px rgba(15, 23, 42, .11) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-masthead,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-masthead {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar {
    padding: 8px 6px 6px !important;
    border: 0 !important;
    background: transparent !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-row,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-mode-tabs,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-mode-tabs {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 31px !important;
    padding: 4px !important;
    border: 1px solid rgba(191, 219, 254, .88) !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .045) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-mode-tab,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-mode-tab {
    min-height: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 11px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: default !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-mode-tab small,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-mode-tab small {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-mode-tab.is-active,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-mode-tab.is-active {
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu-summary,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-menu-summary {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(203, 213, 225, .88) !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #172033 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .045) !important;
    font-size: 11.5px !important;
    font-weight: 850 !important;
    letter-spacing: -.01em !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-secondary-button span,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-secondary-button span {
    width: 18px !important;
    height: 18px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export {
    min-width: 128px !important;
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    font-size: 11.5px !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .20) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav {
    min-width: 104px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 8px !important;
    gap: 5px !important;
    border-radius: 11px !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .045) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav-button {
    width: 23px !important;
    min-width: 23px !important;
    height: 23px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav input,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav input {
    width: 36px !important;
    height: 24px !important;
    min-height: 24px !important;
    border-radius: 8px !important;
    font-size: 11.5px !important;
    line-height: 24px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav strong {
    font-size: 11px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu-panel,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-menu-panel {
    min-width: 226px !important;
    padding: 7px !important;
    border-radius: 14px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu-item,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) 
.localpdf-png-to-pdf-menu-separator {
    display: block;
    height: 1px;
    margin: 7px 4px;
    background: rgba(203, 213, 225, .82);
}

.localpdf-png-to-pdf-menu-item {
    min-height: 34px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-copy,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-copy {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    margin: 14px 6px 0 !important;
    min-width: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-copy strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-copy strong {
    color: #0f172a !important;
    font-size: clamp(21px, 2vw, 30px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -.055em !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-copy span,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-copy span {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 12px 6px 16px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary span,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary span {
    min-height: 33px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    padding: 0 13px !important;
    border: 1px solid rgba(191, 219, 254, .84) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .035) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary strong {
    color: #2563eb !important;
    font-size: 11.5px !important;
    font-weight: 920 !important;
    line-height: 1 !important;
    letter-spacing: -.01em !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary em,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary em {
    color: #475569 !important;
    font-size: 10.5px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-warning,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-warning {
    margin: 0 6px 14px !important;
    padding: 11px 13px !important;
    border-radius: 13px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    margin: 0 6px 22px !important;
    padding: 2px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 188px !important;
    display: grid !important;
    grid-template-rows: 122px 25px 22px !important;
    gap: 5px !important;
    padding: 8px !important;
    border: 1px solid rgba(203, 213, 225, .92) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .065) !important;
    overflow: visible !important;
    transform: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card:hover,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card:hover,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card:hover,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(37, 99, 235, .32) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .09) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-order-badge,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-order-badge,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-position-badge,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-position-badge {
    top: 7px !important;
    left: 7px !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .23) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
    grid-row: 1 !important;
    width: 100% !important;
    height: 122px !important;
    min-height: 122px !important;
    max-height: 122px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(191, 219, 254, .82) !important;
    background: linear-gradient(90deg, #eaf3ff 0 18%, #fff 18% 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, .50), 0 8px 18px rgba(15, 23, 42, .065) !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image {
    position: absolute !important;
    z-index: 5 !important;
    inset: 4px !important;
    width: calc(100% - 8px) !important;
    height: calc(100% - 8px) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 5px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .12) !important;
    transform: rotate(var(--localpdf-png-to-pdf-rotation, 0deg)) !important;
    transform-origin: center center !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main {
    grid-row: 2 !important;
    min-width: 0 !important;
    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;
    display: grid !important;
    align-content: center !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 4px !important;
    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #0f172a !important;
    font-size: 9.75px !important;
    font-weight: 870 !important;
    line-height: 1.1 !important;
    letter-spacing: -.015em !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge {
    width: 24px !important;
    min-width: 24px !important;
    height: 17px !important;
    min-height: 17px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    font-size: 6.75px !important;
    font-weight: 950 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge.is-blank,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge.is-blank {
    width: auto !important;
    min-width: 34px !important;
    padding: 0 5px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions {
    grid-row: 3 !important;
    width: 100% !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle {
    flex: 0 0 6px !important;
    width: 6px !important;
    min-width: 6px !important;
    max-width: 6px !important;
    height: 20px !important;
    background: radial-gradient(circle, rgba(100,116,139,.58) 1px, transparent 1.2px) 0 3px / 5px 5px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button {
    flex: 0 0 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 6px !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .045) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
    grid-template-rows: 34px 18px 30px 25px !important;
    align-content: center !important;
    justify-items: center !important;
    min-height: 188px !important;
    border-style: dashed !important;
    background: rgba(255, 255, 255, .82) !important;
    text-align: center !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card-icon,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card-icon {
    width: 32px !important;
    height: 32px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .22) !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card strong {
    color: #2563eb !important;
    font-size: 11px !important;
    font-weight: 920 !important;
    line-height: 1 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card small,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card small {
    color: #64748b !important;
    font-size: 8.75px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card button {
    width: min(100%, 92px) !important;
    min-height: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 9px !important;
    border: 1px solid rgba(191, 219, 254, .88) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #2563eb !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary {
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings {
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) !important;
    gap: 10px 16px !important;
    align-items: start !important;
    margin: 0 6px !important;
    padding: 18px 20px 14px !important;
    border: 1px solid rgba(191, 219, 254, .86) !important;
    border-bottom: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .045) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings label,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings label {
    padding-top: 11px !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-control,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-control {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-name,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-name {
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 14px !important;
    border-radius: 11px !important;
    font-size: 12px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-filename-tools,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-filename-tools {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-filename-template,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-filename-template {
    min-width: 210px !important;
    min-height: 30px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    font-size: 10.5px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-control .localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-control .localpdf-png-to-pdf-light-button {
    min-height: 30px !important;
    height: 30px !important;
    padding-inline: 12px !important;
    border-radius: 9px !important;
    font-size: 10.5px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-ready,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-ready {
    grid-column: 2 !important;
    min-height: 36px !important;
    padding: 9px 13px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 820 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-ready::before,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-ready::before,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-summary::before,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-summary::before {
    width: 8px !important;
    height: 8px !important;
    flex-basis: 8px !important;
    margin-right: 10px !important;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .10) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-bar,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
    margin: 0 6px 6px !important;
    padding: 14px 20px !important;
    border: 1px solid rgba(191, 219, 254, .86) !important;
    border-radius: 0 0 18px 18px !important;
    background: rgba(255, 255, 255, .96) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-summary,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-summary {
    min-height: 36px !important;
    font-size: 11px !important;
    font-weight: 820 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-buttons,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-buttons {
    gap: 8px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-buttons .localpdf-png-to-pdf-export,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-buttons .localpdf-png-to-pdf-export {
    min-width: 144px !important;
    min-height: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
    font-size: 11.5px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-buttons .localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-buttons .localpdf-png-to-pdf-light-button {
    min-height: 38px !important;
    height: 38px !important;
    padding-inline: 16px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-export-panel,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    margin: 18px 6px 6px !important;
    border-radius: 18px !important;
}

@media (max-width: 1240px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        padding-inline: 20px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        gap: 14px !important;
    }
}

@media (max-width: 1080px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 840px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        width: min(100%, calc(100vw - 24px)) !important;
        max-width: min(100%, calc(100vw - 24px)) !important;
        padding: 16px !important;
        border-radius: 22px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-row,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-row {
        align-items: flex-start !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
        justify-content: flex-start !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-bar {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings label,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings label {
        padding-top: 0 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-ready,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-ready {
        grid-column: 1 !important;
    }
}

@media (max-width: 620px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        grid-template-rows: 132px 26px 23px !important;
        min-height: 205px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: 132px !important;
        min-height: 132px !important;
        max-height: 132px !important;
    }
}

@media (max-width: 430px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Duplicate workspace width parity with Merge PDF.
   The previous parity layer still respected the admin/shortcode tool-width
   variable, so on the live Rotate page the shell stayed narrower than Merge.
   This incremental layer only widens the ready/exporting workspace and keeps
   the existing a14.9 toolbar/card/output design untouched. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
    width: auto !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw + 16px) !important;
    margin-right: calc(50% - 50vw + 16px) !important;
}

@media (min-width: 1532px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        width: 1500px !important;
        max-width: 1500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 840px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        width: auto !important;
        max-width: none !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
}


/* v2.5.2a14.9.2: Rotate premium card metric + PDF stage fix.
   Keeps the a14.9.1 Merge-width workspace and 7-card desktop view, but restores
   the premium vertical rhythm: taller page preview, more breathing room in the
   title/action rows, and a uniform PDF preview stage instead of the old left-blue
   / right-white split background. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
    border-color: rgba(191, 219, 254, .86) !important;
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, .08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 32px 92px rgba(15, 23, 42, .12) !important;
}

@media (min-width: 841px) and (max-width: 1539px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        margin-left: calc(50% - 50vw + 20px) !important;
        margin-right: calc(50% - 50vw + 20px) !important;
    }
}

@media (min-width: 621px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        gap: 17px !important;
        margin-bottom: 28px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        min-height: 244px !important;
        grid-template-rows: 158px 32px 28px !important;
        gap: 6px !important;
        padding: 10px !important;
        border-radius: 18px !important;
        border-color: rgba(209, 222, 240, .98) !important;
        background: rgba(255, 255, 255, .985) !important;
        box-shadow: 0 18px 42px rgba(15, 23, 42, .082), 0 2px 8px rgba(37, 99, 235, .045) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card:hover,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card:hover,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card:hover,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card:hover {
        transform: translateY(-2px) !important;
        border-color: rgba(96, 165, 250, .58) !important;
        box-shadow: 0 24px 54px rgba(15, 23, 42, .12), 0 4px 12px rgba(37, 99, 235, .07) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-order-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-order-badge,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-position-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-position-badge {
        top: 8px !important;
        left: 8px !important;
        width: 27px !important;
        min-width: 27px !important;
        height: 27px !important;
        min-height: 27px !important;
        font-size: 11.5px !important;
        box-shadow: 0 10px 22px rgba(37, 99, 235, .24) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: 158px !important;
        min-height: 158px !important;
        max-height: 158px !important;
        border-radius: 14px !important;
        border-color: rgba(205, 219, 238, .96) !important;
        background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), inset 0 0 0 1px rgba(219, 234, 254, .54), 0 10px 22px rgba(15, 23, 42, .072) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail {
        background: transparent !important;
        border-radius: 13px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image {
        inset: 7px !important;
        width: calc(100% - 14px) !important;
        height: calc(100% - 14px) !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .12) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row {
        gap: 6px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name {
        font-size: 10.35px !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge {
        width: 26px !important;
        min-width: 26px !important;
        height: 18px !important;
        min-height: 18px !important;
        border-radius: 7px !important;
        font-size: 7px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions {
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        align-items: center !important;
        gap: 3px !important;
        overflow: hidden !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle {
        flex-basis: 8px !important;
        width: 8px !important;
        min-width: 8px !important;
        max-width: 8px !important;
        height: 24px !important;
        opacity: .72 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button {
        flex: 0 0 19px !important;
        width: 19px !important;
        min-width: 19px !important;
        max-width: 19px !important;
        height: 19px !important;
        min-height: 19px !important;
        max-height: 19px !important;
        border-radius: 7px !important;
        border-color: rgba(203, 213, 225, .92) !important;
        background: rgba(255, 255, 255, .98) !important;
        color: #334155 !important;
        font-size: 9.25px !important;
        box-shadow: 0 4px 10px rgba(15, 23, 42, .055) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button:hover:not(:disabled),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button:hover:not(:disabled) {
        transform: translateY(-1px) !important;
        border-color: rgba(37, 99, 235, .34) !important;
        color: #1d4ed8 !important;
        box-shadow: 0 7px 14px rgba(37, 99, 235, .12) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions .localpdf-remove-page,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions .localpdf-remove-page {
        color: #dc2626 !important;
        border-color: rgba(254, 202, 202, .9) !important;
        background: #fff7f7 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        grid-template-rows: 42px 22px 42px 28px !important;
        min-height: 244px !important;
        border-style: dashed !important;
        border-color: rgba(37, 99, 235, .34) !important;
        background:
            radial-gradient(circle at 50% 24%, rgba(37, 99, 235, .12), transparent 48%),
            linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(239, 246, 255, .84)) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card-icon,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 20px !important;
        box-shadow: 0 12px 26px rgba(37, 99, 235, .24) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card button,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card button {
        min-height: 27px !important;
        height: 27px !important;
        border-radius: 9px !important;
        font-size: 9.25px !important;
    }
}

@media (max-width: 620px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        grid-template-rows: 138px 28px 25px !important;
        min-height: 219px !important;
        padding: 9px !important;
        border-radius: 17px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: 138px !important;
        min-height: 138px !important;
        max-height: 138px !important;
        background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image {
        inset: 6px !important;
        width: calc(100% - 12px) !important;
        height: calc(100% - 12px) !important;
        background: #ffffff !important;
    }
}

/* v2.5.2a14.9.3: Rotate true PDF paper stage.
   Keep the a14.9.2 premium card metric, but stop the rendered page image from
   filling the whole preview stage. The preview stage stays soft-blue; only the
   actual PDF page thumbnail is white paper. This fixes the white right-side
   background seen in page thumbnails while preserving 7-card desktop density. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
    display: grid !important;
    place-items: center !important;
    isolation: isolate !important;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .72), transparent 42%),
        linear-gradient(180deg, #f6faff 0%, #edf5ff 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .94),
        inset 0 0 0 1px rgba(219, 234, 254, .62),
        0 10px 22px rgba(15, 23, 42, .072) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card img.localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card img.localpdf-page-rendered-thumb-image {
    position: relative !important;
    z-index: 5 !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: calc(100% - 24px) !important;
    max-height: calc(100% - 18px) !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    box-shadow:
        0 12px 24px rgba(15, 23, 42, .16),
        0 1px 0 rgba(255, 255, 255, .86) inset !important;
    transform: rotate(var(--localpdf-png-to-pdf-rotation, 0deg)) !important;
    transform-origin: center center !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb.is-rotated img.localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb.is-rotated img.localpdf-page-rendered-thumb-image {
    max-width: calc(100% - 34px) !important;
    max-height: calc(100% - 34px) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb-blank.localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb-blank.localpdf-page-rendered-thumb-image {
    position: relative !important;
    z-index: 5 !important;
    inset: auto !important;
    width: min(68%, 92px) !important;
    height: calc(100% - 24px) !important;
    min-width: 58px !important;
    min-height: 104px !important;
    max-width: 92px !important;
    max-height: calc(100% - 24px) !important;
    border-radius: 6px !important;
    background:
        linear-gradient(90deg, rgba(226, 232, 240, .62) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    box-shadow:
        0 12px 24px rgba(15, 23, 42, .13),
        inset 0 0 0 1px rgba(255, 255, 255, .86) !important;
    transform: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb-loading.localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb-error.localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb-loading.localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb-error.localpdf-page-rendered-thumb-image {
    position: relative !important;
    inset: auto !important;
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 76px !important;
    max-width: calc(100% - 24px) !important;
    max-height: none !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 620px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card img.localpdf-page-rendered-thumb-image,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card img.localpdf-page-rendered-thumb-image {
        max-width: calc(100% - 18px) !important;
        max-height: calc(100% - 16px) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb.is-rotated img.localpdf-page-rendered-thumb-image,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-thumb.is-rotated img.localpdf-page-rendered-thumb-image {
        max-width: calc(100% - 28px) !important;
        max-height: calc(100% - 28px) !important;
    }
}

/* v2.5.2a14.9.4: Rotate inner workspace surface + fixed card rhythm.
   Keep the 14.9.3 true paper stage and the Merge-width outer shell, but stop
   page cards from stretching across the whole workspace. The pages area now has
   its own subtle canvas and desktop cards use a fixed Merge-like rhythm so the
   7-card row feels premium instead of wide/flat. */
@media (min-width: 1180px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        grid-template-columns: repeat(7, 158px) !important;
        justify-content: start !important;
        justify-items: stretch !important;
        align-items: start !important;
        gap: 18px !important;
        margin: 0 6px 26px !important;
        padding: 18px 20px 52px !important;
        border: 1px solid rgba(210, 225, 244, .84) !important;
        border-radius: 24px !important;
        background:
            radial-gradient(circle at 14% 0%, rgba(37, 99, 235, .055), transparent 34%),
            linear-gradient(180deg, rgba(248, 251, 255, .96) 0%, rgba(243, 248, 255, .88) 100%) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .92),
            inset 0 0 0 1px rgba(255, 255, 255, .42),
            0 18px 46px rgba(15, 23, 42, .045) !important;
        overflow: visible !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        width: 158px !important;
        min-width: 158px !important;
        max-width: 158px !important;
        min-height: 236px !important;
        grid-template-rows: 150px 30px 28px !important;
        gap: 5px !important;
        padding: 9px !important;
        border-radius: 18px !important;
        border-color: rgba(204, 219, 238, .98) !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, rgba(250, 253, 255, .98) 100%) !important;
        box-shadow:
            0 16px 36px rgba(15, 23, 42, .082),
            0 2px 8px rgba(37, 99, 235, .04) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card:hover,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card:hover,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card:hover,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card:hover {
        transform: translateY(-2px) !important;
        border-color: rgba(96, 165, 250, .52) !important;
        box-shadow:
            0 22px 48px rgba(15, 23, 42, .115),
            0 4px 12px rgba(37, 99, 235, .06) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        border-radius: 14px !important;
        background:
            radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .66), transparent 42%),
            linear-gradient(180deg, #f6faff 0%, #edf5ff 100%) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .94),
            inset 0 0 0 1px rgba(219, 234, 254, .62),
            0 9px 20px rgba(15, 23, 42, .064) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card img.localpdf-page-rendered-thumb-image,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card img.localpdf-page-rendered-thumb-image {
        max-width: calc(100% - 26px) !important;
        max-height: calc(100% - 18px) !important;
        border-radius: 5px !important;
        box-shadow:
            0 10px 22px rgba(15, 23, 42, .145),
            0 1px 0 rgba(255, 255, 255, .86) inset !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-order-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-order-badge,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-position-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-position-badge {
        top: 8px !important;
        left: 8px !important;
        width: 25px !important;
        min-width: 25px !important;
        height: 25px !important;
        min-height: 25px !important;
        font-size: 11px !important;
        box-shadow: 0 9px 20px rgba(37, 99, 235, .22) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name {
        font-size: 10px !important;
        line-height: 1.12 !important;
        font-weight: 900 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge {
        width: 25px !important;
        min-width: 25px !important;
        height: 18px !important;
        min-height: 18px !important;
        border-radius: 7px !important;
        font-size: 6.75px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions {
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        gap: 2.5px !important;
        justify-content: flex-start !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle {
        flex: 0 0 8px !important;
        width: 8px !important;
        min-width: 8px !important;
        max-width: 8px !important;
        height: 24px !important;
        opacity: .68 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button {
        flex: 0 0 18px !important;
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        border-radius: 7px !important;
        font-size: 8.75px !important;
        box-shadow: 0 4px 10px rgba(15, 23, 42, .052) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        grid-template-rows: 40px 22px 40px 28px !important;
        min-height: 236px !important;
        align-content: center !important;
        border-style: dashed !important;
        border-color: rgba(37, 99, 235, .30) !important;
        background:
            radial-gradient(circle at 50% 24%, rgba(37, 99, 235, .10), transparent 48%),
            linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(240, 247, 255, .86)) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card-icon,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 19px !important;
        box-shadow: 0 11px 24px rgba(37, 99, 235, .23) !important;
    }
}

@media (min-width: 841px) and (max-width: 1179px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        justify-content: start !important;
        gap: 16px !important;
        margin: 0 6px 24px !important;
        padding: 16px 16px 42px !important;
        border: 1px solid rgba(210, 225, 244, .78) !important;
        border-radius: 22px !important;
        background: linear-gradient(180deg, rgba(248, 251, 255, .95), rgba(244, 249, 255, .88)) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 34px rgba(15,23,42,.04) !important;
    }
}

/* v2.5.2a14.9.5: Rotate 8-column centered card rhythm.
   Build on 14.9.4's inner canvas, but use a capped, centered 8-card desktop
   rhythm so 7 pages plus the Add card sit on one premium row. Keep Rotate
   logic, toolbar, output, and Merge PDF untouched. */
@media (min-width: 1380px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        box-sizing: border-box !important;
        width: min(100%, 1332px) !important;
        max-width: 1332px !important;
        grid-template-columns: repeat(8, 148px) !important;
        justify-content: center !important;
        justify-items: stretch !important;
        align-items: start !important;
        gap: 16px !important;
        margin: 0 auto 26px !important;
        padding: 18px 18px 50px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        width: 148px !important;
        min-width: 148px !important;
        max-width: 148px !important;
        min-height: 228px !important;
        grid-template-rows: 144px 29px 28px !important;
        gap: 5px !important;
        padding: 8px !important;
        border-radius: 17px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: 144px !important;
        min-height: 144px !important;
        max-height: 144px !important;
        border-radius: 13px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card img.localpdf-page-rendered-thumb-image,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card img.localpdf-page-rendered-thumb-image {
        max-width: calc(100% - 24px) !important;
        max-height: calc(100% - 18px) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-order-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-order-badge,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-position-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-position-badge {
        top: 7px !important;
        left: 7px !important;
        width: 24px !important;
        min-width: 24px !important;
        height: 24px !important;
        min-height: 24px !important;
        font-size: 10.5px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row {
        height: 29px !important;
        min-height: 29px !important;
        max-height: 29px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name {
        font-size: 9.75px !important;
        line-height: 1.10 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge {
        width: 24px !important;
        min-width: 24px !important;
        height: 18px !important;
        min-height: 18px !important;
        border-radius: 7px !important;
        font-size: 6.5px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions {
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        gap: 2.25px !important;
        justify-content: flex-start !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle {
        flex: 0 0 8px !important;
        width: 8px !important;
        min-width: 8px !important;
        max-width: 8px !important;
        height: 23px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button {
        flex: 0 0 18px !important;
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        border-radius: 7px !important;
        font-size: 8.5px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        grid-template-rows: 38px 22px 38px 28px !important;
        min-height: 228px !important;
        align-content: center !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card-icon,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 18px !important;
    }
}

@media (min-width: 1180px) and (max-width: 1379px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        width: min(100%, 1190px) !important;
        max-width: 1190px !important;
        grid-template-columns: repeat(7, 150px) !important;
        justify-content: center !important;
        gap: 16px !important;
        margin: 0 auto 26px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
    }
}


/* Duplicate workspace left edge alignment.
   Keep the 8-column desktop rhythm from 14.9.5, but stop the inner canvas
   from becoming a centered island. The page workspace surface now spans the
   same content column as the heading/chips/output, with cards starting from
   the same visual left edge for a more Merge-like layout contract. */
@media (min-width: 1380px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 26px !important;
        grid-template-columns: repeat(8, 148px) !important;
        justify-content: start !important;
        justify-items: stretch !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

@media (min-width: 1180px) and (max-width: 1379px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 26px !important;
        grid-template-columns: repeat(7, 150px) !important;
        justify-content: start !important;
        justify-items: stretch !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}


/* v2.5.2a14.9.7: Rotate adaptive 8-column fill rhythm.
   Keep the 14.9.6 left-edge alignment, but let the 8 desktop cards breathe
   a little wider inside the full-width workspace so the remaining right-side
   whitespace is reduced without returning to the old over-stretched card feel. */
@media (min-width: 1380px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        --lpr-rp-card-width: clamp(148px, calc((100% - 168px) / 8), 168px);
        --lpr-rp-preview-height: clamp(144px, calc(var(--lpr-rp-card-width) - 4px), 160px);
        --lpr-rp-card-height: calc(var(--lpr-rp-preview-height) + 84px);
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 26px !important;
        grid-template-columns: repeat(8, var(--lpr-rp-card-width)) !important;
        justify-content: start !important;
        justify-items: stretch !important;
        align-items: start !important;
        gap: 18px !important;
        padding-left: 21px !important;
        padding-right: 21px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        width: var(--lpr-rp-card-width) !important;
        min-width: var(--lpr-rp-card-width) !important;
        max-width: var(--lpr-rp-card-width) !important;
        min-height: var(--lpr-rp-card-height) !important;
        grid-template-rows: var(--lpr-rp-preview-height) 29px 28px !important;
        padding: 8px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: var(--lpr-rp-preview-height) !important;
        min-height: var(--lpr-rp-preview-height) !important;
        max-height: var(--lpr-rp-preview-height) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        grid-template-rows: 38px 22px 38px 28px !important;
        min-height: var(--lpr-rp-card-height) !important;
    }
}

@media (min-width: 1180px) and (max-width: 1379px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        --lpr-rp-card-width: clamp(150px, calc((100% - 150px) / 7), 166px);
        --lpr-rp-preview-height: clamp(144px, calc(var(--lpr-rp-card-width) - 6px), 158px);
        --lpr-rp-card-height: calc(var(--lpr-rp-preview-height) + 84px);
        grid-template-columns: repeat(7, var(--lpr-rp-card-width)) !important;
        justify-content: start !important;
        gap: 18px !important;
        padding-left: 21px !important;
        padding-right: 21px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        width: var(--lpr-rp-card-width) !important;
        min-width: var(--lpr-rp-card-width) !important;
        max-width: var(--lpr-rp-card-width) !important;
        min-height: var(--lpr-rp-card-height) !important;
        grid-template-rows: var(--lpr-rp-preview-height) 29px 28px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: var(--lpr-rp-preview-height) !important;
        min-height: var(--lpr-rp-preview-height) !important;
        max-height: var(--lpr-rp-preview-height) !important;
    }
}


/* v2.5.2a14.9.8: Rotate toolbar functional menu parity.
   The inactive Files/Pages mode tabs and separate Sort dropdown are removed
   from the template. Keep the remaining toolbar actions right-aligned and
   preserve the accepted 14.9.7 workspace/card rhythm. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
    width: 100% !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-secondary-button {
    min-width: 116px !important;
}


/* v2.5.2a14.9.9: Rotate blank-page add-card cleanup.
   The in-grid CTA is now only for inserting blank pages. Replace PDF remains
   available in the toolbar, avoiding duplicate source-replacement controls in
   the page grid while keeping the accepted 14.9.7/14.9.8 workspace rhythm. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
    grid-template-rows: 44px 24px 24px 30px !important;
    row-gap: 8px !important;
    align-content: center !important;
    justify-items: center !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card-icon,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card-icon {
    align-self: end !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card strong {
    align-self: center !important;
    margin: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card small,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card small {
    max-width: 118px !important;
    margin: 0 auto !important;
    align-self: center !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary {
    width: min(100%, 108px) !important;
    height: 28px !important;
    min-height: 28px !important;
    border-radius: 10px !important;
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .16) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary:hover,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .20) !important;
}


/* v2.5.2a14.9.10: Rotate blank-card position + click handler visual support.
   Keep the accepted 8-column workspace, but make the in-grid Blank page CTA
   self-contained, lower the plus icon/content, and protect the click target from
   older generic Merge add-card selectors. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    padding: 46px 16px 18px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card-icon,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card-icon {
    flex: 0 0 auto !important;
    align-self: center !important;
    margin: 0 0 2px !important;
    transform: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card strong {
    flex: 0 0 auto !important;
    align-self: center !important;
    margin: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card small,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card small {
    flex: 0 0 auto !important;
    align-self: center !important;
    max-width: 128px !important;
    margin: 2px auto 6px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary {
    flex: 0 0 auto !important;
    margin: 4px auto 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-add-card:focus-visible,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-add-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .22) !important;
    outline-offset: 3px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav {
    align-items: center !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav-button,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav input,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav input,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav strong {
    align-self: center !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav input,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav input {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: center !important;
}

@media (max-width: 680px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        padding-top: 34px !important;
        gap: 9px !important;
    }
}


/* v2.5.2a14.9.11: Rotate page navigator vertical align fix.
   The WordPress/theme number-input metrics can pull the current page value
   toward the top of the mini navigator. This final, scoped layer normalizes the
   navigator children so the arrow, input value, slash, and total sit on the same
   visual center line without changing the accepted toolbar/workspace layout. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    min-height: 34px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: visible !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav-button {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav input[data-png-to-pdf-jump-input],
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav input[data-png-to-pdf-jump-input] {
    -webkit-appearance: textfield !important;
    appearance: textfield !important;
    box-sizing: border-box !important;
    display: block !important;
    align-self: center !important;
    width: 36px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    margin: 0 !important;
    padding: 2px 0 0 !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 11.5px !important;
    font-weight: 850 !important;
    line-height: 22px !important;
    text-align: center !important;
    vertical-align: middle !important;
    transform: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav input[data-png-to-pdf-jump-input]::-webkit-outer-spin-button,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav input[data-png-to-pdf-jump-input]::-webkit-inner-spin-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav input[data-png-to-pdf-jump-input]::-webkit-outer-spin-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav input[data-png-to-pdf-jump-input]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav span,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav span,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav strong {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    height: 26px !important;
    min-height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    transform: translateY(1px) !important;
}

/* v2.5.2a14.9.12: Rotate blank-card initial button click fix.
   The blank-page CTA button is intentionally active on the first ready render;
   addBlankPage() still guards against loading/exporting states. This prevents a
   stale disabled button when the grid renders while page previews are finishing. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary:disabled,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card .localpdf-png-to-pdf-add-card-primary:disabled {
    opacity: 1 !important;
    cursor: pointer !important;
    filter: none !important;
}

/* v2.5.2a14.9.13: Rotate Merge UX action parity.
   Adds Merge-style undo toast, clear confirmation modal, move-to-position popover,
   and stronger jump-card highlighting without changing the accepted workspace/card rhythm. */
.localpdf-png-to-pdf-message.is-undo-toast:not([hidden]) {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 2147483000 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
    max-width: min(360px, calc(100vw - 32px)) !important;
    margin: 0 !important;
    padding: 10px 12px 10px 16px !important;
    border: 1px solid rgba(147, 197, 253, .88) !important;
    border-radius: 999px !important;
    background: rgba(239, 246, 255, .98) !important;
    color: #1e3a8a !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .18), 0 8px 22px rgba(37, 99, 235, .12) !important;
    backdrop-filter: blur(12px) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.1) !important;
}

.localpdf-png-to-pdf-message.is-undo-toast .localpdf-png-to-pdf-toast-message {
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
}

.localpdf-png-to-pdf-message.is-undo-toast .localpdf-png-to-pdf-toast-undo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #2f6df4, #1d4ed8) !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .22) !important;
}

.localpdf-png-to-pdf-message.is-undo-toast .localpdf-png-to-pdf-toast-undo:hover,
.localpdf-png-to-pdf-message.is-undo-toast .localpdf-png-to-pdf-toast-undo:focus-visible {
    outline: none !important;
    transform: translateY(-1px) !important;
    filter: brightness(1.03) !important;
}

.localpdf-png-to-pdf-page-card.is-jump-highlight,
.localpdf-png-to-pdf-page-card.is-highlighted {
    outline: 3px solid rgba(37, 99, 235, .74) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 8px rgba(37, 99, 235, .13), 0 20px 52px rgba(37, 99, 235, .16) !important;
    transform: translateY(-2px) !important;
    transition: outline-color .25s ease, box-shadow .25s ease, transform .25s ease !important;
}

body .localpdf-png-to-pdf-confirm-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483646 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    background: rgba(15, 23, 42, .42) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

body .localpdf-png-to-pdf-confirm-dialog {
    width: min(470px, calc(100vw - 40px)) !important;
    padding: 24px !important;
    border: 1px solid rgba(191, 213, 248, .88) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .97) !important;
    color: #111827 !important;
    box-shadow: 0 28px 86px rgba(15, 23, 42, .24), 0 10px 30px rgba(37, 99, 235, .14) !important;
    font-family: inherit !important;
}

body .localpdf-png-to-pdf-confirm-title {
    margin: 0 0 10px !important;
    color: #0f172a !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.22 !important;
    letter-spacing: -.03em !important;
}

body .localpdf-png-to-pdf-confirm-desc {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}

body .localpdf-png-to-pdf-confirm-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 22px !important;
}

body .localpdf-png-to-pdf-confirm-cancel,
body .localpdf-png-to-pdf-confirm-clear {
    min-height: 48px !important;
    padding: 0 20px !important;
    border-radius: 16px !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease !important;
}

body .localpdf-png-to-pdf-confirm-cancel {
    border: 1px solid rgba(191, 213, 248, .95) !important;
    background: #fff !important;
    color: #334155 !important;
}

body .localpdf-png-to-pdf-confirm-clear {
    border: 1px solid rgba(239, 68, 68, .46) !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(239, 68, 68, .24) !important;
}

body .localpdf-png-to-pdf-confirm-cancel:hover,
body .localpdf-png-to-pdf-confirm-cancel:focus-visible,
body .localpdf-png-to-pdf-confirm-clear:hover,
body .localpdf-png-to-pdf-confirm-clear:focus-visible {
    outline: none !important;
    transform: translateY(-1px) !important;
}

body .localpdf-png-to-pdf-confirm-cancel:hover,
body .localpdf-png-to-pdf-confirm-cancel:focus-visible {
    border-color: rgba(37, 99, 235, .36) !important;
    background: #f8fbff !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .10) !important;
}

body .localpdf-png-to-pdf-confirm-clear:hover,
body .localpdf-png-to-pdf-confirm-clear:focus-visible {
    box-shadow: 0 18px 38px rgba(239, 68, 68, .30) !important;
}

body .localpdf-png-to-pdf-move-menu,
body .localpdf-png-to-pdf-move-menu * {
    box-sizing: border-box !important;
    pointer-events: auto !important;
}

body .localpdf-png-to-pdf-move-menu {
    position: fixed !important;
    z-index: 2147483000 !important;
    width: 238px !important;
    min-width: 238px !important;
    padding: 12px !important;
    border: 1px solid rgba(135, 166, 213, .46) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96)) !important;
    color: #0f172a !important;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .18), 0 6px 18px rgba(37, 99, 235, .08) !important;
    backdrop-filter: blur(14px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.12) !important;
    font-family: inherit !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-title {
    padding: 4px 6px 10px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-quick {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 9px 10px !important;
    border: 1px solid rgba(148, 163, 184, .28) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.82) !important;
    color: #172033 !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    cursor: pointer !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-item:hover,
body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-item:focus-visible {
    outline: none !important;
    border-color: rgba(37, 99, 235, .42) !important;
    background: rgba(37, 99, 235, .10) !important;
    color: #1d4ed8 !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-item:disabled {
    cursor: not-allowed !important;
    opacity: .46 !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-section {
    padding: 10px !important;
    border: 1px solid rgba(148, 163, 184, .20) !important;
    border-radius: 14px !important;
    background: rgba(241, 247, 255, .58) !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
    margin: 0 !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(148, 163, 184, .42) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #0f172a !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-input:focus {
    border-color: rgba(37, 99, 235, .70) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12) !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-input.is-invalid {
    border-color: rgba(239, 68, 68, .78) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .10) !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-submit {
    height: 38px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #2f6df4, #1d4ed8) !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .26) !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-submit:hover,
body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-submit:focus-visible {
    outline: none !important;
    transform: translateY(-1px) !important;
    filter: brightness(1.03) !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-hint {
    margin-top: 7px !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-hint.is-error {
    color: #dc2626 !important;
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-message.is-undo-toast:not([hidden]) {
        right: 12px !important;
        bottom: 12px !important;
        left: 12px !important;
        justify-content: center !important;
        max-width: none !important;
    }

    body .localpdf-png-to-pdf-confirm-dialog {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    body .localpdf-png-to-pdf-confirm-actions {
        flex-direction: column-reverse !important;
    }

    body .localpdf-png-to-pdf-confirm-cancel,
    body .localpdf-png-to-pdf-confirm-clear {
        width: 100% !important;
    }

    body .localpdf-png-to-pdf-move-menu {
        width: min(238px, calc(100vw - 24px)) !important;
        min-width: 0 !important;
    }
}

/* v2.5.2a14.9.15: Rotate unified export state parity.
   Export now behaves like Merge PDF: one premium in-workspace result state,
   smooth loading, no lower-page jump, and edit controls hidden while exporting/ready. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-summary,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-warning,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-action-bar {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace {
    display: grid !important;
    gap: 14px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar {
    order: 1 !important;
    padding: 8px 6px 4px !important;
    opacity: .74 !important;
    filter: saturate(.92) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > *:not(.localpdf-png-to-pdf-export) {
    opacity: .48 !important;
    pointer-events: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    order: 2 !important;
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: flex-start !important;
    gap: 18px !important;
    scroll-margin-top: 96px !important;
    margin: 10px 6px 6px !important;
    padding: clamp(18px, 2.2vw, 28px) !important;
    border: 1px solid rgba(147, 197, 253, .86) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 92% 12%, rgba(191, 219, 254, .58) 0, rgba(191, 219, 254, 0) 34%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 62%, #ecfdf5 100%) !important;
    box-shadow: 0 22px 60px rgba(37, 99, 235, .12), 0 12px 34px rgba(15, 23, 42, .06) !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.88) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-icon {
    position: relative !important;
    z-index: 1 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%) !important;
    color: #fff !important;
    font-size: 23px !important;
    font-weight: 950 !important;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .24) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-result-icon {
    animation: localpdf-png-to-pdf-export-pulse 1.25s ease-in-out infinite !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-icon {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    box-shadow: 0 16px 32px rgba(22, 163, 74, .24) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error {
    border-color: rgba(248, 113, 113, .62) !important;
    background:
        radial-gradient(circle at 92% 12%, rgba(254, 202, 202, .58) 0, rgba(254, 202, 202, 0) 34%),
        linear-gradient(135deg, #fff1f2 0%, #ffffff 62%, #f8fafc 100%) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error .localpdf-png-to-pdf-result-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 16px 32px rgba(239, 68, 68, .22) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-body {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-kicker {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    padding: 6px 10px !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 999px !important;
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-kicker {
    border-color: #bbf7d0 !important;
    background: #dcfce7 !important;
    color: #15803d !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header h3 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: clamp(21px, 2vw, 28px) !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    letter-spacing: -.04em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-muted {
    max-width: 680px !important;
    margin: 8px 0 0 !important;
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 720 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header > strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 56px !important;
    height: 30px !important;
    padding: 0 10px !important;
    border: 1px solid #dbeafe !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.84) !important;
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-progress {
    height: 11px !important;
    border-radius: 999px !important;
    background: #dbeafe !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .08) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-progress span {
    border-radius: inherit !important;
    background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%) !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .24) !important;
    transition: width .42s cubic-bezier(.22, .9, .3, 1) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download-area {
    display: grid !important;
    gap: 14px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-summary {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 2px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat {
    min-height: 72px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 13px 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.84) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat-primary {
    border-color: #bfdbfe !important;
    background: linear-gradient(135deg, #eff6ff 0%, rgba(255,255,255,.92) 100%) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat strong {
    color: #0f172a !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 950 !important;
    letter-spacing: -.02em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat-primary strong {
    color: #2563eb !important;
    font-size: 24px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat em {
    margin-top: 3px !important;
    color: #64748b !important;
    font-style: normal !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
    letter-spacing: .035em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-meta {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    font-weight: 760 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-filename {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 100% !important;
    width: max-content !important;
    padding: 9px 12px !important;
    border: 1px solid #dbeafe !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.78) !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 820 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-filename strong {
    min-width: 0 !important;
    max-width: min(540px, 60vw) !important;
    color: #0f172a !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 2px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download {
    min-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(29, 78, 216, .75) !important;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .25) !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download::before {
    content: '↓' !important;
    margin-right: 8px !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
    min-height: 44px !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.88) !important;
    border-color: #dbeafe !important;
    color: #1e293b !important;
    font-weight: 850 !important;
}

@keyframes localpdf-png-to-pdf-export-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 16px 32px rgba(37, 99, 235, .24); }
    50% { transform: scale(1.045); box-shadow: 0 20px 42px rgba(37, 99, 235, .32); }
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-summary {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
        margin-inline: 0 !important;
        padding: 18px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
        width: 100% !important;
        justify-content: center !important;
    }
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error .localpdf-png-to-pdf-result-summary,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error .localpdf-png-to-pdf-result-filename,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error .localpdf-png-to-pdf-download {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error .localpdf-png-to-pdf-result-meta {
    padding: 12px 14px !important;
    border: 1px solid rgba(248, 113, 113, .34) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .82) !important;
    color: #991b1b !important;
}

/* v2.5.2a14.9.15: keep the result/download actions locked until the export Blob is ready. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download-area[hidden],
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-download-area[hidden] {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download.is-disabled,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download[aria-disabled="true"],
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-download {
    opacity: .56 !important;
    cursor: not-allowed !important;
    filter: grayscale(.12) !important;
    pointer-events: none !important;
    background: linear-gradient(135deg, #93c5fd 0%, #bfdbfe 100%) !important;
    border-color: #bfdbfe !important;
    color: rgba(255, 255, 255, .86) !important;
    box-shadow: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download:not(.is-disabled)[aria-disabled="false"] {
    opacity: 1 !important;
    cursor: pointer !important;
    filter: none !important;
    pointer-events: auto !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border-color: rgba(29, 78, 216, .75) !important;
    color: #fff !important;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .25) !important;
}

/* v2.5.2a21.1.1: Duplicate visual identity audit.
   The start illustration should read as duplicate/copy pages, not Rotate.
   Side pages show original/copy order badges and the round overlay uses a
   stacked-page plus icon while staying scoped to Duplicate only. */
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-illustration {
    isolation: isolate !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-main > span,
.localpdf-png-to-pdf-start-card-main > span {
    position: relative !important;
    z-index: 2 !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-left,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right {
    overflow: visible !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-left::before,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right::before,
.localpdf-png-to-pdf-start-card-left::before,
.localpdf-png-to-pdf-start-card-right::before {
    content: '' !important;
    position: absolute !important;
    left: 8px !important;
    top: 8px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 6px !important;
    opacity: .64 !important;
    background-image: radial-gradient(circle, #93c5fd 1.4px, transparent 1.5px) !important;
    background-size: 5px 5px !important;
    pointer-events: none !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-left::after,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right::after,
.localpdf-png-to-pdf-start-card-left::after,
.localpdf-png-to-pdf-start-card-right::after {
    content: attr(data-order) !important;
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    z-index: 4 !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
    border: 3px solid rgba(255, 255, 255, .96) !important;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .25) !important;
    pointer-events: none !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow,
.localpdf-png-to-pdf-start-arrow {
    position: absolute !important;
    z-index: 5 !important;
    right: 15px !important;
    bottom: 16px !important;
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(191, 219, 254, .92) !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 16px 36px rgba(37, 99, 235, .16) !important;
    backdrop-filter: blur(8px) !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow svg,
.localpdf-png-to-pdf-start-arrow svg {
    width: 30px !important;
    height: 30px !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow svg path,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow svg rect,
.localpdf-png-to-pdf-start-arrow svg path,
.localpdf-png-to-pdf-start-arrow svg rect {
    fill: none !important;
    stroke: #2563eb !important;
    stroke-width: 3.1 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow,
    .localpdf-png-to-pdf-start-arrow {
        right: 20px !important;
        bottom: 20px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow svg,
    .localpdf-png-to-pdf-start-arrow svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* v2.5.2a14.9.17: Rotate mobile action row + responsive QA fix.
   Desktop/tablet-large workspace metrics from 14.9.16 stay untouched. This
   final scoped layer only protects narrow screens: card actions become a
   stable two-row control pad, cards stop overflowing, toolbar controls wrap in
   predictable rows, and the in-grid Blank page card keeps matching height. */
@media (max-width: 760px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        overflow-x: clip !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-masthead,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-masthead {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        align-items: stretch !important;
        justify-content: stretch !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > button,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > details,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-page-nav,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > button,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > details,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-page-nav {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu-summary,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-menu-summary,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > button,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > button {
        justify-content: center !important;
        min-height: 38px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        white-space: nowrap !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-export,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-export {
        grid-column: 1 / -1 !important;
        min-height: 42px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-warning,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-warning,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-bar {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 18px !important;
        padding: 14px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        justify-content: stretch !important;
        justify-items: stretch !important;
        gap: 12px !important;
        border-radius: 20px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 286px !important;
        border-radius: 18px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card {
        grid-template-rows: minmax(142px, 40vw) minmax(38px, auto) minmax(68px, auto) !important;
        gap: 7px !important;
        padding: 9px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        width: 100% !important;
        height: clamp(142px, 40vw, 168px) !important;
        min-height: 142px !important;
        max-height: 168px !important;
        border-radius: 14px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-auto-rows: 30px !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        gap: 6px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 66px !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-drag-handle {
        display: none !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        border-radius: 9px !important;
        font-size: 12px !important;
        touch-action: manipulation !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        justify-content: center !important;
        padding: 30px 14px 22px !important;
        gap: 10px !important;
    }
}

@media (max-width: 520px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        grid-template-columns: minmax(0, 282px) !important;
        justify-content: center !important;
        justify-items: center !important;
        padding: 14px 10px 18px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        width: min(100%, 282px) !important;
        max-width: 282px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card {
        min-height: 306px !important;
        grid-template-rows: 176px minmax(38px, auto) minmax(68px, auto) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: 176px !important;
        min-height: 176px !important;
        max-height: 176px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > *,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > * {
        grid-column: 1 / -1 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-bar {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* v2.5.2a14.9.18: Rotate mobile move sheet + export error retry.
   Desktop move popup stays intact. On narrow/touch screens, move becomes a
   bottom sheet so the position field and First/Last actions do not overflow or
   get trapped under the keyboard. Export error states now expose a direct Retry
   action without changing success/loading screens. */
.localpdf-png-to-pdf-move-sheet-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482999 !important;
    background: rgba(15, 23, 42, .34) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

body .localpdf-png-to-pdf-move-menu .localpdf-move-menu-cancel {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-retry-export {
    border-color: rgba(37, 99, 235, .34) !important;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
    color: #1d4ed8 !important;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .10) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel:not(.is-error) .localpdf-png-to-pdf-retry-export,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-retry-export[hidden] {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error .localpdf-png-to-pdf-retry-export:not([hidden]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 640px) {
    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet {
        left: 10px !important;
        right: 10px !important;
        bottom: max(10px, env(safe-area-inset-bottom)) !important;
        top: auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 16px !important;
        border-radius: 24px !important;
        border-color: rgba(147, 197, 253, .72) !important;
        background:
            radial-gradient(circle at 92% 0%, rgba(191, 219, 254, .58) 0, rgba(191, 219, 254, 0) 42%),
            linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.98)) !important;
        box-shadow: 0 -18px 60px rgba(15, 23, 42, .25), 0 10px 28px rgba(37, 99, 235, .10) !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-title {
        padding: 2px 4px 12px !important;
        color: #0f172a !important;
        font-size: 16px !important;
        letter-spacing: -.02em !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-quick {
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-item {
        min-height: 46px !important;
        border-radius: 15px !important;
        font-size: 15px !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-section {
        padding: 12px !important;
        border-radius: 18px !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-label {
        font-size: 13px !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-form {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-input,
    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-submit {
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        border-radius: 15px !important;
        text-align: center !important;
        font-size: 15px !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-cancel {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 44px !important;
        margin-top: 10px !important;
        border: 1px solid rgba(148, 163, 184, .32) !important;
        border-radius: 15px !important;
        background: rgba(255,255,255,.82) !important;
        color: #334155 !important;
        font: inherit !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        cursor: pointer !important;
    }

    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-cancel:focus-visible,
    body .localpdf-png-to-pdf-move-menu.is-mobile-sheet .localpdf-move-menu-cancel:hover {
        outline: none !important;
        border-color: rgba(37, 99, 235, .42) !important;
        color: #1d4ed8 !important;
        background: #eff6ff !important;
    }
}

/* v2.5.2a14.9.19: keep the export download CTA visible while the
   png-to-pdf PDF is still being generated. It should look disabled/pending,
   not disappear, and only become the solid active download button at 100%. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-download-area {
    display: grid !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-result-meta {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    max-width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(34, 197, 94, .28) !important;
    border-radius: 999px !important;
    background: rgba(240, 253, 244, .84) !important;
    color: #166534 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-download.is-disabled,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-download[aria-disabled="true"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    filter: none !important;
    background: linear-gradient(135deg, #8fb4f6 0%, #b8d3ff 100%) !important;
    border-color: rgba(147, 197, 253, .82) !important;
    color: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .14) !important;
}

.localpdf-png-to-pdf-wrap.is-ready.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-download:not(.is-disabled)[aria-disabled="false"] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .25) !important;
}


/* Duplicate start icon badge.
   Keep the accepted start-screen metrics, but make the illustration read as
   page duplication instead of a generic PDF stack or rotation control. */
.localpdf-png-to-pdf-start-card-main em {
    position: absolute !important;
    right: -9px !important;
    bottom: -9px !important;
    z-index: 4 !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 999px !important;
    border: 3px solid rgba(255, 255, 255, .95) !important;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .22) !important;
    pointer-events: none !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-left::after,
.localpdf-png-to-pdf-start-card-left::after {
    font-size: 11px !important;
    letter-spacing: -.03em !important;
}

.localpdf-png-to-pdf-wrap.is-ready .localpdf-png-to-pdf-process-logo {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
}


/* Inherited selection styles are hidden in PNG to PDF Base Fork; the visible flow uses the page picker and per-card Duplicate action. */
.localpdf-png-to-pdf-selection-chip {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border: 1px solid rgba(99, 102, 241, .28) !important;
    border-radius: 999px !important;
    background: #eef2ff !important;
    color: #3730a3 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.localpdf-png-to-pdf-selected-button:not(:disabled) {
    border-color: rgba(99, 102, 241, .36) !important;
    background: #eef2ff !important;
    color: #3730a3 !important;
}

.localpdf-png-to-pdf-selected-button:not(:disabled):hover,
.localpdf-png-to-pdf-selected-button:not(:disabled):focus-visible {
    border-color: rgba(79, 70, 229, .48) !important;
    background: #e0e7ff !important;
    color: #312e81 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-select-toggle,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-select-toggle {
    position: absolute !important;
    z-index: 8 !important;
    top: 7px !important;
    right: 7px !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(148, 163, 184, .38) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12) !important;
    cursor: pointer !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-select-toggle:hover,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-select-toggle:focus-visible {
    border-color: rgba(99, 102, 241, .56) !important;
    color: #3730a3 !important;
    outline: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate {
    border-color: rgba(99, 102, 241, .60) !important;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%) !important;
    box-shadow: 0 16px 36px rgba(67, 56, 202, .13), 0 0 0 3px rgba(199, 210, 254, .66) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate > .localpdf-png-to-pdf-select-toggle,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate > .localpdf-png-to-pdf-select-toggle {
    border-color: rgba(79, 70, 229, .78) !important;
    background: #6366f1 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(79, 70, 229, .26) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-selected-label,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-selected-label {
    position: absolute !important;
    z-index: 7 !important;
    top: 36px !important;
    right: 7px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #e0e7ff !important;
    color: #3730a3 !important;
    font-size: 8px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .05em !important;
    box-shadow: 0 8px 18px rgba(67, 56, 202, .12) !important;
    pointer-events: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate > .localpdf-page-file-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate > .localpdf-page-file-preview {
    border-color: rgba(99, 102, 241, .46) !important;
    box-shadow: inset 0 0 0 1px rgba(199, 210, 254, .90), 0 8px 18px rgba(67, 56, 202, .10) !important;
}

@media (max-width: 760px) {
    .localpdf-png-to-pdf-selection-chip {
        order: 20 !important;
    }

    .localpdf-png-to-pdf-selected-button {
        min-width: 158px !important;
    }
}

@media (max-width: 620px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-select-toggle,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-select-toggle {
        top: 9px !important;
        right: 9px !important;
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        font-size: 14px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-selected-label,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-selected-label {
        top: 42px !important;
        right: 9px !important;
        height: 19px !important;
    }
}


/* v2.5.2a16.4: Rotate Selection Toolbar UX Polish.
   Keeps one clear rotate action set: Select pages chooses targets, while
   Rotate left/right/reset dynamically applies to selected pages or the current page. */
.localpdf-png-to-pdf-selection-chip {
    appearance: none !important;
    cursor: pointer !important;
    gap: 5px !important;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease !important;
}

.localpdf-png-to-pdf-selection-chip:not([hidden]):not(:disabled):hover,
.localpdf-png-to-pdf-selection-chip:not([hidden]):not(:disabled):focus-visible {
    transform: translateY(-1px) !important;
    border-color: rgba(79, 70, 229, .48) !important;
    background: #e0e7ff !important;
    box-shadow: 0 12px 28px rgba(79, 70, 229, .14) !important;
}

.localpdf-png-to-pdf-selection-chip:disabled {
    opacity: .64 !important;
    cursor: default !important;
}

.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-left],
.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-right],
.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-reset] {
    border-color: rgba(99, 102, 241, .34) !important;
    background: #eef2ff !important;
    color: #3730a3 !important;
}

.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-left]:hover:not(:disabled),
.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-right]:hover:not(:disabled),
.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-reset]:hover:not(:disabled),
.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-left]:focus-visible:not(:disabled),
.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-right]:focus-visible:not(:disabled),
.localpdf-png-to-pdf-wrap.has-rotate-selection .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-reset]:focus-visible:not(:disabled) {
    border-color: rgba(79, 70, 229, .48) !important;
    background: #e0e7ff !important;
    color: #312e81 !important;
}

.localpdf-png-to-pdf-menu-panel [data-png-to-pdf-clear-selection]:not(:disabled) {
    color: #4338ca !important;
}

@media (max-width: 760px) {
    .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-reset] {
        min-width: 136px !important;
    }

    .localpdf-png-to-pdf-selection-chip {
        order: 18 !important;
        min-width: 128px !important;
    }
}


/* Duplicate Export Behavior QA inheritance note.
 * Result summaries now expose duplicate-page counts via data-png-to-pdf-result-duplicates.
 * Existing card/workspace visual rhythm is intentionally unchanged.
 */


/* v2.5.2a16.6: Rotate Responsive Workspace QA.
   This final responsive layer is Rotate-only. It keeps the accepted desktop
   workspace untouched while making the mobile/tablet toolbar, selection chip,
   page cards, Select pages menu, export result, modal, and toast safer. */
@media (max-width: 900px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-shell,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-shell,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-shell {
        width: min(100%, calc(100vw - 20px)) !important;
        max-width: calc(100vw - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 24px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-row,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-row {
        gap: 12px !important;
        align-items: stretch !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-title,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-title {
        min-width: 100% !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu-panel,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-menu-panel {
        left: 0 !important;
        right: auto !important;
        width: min(320px, calc(100vw - 44px)) !important;
        max-width: calc(100vw - 44px) !important;
        max-height: min(70vh, 440px) !important;
        overflow: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu-item,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-menu-item {
        min-height: 42px !important;
        justify-content: flex-start !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary > span,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary > span {
        min-width: 0 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-selection-chip,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-selection-chip {
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings {
        display: grid !important;
        gap: 12px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-toolbar-output-field,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-toolbar-output-field {
        min-width: 0 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-output-name],
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-output-name] {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 760px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-selection-chip,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-selection-chip {
        grid-column: 1 / -1 !important;
        min-height: 36px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .localpdf-png-to-pdf-wrap.has-rotate-selection.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-left],
    .localpdf-png-to-pdf-wrap.has-rotate-selection.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-right],
    .localpdf-png-to-pdf-wrap.has-rotate-selection.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-reset],
    .localpdf-png-to-pdf-wrap.has-rotate-selection.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-left],
    .localpdf-png-to-pdf-wrap.has-rotate-selection.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-right],
    .localpdf-png-to-pdf-wrap.has-rotate-selection.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions [data-png-to-pdf-current-reset] {
        min-height: 40px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card.is-selected-for-rotate {
        box-shadow: 0 14px 30px rgba(67, 56, 202, .12), 0 0 0 2px rgba(199, 210, 254, .72) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-select-toggle,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-select-toggle {
        touch-action: manipulation !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-bar {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-summary,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-summary {
        text-align: center !important;
    }
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar {
        border-radius: 18px !important;
        padding: 12px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > button,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > details,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > button,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > details {
        min-height: 40px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu-summary,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-menu-summary {
        width: 100% !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu[open] .localpdf-png-to-pdf-menu-panel,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-menu[open] .localpdf-png-to-pdf-menu-panel {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: auto !important;
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
        width: auto !important;
        max-width: none !important;
        max-height: min(72vh, 520px) !important;
        border-radius: 22px !important;
        padding: 12px !important;
        box-shadow: 0 -18px 60px rgba(15, 23, 42, .24), 0 12px 28px rgba(37, 99, 235, .10) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-menu-panel .localpdf-png-to-pdf-menu-item,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-menu-panel .localpdf-png-to-pdf-menu-item {
        min-height: 44px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        border-radius: 18px !important;
        gap: 12px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-selected-label,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-png-to-pdf-selected-label {
        font-size: 8px !important;
        letter-spacing: .04em !important;
        max-width: calc(100% - 18px) !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar {
        display: none !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
        margin: 0 !important;
        padding: 18px 14px !important;
        border-radius: 22px !important;
        scroll-margin-top: 72px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header {
        display: grid !important;
        gap: 10px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header > strong {
        justify-self: start !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-filename {
        width: 100% !important;
        border-radius: 16px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-filename strong {
        max-width: 100% !important;
    }

    body .localpdf-png-to-pdf-confirm-dialog {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 28px) !important;
        overflow: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .localpdf-png-to-pdf-message.is-undo-toast:not([hidden]) {
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
        z-index: 2147483001 !important;
    }
}

@media (max-width: 430px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > *,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > * {
        grid-column: 1 / -1 !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        justify-content: stretch !important;
        justify-items: stretch !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
        width: 100% !important;
        max-width: none !important;
    }
}


/* v2.5.2a21.1 PNG to PDF Base Fork identity/copy polish overrides */
.localpdf-png-to-pdf-inline-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}
.localpdf-png-to-pdf-inline-label {
  padding: 0 4px 0 8px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.localpdf-png-to-pdf-page-select {
  min-height: 34px;
  min-width: 112px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 0 10px;
}
.localpdf-png-to-pdf-primary-action {
  min-height: 34px;
  border: 0;
  border-radius: 12px;
  padding: 0 13px;
  background: var(--localpdf-png-to-pdf-button, var(--localpdf-png-to-pdf-primary, #2563eb));
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .18);
}
.localpdf-png-to-pdf-primary-action:disabled,
.localpdf-png-to-pdf-page-select:disabled { opacity: .55; cursor: not-allowed; }
.localpdf-png-to-pdf-select-toggle,
.localpdf-png-to-pdf-selected-label { display: none !important; }
.localpdf-png-to-pdf-page-card.is-selected-for-duplicate,
.localpdf-png-to-pdf-page-card.is-selected-for-rotate { box-shadow: inherit !important; border-color: rgba(148, 163, 184, .22) !important; }
.localpdf-png-to-pdf-page-type-badge.is-duplicate,
.localpdf-png-to-pdf-page-card[data-png-to-pdf="1"] .localpdf-png-to-pdf-page-type-badge {
  color: #3730a3;
  background: rgba(99, 102, 241, .12);
  border-color: rgba(99, 102, 241, .22);
}
@media (max-width: 780px) {
  .localpdf-png-to-pdf-toolbar-actions { align-items: stretch; }
  .localpdf-png-to-pdf-inline-tool { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .localpdf-png-to-pdf-page-select { flex: 1 1 120px; }
  .localpdf-png-to-pdf-primary-action { flex: 0 0 auto; }
}
@media (max-width: 520px) {
  .localpdf-png-to-pdf-inline-label { width: 100%; padding-left: 4px; }
  .localpdf-png-to-pdf-primary-action { flex: 1 1 100%; }
}


/* v2.5.2a21.2 PNG to PDF Base Fork action setup.
 * Keep the toolbar source selector focused on original source pages, make duplicate
 * cards readable with lightweight copy metadata, and keep card actions compact.
 */
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-copy-meta {
  display: block;
  margin-top: 3px;
  color: rgba(71, 85, 105, 0.88);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-type-badge,
.localpdf-png-to-pdf-page-type-badge.is-duplicate {
  color: #3730a3;
  background: rgba(99, 102, 241, 0.13);
  border-color: rgba(99, 102, 241, 0.28);
}
.localpdf-png-to-pdf-inline-tool .localpdf-png-to-pdf-page-select {
  align-self: center;
}
.localpdf-png-to-pdf-primary-action {
  align-self: center;
}
@media (max-width: 640px) {
  .localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-copy-meta {
    white-space: normal;
  }
}


/* v2.5.2a21.2.1: PNG to PDF Base Fork compact header cleanup.
   Keep the accepted 21.2 duplicate action setup, but remove the heavy page
   heading/chip summary/page navigator so the active header reads as:
   Duplicate page [Page] [Duplicate]    [Replace] [Clear] [Export]. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
  padding-top: 16px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar {
  position: relative !important;
  display: grid !important;
  gap: 8px !important;
  margin: 0 4px 14px !important;
  padding: 10px 12px 9px !important;
  border: 1px solid rgba(191, 219, 254, .78) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, .065), transparent 38%),
    rgba(255, 255, 255, .84) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 16px 42px rgba(15, 23, 42, .065) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-row,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-row {
  width: 100% !important;
  display: block !important;
  min-width: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
  width: 100% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin-left: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
  order: 1 !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: min(100%, 520px) !important;
  min-height: 40px !important;
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 5px 6px 5px 12px !important;
  border: 1px solid rgba(191, 219, 254, .86) !important;
  border-radius: 999px !important;
  background: rgba(248, 250, 252, .94) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-label,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-label {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 3px 0 0 !important;
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-select,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-select {
  flex: 0 1 148px !important;
  width: auto !important;
  min-width: 118px !important;
  max-width: 168px !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 3px 28px 3px 11px !important;
  border: 1px solid rgba(148, 163, 184, .34) !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  font-size: 12.5px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .035) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-primary-action,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-primary-action {
  flex: 0 0 auto !important;
  min-width: 86px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 15px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .16) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-replace],
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-replace] {
  order: 10 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-clear],
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-clear] {
  order: 11 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-nav,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-nav,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-copy,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-copy {
  display: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-light-button {
  flex: 0 0 auto !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-secondary-button span,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-secondary-button span {
  width: 18px !important;
  height: 18px !important;
  border-radius: 7px !important;
  font-size: 12px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export {
  order: 20 !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  min-width: 132px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .18) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  margin: -6px 8px 16px !important;
  min-height: 20px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary span,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary span {
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary span + span::before,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary span + span::before {
  content: "·" !important;
  margin: 0 8px !important;
  color: #94a3b8 !important;
  font-weight: 900 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary strong,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary em,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary em {
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  font-style: normal !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary strong,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary strong {
  color: #1d4ed8 !important;
  font-weight: 950 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary span:last-child em,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary span:last-child em {
  display: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
  margin-top: 0 !important;
}

@media (max-width: 1120px) {
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
    flex-wrap: wrap !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
    flex: 1 1 auto !important;
    max-width: none !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export {
    margin-left: auto !important;
  }
}

@media (max-width: 760px) {
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
    align-items: stretch !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export {
    margin-left: 0 !important;
  }
}

@media (max-width: 560px) {
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
    flex-wrap: wrap !important;
    border-radius: 18px !important;
    padding: 8px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-label,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-label {
    width: 100% !important;
    padding-left: 4px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-select,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-select {
    flex: 1 1 130px !important;
    max-width: none !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-primary-action,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-primary-action {
    flex: 1 1 auto !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-light-button,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-light-button,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-process-summary,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-process-summary {
    flex-wrap: wrap !important;
    margin-top: 0 !important;
  }
}


/* v2.5.2a21.3: Duplicate preview UX polish.
   Make duplicate cards recognizable without changing duplicate/export behavior. */
.localpdf-png-to-pdf-page-card.is-duplicate-page {
  border-color: rgba(99, 102, 241, 0.34) !important;
  background:
    linear-gradient(180deg, rgba(238, 242, 255, 0.72), rgba(255, 255, 255, 0.96)) !important;
}
.localpdf-png-to-pdf-page-card.is-duplicate-page > .localpdf-file-card-preview,
.localpdf-png-to-pdf-page-card.is-duplicate-page > .localpdf-page-file-preview,
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-thumb {
  border-color: rgba(129, 140, 248, 0.34) !important;
  background:
    radial-gradient(circle at 88% 10%, rgba(99, 102, 241, 0.10), transparent 34%),
    #eef4fb !important;
}
.localpdf-png-to-pdf-thumb-copy-badge {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #3730a3;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.12);
  pointer-events: none;
}
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-file-name,
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-filename {
  color: #0f172a;
}
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-copy-meta {
  display: block;
  margin-top: 4px;
  color: rgba(71, 85, 105, 0.92);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-type-badge,
.localpdf-png-to-pdf-page-type-badge.is-duplicate {
  color: #3730a3 !important;
  background: rgba(99, 102, 241, 0.14) !important;
  border-color: rgba(99, 102, 241, 0.30) !important;
}
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page {
  color: #3730a3;
  background: rgba(99, 102, 241, 0.09);
  border-color: rgba(99, 102, 241, 0.20);
}
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-row-actions {
  border-top-color: rgba(129, 140, 248, 0.18) !important;
}
@media (max-width: 640px) {
  .localpdf-png-to-pdf-thumb-copy-badge {
    top: 8px;
    right: 8px;
    min-height: 22px;
    padding-inline: 8px;
    font-size: 9px;
  }
  .localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-copy-meta {
    white-space: normal;
  }
}


/* v2.5.2a21.5: PNG to PDF Base Fork responsive QA.
   CSS-only pass on top of the 21.4 export baseline. Keeps the primary command
   group close while making tablet/mobile utility actions, duplicate cards,
   filename controls, and the export panel safer against overflow. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
  row-gap: 8px !important;
  min-width: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
  max-width: 100% !important;
  min-width: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-select,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-select {
  min-width: 104px !important;
  max-width: 152px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
  min-width: 0 !important;
  overflow: visible !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
.localpdf-png-to-pdf-page-card .localpdf-file-title-row,
.localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-page-title-row {
  min-width: 0 !important;
  gap: 6px !important;
}

.localpdf-png-to-pdf-page-card .localpdf-file-name,
.localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-page-filename {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.localpdf-png-to-pdf-page-card .localpdf-file-type-badge,
.localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-page-type-badge,
.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-type-badge,
.localpdf-png-to-pdf-page-type-badge.is-duplicate {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 30px !important;
  max-width: 74px !important;
  padding: 0 6px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}

.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-type-badge,
.localpdf-png-to-pdf-page-type-badge.is-duplicate {
  min-width: 62px !important;
  font-size: 8px !important;
}

.localpdf-png-to-pdf-thumb-copy-badge {
  max-width: min(64px, calc(100% - 20px)) !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-copy-meta {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-row-actions,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-row-actions,
.localpdf-png-to-pdf-page-card .localpdf-row-actions {
  min-width: 0 !important;
}

.localpdf-png-to-pdf-result-filename,
.localpdf-png-to-pdf-export-actions,
.localpdf-png-to-pdf-download-area {
  min-width: 0 !important;
}

.localpdf-png-to-pdf-result-filename strong,
.localpdf-png-to-pdf-result-meta,
.localpdf-png-to-pdf-download {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 1120px) {
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
    grid-column: 1 / span 3 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-replace],
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-replace] {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-clear],
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-clear] {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export {
    grid-column: 4 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 760px) {
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 6px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-replace],
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-replace] {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-clear],
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-clear] {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-export {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    justify-self: stretch !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
    gap: 12px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-buttons,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-buttons,
  .localpdf-png-to-pdf-export-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-buttons > *,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-buttons > *,
  .localpdf-png-to-pdf-export-actions > *,
  .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button,
  .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-download {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .localpdf-png-to-pdf-export-panel,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-export-panel,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  .localpdf-png-to-pdf-result-icon {
    justify-self: start !important;
  }

  .localpdf-png-to-pdf-export-header {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: start !important;
  }
}

@media (max-width: 560px) {
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
    width: auto !important;
    max-width: none !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    padding: 10px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-toolbar-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
    min-height: 44px !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    border-radius: 16px !important;
    padding: 6px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-label,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-label {
    width: auto !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    padding: 0 2px 0 4px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-select,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-select {
    flex: 1 1 92px !important;
    min-width: 84px !important;
    max-width: none !important;
    height: 32px !important;
    min-height: 32px !important;
    padding-left: 9px !important;
    padding-right: 24px !important;
    font-size: 11.5px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-primary-action,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-primary-action {
    flex: 0 0 auto !important;
    min-width: 74px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 11px !important;
    font-size: 11.5px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-light-button,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-secondary-button,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-light-button {
    min-width: 0 !important;
    width: 100% !important;
    padding-inline: 10px !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-add-card {
    grid-template-rows: 150px minmax(30px, auto) auto !important;
    min-height: 238px !important;
    width: 100% !important;
  }

  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
  }

  .localpdf-png-to-pdf-page-card.is-duplicate-page .localpdf-png-to-pdf-page-type-badge,
  .localpdf-png-to-pdf-page-type-badge.is-duplicate {
    min-width: 58px !important;
    max-width: 66px !important;
    padding-inline: 5px !important;
    font-size: 7.5px !important;
  }

  .localpdf-png-to-pdf-thumb-copy-badge {
    top: 7px !important;
    right: 7px !important;
    min-height: 20px !important;
    max-width: 54px !important;
    padding-inline: 6px !important;
    font-size: 8px !important;
  }

  .localpdf-png-to-pdf-wrap .localpdf-row-actions,
  .localpdf-png-to-pdf-page-card .localpdf-row-actions,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .localpdf-png-to-pdf-wrap .localpdf-row-actions .localpdf-drag-handle,
  .localpdf-png-to-pdf-page-card .localpdf-row-actions .localpdf-drag-handle {
    display: none !important;
  }

  .localpdf-png-to-pdf-wrap .localpdf-row-actions .localpdf-icon-button,
  .localpdf-png-to-pdf-page-card .localpdf-row-actions .localpdf-icon-button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 31px !important;
    min-height: 31px !important;
    max-height: none !important;
  }

  .localpdf-png-to-pdf-output-settings,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings,
  .localpdf-png-to-pdf-action-bar,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-bar,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-bar {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 14px !important;
    grid-template-columns: 1fr !important;
    border-radius: 16px !important;
    border: 1px solid rgba(191, 219, 254, .86) !important;
  }

  .localpdf-png-to-pdf-output-control,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-control,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-control,
  .localpdf-png-to-pdf-filename-tools,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-filename-tools,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-filename-tools {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .localpdf-png-to-pdf-filename-template,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-filename-template,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-filename-template,
  .localpdf-png-to-pdf-output-control .localpdf-png-to-pdf-light-button,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-control .localpdf-png-to-pdf-light-button,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-control .localpdf-png-to-pdf-light-button {
    width: 100% !important;
    min-width: 0 !important;
  }

  .localpdf-png-to-pdf-output-ready,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-ready,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-ready {
    grid-column: 1 !important;
  }

  .localpdf-png-to-pdf-export-panel,
  .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-export-panel,
  .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .localpdf-png-to-pdf-export-header {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .localpdf-png-to-pdf-export-header > strong {
    text-align: left !important;
  }

  .localpdf-png-to-pdf-result-summary {
    grid-template-columns: 1fr !important;
  }

  .localpdf-png-to-pdf-result-filename {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}


/* v2.5.2a27.2-clean — Image Card Adapter overrides
 * Keep the Duplicate PDF workspace rhythm while making card content truly image-specific.
 */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card {
    grid-template-rows: 122px 38px 22px !important;
    min-height: 202px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    display: grid !important;
    grid-template-rows: 20px 16px !important;
    gap: 2px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row {
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
}

.localpdf-png-to-pdf-card-meta {
    min-width: 0;
    height: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #64748b;
    font-size: 8.25px;
    font-weight: 820;
    line-height: 1;
}

.localpdf-png-to-pdf-duplicate-mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 13px;
    padding: 0 4px;
    border: 1px solid rgba(125, 211, 252, .45);
    border-radius: 999px;
    background: rgba(236, 253, 245, .78);
    color: #047857;
    font-size: 7px;
    font-weight: 900;
    line-height: 1;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-type-badge {
    width: auto !important;
    min-width: 27px !important;
    max-width: 38px !important;
    padding: 0 4px !important;
    letter-spacing: -.02em !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image {
    background: #ffffff !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button.localpdf-icon-button,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button.localpdf-icon-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button.localpdf-remove-page,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card > .localpdf-row-actions button.localpdf-remove-page {
    border-color: rgba(252, 165, 165, .70) !important;
    background: #fff7f7 !important;
    color: #ef4444 !important;
}


/* v2.5.2a27.2a-clean — Staged Output Cleanup
   Keep PNG to PDF in the arrange-images milestone by hiding the premature
   filename/export controls until PDF settings and real export are introduced. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-action-bar,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-action-bar {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid].localpdf-png-to-pdf-pages-grid {
    margin-bottom: 8px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
    background:
        linear-gradient(135deg, rgba(219, 234, 254, .78), rgba(248, 250, 252, .96)),
        repeating-linear-gradient(45deg, rgba(148, 163, 184, .12) 0 6px, rgba(255, 255, 255, .34) 6px 12px) !important;
    box-shadow:
        inset 0 0 0 1px rgba(147, 197, 253, .56),
        inset 0 16px 34px rgba(255, 255, 255, .38),
        0 8px 18px rgba(15, 23, 42, .075) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image {
    border: 1px solid rgba(203, 213, 225, .78) !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .14) !important;
}


/* v2.5.2a27.3a-clean — Interaction QA note
   Runtime hardening lives in png-to-pdf.js; staged workspace cleanup styles remain active here. */

/* v2.5.2a27.3a-clean — Image Card Preview Containment + Centering Polish
   Keep the Duplicate-fork workspace interactions intact while making image cards
   readable: fixed preview stage, centered thumbnails, isolated title/meta rows,
   and stable card height for portrait, landscape, and screenshot images. */
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card {
    grid-template-rows: 132px 42px 24px !important;
    min-height: 216px !important;
    overflow: visible !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    display: grid !important;
    place-items: center !important;
    isolation: isolate !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-image-thumbnail,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-image-thumbnail,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    overflow: hidden !important;
    background: transparent !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-image-thumb,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-image-thumb {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    flex: 0 1 auto !important;
    transform: rotate(var(--localpdf-png-to-pdf-rotation, 0deg)) !important;
    transform-origin: center center !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main {
    grid-row: 2 !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: grid !important;
    grid-template-rows: 19px 18px !important;
    gap: 3px !important;
    align-content: start !important;
    padding: 0 1px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 2 !important;
    background: rgba(255, 255, 255, .98) !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row {
    height: 19px !important;
    min-height: 19px !important;
    max-height: 19px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 4px !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-name {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-card-meta,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-card-meta {
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #64748b !important;
    font-size: 8.7px !important;
    font-weight: 800 !important;
    line-height: 18px !important;
}

.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions {
    grid-row: 3 !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    align-self: end !important;
    position: relative !important;
    z-index: 3 !important;
    background: rgba(255, 255, 255, .98) !important;
}

@media (min-width: 621px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card {
        grid-template-rows: 152px 44px 28px !important;
        min-height: 252px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-page-file-preview {
        height: 152px !important;
        min-height: 152px !important;
        max-height: 152px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-image-thumbnail,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-image-thumbnail,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon.has-pdf-thumbnail {
        padding: 9px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-file-main {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        grid-template-rows: 20px 19px !important;
        gap: 3px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-title-row {
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-card-meta,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-png-to-pdf-card-meta {
        height: 19px !important;
        min-height: 19px !important;
        max-height: 19px !important;
        font-size: 9px !important;
        line-height: 19px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) [data-png-to-pdf-pages-grid] > .localpdf-png-to-pdf-page-card > .localpdf-row-actions {
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
    }
}

/* v2.5.2a27.4b-clean — PDF Layout Settings
   Adds a compact Duplicate-family settings strip before export is introduced. */
.localpdf-png-to-pdf-layout-settings {
    display: grid;
    gap: 12px;
    margin: 0 6px 14px;
    padding: 14px 16px 15px;
    border: 1px solid rgba(191, 219, 254, .88);
    border-radius: 18px;
    background:
        radial-gradient(circle at right top, rgba(37, 99, 235, .045), transparent 38%),
        rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}

.localpdf-png-to-pdf-layout-settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.localpdf-png-to-pdf-layout-settings-head > div {
    min-width: 0;
}

.localpdf-png-to-pdf-layout-settings-head span {
    display: block;
    margin-bottom: 3px;
    color: #2563eb;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.localpdf-png-to-pdf-layout-settings-head strong {
    display: block;
    color: var(--lpr-ink);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.localpdf-png-to-pdf-layout-settings-head em {
    flex: 0 1 auto;
    max-width: min(520px, 56%);
    padding: 7px 10px;
    border: 1px solid rgba(191, 219, 254, .88);
    border-radius: 999px;
    background: #f8fbff;
    color: #475569;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 850;
    line-height: 1.15;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.localpdf-png-to-pdf-layout-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.localpdf-png-to-pdf-setting-field {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(219, 234, 254, .92);
    border-radius: 14px;
    background: rgba(248, 251, 255, .82);
}

.localpdf-png-to-pdf-setting-field span {
    color: #64748b;
    font-size: 9.5px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.localpdf-png-to-pdf-setting-field select {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 0 30px 0 10px;
    border: 1px solid rgba(191, 219, 254, .96);
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(15, 23, 42, .02);
}

.localpdf-png-to-pdf-setting-field select:hover,
.localpdf-png-to-pdf-setting-field select:focus {
    border-color: rgba(37, 99, 235, .48);
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .localpdf-png-to-pdf-layout-settings-head {
        display: grid;
    }

    .localpdf-png-to-pdf-layout-settings-head em {
        max-width: 100%;
        text-align: left;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .localpdf-png-to-pdf-layout-settings {
        margin-left: 0;
        margin-right: 0;
        padding: 12px;
        border-radius: 16px;
    }

    .localpdf-png-to-pdf-layout-grid {
        grid-template-columns: 1fr;
    }
}


/* v2.5.2a27.4b-clean — Settings Compact UI + Interaction Regression Fix
   Adds output preview/helper rows without changing export behavior. */
.localpdf-png-to-pdf-layout-settings-head p {
    margin: 5px 0 0 !important;
    max-width: 580px !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.45 !important;
}

.localpdf-png-to-pdf-layout-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.localpdf-png-to-pdf-layout-insight {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(191, 219, 254, .86);
    border-radius: 15px;
    background:
        radial-gradient(circle at right top, rgba(37, 99, 235, .05), transparent 36%),
        rgba(248, 251, 255, .9);
}

.localpdf-png-to-pdf-layout-insight-primary {
    border-color: rgba(147, 197, 253, .95);
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, .06), transparent 36%),
        rgba(255, 255, 255, .96);
}

.localpdf-png-to-pdf-layout-insight span {
    color: #2563eb;
    font-size: 9.5px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.localpdf-png-to-pdf-layout-insight strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: -.015em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.localpdf-png-to-pdf-layout-insight em,
.localpdf-png-to-pdf-setting-field small {
    color: #64748b;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 750;
    line-height: 1.35;
}

.localpdf-png-to-pdf-setting-field small {
    display: block;
    margin-top: -1px;
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-layout-insights {
        grid-template-columns: 1fr;
    }
}

/* v2.5.2a27.4b-clean — Settings Compact UI + Interaction Regression Fix */
.localpdf-png-to-pdf-layout-settings.is-compact,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-layout-settings.is-compact,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-layout-settings.is-compact {
    padding: 12px 14px !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,255,.82)),
        radial-gradient(circle at right top, rgba(37,99,235,.06), transparent 34%) !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-settings-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center !important;
    margin-bottom: 0 !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-settings-head span {
    display: inline-flex !important;
    margin-bottom: 4px !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-settings-head strong[data-png-to-pdf-output-preview] {
    display: block !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
    letter-spacing: -.015em !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-settings-head p {
    margin: 4px 0 0 !important;
    max-width: 680px !important;
    color: #64748b !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.localpdf-png-to-pdf-layout-compact-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.localpdf-png-to-pdf-layout-compact-actions em[data-png-to-pdf-layout-summary] {
    display: inline-flex !important;
    max-width: min(52vw, 520px) !important;
    min-height: 27px !important;
    align-items: center !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(191, 219, 254, .92) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.84) !important;
    color: #475569 !important;
    font-size: 10.5px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.localpdf-png-to-pdf-settings-toggle {
    min-height: 30px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.localpdf-png-to-pdf-layout-details {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(191, 219, 254, .72) !important;
}

.localpdf-png-to-pdf-layout-details[hidden] {
    display: none !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-insights {
    margin-bottom: 10px !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-grid {
    gap: 9px !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-setting-field {
    padding: 9px !important;
    border-radius: 13px !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-setting-field select {
    min-height: 32px !important;
}

.localpdf-png-to-pdf-wrap [data-png-to-pdf-pages-grid] .localpdf-row-actions,
.localpdf-png-to-pdf-wrap [data-png-to-pdf-pages-grid] .localpdf-icon-button,
.localpdf-png-to-pdf-wrap [data-png-to-pdf-pages-grid] [data-png-to-pdf-action] {
    position: relative !important;
    z-index: 30 !important;
    pointer-events: auto !important;
}

.localpdf-png-to-pdf-wrap [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-card-preview,
.localpdf-png-to-pdf-wrap [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-file-icon,
.localpdf-png-to-pdf-wrap [data-png-to-pdf-pages-grid] .localpdf-png-to-pdf-page-card .localpdf-page-rendered-thumb-image {
    pointer-events: none !important;
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-settings-head {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-layout-compact-actions {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }

    .localpdf-png-to-pdf-layout-compact-actions em[data-png-to-pdf-layout-summary] {
        max-width: 100% !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 560px) {
    .localpdf-png-to-pdf-layout-settings.is-compact,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-layout-settings.is-compact,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-layout-settings.is-compact {
        padding: 11px !important;
        border-radius: 16px !important;
    }

    .localpdf-png-to-pdf-layout-compact-actions,
    .localpdf-png-to-pdf-settings-toggle {
        width: 100% !important;
    }

    .localpdf-png-to-pdf-settings-toggle {
        justify-content: center !important;
    }
}

/* v2.5.2a27.4c-clean — Compact Settings Toolbar + Custom Clear Modal
   Keep PDF settings hidden by default and open it only from the top toolbar. */
.localpdf-png-to-pdf-layout-settings[hidden],
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-layout-settings[hidden],
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-layout-settings[hidden] {
    display: none !important;
}

.localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-settings-toggle {
    min-height: 38px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact.is-expanded {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

.localpdf-png-to-pdf-layout-settings.is-compact.is-expanded .localpdf-png-to-pdf-layout-settings-head {
    grid-template-columns: minmax(0, 1fr) auto !important;
}

@media (max-width: 780px) {
    .localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-settings-toggle {
        width: 100% !important;
    }
}

/* v2.5.2a27.4d-clean — Always Visible Compact Settings Row
   Keep the core PDF layout controls visible without the previous intro/helper panel. */
.localpdf-png-to-pdf-layout-settings.is-always-visible,
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-layout-settings.is-always-visible,
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-layout-settings.is-always-visible {
    display: block !important;
    margin: 0 6px 12px !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(191, 219, 254, .84) !important;
    border-radius: 15px !important;
    background: rgba(248, 251, 255, .78) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .035) !important;
}

.localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-layout-settings-head,
.localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-layout-insights {
    display: none !important;
}

.localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-layout-details {
    display: block !important;
}

.localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-layout-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-setting-field {
    padding: 8px 10px !important;
    gap: 6px !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, .82) !important;
}

.localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-setting-field select {
    min-height: 30px !important;
    border-radius: 9px !important;
    font-size: 10.5px !important;
}

.localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-setting-field small {
    color: #64748b !important;
    font-size: 9.5px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
}

.localpdf-png-to-pdf-toolbar-actions > .localpdf-png-to-pdf-settings-toggle {
    display: none !important;
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .localpdf-png-to-pdf-layout-settings.is-always-visible {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-layout-grid {
        grid-template-columns: 1fr !important;
    }
}

/* v2.5.2a27.5a-clean — Export State View Isolation Polish
   When exporting or ready, isolate the export result view and hide the edit workspace. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-summary,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-layout-settings,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-warning,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-pages-grid,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-pages-data-file-list,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-action-bar {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-shell,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace {
    display: block !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    display: grid !important;
    width: min(100%, 1120px) !important;
    margin: 0 auto !important;
    scroll-margin-top: 96px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-message:not(.is-undo-toast) {
    margin-bottom: 14px !important;
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
        width: 100% !important;
        margin: 0 !important;
    }
}


/* v2.5.2a27.5b-clean — Hide Settings Row During Export State
   JS also applies hidden/aria-hidden; these selectors are a defensive CSS guard. */
.localpdf-png-to-pdf-wrap.is-export-view .localpdf-png-to-pdf-layout-settings,
.localpdf-png-to-pdf-wrap.is-flow-export .localpdf-png-to-pdf-layout-settings,
.localpdf-png-to-pdf-wrap.is-exporting .localpdf-png-to-pdf-layout-settings,
.localpdf-png-to-pdf-wrap.is-flow-export .localpdf-png-to-pdf-layout-settings.is-always-visible,
.localpdf-png-to-pdf-wrap.is-export-view .localpdf-png-to-pdf-layout-settings.is-always-visible,
.localpdf-png-to-pdf-layout-settings[aria-hidden="true"] {
    display: none !important;
    visibility: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    margin-top: 0 !important;
}

/* v2.5.2a27.5c-clean — Premium Export Flow + Smooth Progress Polish
   Compact centered export flow, staged-progress metrics, and clearer ready CTA hierarchy. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) {
    width: min(100%, 840px) !important;
    max-width: min(840px, calc(100vw - 32px)) !important;
    margin: 12px auto 0 !important;
    padding: 14px !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-tool,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-shell {
    display: block !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-masthead,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-summary,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-layout-settings,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-warning,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-pages-grid,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-pages-data-file-list,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-action-bar {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    align-items: flex-start !important;
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: clamp(20px, 3vw, 28px) !important;
    gap: 16px !important;
    border: 1px solid rgba(191, 219, 254, .92) !important;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at 14% 0%, rgba(37, 99, 235, .10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    box-shadow: 0 24px 66px rgba(15, 23, 42, .11) !important;
    scroll-margin-top: 88px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-icon {
    width: 54px !important;
    height: 54px !important;
    border-radius: 18px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 12px 28px rgba(37, 99, 235, .16) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-result-icon {
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%) !important;
    color: #2563eb !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-icon {
    background: linear-gradient(180deg, #dcfce7 0%, #f0fdf4 100%) !important;
    color: #15803d !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header {
    align-items: flex-start !important;
    gap: 14px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-kicker {
    margin-bottom: 6px !important;
    color: #2563eb !important;
    font-size: 10.5px !important;
    letter-spacing: .09em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header h3 {
    font-size: clamp(22px, 3.2vw, 30px) !important;
    line-height: 1.05 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-muted {
    max-width: 440px !important;
    margin-top: 8px !important;
    font-size: 13px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header > strong {
    min-width: 58px !important;
    padding-top: 2px !important;
    font-size: 24px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-progress {
    height: 11px !important;
    background: #eaf2ff !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-progress span {
    transition: width .42s cubic-bezier(.22, 1, .36, 1) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download-area {
    gap: 13px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-summary {
    gap: 9px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat {
    min-width: 0 !important;
    padding: 12px !important;
    border-color: rgba(191, 219, 254, .82) !important;
    background: rgba(255, 255, 255, .88) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat strong {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #0f172a !important;
    font-size: 18px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-result-stat strong {
    font-size: 15px !important;
    letter-spacing: -.02em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat em {
    color: #64748b !important;
    font-size: 10.5px !important;
    letter-spacing: .01em !important;
    text-transform: uppercase !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-meta {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 760 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-filename {
    padding: 11px 13px !important;
    border-color: rgba(191, 219, 254, .82) !important;
    background: rgba(255, 255, 255, .9) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions {
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) auto auto auto !important;
    align-items: center !important;
    gap: 9px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download {
    min-height: 50px !important;
    padding-inline: 22px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    font-weight: 920 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
    min-height: 44px !important;
    padding-inline: 15px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button:disabled,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button[aria-disabled="true"] {
    opacity: .52 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    border-color: rgba(71, 85, 105, .92) !important;
    background:
        radial-gradient(circle at 14% 0%, rgba(96, 165, 250, .14), transparent 34%),
        linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
}

.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat,
.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-filename {
    border-color: rgba(71, 85, 105, .88) !important;
    background: rgba(15, 23, 42, .72) !important;
}

.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat strong {
    color: #e5e7eb !important;
}

@media (max-width: 720px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) {
        max-width: calc(100vw - 20px) !important;
        margin-top: 8px !important;
        padding: 8px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-summary,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* v2.5.2a27.5d-clean — Export Ready State Visual Hierarchy Polish
   Refines the ready screen hierarchy after the premium export flow: cleaner title weight,
   non-redundant ready subtitle, subtler 100% progress, softer stat cards, and tighter spacing. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready {
    width: min(100%, 690px) !important;
    max-width: 690px !important;
    padding: clamp(20px, 2.6vw, 26px) !important;
    gap: 14px !important;
    border-color: rgba(191, 219, 254, .82) !important;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .075), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 22px 58px rgba(15, 23, 42, .105) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-body {
    gap: 12px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #dcfce7 0%, #f0fdf4 100%) !important;
    color: #15803d !important;
    box-shadow: 0 14px 28px rgba(22, 163, 74, .16) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-kicker {
    margin-bottom: 7px !important;
    padding: 5px 10px !important;
    border-color: #bbf7d0 !important;
    background: #dcfce7 !important;
    color: #15803d !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .055em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-header h3 {
    font-size: clamp(22px, 2.55vw, 28px) !important;
    font-weight: 860 !important;
    line-height: 1.14 !important;
    letter-spacing: -.026em !important;
    word-spacing: .02em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-muted {
    max-width: 560px !important;
    margin-top: 6px !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 720 !important;
    line-height: 1.5 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-header > strong {
    min-width: 52px !important;
    height: 28px !important;
    padding: 0 10px !important;
    border-color: rgba(191, 219, 254, .9) !important;
    background: rgba(239, 246, 255, .92) !important;
    color: #2563eb !important;
    font-size: 13px !important;
    font-weight: 920 !important;
    letter-spacing: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-progress {
    height: 7px !important;
    margin-top: -1px !important;
    background: #eef6ff !important;
    box-shadow: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-progress span {
    background: linear-gradient(90deg, rgba(37, 99, 235, .72) 0%, rgba(34, 197, 94, .84) 100%) !important;
    box-shadow: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-download-area {
    gap: 12px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-summary {
    gap: 9px !important;
    margin-top: 1px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat-primary {
    min-height: 66px !important;
    padding: 11px 12px !important;
    border-color: rgba(191, 219, 254, .72) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .78) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .035) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat strong,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat-primary strong {
    color: #0f172a !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    letter-spacing: -.015em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat em {
    margin-top: 3px !important;
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 820 !important;
    letter-spacing: .04em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-meta:empty {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-meta:not(:empty) {
    margin-top: -2px !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 760 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-filename {
    width: max-content !important;
    max-width: 100% !important;
    padding: 8px 12px !important;
    border-color: rgba(191, 219, 254, .78) !important;
    background: rgba(255, 255, 255, .82) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-actions {
    margin-top: 1px !important;
}

@media (max-width: 720px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready {
        width: 100% !important;
        max-width: 100% !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-header h3 {
        font-size: clamp(21px, 7vw, 26px) !important;
    }
}

.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-muted,
.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-meta:not(:empty) {
    color: #94a3b8 !important;
}


/* v2.5.2a27.5e-clean — Image Export Flow Merge Parity Fix
   Restores Merge-PDF-like export width, removes legacy ready-banner bleed, and
   keeps the export result panel as the single wide final/loading surface. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) {
    width: min(1500px, calc(100vw - 48px)) !important;
    max-width: min(1500px, calc(100vw - 48px)) !important;
    margin: 24px auto 0 !important;
    padding: 24px !important;
    border: 1px solid rgba(191, 219, 254, .86) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 14% 0%, rgba(37, 99, 235, .07), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .08) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-message:not(.is-error) {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-tool,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-shell {
    width: 100% !important;
    max-width: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: clamp(22px, 2.2vw, 30px) !important;
    border-radius: 24px !important;
    border-color: rgba(147, 197, 253, .86) !important;
    background:
        radial-gradient(circle at 92% 12%, rgba(191, 219, 254, .56) 0, rgba(191, 219, 254, 0) 34%),
        radial-gradient(circle at 12% 96%, rgba(187, 247, 208, .28) 0, rgba(187, 247, 208, 0) 38%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 56%, #f0fdf4 100%) !important;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .13), 0 8px 22px rgba(15, 23, 42, .07) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready {
    border-color: rgba(147, 197, 253, .72) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-body,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-body {
    gap: 14px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header h3,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-header h3 {
    font-size: clamp(22px, 2.15vw, 30px) !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
    letter-spacing: -.032em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-muted,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-muted {
    max-width: 760px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-progress,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-progress {
    height: 10px !important;
    margin-top: 0 !important;
    background: #dbeafe !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .07) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-progress span,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-progress span {
    background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .20) !important;
    transition: width .28s ease !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-summary,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 4px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat-primary {
    min-height: 74px !important;
    padding: 13px 16px !important;
    border-radius: 16px !important;
    border-color: rgba(191, 219, 254, .78) !important;
    background: rgba(255, 255, 255, .82) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat strong,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat strong,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat-primary strong {
    color: #0f172a !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: -.015em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-meta:not(:empty),
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-meta:not(:empty) {
    margin-top: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-filename,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-filename {
    width: max-content !important;
    max-width: 100% !important;
    padding: 9px 13px !important;
    border-radius: 999px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-actions {
    grid-template-columns: minmax(260px, 1fr) auto auto auto !important;
    margin-top: 3px !important;
    gap: 10px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-download {
    min-height: 48px !important;
    border-radius: 14px !important;
}

.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty) {
    border-color: rgba(51, 65, 85, .92) !important;
    background:
        radial-gradient(circle at 14% 0%, rgba(96, 165, 250, .12), transparent 32%),
        linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) {
        width: min(100%, calc(100vw - 24px)) !important;
        max-width: min(100%, calc(100vw - 24px)) !important;
        margin-top: 16px !important;
        padding: 16px !important;
        border-radius: 24px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-summary,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* v2.5.2a27.5f-clean — Export Shell Vertical Alignment + Merge Result Layout Sync
   Final parity pass: the export state becomes a top-aligned, single-result workspace
   with no hidden toolbar/masthead reserve, a Merge-like density, spinner loading icon,
   and desktop CTAs that no longer stretch across the entire panel. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-flow-export.is-ready:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-flow-export.is-exporting:not(.is-empty) {
    width: min(var(--localpdf-png-to-pdf-tool-width, 1500px), calc(100vw - 48px)) !important;
    max-width: min(var(--localpdf-png-to-pdf-tool-width, 1500px), calc(100vw - 48px)) !important;
    margin: clamp(12px, 1.6vw, 22px) auto clamp(28px, 3.2vw, 46px) !important;
    padding: clamp(14px, 1.6vw, 22px) !important;
    border: 1px solid rgba(191, 219, 254, .86) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 14% 0%, rgba(37, 99, 235, .07), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 24px 72px rgba(15, 23, 42, .09) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-tool,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    align-content: start !important;
    justify-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-start,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-masthead,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-workspace-toolbar,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-process-summary,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-layout-settings,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-warning,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-pages-grid,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-pages-data-file-list,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-action-bar,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-message:not(.is-error) {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    align-items: start !important;
    align-self: start !important;
    order: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(24px, 2.2vw, 32px) !important;
    gap: 20px !important;
    border: 1px solid rgba(147, 197, 253, .78) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(191, 219, 254, .56) 0, rgba(191, 219, 254, 0) 34%),
        radial-gradient(circle at 10% 100%, rgba(187, 247, 208, .30) 0, rgba(187, 247, 208, 0) 38%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 58%, #f0fdf4 100%) !important;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .12), 0 8px 22px rgba(15, 23, 42, .065) !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error {
    border-color: rgba(248, 113, 113, .58) !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(254, 202, 202, .60) 0, rgba(254, 202, 202, 0) 34%),
        linear-gradient(135deg, #fff1f2 0%, #ffffff 62%, #f8fafc 100%) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 18px !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: 950 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-result-icon {
    color: transparent !important;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%) !important;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .25) !important;
    animation: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running .localpdf-png-to-pdf-result-icon::after {
    content: '' !important;
    width: 19px !important;
    height: 19px !important;
    border-radius: 999px !important;
    border: 3px solid rgba(255, 255, 255, .46) !important;
    border-top-color: #ffffff !important;
    animation: localpdf-png-to-pdf-export-spin .85s linear infinite !important;
}

@keyframes localpdf-png-to-pdf-export-spin {
    to { transform: rotate(360deg); }
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-icon {
    color: #ffffff !important;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    box-shadow: 0 16px 34px rgba(34, 197, 94, .25) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-body {
    display: grid !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-kicker {
    margin: 0 0 8px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header h3,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-header h3 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: clamp(24px, 2.25vw, 32px) !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -.035em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-muted,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-muted {
    max-width: 780px !important;
    margin: 7px 0 0 !important;
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 750 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header > strong {
    min-width: 54px !important;
    height: 30px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-header > strong {
    color: #15803d !important;
    background: #dcfce7 !important;
    border-color: #bbf7d0 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-progress,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-progress {
    height: 11px !important;
    margin-top: 2px !important;
    border-radius: 999px !important;
    background: #dbeafe !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .08) !important;
    overflow: hidden !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-progress span,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-progress span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .24) !important;
    transition: width .28s ease !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download-area {
    display: grid !important;
    gap: 14px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-summary,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-summary {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 2px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat-primary,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat-primary {
    min-height: 72px !important;
    padding: 13px 16px !important;
    border: 1px solid rgba(191, 219, 254, .80) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .84) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat strong,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat-primary strong,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat strong,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-stat-primary strong {
    color: #0f172a !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -.015em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-stat em {
    margin-top: 5px !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: .035em !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-meta:empty {
    display: none !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-meta:not(:empty),
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-meta:not(:empty) {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    font-weight: 750 !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-filename,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-result-filename {
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 9px 13px !important;
    border-radius: 999px !important;
    border-color: #dbeafe !important;
    background: rgba(255, 255, 255, .80) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-actions {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 2px !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-download {
    flex: 0 1 360px !important;
    width: auto !important;
    min-width: min(360px, 100%) !important;
    max-width: 420px !important;
    min-height: 48px !important;
    padding-inline: 22px !important;
    border-radius: 14px !important;
    justify-content: center !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
    flex: 0 0 auto !important;
    min-height: 44px !important;
    padding-inline: 16px !important;
    border-radius: 13px !important;
}

.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty),
.localpdf-png-to-pdf-theme-dark.is-flow-export.is-ready:not(.is-empty),
.localpdf-png-to-pdf-theme-dark.is-flow-export.is-exporting:not(.is-empty) {
    border-color: rgba(51, 65, 85, .92) !important;
    background:
        radial-gradient(circle at 14% 0%, rgba(96, 165, 250, .12), transparent 32%),
        linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
}

.localpdf-png-to-pdf-theme-dark.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel {
    border-color: rgba(96, 165, 250, .30) !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(59, 130, 246, .24) 0, rgba(59, 130, 246, 0) 34%),
        linear-gradient(135deg, #111827 0%, #0f172a 60%, #0b1f1b 100%) !important;
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export.is-exporting:not(.is-empty) {
        width: min(100%, calc(100vw - 24px)) !important;
        max-width: min(100%, calc(100vw - 24px)) !important;
        margin-top: 14px !important;
        padding: 14px !important;
        border-radius: 24px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-running,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-error {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
        gap: 14px !important;
        border-radius: 22px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 12px !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-header h3,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-header h3 {
        font-size: clamp(22px, 6vw, 28px) !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-result-summary {
        grid-template-columns: 1fr !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel.is-ready .localpdf-png-to-pdf-export-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
    }

    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download,
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        justify-content: center !important;
    }
}

/* v2.5.2a27.5g-clean — Export Width Parity With Workspace State
   Keeps the polished 5f top-aligned export/result layout, but lets the export
   shell use the same full 1500px workspace width as the editing state instead
   of respecting the narrower admin/shortcode tool-width variable. */
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-flow-export.is-ready:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-flow-export.is-exporting:not(.is-empty) {
    width: auto !important;
    max-width: none !important;
    margin-top: clamp(12px, 1.6vw, 22px) !important;
    margin-bottom: clamp(28px, 3.2vw, 46px) !important;
    margin-left: calc(50% - 50vw + 16px) !important;
    margin-right: calc(50% - 50vw + 16px) !important;
}

@media (min-width: 1532px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export.is-exporting:not(.is-empty) {
        width: 1500px !important;
        max-width: 1500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 840px) {
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export.is-exporting:not(.is-empty) {
        width: auto !important;
        max-width: none !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
        padding: 14px !important;
    }
}

/* v2.5.2a27.7-clean — PNG to PDF Final QA + Edge Case Hardening
   Tightens long filename wrapping, touch/mobile dialogs, image preview drag behavior,
   and export-state overflow guards without changing the accepted 5g layout. */
.localpdf-png-to-pdf-result-filename strong,
.localpdf-png-to-pdf-result-stat strong,
.localpdf-png-to-pdf-result-meta,
.localpdf-png-to-pdf-export-status,
.localpdf-png-to-pdf-page-card .localpdf-file-name {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.localpdf-png-to-pdf-image-thumb,
.localpdf-png-to-pdf-page-card img {
    -webkit-user-drag: none !important;
    user-select: none !important;
}

.localpdf-png-to-pdf-confirm-dialog,
.localpdf-png-to-pdf-move-menu {
    max-width: min(420px, calc(100vw - 24px)) !important;
}

.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-panel,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-export-body,
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty) .localpdf-png-to-pdf-download-area {
    min-width: 0 !important;
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-confirm-backdrop {
        align-items: flex-start !important;
        padding: 18px 12px !important;
        overflow-y: auto !important;
    }

    .localpdf-png-to-pdf-confirm-dialog {
        max-height: calc(100vh - 36px) !important;
        overflow-y: auto !important;
    }

    .localpdf-png-to-pdf-move-menu {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
    }
}


/* v2.5.2a29.2a-clean: quiet UI while PNG previews are being prepared. */
.localpdf-png-to-pdf-wrap.is-intaking [data-png-to-pdf-add],
.localpdf-png-to-pdf-wrap.is-intaking [data-png-to-pdf-replace],
.localpdf-png-to-pdf-wrap.is-intaking [data-png-to-pdf-export],
.localpdf-png-to-pdf-wrap.is-intaking [data-png-to-pdf-clear],
.localpdf-png-to-pdf-wrap.is-intaking [data-png-to-pdf-action],
.localpdf-png-to-pdf-wrap.is-intaking [data-png-to-pdf-current-page] {
    pointer-events: none;
    opacity: .68;
}

/* v2.5.2a29.5-clean — PNG Release Prep note; accepted a29.3 responsive QA/mobile polish
   Dedicated PNG-only responsive pass after transparency/output QA. Keeps the accepted
   a29.2a transparency/export engine unchanged and only tightens small-screen layout,
   tap targets, overflow handling, dialogs, and export result stacking. */
.localpdf-png-to-pdf-wrap {
    overflow-wrap: anywhere;
}

.localpdf-png-to-pdf-wrap select,
.localpdf-png-to-pdf-wrap input,
.localpdf-png-to-pdf-wrap button,
.localpdf-png-to-pdf-wrap a.localpdf-png-to-pdf-download {
    max-width: 100%;
}

.localpdf-png-to-pdf-wrap .localpdf-png-to-pdf-secondary-button,
.localpdf-png-to-pdf-wrap .localpdf-png-to-pdf-light-button,
.localpdf-png-to-pdf-wrap .localpdf-png-to-pdf-primary-action,
.localpdf-png-to-pdf-wrap .localpdf-png-to-pdf-export,
.localpdf-png-to-pdf-wrap .localpdf-png-to-pdf-download,
.localpdf-png-to-pdf-wrap .localpdf-png-to-pdf-page-nav-button {
    touch-action: manipulation;
}

.localpdf-png-to-pdf-layout-settings.is-always-visible,
.localpdf-png-to-pdf-output-settings,
.localpdf-png-to-pdf-action-bar,
.localpdf-png-to-pdf-export-panel,
.localpdf-png-to-pdf-pages-grid {
    min-width: 0;
}

.localpdf-png-to-pdf-setting-field,
.localpdf-png-to-pdf-setting-field select,
.localpdf-png-to-pdf-output-control,
.localpdf-png-to-pdf-output-name,
.localpdf-png-to-pdf-filename-tools,
.localpdf-png-to-pdf-action-summary,
.localpdf-png-to-pdf-export-body,
.localpdf-png-to-pdf-export-header,
.localpdf-png-to-pdf-result-summary,
.localpdf-png-to-pdf-result-filename,
.localpdf-png-to-pdf-export-actions {
    min-width: 0;
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start {
        width: min(100%, calc(100vw - 20px)) !important;
        max-width: min(100%, calc(100vw - 20px)) !important;
        margin-top: 14px !important;
    }

    .localpdf-png-to-pdf-dropzone {
        min-height: clamp(320px, 58vw, 460px) !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        width: auto !important;
        max-width: none !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
        padding: 14px !important;
    }

    .localpdf-png-to-pdf-process-masthead,
    .localpdf-png-to-pdf-workspace-toolbar,
    .localpdf-png-to-pdf-layout-settings.is-always-visible,
    .localpdf-png-to-pdf-process-summary,
    .localpdf-png-to-pdf-warning,
    .localpdf-png-to-pdf-pages-grid,
    .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-export-panel {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-layout-grid,
    .localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .localpdf-png-to-pdf-setting-field select,
    .localpdf-png-to-pdf-page-select,
    .localpdf-png-to-pdf-output-name {
        min-height: 42px !important;
        font-size: 14px !important;
    }

    .localpdf-png-to-pdf-page-nav {
        justify-content: center !important;
    }

    .localpdf-png-to-pdf-page-nav input {
        min-height: 40px !important;
        line-height: 40px !important;
    }
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start {
        width: min(100%, calc(100vw - 16px)) !important;
        padding: 14px !important;
        border-radius: 22px !important;
    }

    .localpdf-png-to-pdf-start-illustration {
        transform: scale(.92);
        margin-bottom: 12px !important;
    }

    .localpdf-png-to-pdf-dropzone h2 {
        font-size: clamp(25px, 8vw, 34px) !important;
        letter-spacing: -.05em !important;
    }

    .localpdf-png-to-pdf-dropzone p {
        max-width: 34rem !important;
        margin-bottom: 18px !important;
    }

    .localpdf-png-to-pdf-primary,
    .localpdf-png-to-pdf-start-actions,
    .localpdf-png-to-pdf-start-actions button {
        width: 100% !important;
        max-width: 360px !important;
    }

    .localpdf-png-to-pdf-badges {
        width: 100% !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        margin-left: 8px !important;
        margin-right: 8px !important;
        padding: 10px !important;
        border-radius: 20px !important;
    }

    .localpdf-png-to-pdf-workspace-toolbar,
    .localpdf-png-to-pdf-layout-settings.is-always-visible,
    .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-action-bar,
    .localpdf-png-to-pdf-export-panel {
        border-radius: 16px !important;
    }

    .localpdf-png-to-pdf-layout-settings.is-always-visible,
    .localpdf-png-to-pdf-layout-settings.is-compact,
    .localpdf-png-to-pdf-output-settings,
    .localpdf-png-to-pdf-action-bar {
        padding: 12px !important;
    }

    .localpdf-png-to-pdf-layout-settings.is-always-visible .localpdf-png-to-pdf-layout-grid,
    .localpdf-png-to-pdf-layout-settings.is-compact .localpdf-png-to-pdf-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .localpdf-png-to-pdf-setting-field-fit small,
    .localpdf-png-to-pdf-setting-field small {
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    .localpdf-png-to-pdf-process-summary {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .localpdf-png-to-pdf-process-summary span {
        min-height: 58px !important;
        padding: 12px 14px !important;
    }

    .localpdf-png-to-pdf-pages-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 12px !important;
        gap: 12px !important;
        border-radius: 16px !important;
    }

    .localpdf-png-to-pdf-page-card {
        grid-template-rows: minmax(158px, auto) minmax(34px, auto) auto !important;
        min-height: 252px !important;
    }

    .localpdf-png-to-pdf-thumb,
    .localpdf-png-to-pdf-wrap .localpdf-file-card-preview,
    .localpdf-png-to-pdf-wrap .localpdf-page-file-preview {
        height: 158px !important;
        min-height: 158px !important;
    }

    .localpdf-png-to-pdf-wrap .localpdf-row-actions,
    .localpdf-png-to-pdf-page-card .localpdf-row-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .localpdf-png-to-pdf-wrap .localpdf-row-actions .localpdf-icon-button,
    .localpdf-png-to-pdf-page-card .localpdf-row-actions .localpdf-icon-button,
    .localpdf-png-to-pdf-wrap .localpdf-icon-button {
        min-height: 36px !important;
        height: 36px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .localpdf-png-to-pdf-output-control,
    .localpdf-png-to-pdf-filename-tools,
    .localpdf-png-to-pdf-action-buttons,
    .localpdf-png-to-pdf-export-actions,
    .localpdf-png-to-pdf-result-summary {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .localpdf-png-to-pdf-action-buttons > *,
    .localpdf-png-to-pdf-export-actions > *,
    .localpdf-png-to-pdf-download,
    .localpdf-png-to-pdf-export-actions .localpdf-png-to-pdf-light-button,
    .localpdf-png-to-pdf-filename-tools > * {
        width: 100% !important;
        max-width: none !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .localpdf-png-to-pdf-export-panel {
        grid-template-columns: 1fr !important;
        padding: 16px !important;
    }

    .localpdf-png-to-pdf-result-icon {
        width: 56px !important;
        height: 56px !important;
        justify-self: start !important;
        font-size: 24px !important;
    }

    .localpdf-png-to-pdf-export-header {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .localpdf-png-to-pdf-export-header > strong {
        justify-self: start !important;
        text-align: left !important;
    }

    body .localpdf-png-to-pdf-confirm-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    body .localpdf-png-to-pdf-confirm-cancel,
    body .localpdf-png-to-pdf-confirm-clear {
        width: 100% !important;
    }
}

@media (max-width: 430px) {
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) {
        margin-left: 6px !important;
        margin-right: 6px !important;
        padding: 8px !important;
    }

    .localpdf-png-to-pdf-toolbar-actions {
        gap: 7px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-tool,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-tool {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-inline-label,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-inline-label,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-page-select,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-page-select,
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty) .localpdf-png-to-pdf-primary-action,
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty) .localpdf-png-to-pdf-primary-action {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .localpdf-png-to-pdf-page-nav {
        width: 100% !important;
    }

    .localpdf-png-to-pdf-page-nav input {
        flex: 1 1 auto !important;
        width: auto !important;
    }

    .localpdf-png-to-pdf-page-card {
        padding: 9px !important;
    }
}



/* v2.5.2a30.6-clean — Convert Image Start Hero Icon Premium Polish
   Start-state icon parity for convert-image tools: render a clean FORMAT → PDF
   conversion visual instead of inherited overlapping/stacked file artwork. */
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-illustration {
    width: 246px !important;
    height: 132px !important;
    margin-bottom: 20px !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-illustration::before {
    width: 168px !important;
    height: 168px !important;
    opacity: .78 !important;
    background:
        radial-gradient(circle at 50% 40%, rgba(37, 99, 235, .18), transparent 54%),
        linear-gradient(180deg, rgba(147, 197, 253, .18), rgba(37, 99, 235, .08)) !important;
    box-shadow: 0 28px 82px rgba(37, 99, 235, .18) !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-left {
    display: grid !important;
    left: 8px !important;
    top: 44px !important;
    width: 58px !important;
    height: 70px !important;
    opacity: .34 !important;
    transform: rotate(-9deg) translateY(0) !important;
    border-radius: 17px !important;
    background: rgba(239, 246, 255, .62) !important;
    border-color: rgba(191, 219, 254, .58) !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .07) !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-main {
    left: 40px !important;
    top: 28px !important;
    width: 104px !important;
    height: 74px !important;
    border-radius: 24px !important;
    z-index: 6 !important;
    padding: 0 13px !important;
    font-size: 23px !important;
    letter-spacing: -.045em !important;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
    box-shadow: 0 22px 52px rgba(37, 99, 235, .30) !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-main > span {
    white-space: nowrap !important;
    line-height: 1 !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-main em,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-left::before,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-left::after,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right::before,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right::after {
    display: none !important;
    content: none !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow {
    display: grid !important;
    place-items: center !important;
    left: 140px !important;
    right: auto !important;
    top: 51px !important;
    bottom: auto !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 7 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(191, 219, 254, .82) !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .15) !important;
    backdrop-filter: blur(8px) !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow svg {
    width: 23px !important;
    height: 23px !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow svg path,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow svg rect {
    fill: none !important;
    stroke: #2563eb !important;
    stroke-width: 3.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right {
    display: grid !important;
    grid-template-rows: 1fr auto !important;
    align-items: center !important;
    justify-items: center !important;
    right: 24px !important;
    top: 20px !important;
    width: 76px !important;
    height: 92px !important;
    z-index: 5 !important;
    padding: 8px 8px 9px !important;
    border-radius: 20px !important;
    transform: rotate(5deg) translateY(0) !important;
    opacity: 1 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(239, 246, 255, .90)) !important;
    border: 1px solid rgba(147, 197, 253, .74) !important;
    box-shadow: 0 18px 44px rgba(37, 99, 235, .16) !important;
    filter: none !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right svg {
    width: 42px !important;
    height: 50px !important;
    padding: 0 !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right svg path,
.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right svg rect {
    fill: none !important;
    stroke: #2563eb !important;
    stroke-width: 2.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right b {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 20px !important;
    padding: 4px 7px !important;
    border-radius: 999px !important;
    background: rgba(37, 99, 235, .10) !important;
    color: #1d4ed8 !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .035em !important;
}

@media (max-width: 640px) {
    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-illustration {
        width: 220px !important;
        height: 120px !important;
        margin-bottom: 18px !important;
    }

    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-main {
        left: 32px !important;
        top: 28px !important;
        width: 94px !important;
        height: 68px !important;
        font-size: 21px !important;
    }

    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-arrow {
        left: 126px !important;
        top: 50px !important;
        width: 34px !important;
        height: 34px !important;
    }

    .localpdf-png-to-pdf-wrap.is-empty.is-flow-start .localpdf-png-to-pdf-start-card-right {
        right: 18px !important;
        top: 22px !important;
        width: 70px !important;
        height: 84px !important;
    }
}


/* v2.5.2a42.0.5-clean — Image-to-PDF family active workspace width parity
   Keeps the convert-family start screen behavior while ensuring active workspace,
   progress, and result states use the same larger Merge/Organize-style width baseline
   accepted for RTF to PDF. Export logic is unchanged. */
.localpdf-png-to-pdf-wrap:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-flow-export.is-ready:not(.is-empty),
.localpdf-png-to-pdf-wrap.is-flow-export.is-exporting:not(.is-empty) {
    --localpdf-convert-tool-width: var(--localpdf-png-to-pdf-tool-width, var(--localpdf-tool-width, 1500px));
    width: min(var(--localpdf-png-to-pdf-tool-width, var(--localpdf-tool-width, 1500px)), calc(100vw - 48px)) !important;
    max-width: min(100%, var(--localpdf-png-to-pdf-tool-width, var(--localpdf-tool-width, 1500px))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 900px) {
    .localpdf-png-to-pdf-wrap:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-exporting:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export.is-ready:not(.is-empty),
    .localpdf-png-to-pdf-wrap.is-flow-export.is-exporting:not(.is-empty) {
        width: min(100%, calc(100vw - 24px)) !important;
        max-width: min(100%, calc(100vw - 24px)) !important;
    }
}
