html,body,#root{height:100%;margin:0}body{overscroll-behavior:none;color:#1f2937;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow:hidden}.app,.board-root{width:100%;height:100%;position:relative}.board{touch-action:none;-webkit-user-select:none;user-select:none;background:#f8fafc;width:100%;height:100%;position:relative;overflow:hidden}.board-status{font-variant-numeric:tabular-nums;pointer-events:none;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:6px 10px;font-size:12px;position:absolute;bottom:12px;left:12px}.board-alert{color:#b91c1c;max-width:calc(100% - 32px);font:inherit;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:8px;padding:6px 12px;font-size:13px;position:absolute;top:64px;left:50%;transform:translate(-50%)}.toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #0f172a14}.toolbar-button{color:#334155;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:36px;height:36px;padding:0;display:grid}.toolbar-button:hover{background:#f1f5f9}.toolbar-button:focus-visible{outline-offset:1px;outline:2px solid #2563eb}.toolbar-button[aria-pressed=true]{color:#1d4ed8;background:#dbeafe}.toolbar-separator{background:#e2e8f0;width:1px;height:22px;margin:0 4px}.selection-overlay{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.selection-outline,.selection-frame{fill:none;stroke:#2563eb;stroke-width:1.5px}.selection-frame{stroke-dasharray:4 3}.selection-handle{fill:#fff;stroke:#2563eb;stroke-width:1.5px}.attach-target{fill:none;stroke:#16a34a;stroke-width:2px}.pen-preview{fill:none;stroke-linecap:round;stroke-linejoin:round}.marquee{fill:#2563eb1a;stroke:#2563eb;stroke-width:1px}.text-editor{box-sizing:border-box;transform-origin:0 0;cursor:text;align-items:center;display:flex;position:absolute;top:0;left:0}.text-editor-input{white-space:pre-wrap;overflow-wrap:break-word;-webkit-user-select:text;user-select:text;outline:none;width:100%;max-height:100%;font-family:Arial,sans-serif;line-height:1}.presence-overlay{pointer-events:none;position:absolute;inset:0;overflow:hidden}.peer-selection{fill:none;stroke-width:2px}.peer-cursor{will-change:transform;align-items:flex-start;transition:transform 80ms linear;display:flex;position:absolute;top:0;left:0}.peer-cursor-name{color:#fff;white-space:nowrap;border-radius:6px;margin:12px 0 0 -2px;padding:2px 6px;font-size:12px;line-height:1.3}.presence-bar{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:6px;padding:4px 8px;display:flex;position:absolute;top:12px;right:12px;box-shadow:0 2px 8px #0f172a14}.connection{background:#f59e0b;border-radius:50%;width:8px;height:8px}.connection[data-status=connected]{background:#16a34a}.connection[data-status=disconnected]{background:#dc2626}.user-name{text-overflow:ellipsis;white-space:nowrap;border-bottom:2px solid;max-width:140px;padding:4px 6px;font-size:13px;overflow:hidden}.peer{color:#fff;border-radius:50%;place-items:center;width:26px;height:26px;font-size:12px;font-weight:600;display:grid}.board-header{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:8px;max-width:420px;padding:6px 10px;font-size:14px;display:flex;position:absolute;top:12px;left:12px;box-shadow:0 2px 8px #0f172a14}.board-header a{color:#334155;text-decoration:none}.board-notice{color:#78350f;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;max-width:420px;padding:6px 10px;font-size:13px;position:absolute;top:56px;left:12px}.board-title{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.page{box-sizing:border-box;background:#f8fafc;height:100%;overflow:auto}.auth-page{place-items:center;padding:24px;display:grid}.auth-card{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:14px;width:100%;max-width:360px;padding:28px;display:flex;box-shadow:0 2px 8px #0f172a14}.auth-card h1,.boards h1{margin:0;font-size:20px}.auth-card p{margin:0;font-size:14px;line-height:1.5}.field{flex-direction:column;gap:4px;font-size:13px;font-weight:600;display:flex}.field input,.board-name-input{font:inherit;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;font-weight:400}.field input:focus-visible,.board-name-input:focus-visible,.button:focus-visible,.page a:focus-visible{outline-offset:1px;outline:2px solid #2563eb}.form-error{color:#b91c1c}.form-note{color:#166534}.auth-footer{flex-wrap:wrap;justify-content:space-between;gap:6px 16px;display:flex}.page a{color:#1d4ed8}.button{color:#1f2937;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 14px;font-size:14px}.button:hover{background:#f1f5f9}.button:disabled{opacity:.6;cursor:default}.button.primary{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.button.primary:hover{background:#1e40af}.button.small{padding:4px 10px;font-size:13px}.button.danger{color:#b91c1c}.page-header{background:#fff;border-bottom:1px solid #e2e8f0;align-items:center;gap:12px;padding:12px 24px;display:flex}.app-name{margin-right:auto;font-weight:700}.account{font-size:14px}.boards{box-sizing:border-box;max-width:760px;margin:0 auto;padding:32px 24px}.boards-title{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.empty{color:#64748b}.board-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.board-row{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:10px;padding:10px 14px;display:flex}.board-link,.board-name-input{flex:1;min-width:0}.board-link{text-overflow:ellipsis;white-space:nowrap;font-weight:600;text-decoration:none;overflow:hidden}.board-name-input{padding:4px 8px}.board-date{color:#64748b;white-space:nowrap;font-size:13px}.board-role{color:#334155;white-space:nowrap;background:#e2e8f0;border-radius:999px;padding:2px 8px;font-size:12px}.share-dialog{box-sizing:border-box;border:1px solid #e2e8f0;border-radius:12px;width:min(560px,100vw - 32px);padding:20px 24px;font-size:14px;box-shadow:0 12px 40px #0f172a33}.share-dialog::backdrop{background:#0f172a59}.share-dialog h2{margin:0 0 4px;font-size:18px}.share-dialog h3{margin:16px 0 6px;font-size:14px}.share-hint{color:#64748b;margin:0}.share-link{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.share-link h3{flex-basis:100%}.share-link input{flex:1;min-width:0;padding:4px 8px}.share-members{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.share-members li{align-items:center;gap:8px;display:flex}.share-member-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.share-actions{justify-content:flex-end;margin-top:20px;display:flex}
