.canvasmain {
  padding: 18px 22px;
}
.canvasheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.canvasheading h1 {
  font-size: 32px;
  margin-top: 3px;
}
.boardShell {
  position: relative;
  isolation: isolate;
  height: calc(100dvh - 182px);
  min-height: 390px;
  border: 1px solid #c0c0c0;
  border-radius: 12px;
  background: #e5e5e5;
  overflow: hidden;
}
.boardShell.embedded {
  height: calc(100dvh - 249px);
  min-height: 440px;
}
.viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: contain;
  outline: none;
  background-color: #e7e7e7;
  background-image: radial-gradient(circle, #b0b0b0 1px, transparent 1.25px);
  user-select: none;
}
.world {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
}
.mode-hand,
.spacepan {
  cursor: grab;
}
.mode-hand:active,
.spacepan:active {
  cursor: grabbing;
}
.canvasFrame {
  position: absolute;
  box-sizing: border-box;
  background: #f5f5f5;
  outline: calc(1px * var(--inverse-zoom, 1)) solid #979797;
}
.canvasFrame.selectedObj,
.canvasFrame.frameSketch {
  outline: calc(2px * var(--inverse-zoom, 1)) solid #494949;
}
.canvasFrame.frameSketch {
  z-index: 8;
  pointer-events: none;
  background: #a0a0a026;
}
.frameGrip {
  display: none;
}
.selectedObj > .frameGrip {
  display: block;
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 13px;
  height: 13px;
  transform-origin: bottom right;
  transform: scale(var(--inverse-zoom, 1));
  background: white;
  border: 2px solid #494949;
  cursor: nwse-resize;
}
.mode-frame::after {
  content: 'Drag to draw a frame';
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  background: #333333;
  color: white;
  font-size: var(--type-ui);
  padding: 6px 12px;
  border-radius: 6px;
}
.frameAnchor {
  position: absolute;
  z-index: 5;
}
.frameCaption {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scale(var(--inverse-zoom, 1));
  transform-origin: left bottom;
  display: flex;
  width: max-content;
  max-width: min(580px, 75vw);
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 5px 5px 0 0;
  background: #333333;
  color: white;
  font-size: var(--type-ui);
  line-height: 20px;
  cursor: grab;
}
.frameCaption b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.frameChoices {
  border: 0;
  padding: 0;
  margin: 0;
}
.frameChoices legend {
  font-weight: 600;
  margin-bottom: 8px;
}
.formfields .frameImageChoice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
}
.frameImageChoice input {
  width: auto;
}
.frameImageChoice img {
  width: 52px;
  height: 36px;
  object-fit: cover;
  border-radius: 3px;
}
.mode-frame,
.mode-frame .frameCaption,
.mode-note,
.mode-pen {
  cursor: crosshair;
}
.frame {
  position: absolute;
  background: #fff;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  box-shadow: 0 3px 9px #1f1f1f1a;
}
.frametop {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: #2f2f2f;
  font-size: var(--type-body);
}
.frametop small {
  margin-left: auto;
  color: var(--muted);
}
.surface {
  position: relative;
  line-height: 0;
}
.surface > img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.legacyInk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.boardInk {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.boardInk path {
  pointer-events: visiblePainted;
}
.frame.selectedObj,
.linkcard.selectedObj {
  outline: 2px solid #6a8354;
  outline-offset: 3px;
}
.boardInk .selectedObj {
  filter: drop-shadow(0 1px 2px #4f4f4f);
}
.sticky,
.notePreview {
  --note-fill: #ffe49e;
  --note-ink: #382e20;
  --note-accent: #76511d;
  --note-opacity: 85%;
  --note-rule: color-mix(in srgb,var(--note-accent) 22%,transparent);
  background-color: var(--note-fill);
  background-color: color-mix(in srgb,var(--note-fill) var(--note-opacity),transparent);
  border: 1px solid var(--note-rule);
  border-radius: 18px;
  color: var(--note-ink);
  color-scheme: light;
  box-shadow: 0 3px 9px -5px rgb(39 34 25 / .26);
}
:root[data-theme='night'] :is(.sticky,.notePreview) {
  --note-opacity: 89%;
  --note-fill: #eed598;
}
.sticky {
  position: absolute;
  z-index: 3;
  width: 214px;
  min-height: 138px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  text-align: start;
  padding: 12px 13px 8px;
}
.mode-select .sticky[data-movable] { cursor: grab; }
.mode-select .sticky[data-movable]:active { cursor: grabbing; }
.sticky.selectedObj,
.sticky:focus-visible,
.sticky.editpaper {
  outline: clamp(.75px,calc(1.5px * var(--inverse-zoom, 1)),3px) solid var(--note-accent);
  outline-offset: clamp(1px,calc(2px * var(--inverse-zoom, 1)),4px);
}
.sticky.clientpaper, .notePreview.clientpaper,
:root[data-theme='night'] .clientpaper {
  --note-fill: #ffd4ba;
  --note-ink: #472f25;
  --note-accent: #894625;
}
.sticky.architectReplied, .notePreview.architectReplied,
:root[data-theme='night'] .architectReplied {
  --note-fill: #c5e7eb;
  --note-ink: #17393e;
  --note-accent: #315d62;
}
.sticky.isdone, .notePreview.isdone,
:root[data-theme='night'] :is(.sticky,.notePreview).isdone {
  --note-fill: #d8e3d9;
  --note-ink: #354739;
  --note-accent: #4c6350;
}
.sticky.isdone p, .notePreview.isdone p {
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb,var(--note-ink) 55%,transparent);
}
.sticky > p, .notePreview > p {
  margin: 12px 0 13px;
  color: inherit;
  font-size: 17px;
  font-weight: 570;
  letter-spacing: -.025em;
  line-height: 1.34;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sticky > p {
  max-height: 250px;
  overflow: auto;
  scrollbar-width: thin;
}
.paperhead {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.noteMonogram {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  height: 25px;
  border-radius: 50%;
  color: var(--note-accent);
  background: color-mix(in srgb,var(--note-fill) 81%,var(--note-accent));
  font: 750 10px/1 DM,sans-serif;
}
.noteCredit { flex: 1; display: grid; gap: 1px; min-width: 0; }
.noteCredit > * { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.noteCredit .noteAuthor { color: inherit; font: 690 12px/1.2 DM,sans-serif; }
.noteCredit small { color: var(--note-ink); font: 480 10.5px/1.2 DM,sans-serif; }
.noteGrip {
  flex: 0 0 10px;
  height: 15px;
  background: radial-gradient(circle at 2.5px 2.5px,var(--note-accent) 1px,transparent 1.2px) 0 0 / 5px 5px;
}
.sticky footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border-top: 1px solid var(--note-rule);
  padding-top: 6px;
}
.sticky footer label,
.sticky footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  gap: 4px;
  font: 650 11.5px/1.2 DM,sans-serif;
  color: inherit;
  cursor: pointer;
}
.sticky footer label:has(:disabled) { cursor: default; }
.sticky footer label:has(:focus-visible) { outline: 2px solid var(--note-accent); outline-offset: 2px; border-radius: 3px; }
.sticky footer button {
  padding: 3px 7px;
  border: 1px solid var(--note-rule);
  background: rgb(255 255 255 / .21);
  border-radius: 99px;
  white-space: nowrap;
}
.sticky footer input {
  appearance: auto;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  padding: 0; margin: 0;
  accent-color: var(--note-accent);
  cursor: inherit;
}
.sticky footer svg { flex: none; }
@media (hover:hover) {
  .mode-select .sticky:hover { border-color: color-mix(in srgb,var(--note-accent) 57%,transparent); }
  .sticky footer button:hover, .paperbuttons button[type='button']:hover { background: rgb(255 255 255 / .48); }
}
/* The board can show hundreds of notes. Only a single open editor or dialog
   samples the backdrop; ordinary notes composite their translucent tint directly. */
.sticky.editpaper, .notePreview {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.notePreview { padding: 16px; }
.notePreview > p { margin-bottom: 0; }
.noteLocation {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: var(--note-accent);
  overflow-wrap: anywhere;
}
.reply {
  margin: 9px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.editpaper {
  z-index: 9;
  width: 238px;
  max-width: none;
  user-select: text;
  cursor: auto;
}
.sticky.editpaper textarea {
  border: 0;
  background: rgb(255 255 255 / .25);
  border-radius: 10px;
  min-height: 74px;
  margin: 9px 0 4px;
  padding: 8px 9px;
  color: inherit;
  font: 570 17px/1.34 DM,sans-serif;
  letter-spacing: -.025em;
  resize: vertical;
}
.sticky.editpaper textarea:focus-visible { outline: 1px solid var(--note-accent); outline-offset: 0; }
.sticky.editpaper textarea::placeholder { color: var(--note-accent); }
.editpaper [role='alert']:empty { display: none; }
.editpaper [role='alert'] { color: #803619; }
@media (prefers-reduced-transparency: reduce) {
  .sticky, .notePreview { background-color: var(--note-fill); }
  .sticky.editpaper, .notePreview { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.editpaper select {
  font-size: var(--type-small);
  padding: 5px;
}
.paperbuttons {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 5px;
}
.paperbuttons button {
  min-height: 26px;
  color: inherit;
  font: 650 12px/1.2 DM,sans-serif;
  padding: 4px 11px;
  border-radius: 99px;
}
.paperbuttons button[type='submit'] {
  background: var(--note-accent);
  color: white;
}
.linkcard {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  width: 245px;
  padding: 14px;
  border: 1px solid #b9b9b9;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 7px #1e1e1e12;
}
.linkcard > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #e2e2e2;
  border-radius: 5px;
}
.linkcard > div {
  min-width: 0;
  flex: 1;
}
.linkcard small,
.linkcard b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.linkcard small {
  color: var(--muted);
  font-size: var(--type-caption);
}
.linkcard a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}
.dock {
  display: flex;
  align-items: center;
  background: #fdfdfd;
  border: 1px solid #c7c7c7;
  border-radius: 9px;
  box-shadow: 0 2px 8px #22222212;
}
.boardtop {
  position: absolute;
  left: 14px;
  top: 13px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  pointer-events: none;
}
.boardtop > * {
  pointer-events: auto;
}
.boardlabel {
  padding: 7px 10px;
  gap: 8px;
  min-height: 36px;
}
.boardlabel b {
  font-size: var(--type-ui);
  white-space: nowrap;
}
.boardlabel select {
  border: 0;
  border-left: 1px solid var(--line);
  padding: 3px 6px;
  background: transparent;
  font-size: var(--type-small);
  max-width: 160px;
}
.boardlabel svg {
  color: #4e4e4e;
}
.counters {
  padding: 9px 12px;
  gap: 10px;
  font-size: var(--type-caption);
  color: #565656;
}
.counters b {
  color: #2b2b2b;
  font: 600 var(--type-small) var(--mono);
}
.counters span + span {
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.wbtool {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: transparent;
}
.wbtool:hover,
.zoomlabel:hover {
  background: #e4e4e4;
}
.wbtool.active {
  background: var(--accent-tint);
}
.wbtool:disabled {
  opacity: 0.32;
  cursor: default;
}
.toolDock {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  padding: 4px;
  gap: 2px;
}
.toolDock i {
  width: 23px;
  height: 1px;
  background: var(--line);
  margin: 2px 0;
}
.historyDock,
.zoomDock,
.selectionDock {
  position: absolute;
  gap: 2px;
  padding: 3px;
}
.historyDock {
  bottom: 13px;
  left: 13px;
}
.zoomDock {
  bottom: 13px;
  right: 13px;
}
.zoomDock i {
  width: 1px;
  height: 19px;
  background: var(--line);
}
.zoomlabel {
  font: var(--type-small) var(--mono);
  width: 45px;
  padding: 8px 3px;
  border-radius: 5px;
}
.selectionDock {
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
}
.penpanel {
  position: absolute;
  z-index: 4;
  left: 65px;
  top: 50%;
  transform: translateY(-50%);
  width: 196px;
  display: grid;
  gap: 10px;
  padding: 12px;
}
.penpanel .wbtool {
  width: 24px;
  height: 24px;
}
.penpanel .line b {
  font-size: var(--type-ui);
}
.penpanel label {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--type-small);
}
.penpanel output,
.penpanel input[type='color'] {
  margin-left: auto;
}
.penpanel input[type='color'] {
  width: 34px;
  height: 24px;
  padding: 1px;
}
.penpanel input[type='range'] {
  width: 100%;
  padding: 0;
  accent-color: #515151;
}
.swatches {
  display: flex;
  gap: 7px;
}
.swatches button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #0002;
}
.section {
  margin-top: 14px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .canvasmain {
    padding: 14px;
  }
  .boardShell.embedded {
    height: calc(100dvh - 232px);
  }
  .boardtop {
    left: 9px;
    top: 8px;
    right: 9px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .counters {
    font-size: var(--type-compact);
    padding: 6px 8px;
    gap: 5px;
  }
  .toolDock {
    left: 7px;
  }
  .wbtool {
    height: 32px;
    width: 32px;
  }
  .penpanel {
    left: 50px;
  }
  .historyDock,
  .zoomDock,
  .selectionDock {
    bottom: 6px;
  }
  .historyDock {
    left: 6px;
  }
  .zoomDock {
    right: 6px;
  }
}
@media (max-width: 580px) {
  .boardShell {
    min-height: 430px;
  }
  .boardShell.embedded {
    height: 64dvh;
  }
  .boardlabel {
    gap: 5px;
  }
  .boardtop {
    display: grid;
    justify-content: start;
  }
  .counters {
    box-shadow: none;
  }
  .toolDock {
    top: 52%;
  }
  .selectionDock {
    bottom: 49px;
    left: auto;
    right: 6px;
    transform: none;
  }
  .boardlabel select {
    max-width: 155px;
  }
  .canvasheading h1 {
    font-size: 26px;
  }
  .canvasheading .button {
    font-size: var(--type-small);
  }
  .boardShell .wbtool {
    width: 31px;
    height: 31px;
  }
}
html {
  scrollbar-gutter: stable;
}
.boardShell {
  display: flex;
}
.boardStage {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.boardtop .notesSwitch {
  pointer-events: auto;
  padding: 7px 11px;
  gap: 6px;
  font-weight: 600;
}
.boardShell:has(.notesRail:not([hidden])) .notesSwitch {
  display: none;
}
.notesRail {
  flex: 0 0 clamp(210px, 19vw, 272px);
  min-width: 0;
  overflow: auto;
  background: #f5f5f5;
  border-left: 1px solid var(--line);
}
.notesRail header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f5f5f5;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  row-gap: 8px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
.noteCounts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 8px 0;
  border-radius: 6px;
  background: #e4e4e4;
  text-align: center;
}
.noteCounts div + div {
  border-left: 1px solid #cdcdcd;
}
.noteCounts dt {
  font-size: var(--type-caption);
  color: #414141;
}
.noteCounts dd {
  margin: 3px 0 0;
  font: 600 var(--type-lead)/1.2 var(--mono);
}
.notesRail summary small {
  font: var(--type-caption) var(--mono);
  border-radius: 12px;
  padding: 3px 8px;
  background: #dbdbdb;
  color: #2e2e2e;
}
.notesRail summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 650;
  font-size: var(--type-ui);
}
.notesRail summary small {
  float: right;
}
.notesRail details {
  border-bottom: 1px solid var(--line);
}
.railNote {
  display: flex;
  align-items: start;
  gap: 8px;
  padding: 4px 14px 12px;
}
.railNote input {
  margin: 3px 0;
  accent-color: #464646;
}
.railNote button {
  text-align: left;
  display: grid;
  gap: 4px;
  min-width: 0;
  background: none;
}
.railNote b {
  font-weight: 500;
  font-size: var(--type-ui);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.railNote small {
  color: #565656;
  font-size: var(--type-caption);
}
.selectionRect {
  position: absolute;
  z-index: 9;
  pointer-events: none;
  outline: calc(1px * var(--inverse-zoom)) solid #6e6e6e;
  background: #a1a1a126;
}
.canvasReference {
  position: absolute;
}
.canvasReference img {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.canvasReference.selectedObj {
  outline: calc(2px * var(--inverse-zoom)) solid #616161;
}
.frameCaption input {
  font: inherit;
  color: #222;
  background: white;
  padding: 2px 4px;
  width: 180px;
  user-select: text;
}
#boardMenu {
  position: fixed;
  z-index: 80;
  width: 185px;
  border: 1px solid #c1c1c1;
  border-radius: 9px;
  padding: 5px;
  background: #fff;
  box-shadow: 0 8px 26px #1b1b1b30;
}
#boardMenu button {
  width: 100%;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  border-radius: 5px;
  background: none;
  text-align: left;
}
#boardMenu button:enabled:is(:hover, :focus-visible) {
  background: #e4e4e4;
}
#boardMenu button:disabled {
  opacity: 0.4;
}
#boardMenu kbd {
  font: var(--type-caption) var(--mono);
  color: var(--muted);
}
@media (max-width: 939px) {
  .notesRail {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 8;
    width: min(265px, 82%);
    box-shadow: -3px 0 16px #21212120;
  }
}
.frame,
.canvasReference {
  rotate: var(--image-angle, 0deg);
  scale: var(--image-scale, 1);
}
.imageGrips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --grip-scale: calc(var(--inverse-zoom, 1) / var(--image-scale, 1));
}
.imageGrips span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 2px solid #4b4b4b;
  background: #fff;
  color: #333333;
  pointer-events: auto;
  touch-action: none;
  scale: var(--grip-scale);
}
[data-image-grip='rotate'] {
  left: 50%;
  bottom: 100%;
  margin-bottom: calc(6px * var(--grip-scale));
  translate: -50% 0;
  transform-origin: center bottom;
  border-radius: 50%;
  font: bold var(--type-small)/1 sans-serif;
  cursor: grab;
}
[data-image-grip='scale'] {
  right: 0;
  bottom: 0;
  transform-origin: bottom right;
  cursor: nwse-resize;
}

.noteTarget {display:inline-flex;align-items:center;gap:4px;font-size:var(--type-small)}
.noteTarget select {min-width:0;max-width:min(180px,30vw)}

/* Project tabs and standalone boards share the same viewport geometry. */
:is(html,body):has(.projectRoom,.boardShell) { overflow:hidden; scrollbar-gutter:auto; }
.shell:has(.projectRoom,.boardShell) { height:100dvh; min-height:0; overflow:hidden; }
.maincol:has(.projectRoom,.boardShell) { display:flex; flex-direction:column; min-height:0; }
.maincol:has(.projectRoom,.boardShell) > .top { flex:none; }
#main:is(.projectRoom,:has(> .boardShell)) {
  display:flex; flex-direction:column; flex:1; min-height:0; max-width:none;
  width:100%; margin:0; padding:clamp(6px,1dvh,14px) clamp(6px,.8vw,16px);
}
#main:is(.projectRoom,:has(> .boardShell)) > :is(.tabs,.pagehead,.canvasheading) {flex:none; margin-block:0 .45rem;}
.projectTabContent { flex:1; min-height:0; overflow:auto; scrollbar-gutter:stable; }
.projectTabContent > .main { padding-top:.5rem; }
#main > .boardShell { flex:1; min-height:0; height:auto; }
html[data-canvas-fullscreen] .shell { display:block; }
html[data-canvas-fullscreen] .maincol { height:100%; }
html[data-canvas-fullscreen] :is(.side,.top,#main > :not(.boardShell),.skip) { display:none; }
html[data-canvas-fullscreen] #main:has(> .boardShell) { padding:0; }
html[data-canvas-fullscreen] #main > .boardShell { border:0; border-radius:0; }
@media(max-width:800px){.shell:has(.projectRoom,.boardShell) > .maincol {height:100%;}}
@media(max-height:600px){
  #main:is(.projectRoom,:has(> .boardShell)) > :is(.pagehead,.canvasheading) h1 {font-size:1.25rem;}
  #main:is(.projectRoom,:has(> .boardShell)) > .pagehead .eyebrow {margin:0;}
}
.sceneLayer { display:contents; }
.sceneOverview { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.denseBoard .canvasFrame { background:transparent; pointer-events:none; }
.denseBoard .frameGrip { pointer-events:auto; }
.railPages { display:flex; justify-content:space-between; align-items:center; padding:.3rem .5rem; font-size:var(--type-small); }
.railPages button { padding:.12rem .65rem; background:var(--pane); border:1px solid var(--edge); border-radius:.4rem; color:var(--ink); }
.railPages button:disabled { opacity:.4; }
.railSearch { display:block; width:calc(100% - 1rem); margin:.5rem; }
