.sl-page-select{height:36px;max-width:155px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;padding:0 8px;color:#344054;font:600 13px system-ui}.sl-view-mode{height:36px;border:1px solid #d0d5dd;background:#fff;border-radius:9px;padding:0 10px;color:#344054;font-weight:700;white-space:nowrap}.sl-viewbar{flex-wrap:wrap}.sl-scroll-active .sl-colorbar,.sl-scroll-active .sl-tool-actions,.sl-scroll-active .sl-scale-status,.sl-scroll-active .sl-workspace-takeoffs{display:none!important}.sl-scroll-active .sl-canvas-wrap{touch-action:pan-x pan-y;overflow-anchor:none}.sl-scroll-list{position:relative;width:100%;margin:0 auto;overflow-anchor:none}.sl-scroll-sheet{margin:0 0 18px;background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 2px 8px #10182830}.sl-scroll-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;gap:12px;background:#f8fafc;border-bottom:1px solid #eaecf0;font-size:13px;color:#344054}.sl-scroll-open{padding:6px 10px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;font-weight:600}.sl-scroll-paper{position:relative;background:#fff;cursor:grab;overflow:hidden}.sl-scroll-canvas{display:block;width:100%;height:100%}.sl-scroll-page-status{position:absolute;bottom:8px;left:8px;right:8px;font-size:12px;color:#475467;text-align:center;pointer-events:none}.sl-scroll-page-status:not(:empty){padding:8px;background:#ffffffed;border-radius:6px}.sl-scroll-retry{pointer-events:auto;border:0;background:none;color:#2563eb;font:inherit;text-decoration:underline;cursor:pointer}.sl-scroll-pin{position:absolute;max-width:32%;background:#fffaeb;border:1px solid #f79009;border-radius:5px;padding:3px 5px;color:#344054;font:600 10px system-ui;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none;max-height:100px;overflow:hidden}@media(max-width:640px){.sl-page-select{height:32px;max-width:132px;font-size:12px}.sl-view-mode{height:32px;padding:0 8px;font-size:12px}.sl-scroll-sheet-head{padding:6px 8px}.sl-scroll-sheet{margin-bottom:12px}.sl-scroll-pin{font-size:9px}}

.sl-drawing-done{display:none;height:32px;padding:0 10px;border:0;border-radius:8px;background:#101828;color:#fff;font-weight:700}.sl-editing-drawing .sl-drawing-done{display:block}.sl-scroll-sheet-head{pointer-events:none}.sl-scroll-paper:active{cursor:grabbing}


/* v3 continuous-scroll cleanup */
.sl-scroll-active .sl-scroll-sheet{margin-bottom:6px!important;border-radius:3px!important;box-shadow:0 1px 4px #10182824!important}
.sl-scroll-active .sl-scroll-sheet-head{padding:3px 6px!important;min-height:22px!important;font-size:10px!important}
.sl-scroll-active .sl-page-controls .sl-toolbtn{display:none!important}
@media(max-width:640px){
 .sl-scroll-active .sl-scroll-sheet{margin-bottom:4px!important}
 .sl-scroll-active .sl-scroll-sheet-head{padding:2px 5px!important;min-height:20px!important;font-size:9px!important}
}


/* v4 professional continuous sheet stack */
.sl-scroll-active .sl-scroll-list{margin:0 auto!important}
.sl-scroll-active .sl-scroll-sheet{
  margin:0 0 3px!important;
  border-radius:0!important;
  box-shadow:0 1px 2px rgba(16,24,40,.22)!important;
}
.sl-scroll-active .sl-scroll-sheet-head{
  min-height:18px!important;
  padding:1px 6px!important;
  background:rgba(248,250,252,.95)!important;
  font-size:9px!important;
  border-bottom:1px solid #eaecf0!important;
}
.sl-scroll-active .sl-scroll-paper{background:#fff!important}


/* v5 zoom stability: keep continuous sheets readable during pinch */
.sl-scroll-active .sl-canvas-wrap.sl-is-pinching .sl-scroll-sheet-head{opacity:.5!important}
.sl-scroll-active .sl-canvas-wrap.sl-is-pinching .sl-scroll-sheet{box-shadow:none!important}
.sl-scroll-active .sl-canvas-wrap.sl-is-pinching .sl-scroll-list{will-change:auto}
.sl-scroll-active .sl-canvas-wrap.sl-is-pinching{overflow:hidden!important}
.sl-scroll-active .sl-scroll-canvas{backface-visibility:visible;transform:none}
.sl-scroll-active .sl-scroll-list{padding-top:48px;padding-bottom:72px;box-sizing:content-box;overflow-anchor:none}
.sl-scroll-pin,.sl-scroll-page-status{z-index:2}
.sl-scroll-active .sl-canvas-wrap{scroll-behavior:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:none;overflow-anchor:none;cursor:grab}
.sl-scroll-active .sl-canvas-wrap.sl-is-panning,.sl-scroll-active .sl-is-panning .sl-scroll-paper{cursor:grabbing;user-select:none}
.sl-fit-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 12px}
.sl-zoom-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px}
.sl-fit-options .btn,.sl-zoom-presets .btn{min-height:44px}
