.chart-annotations{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;touch-action:none;overflow:hidden;z-index:5}.chart-tools{position:absolute;right:8px;top:8px;z-index:20;display:flex;align-items:flex-start;gap:5px;max-height:calc(100% - 64px)}.chart-tools button{min-height:44px;min-width:44px;padding:4px 8px;font:600 12px system-ui;border:1px solid #99aaa4;border-radius:7px;color:#18362e;background:#fff;touch-action:manipulation}.tools-toggle{font-size:23px!important;order:2}.tools-drawer{width:148px;padding:7px;background:#fafffcf2;border:1px solid #a5b9b0;border-radius:10px;box-shadow:0 3px 12px #0003;max-height:inherit;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.chart-tools button[aria-pressed=true]{border-color:#173e32;box-shadow:inset 0 0 0 2px #306b55;background:#e4f1e8}.shade-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;margin-top:7px}.chart-tools [data-color]{min-width:0;padding:0;border-radius:5px;background:var(--swatch)!important;min-height:34px}.brush-control{display:grid;font:12px system-ui;color:#18362e;margin-top:8px;gap:4px}.brush-control input{width:100%;min-height:32px;margin:0;touch-action:pan-x}

#chart-stage:fullscreen,#chart-stage.full-window{position:fixed!important;inset:0!important;z-index:99999!important;width:100vw!important;height:100dvh!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;background:#e5e8e4}#chart-stage:fullscreen #fullscreen,#chart-stage.full-window #fullscreen{z-index:30}

/* Let zoom rerasterize PDF tiles; permanent promotion freezes first-load detail. */
#chart-images{will-change:auto}
