.ob-page {
  --ob-bg: #171022;
  --ob-panel: #21162e;
  --ob-raised: #2a1b3a;
  --ob-stroke: #59406c;
  --ob-muted: #c2b1d2;
  --ob-accent: #b67df1;
  --ob-mint: #63d5bc;
  color: #f3eaff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  margin: 0 auto 2.5rem;
  width: 100%;
  max-width: 1760px;
  min-width: 0;
  line-height: 1.5;
}
.ob-page *, .ob-page *::before, .ob-page *::after { box-sizing: border-box; }
.ob-page [hidden] { display: none !important; }
.ob-page button, .ob-page input, .ob-page select, .ob-page textarea { font: inherit; }
.ob-page button, .ob-page .ob-file {
  min-height: 40px;
  padding: .55rem .85rem;
  background: #352044;
  color: #f5edff;
  border: 1px solid #715083;
  border-radius: 9px;
  cursor: pointer;
  line-height: 1.25;
  text-align: center;
  transition: background .15s, border-color .15s;
  margin: 0;
  white-space: normal;
}
.ob-page button:hover, .ob-page .ob-file:hover { background: #493058; border-color: #d0a6f0; }
.ob-page button:focus-visible, .ob-page input:focus-visible, .ob-page select:focus-visible, .ob-page textarea:focus-visible, .ob-page summary:focus-visible { outline: 3px solid #63d5bc; outline-offset: 3px; }
.ob-page button:disabled, .ob-page input:disabled { opacity: .48; cursor: wait; }
.ob-page .ob-primary { background: linear-gradient(120deg, #9253ce, #6c3ba3); border-color: #c790fa; color: white; font-weight: 700; }
.ob-page .ob-primary:hover { background: #9d63d1; }
.ob-page input:not([type="checkbox"]):not([type="file"]):not([type="range"]), .ob-page select, .ob-page textarea {
  width: 100%; min-width: 0; max-width: 100%; min-height: 40px;
  background: #180f24; color: #f4eaff; border: 1px solid #624775; border-radius: 8px; padding: .5rem .65rem;
}
.ob-page input[type="checkbox"] { accent-color: #b67df1; width: 19px; height: 19px; flex: none; margin: 0; }
.ob-page input[type="range"] { accent-color: #be81f7; min-width: 70px; flex: 1; }
.ob-page textarea { resize: vertical; line-height: 1.5; font: 12px/1.5 ui-monospace, Consolas, monospace; }
.ob-page .ob-file { display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ob-page .ob-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ob-page .ob-file:focus-within { outline: 3px solid var(--ob-mint); outline-offset: 2px; }
.ob-hero { padding: 26px 30px; position: relative; background: radial-gradient(ellipse at 90% 15%, #6c38803b, transparent 65%), linear-gradient(115deg, #291836, #201329); border: 1px solid #6b477f; border-radius: 20px; margin-bottom: 20px; overflow: hidden; }
.ob-identity { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; padding-right: 80px; }
.ob-identity > img { width: 66px; height: 66px; flex: 0 0 66px; object-fit: contain; border-radius: 14px; background: #352143; }
.ob-page h1 { font-size: clamp(1.5rem, 2.1vw, 2.3rem); line-height: 1.2; margin: 5px 0 0; max-width: 1100px; color: #fff3ff; }
.ob-page h1[data-tool-heading] > .tool-icon { display: none; }
.ob-kicker { color: #d2afff; letter-spacing: .11em; text-transform: uppercase; font-weight: 750; font-size: 10px; margin: 0; }
.ob-intro { margin: 15px 0 0 84px; max-width: 1080px; color: #dfcde9; font-size: 15px; position: relative; z-index: 1; }
.ob-hero-mark { font-size: 120px; position: absolute; right: 30px; top: -16px; color: #bc73ee; opacity: .16; line-height: 1; pointer-events: none; }
.ob-workspace { border: 1px solid #68447e; border-radius: 17px; overflow: clip; background: var(--ob-bg); box-shadow: 0 18px 55px #08031140; min-width: 0; isolation: isolate; }
.ob-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 17px; background: linear-gradient(100deg, #30203e, #24172f); border-bottom: 1px solid var(--ob-stroke); }
.ob-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.ob-commandbar { display: flex; justify-content: space-between; align-items: center; padding: 9px 15px; gap: 12px; border-bottom: 1px solid var(--ob-stroke); background: #1d132a; }
.ob-tabs { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: thin; min-width: 0; }
.ob-tabs button { border-color: transparent; background: transparent; flex: 0 0 auto; color: #cab5d8; }
.ob-tabs button[aria-selected="true"] { color: #f8f0ff; background: #513064; border-color: #9265ac; box-shadow: inset 0 -2px #ce9df6; }
.ob-main { display: grid; grid-template-columns: 290px minmax(0, 1fr) 275px; min-height: 620px; align-items: stretch; }
.ob-content, .ob-controls { background: var(--ob-panel); min-width: 0; padding: 16px; overflow: auto; max-height: 790px; scrollbar-color: #80539a #21162e; scrollbar-width: thin; }
.ob-content { border-right: 1px solid var(--ob-stroke); }
.ob-controls { border-left: 1px solid var(--ob-stroke); }
.ob-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.ob-panel-heading h2 { font-size: 14px; line-height: 1.5; margin: 0; color: #f2ddff; }
.ob-panel-heading > button { min-height: 30px; padding: 4px 9px; display: none; }
.ob-panel-help { color: var(--ob-muted); font-size: 11px; margin: -4px 0 17px; }
.ob-edit-group { padding: 0 0 17px; margin-bottom: 17px; border-bottom: 1px solid #51355f; }
.ob-edit-heading h3 { font-size: 12px; text-transform: capitalize; color: #deb9f5; margin: 0 0 9px; overflow-wrap: anywhere; }
.ob-field, .ob-setting { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 13px; font-size: 12px; color: #d0badd; }
.ob-field > span, .ob-setting > span { font-weight: 650; overflow-wrap: anywhere; }
.ob-setting:has(input[type="checkbox"]) { grid-template-columns: 1fr 22px; align-items: center; padding: 8px 0; }
.ob-record-editor > summary { font-size: 11px; color: #c8a5e3; cursor: pointer; padding: 2px 0 9px; }
.ob-edit-list { display: grid; gap: 12px; }
.ob-edit-card { background: #1b1128; border: 1px solid #543362; border-radius: 10px; padding: 10px; }
.ob-edit-card-heading { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 11px; }
.ob-edit-card-heading strong { overflow-wrap: anywhere; }
.ob-page .ob-edit-card-heading .ob-remove { min-height: 26px; padding: 1px 8px; font-size: 17px; color: #e5b5cd; }
.ob-record-editor > button { margin-top: 12px; width: 100%; border-style: dashed; }
.ob-page .ob-apply { width: 100%; margin-bottom: 15px; }
.ob-advanced { padding: 11px 0; border-top: 1px solid var(--ob-stroke); }
.ob-advanced summary { cursor: pointer; color: #c9addb; font-size: 11px; padding-bottom: 9px; }
.ob-advanced textarea { min-height: 250px; margin-bottom: 10px; }
.ob-stage { padding: 20px; min-width: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 15%, #3b245336, transparent 75%), #140d1e; }
.ob-stage-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 15px; }
.ob-stage-heading h2 { font-size: 18px; line-height: 1.4; margin: 3px 0 0; color: #f0ddff; }
.ob-live { padding: 5px 9px; background: #244439; color: #9fefca; border: 1px solid #3f7e60; border-radius: 20px; font-size: 10px; flex: none; }
.ob-live[data-tone="error"] { color: #ffb7ca; background: #562139; border-color: #a95b75; }
.ob-preview { min-height: 350px; border: 1px solid #583d6a; border-radius: 12px; background: #171124; overflow: auto; position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: center; max-height: 650px; }
.ob-preview > svg { display: block; width: 100%; height: auto; max-height: 620px; flex: 0 0 auto; object-fit: contain; }
.ob-family-mesh .ob-preview > svg { cursor: grab; }
.ob-family-mesh .ob-preview > svg:active { cursor: grabbing; }
.ob-frame-canvas { display: block; width: 100%; height: auto; image-rendering: auto; max-height: 540px; object-fit: contain; background: repeating-conic-gradient(#352443 0 25%, #21172c 0 50%) 0 / 20px 20px; }
.ob-frame-caption { color: #d2bfdf; text-align: center; padding: 9px; margin: 0; font-size: 11px; }
.ob-transport { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 0 0 16px; padding: 12px; border: 1px solid #694483; border-radius: 11px; background: #291737; }
.ob-transport audio { width: 100%; height: 40px; color-scheme: dark; }
.ob-transport .ob-actions { width: 100%; }
.ob-check { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.ob-audio-info { font-size: 11px; color: #c5b0d7; }
.ob-legend { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding: 13px 3px 0; font-size: 11px; color: #bda5cf; }
.ob-legend strong { color: #dec6ee; }
.ob-method { background: #301d3f; padding: 13px; border: 1px solid #6b427e; border-radius: 11px; font-size: 11px; color: #cab3d9; margin-top: 18px; }
.ob-method strong { color: #e1c6f4; }
.ob-method p { margin: 7px 0 0; line-height: 1.7; }
.ob-note { font-size: 12px; color: #c9b2d8; }
.ob-file-list h3 { font-size: 12px; color: #e0c6ef; margin: 18px 0 8px; }
.ob-source-item { padding: 10px 0; border-bottom: 1px solid #53365f; display: grid; gap: 3px; font-size: 11px; overflow-wrap: anywhere; }
.ob-source-item small { font-size: 10px; color: #bca6cd; }
.ob-status { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 11px 17px; border-top: 1px solid var(--ob-stroke); color: #bca2ce; background: #251731; font-size: 11px; }
.ob-status > span:first-child { color: #d6c1e8; }
.ob-status > span[data-tone="error"] { color: #ffb0c4; }
.ob-table-scroll { width: 100%; overflow: auto; max-height: 650px; border: 1px solid #634172; border-radius: 10px; }
.ob-page table { border-collapse: collapse; width: 100%; font-size: 12px; margin: 0; background: #21162e; }
.ob-page th, .ob-page td { padding: 10px 13px; border: 0; border-bottom: 1px solid #4b305b; text-align: left; min-width: 100px; max-width: 350px; overflow-wrap: anywhere; white-space: normal; vertical-align: top; color: #e4d3ef; }
.ob-page th { color: #f7eaff; background: #3a244b; position: sticky; top: 0; z-index: 1; }
.ob-page td button { min-height: 30px; padding: 4px 9px; font-size: 11px; }
.ob-page tbody tr:nth-child(even) { background: #281a35; }
.ob-export-primary { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 20px; }
.ob-export-card { padding: 16px; margin-bottom: 13px; border: 1px solid #644477; background: #291a36; border-radius: 12px; }
.ob-export-card h3 { font-size: 14px; margin: 0 0 7px; color: #e8d2fa; overflow-wrap: anywhere; }
.ob-export-card p { font-size: 12px; color: #c9b3d7; margin: 0 0 11px; }
.ob-export-card button { margin: 0 8px 8px 0; }
.ob-page .ob-scope { border: 1px solid #57366b; border-radius: 12px; padding: 14px 18px; margin-top: 19px; color: #c8b2d6; background: #20142c; font-size: 12px; }
.ob-scope summary { cursor: pointer; font-weight: 650; color: #ddc2ee; }
.ob-scope p { margin-bottom: 0; }
.ob-page dialog { color: #f4e8ff; background: #25172f; border: 1px solid #b47ae0; border-radius: 15px; width: min(850px, 94vw); padding: 20px; max-height: 85dvh; }
.ob-page dialog .ob-panel-heading button { display: block; }
.ob-page dialog::backdrop { background: #08040dbb; }
.ob-page dialog pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.7 ui-monospace, monospace; }
.ob-capture { margin: 18px 0; border: 1px solid #65427b; border-radius: 9px; padding: 12px; }
.ob-capture legend { font-size: 11px; padding: 0 5px; color: #d4b2ed; }
.ob-piano { display: flex; align-items: flex-start; width: 100%; height: 78px; gap: 2px; overflow: auto; }
.ob-page .ob-piano button { background: #eadcf6; color: #3b2048; height: 75px; border-color: #b89bcb; border-radius: 0 0 6px 6px; padding: 40px 2px 4px; min-width: 30px; flex: 1; font-size: 10px; }
.ob-page .ob-piano .ob-black-key { background: #352142; color: #edd9ff; height: 52px; padding: 24px 2px 4px; }
.ob-practice-answer { width: 100%; padding: 12px 0 0; font-size: 12px; display: grid; gap: 10px; }
.ob-listen-first { text-align: center; padding: 70px 20px; font-size: 20px; color: #ddc1f2; }
.ob-empty, .ob-error { padding: 20px; color: #e9bbd0; }
.ob-record-summary { padding: 25px; text-align: center; }
.ob-summary-number { font-size: 65px; color: #cf9bff; line-height: 1; margin: 0; }
.ob-drag { outline: 3px dashed #76e5c8; outline-offset: -7px; }
.ob-page .ob-no-content .ob-main { grid-template-columns: minmax(0, 1fr) 290px; }
.ob-no-content .ob-content { display: none; }
/* Families have distinct hierarchy and stage proportions, while keeping shared controls. */
.ob-family-audio .ob-main { grid-template-columns: 240px minmax(0, 1fr) 285px; }
.ob-family-audio .ob-preview { min-height: 240px; background: #180f24; }
.ob-family-audio .ob-stage { display: flex; flex-direction: column; }
.ob-family-audio .ob-legend { margin-top: 8px; }
.ob-family-audio .ob-hero { border-left: 5px solid #cd8aff; }
.ob-family-video .ob-preview { background: #0c0712; min-height: 390px; }
.ob-family-video .ob-commandbar { background: #291638; }
.ob-family-captions .ob-main { grid-template-columns: 320px minmax(0, 1fr) 250px; }
.ob-family-captions .ob-content { background: #291734; }
.ob-family-captions .ob-edit-card { border-left: 3px solid #a56ad0; }
.ob-family-captions .ob-preview { min-height: 310px; }
.ob-family-music .ob-hero { background: radial-gradient(ellipse at 85% 20%, #6d36784d, transparent 60%), #281631; border-top: 3px solid #ce88d3; }
.ob-family-music .ob-transport { border-color: #a259a6; background: #301731; }
.ob-family-music .ob-preview { min-height: 300px; }
.ob-family-mesh .ob-main { grid-template-columns: 245px minmax(0, 1fr) 270px; }
.ob-family-mesh .ob-stage { background: radial-gradient(ellipse at center, #3a255740, #110b1b); }
.ob-family-mesh .ob-preview { min-height: 460px; }
.ob-family-game .ob-hero { border-right: 5px solid #6fcbb7; }
.ob-family-game .ob-preview { border-style: dashed; }
.ob-family-game .ob-main { grid-template-columns: 310px minmax(0, 1fr) 255px; }
.ob-family-motion .ob-stage { background: radial-gradient(ellipse at top, #54305430, transparent), #170e20; }
.ob-family-print .ob-preview { background: #ddd3e5; padding: 22px; }
.ob-family-print .ob-preview > svg { background: white; box-shadow: 0 8px 35px #0004; min-height: 200px; }
.ob-workspace:fullscreen, .ob-workspace.ob-expanded { width: 100%; height: 100dvh; border: 0; border-radius: 0; display: flex; flex-direction: column; margin: 0; }
.ob-workspace.ob-expanded { position: fixed; inset: 0; z-index: 2147483000; }
.ob-workspace:fullscreen .ob-main, .ob-workspace.ob-expanded .ob-main { flex: 1; min-height: 0; overflow: hidden; }
.ob-workspace:fullscreen .ob-content, .ob-workspace:fullscreen .ob-controls, .ob-workspace.ob-expanded .ob-content, .ob-workspace.ob-expanded .ob-controls { max-height: none; }
.ob-workspace:fullscreen .ob-stage, .ob-workspace.ob-expanded .ob-stage { overflow-y: auto; }
.ob-workspace:fullscreen .ob-preview, .ob-workspace.ob-expanded .ob-preview { max-height: none; }
@media (min-width: 1550px) {
  .ob-main { grid-template-columns: 320px minmax(0, 1fr) 290px; }
  .ob-family-audio .ob-main { grid-template-columns: 280px minmax(0, 1fr) 300px; }
  .ob-family-captions .ob-main { grid-template-columns: 360px minmax(0, 1fr) 285px; }
}
@media (max-width: 1200px) {
  .ob-page .ob-main { grid-template-columns: minmax(0, 1fr) 265px; position: relative; min-height: 600px; }
  .ob-content { display: none; }
  .ob-workspace.ob-content-open .ob-content { display: block; position: absolute; z-index: 5; top: 0; bottom: 0; left: 0; width: min(370px, 88%); max-height: none; box-shadow: 10px 0 35px #09021299; }
  .ob-content .ob-panel-heading button { display: block; }
  .ob-hero { padding: 22px; }
}
@media (max-width: 760px) {
  .ob-page { margin-bottom: 25px; }
  .ob-hero { padding: 18px; border-radius: 14px; margin-bottom: 14px; }
  .ob-identity { gap: 12px; padding-right: 0; }
  .ob-identity > img { width: 50px; height: 50px; flex-basis: 50px; border-radius: 10px; }
  .ob-page h1 { font-size: 21px; }
  .ob-kicker { font-size: 9px; }
  .ob-intro { margin: 14px 0 0; font-size: 13px; }
  .ob-hero-mark { font-size: 80px; right: 8px; top: 15px; }
  .ob-toolbar { padding: 11px; gap: 10px; }
  .ob-toolbar > .ob-actions { gap: 7px; }
  .ob-page .ob-toolbar button, .ob-toolbar .ob-file { font-size: 11px; min-height: 38px; padding: 8px 10px; }
  .ob-commandbar { padding: 8px 10px; display: grid; grid-template-columns: minmax(0,1fr); gap: 7px; }
  .ob-commandbar > .ob-actions { justify-content: flex-end; }
  .ob-commandbar > .ob-actions button { min-height: 30px; font-size: 11px; padding: 5px 12px; }
  .ob-tabs { gap: 2px; }
  .ob-tabs button { font-size: 11px; min-height: 35px; padding: 7px 12px; }
  .ob-page .ob-main { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 450px; }
  .ob-page .ob-no-content .ob-main { grid-template-columns: minmax(0, 1fr); }
  .ob-controls { display: none; }
  .ob-workspace.ob-controls-open .ob-controls { display: block; position: absolute; top: 0; bottom: 0; right: 0; width: min(320px, 88%); z-index: 5; max-height: none; box-shadow: -10px 0 35px #09021299; }
  .ob-controls .ob-panel-heading button { display: block; }
  .ob-stage { padding: 13px; }
  .ob-stage-heading h2 { font-size: 16px; }
  .ob-page .ob-preview { min-height: 230px; max-height: 480px; border-radius: 8px; }
  .ob-page .ob-preview > svg { max-height: 460px; }
  .ob-family-mesh .ob-preview { min-height: 290px; }
  .ob-frame-canvas { max-height: 400px; }
  .ob-transport { padding: 9px; gap: 7px; }
  .ob-transport button { font-size: 11px; min-height: 33px; }
  .ob-legend { font-size: 10px; gap: 7px 13px; }
  .ob-status { font-size: 10px; padding: 10px 12px; align-items: flex-start; }
  .ob-status > span:last-child { display: none; }
  .ob-page .ob-scope { padding: 12px; font-size: 11px; }
  .ob-export-card { padding: 12px; }
  .ob-page th, .ob-page td { font-size: 11px; padding: 8px; }
  .ob-page button { min-height: 38px; }
  .ob-piano { height: 65px; }
  .ob-page .ob-piano button { min-width: 23px; height: 60px; font-size: 8px; padding: 35px 1px 3px; }
  .ob-page .ob-piano .ob-black-key { height: 42px; padding: 24px 1px 3px; }
}
@media (prefers-reduced-motion: reduce) { .ob-page * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Keep sample scope readable above scrollable media, including tall previews. */
.ob-page .ob-preview.ob-media-preview { justify-content: flex-start; }
.ob-capture-notice { flex: 0 0 auto; padding: 14px 18px; background: #261733; border-bottom: 1px solid #583d6a; }
.ob-capture-notice p { margin: 6px 0 0; }

.ob-chapter-board { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; padding: 18px; }
.ob-chapter-card { min-width: 0; padding: 14px; border: 1px solid #684480; border-radius: 14px; background: #291a37; }
.ob-chapter-card img, .ob-chapter-art { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #170f22; border-radius: 8px; }
.ob-chapter-art { display: grid; place-items: center; color: #c6afd9; }
.ob-chapter-card small { display: block; margin-top: 12px; color: #d8b6ff; }
.ob-chapter-card p { overflow-wrap: anywhere; font-size: 12px; }

.ob-chapter-board { grid-template-columns: repeat(auto-fill,minmax(180px,260px)); align-items: start; }
.ob-chapter-card img, .ob-chapter-art { max-height: 170px; }


.ob-word-studio{padding:22px;display:grid;gap:18px}.ob-word-stage{padding:35px 24px;border-radius:18px;background:radial-gradient(ellipse at top,#553076,#180e26);display:flex;gap:12px;flex-wrap:wrap;min-height:110px;align-content:center;justify-content:center}.ob-word{font-size:clamp(22px,3vw,36px);font-weight:700;color:#aa95b9;transition:color .12s,background .12s;border-radius:8px;padding:5px}.ob-word.is-active{color:#fff;background:#8653cb;box-shadow:0 0 24px #ad7af044}.ob-word-transport{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.ob-word-transport input{flex:1;min-width:120px}.ob-word-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.ob-word-edit{display:grid;gap:8px;padding:14px;background:#2b1d38;border:1px solid #624879;border-radius:12px}.ob-word-edit input{width:100%;min-width:0}.ob-word-edit span{font-size:12px;color:#cbb5dc}[data-orbit="karaoke_word_timing_editor"] .ob-preview,[data-orbit="lyrics_timing_practice_workspace"] .ob-preview{justify-content:flex-start;max-height:none}

.ob-music-design{padding:22px;display:grid;gap:16px}.ob-music-stats{display:flex;gap:12px;flex-wrap:wrap}.ob-music-stats>div{flex:1;padding:15px;background:#2a1939;border:1px solid #6a428b;border-radius:12px}.ob-music-stats strong{display:block;font-size:25px;color:#debcff}.ob-music-stats span{font-size:12px}.ob-music-roll svg{width:100%;height:auto;display:block}.ob-velocity-strip{height:180px;display:flex;gap:6px;align-items:end;background:#170e25;padding:12px;overflow:auto}.ob-velocity-strip>div{min-width:25px;flex:1;background:linear-gradient(#ca88ed,#673ca2);border-radius:6px 6px 0 0;color:white;text-align:center;font-size:11px}.ob-score-sheet{padding:25px;background:#f5efdf;color:#332842;border-radius:10px}.ob-chord-line{font:700 20px monospace;color:#693394}.ob-syllable-strip{display:flex;gap:12px;overflow:auto}.ob-syllable-strip>div{padding:20px;background:#382149;border-bottom:4px solid #c490ed;border-radius:12px;display:grid;gap:8px;min-width:100px}.ob-music-design table{font-size:12px}.ob-preview:has(.ob-music-design){justify-content:flex-start;max-height:none}

/* Word timing uses one editing surface and a compact row per word. */
.ob-word-workspace .ob-controls{display:none}
.ob-word-workspace .ob-main{grid-template-columns:260px minmax(0,1fr);min-height:0;align-items:start}
.ob-word-workspace .ob-content{max-height:680px}
.ob-word-workspace .ob-word-grid{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow:auto;padding:2px}
.ob-word-workspace .ob-word-edit{display:grid;grid-template-columns:minmax(90px,1fr) auto minmax(80px,110px) auto minmax(80px,110px);align-items:center;gap:10px;padding:10px 14px}
.ob-word-workspace .ob-word-edit input{box-sizing:border-box;min-height:38px;padding:7px;max-width:100%}
.ob-word-workspace .ob-word-studio{gap:14px;padding:18px}
.ob-word-workspace .ob-word-studio h3,.ob-word-workspace .ob-word-studio p{margin:0}
.ob-word-workspace .ob-word-stage{min-height:80px;padding:20px}
.ob-word-workspace [data-ob="controls-toggle"]{display:none!important}
@media(max-width:1100px){.ob-word-workspace .ob-main{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.ob-word-workspace .ob-word-edit{grid-template-columns:minmax(65px,1fr) minmax(70px,1fr) minmax(70px,1fr);gap:8px}.ob-word-workspace .ob-word-edit>span{display:none}.ob-word-workspace .ob-word-edit input{width:100%}.ob-word-workspace .ob-word-studio{padding:12px}.ob-word-workspace .ob-word-grid{max-height:320px}}

.ob-music-design h3,.ob-music-design p{margin:0}.ob-music-design .ob-music-stats strong{line-height:1.2}.ob-music-design .ob-music-stats span{display:block;margin-top:5px}


/* Keep the complete cue editor reachable; group word fields without wide blank rows. */
.ob-word-workspace .ob-content{max-height:none;overflow:visible;height:auto;align-self:start}
.ob-word-workspace .ob-word-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));max-height:none;overflow:visible;gap:10px}
.ob-word-workspace .ob-word-edit{grid-template-columns:minmax(65px,1fr) 82px 82px;gap:8px;padding:10px 12px}
.ob-word-workspace .ob-word-edit>span{display:none}
.ob-word-workspace .ob-word-edit>strong{overflow-wrap:anywhere;font-size:13px}
.ob-word-workspace .ob-word-edit>input{width:82px}
.ob-word-workspace .ob-word-grid::before{content:'Word · Start seconds · End seconds';grid-column:1/-1;color:#cbb5dc;font-size:12px;padding:2px 4px}
.ob-word-workspace .ob-word-edit:last-child:nth-child(odd){grid-column:auto}
.ob-word-workspace .ob-content .ob-edit-card{padding:12px}
.ob-word-workspace .ob-content .ob-field{margin-bottom:8px}
@media(max-width:1100px){.ob-word-workspace .ob-content{max-height:75vh;overflow:auto}}
@media(max-width:600px){.ob-word-workspace .ob-word-grid{grid-template-columns:minmax(0,1fr)}.ob-word-workspace .ob-word-edit{grid-template-columns:minmax(60px,1fr) 76px 76px}.ob-word-workspace .ob-word-edit>input{width:76px}}
