:root { --pdf-panel:#0a1a32; --pdf-border:rgba(139,183,238,.22); --pdf-muted:#9db5d3; --pdf-mint:#78f4bc; }
.pdf-editor-page { background:#071729; }
.pdf-editor-shell { width:min(1180px, calc(100% - 28px)); margin:0 auto; padding:clamp(1.4rem,3vw,2.5rem) 0 3rem; }
.pdf-editor-intro { max-width:760px; margin:0 auto 1rem; text-align:center; }
.pdf-editor-eyebrow,.pdf-preview-kicker { display:block; color:var(--pdf-mint); font-size:.75rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.pdf-editor-intro h2 { margin:.35rem 0 .45rem; color:#fff; font-size:clamp(1.8rem,3.4vw,2.75rem); line-height:1.04; }
.pdf-editor-intro p { margin:0 auto; max-width:680px; color:#b8c9e1; font-size:clamp(.9rem,1.6vw,1.02rem); }
.pdf-editor-badges { display:flex; flex-wrap:wrap; justify-content:center; gap:.45rem; margin-top:.7rem; }
.pdf-editor-badges span { padding:.45rem .7rem; border:1px solid rgba(120,244,188,.22); border-radius:999px; color:#caffdf; background:rgba(58,205,155,.08); font-size:.82rem; font-weight:800; }
.pdf-editor-card { padding:clamp(.8rem,1.8vw,1.15rem); border:1px solid var(--pdf-border); border-radius:22px; background:linear-gradient(145deg,rgba(18,45,80,.98),rgba(5,19,38,.99)); box-shadow:0 26px 80px rgba(0,4,18,.38); }
#pdfEditorInput[hidden],#pdfEditorImageInput[hidden] { display:none !important; }
.pdf-editor-drop[hidden] { display:none !important; }
.pdf-editor-drop { min-height:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.55rem; padding:1rem 1.15rem; text-align:center; border:1.5px dashed rgba(83,204,244,.62); border-radius:16px; background:linear-gradient(100deg,rgba(55,199,239,.12),transparent 55%),rgba(3,17,36,.5); transition:.2s ease; }
.pdf-editor-drop:hover,.pdf-editor-drop.is-dragging { border-color:var(--pdf-mint); transform:translateY(-2px); background:radial-gradient(circle at 50% 0,rgba(88,238,193,.2),transparent 55%),rgba(3,17,36,.7); }
.pdf-editor-drop small { display:block; color:#829cbc; font-size:.76rem; }
.pdf-primary-button,.pdf-secondary-button,.pdf-tool-button,.pdf-icon-button { min-height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:11px; font:inherit; font-weight:850; cursor:pointer; text-decoration:none; }
.pdf-primary-button { padding:.72rem 1rem; border:0; color:#071526; background:linear-gradient(100deg,#77f0bb,#3bd7ef,#5d8fff); box-shadow:0 10px 28px rgba(45,170,242,.2); }
.pdf-primary-button:disabled { opacity:.5; cursor:not-allowed; }
.pdf-secondary-button,.pdf-tool-button,.pdf-icon-button { padding:.65rem .8rem; border:1px solid rgba(145,186,236,.25); color:#e6f1ff; background:rgba(255,255,255,.06); }
.pdf-secondary-button:hover,.pdf-tool-button:hover,.pdf-icon-button:hover { border-color:#68dfbd; color:#82f7ca; }
.pdf-icon-button { width:44px; padding:0; font-size:1.25rem; }
.pdf-secondary-button:disabled,.pdf-tool-button:disabled,.pdf-icon-button:disabled { opacity:.32; color:#7890ae; border-color:rgba(145,186,236,.15); cursor:not-allowed; }
.pdf-secondary-button:disabled:hover,.pdf-tool-button:disabled:hover,.pdf-icon-button:disabled:hover { color:#7890ae; border-color:rgba(145,186,236,.15); }
.pdf-danger-button { color:#ffb6bd; border-color:rgba(255,116,130,.25); }
.pdf-danger-button:hover { color:#fff; border-color:#ff7182; background:rgba(255,79,99,.14); }
.pdf-editor-workspace { overflow:hidden; border:1px solid var(--pdf-border); border-radius:18px; background:rgba(3,14,30,.5); }
.pdf-page-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
.pdf-editor-grid { min-height:620px; display:grid; grid-template-columns:200px minmax(0,1fr); }
.pdf-page-panel { min-width:0; border-right:1px solid var(--pdf-border); background:rgba(2,13,28,.55); }
.pdf-panel-heading { min-height:50px; box-sizing:border-box; display:flex; justify-content:space-between; align-items:center; gap:.4rem; padding:.4rem .65rem; border-bottom:1px solid var(--pdf-border); }
.pdf-panel-heading span { display:block; color:#dceaff; font-size:.7rem; font-weight:900; letter-spacing:.08em; }
.pdf-panel-heading small { color:#829bbb; font-size:.62rem; }
.pdf-page-list { max-height:680px; display:grid; gap:.45rem; padding:.5rem; overflow:auto; }
.pdf-page-thumb { position:relative; display:grid; grid-template-columns:66px minmax(0,1fr); gap:.5rem; align-items:center; width:100%; padding:.42rem; border:1px solid rgba(137,180,234,.17); border-radius:10px; color:#dbe9fb; background:rgba(255,255,255,.035); text-align:left; cursor:grab; }
.pdf-page-thumb:hover { border-color:rgba(104,223,189,.52); }
.pdf-page-thumb.is-selected { border-color:var(--pdf-mint); background:rgba(68,221,170,.1); box-shadow:0 0 0 1px rgba(120,244,188,.14); }
.pdf-page-thumb.is-dragging { opacity:.45; }
.pdf-thumb-canvas-wrap { width:66px; min-height:82px; display:grid; place-items:center; overflow:hidden; border-radius:6px; background:#fff; box-shadow:0 5px 14px rgba(0,0,0,.22); }
.pdf-thumb-canvas-wrap canvas { display:block; max-width:100%; max-height:96px; }
.pdf-thumb-copy strong,.pdf-thumb-copy small { display:block; }
.pdf-thumb-copy strong { color:#f2f7ff; font-size:.8rem; }
.pdf-thumb-copy small { margin-top:.12rem; color:#8fa8c7; font-size:.7rem; }
.pdf-thumb-move { display:flex; gap:.25rem; margin-top:.3rem; }
.pdf-thumb-move button { width:27px; height:24px; border:1px solid rgba(145,186,236,.2); border-radius:6px; color:#cfe0f6; background:rgba(255,255,255,.05); cursor:pointer; }
.pdf-thumb-move button:disabled { opacity:.28; cursor:not-allowed; }
.pdf-preview-panel { min-width:0; display:flex; flex-direction:column; }
.pdf-preview-toolbar { min-height:50px; box-sizing:border-box; display:flex; justify-content:space-between; align-items:center; gap:.6rem; padding:.35rem .65rem; border-bottom:1px solid var(--pdf-border); }
.pdf-preview-toolbar>div:first-child { min-width:0; display:flex; align-items:center; gap:.45rem; }
.pdf-preview-toolbar .pdf-preview-kicker { display:none; }
.pdf-preview-toolbar strong { display:block; flex:0 0 auto; margin:0; color:#fff; font-size:.82rem; }
.pdf-compact-file { max-width:min(28vw,430px); display:flex; align-items:center; gap:.3rem; margin:0; overflow:hidden; color:#7894b8; font-size:.61rem; white-space:nowrap; }
.pdf-compact-file span:first-child { overflow:hidden; text-overflow:ellipsis; }
.pdf-action-divider { width:1px; height:20px; margin:0 .05rem; background:rgba(145,186,236,.22); }
.pdf-preview-toolbar .pdf-primary-button,.pdf-preview-toolbar .pdf-secondary-button,.pdf-preview-toolbar .pdf-tool-button { min-height:32px; padding:.34rem .58rem; border-radius:8px; font-size:.72rem; }
.pdf-preview-toolbar .pdf-icon-button { width:34px; min-height:32px; border-radius:8px; font-size:.95rem; }
.pdf-editor-stage { min-height:540px; display:grid; grid-template-columns:64px minmax(0,1fr); flex:1; }
.pdf-edit-toolbar { min-width:0; display:flex; flex-direction:column; align-items:stretch; gap:.3rem; padding:.4rem .3rem; overflow-x:hidden; border-right:1px solid var(--pdf-border); background:rgba(3,14,30,.78); }
.pdf-tool-rail-label { display:none; }
.pdf-edit-tools,.pdf-edit-options { min-width:0; display:flex; flex-direction:column; align-items:stretch; gap:.22rem; }
.pdf-editor-page .pdf-edit-tool { box-sizing:border-box; width:100%; max-width:100%; min-width:0; min-height:43px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.08rem; padding:.2rem .08rem; overflow:hidden; border:1px solid transparent; border-radius:7px; color:#dce9fb; background:transparent; font-size:.58rem; line-height:1.05; font-weight:800; white-space:nowrap; text-overflow:clip; cursor:pointer; }
.pdf-editor-page .pdf-edit-tool>span { font-size:.94rem; line-height:1; }
.pdf-edit-tool:hover,.pdf-edit-tool.is-active { border-color:var(--pdf-mint); color:#08201a; background:var(--pdf-mint); }
.pdf-edit-options { margin-top:auto; padding-top:.35rem; border-top:1px solid rgba(139,183,238,.16); }
.pdf-edit-options label { display:flex; flex-direction:column; align-items:center; gap:.25rem; color:#8fa8c7; font-size:.62rem; font-weight:800; }
.pdf-edit-options input[type="color"] { width:34px; height:28px; padding:2px; border:1px solid rgba(145,186,236,.3); border-radius:7px; background:#102540; cursor:pointer; }
.pdf-edit-size-controls { display:grid; grid-template-columns:1fr 1fr; gap:.3rem; }
.pdf-edit-options .pdf-icon-button { min-height:28px; width:100%; }
.pdf-edit-options .pdf-tool-button { min-height:30px; padding:.25rem .1rem; font-size:.56rem; }
.pdf-canvas-wrap { position:relative; min-width:0; min-height:540px; display:grid; place-items:start center; padding:.65rem .8rem; overflow:auto; background:radial-gradient(circle at 50% 15%,rgba(53,116,191,.16),transparent 45%),#071326; }
#pdfEditorCanvas { display:block; max-width:100%; height:auto; background:#fff; box-shadow:0 22px 55px rgba(0,0,0,.42); }
.pdf-editor-overlay { position:absolute; left:0; top:0; z-index:2; overflow:hidden; touch-action:none; }
.pdf-source-text-hit { position:absolute; box-sizing:border-box; min-width:8px; min-height:10px; padding:0; border:1px dashed rgba(120,244,188,.62); border-radius:2px; background:rgba(120,244,188,.08); cursor:text; transition:border-color .15s ease,background .15s ease,box-shadow .15s ease; }
.pdf-source-text-hit:hover,.pdf-source-text-hit:focus-visible { outline:0; border-color:#31e9b0; background:rgba(120,244,188,.2); box-shadow:0 0 0 2px rgba(49,233,176,.18); }
.pdf-editor-overlay[data-tool="text"],.pdf-editor-overlay[data-tool="highlight"],.pdf-editor-overlay[data-tool="whiteout"],.pdf-editor-overlay[data-tool="draw"] { cursor:crosshair; }
.pdf-editor-overlay[data-tool="edit-text"] { cursor:text; }
.pdf-annotation { position:absolute; box-sizing:border-box; min-width:8px; min-height:8px; user-select:none; touch-action:none; }
.pdf-annotation.is-selected { outline:2px solid #38dff0; outline-offset:2px; }
.pdf-annotation-text { min-width:90px; padding:2px 4px; color:#13233a; white-space:pre-wrap; cursor:move; }
.pdf-annotation-text.is-text-replacement { z-index:1; min-width:0; padding:0 2px; overflow:visible; background:#fff; box-shadow:0 -3px 0 #fff,0 4px 0 #fff; cursor:text; }
.pdf-annotation-text.is-paragraph-replacement { white-space:normal; line-height:1.18; overflow:hidden; }
.pdf-annotation-text.is-text-replacement.is-live-text-edit { white-space:pre; overflow:visible; }
.pdf-annotation-text.is-text-replacement.is-pristine-replacement { color:transparent !important; caret-color:#0b6f78; background:transparent; box-shadow:none; }
.pdf-annotation-text.is-text-replacement.is-pristine-replacement::selection { color:transparent; background:rgba(56,223,240,.32); }
.pdf-annotation-text.is-paragraph-replacement.is-expanded-paragraph { box-shadow:0 0 0 2px rgba(94,230,192,.55); }
.pdf-annotation-text.is-paragraph-replacement.has-unsafe-overflow { box-shadow:0 0 0 2px rgba(255,117,131,.75); }
.pdf-flow-shift-cover,.pdf-flow-shift-preview { position:absolute; pointer-events:none; }
.pdf-flow-shift-cover { z-index:1; background:#fff; box-shadow:0 -2px 0 #fff,0 3px 0 #fff; }
.pdf-flow-shift-preview { z-index:2; overflow:hidden; white-space:nowrap; line-height:1.15; }
.pdf-annotation-text[contenteditable="true"] { user-select:text; cursor:text; }
.pdf-annotation-image { object-fit:contain; cursor:move; }
.pdf-signature-resize-handle { position:absolute; z-index:4; width:18px; height:18px; padding:0; transform:translate(-50%,-50%); border:2px solid #071326; border-radius:4px; background:#38dff0; box-shadow:0 0 0 2px #fff,0 3px 10px rgba(0,0,0,.4); cursor:nwse-resize; touch-action:none; }
.pdf-signature-resize-handle:hover,.pdf-signature-resize-handle:focus-visible { outline:0; background:#78f4bc; box-shadow:0 0 0 3px #071326,0 0 0 5px #78f4bc,0 4px 14px rgba(0,0,0,.5); }
.pdf-text-resize-handle { position:absolute; z-index:4; width:18px; height:18px; padding:0; transform:translate(-50%,-50%); border:2px solid #071326; border-radius:4px; background:#38dff0; box-shadow:0 0 0 2px #fff,0 3px 10px rgba(0,0,0,.4); cursor:nwse-resize; touch-action:none; }
.pdf-text-resize-handle:hover,.pdf-text-resize-handle:focus-visible { outline:0; background:#78f4bc; box-shadow:0 0 0 3px #071326,0 0 0 5px #78f4bc,0 4px 14px rgba(0,0,0,.5); }
.pdf-annotation-highlight { background:rgba(255,232,64,.42); mix-blend-mode:multiply; cursor:move; }
.pdf-annotation-whiteout { border:1px solid rgba(0,0,0,.16); background:#fff; cursor:move; }
.pdf-annotation-drawing { inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.pdf-annotation-drawing polyline { pointer-events:stroke; cursor:pointer; }
.pdf-annotation-drawing.is-selected { outline:2px solid #38dff0; outline-offset:-2px; }
.pdf-canvas-loading { position:absolute; inset:0; display:grid; place-items:center; color:#c8d9ef; background:rgba(7,19,38,.76); font-weight:800; }
.pdf-canvas-loading[hidden] { display:none; }
.pdf-editor-status { min-height:1.5em; margin:1rem 0 0; text-align:center; color:#91f4c7; font-weight:750; }
.pdf-editor-status.is-warning { color:#ffd166; border-color:rgba(255,209,102,.42) !important; }
.pdf-editor-status:empty { display:none; }
.pdf-editor-result { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:1rem; padding:1rem; border:1px solid rgba(104,226,188,.35); border-radius:14px; background:linear-gradient(100deg,rgba(50,209,163,.13),rgba(69,130,241,.12)); color:#e4fff2; }
.pdf-editor-result[hidden] { display:none; }
.pdf-editor-result p { margin:.22rem 0 0; color:#abc7dc; }
.pdf-editor-privacy { display:grid; grid-template-columns:32px 1fr; gap:.7rem; margin-top:1rem; padding:.9rem 1rem; border-radius:14px; color:#ccffe2; background:rgba(50,209,163,.08); }
.pdf-editor-privacy>span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; color:#06201a; background:var(--pdf-mint); font-weight:900; }
.pdf-editor-privacy p { margin:.2rem 0 0; color:#a9cdbb; }
.pdf-signature-dialog { width:min(720px,calc(100% - 24px)); padding:0; border:1px solid rgba(130,202,255,.42); border-radius:18px; color:#edf6ff; background:#081a32; box-shadow:0 28px 90px rgba(0,0,0,.6); }
.pdf-signature-dialog::backdrop { background:rgba(0,8,20,.75); backdrop-filter:blur(5px); }
.pdf-signature-dialog form { padding:1rem; }
.pdf-signature-header { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:.8rem; }
.pdf-signature-header strong { display:block; margin-top:.2rem; }
.pdf-signature-close { width:40px; height:40px; border:1px solid rgba(145,186,236,.25); border-radius:10px; color:#fff; background:rgba(255,255,255,.06); font-size:1.5rem; cursor:pointer; }
#pdfSignatureCanvas { display:block; width:100%; height:auto; border-radius:12px; background:#fff; touch-action:none; cursor:crosshair; }
.pdf-signature-actions { display:flex; justify-content:flex-end; gap:.6rem; margin-top:.8rem; }

/* Keep PDF Studio's navigation quiet and compact in both the upload and editor states. */
.pdf-editor-page .top-nav .nav-link.is-active { box-shadow:none !important; filter:none !important; }
.pdf-editor-page .top-nav .more-tools-short { display:none !important; }

/* Once a document is open, PDF Studio behaves like an application instead of a landing page. */
.pdf-editor-page.has-pdf { height:100dvh; min-height:0; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:56px minmax(0,1fr); overflow:hidden; }
.pdf-editor-page.has-pdf header.site { grid-column:1; grid-row:1; z-index:1; height:52px !important; min-height:52px !important; padding:0 !important; }
.pdf-editor-page.has-pdf header.site .header-flex { width:calc(100% - 24px) !important; height:52px !important; min-height:0 !important; margin:0 auto !important; padding:0 !important; flex-direction:row !important; align-items:center !important; justify-content:flex-start !important; gap:0 !important; }
.pdf-editor-page.has-pdf header.site .brand-banner { width:auto !important; margin:0 !important; justify-content:flex-start !important; }
.pdf-editor-page.has-pdf header.site .brand-banner-img { width:auto !important; max-width:118px !important; max-height:32px !important; }
.pdf-editor-page.has-pdf header.site .subtitle { display:none !important; }
.pdf-editor-page.has-pdf .top-nav { grid-column:1; grid-row:1; z-index:2; height:52px !important; min-height:52px !important; padding:0 !important; border-bottom:1px solid rgba(139,183,238,.18); background:transparent !important; pointer-events:none; }
.pdf-editor-page.has-pdf .top-nav .nav-shell { width:min(100% - 150px,880px); height:52px !important; min-height:52px !important; margin:0 auto !important; padding:0 !important; gap:.35rem; overflow:visible; }
.pdf-editor-page.has-pdf .top-nav a,.pdf-editor-page.has-pdf .top-nav button { height:32px !important; min-height:32px !important; max-height:32px !important; padding:.3rem .58rem !important; border-radius:8px !important; font-size:.78rem !important; line-height:1 !important; pointer-events:auto; }
.pdf-editor-page.has-pdf .pdf-editor-shell { grid-column:1; grid-row:2; width:100%; max-width:none; min-height:0; padding:0; }
.pdf-editor-page.has-pdf .pdf-editor-intro,.pdf-editor-page.has-pdf .pdf-editor-privacy,.pdf-editor-page.has-pdf footer { display:none; }
.pdf-editor-page.has-pdf .pdf-editor-card { height:100%; min-height:0; padding:0; border:0; border-radius:0; box-shadow:none; background:#071326; }
.pdf-editor-page.has-pdf .pdf-editor-workspace { height:100%; min-height:0; display:flex; flex-direction:column; border:0; border-radius:0; }
.pdf-editor-page.has-pdf .pdf-editor-workspace[hidden] { display:none !important; }
.pdf-editor-page.has-pdf .pdf-editor-grid { height:auto; min-height:0; flex:1 1 auto; }
.pdf-editor-page.has-pdf .pdf-page-panel,.pdf-editor-page.has-pdf .pdf-preview-panel,.pdf-editor-page.has-pdf .pdf-editor-stage { min-height:0; overflow:hidden; }
.pdf-editor-page.has-pdf .pdf-preview-toolbar { flex:0 0 auto; }
.pdf-editor-page.has-pdf .pdf-page-list { max-height:none; height:calc(100% - 58px); }
.pdf-editor-page.has-pdf .pdf-edit-toolbar { overflow-x:hidden; overflow-y:auto; }
.pdf-editor-page.has-pdf .pdf-canvas-wrap { height:100%; min-height:0; padding-bottom:4rem; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.pdf-editor-page.has-pdf .pdf-editor-status { position:fixed; right:1rem; bottom:.65rem; z-index:8; max-width:min(560px,calc(100% - 2rem)); min-height:0; margin:0; padding:.45rem .7rem; border:1px solid rgba(120,244,188,.2); border-radius:9px; background:rgba(5,22,42,.94); box-shadow:0 8px 30px rgba(0,0,0,.32); font-size:.78rem; }
.pdf-editor-page.has-pdf .pdf-editor-result { display:none !important; }

@media (max-width:800px) {
  .pdf-editor-shell { width:min(100% - 18px,1180px); padding-top:1.3rem; }
  .pdf-preview-toolbar { align-items:stretch; flex-direction:column; }
  .pdf-preview-toolbar .pdf-primary-button,.pdf-preview-toolbar .pdf-secondary-button { flex:1; }
  .pdf-compact-file { max-width:calc(100vw - 50px); }
  .pdf-action-divider { display:none; }
  .pdf-editor-grid { min-height:0; grid-template-columns:1fr; }
  .pdf-page-panel { border-right:0; border-bottom:1px solid var(--pdf-border); }
  .pdf-page-list { grid-auto-flow:column; grid-auto-columns:155px; grid-template-columns:none; max-height:none; overflow-x:auto; }
  .pdf-page-thumb { grid-template-columns:1fr; }
  .pdf-thumb-canvas-wrap { width:100%; height:120px; }
  .pdf-editor-stage { min-height:0; grid-template-columns:1fr; }
  .pdf-edit-toolbar { flex-direction:row; align-items:center; gap:.5rem; overflow-x:auto; padding:.5rem; border-right:0; border-bottom:1px solid var(--pdf-border); }
  .pdf-tool-rail-label { display:none; }
  .pdf-edit-tools { flex-direction:row; }
  .pdf-edit-tool { min-width:68px; min-height:50px; }
  .pdf-edit-options { flex-direction:row; align-items:center; margin:0 0 0 auto; padding:0 0 0 .5rem; border-top:0; border-left:1px solid rgba(139,183,238,.16); }
  .pdf-edit-options label { min-width:52px; }
  .pdf-edit-size-controls { min-width:76px; }
  .pdf-edit-options .pdf-tool-button { min-width:60px; }
  .pdf-canvas-wrap { min-height:390px; }
  .pdf-editor-page.has-pdf { height:auto; min-height:100dvh; display:block; overflow:auto; }
  .pdf-editor-page.has-pdf .top-nav .nav-shell { width:100% !important; }
  .pdf-editor-page.has-pdf .pdf-editor-shell,.pdf-editor-page.has-pdf .pdf-editor-card,.pdf-editor-page.has-pdf .pdf-editor-workspace { height:auto; }
  .pdf-editor-page.has-pdf .pdf-editor-grid { height:auto; min-height:0; display:grid; }
  .pdf-editor-page.has-pdf .pdf-preview-panel,.pdf-editor-page.has-pdf .pdf-editor-stage { overflow:visible; }
  .pdf-editor-page.has-pdf .pdf-page-list { height:auto; }
  .pdf-editor-page.has-pdf .pdf-canvas-wrap { height:auto; min-height:390px; overflow:auto; }
}
@media (max-width:520px) {
  .pdf-editor-card { padding:.7rem; border-radius:18px; }
  .pdf-editor-drop { gap:.55rem; padding:.8rem; }
  .pdf-editor-drop .pdf-primary-button { width:100%; }
  .pdf-page-actions { display:grid; grid-template-columns:44px 44px 1fr 1fr; width:100%; }
  .pdf-edit-tools { flex-direction:row; }
  .pdf-edit-tool { min-width:60px; padding:.35rem .2rem; font-size:.65rem; }
  .pdf-edit-options { flex-direction:row; }
  .pdf-editor-result { align-items:stretch; flex-direction:column; }
  .pdf-editor-page.has-pdf .pdf-editor-card { padding:0; border-radius:0; }
}
