/* Tooltip demo (cp/tooltip.js). The tooltips bring their own styles (web/lib). */
.tt-demo { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 44px 0 8px; }
.tt-bar { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.tt-tool { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--text); cursor: pointer; transition: background .15s, transform .15s; }
.tt-tool:hover { background: var(--line-2); }
.tt-tool:active { transform: scale(.94); }
.tt-sides { display: grid; grid-template-columns: repeat(4, auto); gap: 8px; }
.tt-side { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--text); font: 600 13px/1 var(--sans); cursor: pointer; }
.tt-side:active { transform: scale(.96); }
