@font-face { font-family:"CodeNova Signature"; src:url("/fonts/caveat.ttf") format("truetype"); font-weight:400 700; font-style:normal; font-display:swap; }
.pdf-sign-tool { --sign-border:#dce3ec; --sign-text:#172338; --sign-muted:#5a687b; --sign-blue:#1d4ed8; color-scheme:light; }
.pdf-sign-tool .tools-journey { background:#fff; color:var(--sign-text); border-radius:22px; overflow:hidden; box-shadow:0 24px 70px #0003; }
.pdf-sign-tool .tools-journey-progress { background:#f4f7fb; border-bottom:1px solid var(--sign-border); }
.pdf-sign-tool .tools-journey-progress-button { color:#627085; }
.pdf-sign-tool .tools-journey-progress [data-state=current] .tools-journey-progress-button,
.pdf-sign-tool .tools-journey-progress [data-state=complete] .tools-journey-progress-button { color:#1d4ed8; }
.pdf-sign-tool .tools-journey-heading { padding:26px 30px 18px; }
.pdf-sign-tool .tools-journey-title { color:var(--sign-text); font-size:clamp(1.45rem,2.3vw,2rem); }
.pdf-sign-tool .tools-journey-kicker { color:#1d4ed8; }
.pdf-sign-tool .tools-journey-description { color:var(--sign-muted); max-width:70ch; }
.pdf-sign-tool .tools-journey-content { padding:0 30px 28px; }
.pdf-sign-tool [hidden] { display:none !important; }
.pdf-sign-tool button,.pdf-sign-tool input,.pdf-sign-tool select { font:inherit; }
.pdf-sign-tool button,.pdf-sign-tool a { -webkit-tap-highlight-color:transparent; }
.pdf-sign-tool button:not(:disabled),.pdf-sign-tool select { cursor:pointer; }
.pdf-sign-tool :is(button,input,select,a,[tabindex]):focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
.pdf-sign-tool button:disabled { cursor:not-allowed; opacity:.45; }
.pdf-sign-tool .tools-journey-progress button:disabled { opacity:1; }
.pdf-sign-tool .sign-button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:10px 14px; border:1px solid #ced7e4; border-radius:9px; background:#fff; color:var(--sign-text); line-height:1.25; font-size:13px; font-weight:600; text-decoration:none; gap:6px; }
.pdf-sign-tool .sign-button:hover:not(:disabled) { border-color:#94a3b8; background:#f3f6fa; }
.pdf-sign-tool .sign-primary { background:#1d4ed8; border-color:#1d4ed8; color:#fff; box-shadow:0 3px 8px #1d4ed81f; }
.pdf-sign-tool .sign-primary:hover:not(:disabled) { background:#1e40af; color:#fff; border-color:#1e40af; }
.pdf-sign-tool .sign-wide { width:100%; }
.pdf-sign-tool .sign-link { padding:9px 5px; min-height:42px; border:0; background:transparent; color:#1d4ed8; font-size:13px; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.sign-intro { text-align:center; margin:8px auto 20px; }
.sign-intro-icon { display:grid; place-items:center; width:70px; height:70px; margin:auto; background:#eff6ff; color:#2563eb; border:1px solid #dbeafe; border-radius:18px; }
.sign-intro-icon svg { width:42px; height:42px; }
.sign-intro-note { margin:14px 0 0; font-weight:500; }
.pdf-sign-tool .tools-upload { border:2px dashed #b9c9e0; background:#f8faff; border-radius:15px; padding:28px 20px; }
.pdf-sign-tool .tools-upload.is-dragging { border-color:#2563eb; background:#eff6ff; }
.pdf-sign-tool .tools-upload-title { color:var(--sign-text); }
.pdf-sign-tool .tools-upload .tools-button { background:#1d4ed8; color:white; border:0; border-radius:9px; box-shadow:none; min-height:46px; padding:12px 24px; }
.pdf-sign-tool .tools-upload .tools-note { color:var(--sign-muted); }
.pdf-sign-tool .tools-file { background:#fff; border-color:var(--sign-border); color:var(--sign-text); }
.pdf-sign-tool .tools-file-description span { color:var(--sign-muted); }
.pdf-sign-tool .tools-file .tools-button-secondary { color:#1d4ed8; background:#eff6ff; border-color:#bfdbfe; }
.sign-fineprint { color:var(--sign-muted); font-size:12px; line-height:1.6; margin:14px 0 0; }
.sign-upload + .sign-fineprint { text-align:center; }
.sign-document-bar { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:14px 0 18px; border-top:1px solid var(--sign-border); }
.sign-document-bar > div { min-width:0; }
.sign-document-bar strong { display:block; font-size:14px; overflow-wrap:anywhere; }
.sign-document-bar span { display:block; margin-top:3px; color:var(--sign-muted); font-size:12px; }
.sign-document-bar > button { flex-shrink:0; }
.sign-editor { display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; align-items:start; }
.sign-sidebar { border:0; padding:0; margin:0; min-width:0; }
.sign-section { border-bottom:1px solid var(--sign-border); padding:0 0 18px; margin:0 0 18px; }
.sign-section h3 { color:var(--sign-text); font-size:15px; font-weight:700; margin:0 0 13px; letter-spacing:-.01em; }
.sign-field { display:flex; flex-direction:column; gap:6px; margin:0 0 12px; min-width:0; }
.sign-field > span { font-size:12px; font-weight:600; color:#46566e; }
.pdf-sign-tool :is(input:not([type=range]),select) { height:42px; min-width:0; max-width:100%; width:100%; padding:8px 10px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:var(--sign-text); font-size:14px; }
.pdf-sign-tool input::placeholder { color:#7b8799; }
.pdf-sign-tool input[type=range] { width:100%; accent-color:#1d4ed8; min-height:32px; }
.sign-styles { display:grid; grid-template-columns:1fr; gap:6px; margin:12px 0; }
.pdf-sign-tool .sign-styles button { display:flex; justify-content:space-between; min-height:58px; padding:8px 10px; border-color:var(--sign-border); gap:8px; }
.sign-styles img { width:auto; max-width:65%; max-height:35px; object-fit:contain; }
.sign-styles span { font-size:10px; color:#63728a; }
.pdf-sign-tool .sign-styles [aria-pressed=true] { background:#eff6ff; border-color:#2563eb; box-shadow:0 0 0 1px #2563eb; }
.sign-inks { display:flex; gap:8px; margin:10px 0 14px; }
.pdf-sign-tool .sign-inks button { flex:1; padding:7px; font-size:11px; min-height:36px; }
.sign-inks button::before { content:''; width:12px; height:12px; background:var(--ink); border-radius:50%; }
.pdf-sign-tool .sign-inks [aria-pressed=true] { border-color:#2563eb; background:#eff6ff; }
.sign-help { color:var(--sign-muted); font-size:12px; line-height:1.55; margin:12px 0 0; }
.sign-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.sign-selection { background:#f0f6ff; padding:14px; border:1px solid #cfe0fc; border-radius:10px; }
.sign-selection .sign-actions > button { flex:1; }
.sign-viewer { min-width:0; border:1px solid var(--sign-border); border-radius:12px; background:#edf1f6; overflow:hidden; }
.sign-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; background:#fff; padding:10px; border-bottom:1px solid var(--sign-border); }
.sign-page-controls { display:flex; align-items:center; gap:4px; }
.sign-toolbar .sign-page-controls button { min-width:34px; min-height:38px; padding:5px; font-size:22px; }
.pdf-sign-tool .sign-toolbar select { width:auto; font-size:12px; height:38px; max-width:140px; }
.sign-toolbar .sign-actions .sign-button { padding:8px; font-size:11px; min-height:38px; }
.sign-placement-hint { display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; padding:9px 14px; background:#eff6ff; border-bottom:1px solid #dbeafe; font-size:12px; color:#1e3a8a; line-height:1.5; }
.sign-placement-hint > span { flex:1; min-width:180px; }
.sign-placement-hint button { font-size:11px; padding:4px; }
.sign-page-scroll { padding:18px; overflow:auto; max-height:80vh; min-height:180px; overscroll-behavior:contain; }
.sign-paper { position:relative; flex:none; margin:0 auto; background:white; box-shadow:0 2px 6px #1725541f,0 10px 32px #17255412; }
.sign-page-canvas { display:block; width:100%; height:100%; pointer-events:none; }
.sign-overlay { position:absolute; inset:0; overflow:hidden; }
.sign-overlay.is-placing { cursor:crosshair; }
.sign-ghost { position:absolute; object-fit:fill; pointer-events:none; opacity:.65; outline:1px dashed #1d4ed8; background:#dbeafe22; }
.sign-mark { position:absolute; border:1px solid transparent; cursor:move; touch-action:none; user-select:none; min-width:3px; outline:none; }
.sign-mark img { width:100%; height:100%; object-fit:fill; pointer-events:none; display:block; }
.sign-mark:hover { border-color:#93c5fd; }
.sign-mark.is-selected { border-color:#2563eb; background:#dbeafe22; outline:1px solid #2563eb; }
.sign-resize-handle { display:none; position:absolute; right:-7px; bottom:-7px; width:14px; height:14px; border:2px solid #2563eb; border-radius:3px; background:white; cursor:nwse-resize; }
.sign-mark.is-selected .sign-resize-handle { display:block; }
.sign-viewer-status { text-align:center; color:#52637a; font-size:13px; padding:14px; margin:0; }
.sign-viewer-status:empty { display:none; }
.sign-mark-list { display:flex; flex-wrap:wrap; gap:6px; align-items:center; max-height:150px; overflow:auto; padding:12px; border-top:1px solid var(--sign-border); background:#fff; }
.sign-mark-list:empty { display:none; }
.sign-list-label { font-size:11px; font-weight:600; color:#64748b; margin-right:5px; }
.pdf-sign-tool .sign-mark-list button { min-height:32px; padding:6px 8px; font-size:11px; }
.sign-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:20px; padding-top:18px; border-top:1px solid var(--sign-border); }
.sign-count { font-size:13px; color:#52637a; }
.sign-review-summary { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px; background:#effaf3; border:1px solid #c4e6cf; border-radius:12px; }
.sign-review-summary p { min-width:0; overflow-wrap:anywhere; font-size:14px; color:#175d35; }
.sign-review-summary a { flex-shrink:0; }
.sign-review-viewer { margin:20px 0; }
.sign-error { margin:16px 0 0; padding:14px 18px; border:1px solid #fecaca; color:#991b1b; background:#fff1f2; border-radius:10px; font-size:14px; }
.sign-status { color:#cbd5e1; font-size:13px; margin:12px 4px 0; }
.sign-status:empty { display:none; }
.sign-confirm { max-width:min(440px,calc(100vw - 36px)); border:0; border-radius:16px; background:#fff; color:var(--sign-text); padding:26px; box-shadow:0 30px 90px #0005; }
.sign-confirm::backdrop { background:#0f172ab3; }
.sign-confirm h2 { font-size:22px; font-weight:700; margin:0 0 10px; }
.sign-confirm p { font-size:14px; line-height:1.6; margin:0 0 20px; color:#52637a; }
.sign-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:1050px) {
  .sign-editor { grid-template-columns:225px minmax(0,1fr); gap:16px; }
  .pdf-sign-tool .tools-journey-content { padding:0 20px 24px; }
}
@media(max-width:720px) {
  .pdf-sign-tool .tools-journey-heading { padding:20px 16px 14px; }
  .pdf-sign-tool .tools-journey-content { padding:0 12px 18px; }
  .sign-editor { grid-template-columns:minmax(0,1fr); }
  .sign-sidebar { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
  .sign-sidebar > .sign-fineprint { grid-column:1/-1; margin:0; }
  .sign-section { margin:0; padding:0 0 12px; }
  .sign-styles { gap:5px; }
  .pdf-sign-tool .sign-styles button { min-height:46px; padding:6px; }
  .sign-styles img { max-height:27px; max-width:61%; }
  .sign-styles span { font-size:9px; }
  .sign-selection { grid-column:1/-1; padding:14px; }
  .sign-toolbar { gap:6px; }
  .sign-toolbar .sign-actions { margin-left:auto; }
  .sign-page-scroll { max-height:70vh; padding:12px; }
  .sign-document-bar { gap:10px; }
  .sign-document-bar strong { font-size:12px; }
  .sign-document-bar .sign-link { font-size:11px; }
  .sign-footer { flex-direction:column; align-items:stretch; position:sticky; bottom:0; z-index:3; background:#fff; padding:10px 0 2px; gap:6px; }
  .sign-count { margin:0; font-size:12px; text-align:center; }
  .sign-footer .sign-button { min-height:46px; }
  .sign-review-summary { flex-direction:column; align-items:stretch; gap:12px; padding:14px; }
  .pdf-sign-tool :is(input:not([type=range]),select) { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .pdf-sign-tool * { scroll-behavior:auto !important; } }
/* Keep the signing workspace in CodeNova's dark palette; only document previews are paper. */
.pdf-sign-tool { --sign-border:#2b3950; --sign-text:#e8eef8; --sign-muted:#9baac1; color-scheme:dark; }
.pdf-sign-tool .tools-journey { background:#0e182a; }
.pdf-sign-tool .tools-journey-progress { background:#0a1322; }
.pdf-sign-tool .tools-journey-progress [data-state=current] .tools-journey-progress-button,
.pdf-sign-tool .tools-journey-progress [data-state=complete] .tools-journey-progress-button { color:#93b9ff; }
.pdf-sign-tool .tools-journey-kicker { color:#7fb0ff; }
.pdf-sign-tool .sign-button { background:#17243a; color:#e8eef8; border-color:#35445e; }
.pdf-sign-tool .sign-button:hover:not(:disabled) { background:#213450; border-color:#6c8ebc; }
.pdf-sign-tool .sign-primary { background:#2563eb; border-color:#3b82f6; color:white; }
.pdf-sign-tool .sign-primary:hover:not(:disabled) { background:#3475f5; border-color:#60a5fa; }
.pdf-sign-tool .sign-link { color:#93c5fd; }
.pdf-sign-tool :is(input:not([type=range]),select) { background:#101c30; border-color:#35445e; color:#e8eef8; }
.pdf-sign-tool .sign-field > span { color:#b6c5db; }
.pdf-sign-tool .sign-styles button { background:#f6f8fc; border-color:#a5b5cd; color:#172338; }
.pdf-sign-tool .sign-styles button:hover:not(:disabled),.pdf-sign-tool .sign-styles [aria-pressed=true] { background:#dceaff; border-color:#60a5fa; }
.pdf-sign-tool .sign-inks [aria-pressed=true] { background:#243b63; border-color:#60a5fa; }
.sign-inks button::before { border:1px solid #859ab8; }
.pdf-sign-tool .sign-intro-icon { background:#162d50; color:#93c5fd; border-color:#294974; }
.pdf-sign-tool .tools-upload { background:#111e33; border-color:#476182; }
.pdf-sign-tool .tools-upload.is-dragging { background:#172d4d; border-color:#60a5fa; }
.pdf-sign-tool .tools-file { background:#111e33; }
.pdf-sign-tool .tools-file .tools-button-secondary { background:#183356; color:#bfdbfe; border-color:#416288; }
.pdf-sign-tool .sign-selection { background:#152840; border-color:#365477; }
.pdf-sign-tool .sign-viewer { background:#070f1c; }
.pdf-sign-tool .sign-toolbar,.pdf-sign-tool .sign-mark-list { background:#111e32; }
.pdf-sign-tool .sign-placement-hint { background:#132b49; color:#c4ddff; border-color:#2a4466; }
.pdf-sign-tool .sign-list-label,.pdf-sign-tool .sign-count,.pdf-sign-tool .sign-viewer-status { color:#a5b8d3; }
.pdf-sign-tool .sign-footer { background:#0e182a; }
.pdf-sign-tool .sign-review-summary { background:#0c2a24; border-color:#215344; }
.pdf-sign-tool .sign-review-summary p { color:#a7e4c0; }
.pdf-sign-tool .sign-confirm { background:#111e32; }
.pdf-sign-tool .sign-confirm p { color:#b6c5db; }
.sign-rotate-actions { margin-bottom:10px; }
.pdf-sign-tool .sign-rotate-actions button { flex:1; padding:7px 5px; font-size:11px; }
.sign-page-label { font-size:12px; white-space:nowrap; }
.pdf-sign-tool .sign-toolbar .sign-page-controls { width:100%; justify-content:space-between; gap:8px; }
.pdf-sign-tool .sign-toolbar .sign-page-controls button { font-size:12px; padding:8px 12px; min-height:42px; }
.sign-thumbnails { display:flex; align-items:stretch; gap:10px; padding:14px; overflow-x:auto; border-bottom:1px solid var(--sign-border); scrollbar-width:thin; scroll-snap-type:x proximity; }
.pdf-sign-tool .sign-page-card { flex:0 0 96px; display:flex; flex-direction:column; align-items:center; justify-content:space-between; gap:6px; padding:8px; background:#152239; border:2px solid #30435f; border-radius:8px; color:#c4d1e5; scroll-snap-align:start; }
.sign-page-card canvas { max-width:76px; height:90px; object-fit:contain; background:white; border-radius:2px; }
.sign-page-card span { font-size:12px; font-weight:600; }
.sign-page-card small { font-size:10px; color:#a4c5ff; min-height:12px; }
.pdf-sign-tool .sign-page-card[aria-current=page] { border-color:#60a5fa; background:#1b3a65; color:#fff; box-shadow:0 0 0 1px #60a5fa; }
@media(max-width:720px) { .pdf-sign-tool .sign-page-card { flex-basis:82px; } .sign-page-card canvas { height:72px; max-width:64px; } .pdf-sign-tool .sign-toolbar .sign-page-controls button { font-size:11px; padding:8px; } }

.sign-mobile-tools { display:none; }
/* On a phone, keep the document central and reveal one tool at a time. */
@media(max-width:720px) {
  body:has(.pdf-sign-tool) .tools-tool-hero { padding-top:88px; padding-bottom:20px; }
  body:has(.pdf-sign-tool) .tools-tool-hero .tools-breadcrumb { margin-bottom:14px; }
  body:has(.pdf-sign-tool) .tools-tool-hero h1 { font-size:2rem; margin:8px 0; }
  body:has(.pdf-sign-tool) .tools-tool-hero p { font-size:14px; line-height:1.5; }
  .tools-workspace:has(.pdf-sign-tool) { padding-inline:8px; }
  .pdf-sign-tool .tools-journey { border-radius:14px; overflow:clip; }
  .pdf-sign-tool .tools-journey-progress { padding:12px 10px; gap:4px; }
  .pdf-sign-tool .tools-journey-progress-button { gap:5px; font-size:10px; line-height:1.25; }
  .pdf-sign-tool .tools-journey-marker { width:22px; height:22px; flex:0 0 22px; }
  .pdf-sign-tool .tools-journey-heading { padding:16px 14px 12px; }
  .pdf-sign-tool .tools-journey-kicker { display:none; }
  .pdf-sign-tool .tools-journey-title { font-size:1.35rem; margin-bottom:6px; }
  .pdf-sign-tool .tools-journey-description { font-size:13px; line-height:1.5; }
  .pdf-sign-tool .tools-journey-content { padding:0 10px 12px; }
  .pdf-sign-tool .sign-document-bar { padding:10px 0; gap:8px; }
  .pdf-sign-tool .sign-document-bar strong { max-width:48vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .pdf-sign-tool .sign-document-bar span { font-size:11px; }
  .pdf-sign-tool .sign-document-bar .sign-link { font-size:11px; padding:4px; }
  .pdf-sign-tool .sign-editor { display:flex; flex-direction:column; gap:10px; }
  .pdf-sign-tool .sign-sidebar { display:contents; }
  .pdf-sign-tool .sign-mobile-tools { display:grid; grid-template-columns:1.15fr 1fr .85fr; gap:6px; width:100%; padding:8px 0; margin:-3px 0; background:#0e182a; position:sticky; top:64px; z-index:4; order:0; scroll-margin-top:64px; }
  .pdf-sign-tool .sign-mobile-tools .sign-button { min-height:42px; font-size:13px; padding:8px; }
  .pdf-sign-tool .sign-mobile-tools [aria-expanded=true] { background:#203d66; border-color:#6399e9; color:#dbeafe; }
  .pdf-sign-tool .sign-section { width:100%; padding:4px 0 12px; order:1; scroll-margin-top:126px; }
  .pdf-sign-tool .sign-signature-section > h3,.pdf-sign-tool .sign-date-section > h3 { display:none; }
  .pdf-sign-tool:not([data-mobile-panel=signature]) .sign-signature-section,
  .pdf-sign-tool:not([data-mobile-panel=date]) .sign-date-section,
  .pdf-sign-tool:not([data-mobile-panel=selection]) .sign-selection { display:none; }
  .pdf-sign-tool .sign-sidebar > .sign-fineprint { display:none; }
  .pdf-sign-tool .sign-field { gap:4px; margin-bottom:10px; }
  .pdf-sign-tool .sign-field > span { font-size:12px; }
  .pdf-sign-tool .sign-styles { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:8px 0; }
  .pdf-sign-tool .sign-styles button { flex-direction:column; justify-content:center; min-height:64px; padding:7px 4px; gap:5px; }
  .pdf-sign-tool .sign-styles img { width:auto; max-width:100%; max-height:31px; }
  .pdf-sign-tool .sign-styles span { font-size:10px; line-height:1.1; }
  .pdf-sign-tool .sign-inks { gap:8px; margin:8px 0 10px; }
  .pdf-sign-tool .sign-inks button { min-height:38px; font-size:12px; }
  .pdf-sign-tool .sign-wide { min-height:44px; }
  .pdf-sign-tool .sign-viewer { width:100%; order:2; border-radius:10px; }
  .pdf-sign-tool .sign-selection { order:3; padding:12px; scroll-margin-top:124px; }
  .pdf-sign-tool .sign-selection h3 { font-size:14px; margin-bottom:8px; }
  .pdf-sign-tool .sign-selection .sign-help { display:none; }
  .pdf-sign-tool .sign-toolbar { padding:7px; gap:6px; }
  .pdf-sign-tool .sign-toolbar .sign-page-controls { gap:5px; }
  .pdf-sign-tool .sign-toolbar .sign-page-controls button { min-height:36px; padding:6px 8px; font-size:10px; }
  .pdf-sign-tool .sign-page-label { font-size:12px; }
  .pdf-sign-tool .sign-toolbar > select { max-width:112px; height:36px; font-size:12px; }
  .pdf-sign-tool .sign-toolbar .sign-actions .sign-button { min-height:36px; padding:6px 10px; font-size:11px; }
  .pdf-sign-tool .sign-thumbnails { gap:7px; padding:8px; }
  .pdf-sign-tool .sign-page-card { flex:0 0 92px; display:grid; grid-template-columns:24px 1fr; grid-template-rows:auto auto; gap:2px 6px; align-items:center; padding:6px; text-align:left; min-height:46px; }
  .pdf-sign-tool .sign-page-card canvas { grid-row:1/3; width:24px; height:32px; max-width:24px; object-fit:contain; }
  .pdf-sign-tool .sign-page-card span { font-size:11px; }
  .pdf-sign-tool .sign-page-card small { font-size:9px; min-height:11px; white-space:nowrap; }
  .pdf-sign-tool .sign-placement-hint { padding:7px 9px; font-size:11px; line-height:1.45; gap:0 8px; }
  .pdf-sign-tool .sign-placement-hint .sign-link { min-height:32px; padding:4px; }
  .pdf-sign-tool .sign-page-scroll { padding:7px; max-height:72dvh; scroll-margin-top:126px; }
  .pdf-sign-tool .sign-mark-list { padding:8px; gap:5px; max-height:86px; }
  .pdf-sign-tool .sign-list-label { width:100%; font-size:10px; }
  .pdf-sign-tool .sign-mark-list button { min-height:30px; }
  .pdf-sign-tool .sign-footer { padding:9px 0 max(8px,env(safe-area-inset-bottom)); margin-top:12px; border-top:1px solid #35445e; box-shadow:0 -8px 18px #070f1c44; }
  .pdf-sign-tool .sign-count { font-size:11px; }
  .pdf-sign-tool .sign-resize-handle { width:20px; height:20px; right:-10px; bottom:-10px; border-radius:5px; }
}
@media(max-width:720px) {
  .pdf-sign-tool .sign-viewer { overflow:clip; }
  .pdf-sign-tool .sign-toolbar { position:sticky; top:122px; z-index:3; box-shadow:0 3px 8px #070f1c33; }
  .pdf-sign-tool .sign-page-scroll { scroll-margin-top:216px; }
}
.sign-selection-header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.pdf-sign-tool .sign-selection-close,.pdf-sign-tool .sign-selection-reset { display:none; }
@media(max-width:720px) {
  .pdf-sign-tool[data-mobile-panel=selection] .sign-selection {
    position:fixed; left:12px; right:12px; bottom:max(10px,env(safe-area-inset-bottom));
    width:auto; max-width:520px; margin:0 auto; padding:8px 12px; z-index:20;
    background:#14263f; border:1px solid #6285b5; border-radius:14px;
    box-shadow:0 -10px 32px #02081780; max-height:230px; overflow:auto;
  }
  .pdf-sign-tool .sign-selection-header { min-height:40px; }
  .pdf-sign-tool .sign-selection h3 { margin:0; font-size:13px; }
  .pdf-sign-tool .sign-selection-close,.pdf-sign-tool .sign-selection-reset { display:inline-flex; min-height:44px; }
  .pdf-sign-tool .sign-selection-close { padding:7px 10px; border-color:transparent; background:transparent; color:#bfdbfe; }
  .pdf-sign-tool .sign-selection .sign-field { flex-direction:row; align-items:center; gap:10px; min-height:44px; margin:0; }
  .pdf-sign-tool .sign-selection .sign-field > span { flex:0 0 86px; font-size:11px; }
  .pdf-sign-tool .sign-selection input[type=range] { flex:1; min-width:0; min-height:44px; }
  .pdf-sign-tool .sign-selection .sign-rotate-actions { display:none; }
  .pdf-sign-tool .sign-selection-actions { gap:6px; margin-top:4px; }
  .pdf-sign-tool .sign-selection-actions .sign-button { min-height:44px; padding:6px; font-size:11px; }
  .pdf-sign-tool[data-mobile-panel=selection] .sign-footer { visibility:hidden; }
}
