.wb-shell{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto minmax(470px,65vh) auto;border:1px solid #9cb9c4;border-radius:12px;background:#f4f8fa;overflow:hidden}.wb-options{grid-column:1/-1;display:flex;align-items:center;gap:18px;background:white;padding:12px 16px;border-bottom:1px solid #cbdce3;min-height:56px;flex-wrap:wrap}.wb-options strong{min-width:115px}.wb-options label{display:flex;align-items:center;gap:6px;font-size:12px;color:#294d5b}.wb-options input[type=color]{width:28px;height:28px;border:0;padding:0;background:none;cursor:pointer}.wb-options select{padding:5px;border:1px solid #bdcfd7;border-radius:5px}.wb-selected-info{margin-left:auto;font-size:12px;color:#426371}.wb-tools{grid-row:2;grid-column:1;display:flex;flex-direction:column;align-items:center;gap:3px;overflow-y:auto;padding:8px 5px;background:#123b4e;border-right:1px solid #082c3b}.wb-tools button{flex:0 0 36px;width:38px;height:36px;border-radius:6px;background:transparent;color:#e4f3f7;font-size:24px;line-height:1;display:grid;place-items:center}.wb-tools button:hover{background:#26586a}.wb-tools button.active{background:#08a0a9;color:white;box-shadow:inset 0 0 0 1px #77e4e5}.wb-tools hr{width:30px;border:0;border-top:1px solid #4e7584;margin:5px}.wb-stage{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-width:0;min-height:0}.wb-selection{display:flex;gap:4px;flex-wrap:wrap;padding:7px 10px;border-bottom:1px solid #cadce4;background:#f7fafb;min-height:43px}.wb-button{background:white;color:#1b4558;border:1px solid #b8cdd7;border-radius:5px;padding:6px 9px;font-size:11px}.wb-button:hover:not(:disabled){background:#e1f4f4;border-color:#00858e}.wb-button:disabled{opacity:.4}.wb-stage .board-scroll{border:0;border-radius:0;height:auto;flex:1;min-height:0}.wb-bottom{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:white;padding:10px;border-top:1px solid #c3d5df}.wb-help{font-size:11px;color:#4e6b7a;flex:1;min-width:180px}.wb-world{touch-action:none;user-select:none}.wb-drawing{position:absolute;left:0;top:0;pointer-events:none;stroke:none;fill:none;overflow:visible}.wb-object{pointer-events:all;cursor:move}.wb-object line,.wb-object polyline{pointer-events:stroke;stroke-linecap:round;stroke-linejoin:round}.wb-object.wb-selected{filter:drop-shadow(0 0 3px #005bff)}.wb-world .sticky.wb-selected,.wb-world .board-asset.wb-selected{outline:3px solid #008fce;outline-offset:3px}.wb-world .sticky{cursor:move}.wb-world.tool-hand{cursor:grab}.wb-world:not(.tool-select):not(.tool-hand){cursor:crosshair}.wb-world:not(.tool-select) .board-asset,.wb-world:not(.tool-select) .sticky,.wb-world:not(.tool-select) .wb-object{pointer-events:none}.wb-shell:fullscreen{width:100vw;height:100vh;border-radius:0;grid-template-rows:auto minmax(0,1fr) auto}.wb-world .board-asset{z-index:2}.wb-world .sticky{z-index:3}.wb-drawing{z-index:4}.wb-drawing .wb-object{pointer-events:visiblePainted}.wb-drawing .wb-object text{pointer-events:none}.wb-world .connections{z-index:1}.wb-world svg text{stroke:none}.wb-tools button:focus-visible{outline:2px solid white;outline-offset:-2}@media(max-width:900px){.wb-help{display:none}.wb-options{gap:8px}.wb-options strong{min-width:70px}.wb-selected-info{display:none}.wb-shell{grid-template-rows:auto minmax(480px,70vh) auto}.wb-tools button{flex-basis:32px;height:32px}.wb-selection{flex-wrap:nowrap;overflow:auto}.wb-selection button{white-space:nowrap}}
.wb-tools{gap:1px}.wb-tools button{flex-basis:28px;height:28px;font-size:21px}.wb-tools button svg{width:21px;height:21px;stroke:currentColor;fill:none}.wb-selection{flex-wrap:nowrap;overflow-x:auto}.wb-selection .wb-button{flex-shrink:0}.wb-preview-layer{pointer-events:none!important}.wb-preview-layer .wb-object{pointer-events:none!important}
.wb-shell.wb-expanded{position:fixed;inset:0;width:100vw;height:100vh;z-index:80;border-radius:0;grid-template-rows:auto minmax(0,1fr) auto}
.wb-world.tool-eraser .wb-object,.wb-world.tool-eraser .board-asset,.wb-world.tool-eraser .sticky{pointer-events:auto;cursor:crosshair}
.wb-world .sticky{overflow:visible}.wb-port{position:absolute;width:14px;height:14px;padding:0;border:2px solid white;border-radius:50%;background:#008fce;box-shadow:0 0 0 1px #008fce;z-index:20;cursor:crosshair;touch-action:none}.wb-port:hover{background:#005c91;transform:scale(1.3)}.port-top{top:-7px;left:calc(50% - 7px)}.port-bottom{bottom:-7px;left:calc(50% - 7px)}.port-left{left:-7px;top:calc(50% - 7px)}.port-right{right:-7px;top:calc(50% - 7px)}.wb-inline-text{position:absolute;z-index:20000;font:18px/24px 'Segoe UI',sans-serif;min-height:55px;padding:8px 12px;border:1px dashed #00858e;outline:2px solid #00858e30;background:#ffffffed;resize:both;user-select:text;touch-action:auto;box-sizing:border-box}.wb-world:not(.tool-select) .wb-inline-text{pointer-events:auto}
.wb-world .wb-note-editor{position:relative;left:auto;top:auto;display:block;width:calc(100% - 20px);min-height:115px;margin:4px 10px 10px;padding:6px 4px;background:transparent;border:0;outline:none;resize:none;font:14px/22px 'Segoe UI',sans-serif;color:#17394b;z-index:1}.wb-world .sticky p[hidden]{display:none}
