:root{--ink:#1f2937;--ink-soft:#4b5563;--canvas:#f6f6f4;--dot:#d6d6d1;--accent:#2563eb;--accent-soft:#e8eefc;--line:#e5e7eb;--panel-shadow:0 1px 4px #00000024;color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif}html,body,#root{overscroll-behavior:none;height:100%;margin:0;overflow:hidden}.tiro-loading{background:var(--canvas);height:100%;color:var(--ink-soft);place-items:center;font-size:13px;display:grid}.tiro-board{-webkit-user-select:none;user-select:none;position:fixed;inset:0}.tiro-canvas{background-color:var(--canvas);background-image:radial-gradient(var(--dot) 1.1px, transparent 1.1px);touch-action:none;outline:none;position:absolute;inset:0;overflow:hidden}.tiro-canvas.panning{cursor:grabbing}.tiro-canvas.space{cursor:grab}.tiro-canvas.creating{cursor:crosshair}.tiro-world{transform-origin:0 0;pointer-events:none;width:0;height:0;position:absolute;top:0;left:0}.tiro-object{transform-origin:50%;position:absolute}.tiro-placeholder{box-sizing:border-box;color:#6b7280;background:#e5e7eb;border:1px dashed #9ca3af;place-items:center;width:100%;height:100%;font-size:12px;display:grid;overflow:hidden}.pill{box-shadow:var(--panel-shadow);background:#fff;border-radius:10px;align-items:center;gap:10px;padding:6px 10px;font-size:13px;display:flex;position:absolute}.pill button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;padding:0}.title{font-weight:600;top:12px;left:14px}.title .logo{background:var(--ink);color:#fff;border-radius:6px;place-items:center;width:22px;height:22px;font-size:13px;font-weight:700;display:grid}.title .board-name{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;max-width:280px;font-weight:500;overflow:hidden}.title .board-name-input{font:inherit;color:var(--ink);border:1px solid #c9ccd3;border-radius:5px;outline:none;width:200px;padding:1px 5px;font-weight:500}.title .board-name-input:focus{border-color:var(--accent)}.title .settings-button{color:#6b7280;border-radius:6px;place-items:center;width:24px;height:24px;display:grid}.title .settings-button:hover,.title .settings-button[aria-expanded=true]{color:var(--ink);background:#f3f4f6}.title .settings-button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.menu{z-index:10;background:#fff;border-radius:10px;min-width:160px;padding:8px;font-weight:400;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 4px 14px #00000029}.menu .menu-label{color:#6b7280;margin:2px 4px 6px;font-size:12px}.menu .segmented{gap:6px;display:flex}.menu .segmented button{background:#fff;border:1px solid #c9ccd3;border-radius:6px;padding:4px 10px}.menu .segmented button[aria-checked=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.zoom{gap:4px;padding:4px 6px;bottom:12px;right:14px}.zoom button{border-radius:6px;place-items:center;min-width:26px;height:26px;display:grid}.zoom button:hover{background:#f3f4f6}.zoom .zoom-level{color:var(--ink-soft);min-width:48px;font-weight:500}.tools{gap:2px;padding:6px}.tools.left{flex-direction:column;top:70px;left:14px}.tools.bottom{flex-direction:row;bottom:14px;left:50%;transform:translate(-50%)}.tool-slot{position:relative}.tool{color:#374151;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.tool:hover{background:#f3f4f6}.tool[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.tool svg,.ctx button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.flyout{box-shadow:var(--panel-shadow);background:#fff;border-radius:10px;gap:2px;padding:4px;display:flex;position:absolute}.tools.left .flyout{top:-4px;left:calc(100% + 12px)}.tools.bottom .flyout{bottom:calc(100% + 12px);left:-4px}.selection-layer{pointer-events:none;position:absolute;inset:0}.sel{border:1.5px solid var(--accent);box-sizing:border-box;transform-origin:50%;position:absolute}.sel.multi{border-width:1px}.handle{border:1.5px solid var(--accent);pointer-events:auto;background:#fff;border-radius:2px;width:8px;height:8px;margin:-5.5px 0 0 -5.5px;position:absolute}.handle.rotate{cursor:grab;border-radius:50%;width:9px;height:9px;margin:-6px 0 0 -6px}.box-select{border:1px solid var(--accent);background:#2563eb14;position:absolute}.draft{border:1.5px dashed var(--accent);position:absolute}.ctx{pointer-events:auto;gap:2px;padding:4px;position:absolute;transform:translate(-50%,-100%)}.ctx button{color:#374151;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.ctx button:hover{background:#f3f4f6}.ctx .sep{background:var(--line);width:1px;height:20px;margin:0 3px}.tiro-text{color:var(--ink);flex-direction:column;line-height:1.25;display:flex;position:absolute;overflow:hidden}.tiro-rich{overflow-wrap:normal;word-break:normal;white-space:pre-wrap;flex:none}.tiro-rich p{margin:0}.tiro-text.editing{pointer-events:auto;-webkit-user-select:text;user-select:text;cursor:text}.tiro-editor{white-space:pre-wrap;outline:none}.ctx-slot{position:relative}.ctx .ctx-flyout{z-index:5;top:calc(100% + 8px);left:50%;transform:translate(-50%)}.ctx .ctx-flyout button[aria-checked=true]{background:var(--accent-soft)}.swatch{box-sizing:border-box;border:1px solid #0000002e;border-radius:50%;width:18px;height:18px;display:block}
