/* The board scene (lab, 2026-11-24): the In progress board drawn in markup at the app's own sizes and tokens
   (App.css: .ip-col 280px, radius 18; «Свет сверху» stage light; .ip-card frosted 7.5%; the app's checkbox),
   laid over the matrix scene's camera. Lab only; design/home-lab/board-scene.mjs. */
.bs-app {
  --row: #1b1a18; --text: rgba(255,255,255,.92); --muted: rgba(255,255,255,.72); --faint: rgba(255,255,255,.55);
  --border: rgba(255,255,255,.08); --accent: #f2b700; --field-rest: rgba(255,255,255,.06); --line-strong: rgba(255,255,255,.35);
  --lift: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.35), 0 8px 18px -10px rgba(0,0,0,.6);
  --ease: cubic-bezier(.2,.7,.2,1);
}
.bs-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.bs-board { position: absolute; left: 50%; top: 24px; width: 1156px; height: 520px; transform-origin: 50% 0; font-family: Montserrat, system-ui, sans-serif; }
.bs-col { position: absolute; top: 0; width: 280px; height: 520px; border-radius: 18px; background: var(--row);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.bs-col[data-c] { background: linear-gradient(to bottom, color-mix(in oklab, var(--h3) 62%, var(--row)) 0,
  color-mix(in oklab, var(--h4) 70%, var(--row)) 52px, var(--row) 124px) var(--row); }
.bs-head { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; margin-bottom: 8px; }
.bs-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--h); flex: none; }
.bs-name { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--h2); }
.bs-n { margin-left: auto; font-size: 12px; line-height: 20px; font-weight: 600; color: var(--h2); font-variant-numeric: tabular-nums; }
.bs-card { position: absolute; left: 8px; width: 264px; background: rgba(255,255,255,.075); border-radius: 10px; box-shadow: var(--lift); padding: 12px 14px; }
.bs-card.me { z-index: 4; }
.bs-card.me.is-open { box-shadow: inset 0 0 0 1px var(--accent), var(--lift); }
.bs-title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); white-space: nowrap; }
.bs-sub { margin-top: 3px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.bs-prog { display: flex; align-items: center; gap: 10px; height: 15px; margin-top: 9px; }
.bs-bar { flex: 1; height: 3px; border-radius: 999px; background: rgba(0,0,0,.35); overflow: hidden; }
.bs-bar i { display: block; height: 3px; border-radius: 999px; background: var(--h, var(--muted)); width: calc(var(--p, 0) * 100%); }
.bs-count { flex: none; min-width: 24px; text-align: right; font-size: 11px; line-height: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
/* the open card's to-do list: the app's to-do rows and checkbox (App.css input[type=checkbox], .ipc-todo) */
.bs-todo { overflow: hidden; height: 0; }
.bs-todo-in { padding-top: 24px; background: linear-gradient(var(--border),var(--border)) 0 12px / 100% 1px no-repeat; }
.bs-todo-h { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--faint); margin-bottom: 6px; }
.bs-row { display: grid; grid-template-columns: 15px minmax(0,1fr); column-gap: 10px; align-items: start; padding: 3px 0; }
.bs-row span { font-size: 13px; line-height: 21px; color: var(--text); }
.bs-row.done span { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--line-strong); }
.bs-app input[type="checkbox"] { appearance: none; -webkit-appearance: none; display: inline-block; width: 15px; height: 15px; margin: 3px 0 0;
  border: 1px solid var(--border); border-radius: 3px; background-origin: border-box; background-position: 50% 50%; background-repeat: no-repeat;
  background-size: 100% 100%; background-color: var(--field-rest); }
.bs-app input[type="checkbox"]:checked { background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2015%2015'%3E%3Cpath%20d='M3.8%207.65%206.25%2010.1%2011.25%205.05'%20fill='none'%20stroke='%23000'%20stroke-width='2.05'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E"); }
.bs-ready { margin-top: 10px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(242,183,0,calc(.25 + var(--on,0) * .5)); color: rgba(242,183,0,calc(.45 + var(--on,0) * .55));
  background: rgba(242,183,0,calc(var(--press,0) * .95)); }
.bs-ready.pressed { color: #111; }
.bs-toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; padding: 10px 16px; border-radius: 12px;
  background: #2a2926; box-shadow: var(--lift); font-size: 13px; font-weight: 600; color: var(--text); }
.bs-toast b { color: var(--accent); font-weight: 700; margin-left: 10px; }
.bs-ptr { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 6; }
.bs-ptr svg { width: 22px; height: 22px; fill: #fff; stroke: #111; stroke-width: 1.2; }
/* the card on its way to the catalogue: drawn over everything, in the stage's pixels */
.bs-fly { position: absolute; left: 0; top: 0; z-index: 7; border-radius: 10px; background: rgba(255,255,255,.075); box-shadow: var(--lift); padding: 12px 14px; font-family: Montserrat, system-ui, sans-serif; transform-origin: 0 0; }
/* one line over the stage, changing with the beat (the three statements of today, said one at a time) */
.bs-says { position: relative; width: 100%; height: 30px; margin: 0 auto 10px; text-align: center; }
.bs-says li { position: absolute; left: 0; right: 0; top: 0; white-space: nowrap; list-style: none; font-size: 20px; line-height: 30px; font-weight: 500; color: rgba(255,255,255,.62); opacity: 0; }
.bs-says li b { color: #fff; font-weight: 700; }
.bs-says ol { margin: 0; padding: 0; }
.lab-ctl { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 14px;
  background: rgba(20,20,19,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.1); font: 600 13px/1 system-ui, sans-serif; color: #ddd; }
.lab-ctl button { font: inherit; color: #111; background: #f2b700; border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.lab-ctl button.ghost { background: transparent; color: #ddd; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.lab-ctl span { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; color: #999; }
