/* Doybit PDF-Werkstatt · Unterschrift · 0.47.02 WIP.
   Only PDF tool, only screen. No external fonts, trackers or background images. */
@media screen {
  .dx-gratis-tool-premium .dx-sign-section {
    margin: 18px 0 16px;
    padding: 20px;
    border: 1px solid #d9e4f3;
    border-radius: 18px;
    background: #f7faff;
  }
  .dx-gratis-tool-premium .dx-sign-section[hidden] { display: none !important; }
  .dx-gratis-tool-premium .dx-sign-pad {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 10/3;
    margin: 10px 0 12px;
    border: 1px solid #9bb5d3;
    border-radius: 12px;
    background: #fff;
    touch-action: none;
    cursor: crosshair;
    box-shadow: inset 0 1px 3px rgb(20 50 90 / 6%);
  }
  .dx-gratis-tool-premium .dx-sign-pad:focus-visible {
    outline: 3px solid #145cb5;
    outline-offset: 3px;
  }
  .dx-gratis-tool-premium .dx-sign-section .dx-free-note {
    color: #425675;
    line-height: 1.65;
  }
}
@media print {
  .dx-sign-section { display: none !important; }
}

/* Doybit visual PDF page organizer: original source pages remain unchanged. */
@media screen {
  .dx-gratis-tool-premium [data-pdf-visual][hidden] {display:none!important;}
  .dx-gratis-tool-premium .dx-visual-pdf-panel {
    margin:18px 0;padding:18px;
    border:1px solid #d9e4f3;border-radius:18px;background:#f7faff;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-grid {
    display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,178px),1fr));
    gap:13px;margin:14px 0;min-width:0;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-card {
    min-width:0;display:flex;flex-direction:column;align-items:center;
    gap:8px;padding:15px 10px;border:1px solid #d2dff0;
    border-radius:16px;background:#fff;
    box-shadow:0 3px 16px rgb(16 56 110 / 5%);
    color:#243f60;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-card.is-excluded {opacity:.61;background:#f4f6fb;}
  .dx-gratis-tool-premium .dx-visual-pdf-card strong {
    font-size:14px;text-align:center;line-height:1.3;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-card img {
    object-fit:contain;max-width:100%;height:125px;width:auto;
    border:1px solid #d7e2f1;border-radius:7px;background:#fff;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-order {
    color:#486281;font-size:12px;text-align:center;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-actions {
    width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;margin-top:auto;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-actions .button {
    min-height:35px;min-width:0;margin:0!important;padding:5px 3px!important;
    font-size:11px;white-space:normal;line-height:1.25;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-actions button:focus-visible {
    outline:3px solid #145cb5;outline-offset:2px;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-drag-handle {
    display:block;width:100%;box-sizing:border-box;
    padding:7px 4px;border:1px dashed #9ab7d7;border-radius:8px;
    text-align:center;background:#f1f7ff;color:#264a79;
    font-size:12px;font-weight:650;cursor:grab;user-select:none;touch-action:none;
  }
  .dx-gratis-tool-premium .dx-visual-pdf-drag-handle[draggable="false"] {
    cursor:default;opacity:.55;
  }
  @media(max-width:440px){
    .dx-gratis-tool-premium .dx-visual-pdf-grid {
      grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
    }
    .dx-gratis-tool-premium .dx-visual-pdf-card {padding:10px 5px;}
  }
}
@media print {
  .dx-visual-pdf-panel {display:none!important;}
}
