/* online sticky notes board (uses tokens from /assets/brand-v2.css) */
.board-wrap{position:relative}
.board-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.newnote{display:inline-flex;align-items:center;gap:8px;border:0;background:var(--violet);color:#fff;font:700 14px var(--body);padding:9px 14px;border-radius:12px;cursor:pointer}
.newnote:hover{filter:brightness(1.08)}
.pick{display:inline-flex;gap:4px;padding:4px;background:var(--bg);border-radius:999px}
.pick button{width:22px;height:22px;border-radius:50%;border:2px solid transparent;cursor:pointer;padding:0}
.pick button[aria-pressed="true"]{border-color:var(--ink)}
.c-yellow{background:#fde68a}.c-green{background:#bbf7d0}.c-blue{background:#bfdbfe}.c-pink{background:#fbcfe8}.c-violet{background:#ddd6fe}
#board{position:relative;height:600px;background:
  radial-gradient(circle,rgba(91,53,240,.13) 1.2px,transparent 1.3px) 0 0/22px 22px,var(--surface);overflow:hidden;touch-action:none}
#board .empty-board{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:15px;text-align:center;padding:24px;pointer-events:none}
.note{position:absolute;width:210px;min-height:170px;display:flex;flex-direction:column;border-radius:4px 4px 16px 4px;box-shadow:0 10px 24px rgba(28,23,51,.16),0 1px 2px rgba(28,23,51,.12);color:#2b2410;transition:box-shadow .15s}
.note.drag{box-shadow:0 22px 44px rgba(28,23,51,.28);z-index:50;cursor:grabbing}
.note .bar{display:flex;align-items:center;gap:4px;padding:6px 6px 2px 8px;cursor:grab;user-select:none;touch-action:none}
.note .bar .dots{display:flex;gap:3px;flex:1}
.note .bar .dots button{width:13px;height:13px;border-radius:50%;border:1px solid rgba(0,0,0,.18);padding:0;cursor:pointer}
.note .bar .del{border:0;background:transparent;color:rgba(0,0,0,.45);font:700 16px/1 var(--body);width:24px;height:24px;border-radius:6px;cursor:pointer}
.note .bar .del:hover{background:rgba(0,0,0,.08);color:#000}
.note textarea{flex:1;border:0;background:transparent;resize:none;padding:4px 12px 12px;font:600 19px/1.25 var(--hand,"Caveat",cursive);color:inherit;outline:none;min-height:130px}
.note textarea::placeholder{color:rgba(43,36,16,.45)}
.note .when{font:500 11px var(--body);color:rgba(43,36,16,.5);padding:0 12px 8px}
.board-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.board-foot .acts{display:flex;gap:6px;flex-wrap:wrap}
.ghost.danger:hover{border-color:#d43c3c;color:#d43c3c}
.ghost.armed{border-color:#d43c3c;background:#d43c3c;color:#fff}
@media (max-width:640px){#board{height:520px}.note{width:160px;min-height:140px}.note textarea{font-size:17px;min-height:100px}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .note{color:#2b2410}}
