:root {
  --prefix: 0px;
  --bg: #0d1117;
  --surface: #161b22;
  --border: #30363d;
  --accent: #58a6ff;
  --text: #e6edf3;
  --muted: #8b949e;
  --braille-color: #79c0ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.auth-gate {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #0d1117;
}

.auth-gate-content {
  width: min(560px, 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #111820;
  padding: 28px;
}

.auth-gate-logo {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 18px;
}

.auth-gate-logo span {
  color: #79c0ff;
}

.auth-gate h1 {
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.auth-gate p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.auth-gate-message {
  border: 1px solid #7d2a2a;
  background: #3d1a1a;
  color: #ffb4ad;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.auth-gate-login {
  font-size: 14px;
  padding: 10px 14px;
}

.auth-gate-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 12px;
}

/* ── 2단 레이아웃 ── */
.app-body {
  flex: 1;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  min-height: 0;
}

.app-left {
  width: 400px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.18s ease, min-width 0.18s ease, border-color 0.18s ease;
}

.app-body.braille-width-600 .app-left { width: 600px; }
.app-body.braille-width-1000 .app-left { width: 1000px; }

.app-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.app-body.braille-output-collapsed .app-left {
  width: 0;
  min-width: 0;
  border-right-color: transparent;
}

@media (max-width: 1000px) {
  .app-body:not(.braille-width-600):not(.braille-width-1000) .app-left {
    width: min(360px, 42vw);
  }
}

@media (max-width: 760px) {
  .app-body {
    flex-direction: column;
  }

  .app-left {
    width: 100%;
    min-width: 0;
    height: 36vh;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .app-body.braille-output-collapsed .app-left {
    height: 0;
    border-bottom-color: transparent;
  }
}

/* ── Toolbar ── */
.toolbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo { font-weight: 700; font-size: 15px; color: var(--accent); }
.logo span { color: #79c0ff; }
.btn {
  background: #21262d; border: 1px solid var(--border);
  color: #c9d1d9; padding: 8px 12px; border-radius: 6px;
  font-size: 12px; cursor: pointer; user-select: none;
}
.btn:hover { background: var(--border); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn:disabled:hover { background: #21262d; }
.btn.primary { background: #1f6feb; border-color: #1f6feb; color: #fff; }
.btn.mode-active { border-color: var(--accent); color: #fff; background: #14324f; }
.help-btn { width: 26px; padding: 8px 0; font-weight: 700; }
.toolbar-separator {
  align-self: stretch;
  width: 1px;
  min-height: 24px;
  background: var(--border);
  margin: 0 2px;
}
.status { margin-left: auto; font-size: 12px; color: var(--muted); }
.file-history-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-history-toggle.hidden { display: none; }

.file-history-toggle input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--accent);
}
.part-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c9d1d9;
  font-size: 12px;
}
.part-selector select {
  max-width: 150px;
  background: #0f141c;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #c9d1d9;
  font-size: 12px;
  padding: 7px 8px;
}
.part-selector-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 14px;
  background: #0f141c;
  border-bottom: 1px solid var(--border);
}
.user-chip {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #31577f;
  border-radius: 4px;
  padding: 5px 8px;
  color: #a5d6ff;
  font-size: 12px;
}

.file-menu-layer {
  position: fixed;
  top: 56px;
  left: 92px;
  z-index: 20;
  width: 180px;
  background: #0f141c;
  border: 1px solid #31577f;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  padding: 6px;
}

.file-menu-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #c9d1d9;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 8px 10px;
  text-align: left;
  user-select: none;
}

.file-menu-item:hover,
.file-menu-item:focus-visible {
  background: #1c2230;
  color: #fff;
  outline: none;
}

.file-menu-item:disabled,
.file-menu-item:disabled:hover {
  background: transparent;
  color: #6e7681;
  cursor: not-allowed;
}

/* ── 전체 점자 출력 ── */
.braille-output-panel {
  background: #111118;
}

.braille-output-header {
  min-height: 36px;
  padding: 6px 14px;
  border-bottom: 1px solid var(--border);
  background: #0f141c;
  color: #c9d1d9;
  font-size: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.braille-width-controls {
  display: flex;
  gap: 4px;
}

.braille-width-btn,
.braille-cover-btn {
  padding: 2px 8px;
  font-size: 11px;
}

.braille-output-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ── Error banner ── */
.error-banner {
  background: #3d1a1a; border-bottom: 1px solid #7d2a2a;
  color: #ff7b72; padding: 8px 16px; font-size: 13px;
}
.hidden { display: none !important; }

/* ── Score title ── */
.score-title {
  background: #0f141c;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  flex-shrink: 0;
}

.score-usage-metrics {
  background: #111820;
  border-bottom: 1px solid var(--border);
  padding: 6px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  flex-shrink: 0;
}

/* ── Help layer ── */
.help-layer {
  position: fixed;
  top: 56px;
  right: 14px;
  z-index: 20;
  width: min(520px, calc(100vw - 28px));
  background: #0f141c;
  border: 1px solid #31577f;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  padding: 12px;
}
.help-layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  margin-bottom: 10px;
}
.help-close {
  background: #21262d;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.help-layer h2 {
  font-size: 12px;
  margin-bottom: 7px;
  color: var(--accent);
}
.help-layer dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 10px;
  font-size: 12px;
}
.help-layer dt {
  color: #c9d1d9;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
}
.help-layer dd { color: var(--muted); }

/* ── 샘플 열기 레이어 ── */
.sample-layer,
.recent-files-layer,
.admin-usage-layer {
  position: fixed;
  top: 56px;
  right: 14px;
  z-index: 20;
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  background: #0f141c;
  border: 1px solid #31577f;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  padding: 12px;
}
.sample-layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  margin-bottom: 10px;
  flex-shrink: 0;
}
.sample-layer-body,
.recent-files-body,
.admin-usage-body {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sample-group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.sample-item {
  display: block;
  width: 100%;
  text-align: left;
  background: #161b22;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #c9d1d9;
  padding: 7px 10px;
  margin-bottom: 6px;
  cursor: pointer;
}
.sample-item:hover { background: #1c2230; border-color: #3d5a80; }
.sample-item.is-last {
  border-color: var(--accent);
  background: #14253b;
}
.sample-item .sample-item-name {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  /* 파일 전체 이름이 잘리지 않도록 줄바꿈 허용 */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.sample-item .sample-item-desc {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}
.sample-item .sample-item-badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  color: #58a6ff;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.recent-file-item {
  display: block;
  width: 100%;
  text-align: left;
  background: #161b22;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #c9d1d9;
  padding: 8px 10px;
  cursor: default;
}
.recent-file-title {
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.recent-file-meta {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.recent-file-open-btn,
.recent-file-delete-btn {
  margin-top: 7px;
  padding: 4px 8px;
}
.recent-file-delete-btn {
  margin-left: 6px;
}
.recent-empty {
  color: var(--muted);
  font-size: 12px;
  padding: 8px 2px;
}
.admin-usage-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}
.admin-usage-stat,
.admin-usage-row {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #161b22;
  padding: 8px;
}
.admin-usage-stat-label,
.admin-usage-row-meta {
  color: var(--muted);
  font-size: 11px;
}
.admin-usage-stat-value,
.admin-usage-row-key {
  margin-top: 2px;
  color: #c9d1d9;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.admin-usage-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

/* ── 오선지 마디 구분선 (주황 사각형) ── */
/* 모든 마디에 외곽선을 그리되 기본은 투명, 편집 대상(활성) 마디만 주황색으로 표시 */
.staff-container .ts-measure-sep {
  fill: none;
  stroke: transparent;
  stroke-width: 1.4;
  rx: 2;
  ry: 2;
  pointer-events: none;
  transition: stroke 0.12s ease;
}
.staff-container .ts-measure-sep.is-active {
  stroke: #f97316;
}

/* ── Score sections (4마디 단위 그룹) ── */
.score-sections {
  flex: 1;
  overflow-y: auto;
}

.score-section {
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid #21262d;
}
.score-section:last-child { border-bottom: none; }

/* ── Panels (score-section 내부) ── */
.panel {
  width: 100%;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.panel:last-child { border-bottom: none; }

.edit-status-panel {
  background: #211407;
  border-top: 1px solid #9a4d12;
  border-bottom: 1px solid #9a4d12;
  color: #fdba74;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  padding: 9px 16px;
  letter-spacing: 0;
}
.edit-status-label { color: #3d9a50; }
.edit-status-chip {
  display: inline-block;
  border: 1px solid #ffffff;
  border-radius: 3px;
  padding: 0 5px;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.4;
}

.panel-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2px 16px;
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.panel-header .label { font-weight: 600; font-size: 12px; color: #c9d1d9; }
.badge {
  font-size: 10px; background: #21262d; border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 6px; color: var(--muted);
}

.panel-body { flex: 1; overflow: auto; padding: 6px 16px; }

/* ── Staff panel ── */
.staff-container {
  background: #ffffff;
  border-radius: 4px;
  min-height: 100px;
}
.staff-container svg { max-width: 100%; height: auto; }

.score-layer + .score-layer {
  margin-top: 8px;
}

.score-layer-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-bottom: 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 7px;
  background: #f6f8fa;
  color: #24292f;
  font-size: 11px;
  font-weight: 700;
}

.score-layer-overlay {
  border-top: 1px solid rgba(249, 115, 22, 0.45);
  padding-top: 8px;
}

.score-layer-overlay .score-layer-label {
  border-color: #f97316;
  background: #fff7ed;
  color: #9a3412;
}

.staff-container-overlay {
  border: 2px solid #f97316;
  box-shadow: inset 0 0 0 2px rgba(249, 115, 22, 0.12);
}

.staff-container-overlay .changed-note-mark {
  fill: #f97316 !important;
  stroke: #f97316 !important;
}

.staff-container-overlay .changed-note {
  filter: drop-shadow(0 0 2px rgba(249, 115, 22, 0.55));
}

/* ── Braille panel ── */
.braille-display {
  background: #0a0e13;
  border: 1px solid #1f6feb;
  border-radius: 4px;
  padding: 0;
  zoom: 0.8;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  min-height: 48px;
}

.braille-measure-cell {
  flex: 1;
  min-width: 100px;
  border-left: 1.5px solid #213a5d;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px 8px;
  padding: 10px;
}
.braille-measure-cell:first-child { border-left: none; }
.braille-measure-cell.active {
  background: #101a29;
  border-left-color: #f97316;
  box-shadow:
    inset 0 0 0 2px #f97316,
    0 0 0 2px rgba(249, 115, 22, 0.75);
}
.braille-measure-cell-vocal {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
}

.braille-preview-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  width: 100%;
}

.braille-preview-label {
  color: #8b949e;
  font-size: 12px;
  font-weight: 700;
  line-height: 32px;
  white-space: nowrap;
}

.braille-preview-cells {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px 8px;
  min-width: 0;
}

.empty-braille-preview {
  color: #8b949e;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  line-height: 32px;
}

.braille-cell {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(3, 9px);
  gap: 4px 5px;
  padding: 5px;
  border: 1px solid #213a5d;
  border-radius: 4px;
  background: #08111c;
}
.braille-cell.active-braille-note {
  border-color: #f97316;
  background: #2a1608;
  box-shadow:
    0 0 0 2px rgba(249, 115, 22, 0.75),
    0 0 10px rgba(249, 115, 22, 0.35);
}

.braille-dot {
  width: 9px;
  height: 9px;
  border: 1px solid #2b5d91;
  border-radius: 50%;
  background: transparent;
}

.braille-dot.dot-1 { grid-column: 1; grid-row: 1; }
.braille-dot.dot-2 { grid-column: 1; grid-row: 2; }
.braille-dot.dot-3 { grid-column: 1; grid-row: 3; }
.braille-dot.dot-4 { grid-column: 2; grid-row: 1; }
.braille-dot.dot-5 { grid-column: 2; grid-row: 2; }
.braille-dot.dot-6 { grid-column: 2; grid-row: 3; }

.braille-dot.active {
  background: var(--braille-color);
  border-color: var(--braille-color);
  box-shadow: 0 0 5px rgba(121, 192, 255, 0.35);
}
.braille-cell.active-braille-note .braille-dot {
  border-color: #fb923c;
}
.braille-cell.active-braille-note .braille-dot.active {
  background: #fb923c;
  border-color: #fdba74;
  box-shadow: 0 0 6px rgba(251, 146, 60, 0.55);
}

.braille-attr-cell .braille-dot.active {
  background: #a4adb7;
  border-color: #bac2ca;
  box-shadow: none;
}
.braille-cell.braille-attr-cell {
  border-color: #66717c;
  background: #20262d;
}
.braille-attr-cell .braille-dot {
  border-color: #68727c;
  background: #30363d;
}

.braille-unknown {
  min-width: 30px;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #5a3440;
  border-radius: 4px;
  color: #ff7b72;
  font-family: 'Courier New', monospace;
  font-size: 18px;
}
.braille-unknown.active-braille-note {
  border-color: #f97316;
  color: #fdba74;
  background: #2a1608;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.75);
}
/* ── Text / measure editor ── */
.measure-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
}

.measure-cell {
  flex: 1;
  min-width: 100px;
  border-left: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 10px;
  transition: background 0.15s;
}
.measure-cell:first-child { border-left: none; }
.measure-cell:hover { background: var(--surface); }
.measure-cell.invalid .m-input { border-color: #f85149; }
.measure-cell.active {
  border-left-color: #f97316;
  background: #1c2230;
  box-shadow:
    inset 0 0 0 2px #f97316,
    0 0 0 2px rgba(249, 115, 22, 0.65);
}

.cell-label {
  font-size: 10px; color: var(--muted); font-weight: 600;
  font-family: monospace;
}

.note-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  align-items: center;
  gap: 3px;
  min-width: 0;
  border-radius: 4px;
  padding: 2px;
}
.note-row.active-note {
  background: rgba(249, 115, 22, 0.12);
  outline: 2px solid #f97316;
  outline-offset: 1px;
}
.note-row.no-note-annotations {
  grid-template-columns: minmax(0, 1fr);
}
.note-annotation-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  min-width: 0;
  justify-content: flex-start;
}
.note-annotation-badge {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #f8d48a;
  background: #241b0f;
  border: 1px solid #4b3317;
  border-radius: 3px;
  padding: 1px 4px;
  font-family: monospace;
  font-size: 9px;
  line-height: 1.25;
  user-select: none;
  cursor: default;
}
.m-input {
  width: 100%;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #a5d6ff;
  outline: none;
  caret-color: var(--accent);
}
.m-input:focus { border-color: #f97316; }
.m-input.invalid-note { border-color: #f85149; }
.m-input.tuplet-note {
  border-color: #a855f7;
  box-shadow: inset 3px 0 0 #a855f7;
}
.note-row.active-note .m-input.tied-note { border-left: 2px solid #f97316; }

.attr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 2px 0 4px;
  border-bottom: 1px dashed #2a3040;
  margin-bottom: 2px;
}
.attr-badge {
  font-size: 10px;
  color: #6e8090;
  background: #1a2030;
  border: 1px solid #2a3040;
  border-radius: 3px;
  padding: 1px 5px;
  font-family: monospace;
  user-select: none;
  cursor: default;
}
.barline-row {
  display: flex;
  gap: 4px;
  padding: 4px 0 2px;
  border-top: 1px dashed #2a3040;
  margin-top: 2px;
}
.barline-badge {
  color: #8090a0;
  border-color: #304050;
}

.add-row { padding: 6px 0 0; }
.add-btn {
  background: none; border: 1px dashed var(--border); color: #3d4f6b;
  border-radius: 5px; padding: 4px 16px; font-size: 11px; cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.add-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.add-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── BRF 페이지 뷰어 ── */
.bv-page {
  background: #faf8f4;
  border-radius: 4px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.3);
  padding: 24px 28px 32px;
  width: 90%;
  min-width: 320px;
  position: relative;
  color: #1a1a2e;
  container-type: inline-size;
}

.app-body.braille-width-1000 .braille-output-scroll {
  align-items: flex-start;
  gap: 520px;
  padding: 22px 24px 520px;
}

.app-body.braille-width-1000 .bv-page {
  width: 430px;
  transform: scale(2);
  transform-origin: top left;
}

.bv-cover {
  background: #f3f0ff;
  border-left: 4px solid #6d28d9;
}

.app-body.braille-cover-hidden .bv-cover {
  display: none;
}


.bv-page-label {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 10px;
  color: #aaa;
  font-style: italic;
}

.bv-page-num {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 10px;
  color: #aaa;
}

.bv-lines {
  font-family: 'Courier New', monospace;
  font-size: min(17px, 3.65cqi);
  line-height: 1.8;
  color: #111;
  letter-spacing: 0;
  white-space: pre;
  overflow-x: hidden;
}

.bv-cover-lines {
  line-height: 1.65;
}

.bv-cell {
  display: inline-flex;
  width: 1ch;
  min-height: 1.35em;
  align-items: center;
  justify-content: center;
  vertical-align: top;
}

.bv-cell:not(.bv-cell-blank) {
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(88, 166, 255, 0.45);
}

.bv-cell-blank {
  position: relative;
  border-radius: 2px;
  background: rgba(139, 148, 158, 0.08);
  box-shadow: inset 0 0 0 1px rgba(139, 148, 158, 0.16);
}

.bv-cell-blank::after {
  content: "";
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(139, 148, 158, 0.42);
}

.bv-empty {
  color: #8b949e;
  font-size: 13px;
  text-align: center;
  padding: 60px 20px;
}
