:root {
  --pdf-ink: #17191d;
  --pdf-muted: #6c706f;
  --pdf-paper: #f4f3ed;
  --pdf-card: #fff;
  --pdf-line: rgba(23, 25, 29, .14);
  --pdf-yellow: #f4c430;
  --pdf-yellow-soft: #fff6cb;
  --pdf-green: #1f7954;
  --pdf-red: #b34a3c;
}

[hidden] { display: none !important; }

.pdf-editor-page { color: var(--pdf-ink); background: var(--pdf-paper); }
.pdf-editor-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.pdf-editor-hero {
  padding: 142px 0 62px;
  background:
    radial-gradient(circle at 82% 24%, rgba(244,196,48,.24), transparent 24%),
    linear-gradient(180deg,#fff 0%,#f4f3ed 100%);
  border-bottom: 1px solid var(--pdf-line);
}

.pdf-editor-breadcrumb { display:flex; align-items:center; gap:10px; margin-bottom:42px; color:var(--pdf-muted); font-size:.78rem; }
.pdf-editor-breadcrumb a { color:var(--pdf-ink); }
.pdf-editor-hero-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:8vw; align-items:end; }
.pdf-editor-kicker { display:flex; align-items:center; gap:11px; margin:0 0 20px; color:var(--pdf-muted); font-size:.7rem; font-weight:700; letter-spacing:.13em; }
.pdf-editor-kicker span { width:30px; height:2px; background:var(--pdf-yellow); }

.pdf-editor-hero h1,
.pdf-editor-section-head h2,
.pdf-editor-how h2,
.pdf-editor-security h2 {
  margin:0;
  font-family:"Newsreader",serif;
  font-size:clamp(3.5rem,7vw,7rem);
  font-weight:500;
  line-height:.88;
  letter-spacing:-.055em;
}

.pdf-editor-hero h1 em,
.pdf-editor-section-head h2 em,
.pdf-editor-how h2 em,
.pdf-editor-security h2 em { color:var(--pdf-yellow); font-weight:400; }
.pdf-editor-intro > p { max-width:460px; margin:0 0 24px; color:#4f5352; font-size:1.04rem; line-height:1.72; }
.pdf-editor-privacy { display:inline-flex; align-items:center; gap:10px; padding:11px 14px; color:var(--pdf-green); background:#eaf5ef; border:1px solid rgba(31,121,84,.15); border-radius:12px; font-size:.78rem; font-weight:700; }

.pdf-editor-workspace { padding:54px 0 76px; }
.pdf-upload-panel { padding:clamp(22px,4vw,48px); background:#fff; border:1px solid var(--pdf-line); box-shadow:0 28px 80px rgba(23,25,29,.08); }
.pdf-upload-head { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.pdf-upload-head small { color:var(--pdf-muted); font-size:.66rem; font-weight:700; letter-spacing:.13em; }
.pdf-upload-head h2 { margin:5px 0 0; font-size:clamp(1.35rem,2.5vw,2rem); letter-spacing:-.035em; }
.pdf-upload-head > span { color:var(--pdf-green); font-size:.75rem; font-weight:700; }
.pdf-upload-head > span i { margin-right:6px; font-size:.42rem; vertical-align:middle; }

.pdf-upload-dropzone { margin-top:34px; padding:68px 24px; text-align:center; background:var(--pdf-paper); border:1px dashed rgba(23,25,29,.28); transition:.2s ease; }
.pdf-upload-dropzone.is-dragging { background:var(--pdf-yellow-soft); border-color:#b78b00; transform:translateY(-2px); }
.pdf-upload-icon { display:grid; place-items:center; width:78px; height:78px; margin:0 auto 22px; color:var(--pdf-ink); background:var(--pdf-yellow); border-radius:20px; font-size:2rem; box-shadow:0 14px 30px rgba(244,196,48,.28); }
.pdf-upload-dropzone h3 { margin:0; font-size:1.5rem; letter-spacing:-.03em; }
.pdf-upload-dropzone > p { margin:10px 0 24px; color:var(--pdf-muted); }
.pdf-upload-dropzone > small { display:block; margin-top:18px; color:var(--pdf-muted); font-size:.7rem; }

.pdf-editor-button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:0 20px; border:1px solid var(--pdf-line); font-weight:700; cursor:pointer; }
.pdf-editor-button--primary { color:var(--pdf-ink); background:var(--pdf-yellow); border-color:var(--pdf-yellow); }

.pdf-editor-app { overflow:hidden; scroll-margin-top:96px; background:#fff; border:1px solid var(--pdf-line); box-shadow:0 28px 80px rgba(23,25,29,.1); }
.pdf-editor-topbar { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:76px; padding:12px 18px; color:#fff; background:var(--pdf-ink); }
.pdf-editor-document { display:flex; align-items:center; min-width:0; gap:12px; }
.pdf-editor-document img { width:42px; height:42px; border-radius:10px; }
.pdf-editor-document div { min-width:0; }
.pdf-editor-document small { display:block; margin-bottom:3px; color:rgba(255,255,255,.5); font-size:.57rem; font-weight:700; letter-spacing:.12em; }
.pdf-editor-document strong { display:block; max-width:360px; overflow:hidden; font-size:.82rem; text-overflow:ellipsis; white-space:nowrap; }
.pdf-editor-top-actions { display:flex; align-items:center; gap:7px; }
.pdf-editor-top-actions button,
.pdf-canvas-toolbar button,
.pdf-sidebar-title button {
  display:inline-grid;
  place-items:center;
  min-width:38px;
  min-height:38px;
  color:inherit;
  background:transparent;
  border:1px solid rgba(255,255,255,.16);
  cursor:pointer;
}
.pdf-editor-top-actions button span { margin-left:8px; }
.pdf-editor-top-actions .pdf-save-button { padding:0 16px; color:var(--pdf-ink); background:var(--pdf-yellow); border-color:var(--pdf-yellow); font-weight:700; }
.pdf-editor-top-actions .pdf-ocr-button { padding:0 13px; color:var(--pdf-ink); background:#fff; border-color:#fff; font-weight:700; }
.pdf-editor-top-actions .pdf-history-button { display:flex; grid-template-columns:none; align-items:center; padding:0 10px; font-weight:700; }
.pdf-editor-top-actions button:disabled,
.pdf-page-actions button:disabled,
.pdf-sidebar-title button:disabled { opacity:.35; cursor:not-allowed; }

.pdf-editor-tools { display:flex; gap:3px; padding:9px 12px; overflow-x:auto; background:#fff; border-bottom:1px solid var(--pdf-line); scrollbar-width:thin; }
.pdf-editor-tools button { display:flex; align-items:center; gap:8px; flex:0 0 auto; min-height:42px; padding:0 14px; color:var(--pdf-muted); background:transparent; border:1px solid transparent; font-size:.72rem; font-weight:700; cursor:pointer; }
.pdf-editor-tools button:hover { color:var(--pdf-ink); background:var(--pdf-paper); }
.pdf-editor-tools button.is-active { color:var(--pdf-ink); background:var(--pdf-yellow-soft); border-color:rgba(183,139,0,.24); }
.pdf-format-toolbar { display:flex; align-items:center; gap:10px; min-height:48px; padding:6px 12px; overflow-x:auto; color:var(--pdf-muted); background:#f8f7f2; border-bottom:1px solid var(--pdf-line); }
.pdf-format-group { display:flex; align-items:center; gap:3px; flex:0 0 auto; padding-right:10px; border-right:1px solid var(--pdf-line); }
.pdf-format-group:last-child { border-right:0; }
.pdf-format-toolbar button { display:grid; place-items:center; min-width:34px; min-height:34px; padding:0 8px; color:var(--pdf-muted); background:#fff; border:1px solid var(--pdf-line); border-radius:5px; cursor:pointer; }
.pdf-format-toolbar button:hover,
.pdf-format-toolbar button.is-active { color:var(--pdf-ink); background:var(--pdf-yellow-soft); border-color:#d0a500; }
.pdf-format-toolbar button:disabled { opacity:.35; cursor:not-allowed; }
.pdf-format-underline { text-decoration:underline; text-underline-offset:3px; }
.pdf-format-strike { text-decoration:line-through; }
.pdf-format-toolbar sup,
.pdf-format-toolbar sub { font-size:.6em; }

.pdf-editor-layout { display:grid; grid-template-columns:154px minmax(0,1fr) 236px; min-height:720px; }
.pdf-editor-sidebar { background:#fbfaf6; }
.pdf-editor-pages { border-right:1px solid var(--pdf-line); }
.pdf-editor-properties { border-left:1px solid var(--pdf-line); }
.pdf-editor-sidebar section { padding:16px; border-bottom:1px solid var(--pdf-line); }
.pdf-sidebar-title { display:flex; align-items:center; justify-content:space-between; min-height:38px; }
.pdf-sidebar-title strong { font-size:.72rem; letter-spacing:.02em; }
.pdf-sidebar-title button { min-width:32px; min-height:32px; color:var(--pdf-muted); border-color:var(--pdf-line); }

.pdf-thumbnails { display:flex; flex-direction:column; align-items:center; gap:14px; max-height:675px; padding:4px 14px 24px; overflow-y:auto; }
.pdf-thumbnail { position:relative; width:112px; min-height:142px; padding:8px; background:#e9e7df; border:2px solid transparent; cursor:pointer; }
.pdf-thumbnail canvas { display:block; width:100%; height:auto; background:#fff; box-shadow:0 3px 12px rgba(23,25,29,.12); }
.pdf-thumbnail span { position:absolute; right:5px; bottom:5px; display:grid; place-items:center; width:22px; height:22px; color:#fff; background:rgba(23,25,29,.82); border-radius:50%; font-size:.62rem; font-weight:700; }
.pdf-thumbnail.is-active { background:var(--pdf-yellow-soft); border-color:var(--pdf-yellow); }
.pdf-thumbnail.is-dragging { opacity:.45; }
.pdf-thumbnail.is-drop-target { border-color:#2474ff; transform:translateY(2px); }

.pdf-editor-canvas-area { display:flex; flex-direction:column; min-width:0; background:#d9d8d2; }
.pdf-canvas-toolbar { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:0 16px; color:var(--pdf-muted); background:#f8f7f2; border-bottom:1px solid var(--pdf-line); font-size:.7rem; font-weight:700; }
.pdf-canvas-toolbar > div { display:flex; align-items:center; gap:9px; }
.pdf-canvas-toolbar button { min-width:30px; min-height:30px; color:var(--pdf-muted); border-color:var(--pdf-line); }
.pdf-editor-viewport { flex:1; min-height:590px; padding:28px; overflow:auto; }
.pdf-editor-stage { position:relative; margin:0 auto; background:#fff; box-shadow:0 10px 34px rgba(23,25,29,.2); touch-action:none; }
#pdfPageCanvas { display:block; }
.pdf-editor-overlay { position:absolute; inset:0; overflow:hidden; user-select:none; }
.pdf-editor-overlay[data-tool="text"],
.pdf-editor-overlay[data-tool="whiteout"],
.pdf-editor-overlay[data-tool="redact"],
.pdf-editor-overlay[data-tool="highlight"],
.pdf-editor-overlay[data-tool="rectangle"] { cursor:crosshair; }
.pdf-editor-overlay[data-tool="pen"] { cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='3' fill='%2317191d'/%3E%3C/svg%3E") 12 12,crosshair; }

.pdf-operation { position:absolute; box-sizing:border-box; cursor:move; transform-origin:center; }
.pdf-source-clear { position:absolute; z-index:0; box-sizing:border-box; background:#fff; pointer-events:none; }
.pdf-operation.is-selected { outline:2px solid #2474ff; outline-offset:2px; }
.pdf-operation--text { box-sizing:border-box; min-width:24px; padding:1px 2px; overflow:hidden; overflow-wrap:break-word; white-space:pre-wrap; line-height:1.16; }
.pdf-operation--text.is-detected { cursor:text; }
.pdf-operation--text.is-detected:not(.is-edited) { min-width:6px; padding:0; color:transparent !important; background:transparent; }
.pdf-operation--text.is-detected.is-edited { overflow:visible; background:#fff; }
.pdf-operation--text.is-inline-editing { z-index:5; min-height:1.45em; overflow:visible; outline:2px solid #2474ff; outline-offset:2px; cursor:text; caret-color:currentColor; user-select:text; -webkit-user-select:text; touch-action:manipulation; }
.pdf-operation--comment { display:flex; align-items:center; justify-content:center; color:#5b4300; background:#ffd84d; border-radius:4px; box-shadow:0 3px 10px rgba(23,25,29,.18); }
.pdf-operation--form { display:flex; align-items:center; padding:0 8px; color:#555; background:rgba(255,255,255,.85); border:1px solid #777; font-size:12px; }
.pdf-operation--link { background:rgba(36,116,255,.08); border:1px dashed #2474ff; }
.pdf-operation--image.is-detected:not(.is-edited) { background:transparent; }
.pdf-operation.is-detected:hover { outline:1px dashed rgba(36,116,255,.75); outline-offset:1px; }
.pdf-operation--image img { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.pdf-resize-handle { position:absolute; z-index:3; width:8px; height:8px; background:#fff; border:1.5px solid #2474ff; border-radius:2px; box-shadow:0 1px 4px rgba(23,25,29,.18); touch-action:none; }
.pdf-resize-handle--nw { left:0; top:0; transform:translate(-50%,-50%); cursor:nwse-resize; }
.pdf-resize-handle--n { left:50%; top:0; transform:translate(-50%,-50%); cursor:ns-resize; }
.pdf-resize-handle--ne { right:0; top:0; transform:translate(50%,-50%); cursor:nesw-resize; }
.pdf-resize-handle--e { right:0; top:50%; transform:translate(50%,-50%); cursor:ew-resize; }
.pdf-resize-handle--se { right:0; bottom:0; transform:translate(50%,50%); cursor:nwse-resize; }
.pdf-resize-handle--s { left:50%; bottom:0; transform:translate(-50%,50%); cursor:ns-resize; }
.pdf-resize-handle--sw { left:0; bottom:0; transform:translate(-50%,50%); cursor:nesw-resize; }
.pdf-resize-handle--w { left:0; top:50%; transform:translate(-50%,-50%); cursor:ew-resize; }
.pdf-rotate-handle { position:absolute; left:50%; top:-24px; z-index:4; width:10px; height:10px; transform:translateX(-50%); background:#2474ff; border:2px solid #fff; border-radius:50%; box-shadow:0 1px 4px rgba(23,25,29,.22); cursor:grab; touch-action:none; }
.pdf-rotate-handle::after { content:""; position:absolute; left:50%; top:8px; width:1px; height:14px; background:#2474ff; }
.pdf-operation--draw { width:100%; height:100%; pointer-events:stroke; }
.pdf-editor-statusbar { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:42px; padding:0 16px; color:var(--pdf-muted); background:#f8f7f2; border-top:1px solid var(--pdf-line); font-size:.66rem; }
.pdf-editor-statusbar span[data-type="success"] { color:var(--pdf-green); font-weight:700; }
.pdf-editor-statusbar span[data-type="error"] { color:var(--pdf-red); font-weight:700; }
.pdf-editor-statusbar span[data-type="working"] { color:#8a6800; font-weight:700; }

.pdf-property-empty { margin:10px 0 0; color:var(--pdf-muted); font-size:.68rem; line-height:1.55; }
.pdf-property-fields { display:grid; gap:12px; margin-top:12px; }
.pdf-property-fields label { display:grid; gap:6px; color:var(--pdf-muted); font-size:.65rem; font-weight:700; }
.pdf-property-fields textarea,
.pdf-property-fields input[type="number"],
.pdf-property-fields select { width:100%; box-sizing:border-box; padding:9px; color:var(--pdf-ink); background:#fff; border:1px solid var(--pdf-line); font:inherit; resize:vertical; }
.pdf-property-fields input[type="color"] { width:100%; height:36px; padding:3px; background:#fff; border:1px solid var(--pdf-line); }
.pdf-property-fields input[type="range"] { width:100%; accent-color:#b78b00; }
.pdf-replace-image { grid-column:1 / -1; min-height:40px; padding:0 10px; color:var(--pdf-ink); background:var(--pdf-yellow-soft); border:1px solid rgba(183,139,0,.3); font-size:.68rem; font-weight:700; cursor:pointer; }
.pdf-object-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.pdf-object-actions button { display:flex; align-items:center; justify-content:center; gap:6px; min-height:36px; color:var(--pdf-muted); background:#fff; border:1px solid var(--pdf-line); font-size:.6rem; font-weight:700; cursor:pointer; }
.pdf-object-actions button:hover { color:var(--pdf-ink); border-color:#b78b00; }
.pdf-page-actions { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:10px; }
.pdf-page-actions button { display:flex; align-items:center; gap:7px; min-height:42px; padding:0 8px; color:var(--pdf-muted); background:#fff; border:1px solid var(--pdf-line); font-size:.62rem; font-weight:700; cursor:pointer; }
.pdf-page-actions button:hover { color:var(--pdf-ink); border-color:rgba(23,25,29,.3); }

.pdf-editor-dialog {
  width:min(460px,calc(100% - 32px));
  padding:0;
  color:var(--pdf-ink);
  background:#fff;
  border:0;
  border-radius:18px;
  box-shadow:0 28px 90px rgba(10,12,16,.28);
}
.pdf-editor-dialog::backdrop { background:rgba(14,16,20,.66); backdrop-filter:blur(5px); }
.pdf-editor-dialog form { display:grid; grid-template-columns:72px 1fr; margin:0; }
.pdf-editor-dialog__mark { display:flex; justify-content:center; padding-top:28px; background:var(--pdf-yellow); }
.pdf-editor-dialog__mark img { width:38px; height:38px; border-radius:9px; }
.pdf-editor-dialog__body { padding:28px; }
.pdf-editor-dialog__body > small { display:block; margin-bottom:8px; color:#8b6b00; font-size:.58rem; font-weight:800; letter-spacing:.14em; }
.pdf-editor-dialog h3 { margin:0; font-size:1.35rem; letter-spacing:-.035em; }
.pdf-editor-dialog p { margin:10px 0 0; color:var(--pdf-muted); font-size:.8rem; line-height:1.55; }
.pdf-editor-dialog input { width:100%; min-height:46px; box-sizing:border-box; margin-top:20px; padding:0 13px; color:var(--pdf-ink); background:#faf9f4; border:1px solid var(--pdf-line); border-radius:8px; font:inherit; outline:none; }
.pdf-editor-dialog input:focus { border-color:#b78b00; box-shadow:0 0 0 3px rgba(244,196,48,.2); }
.pdf-editor-dialog__actions { display:flex; justify-content:flex-end; gap:8px; margin-top:22px; }
.pdf-editor-dialog__actions button { min-height:42px; padding:0 16px; border-radius:8px; font-weight:750; cursor:pointer; }
.pdf-editor-dialog__cancel { color:var(--pdf-muted); background:#fff; border:1px solid var(--pdf-line); }
.pdf-editor-dialog__confirm { color:var(--pdf-ink); background:var(--pdf-yellow); border:1px solid var(--pdf-yellow); }

.pdf-editor-features,
.pdf-editor-how,
.pdf-editor-security,
.pdf-editor-faq { padding:94px 0; }
.pdf-editor-features { color:#fff; background:var(--pdf-ink); }
.pdf-editor-section-head > p { margin:0 0 18px; color:var(--pdf-yellow); font-size:.68rem; font-weight:700; letter-spacing:.15em; }
.pdf-editor-section-head h2,
.pdf-editor-how h2,
.pdf-editor-security h2 { font-size:clamp(2.9rem,5.7vw,5.8rem); }
.pdf-feature-grid { display:grid; grid-template-columns:repeat(2,1fr); margin-top:62px; border-top:1px solid rgba(255,255,255,.18); border-left:1px solid rgba(255,255,255,.18); }
.pdf-feature-grid article { min-height:250px; padding:32px; border-right:1px solid rgba(255,255,255,.18); border-bottom:1px solid rgba(255,255,255,.18); }
.pdf-feature-grid span { color:var(--pdf-yellow); font-size:.7rem; font-weight:700; }
.pdf-feature-grid h3 { margin:38px 0 12px; font-size:1.35rem; }
.pdf-feature-grid p { margin:0; color:rgba(255,255,255,.62); line-height:1.75; }

.pdf-editor-how { background:#fff; }
.pdf-editor-how-grid { display:grid; grid-template-columns:1fr .85fr; gap:9vw; align-items:start; }
.pdf-editor-how ol { margin:0; padding:0; list-style:none; border-top:1px solid var(--pdf-line); }
.pdf-editor-how li { display:grid; grid-template-columns:48px 1fr; gap:20px; padding:25px 0; border-bottom:1px solid var(--pdf-line); }
.pdf-editor-how li > span { display:grid; place-items:center; width:38px; height:38px; background:var(--pdf-yellow); border-radius:50%; font-size:.72rem; font-weight:700; }
.pdf-editor-how h3 { margin:0 0 7px; font-size:1.1rem; }
.pdf-editor-how li p { margin:0; color:var(--pdf-muted); line-height:1.65; }

.pdf-editor-security { background:var(--pdf-paper); border-top:1px solid var(--pdf-line); }
.pdf-editor-security-grid { display:grid; grid-template-columns:1fr .7fr; gap:10vw; align-items:end; }
.pdf-editor-security article:last-child > p { margin:0 0 25px; color:var(--pdf-muted); line-height:1.85; }
.pdf-editor-security a { display:inline-block; padding-bottom:4px; color:var(--pdf-ink); border-bottom:2px solid var(--pdf-yellow); font-size:.78rem; font-weight:700; }

.pdf-editor-faq { background:#fff; border-top:1px solid var(--pdf-line); }
.pdf-editor-faq-list { margin-top:54px; border-top:1px solid var(--pdf-line); }
.pdf-editor-faq details { border-bottom:1px solid var(--pdf-line); }
.pdf-editor-faq summary { padding:24px 40px 24px 0; font-size:1rem; font-weight:700; cursor:pointer; }
.pdf-editor-faq details p { max-width:820px; margin:-7px 0 25px; color:var(--pdf-muted); line-height:1.75; }
.pdf-editor-disclaimer { margin:36px 0 0; color:var(--pdf-muted); font-size:.72rem; line-height:1.6; }

@media (max-width:1050px) {
  .pdf-editor-layout { grid-template-columns:128px minmax(0,1fr); }
  .pdf-editor-properties { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--pdf-line); border-left:0; }
  .pdf-editor-properties section { border-right:1px solid var(--pdf-line); }
  .pdf-editor-viewport { min-height:520px; }
}

@media (max-width:760px) {
  .pdf-editor-shell { width:min(100% - 24px,680px); }
  .pdf-editor-hero { padding:108px 0 46px; }
  .pdf-editor-breadcrumb { margin-bottom:30px; overflow:hidden; white-space:nowrap; }
  .pdf-editor-hero-grid,
  .pdf-editor-how-grid,
  .pdf-editor-security-grid { grid-template-columns:1fr; gap:32px; }
  .pdf-editor-hero h1 { font-size:clamp(3.4rem,17vw,5rem); }
  .pdf-editor-workspace { padding:28px 0 54px; }
  .pdf-upload-panel { padding:16px; }
  .pdf-upload-head { align-items:flex-start; }
  .pdf-upload-head > span { max-width:100px; text-align:right; }
  .pdf-upload-dropzone { padding:48px 18px; }
  .pdf-editor-topbar { align-items:flex-start; padding:12px; }
  .pdf-editor-document img { width:36px; height:36px; }
  .pdf-editor-document strong { max-width:132px; }
  .pdf-editor-top-actions button span { display:none; }
  .pdf-editor-top-actions .pdf-save-button { padding:0 12px; }
  .pdf-editor-tools { padding-inline:8px; }
  .pdf-editor-tools button { min-width:54px; flex-direction:column; gap:3px; padding:6px 9px; font-size:.58rem; }
  .pdf-editor-layout { display:flex; flex-direction:column; min-height:0; }
  .pdf-editor-pages { order:2; border-top:1px solid var(--pdf-line); border-right:0; }
  .pdf-editor-pages > .pdf-sidebar-title { padding:8px 14px 0; }
  .pdf-thumbnails { flex-direction:row; align-items:flex-start; max-height:none; padding:8px 14px 16px; overflow-x:auto; overflow-y:hidden; }
  .pdf-thumbnail { flex:0 0 92px; width:92px; min-height:118px; }
  .pdf-editor-canvas-area { order:1; }
  .pdf-editor-properties { order:3; display:block; }
  .pdf-editor-properties section { border-right:0; }
  .pdf-editor-viewport { min-height:440px; padding:18px 12px; }
  .pdf-editor-statusbar { align-items:flex-start; flex-direction:column; justify-content:center; padding-block:8px; }
  .pdf-property-fields { grid-template-columns:1fr 1fr; }
  .pdf-property-fields label:first-child { grid-column:1 / -1; }
  .pdf-resize-handle { width:16px; height:16px; border-width:2px; border-radius:4px; }
  .pdf-rotate-handle { top:-32px; width:16px; height:16px; border-width:3px; }
  .pdf-rotate-handle::after { top:13px; height:17px; }
  .pdf-editor-dialog form { grid-template-columns:52px 1fr; }
  .pdf-editor-dialog__mark { padding-top:24px; }
  .pdf-editor-dialog__mark img { width:32px; height:32px; }
  .pdf-editor-dialog__body { padding:24px 20px; }
  .pdf-feature-grid { grid-template-columns:1fr; margin-top:40px; }
  .pdf-feature-grid article { min-height:0; padding:27px 22px; }
  .pdf-feature-grid h3 { margin-top:22px; }
  .pdf-editor-features,
  .pdf-editor-how,
  .pdf-editor-security,
  .pdf-editor-faq { padding:64px 0; }
}
