.pdf-editor-body{min-height:100dvh;background:#f5faff}
.pdf-editor-shell{display:grid;grid-template-columns:228px minmax(0,1fr) 265px;min-height:0;height:calc(100dvh - 73px);overflow:hidden}
.pdf-editor-shell .studio-panel{height:100%;min-height:0;overflow:auto;background:#fbfdff;overscroll-behavior:contain}
.pdf-editor-shell .studio-panel h3{font-size:15px}
.pdf-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}
.pdf-tool-grid button,.pdf-control-row button,.pdf-editor-toolbar button,.pdf-page-navigation button{background:white;border:1px solid #d6e6f5;border-radius:9px;padding:10px 7px;color:#24436a;font-size:12px;font-weight:700}
.pdf-tool-grid button.active{background:linear-gradient(115deg,#00d7ad,#087de9,#672ddb);border-color:transparent;color:white}
.pdf-page-navigation{display:flex;align-items:center;justify-content:space-between;border:1px solid #d9e7f6;border-radius:10px;padding:3px}
.pdf-page-navigation span{font-size:12px;font-weight:800;color:#22517d}
.pdf-page-navigation button{width:37px}
.pdf-editor-summary{font-size:12px;color:#597b9d;line-height:1.7}
.pdf-editor-main{display:flex;flex-direction:column;min-width:0;min-height:0}
.pdf-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 14px;background:#fcfeff;border-bottom:1px solid #dbe8f7;min-height:57px}
.pdf-editor-toolbar>span{font-size:12px;color:#365779;font-weight:750}
.pdf-editor-toolbar>div{display:flex;align-items:center;gap:5px;white-space:nowrap}
.pdf-editor-toolbar button{padding:8px 10px}.pdf-editor-toolbar #pdf-zoom-value{font-size:11px;width:45px;text-align:center}
.pdf-editor-stage{flex:1;min-height:0;overflow:auto;display:flex;align-items:flex-start;justify-content:center;background:#e8f0fb;background-image:radial-gradient(#bacde0 0.8px,transparent 0.8px);background-size:17px 17px;scrollbar-gutter:stable;padding:34px 22px;overscroll-behavior:contain}
.pdf-editor-empty{max-width:480px;margin:auto;text-align:center;background:#fff;border:1px solid #e2eaf5;padding:32px;border-radius:23px;box-shadow:0 15px 40px #10396e1a}
.pdf-editor-empty h1{font-size:33px;letter-spacing:-.055em}.pdf-editor-empty p{font-size:14px;line-height:1.7;color:#647d9b}.pdf-editor-empty small{display:block;font-size:11px;color:#8395a7;margin-top:17px}
.pdf-empty-icon{background:#daf8f0;color:#1178b9;font-weight:900;font-size:17px;border-radius:14px;width:55px;height:55px;display:grid;place-items:center;margin:auto}
#pdf-paper-wrap[hidden]{display:none!important}#pdf-paper-wrap{max-width:none;flex-shrink:0}
#pdf-paper{position:relative;background:white;box-shadow:0 14px 45px #0e285a35;overflow:hidden;touch-action:none}
#pdf-page-image{display:block;width:100%;height:100%;user-select:none;pointer-events:none}
#pdf-overlay{position:absolute;inset:0;width:100%;height:100%;touch-action:none}
#pdf-overlay .pdf-annotation{cursor:move}#pdf-overlay .pdf-annotation.selected{stroke:#0c80fc;stroke-width:2;stroke-dasharray:4 3}
.pdf-editor-bottom{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#647e9b;padding:10px 15px;background:#fcfeff;border-top:1px solid #dbe8f7}
.pdf-control-row{display:flex;gap:8px}.pdf-control-row button{flex:1}
.pdf-editor-properties hr{border:0;border-top:1px solid #e4edf8;margin:18px 0}
.pdf-layer-list{display:grid;gap:7px}.pdf-layer-list button{display:block;padding:10px;text-align:left;border:1px solid #dce8f5;background:#f6faff;border-radius:8px;font-size:12px;color:#2c4d78}.pdf-layer-list button.active{border-color:#0e86df;background:#e8f7ff}
@media(max-width:1070px) and (min-width:761px){.pdf-editor-shell{grid-template-columns:200px minmax(0,1fr) 215px}}
@media(max-width:760px){.pdf-editor-shell{display:flex;flex-direction:column;min-height:100dvh;height:auto;overflow:visible}.pdf-editor-main{order:0;position:sticky;top:0;z-index:3;height:min(56dvh,520px);background:white;box-shadow:0 8px 20px #0c37531c}.pdf-editor-tools{order:1}.pdf-editor-properties{order:2}.pdf-editor-shell .studio-panel{height:auto;overflow:visible;padding:17px}.pdf-editor-toolbar{gap:4px;padding:6px 9px;flex-wrap:wrap}.pdf-editor-toolbar>div{overflow-x:auto;width:100%;justify-content:flex-start}.pdf-editor-stage{padding:12px 7px}.pdf-editor-bottom{font-size:10px}.pdf-editor-bottom span:first-child{display:none}.pdf-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pdf-editor-stage #pdf-paper{max-width:none}}
