/* Scoped to the authenticated owner's opt-in editor preview. */
#owner-notation-style-row[hidden] { display: none !important; }
#owner-notation-style { min-height: 44px; }
#notation-grid-container[data-owner-notation-style="manuscript"] {
  --manuscript-paper: #faf8f4;
  --manuscript-ink: #30251c;
  --manuscript-accent: #a84200;
  --manuscript-tint: #f5e9dc;
  --grid-border: #e7cdb9;
  --grid-border-strong: #d7ae8e;
  --grid-vibhaag: var(--manuscript-accent);
}
[data-theme="dark"] #notation-grid-container[data-owner-notation-style="manuscript"],
[data-theme="stone"] #notation-grid-container[data-owner-notation-style="manuscript"] {
  --manuscript-paper: #241e19;
  --manuscript-ink: #f5e9dc;
  --manuscript-accent: #f2a56f;
  --manuscript-tint: #35291f;
  --grid-border: #574231;
  --grid-border-strong: #79583e;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .notation-table {
  background: var(--manuscript-paper);
  color: var(--manuscript-ink);
}
#notation-grid-container[data-owner-notation-style="manuscript"] .markers-row th {
  background: var(--manuscript-tint);
  padding-block: 9px;
  border-bottom-width: 1px;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .matra-num {
  color: var(--manuscript-accent);
  font-size: .8rem;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .matra-cell {
  padding-block: 14px;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .bol-content,
#notation-grid-container[data-owner-notation-style="manuscript"] .grouped-bol {
  color: var(--manuscript-ink);
}
/* Match the blog: curve the full text box, not a shallow standalone line. */
#notation-grid-container[data-owner-notation-style="manuscript"] .bol-group {
  display: inline-block;
  font-size: var(--grid-font-size, 1rem);
  line-height: 1.8;
  padding: 0 .15em .25em;
  margin: .2em 0;
  border-bottom: 2px solid var(--manuscript-accent);
  border-radius: 0 0 50% 50%;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .bol-group-inner {
  display: block;
  padding: 0;
  line-height: inherit;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .grouped-bol {
  line-height: inherit;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .bol-bracket {
  display: none;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .symbol-cell { padding-block: 7px; }
#notation-grid-container[data-owner-notation-style="manuscript"] .marker-badge {
  background: transparent;
  border: 1px solid var(--manuscript-accent);
  color: var(--manuscript-accent);
  box-shadow: none;
}
#notation-grid-container[data-owner-notation-style="manuscript"] .sam-column:not(.cell-active):not(.cell-selected) {
  background: var(--manuscript-tint);
}
