/* PDFmall presentation only. The processing stack and other brands keep their own styles. */
html[data-brand="pdfmall"] {
  --pm-brand:#008b76;--pm-action:#007663;--pm-action-hover:#005e50;
  --pm-ink:#18384a;--pm-muted:#5b6f77;--pm-soft:#edf7f4;--pm-border:#d9e7e3;
  --pm-paper:#fff;--pm-canvas:#f7faf9;--pm-focus:#008b76;--pm-amber:#b78943;
  --blue:var(--pm-action);--blue-dark:var(--pm-action-hover);--teal:var(--pm-brand);
  --ink:var(--pm-ink);--muted:var(--pm-muted);--line:var(--pm-border);--pale:var(--pm-soft);--wash:var(--pm-canvas);--cyan:#b9e4d6;
  --brand:var(--pm-action);--brand-hover:var(--pm-action-hover);--brand-soft:var(--pm-soft);
}
html[data-brand="pdfmall"] body {background:var(--pm-canvas);color:var(--pm-ink)}
html[data-brand="pdfmall"] main[role="main"] {background:var(--pm-canvas)}
html[data-brand="pdfmall"] :is(.header,.navbar.bg-light) {background:#fff!important;box-shadow:0 1px 0 var(--pm-border),0 3px 14px #18384a05}
html[data-brand="pdfmall"] :is(.main-menu .nav li a,.main-menu .nav li>span,.language-toggle) {color:var(--pm-ink)}
html[data-brand="pdfmall"] :is(.main-menu .nav li a:hover,.main-menu .nav li>span:hover,.dropdown-item:hover) {color:var(--pm-action);background-color:var(--pm-soft)}
html[data-brand="pdfmall"] .main-menu .nav li ul.menu-full {border-top-color:var(--pm-brand);box-shadow:0 10px 32px #18384a14}
html[data-brand="pdfmall"] :is(.dropdown-menu,.header .menu-full) {border-color:var(--pm-border)}
html[data-brand="pdfmall"] :is(a,button,summary,input,select,textarea):focus-visible {outline-color:var(--pm-focus);outline-offset:3px}

/* A quiet mint canvas lets the brand mark and the actual work remain prominent. */
html[data-brand="pdfmall"] .home-title {background:radial-gradient(ellipse at 85% 10%,#e1f1e8 0,transparent 48%),linear-gradient(115deg,#eaf6f2,#f8fbfa 62%,#eef5f7);border-bottom:1px solid var(--pm-border)}
html[data-brand="pdfmall"] .home-title .title {color:var(--pm-ink)}
html[data-brand="pdfmall"] .home-title .subtitle {color:var(--pm-muted)}
html[data-brand="pdfmall"] .tools__container {border-color:var(--pm-border);box-shadow:0 12px 36px #18384a0a;border-radius:16px;overflow:hidden}
html[data-brand="pdfmall"] .tools__item {border-color:#e5eeeb;background:#fff}
html[data-brand="pdfmall"] .tools__item:hover {background:var(--pm-soft)}
html[data-brand="pdfmall"] .tools__item a {color:var(--pm-ink)}
html[data-brand="pdfmall"] .tools__item .pdfmall-tool-title {font-size:18px;font-weight:540;line-height:24px;letter-spacing:0;color:var(--pm-ink);margin:0 0 12px}
html[data-brand="pdfmall"] .tools__item__content {color:var(--pm-muted)}
html[data-brand="pdfmall"] .pdfmall-home-content {color:var(--pm-muted)}
html[data-brand="pdfmall"] .pdfmall-home-content :is(h2,h3) {color:var(--pm-ink)}
html[data-brand="pdfmall"] :is(.pdfmall-home-categories>div,.pdfmall-home-content details) {border-color:var(--pm-border)}
html[data-brand="pdfmall"] .pdfmall-home-categories>div {border-top-color:#9ccfc1}
html[data-brand="pdfmall"] .pdfmall-home-free {background:var(--pm-soft);border:1px solid var(--pm-border)}

/* Shared upload/process controls; status colors and the contents of files are not themed. */
html[data-brand="pdfmall"] :is(.btn-select-file,.btn-select-file-split,.local-button,.local-button-html,.html-button,.btn-primary,.uploader__btn,#btn-download-result,.btn__icon),
html[data-brand="pdfmall"] :is(#processTask,#save-state,#sign-finalize,button).site-process-button,
html[data-brand="pdfmall"] :is(.sign-landing--content #sign-choose-pdf,.sign-dropbox-button) {
  background:var(--pm-action);border-color:var(--pm-action);color:#fff;
  box-shadow:0 4px 12px #0076631c;
}
html[data-brand="pdfmall"] :is(.btn-select-file,.btn-select-file-split,.local-button,.local-button-html,.html-button,.btn-primary,.uploader__btn,#btn-download-result,.btn__icon):hover,
html[data-brand="pdfmall"] :is(#processTask,#save-state,#sign-finalize,button).site-process-button:enabled:hover,
html[data-brand="pdfmall"] :is(.sign-landing--content #sign-choose-pdf,.sign-dropbox-button):hover {background:var(--pm-action-hover);border-color:var(--pm-action-hover);color:#fff}
html[data-brand="pdfmall"] #processTask.invalid {background:#dfe8e5;color:#62756f;box-shadow:none}
html[data-brand="pdfmall"] :is(#btn_select_dropbox,#btn_select_google_drive) {background:var(--pm-action);color:#fff}
html[data-brand="pdfmall"] :is(#btn_select_dropbox,#btn_select_google_drive):hover {background:var(--pm-action-hover)}
html[data-brand="pdfmall"] :is(#processTask,button).site-process-button.cta-pulse-idle:enabled::after {animation-name:pdfmall-action-pulse}
@keyframes pdfmall-action-pulse {0%,35%,100%{box-shadow:0 0 0 0 #008b7600}45%{box-shadow:0 0 0 0 #008b7630}65%{box-shadow:0 0 0 8px #008b7600}}
html[data-brand="pdfmall"] :is(.tool__sidebar,.option__panel,#sidebar) {border-color:var(--pm-border)}
html[data-brand="pdfmall"] :is(.nav-tabs .nav-link.active,.option__image__item.option--active,.option__select__item.option--active) {background:var(--pm-soft);border-color:var(--pm-brand);color:var(--pm-action-hover)}
html[data-brand="pdfmall"] :is(input[type="checkbox"],input[type="radio"],input[type="range"]) {accent-color:var(--pm-action)}
html[data-brand="pdfmall"] .morepdf-loading-spinner {border-color:var(--pm-border);border-top-color:var(--pm-brand)}
html[data-brand="pdfmall"] :is(.header_title,.describe_main_title,.title-content,.option__panel__title) {color:var(--pm-ink)}
html[data-brand="pdfmall"] :is(.header_subtitle,.select-message,.upload-note) {color:var(--pm-muted)}

/* Landing-specific variables keep the existing component geometry. */
html[data-brand="pdfmall"] :is(#background-remover-landing,.text-removal,.shadow-content,.blur-content,.sky-content) {
  --blue:var(--pm-action);--blue-dark:var(--pm-action-hover);--cyan:#dff2ec;
  --ink:var(--pm-ink);--muted:var(--pm-muted);--line:var(--pm-border);--pale:var(--pm-soft);--warm:#f8f6ef;
  --tr-blue:var(--pm-action);--tr-ink:var(--pm-ink);--tr-muted:var(--pm-muted);--tr-pale:var(--pm-soft);
  --shadow-blue:var(--pm-action);--shadow-ink:var(--pm-ink);--shadow-muted:var(--pm-muted);--shadow-line:var(--pm-border);
}
html[data-brand="pdfmall"] :is(.bg-home-bg-gradient,.bg-home-bg-gradient-2) {background:radial-gradient(ellipse at 80% 10%,#e1f1e8,transparent 60%),linear-gradient(135deg,#f8fbfa,#edf7f4)}
html[data-brand="pdfmall"] .ai-tools-free :is(.hero-title,h2,h3) {color:var(--pm-ink)}
html[data-brand="pdfmall"] .ai-tools-free :is(.hero-description,.text-5C5D6B) {color:var(--pm-muted)}
html[data-brand="pdfmall"] .ai-tools-free .journey {background:var(--pm-ink);color:#fff}
html[data-brand="pdfmall"] .ai-tools-free .journey :is(h2,h3,p) {color:#fff}
html[data-brand="pdfmall"] .ai-tools-free .card-icon>div {background:linear-gradient(135deg,#e5f3ed,#edf4f5)}
html[data-brand="pdfmall"] .ai-tools-free :is(.card,.tool-card,.card-tool) {border-color:var(--pm-border);box-shadow:0 6px 22px #18384a06}
html[data-brand="pdfmall"] :is(.bg-F5F5FA,.bg-f5f5fa,.bg-F7F7FC) {background:var(--pm-canvas)}
html[data-brand="pdfmall"] .hero {background:linear-gradient(115deg,#eaf6f2,#f8fbfa 68%,#edf4f5)}
html[data-brand="pdfmall"] :is(.hero .eyebrow,.hero .badge,.free-card) {background:var(--pm-soft);border-color:var(--pm-border);color:var(--pm-action-hover)}
html[data-brand="pdfmall"] .status-dot {background:var(--pm-brand)}
html[data-brand="pdfmall"] :is(.hero .button,.closing-action .button,.feature-tabs button[aria-selected="true"]) {background:var(--pm-action);color:#fff;box-shadow:0 4px 14px #00766320}
html[data-brand="pdfmall"] :is(.hero .button:hover,.closing-action .button:hover) {background:var(--pm-action-hover)}
html[data-brand="pdfmall"] :is(.features,.guide-lilac,.guide-mint,.step-upload,.feature-tabs) {background:var(--pm-soft)}
html[data-brand="pdfmall"] .guide-peach {background:#f7f3e9}
html[data-brand="pdfmall"] :is(.guide-upload-chip,.guide-apply,.guide-download-chip) {background:var(--pm-action);color:#fff}
html[data-brand="pdfmall"] :is(.hero-points,.section-intro,.case-copy p,.feature-number) {color:var(--pm-muted)}
html[data-brand="pdfmall"] .closing-section {background:var(--pm-ink);color:#fff}
html[data-brand="pdfmall"] .closing-section :is(h2,p,.eyebrow) {color:#fff}
html[data-brand="pdfmall"] .closing-section .button-white {background:#fff;color:var(--pm-action-hover)}

/* Supporting content uses the same ink, links and understated section panels. */
html[data-brand="pdfmall"] :is(.pdf-word-seo,.edit-pdf-seo,.convert-landing-content,.content_describe) {color:var(--pm-ink)}
html[data-brand="pdfmall"] :is(.pdf-word-seo a,.edit-pdf-seo a,.convert-landing-content a,.pdfmall-home-links a,[class$="-context-link"] a) {color:var(--pm-action-hover)}
html[data-brand="pdfmall"] :is(.pdf-word-seo #faq summary:hover,.edit-pdf-seo #faq summary:hover,.pdf-text-eyebrow,.convert-content-eyebrow) {color:var(--pm-action)}
html[data-brand="pdfmall"] :is(.convert-content-visual,.convert-content-facts,.content_steps) {background:var(--pm-soft);border-color:var(--pm-border)}
html[data-brand="pdfmall"] .convert-content-howto li::before {background:var(--pm-action);color:#fff}
html[data-brand="pdfmall"] :is(.formula-content,.formula-guide) {--brand:var(--pm-action);--brand-hover:var(--pm-action-hover);--brand-soft:var(--pm-soft);--ui-accent:var(--pm-action);--ui-ink:var(--pm-ink);--ui-muted:var(--pm-muted);--ui-border:var(--pm-border)}
html[data-brand="pdfmall"] .formula-content :is(.hero,.workflow-band,.review-section),
html[data-brand="pdfmall"] :is(.guide-uploader,.guide-cta,.guide-toc,.usecase-card) {background:var(--pm-soft);border-color:var(--pm-border)}
html[data-brand="pdfmall"] .formula-content :is(.upload-zone,.review-example) {border-color:#a9d6ca}
html[data-brand="pdfmall"] .formula-content .subject-mark {background:var(--pm-soft);color:var(--pm-action)}

html[data-brand="pdfmall"] .footer-main {background:#eef5f2;border-top:1px solid var(--pm-border)}
html[data-brand="pdfmall"] .footer-main__title {color:var(--pm-ink)}
html[data-brand="pdfmall"] .footer-main__nav a {color:var(--pm-action-hover)}
html[data-brand="pdfmall"] .footer-main__nav a:hover {color:var(--pm-ink)}
html[data-brand="pdfmall"] .separator {border-color:var(--pm-border);background-color:var(--pm-border)}
@media(prefers-reduced-motion:reduce){html[data-brand="pdfmall"] :is(#processTask,button).site-process-button.cta-pulse-idle:enabled::after{animation:none}}
@media(max-width:62em){html[data-brand="pdfmall"] .tools__item .pdfmall-tool-title{line-height:26px}}
@media(max-width:767px){
  html[data-brand="pdfmall"] .header>.brand{display:none}
  html[data-brand="pdfmall"] #effect-heading span{white-space:normal}
}
@media(max-width:460px){html[data-brand="pdfmall"] .tools__item .pdfmall-tool-title{margin-bottom:4px}}
