/* PDFInsert desktop Guide / Tips / FAQ (v239).
 * Mobile and the original editing controls remain untouched. */
@media(min-width:1100px){
 #editor-panel.pdfi-v239-help-active .file-meta{display:block!important;margin:3px 0 12px!important;font-size:11px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
 #editor-panel.pdfi-v239-help-active{overflow-y:auto!important;}
 /* v235 may still be referenced by a cached WordPress block: never let it hide v239. */

 #editor-panel.pdfi-v239-help-active #pdfi-edit-help-v239{display:block!important;box-sizing:border-box;width:100%;max-width:100%;padding:0 0 8px!important;margin:0!important;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#23153e;}
 #pdfi-edit-help-v239 *{box-sizing:border-box}
 #pdfi-edit-help-v239 [hidden]{display:none!important}
 #pdfi-edit-help-v239 .pdfi-help-head{margin:0 0 12px;padding:5px 1px 2px}
 #pdfi-edit-help-v239 .pdfi-help-headline{display:flex;align-items:flex-start;gap:9px}
 #pdfi-edit-help-v239 .pdfi-help-head-icon{display:flex;align-items:center;justify-content:center;flex:none;width:31px;height:31px;border-radius:9px;background:#eee5ff;color:#6d28d9;font-size:19px}
 #pdfi-edit-help-v239 .pdfi-help-head h3{font-size:16px!important;line-height:1.3!important;letter-spacing:-.3px;font-weight:800!important;margin:0 0 3px!important;color:#38116e!important}
 #pdfi-edit-help-v239 .pdfi-help-head p{font-size:11.5px!important;line-height:1.5!important;color:#78688c;margin:0!important}
 /* v2.4.9: paragraph switch is permanently located next to FIT (engine v276).
    Retain Word-like reopening inside Editing, not the paragraph selector. */
 #pdfi-edit-help-v239 .pdfi-help-mark-actions{display:flex;align-items:center;gap:6px;margin:0 0 10px}
 #pdfi-edit-help-v239 .pdfi-help-reopen{padding:8px 10px!important;border-radius:8px!important;border:1px solid #b7a0e6!important;background:#f0e9ff!important;color:#6524ba!important;font-size:11px!important;font-weight:750!important;cursor:pointer!important}
 #editor-panel.pdfi-v239-help-active #pdfi-area-btn{display:none!important}
 #pdfi-edit-help-v239 .pdfi-help-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:4px;background:#f1ecf9;border:1px solid #e8dff6;border-radius:10px;margin-bottom:12px}
 #pdfi-edit-help-v239 .pdfi-help-tabs button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:32px;margin:0!important;padding:6px 1px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#615471!important;font-size:12px!important;font-weight:700!important;line-height:1.1!important;box-shadow:none!important;cursor:pointer!important}
 #pdfi-edit-help-v239 .pdfi-help-tabs button[aria-selected=true]{background:#fff!important;border-color:#dbcef7!important;color:#6d28d9!important;box-shadow:0 1px 4px #38226014!important}
 #pdfi-edit-help-v239 button:focus-visible,#pdfi-edit-help-v239 summary:focus-visible{outline:2px solid #7c3aed!important;outline-offset:2px!important}
 #pdfi-edit-help-v239 .pdfi-help-content{width:100%;min-width:0}
 #pdfi-edit-help-v239 .pdfi-help-card{display:block;width:100%;margin:0 0 12px;padding:11px 9px 10px;border:1px solid #e1d3f6;border-radius:12px;background:#fff;box-shadow:0 2px 8px #3524510c}
 #pdfi-edit-help-v239 .pdfi-help-card-header{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}
 #pdfi-edit-help-v239 .pdfi-help-step{display:flex;align-items:center;justify-content:center;flex:none;background:#7c3aed;color:white;border-radius:50%;width:24px;height:24px;font-size:12px;font-weight:800}
 #pdfi-edit-help-v239 .pdfi-help-card h4{color:#352052;font-size:12.5px!important;font-weight:800!important;line-height:1.3!important;margin:0 0 3px!important}
 #pdfi-edit-help-v239 .pdfi-help-card-header p{font-size:10.5px!important;line-height:1.4!important;color:#716580!important;margin:0!important}
 #pdfi-edit-help-v239 .pdfi-help-anim{background:#f9f7fc;border:1px solid #eae3f5;border-radius:9px;overflow:hidden;line-height:0}
 #pdfi-edit-help-v239 .pdfi-help-anim img{display:block;width:100%!important;height:auto!important;max-width:100%;aspect-ratio:760/452;object-fit:contain}
 #pdfi-edit-help-v239 .pdfi-help-steps{padding-left:19px!important;margin:9px 0 8px!important;font-size:11px!important;line-height:1.52!important;color:#413456!important}
 #pdfi-edit-help-v239 .pdfi-help-steps li{margin:4px 0!important;padding:0!important}
 #pdfi-edit-help-v239 .pdfi-help-hint{display:block;margin:0!important;padding:8px 9px!important;border-radius:8px;background:#f2fbf5;border:1px solid #d8f0df;color:#176943!important;font-size:10.5px!important;line-height:1.45!important}
 #pdfi-edit-help-v239 .pdfi-help-pane-title{font-size:13px!important;font-weight:800!important;color:#421c76!important;margin:0 0 10px!important}
 #pdfi-edit-help-v239 .pdfi-help-tips{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:8px}
 #pdfi-edit-help-v239 .pdfi-help-tips li{display:flex;align-items:flex-start;gap:9px;padding:10px 9px;border:1px solid #e4d8f5;background:#fff;border-radius:9px;list-style:none!important;margin:0!important}
 #pdfi-edit-help-v239 .pdfi-help-tips li>span{display:flex;align-items:center;justify-content:center;flex:none;width:19px;height:19px;background:#e4f8eb;color:#177642;border-radius:50%;font-weight:800;font-size:12px}
 #pdfi-edit-help-v239 .pdfi-help-tips strong{display:block;font-size:11.5px;line-height:1.3;color:#332155}
 #pdfi-edit-help-v239 .pdfi-help-tips p{margin:3px 0 0!important;font-size:10.7px!important;line-height:1.5!important;color:#685e79!important}
 #pdfi-edit-help-v239 .pdfi-help-faq-item{margin:0 0 8px;padding:0 10px;background:#fff;border:1px solid #e1d5f6;border-radius:9px;overflow:hidden}
 #pdfi-edit-help-v239 .pdfi-help-faq-item summary{list-style:auto;cursor:pointer;padding:11px 3px;color:#322253;font-weight:700;font-size:11.5px;line-height:1.4}
 #pdfi-edit-help-v239 .pdfi-help-faq-item[open] summary{color:#6427a7}
 #pdfi-edit-help-v239 .pdfi-help-faq-item p{padding:0 4px 10px;margin:0!important;font-size:11px!important;color:#635875!important;line-height:1.55!important}
 #pdfi-edit-help-v239 .pdfi-help-restore{border-top:1px solid #e9dff4;margin-top:6px;padding:11px 0 8px;text-align:center}
 #pdfi-edit-help-v239 .pdfi-help-restore button{width:100%;display:block;border:1px solid #d9c7fc!important;border-radius:8px!important;background:#f5efff!important;color:#6331ad!important;font-weight:700!important;font-size:11px!important;padding:8px 5px!important;cursor:pointer}
 #pdfi-edit-help-v239 .pdfi-help-restore p{font-size:10.4px!important;line-height:1.4!important;color:#7a6c8b!important;margin:6px 0 0!important}
 #pdfi-edit-help-v239 .pdfi-help-utility{border-top:1px solid #e4dbf2;margin-top:5px;padding-top:12px;display:flex;gap:7px;justify-content:space-between}
 #pdfi-edit-help-v239 .pdfi-help-utility button{flex:1 1 0;min-width:0;padding:8px 3px!important;border:1px solid #e3d5ff!important;border-radius:8px!important;background:#f9f5ff!important;color:#6427b3!important;font-size:11px!important;font-weight:700!important;line-height:1.2!important;box-shadow:none!important;cursor:pointer!important}
 #pdfi-edit-help-v239 .pdfi-help-utility #pdfi-help-delete{background:#fff!important;color:#b42338!important;border-color:#f6d7db!important}
 #pdfi-edit-help-v239 .pdfi-help-utility button:disabled{opacity:.45;cursor:not-allowed!important}
 #pdfi-edit-help-v239 .pdfi-help-footer{color:#9688a4;font-size:10.4px;line-height:1.45;margin:10px 0 0!important;text-align:center}
}
@media(max-width:1099px){#pdfi-edit-help-v239{display:none!important}}

/* v239: native right-hand controls are always visible below help. */
@media(min-width:1100px){
 #editor-panel #pdfi-edit-help-v239{display:block!important;margin:8px 0 14px!important;padding:11px!important;border:1px solid #e1d3fc!important;border-radius:11px!important;background:#fcfaff!important;max-width:100%!important}
 #pdfi-edit-help-v239 h3 small{font-size:9px;color:#9674c5;vertical-align:middle;font-weight:600}
 #pdfi-edit-help-v239 .pdfi-help-collapse{margin-left:auto;align-self:center;flex-shrink:0;padding:6px 7px!important;border:1px solid #ded2f2!important;background:#fff!important;color:#6d28d9!important;border-radius:7px!important;font-size:10px!important;font-weight:650!important;line-height:1.2!important;cursor:pointer}
 #pdfi-edit-help-v239 #pdfi-help-guide-content[hidden]{display:none!important}
 #editor-panel #pdfi-edit-help-v239[hidden]{display:none!important}
 #pdfi-edit-help-v239 .pdfi-help-faq-item summary{list-style:none!important;display:flex;align-items:center;gap:6px}
 #pdfi-edit-help-v239 .pdfi-help-faq-item summary::-webkit-details-marker{display:none}
 #pdfi-edit-help-v239 .pdfi-help-faq-item summary:before{content:'▸';color:#7c3aed;font-size:11px;flex:none}
 #pdfi-edit-help-v239 .pdfi-help-faq-item[open] summary:before{content:'▾'}
 #pdfi-edit-help-v239 .pdfi-help-original-note{font-size:10.5px!important;color:#7a6c8b!important;text-align:center;margin:9px 0!important}
 #pdfi-edit-help-v239 .pdfi-help-utility{margin-top:8px}
}

/* v240 — Desktop editor has a special hidden #v5-left column in Edit Text.
 * The native editor makes it invisible (v14-hide-edit-panel), but earlier help
 * CSS still reserved 230px for it. Collapse it completely ONLY when hidden.
 * Visible native tool panels in other modes keep their original layout.
 * Do not apply to upload form or mobile view.
 */
@media (min-width:1100px){
  #main-form-card:not(.has-file) #workspace.pdfi-help-wide-layout,
  #main-form-card:not(.has-file) #editor-panel #pdfi-edit-help-v239 {display:none!important}

  /* Narrow native tool column if it is actually visible. */
  #main-form-card.has-file #workspace.pdfi-help-wide-layout {
    display:grid!important;
    grid-template-columns:155px minmax(0,1fr) min(var(--pdfi-guide-sidebar-width,550px),max(350px,calc(100% - 155px - 450px - 20px)))!important;
    column-gap:10px!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  #main-form-card.has-file #workspace.pdfi-help-wide-layout > #v5-left {
    grid-column:1!important;grid-row:1!important;
    width:155px!important;min-width:0!important;max-width:155px!important;
  }
  #main-form-card.has-file #workspace.pdfi-help-wide-layout > .workspace-left {
    grid-column:2!important;grid-row:1!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    display:grid!important;overflow:visible!important;box-sizing:border-box!important;
  }
  #main-form-card.has-file #workspace.pdfi-help-wide-layout > #editor-panel {
    grid-column:3!important;grid-row:1!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    margin-left:0!important;box-sizing:border-box!important;
  }
  #main-form-card.has-file #workspace.pdfi-help-wide-layout > .panel-backdrop {display:none!important}

  /* Editing text: left native column is hidden by editor, remove empty track.
     :has() works in current Chrome, Firefox and Safari. Also works when the
     optional native column is entirely absent. */
  #main-form-card.has-file #workspace.pdfi-help-wide-layout:not(:has(> #v5-left:not(.v14-hide-edit-panel))) {
    grid-template-columns:minmax(0,1fr) min(var(--pdfi-guide-sidebar-width,550px),max(350px,calc(100% - 460px)))!important;
  }
  #main-form-card.has-file #workspace.pdfi-help-wide-layout > #v5-left.v14-hide-edit-panel {
    display:none!important;width:0!important;min-width:0!important;
    margin:0!important;padding:0!important;border:0!important;
  }
  #main-form-card.has-file #workspace.pdfi-help-wide-layout:not(:has(> #v5-left:not(.v14-hide-edit-panel))) > .workspace-left {
    grid-column:1!important;
  }
  #main-form-card.has-file #workspace.pdfi-help-wide-layout:not(:has(> #v5-left:not(.v14-hide-edit-panel))) > #editor-panel {
    grid-column:2!important;
  }
  #main-form-card.has-file #workspace.pdfi-help-wide-layout > .workspace-left .preview-stage {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    min-width:0!important;padding:4px!important;
  }
  #editor-panel.pdfi-v239-help-active #pdfi-edit-help-v239 .pdfi-help-anim img {
    width:100%!important;max-width:100%!important;height:auto!important;
  }
  #editor-panel.pdfi-v239-help-active #pdfi-edit-help-v239 .pdfi-help-card{padding:13px!important}
  #editor-panel.pdfi-v239-help-active #pdfi-edit-help-v239 .pdfi-help-card h4{font-size:14px!important}
  #editor-panel.pdfi-v239-help-active #pdfi-edit-help-v239 .pdfi-help-steps{font-size:12px!important}
}
/* The native mobile editor is never changed by the wide layout. */


/* v241 — Native desktop tool column safety. When a real toolbox is visible
 * (Insert / Shapes / Annotate / Forms), give it its original FULL 230px track.
 * The v240 narrow 155px track could let the gray preview cover a wider white
 * toolbox card. Keep the Edit Text viewer/550px help layout unchanged.
 */
@media(min-width:1100px){
 #main-form-card.has-file #workspace.pdfi-help-native-tools-layout:not(.pdfi-help-wide-layout){
   display:grid!important;
   grid-template-columns:230px minmax(0,1fr) 300px!important;
   column-gap:14px!important;
   align-items:start!important;
   width:100%!important;max-width:100%!important;
   box-sizing:border-box!important;
 }
 #main-form-card.has-file #workspace.pdfi-help-native-tools-layout:not(.pdfi-help-wide-layout)>#v5-left{
   grid-column:1!important;grid-row:1!important;
   width:230px!important;min-width:0!important;max-width:230px!important;
   box-sizing:border-box!important;position:relative!important;
   z-index:2!important;overflow-x:hidden!important;
 }
 #main-form-card.has-file #workspace.pdfi-help-native-tools-layout:not(.pdfi-help-wide-layout)>.workspace-left{
   grid-column:2!important;grid-row:1!important;
   min-width:0!important;max-width:100%!important;width:100%!important;
   box-sizing:border-box!important;position:relative!important;
   z-index:1!important;overflow-x:hidden!important;
 }
 #main-form-card.has-file #workspace.pdfi-help-native-tools-layout:not(.pdfi-help-wide-layout)>#editor-panel{
   grid-column:3!important;grid-row:1!important;
   min-width:0!important;max-width:100%!important;width:100%!important;
   box-sizing:border-box!important;
 }
 #workspace.pdfi-help-native-tools-layout #v5-left .v5-left-section,
 #workspace.pdfi-help-native-tools-layout #v5-left .v5-left-section button{
   box-sizing:border-box!important;max-width:100%!important;min-width:0!important;
 }
 #workspace.pdfi-help-native-tools-layout>.workspace-left .preview-stage{
   width:100%!important;max-width:100%!important;box-sizing:border-box!important;
 }
}

/* v252: public static SEO copy, light treatment matching the existing editor. */
.pdfi-eh-public-seo{box-sizing:border-box;max-width:1160px;margin:28px auto;padding:22px 26px;background:#fff;border:1px solid #ede5fb;border-radius:12px;color:#343343;font-size:15px;line-height:1.65;}
.pdfi-eh-public-seo h2{font-size:24px;margin:0 0 10px;color:#4c1d95}.pdfi-eh-public-seo h3{font-size:19px;margin:22px 0 9px;color:#5b21b6}
.pdfi-eh-public-seo ol,.pdfi-eh-public-seo ul{padding-left:24px;margin:10px 0}.pdfi-eh-public-seo li{margin-bottom:7px}
@media(max-width:600px){.pdfi-eh-public-seo{padding:16px;margin:18px 8px}.pdfi-eh-public-seo h2{font-size:21px}}

/* v244: Always-accessible Guide, Tips, FAQ, Editing tab and docked native controls */
@media(min-width:1100px){
 #pdfi-edit-help-v239 .pdfi-help-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;position:sticky;top:0;z-index:55;background:#f1ecf9}
 #pdfi-edit-help-v239 .pdfi-help-tabs button{font-size:11px!important;padding:7px 2px!important}
 #pdfi-edit-help-v239 #pdfi-help-collapse{display:none!important}
 #editor-panel #pdfi-edit-help-v239{display:block!important}
 #pdfi-help-editing-mount{display:block;width:100%;min-width:0}
 #pdfi-help-editing-mount:empty{min-height:0}
 #pdfi-help-editing .pdfi-help-editing-empty{display:block;background:#f9f6ff;border:1px dashed #d8c6fa;border-radius:10px;padding:16px 12px;color:#6a5d81;font-size:12px;line-height:1.5}
 #pdfi-edit-help-v239.pdfi-help-has-controls .pdfi-help-editing-empty{display:none!important}
 /* Native text toolbar elements are placed here, not cloned. Their actual event handlers continue to work. */
 #pdfi-help-editing-mount #pdfi-direct-toolbar,
 #pdfi-help-editing-mount #pdfi-flow-toolbar{
  display:flex!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;transform:none!important;
  margin:0 0 12px!important;padding:13px 10px 12px!important;
  border:1px solid #e7def9!important;border-radius:12px!important;
  background:#fff!important;box-shadow:none!important;
  gap:8px!important;row-gap:10px!important;align-items:center!important;align-content:flex-start!important;
  justify-content:flex-start!important;flex-wrap:wrap!important;
  white-space:normal!important;z-index:1!important;overflow:visible!important;
 }
 #pdfi-help-editing-mount #pdfi-direct-toolbar:before,
 #pdfi-help-editing-mount #pdfi-flow-toolbar:before{content:'Text Properties';display:block;flex:1 1 100%;width:100%;color:#281646;font:750 15px/1.3 Arial,sans-serif;margin:0 0 6px;padding:0 0 9px;border-bottom:1px solid #eee7f7}
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-font,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-font{width:100%!important;max-width:100%!important;flex:1 1 100%!important}
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-size,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-font-label,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-v248-line-spacing-label,
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-mini-width{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:1 1 100%!important;min-width:0!important}
 #pdfi-help-editing-mount #pdfi-direct-toolbar #pdfi-direct-font-size{width:78px!important}
 #pdfi-help-editing-mount #pdfi-flow-toolbar #pdfi-flow-font-size{width:70px!important}
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-spacing{min-width:72px!important}
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-done,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-save{min-width:90px!important;flex:1 1 100%!important;order:99;background:#7c3aed!important;color:white!important;border-color:#7c3aed!important}
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-delete,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-delete{order:98}
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-delete{min-width:96px!important;padding:0 10px!important;white-space:nowrap!important}
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-cancel{order:100;flex:1 1 100%!important}
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-undo{order:97}
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-dot{flex-shrink:0!important}
 #pdfi-help-editing-mount #v5-props{max-width:100%!important;width:100%!important;margin:0!important}
 #pdfi-help-editing-mount #v5-props:not(.has-object){display:none!important}
 #pdfi-help-editing-mount:has(#pdfi-direct-toolbar,#pdfi-flow-toolbar) #v5-props{display:none!important}
 /* Object properties remain their original controls (no proxy/duplicate listeners). */
 #editor-panel.v251-image-focused #pdfi-help-editing-mount #v5-props{display:block!important}
}


/* v245: Cleaner editing tab. All native actions remain wired; desktop presentation only. */
@media (min-width:1100px){
 /* The old underlying edit controls stay in the DOM for compatibility, but
    disappear visually because the same active controls now live in Editing. */
 #editor-panel.pdfi-v239-help-active > .tool-modes,
 #editor-panel.pdfi-v239-help-active > .add-mode-hint,
 #editor-panel.pdfi-v239-help-active > .panel-title,
 #editor-panel.pdfi-v239-help-active > .option-label,
 #editor-panel.pdfi-v239-help-active > .side-actions,
 #editor-panel.pdfi-v239-help-active > .pdfi-existing-controls,
 #editor-panel.pdfi-v239-help-active > #color-row,
 #editor-panel.pdfi-v239-help-active > #edit-size,
 #editor-panel.pdfi-v239-help-active > #edit-text,
 #editor-panel.pdfi-v239-help-active > #ok-panel-btn,
 #editor-panel.pdfi-v239-help-active > #text-edit-actions,
 #editor-panel.pdfi-v239-help-active > .hint{display:none!important;}
 #editor-panel.pdfi-v239-help-active #pdfi-edit-help-v239 .pdfi-help-footer,
 #editor-panel.pdfi-v239-help-active #pdfi-edit-help-v239 .pdfi-help-original-note{display:none!important;}

 /* Circular color swatches, equal sizing, unobstructed color-picker. */
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-dot,
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-custom,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-color,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-custom-picker{
   flex:0 0 27px!important;width:27px!important;min-width:27px!important;max-width:27px!important;
   height:27px!important;min-height:27px!important;max-height:27px!important;
   padding:0!important;margin:0!important;border-radius:50%!important;
   aspect-ratio:1/1!important;box-sizing:border-box!important;
 }
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-dot,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-color{
  border:2px solid #fff!important;box-shadow:0 0 0 1px #a69bb8!important;
 }
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-custom,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-custom-picker{
  border:1px solid #c4b5fd!important;box-shadow:none!important;
 }
 /* A clearly grouped font size stepper: minus, editable number, plus. */
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-size,
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-font-label{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex:1 1 100%!important;gap:10px!important;margin:3px 0!important;
  font-size:12px!important;font-weight:700!important;color:#4c1d95!important;
 }
 #pdfi-help-editing-mount .pdfi-font-stepper{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;gap:0!important;border:1px solid #cbb9ef!important;
  border-radius:9px!important;background:#fff!important;overflow:hidden!important;
  box-shadow:0 1px 3px rgba(91,33,182,.05)!important;
 }
 #pdfi-help-editing-mount .pdfi-font-stepper input[type=number]{
  display:inline-block!important;flex:0 0 53px!important;width:53px!important;min-width:53px!important;
  height:35px!important;min-height:35px!important;margin:0!important;padding:2px 5px!important;
  border:0!important;border-left:1px solid #ebe5f5!important;border-right:1px solid #ebe5f5!important;
  border-radius:0!important;background:#fff!important;box-shadow:none!important;
  text-align:center!important;appearance:textfield!important;-moz-appearance:textfield!important;
 }
 #pdfi-help-editing-mount .pdfi-font-stepper input::-webkit-outer-spin-button,
 #pdfi-help-editing-mount .pdfi-font-stepper input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}
 #pdfi-help-editing-mount .pdfi-font-stepper .pdfi-font-step{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;
  height:35px!important;min-height:35px!important;margin:0!important;padding:0!important;
  background:#f6f1ff!important;border:0!important;border-radius:0!important;
  color:#6024aa!important;font:700 19px/1 Arial,sans-serif!important;cursor:pointer!important;
 }
 #pdfi-help-editing-mount .pdfi-font-stepper .pdfi-font-step:hover,
 #pdfi-help-editing-mount .pdfi-font-stepper .pdfi-font-step:focus-visible{background:#e9ddff!important;color:#4c1d95!important;}
 /* Text width buttons are a compact pair instead of opposite sides. */
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-mini-width{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex:1 1 100%!important;width:100%!important;gap:8px!important;margin-top:2px!important;padding:0!important;
 }
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-mini-width small{
  font-size:12px!important;font-weight:700!important;color:#4c1d95!important;
 }
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-width-steps{
  display:inline-flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important;
 }
 #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-width-steps button{
  flex:0 0 34px!important;width:34px!important;min-width:34px!important;
  height:32px!important;min-height:32px!important;border-radius:7px!important;
 }
}


/* v246: All four paragraph alignment controls in one row below the palette.
   Only reorganizes existing buttons; mobile/editor actions unchanged. */
@media (min-width:1100px){
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-paragraph-align-row{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:flex-start!important;
  flex:1 1 100%!important;width:100%!important;min-width:0!important;
  gap:7px!important;padding:3px 0!important;margin:0!important;
  border:0!important;box-sizing:border-box!important;
 }
 #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-paragraph-align-row .pdfi-flow-align{
  display:inline-flex!important;flex:0 0 35px!important;
  width:35px!important;min-width:35px!important;max-width:35px!important;
  height:35px!important;min-height:35px!important;
  padding:4px!important;margin:0!important;align-items:center!important;
  justify-content:center!important;
 }
}


/* PDFInsert Editing Help v2.4.10 — Sidebar without redundant actions.
   Desktop-only visual cleanup. Native action handlers, automatic commits,
   original toolbar controls and responsive/mobile editor remain unchanged.
   Do not remove the underlying nodes: the editor's asynchronous font-save
   flow may need its Apply button internally while completing a font load. */
@media (min-width:1100px){
  #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-delete,
  #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-done,
  #pdfi-help-editing-mount #pdfi-direct-toolbar .pdfi-direct-cancel,
  #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-undo,
  #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-delete,
  #pdfi-help-editing-mount #pdfi-flow-toolbar .pdfi-flow-save{
    display:none!important;
  }
  /* Secondary Undo/Delete footer underneath Guide/Tips/FAQ is also duplicate.
     The buttons next to FIT remain the visible global actions. */
  #editor-panel.pdfi-v239-help-active #pdfi-edit-help-v239 .pdfi-help-utility{
    display:none!important;
  }
  /* Eliminate empty padding/gaps after removing the full-width action rows. */
  #pdfi-help-editing-mount #pdfi-direct-toolbar,
  #pdfi-help-editing-mount #pdfi-flow-toolbar{
    padding-bottom:13px!important;
  }
}


/* PDFInsert v302 - Edición móvil, controles compactos.
   Solo presentación (<=1099px). NO modifica el motor de texto o eventos. */
@media screen and (max-width:1099px) {
  /* Separación y orden en la zona de formato; mantiene SELECT y las acciones. */
  html body #workspace #editor-panel .side-actions {
    display:flex!important;
    flex-flow:row wrap!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:9px 10px!important;
    margin:8px 0 11px!important;
  }
  /* Evita que Bold e Italic ocupen cada uno media pantalla. */
  html body #workspace #editor-panel #btn-bold,
  html body #workspace #editor-panel #btn-italic {
    display:inline-flex!important;
    flex:0 0 72px!important;
    width:72px!important;
    min-width:72px!important;
    max-width:72px!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    margin:0!important;
    padding:0 10px!important;
    box-sizing:border-box!important;
    justify-content:center!important;
    align-items:center!important;
    border-radius:9px!important;
    font-size:13px!important;
    line-height:1!important;
  }
  /* Los botones de modo también necesitan aire, sin cambiar su lógica. */
  html body #workspace #editor-panel .tool-modes {
    flex-wrap:wrap!important;
    gap:8px!important;
    margin:5px 0 10px!important;
  }
  html body #workspace #editor-panel .tool-modes button {
    flex:0 0 auto!important;
    width:auto!important;
    max-width:100%!important;
    min-height:36px!important;
    padding:5px 12px!important;
    margin:0!important;
    border-radius:9px!important;
    box-sizing:border-box!important;
    font-size:12px!important;
  }
  /* Paleta: círculos ligeramente mayores y con una separación real entre ellos. */
  html body #workspace #editor-panel #color-row {
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    column-gap:9px!important;
    row-gap:11px!important;
    padding:5px 2px 9px!important;
    margin:4px 0 10px!important;
  }
  html body #workspace #editor-panel #color-row .color-dot {
    flex:0 0 20px!important;
    width:20px!important;
    min-width:20px!important;
    max-width:20px!important;
    height:20px!important;
    min-height:20px!important;
    max-height:20px!important;
    padding:0!important;
    margin:0!important;
    border-radius:50%!important;
    box-sizing:border-box!important;
  }
  html body #workspace #editor-panel #color-row .pdfi-custom-color,
  html body #workspace #editor-panel #color-row .pdfi-custom-color-trigger {
    flex:0 0 24px!important;
    width:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    padding:0!important;
    margin:0!important;
    border-radius:50%!important;
  }
  /* Acciones de historial: dos botones iguales con separación. */
  html body #workspace #editor-panel #pdfi-content-undo-row {
    display:flex!important;
    flex-flow:row wrap!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:10px!important;
    margin:9px 0 12px!important;
    padding:0 1px!important;
  }
  html body #workspace #editor-panel #pdfi-content-undo-row #btn-undo,
  html body #workspace #editor-panel #pdfi-content-undo-row #btn-redo {
    display:inline-flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:84px!important;
    max-width:124px!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 11px!important;
    margin:0!important;
    font-size:12px!important;
    line-height:1!important;
    border-radius:9px!important;
    box-sizing:border-box!important;
  }
}


/* PDFInsert v303: Font Size original junto a B/I solo en móvil.
   Se REUTILIZA el stepper existente del motor; no hay botones paralelos. */
@media screen and (max-width:1099px) {
  html body #workspace #editor-panel .side-actions #pdfinsert-mobile-font-stepper[data-pdfi-mobile-inline="1"] {
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:center!important;
    width:136px!important;
    min-width:0!important;
    max-width:136px!important;
    height:auto!important;
    margin:0 0 0 3px!important;
    padding:0!important;
    border:none!important;
    background:transparent!important;
    gap:3px!important;
    box-sizing:border-box!important;
  }
  html body #workspace #editor-panel .side-actions #pdfinsert-mobile-font-stepper .pdfinsert-mobile-font-stepper-label {
    display:block!important;
    margin:0!important;
    padding:0!important;
    font-size:10px!important;
    font-weight:600!important;
    line-height:12px!important;
    color:#5b4b76!important;
    white-space:nowrap!important;
  }
  html body #workspace #editor-panel .side-actions #pdfinsert-mobile-font-stepper .pdfinsert-mobile-font-stepper-controls {
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  html body #workspace #editor-panel .side-actions #pdfinsert-mobile-font-stepper #pdfinsert-font-minus,
  html body #workspace #editor-panel .side-actions #pdfinsert-mobile-font-stepper #pdfinsert-font-plus {
    flex:0 0 31px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:31px!important; min-width:31px!important; max-width:31px!important;
    height:32px!important; min-height:32px!important; max-height:32px!important;
    margin:0!important; padding:0!important;
    color:#6d28d9!important;
    background:#f3e8ff!important;
    border:1px solid #dcc7ff!important;
    border-radius:8px!important;
    box-shadow:none!important;
    line-height:1!important;
    font-size:17px!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
  }
  html body #workspace #editor-panel .side-actions #pdfinsert-mobile-font-stepper #pdfinsert-mobile-font-slider-value {
    flex:0 0 56px!important;
    display:inline-block!important;
    min-width:0!important;
    width:56px!important;
    text-align:center!important;
    font-size:12px!important;
    line-height:32px!important;
    font-weight:700!important;
    color:#302348!important;
    font-variant-numeric:tabular-nums!important;
    white-space:nowrap!important;
  }
}
@media screen and (max-width:390px) {
  html body #workspace #editor-panel .side-actions { gap:6px 7px!important; }
  html body #workspace #editor-panel #btn-bold,
  html body #workspace #editor-panel #btn-italic {
    flex-basis:62px!important;
    width:62px!important;min-width:62px!important;max-width:62px!important;
  }
  html body #workspace #editor-panel .side-actions #pdfinsert-mobile-font-stepper[data-pdfi-mobile-inline="1"] {
    width:128px!important;max-width:128px!important;margin-left:2px!important;
  }
  html body #workspace #editor-panel .side-actions #pdfinsert-mobile-font-stepper #pdfinsert-mobile-font-slider-value {
    flex-basis:48px!important;width:48px!important;
  }
}

/* PDFInsert v305: Option C — párrafo real en la barra superior móvil. */
#workspace .page-arrows #pdfi-v305-actions{display:inline-flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important;padding-left:6px!important;margin-left:4px!important;border-left:1px solid #d9c9fa!important;}
#workspace .page-arrows #pdfi-v305-actions .pdfi-v305-history{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:33px!important;min-width:33px!important;max-width:33px!important;height:31px!important;min-height:31px!important;max-height:31px!important;padding:0!important;margin:0!important;box-sizing:border-box!important;border:1px solid #dcc7ff!important;border-radius:9px!important;background:#f8f3ff!important;color:#6d28d9!important;font:700 21px/1 Arial,sans-serif!important;cursor:pointer!important;touch-action:manipulation!important;}
#workspace .page-arrows #pdfi-v305-actions .pdfi-v305-history:disabled{opacity:.42!important;cursor:default!important;}
#workspace .page-arrows #pdfi-v305-actions #pdfi-v305-paragraph{display:none;}
@media(min-width:1100px){
 html body #workspace #pdfi-v250-top-undo,html body #workspace #pdfi-v250-top-redo{display:none!important;}
}
/* v320: show the EXISTING Paragraph label on desktop mouse devices only.
   CSS-only change: original switch, click handlers, mobile layout and PDF engine stay untouched. */
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
 html body #workspace #pdfi-v276-paragraph-toggle{width:119px!important;max-width:119px!important;min-width:119px!important;padding:3px 6px!important;gap:5px!important;margin-left:3px!important;margin-right:3px!important;}
 html body #workspace #pdfi-v276-paragraph-toggle .pdfi-p276-label{display:inline-block!important;white-space:nowrap!important;font:700 10px/1 Arial,sans-serif!important;}
}
@media(max-width:1099px){
 html body #workspace .page-arrows{justify-content:flex-start!important;gap:4px!important;flex-wrap:nowrap!important;}
 html body #workspace .page-arrows .nav-btn{width:34px!important;min-width:34px!important;max-width:34px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;}
 html body #workspace .page-arrows #pdfi-v305-actions{gap:4px!important;padding-left:6px!important;margin-left:2px!important;}
 html body #workspace .page-arrows #pdfi-v305-actions #pdfi-v305-paragraph{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  width:57px!important;min-width:57px!important;max-width:57px!important;height:32px!important;min-height:32px!important;
  margin:0 0 0 3px!important;padding:3px 4px!important;box-sizing:border-box!important;
  background:#fff!important;border:1px solid #d8cdec!important;border-radius:8px!important;color:#635673!important;cursor:pointer!important;touch-action:manipulation!important;
 }
 html body #workspace .page-arrows #pdfi-v305-actions #pdfi-v305-paragraph[aria-pressed=true]{background:#fff2e5!important;border-color:#F0870F!important;color:#753809!important;}
 html body #workspace #pdfi-v305-paragraph .pdfi-v305-p-icon{font:700 14px/1 Arial,sans-serif!important;}
 html body #workspace #pdfi-v305-paragraph .pdfi-v305-p-switch{width:26px!important;height:15px!important;min-width:26px!important;display:inline-flex!important;align-items:center!important;box-sizing:border-box!important;padding:2px!important;border-radius:99px!important;background:#a6adbb!important;}
 html body #workspace #pdfi-v305-paragraph .pdfi-v305-p-knob{width:11px!important;height:11px!important;min-width:11px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 2px #3333!important;transition:transform .14s!important;}
 html body #workspace #pdfi-v305-paragraph[aria-pressed=true] .pdfi-v305-p-switch{background:#F0870F!important;}
 html body #workspace #pdfi-v305-paragraph[aria-pressed=true] .pdfi-v305-p-knob{transform:translateX(11px)!important;}
 html body #workspace .page-meta #pdfi-v276-paragraph-toggle,html body #workspace #pdfi-v304-paragraph-mobile{display:none!important;}
}

/* v306: selected-paragraph touch tools (no desktop changes). */
@media(max-width:1099px), (hover:none) and (pointer:coarse){
 #workspace #pdfi-v306-mobile-tools:not([hidden]){display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;box-sizing:border-box!important;padding:10px!important;margin:8px 0!important;border:1px solid #ded0f7!important;border-radius:10px!important;background:#fcfaff!important;color:#3f286b!important}
 #workspace #pdfi-v306-mobile-tools[hidden]{display:none!important}
 #pdfi-v306-mobile-tools .pdfi-v306-heading{font-weight:800;font-size:12px;color:#6d28d9}
 #pdfi-v306-mobile-tools .pdfi-v306-row{display:flex;align-items:center;gap:8px;justify-content:flex-end}
 #pdfi-v306-mobile-tools .pdfi-v306-row>span{font-size:12px;font-weight:650;margin-right:auto}
 #pdfi-v306-mobile-tools button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:35px!important;min-width:36px!important;padding:4px 8px!important;border:1px solid #d8c7ff!important;border-radius:8px!important;background:#f3e8ff!important;color:#6d28d9!important;font-size:18px!important;font-weight:750!important;box-sizing:border-box!important}
 #pdfi-v306-mobile-tools output{min-width:39px;text-align:center;font-size:12px;font-weight:700}
 #pdfi-v306-mobile-tools .pdfi-v306-align-title{font-size:12px;font-weight:650}
 #pdfi-v306-mobile-tools .pdfi-v306-align{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
 #pdfi-v306-mobile-tools .pdfi-v306-align button{width:100%!important;font-size:21px!important}
 #pdfi-v306-mobile-tools .pdfi-v306-align button.active{background:#7c3aed!important;color:white!important;border-color:#6d28d9!important}
 #pdfi-v306-mobile-tools .pdfi-v306-bars{width:21px;display:flex;flex-direction:column;gap:3px;align-items:flex-start}
 #pdfi-v306-mobile-tools .pdfi-v306-bars.center{align-items:center}
 #pdfi-v306-mobile-tools .pdfi-v306-bars.right{align-items:flex-end}
 #pdfi-v306-mobile-tools .pdfi-v306-bars i{display:block;height:2px;width:100%;background:currentColor;border-radius:2px}
 #pdfi-v306-mobile-tools .pdfi-v306-bars:not(.justify) i:nth-child(2){width:65%}
 #pdfi-v306-mobile-tools .pdfi-v306-tip{font-size:10.5px;line-height:1.45;color:#735991}
 .pdfi-block-mask-guide .pdfi-block-mask-handle{display:none!important}
 .pdfi-block-mask-guide .pdfi-v306-mobile-move{position:absolute!important;right:-13px!important;bottom:-17px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:36px!important;height:36px!important;border:2px solid #fff!important;border-radius:9px!important;background:#7c3aed!important;color:#fff!important;font:800 23px/1 Arial,sans-serif!important;box-shadow:0 0 0 1px #6d28d9!important;pointer-events:auto!important;touch-action:none!important;cursor:grab!important;z-index:900!important}
}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){#pdfi-v306-mobile-tools,.pdfi-v306-mobile-move{display:none!important}}

/* v307: touch paragraph, deliberately separate selection / move / resize / edit. */
@media(max-width:1099px), (hover:none) and (pointer:coarse){
 .pdfi-block-mask-guide .pdfi-v306-mobile-move{
  position:absolute!important;left:0!important;top:-31px!important;right:auto!important;bottom:auto!important;
  width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;
  font-size:16px!important;border-radius:7px!important;padding:0!important;touch-action:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;z-index:920!important
 }
 .pdfi-block-mask-guide .pdfi-v307-mobile-edit{
  position:absolute!important;right:0!important;top:-31px!important;left:auto!important;bottom:auto!important;
  width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;
  padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#f5eeff!important;color:#6d28d9!important;border:1px solid #bda2ff!important;
  border-radius:7px!important;box-shadow:0 1px 4px #5428a02d!important;
  font:750 16px/1 Arial,sans-serif!important;pointer-events:auto!important;touch-action:manipulation!important;z-index:920!important
 }
 .pdfi-block-mask-guide .pdfi-block-mask-handle{
  display:block!important;visibility:visible!important;width:22px!important;height:22px!important;
  touch-action:none!important;pointer-events:auto!important;z-index:910!important;
  background:#14a85a!important;border:2px solid #fff!important;box-shadow:0 0 0 1px #087d45!important
 }
 .pdfi-block-mask-guide .pdfi-mask-handle-top-left{left:-11px!important;top:-11px!important}
 .pdfi-block-mask-guide .pdfi-mask-handle-top-right{right:-11px!important;top:-11px!important}
 .pdfi-block-mask-guide .pdfi-mask-handle-bottom-left{left:-11px!important;bottom:-11px!important}
 .pdfi-block-mask-guide .pdfi-mask-handle-bottom-right{right:-11px!important;bottom:-11px!important}
}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){.pdfi-v307-mobile-edit{display:none!important}}

/* v308: keep corner grips and the small MOVE button on the travelling
   paragraph workspace. The opaque source eraser remains anchored to the PDF. */
@media(max-width:1099px), (hover:none) and (pointer:coarse){
 .pdfi-block-mask-guide{box-sizing:border-box!important;min-width:24px!important;min-height:18px!important}
 .pdfi-block-mask-guide .pdfi-block-mask-handle{touch-action:none!important}
}


/* PDFInsert v310 — yellow title + function tooltip, PC viewer toolbar only. */
#pdfi-v310-gold-tip{display:none!important;}
@media (min-width:1100px) and (hover:hover) and (pointer:fine){
 #pdfi-v310-gold-tip{
  position:fixed!important;z-index:2147483000!important;display:none!important;
  box-sizing:border-box!important;min-width:150px!important;max-width:245px!important;
  padding:8px 11px!important;border:1px solid #e8c86b!important;
  border-radius:8px!important;background:#fff6d4!important;color:#654708!important;
  box-shadow:0 4px 14px rgba(104,76,12,.18)!important;
  font:12px/1.45 Arial,sans-serif!important;letter-spacing:0!important;
  white-space:normal!important;text-align:center!important;
  pointer-events:none!important;user-select:none!important;
 }
 #pdfi-v310-gold-tip.pdfi-v310-show{display:block!important;}
 #pdfi-v310-gold-tip strong{display:block!important;font-size:12px!important;font-weight:800!important;
  line-height:1.4!important;color:#523a08!important;margin:0 0 3px!important;}
 #pdfi-v310-gold-tip span{display:block!important;font-size:11px!important;font-weight:500!important;
  line-height:1.42!important;color:#735113!important;}
}

/* PDFInsert v312 — prevent the legacy v256 dark tooltip from duplicating
   the v310 yellow DELETE tooltip, even while a cached frontend-state JS
   remains in the browser/CDN. Restricted to the desktop upper DELETE button.
   Other legacy tooltips (close editor buttons) keep working normally. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:has(#pdfi-v250-top-delete:is(:hover,:focus)) #pdfi-v256-action-tooltip,
  body:has(#pdfi-v249-delete:is(:hover,:focus)) #pdfi-v256-action-tooltip {
    display:none!important;
    visibility:hidden!important;
  }
}
