/* ASCS Lounge — Whiteboard */
.whiteboard-page main { padding-top: 10px; }
.wb-shell { padding-bottom: 40px; }
.wb-hero { padding: 10px 0 22px; }
.wb-hero h1 { margin: 8px 0 8px; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: .98; letter-spacing: -.06em; }
.wb-hero p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; max-width: 68ch; }
.wb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--border); border-radius: 13px 13px 0 0; background: var(--card); border-bottom: 0; }
.wb-tool-group { display: flex; align-items: center; gap: 4px; padding-right: 8px; margin-right: 2px; border-right: 1px solid var(--border); }
.wb-tool-group:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.wb-tool { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font-size: .66rem; cursor: pointer; }
.wb-tool:hover { background: rgba(255,255,255,.04); color: var(--text); }
.wb-tool.active { border-color: rgba(129,140,248,.45); background: rgba(129,140,248,.12); color: var(--text); }
.wb-tool span { font-size: .82rem; }
.wb-swatches { display: flex; gap: 4px; align-items: center; }
.wb-swatch { width: 19px; height: 19px; border-radius: 50%; border: 2px solid transparent; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.wb-swatch.active { border-color: var(--text); }
.wb-color { width: 25px; height: 22px; padding: 0; border: 1px solid var(--border-2); border-radius: 5px; background: transparent; cursor: pointer; }
.wb-size { display: flex; align-items: center; gap: 6px; color: var(--dim); font-size: .6rem; }
.wb-size input { width: 90px; accent-color: var(--accent); }
.wb-size output { min-width: 28px; color: var(--muted); font-family: ui-monospace, monospace; font-size: .6rem; }
.wb-bg { padding: 6px 7px; border: 1px solid var(--border-2); border-radius: 6px; background: var(--bg); color: var(--text); font: inherit; font-size: .64rem; }
.wb-canvas-wrap { position: relative; border: 1px solid var(--border); border-radius: 0 0 13px 13px; overflow: hidden; background: #0b0e16; }
.wb-canvas-wrap.dark-grid { background-color: #0b0e16; background-image: linear-gradient(rgba(148,163,184,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.09) 1px, transparent 1px); background-size: 32px 32px; }
.wb-canvas-wrap.dark { background: #0b0e16; }
.wb-canvas-wrap.light-grid { background-color: #f8fafc; background-image: linear-gradient(rgba(15,23,42,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.09) 1px, transparent 1px); background-size: 32px 32px; }
.wb-canvas-wrap.light { background: #f8fafc; }
.wb-canvas-wrap.transparent { background-color: #fff; background-image: linear-gradient(45deg, #e2e8f0 25%, transparent 25%), linear-gradient(-45deg, #e2e8f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e2e8f0 75%), linear-gradient(-45deg, transparent 75%, #e2e8f0 75%); background-size: 22px 22px; background-position: 0 0, 0 11px, 11px -11px, -11px 0; }
#wbCanvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; touch-action: none; cursor: crosshair; }
.wb-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 9px; }
.wb-status { color: var(--dim); font-size: .66rem; min-height: 16px; }
.wb-note { color: var(--dim); font-size: .64rem; line-height: 1.5; margin: 8px 0 0; }
@media (max-width: 760px) {
  .wb-toolbar { padding: 8px; gap: 6px; }
  .wb-tool-group { border-right: 0; padding-right: 0; margin-right: 0; }
  .wb-tool { padding: 6px; }
  .wb-tool .wb-tool-label { display: none; }
  .wb-size input { width: 70px; }
  .wb-canvas-wrap { border-radius: 0 0 10px 10px; }
}
