/* Reuse the home palette and card treatment on subpages without changing text sizes. */
body.remaining-01-page-theme main{--brand:#55c087;--brand-2:#24754d;--brand-soft:#eaf6ef;--ink:#213b30;--muted:#7b8982;--line:#e5ece7;--line-strong:#d2e3d8;--page:#f6f9f7;--bg:#f6f9f7;--soft:#f3faf6;--card:#fff;color:var(--ink)}
body.remaining-01-page-theme main .showcase-head{color:var(--ink);background:radial-gradient(at 50% 100%,#e0f4e9,transparent 70%),linear-gradient(120deg,#f8fcfa,#f0f9f3);box-shadow:0 0 0 100vmax #f0f9f3}
body.remaining-01-page-theme main .showcase-head h1{color:var(--ink)}
body.remaining-01-page-theme main .showcase-head p{color:var(--muted)}
body.remaining-01-page-theme main .showcase-head .favorite-button{color:var(--brand-2);background:var(--card);border-color:var(--line-strong)}
body.remaining-01-page-theme main .panel,body.remaining-01-page-theme main .card,body.remaining-01-page-theme main .guide,body.remaining-01-page-theme main .faq-section{border-radius:15px;border-color:var(--line);background:var(--card);box-shadow:none}
body.remaining-01-page-theme main .primary,body.remaining-01-page-theme main .form-actions .primary{background:var(--brand);color:#123d27;border-radius:8px;box-shadow:none}
body.remaining-01-page-theme main .primary:hover{background:#46b779}
body.remaining-01-page-theme main .upload-zone{background:var(--soft);border-color:#b8ddc9;border-radius:12px}
body.remaining-01-page-theme main .pagination button,body.remaining-01-page-theme main .pager button{background:var(--card);border:1px solid var(--line);border-radius:6px;color:var(--brand-2)}
body.remaining-01-page-theme main .pagination button.active,body.remaining-01-page-theme main .pagination [aria-current="page"]{background:var(--brand-soft);color:var(--brand-2)}
body.remaining-01-page-theme main .pagination button:disabled{color:#b5bfb8;background:#f5f7f5}
.remaining-01-custom-head{padding:28px 0;margin:0 0 28px;background:radial-gradient(at 50% 100%,#e0f4e9,transparent 70%),linear-gradient(120deg,#f8fcfa,#f0f9f3);box-shadow:0 0 0 100vmax #f0f9f3;clip-path:inset(0 -100vmax)}
/* Image-to-PDF uses the same input/result workbench as PDF-to-JPG. */
body.remaining-01-page-theme[data-tool="image-to-pdf"] #tool-workbench{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:start}
body.remaining-01-page-theme[data-tool="image-to-pdf"] .image-pdf-drop{display:block;min-height:154px;padding:0}
body.remaining-01-page-theme[data-tool="image-to-pdf"] .image-pdf-drop .upload-browse{width:auto;min-height:0}
body.remaining-01-page-theme[data-tool="image-to-pdf"] .image-pdf-collection{padding:0;border:0;border-radius:0;background:transparent}
body.remaining-01-page-theme[data-tool="image-to-pdf"] .image-pdf-collection:has(.image-pdf-list:empty){display:none}
body.remaining-01-page-theme[data-tool="image-to-pdf"] .image-pdf-settings{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){body.remaining-01-page-theme[data-tool="image-to-pdf"] .image-pdf-settings{grid-template-columns:minmax(0,1fr)}}
@media(max-width:820px){body.remaining-01-page-theme[data-tool="image-to-pdf"] #tool-workbench{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){body.remaining-01-page-theme[data-tool="image-to-pdf"] .image-pdf-drop .upload-browse{width:100%}}
