.wbd--whiteboard{width:100%;display:flex;flex-direction:column;gap:8px;margin-top:2px}.wbd--whiteboard .wbd-tools,.wbd--whiteboard .wbd-pal{display:grid;grid-template-columns:repeat(8, minmax(0, 1fr));gap:4px}.wbd--whiteboard .wbd-b,.wbd--whiteboard .wbd-c,.wbd--whiteboard .wbd-s{height:44px;min-width:0;padding:0 4px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:4px;background:var(--ink-850);color:var(--fg-mid);font:inherit;font-size:14px;cursor:pointer}.wbd--whiteboard .wbd-b:hover,.wbd--whiteboard .wbd-c:hover,.wbd--whiteboard .wbd-s:hover{border-color:var(--fg-mid);color:var(--fg)}.wbd--whiteboard .wbd-b:focus-visible,.wbd--whiteboard .wbd-c:focus-visible,.wbd--whiteboard .wbd-s:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.wbd--whiteboard .wbd-b.is-on,.wbd--whiteboard .wbd-c.is-on,.wbd--whiteboard .wbd-s.is-on{border-color:var(--accent);background:var(--ink-700);color:var(--fg);font-weight:700}.wbd--whiteboard .wbd-b .ic{width:20px;height:20px;flex:none}.wbd--whiteboard .wbd-b span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wbd--whiteboard .wbd-hist{background:rgba(0,0,0,0)}.wbd--whiteboard .wbd-hist.is-off{opacity:.4;cursor:default}.wbd--whiteboard .wbd-c i{width:24px;height:24px;border-radius:50%;background:var(--c);box-shadow:0 0 0 2px var(--ink-950),0 0 0 3px var(--line)}.wbd--whiteboard .wbd-c.is-on i{box-shadow:0 0 0 2px var(--ink-950),0 0 0 4px var(--fg)}.wbd--whiteboard .wbd-s i{display:block;border-radius:50%;background:var(--fg)}.wbd--whiteboard .wbd-s[data-size="0"] i{width:5px;height:5px}.wbd--whiteboard .wbd-s[data-size="1"] i{width:10px;height:10px}.wbd--whiteboard .wbd-s[data-size="2"] i{width:18px;height:18px}.wbd--whiteboard .wbd-board{position:relative;width:100%;height:clamp(380px,100svh - 330px,680px);border:1px solid var(--line);border-radius:4px;overflow:hidden;background:#fff}.wbd--whiteboard .wbd-board canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.wbd--whiteboard[data-tool=er] .wbd-board canvas{cursor:cell}.wbd--whiteboard .wbd-acts{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:8px}.wbd--whiteboard .wbd-acts .btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;padding:0 8px}.wbd--whiteboard .wbd-acts .ic{width:18px;height:18px;flex:none}.wbd--whiteboard .wbd-undo{margin:0;min-height:28px;font-size:14px;color:var(--fg-mid);visibility:hidden}.wbd--whiteboard .wbd-undo.is-on{visibility:visible}.wbd--whiteboard .wbd-undo button{border:0;background:none;color:var(--info);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;padding:4px 2px}.wbd--whiteboard:fullscreen,.wbd--whiteboard.is-full{background:var(--ink-950);padding:8px;box-sizing:border-box;margin:0;width:100%;height:100%}.wbd--whiteboard:fullscreen .wbd-board,.wbd--whiteboard.is-full .wbd-board{flex:1 1 auto;height:auto;min-height:0}.wbd--whiteboard:fullscreen .wbd-undo,.wbd--whiteboard.is-full .wbd-undo{display:none}.wbd--whiteboard.is-full{position:fixed;inset:0;z-index:1000;height:100dvh}@media(max-width: 759px){.wbd--whiteboard .wbd-b span{display:none}.wbd--whiteboard .wbd-tools,.wbd--whiteboard .wbd-pal{gap:3px}.wbd--whiteboard .wbd-b,.wbd--whiteboard .wbd-c,.wbd--whiteboard .wbd-s{padding:0}.wbd--whiteboard .wbd-board{height:clamp(300px,100svh - 360px,560px)}}@media(max-width: 389px){.wbd--whiteboard .wbd-c i{width:20px;height:20px}.wbd--whiteboard .wbd-acts{gap:6px}.wbd--whiteboard .wbd-acts .btn{font-size:14px;padding:0 4px}.wbd--whiteboard .wbd-acts .ic{display:none}}html.wbd-lock,html.wbd-lock body{overflow:hidden}