.pt-page{background:var(--background,#fff);color:var(--text,#15171a);min-height:70vh}.pt-hero{text-align:center;padding:64px 0 38px}.pt-hero-small{padding-bottom:26px}.pt-hero span{font-size:12px;font-weight:800;letter-spacing:.14em;color:#777}.pt-hero h1{font-size:clamp(38px,6vw,66px);letter-spacing:-.04em;margin:10px 0}.pt-hero p{font-size:17px;color:#687078;margin:0 auto;max-width:700px}.pt-back{display:inline-block;margin-bottom:12px;color:inherit;text-decoration:none;font-weight:800}.pt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-bottom:48px}.pt-card{display:grid;grid-template-columns:50px 1fr auto;gap:14px;align-items:start;padding:22px;border:1px solid #e1e4e7;border-radius:14px;color:inherit;text-decoration:none;background:#fff;transition:.18s}.pt-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(0,0,0,.07)}.pt-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:10px;background:#111;color:#fff;font-size:11px;font-weight:900}.pt-card h2{font-size:18px;margin:2px 0 7px}.pt-card p{font-size:13px;line-height:1.55;color:#687078;margin:0}.pt-note{margin-bottom:70px;padding:20px;border:1px solid #e1e4e7;border-radius:12px}.pt-note p{margin:5px 0 0;color:#687078}.pt-workbench{max-width:900px;margin:0 auto 80px;padding:28px;border:1px solid #e1e4e7;border-radius:18px;box-shadow:0 16px 45px rgba(0,0,0,.06);background:#fff}.pt-drop{padding:52px 20px;text-align:center;border:2px dashed #cfd5da;border-radius:14px;background:#fafbfc;cursor:pointer}.pt-drop.is-dragging{border-color:#111}.pt-upload-icon{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:#111;color:#fff;font-size:26px}.pt-drop h2{margin:0 0 6px}.pt-drop p{margin:0 0 16px;color:#777}.pt-drop button,.pt-process,.pt-result a{border:0;border-radius:8px;background:#111;color:#fff;font-weight:800;padding:12px 18px;text-decoration:none;cursor:pointer}.pt-drop small{display:block;margin-top:12px;color:#888}.pt-selected{margin-top:14px;padding:14px;border:1px solid #e1e4e7;border-radius:10px;line-height:1.7}.pt-options{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:20px}.pt-options:empty{display:none}.pt-options label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.pt-options input,.pt-options select{display:block;width:100%;height:46px;margin-top:7px;padding:0 12px;border:1px solid #d9dde1;border-radius:8px;background:#fff;font:inherit}.pt-help{grid-column:1/-1;margin:0;color:#777;font-size:13px}.pt-process{width:100%;margin-top:20px;min-height:52px}.pt-process:disabled{opacity:.45;cursor:not-allowed}.pt-status,.pt-error,.pt-result{margin-top:16px;padding:15px;border-radius:10px}.pt-status{background:#f5f6f7}.pt-error{background:#fff7f7;color:#9b2020;border:1px solid #efc7c7;font-weight:700}.pt-result{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#f7fcf8;border:1px solid #cfe4d4}.pt-result strong,.pt-result span{display:block}.pt-result span{font-size:13px;margin-top:3px;color:#687078}@media(max-width:900px){.pt-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.pt-grid{grid-template-columns:1fr}.pt-workbench{padding:16px}.pt-options{grid-template-columns:1fr}.pt-result{align-items:stretch;flex-direction:column}.pt-result a{text-align:center}}html[data-theme="dark"] .pt-card,html[data-theme="dark"] .pt-workbench,html[data-theme="dark"] .pt-drop,html[data-theme="dark"] .pt-options input,html[data-theme="dark"] .pt-options select{background:#17191c;color:#f5f5f5;border-color:#34383d}

.pt-options textarea{display:block;width:100%;min-height:120px;margin-top:7px;padding:12px;border:1px solid #d9dde1;border-radius:8px;background:#fff;font:inherit;line-height:1.5;resize:vertical}.pt-redact-field{grid-column:1/-1}.pt-help code{font-family:Consolas,monospace;text-transform:none;letter-spacing:0}html[data-theme="dark"] .pt-options textarea{background:#17191c;color:#f5f5f5;border-color:#34383d}
.pt-redact-intro{grid-column:1/-1;padding:14px 16px;border:1px solid #dfe3e7;border-radius:10px;background:#f8f9fa}.pt-redact-intro strong,.pt-redact-intro span{display:block}.pt-redact-intro span{margin-top:4px;color:#687078;font-size:13px}.pt-redact-toolbar{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e1e4e7;border-radius:9px}.pt-redact-toolbar button{border:1px solid #ccd2d7;background:#fff;border-radius:7px;padding:8px 12px;font-weight:700;cursor:pointer}.pt-redact-pages{grid-column:1/-1;display:grid;gap:24px}.pt-redact-page-wrap{max-width:760px;margin:0 auto;width:100%}.pt-redact-page-label{margin:0 0 7px;font-size:13px;font-weight:800}.pt-redact-canvas{position:relative;width:100%;line-height:0;user-select:none;touch-action:none;border:1px solid #cfd5da;box-shadow:0 5px 18px rgba(0,0,0,.08);background:#eee;cursor:crosshair}.pt-redact-canvas img{display:block;width:100%;height:auto;pointer-events:none}.pt-redact-box{position:absolute;background:rgba(0,0,0,.78);border:2px solid #d80000;box-sizing:border-box;cursor:pointer;line-height:normal}.pt-redact-box:after{content:'×';position:absolute;right:3px;top:1px;color:#fff;font:bold 16px/1 Arial}.pt-redact-drawing{pointer-events:none;background:rgba(0,0,0,.55);border-style:dashed}@media(max-width:650px){.pt-redact-toolbar{align-items:stretch;flex-direction:column}.pt-redact-toolbar button{width:100%}}html[data-theme="dark"] .pt-redact-intro,html[data-theme="dark"] .pt-redact-toolbar{background:#17191c;border-color:#34383d}html[data-theme="dark"] .pt-redact-toolbar button{background:#222;color:#fff;border-color:#444}

/* Visual Edit PDF */
.pt-edit-intro{grid-column:1/-1;display:flex;flex-direction:column;gap:5px;padding:14px 16px;border:1px solid rgba(127,127,127,.25);border-radius:12px}.pt-edit-intro span{font-size:13px;opacity:.75}.pt-edit-toolbar{grid-column:1/-1;display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px;border:1px solid rgba(127,127,127,.25);border-radius:12px;position:sticky;top:72px;z-index:20;background:var(--body-bg,#fff)}.pt-edit-toolbar button{border:1px solid rgba(127,127,127,.3);background:transparent;border-radius:8px;padding:8px 11px;cursor:pointer}.pt-edit-toolbar button.is-active{outline:2px solid currentColor;font-weight:700}.pt-edit-toolbar label{display:flex;align-items:center;gap:5px;font-size:12px}.pt-edit-toolbar input[type=color]{width:34px;height:30px;padding:1px}.pt-edit-toolbar input[type=number]{width:66px;padding:6px}.pt-edit-spacer{flex:1}.pt-edit-pages{grid-column:1/-1;display:grid;gap:24px}.pt-edit-page-wrap{max-width:900px;margin:auto;width:100%}.pt-edit-page-label{font-weight:700;margin:0 0 7px}.pt-edit-canvas{position:relative;display:block;line-height:0;box-shadow:0 2px 14px rgba(0,0,0,.16);background:#fff;overflow:hidden;touch-action:none;user-select:none}.pt-edit-canvas>img{display:block;width:100%;height:auto;pointer-events:none}.pt-edit-object{position:absolute;z-index:4;box-sizing:border-box;line-height:1.2;cursor:pointer}.pt-edit-object.is-whiteout{background:#fff;border:1px dashed #888}.pt-edit-object.is-highlight{opacity:.38}.pt-edit-object.is-rectangle{border-style:solid;background:transparent}.pt-edit-object.is-text{white-space:pre-wrap;overflow:hidden;padding:2px}.pt-edit-object.is-image img{width:100%;height:100%;object-fit:fill;display:block}.pt-edit-object.is-draft{border:2px dashed #1565c0;background:rgba(21,101,192,.08)}.pt-edit-draw{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.pt-edit-tip{grid-column:1/-1;font-size:12px;opacity:.72}

/* PDF Studio — original visual editor */
.pt-studio{margin:20px -18px 6px;border:1px solid #dbe2ea;border-radius:18px;overflow:hidden;background:#eef2f6;box-shadow:0 18px 50px rgba(15,23,42,.10)}
.pt-studio-topbar{min-height:62px;display:flex;align-items:center;gap:18px;padding:9px 14px;background:#17202b;color:#fff;border-bottom:1px solid #263445;position:sticky;top:0;z-index:30}
.pt-studio-brand{display:flex;align-items:center;gap:10px;min-width:190px}.pt-studio-brand>div{display:flex;flex-direction:column;line-height:1.1}.pt-studio-brand small{color:#aab7c7;margin-top:4px;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pt-studio-mark{width:34px;height:34px;border-radius:10px;background:#fff;color:#17202b;display:grid;place-items:center;font-weight:900}
.pt-studio-history{display:flex;gap:7px;flex:1}.pt-studio-topbar button{border:1px solid #3b4a5d;background:#222e3c;color:#e8eef5;border-radius:9px;padding:8px 11px;cursor:pointer}.pt-studio-topbar button:hover{background:#2d3c4e}.pt-studio-zoom{display:flex;align-items:center;gap:7px}.pt-studio-zoom span{min-width:50px;text-align:center;font-size:13px}
.pt-studio-body{display:grid;grid-template-columns:78px 132px minmax(420px,1fr) 235px;min-height:680px;max-height:78vh}.pt-studio-tools{background:#202a36;border-right:1px solid #303d4d;padding:10px 7px;overflow:auto}.pt-studio-tools button{width:100%;border:0;background:transparent;color:#bdc8d5;border-radius:10px;padding:9px 4px;margin:2px 0;font-size:11px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px}.pt-studio-tools button span{font-size:20px;line-height:22px}.pt-studio-tools button:hover,.pt-studio-tools button.is-active{background:#344456;color:#fff}
.pt-studio-thumbs{background:#f8fafc;border-right:1px solid #dbe2ea;padding:10px;overflow:auto}.pt-panel-title{font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:#64748b;margin:3px 0 10px}.pt-edit-thumb{border:2px solid transparent;border-radius:8px;background:#fff;padding:4px;margin-bottom:10px;cursor:pointer;box-shadow:0 1px 4px rgba(15,23,42,.08)}.pt-edit-thumb.is-current{border-color:#334155}.pt-edit-thumb img{width:100%;display:block;border-radius:4px}.pt-edit-thumb span{display:block;text-align:center;font-size:11px;margin-top:4px;color:#64748b}
.pt-studio-stage{overflow:auto;background:#d9e0e7;padding:26px 24px}.pt-edit-pages{display:flex;flex-direction:column;align-items:center;gap:28px;transform-origin:top center}.pt-edit-page-wrap{width:min(760px,100%);filter:drop-shadow(0 6px 16px rgba(15,23,42,.18))}.pt-edit-page-label{font-size:11px;color:#475569;margin:0 0 6px}.pt-edit-canvas{position:relative;background:#fff;user-select:none;touch-action:none}.pt-edit-canvas>img{width:100%;height:auto;display:block;pointer-events:none}.pt-edit-canvas.is-tool-text{cursor:text}.pt-edit-canvas.is-tool-draw{cursor:crosshair}.pt-edit-canvas.is-tool-whiteout,.pt-edit-canvas.is-tool-highlight,.pt-edit-canvas.is-tool-rectangle,.pt-edit-canvas.is-tool-image{cursor:crosshair}
.pt-studio-properties{background:#fff;border-left:1px solid #dbe2ea;padding:14px;overflow:auto}.pt-property-empty{font-size:13px;color:#64748b;line-height:1.5;padding:10px 0}.pt-studio-properties label{display:block;font-size:12px;font-weight:700;color:#475569;margin:0 0 13px}.pt-studio-properties textarea,.pt-studio-properties input[type=number]{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;padding:8px;margin-top:5px}.pt-studio-properties input[type=color]{width:100%;height:36px;border:1px solid #cbd5e1;border-radius:8px;padding:3px;margin-top:5px;background:#fff}.pt-studio-properties input[type=range]{width:100%;margin-top:8px}.pt-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pt-studio-properties .pt-check{display:flex;align-items:center;gap:7px}.pt-danger-soft{width:100%;border:1px solid #fecaca;background:#fff7f7;color:#b91c1c;border-radius:9px;padding:9px;cursor:pointer}.pt-studio-note{margin-top:22px;border-top:1px solid #e2e8f0;padding-top:14px;font-size:12px;color:#64748b}.pt-studio-note p{margin:5px 0;line-height:1.5}
.pt-edit-object{position:absolute;box-sizing:border-box;z-index:4;cursor:move}.pt-edit-object.is-selected{outline:2px solid #2563eb;outline-offset:2px}.pt-edit-object.is-whiteout{background:#fff;border:1px dashed #94a3b8}.pt-edit-object.is-highlight{background:#fff176;opacity:.38}.pt-edit-object.is-rectangle{border:2px solid #111;background:transparent}.pt-edit-object.is-text{white-space:pre-wrap;overflow:hidden;line-height:1.2;background:transparent}.pt-edit-object.is-image img{width:100%;height:100%;object-fit:fill;display:block}.pt-edit-object.is-draft{border:1px dashed #2563eb;background:rgba(37,99,235,.08);pointer-events:none}.pt-edit-resize{position:absolute;width:12px;height:12px;right:-7px;bottom:-7px;border-radius:50%;background:#fff;border:2px solid #2563eb;cursor:nwse-resize;z-index:3}.pt-edit-draw{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none}.pt-edit-draw.is-selected{outline:2px solid #2563eb}.pt-edit-intro{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.pt-edit-intro span{color:#64748b}.pt-process.pt-edit-save{position:sticky;bottom:14px;z-index:35;box-shadow:0 8px 24px rgba(15,23,42,.22)}
@media(max-width:1050px){.pt-studio-body{grid-template-columns:70px 105px minmax(360px,1fr)}.pt-studio-properties{grid-column:1/-1;border-left:0;border-top:1px solid #dbe2ea;max-height:260px}.pt-studio-body{max-height:none}.pt-studio-stage{max-height:70vh}}
@media(max-width:700px){.pt-studio{margin-left:-8px;margin-right:-8px}.pt-studio-body{grid-template-columns:64px 1fr}.pt-studio-thumbs{display:none}.pt-studio-stage{padding:16px 10px}.pt-studio-properties{grid-column:1/-1}.pt-studio-brand{min-width:0}.pt-studio-history #ptEditClear{display:none}.pt-studio-topbar{gap:8px}.pt-studio-brand small{display:none}}

/* =========================================================
   EDIT PDF - document-first workspace v2
   Original layout: compact chrome, wide page canvas, contextual properties.
========================================================= */
.pt-studio-v2{margin:18px calc(50% - 50vw) 0;border:1px solid #d9e1ea;border-radius:14px;overflow:hidden;background:#eef2f6;box-shadow:0 18px 45px rgba(15,23,42,.12)}
.pt-studio-v2 .pt-studio-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;min-height:62px;padding:8px 16px;background:#172231;color:#fff}
.pt-studio-v2 .pt-studio-brand{min-width:230px}.pt-studio-v2 .pt-studio-history{display:flex;gap:6px}.pt-studio-v2 .pt-studio-zoom{margin-left:auto;display:flex;align-items:center;gap:8px}
.pt-studio-v2 .pt-studio-topbar button{border:1px solid rgba(255,255,255,.18);background:#223246;color:#fff;border-radius:8px;padding:8px 11px;cursor:pointer}
.pt-studio-v2 .pt-studio-topbar button:disabled{opacity:.45;cursor:not-allowed}.pt-studio-v2 .pt-studio-save{background:#1473e6!important;border-color:#1473e6!important;font-weight:700;min-width:130px}
.pt-studio-v2 .pt-studio-body{display:grid;grid-template-columns:82px 118px minmax(560px,1fr) 260px;min-height:72vh;max-height:none}
.pt-studio-v2 .pt-studio-tools{background:#202c3a;padding:10px 7px;display:flex;flex-direction:column;gap:5px}.pt-studio-v2 .pt-studio-tools button{min-height:54px;border:0;border-radius:9px;background:transparent;color:#dbe5ef;font-size:11px;cursor:pointer}.pt-studio-v2 .pt-studio-tools button span{display:block;font-size:20px;margin-bottom:2px}.pt-studio-v2 .pt-studio-tools button.is-active{background:#1473e6;color:#fff}
.pt-studio-v2 .pt-studio-thumbs{background:#f7f9fb;border-right:1px solid #d9e1ea;padding:10px;overflow:auto}.pt-studio-v2 .pt-edit-thumb{margin:8px 0 14px;cursor:pointer}.pt-studio-v2 .pt-edit-thumb img{display:block;width:100%;border:2px solid transparent;box-shadow:0 2px 7px rgba(0,0,0,.12)}.pt-studio-v2 .pt-edit-thumb.is-current img{border-color:#1473e6}.pt-studio-v2 .pt-edit-thumb span{display:block;text-align:center;font-size:11px;margin-top:4px}
.pt-studio-v2 .pt-studio-stage{overflow:auto;padding:28px 32px;background:#cfd7e0;min-width:0}.pt-studio-v2 .pt-edit-pages{width:100%;max-width:920px;margin:0 auto;transform-origin:top center}.pt-studio-v2 .pt-edit-page-wrap{margin:0 auto 30px}.pt-studio-v2 .pt-edit-page-label{text-align:center;font-size:12px;color:#536273;margin-bottom:7px}.pt-studio-v2 .pt-edit-canvas{position:relative;margin:auto;background:#fff;box-shadow:0 5px 22px rgba(0,0,0,.2);line-height:1}.pt-studio-v2 .pt-edit-canvas>img{display:block;width:100%;height:auto;pointer-events:none;user-select:none}
.pt-native-text-layer{position:absolute;inset:0;z-index:5;pointer-events:none}.pt-native-text{position:absolute;pointer-events:auto;border:1px solid transparent;background:transparent;cursor:text;color:transparent;overflow:hidden;white-space:nowrap}.pt-edit-canvas.is-tool-select .pt-native-text:hover{border-color:#58a6ff;background:rgba(20,115,230,.08)}.pt-native-text.is-selected{border:2px solid #1473e6!important;background:rgba(255,255,255,.93)!important;color:#111!important;z-index:8;padding:1px 2px;box-shadow:0 0 0 2px rgba(20,115,230,.12)}.pt-native-text.is-changed{background:#fff;color:#111;border-color:#1473e6}
.pt-studio-v2 .pt-studio-properties{background:#fff;border-left:1px solid #d9e1ea;padding:16px;overflow:auto}.pt-studio-v2 .pt-property-empty{padding:12px 0;color:#66758a}.pt-studio-v2 .pt-property-empty p{line-height:1.5}.pt-selected-kind{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#1473e6;margin-bottom:12px}.pt-studio-v2 .pt-studio-properties label{display:block;font-size:12px;font-weight:700;margin:12px 0}.pt-studio-v2 textarea,.pt-studio-v2 input[type=number]{box-sizing:border-box;width:100%;border:1px solid #c9d4e0;border-radius:8px;padding:9px;background:#fff}.pt-studio-v2 textarea{resize:vertical;line-height:1.4}.pt-studio-v2 .pt-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pt-studio-v2 .pt-studio-note{margin-top:22px;padding-top:14px;border-top:1px solid #e3e8ef;font-size:12px;line-height:1.5;color:#66758a}
.pt-studio-v2 .pt-edit-object{z-index:10}.pt-page:has(.pt-studio-v2:not([hidden])) #ptProcess{display:none}
@media(max-width:1100px){.pt-studio-v2 .pt-studio-body{grid-template-columns:72px 100px minmax(460px,1fr)}.pt-studio-v2 .pt-studio-properties{grid-column:2/4;border-left:0;border-top:1px solid #d9e1ea}.pt-studio-v2{margin-left:0;margin-right:0}}
@media(max-width:760px){.pt-studio-v2 .pt-studio-body{display:block}.pt-studio-v2 .pt-studio-thumbs{display:none}.pt-studio-v2 .pt-studio-tools{flex-direction:row;overflow:auto}.pt-studio-v2 .pt-studio-tools button{min-width:70px}.pt-studio-v2 .pt-studio-stage{padding:16px 8px}.pt-studio-v2 .pt-studio-topbar{flex-wrap:wrap}.pt-studio-v2 .pt-studio-brand{min-width:160px}}

/* Edit PDF v3: direct-on-page editing refinements */
.pt-studio-v2 .pt-studio-body{grid-template-columns:72px 104px minmax(680px,1fr) 220px}
.pt-studio-v2 .pt-studio-stage{padding:24px 28px;min-height:78vh}
.pt-studio-v2 .pt-edit-pages{max-width:1050px}
.pt-studio-v2 .pt-edit-page-wrap{width:min(900px,100%)}
.pt-native-text{box-sizing:border-box;border-radius:2px}
.pt-edit-canvas.is-tool-select .pt-native-text:hover{outline:1px solid #1473e6;outline-offset:1px;border-color:transparent;background:rgba(20,115,230,.06)}
.pt-native-text.is-selected{outline:2px solid #1473e6!important;outline-offset:1px;border:0!important;background:rgba(255,255,255,.96)!important;color:#111!important;overflow:visible;min-width:18px;min-height:16px}
.pt-native-text.is-inline-editing{z-index:30!important;outline:2px solid #1473e6!important;background:#fff!important;color:#111!important;cursor:text!important;white-space:pre-wrap!important;overflow:visible!important;min-width:60px;padding:1px 3px;box-shadow:0 2px 10px rgba(20,115,230,.2)}
.pt-edit-object.is-text.is-inline-editing{z-index:30;outline:2px solid #1473e6;cursor:text!important;user-select:text;white-space:pre-wrap;overflow:visible;background:rgba(255,255,255,.94)}
.pt-edit-object.is-text.is-inline-editing .pt-edit-resize{display:none}
.pt-studio-v2 .pt-studio-properties{padding:13px}.pt-studio-v2 .pt-studio-note{font-size:11px}
@media(max-width:1250px){.pt-studio-v2 .pt-studio-body{grid-template-columns:68px 92px minmax(540px,1fr) 210px}}

/* Full-width Edit PDF workspace is controlled by tools-shell.css. */


/* =========================================================
   LACUDE EDIT PDF V4 — FULL-WIDTH DOCUMENT-FIRST WORKSPACE
   Scoped to .pt-studio-v2 so frozen PDF tools are untouched.
========================================================= */

.pt-studio-v2{
  position:relative;
  left:50%;
  transform:translateX(-50%);
  width:calc(100vw - 24px);
  max-width:none;
  margin:18px 0 10px;
  border-radius:14px;
  background:#e8edf3;
}

.pt-studio-v2 .pt-studio-topbar{
  min-height:58px;
  padding:8px 14px;
  gap:10px;
}

.pt-studio-v2 .pt-studio-brand{
  min-width:205px;
}

.pt-studio-v2 .pt-studio-body{
  display:grid;
  grid-template-columns:68px 126px minmax(0,1fr) 270px;
  width:100%;
  min-height:calc(100vh - 150px);
  max-height:none;
}

.pt-studio-v2 .pt-studio-tools{
  position:sticky;
  top:58px;
  align-self:start;
  height:calc(100vh - 72px);
  overflow-y:auto;
}

.pt-studio-v2 .pt-studio-thumbs{
  height:calc(100vh - 72px);
  position:sticky;
  top:58px;
  overflow-y:auto;
}

.pt-studio-v2 .pt-studio-stage{
  min-width:0;
  min-height:calc(100vh - 150px);
  padding:28px 36px 60px;
  overflow:auto;
  background:#cbd3dc;
}

.pt-studio-v2 .pt-edit-pages{
  width:100%;
  max-width:none;
  margin:0 auto;
}

.pt-studio-v2 .pt-edit-page-wrap{
  width:min(980px, calc(100% - 24px));
  max-width:none;
  margin:0 auto 34px;
}

.pt-studio-v2 .pt-edit-canvas{
  width:100%;
  margin:0 auto;
  box-shadow:0 8px 30px rgba(15,23,42,.22);
}

.pt-studio-v2 .pt-studio-properties{
  position:sticky;
  top:58px;
  align-self:start;
  height:calc(100vh - 72px);
  overflow-y:auto;
  padding:16px;
}

.pt-native-text-layer{
  position:absolute;
  inset:0;
  z-index:8;
  pointer-events:none;
}

.pt-native-text{
  position:absolute;
  box-sizing:border-box;
  pointer-events:auto;
  cursor:text;
  color:transparent;
  background:transparent;
  border:1px solid transparent;
  border-radius:2px;
  overflow:hidden;
  white-space:nowrap;
  min-width:3px;
  min-height:3px;
}

.pt-edit-canvas.is-tool-select .pt-native-text:hover{
  outline:2px solid rgba(20,115,230,.78);
  outline-offset:1px;
  background:rgba(20,115,230,.10);
}

.pt-native-text.is-selected{
  outline:2px solid #1473e6!important;
  outline-offset:1px;
  border:0!important;
  background:rgba(255,255,255,.97)!important;
  color:#111!important;
  overflow:visible!important;
  min-width:24px;
  min-height:18px;
  z-index:20!important;
  padding:1px 3px;
  box-shadow:0 2px 10px rgba(20,115,230,.20);
}

.pt-native-text.is-inline-editing{
  z-index:40!important;
  outline:2px solid #1473e6!important;
  background:#fff!important;
  color:#111!important;
  cursor:text!important;
  white-space:nowrap!important;
  overflow:visible!important;
  min-width:80px;
  min-height:20px;
  padding:2px 4px;
  box-shadow:0 4px 16px rgba(15,23,42,.22);
}

.pt-studio-v2 .pt-edit-thumb{
  transition:border-color .15s ease, transform .15s ease;
}
.pt-studio-v2 .pt-edit-thumb:hover{
  transform:translateY(-1px);
}

@media(max-width:1200px){
  .pt-studio-v2 .pt-studio-body{
    grid-template-columns:64px 108px minmax(0,1fr) 230px;
  }
  .pt-studio-v2 .pt-studio-stage{padding:22px 20px 50px}
  .pt-studio-v2 .pt-edit-page-wrap{width:min(900px,calc(100% - 12px))}
}

@media(max-width:900px){
  .pt-studio-v2{
    width:100%;
    left:auto;
    transform:none;
  }
  .pt-studio-v2 .pt-studio-body{
    grid-template-columns:64px minmax(0,1fr);
  }
  .pt-studio-v2 .pt-studio-thumbs{display:none}
  .pt-studio-v2 .pt-studio-properties{
    grid-column:1/-1;
    position:relative;
    top:auto;
    height:auto;
    max-height:none;
    border-top:1px solid #d9e1ea;
  }
  .pt-studio-v2 .pt-studio-tools{
    position:relative;
    top:auto;
    height:auto;
  }
}


/* =========================================================
   LACUDE EDIT PDF V5 — TRUE APPLICATION WORKSPACE
   This intentionally replaces the old in-form editor geometry.
   Only the Edit PDF studio is affected.
========================================================= */

body.pt-pdf-editor-open{
  overflow:hidden!important;
}

body.pt-pdf-editor-open .pt-studio-v2{
  position:fixed!important;
  inset:0!important;
  z-index:10000!important;
  display:flex!important;
  flex-direction:column!important;
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  left:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  transform:none!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#d7dde5!important;
  box-shadow:none!important;
}

body.pt-pdf-editor-open .pt-studio-v2[hidden]{
  display:none!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-topbar{
  position:relative!important;
  top:auto!important;
  flex:0 0 64px!important;
  min-height:64px!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:8px 14px!important;
  z-index:50!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-brand{
  min-width:220px!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-body{
  flex:1 1 auto!important;
  display:grid!important;
  grid-template-columns:72px 126px minmax(0,1fr) 270px!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:hidden!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-tools,
body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-thumbs,
body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-properties{
  position:relative!important;
  top:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-tools{
  grid-column:1!important;
  background:#1e2b3a!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-thumbs{
  grid-column:2!important;
  background:#f7f9fb!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-stage{
  grid-column:3!important;
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
  max-height:none!important;
  overflow:auto!important;
  padding:28px 34px 80px!important;
  background:#cbd3dc!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-properties{
  grid-column:4!important;
  background:#fff!important;
  border-left:1px solid #d9e1ea!important;
  padding:16px!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-edit-pages{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
  transform-origin:initial!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-edit-page-wrap{
  width:min(860px, calc(100% - 28px));
  max-width:none!important;
  margin:0 auto 36px!important;
  transition:width .15s ease;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-edit-canvas{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  background:#fff!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-edit-canvas>img{
  width:100%!important;
  height:auto!important;
}

.pt-studio-v2 .pt-studio-close{
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  padding:0!important;
  border-radius:9px!important;
  font-size:26px!important;
  line-height:36px!important;
  background:#2b394b!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-zoom{
  margin-left:auto!important;
}

body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-save{
  min-width:132px!important;
}

/* The PDF itself remains visually original until a span is selected. */
body.pt-pdf-editor-open .pt-native-text{
  font-family:Arial,sans-serif;
}
body.pt-pdf-editor-open .pt-edit-canvas.is-tool-select .pt-native-text:hover{
  outline:2px solid #1473e6!important;
  outline-offset:1px!important;
  background:rgba(20,115,230,.10)!important;
}

/* Keep properties compact: it should support the document, not dominate it. */
body.pt-pdf-editor-open .pt-studio-properties textarea{
  max-height:150px!important;
}
body.pt-pdf-editor-open .pt-studio-note{
  margin-top:16px!important;
}

/* Medium screens: remove thumbnails first, not the document. */
@media(max-width:1200px){
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-body{
    grid-template-columns:68px minmax(0,1fr) 250px!important;
  }
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-thumbs{
    display:none!important;
  }
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-stage{
    grid-column:2!important;
    padding:22px 20px 70px!important;
  }
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-properties{
    grid-column:3!important;
  }
}

/* Small screens: document first, properties below/on demand area. */
@media(max-width:760px){
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-brand small,
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-history{
    display:none!important;
  }
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-brand{
    min-width:120px!important;
  }
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-body{
    grid-template-columns:58px minmax(0,1fr)!important;
  }
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-tools{
    grid-column:1!important;
  }
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-stage{
    grid-column:2!important;
    padding:14px 8px 60px!important;
  }
  body.pt-pdf-editor-open .pt-studio-v2 .pt-studio-properties{
    display:none!important;
  }
}

/* Edit PDF V6: successful Apply closes the workspace and makes Download the next action. */
.pt-page:has(#ptEditStudio) .pt-result:not([hidden]){
  margin-top:18px;
  border:1px solid #b9d7ff;
  box-shadow:0 10px 28px rgba(15,23,42,.10);
}
.pt-page:has(#ptEditStudio) .pt-result:not([hidden]) #ptDownload{font-weight:800}

/* Edit PDF V7: successful Apply exposes Download in the editor toolbar. */
.pt-studio-v2 .pt-studio-download{
 display:inline-flex;align-items:center;justify-content:center;min-height:40px;
 padding:0 16px;border-radius:9px;background:#198754;color:#fff!important;
 font-weight:800;text-decoration:none!important;white-space:nowrap
}
.pt-studio-v2 .pt-studio-download:hover{filter:brightness(.96)}
.pt-studio-v2 .pt-studio-download[hidden]{display:none!important}


/* Edit PDF V8 toolbar cleanup:
   The native file input is only a programmatic helper for the Image tool.
   It must never appear as a visible toolbar utility. */
.pt-studio-v2 #ptEditImage{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
}


/* =========================================================
   EDIT PDF V9 — WORKFLOW/LAYOUT ONLY
   V8 PDF editing engine remains unchanged.
========================================================= */
.pt-page:has(#ptEditStudio) #ptProcess{
  display:none!important;
}
.pt-studio-v2 .pt-studio-another{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border:1px solid #42546a;
  border-radius:9px;
  background:#223247;
  color:#fff;
  font-weight:750;
  white-space:nowrap;
  cursor:pointer;
}
.pt-studio-v2 .pt-studio-another:hover{background:#2a3c53}
@media(max-width:900px){
  .pt-studio-v2 .pt-studio-another{padding:0 10px;font-size:12px}
}

/* EDIT PDF V10 — workflow/layout only; editing engine unchanged. */
.pt-page:has(#ptEditStudio) .pt-options{display:block;margin-top:0}
.pt-page:has(#ptEditStudio) #ptResult{display:none!important}
.pt-page:has(#ptEditStudio) .pt-status{text-align:left;padding:16px 18px}
.pt-page:has(#ptEditStudio) .pt-status strong{display:block;margin-bottom:9px}
.pt-inline-progress,.pt-edit-progress{width:100%;height:8px;overflow:hidden;border-radius:999px;background:#dfe5eb}
.pt-inline-progress span,.pt-edit-progress span{display:block;width:0;height:100%;border-radius:inherit;background:#1473e6;transition:width .16s ease}
.pt-page:has(#ptEditStudio) .pt-status small{display:block;margin-top:7px;color:#667085;font-weight:700}
.pt-edit-loading{position:absolute;inset:0;z-index:200;display:grid;place-items:center;background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
.pt-edit-loading[hidden]{display:none!important}
.pt-edit-loading-card{width:min(430px,calc(100vw - 40px));padding:24px;border-radius:14px;background:#fff;color:#111827;box-shadow:0 20px 60px rgba(0,0,0,.28)}
.pt-edit-loading-card strong{display:block;margin-bottom:12px;font-size:17px}
.pt-edit-loading-card small{display:block;margin-top:8px;color:#667085;font-weight:700}


/* =========================================================
   EDIT PDF V11 — LANDING LAYOUT PARITY + PROGRESS AUTOSCROLL
   Editing functionality remains frozen.
========================================================= */

/* Edit PDF landing should use the same centered tool-card proportions as
   the other PDF utilities instead of the previous near-full-page card. */
.pt-page:has(#ptEditStudio) .pt-workbench{
  width:min(1125px,calc(100% - 40px))!important;
  max-width:1125px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:34px!important;
  border-radius:22px!important;
}

/* Keep its drop zone at the same comfortable proportions as standard tools. */
.pt-page:has(#ptEditStudio) .pt-drop{
  min-height:415px!important;
  padding:38px 28px!important;
}

/* Once the full-screen editor is open, landing-card geometry is irrelevant. */
body.pt-pdf-editor-open .pt-page:has(#ptEditStudio) .pt-workbench{
  max-width:1125px!important;
}

@media(max-width:760px){
  .pt-page:has(#ptEditStudio) .pt-workbench{
    width:calc(100% - 24px)!important;
    padding:18px!important;
    border-radius:16px!important;
  }
  .pt-page:has(#ptEditStudio) .pt-drop{
    min-height:340px!important;
    padding:28px 16px!important;
  }
}


/* =========================================================
   LACUDE PDF TOOLS DIRECTORY — LANDING PAGE REDESIGN
   Scoped to .pt-library. Individual PDF tool functionality
   and workbench/editor styling remain unchanged.
========================================================= */
.pt-library{background:#f7f7f5;overflow:hidden}
.pt-library .public-container{width:min(1180px,calc(100% - 40px));margin-left:auto;margin-right:auto}

.pt-library-hero{position:relative;padding:88px 0 76px;background:#111;color:#fff;overflow:hidden}
.pt-library-hero:before{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-150px;top:-260px}
.pt-library-hero:after{content:"PDF";position:absolute;right:2.5%;bottom:-65px;font-size:260px;line-height:1;font-weight:950;letter-spacing:-.08em;color:rgba(255,255,255,.035);pointer-events:none}
.pt-library-hero .public-container{position:relative;z-index:1}
.pt-eyebrow,.pt-section-kicker{display:block;font-size:11px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
.pt-eyebrow{color:#c7c7c2}
.pt-library-hero h1{max-width:780px;margin:17px 0 20px;font-size:clamp(48px,7vw,86px);line-height:.96;letter-spacing:-.055em}
.pt-library-hero>div>p{max-width:690px;margin:0;color:#c7c9cc;font-size:18px;line-height:1.7}
.pt-hero-meta{display:flex;gap:0;margin-top:48px;border-top:1px solid rgba(255,255,255,.16);max-width:760px}
.pt-hero-meta div{min-width:180px;padding:20px 34px 0 0;margin-right:34px;border-right:1px solid rgba(255,255,255,.12)}
.pt-hero-meta div:last-child{border-right:0}
.pt-hero-meta strong,.pt-hero-meta span{display:block}.pt-hero-meta strong{font-size:18px}.pt-hero-meta span{margin-top:5px;color:#969ca4;font-size:12px}

.pt-tool-directory{padding-top:72px;padding-bottom:76px}
.pt-directory-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,430px);gap:50px;align-items:end;margin-bottom:52px}
.pt-section-kicker{color:#777}
.pt-directory-head h2,.pt-how h2,.pt-privacy-panel h2,.pt-faq h2{margin:8px 0 0;font-size:clamp(28px,4vw,46px);line-height:1.05;letter-spacing:-.04em}
.pt-directory-head>p{margin:0;color:#6b7076;line-height:1.7}

.pt-tool-section{display:grid;grid-template-columns:280px minmax(0,1fr);gap:42px;padding:42px 0;border-top:1px solid #d9dcdf}
.pt-tool-section:last-child{border-bottom:1px solid #d9dcdf}
.pt-tool-section-head{display:grid;grid-template-columns:38px 1fr;gap:14px;align-content:start;position:sticky;top:90px;align-self:start}
.pt-section-index{font-size:12px;font-weight:900;color:#92979c;padding-top:4px}
.pt-tool-section-head span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#7a7f85}
.pt-tool-section-head h2{font-size:25px;margin:5px 0 9px;letter-spacing:-.025em}
.pt-tool-section-head p{font-size:13px;line-height:1.65;color:#72777c;margin:0}

.pt-tool-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.pt-tool-card{position:relative;min-height:164px;padding:23px;display:grid;grid-template-columns:56px minmax(0,1fr) 26px;gap:16px;align-items:start;border:1px solid #dfe1e3;border-radius:16px;background:#fff;color:#15171a;text-decoration:none;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.pt-tool-card:hover{transform:translateY(-3px);border-color:#bfc4c8;box-shadow:0 16px 36px rgba(15,23,42,.08)}
.pt-tool-icon{width:56px;height:56px;border-radius:15px;display:grid;place-items:center;background:#111;color:#fff;font-size:19px;font-weight:900;letter-spacing:-.04em}
.pt-tool-type{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:850;color:#92979c}
.pt-tool-copy h3{font-size:19px;line-height:1.2;margin:5px 0 8px;letter-spacing:-.02em}
.pt-tool-copy p{margin:0;color:#687078;font-size:13px;line-height:1.55}
.pt-tool-open{font-size:18px;line-height:1;transition:transform .18s ease}.pt-tool-card:hover .pt-tool-open{transform:translate(3px,-3px)}

/* Give each family a distinct visual identity without changing tool behavior. */
.pt-tool-section--organize .pt-tool-icon{background:#16213b}
.pt-tool-section--optimize .pt-tool-icon{background:#65372d}
.pt-tool-section--toPdf .pt-tool-icon{background:#285747}
.pt-tool-section--fromPdf .pt-tool-icon{background:#58466f}
.pt-tool-section--edit .pt-tool-icon{background:#704c20}
.pt-tool-section--more .pt-tool-icon{background:#42474d}
.pt-tool-section--organize .pt-tool-card.is-featured{background:#f3f6fb}
.pt-tool-section--optimize .pt-tool-card.is-featured{background:#faf4f1}
.pt-tool-section--toPdf .pt-tool-card.is-featured{background:#f2f8f5}
.pt-tool-section--fromPdf .pt-tool-card.is-featured{background:#f6f3f8}
.pt-tool-section--edit .pt-tool-card.is-featured{background:#faf6ef}

.pt-capabilities{padding:82px 0;background:#151719;color:#fff}
.pt-directory-head-light{margin-bottom:40px}
.pt-directory-head-light .pt-section-kicker{color:#92989f}
.pt-directory-head-light>p{color:#aab0b6}
.pt-capability-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #35383c;border-left:1px solid #35383c}
.pt-capability-grid article{min-height:220px;padding:28px;border-right:1px solid #35383c;border-bottom:1px solid #35383c}
.pt-capability-grid article>span{display:block;color:#777f87;font-size:11px;font-weight:900}
.pt-capability-grid h3{font-size:20px;margin:42px 0 10px}
.pt-capability-grid p{margin:0;color:#aeb4ba;font-size:13px;line-height:1.65}

.pt-how{display:grid!important;grid-template-columns:.9fr 1.1fr;gap:80px;padding-top:90px;padding-bottom:90px}
.pt-how-copy>p{max-width:500px;color:#6d7379;line-height:1.7}
.pt-steps{border-top:1px solid #d9dcdf}
.pt-steps>div{display:grid;grid-template-columns:46px 1fr;gap:15px;padding:23px 0;border-bottom:1px solid #d9dcdf}
.pt-steps b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-size:12px}
.pt-steps strong,.pt-steps small{display:block}.pt-steps strong{font-size:16px}.pt-steps small{margin-top:5px;color:#777;font-size:13px;line-height:1.5}

.pt-privacy-panel{display:grid!important;grid-template-columns:74px 1fr;gap:26px;align-items:center;margin-bottom:90px;padding:36px!important;border:1px solid #d9dcdf;border-radius:22px;background:#fff}
.pt-privacy-mark{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:#111;color:#fff;font-size:25px;font-weight:900}
.pt-privacy-panel h2{font-size:28px}.pt-privacy-panel p{margin:10px 0 0;color:#70767b;line-height:1.65}

.pt-faq{display:grid!important;grid-template-columns:330px 1fr;gap:70px;padding-bottom:100px}
.pt-faq-list{border-top:1px solid #d9dcdf}
.pt-faq-list details{border-bottom:1px solid #d9dcdf;padding:20px 0}
.pt-faq-list summary{cursor:pointer;font-size:16px;font-weight:800;list-style:none;padding-right:30px;position:relative}
.pt-faq-list summary::-webkit-details-marker{display:none}
.pt-faq-list summary:after{content:"+";position:absolute;right:4px;top:-2px;font-size:23px;font-weight:400}
.pt-faq-list details[open] summary:after{content:"−"}
.pt-faq-list p{max-width:720px;margin:12px 0 0;color:#70767b;line-height:1.7;font-size:14px}

html[data-theme="dark"] .pt-library{background:#111315;color:#f4f4f2}
html[data-theme="dark"] .pt-tool-card,html[data-theme="dark"] .pt-privacy-panel{background:#1b1e21;border-color:#34383c;color:#f5f5f3}
html[data-theme="dark"] .pt-tool-card.is-featured{background:#202326}
html[data-theme="dark"] .pt-tool-section,html[data-theme="dark"] .pt-tool-section:last-child,html[data-theme="dark"] .pt-steps,html[data-theme="dark"] .pt-steps>div,html[data-theme="dark"] .pt-faq-list,html[data-theme="dark"] .pt-faq-list details{border-color:#34383c}

@media(max-width:980px){
 .pt-tool-section{grid-template-columns:1fr}.pt-tool-section-head{position:static;max-width:620px}
 .pt-capability-grid{grid-template-columns:repeat(2,1fr)}
 .pt-how{grid-template-columns:1fr;gap:36px}
 .pt-faq{grid-template-columns:1fr;gap:30px}
}
@media(max-width:680px){
 .pt-library .public-container{width:min(100% - 24px,1180px)}
 .pt-library-hero{padding:64px 0 54px}.pt-library-hero h1{font-size:48px}.pt-library-hero:after{font-size:150px}
 .pt-hero-meta{display:grid;grid-template-columns:1fr}.pt-hero-meta div{border-right:0;border-bottom:1px solid rgba(255,255,255,.12);padding:15px 0;margin:0}
 .pt-directory-head{grid-template-columns:1fr;gap:18px;margin-bottom:32px}
 .pt-tool-cards{grid-template-columns:1fr}.pt-tool-card{min-height:0}
 .pt-capability-grid{grid-template-columns:1fr}
 .pt-how{padding-top:65px;padding-bottom:65px}
 .pt-privacy-panel{grid-template-columns:1fr;padding:25px!important}
}

/* Phase 4 additional tool controls — uses the existing PDF tool form system. */
.pt-options label input[type="number"],.pt-options label input[type="text"]{width:100%}


/* =========================================================
   SHARED PDF TOOL RESULT STATE FIX
   Hidden result/status/error panels must stay out of the
   layout until JavaScript explicitly reveals them.
========================================================= */
.pt-result[hidden],
.pt-status[hidden],
.pt-error[hidden]{
  display:none!important;
}
