:root {
    color-scheme: light;
    --ink: #18191f;
    --muted: #647080;
    --line: #dde1e7;
    --bg: #ffffff;
    --surface: #f8f9fb;
    --primary: #5e6ad2;
    --teal: var(--primary);
    --side: #f8f9fb;
    --paper: #ffffff;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 13px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft Yahei", system-ui, sans-serif; }
h1,h2,h3,p { margin: 0; }
a { color: var(--primary); text-underline-offset: 3px; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible,summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
button,input,select,textarea { font: inherit; }
button,summary { cursor: pointer; }
button:disabled { cursor: default; }
.shell { display: grid; grid-template-columns: 216px minmax(0,1fr); min-height: 100dvh; }
.workspace-main { min-width: 0; }
.sidebar { position: sticky; top: 0; height: 100dvh; overflow-y: auto; background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 16px; color: #4b5563; }
.brand { display: flex; align-items: center; gap: 10px; height: 56px; text-decoration: none; color: var(--ink); flex: none; }
.brand-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--primary); }
.brand b { display: block; font-size: 21px; font-weight: 650; line-height: 1.3; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 1px; }
.nav-label { font-size: 10px; font-weight: 500; color: var(--muted); margin: 10px 0 7px; }
.workspace-name { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 12px; }
.workspace-name b { color: var(--primary); }
.sidebar nav { display: grid; gap: 8px; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 10px; border-radius: 6px; text-decoration: none; color: #4b5563; font-size: 13px; }
.sidebar nav a:hover { background: #eef0f4; }
.sidebar nav a[aria-current=page] { color: var(--primary); background: #eeeffa; font-weight: 550; }
.sidebar nav img { flex: none; }
.symbol { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.symbol-definitions { display: none; }
.workspace-help { margin-top: auto; padding: 24px 0 10px; font-size: 11px; display: grid; gap: 5px; color: var(--muted); }
.workspace-help strong { font-size: 12px; font-weight: 500; color: #4b5563; }
.profile { border-top: 1px solid var(--line); padding-top: 12px; display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.profile > div { min-width: 0; overflow-wrap: anywhere; }
.profile strong { font-size: 12px; font-weight: 500; }
.profile small { display: block; font-size: 10px; color: var(--muted); }
.profile-avatar { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: var(--primary); background: #e9ecf1; }
.profile button { border: 0; background: transparent; color: var(--muted); padding: 4px 0; font-size: 11px; }
.profile button:hover { color: var(--primary); }
.topbar { height: 65px; border-bottom: 1px solid var(--line); background: white; display: flex; align-items: center; gap: 24px; padding: 0 24px; color: var(--muted); }
.breadcrumbs { display: flex; align-items: center; gap: 12px; font-size: 12px; min-width: 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.breadcrumbs strong { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-search { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.workspace-search input[type=search] { background: transparent; border: 0; padding: 3px 0; width: 135px; min-height: 30px; font-size: 12px; }
.workspace-search kbd { font-family: inherit; font-size: 10px; white-space: nowrap; color: var(--muted); }
main { max-width: 1600px; margin: 0 auto; padding: 32px; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.heading > div:first-child { min-width: 0; }
.heading h1 { font-size: 26px; font-weight: 650; line-height: 1.5; letter-spacing: -.025em; overflow-wrap: anywhere; }
.heading p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.eyebrow { display: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 500; white-space: nowrap; }
.button:hover { background: #eef0f5; border-color: #c5cbd5; }
.button.primary { background: var(--primary); border-color: var(--primary); color: white; }
.button.primary:hover { background: #505bc0; border-color: #505bc0; }
.button.danger { color: #ac303b; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 5px; background: #f1f3f6; color: #4b5563; font-size: 11px; font-weight: 500; white-space: nowrap; }
.badge.green { background: #ebf4ed; color: #237a35; }
.badge.amber { background: #fff5df; color: #976008; }
.badge.red { background: #fdebed; color: #a52a39; }
.badge.blue { background: #f1f2fb; color: #535fc5; }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 20px; }
.stat { display: block; position: relative; min-height: 96px; padding: 16px; color: var(--muted); text-decoration: none; background: var(--surface) !important; font-size: 12px; }
.stat strong { display: block; margin-top: 4px; color: var(--ink); font-size: 28px; line-height: 1.4; font-weight: 650; font-variant-numeric: tabular-nums; }
.stat .stat-icon { position: absolute; top: 20px; right: 16px; }
.stat:hover,.stat.active { border-color: #b8bde9; }
.panel { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 20px 20px 16px; }
.panel h2 { font-size: 15px; font-weight: 600; }
.panel-body { padding: 20px; }
.stack { display: grid; gap: 16px; }
.two-col { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(280px,1fr); gap: 20px; }
.two-col > * { min-width: 0; align-self: start; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 20px 18px; }
.filters input[type=search] { flex: 1; max-width: 330px; min-width: 180px; }
input:not([type=checkbox]),select,textarea { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 7px 11px; min-height: 36px; max-width: 100%; }
input::placeholder,textarea::placeholder { color: var(--muted); }
input[type=checkbox] { accent-color: var(--primary); }
input[type=file] { font-size: 12px; }
input[type=file]::file-selector-button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font: inherit; margin-right: 10px; cursor: pointer; }
.table-wrap { overflow-x: auto; }
.table-wrap table { min-width: 640px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; }
thead { background: var(--surface); color: var(--muted); font-size: 11px; }
th { font-weight: 500; }
th,td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th:first-child,td:first-child { padding-left: 16px; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--surface); }
tbody tr:hover { background: #f1f2fb; }
td a { text-decoration: none; }
td a:hover { text-decoration: underline; }
.song { min-width: 190px; display: flex; gap: 10px; align-items: center; }
.song a { color: var(--ink); font-weight: 550; text-decoration: none; }
.song a:hover { color: var(--primary); text-decoration: underline; }
.song-icon { display: grid; place-items: center; background: #f1f3f6; color: var(--muted); width: 32px; height: 36px; border-radius: 6px; flex: none; }
.sub,.helptext { display: block; font-size: 11px; color: var(--muted); }
.helptext { margin-top: 6px; line-height: 1.6; font-weight: 400; }
.footer { border-top: 1px solid var(--line); padding: 12px 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 11px; }
.footer label { font-size: 12px; }
.footer.actions { justify-content: flex-start; background: var(--surface); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 16px; }
.form-grid > * { min-width: 0; }
.form-grid label,.field-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; }
.form-grid input:not([type=checkbox]),.form-grid select,.form-grid textarea { width: 100%; }
.field-wide { grid-column: 1 / -1; }
.tag-options > div { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.tag-options label { margin: 0; font-weight: 400; }
.dimension-tag-group { min-inline-size: 0; margin: 0; }
.dimension-tag-group label:not(:has(input[type=checkbox])) { display: block; margin-bottom: 6px; }
.dimension-tag-group textarea { display: block; width: 100%; resize: vertical; }
.notice { padding: 14px; border: 1px solid #e7e9fa; background: #f6f7fd; color: #4b5563; border-radius: 7px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.notice.error,.errorlist { color: #a52a39; }
.notice.error { background: #fdf0f1; border-color: #efcfd4; }
.notice.warn { background: #fffaef; border-color: #f4e8ce; color: #805a22; }
.message-stack { margin-bottom: 20px; }
.errorlist { margin: 0 0 5px; padding-left: 18px; font-size: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.row > * { min-width: 0; }
.row:last-child { border-bottom: 0; }
.empty { color: var(--muted); padding: 40px 20px; text-align: center; }
.mono { font-family: ui-monospace,Menlo,monospace; overflow-wrap: anywhere; }
.page-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.page-tabs a { color: var(--muted); font-size: 12px; text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.page-tabs a[aria-current=page] { color: var(--primary); border-bottom-color: var(--primary); font-weight: 550; }
.library-panel { border: 0; border-radius: 0; overflow: visible; }
.library-panel .filters { padding: 0 0 20px; }
.library-panel .table-wrap { border: 1px solid var(--line); border-radius: 8px; }
.library-panel table { min-width: 1000px; }
.library-panel .footer { border-top: 0; padding: 16px 0; }
.library-panel td:last-child { min-width: 125px; }
.library-panel .footer.actions { padding: 12px 16px; border-radius: 6px; }
.library-panel .song-icon { display: none; }
.section-links { margin-top: -4px; }
.upload-layout { grid-template-columns: minmax(0,1.85fr) minmax(280px,1fr); }
.upload-steps { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--surface); border-radius: 6px; padding: 14px 16px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.upload-steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; background: #f1f2fb; color: var(--primary); margin-right: 8px; }
.upload-form .field-upload { grid-column: 1 / -1; grid-row: 1; padding: 24px; border: 1px dashed #c5cbd5; border-radius: 8px; background: var(--surface); text-align: center; }
.upload-form .field-upload label { font-size: 15px; font-weight: 550; margin-bottom: 12px; }
.upload-form .field-upload input { background: white; max-width: 450px; }
.upload-form .field-upload .helptext { margin-top: 10px; }
.workflow-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
.workflow-list li { position: relative; padding-left: 32px; counter-increment: step; }
.workflow-list li::before { content: '0' counter(step); position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 600; font-size: 16px; }
.workflow-list strong { display: block; font-size: 13px; font-weight: 550; margin-bottom: 5px; }
.workflow-list p { font-size: 11px; color: var(--muted); line-height: 1.8; }
.taxonomy-list > .stack { padding: 12px 0; border-bottom: 1px solid var(--line); gap: 8px; }
.taxonomy-list > .stack:last-of-type { border-bottom: 0; }
.taxonomy-list details { font-size: 12px; }
.taxonomy-list details[open] { padding: 12px; border-radius: 6px; background: var(--surface); }
.taxonomy-list details .actions { margin-top: 12px; }
.taxonomy-list .row { border: 0; padding: 0; }
.login { max-width: 440px; margin: 10vh auto; padding: 32px; }
.login-brand { color: var(--primary); font-size: 24px; font-weight: 650; }
.login h1 { font-size: 22px; }
.login form p { display: grid; gap: 6px; }
.login .eyebrow { display: block; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: white; padding: 8px; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.score-paper { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px; overflow-x: auto; }
.score-paper:target,.beat:target { outline: 2px solid var(--primary); outline-offset: 1px; background: #f1f2fb; }
.bar-heading { display: flex; justify-content: space-between; margin-bottom: 5px; }
.tablature { display: flex; min-width: max-content; overflow-x: auto; }
.strings,.beat { display: grid; grid-template-rows: 19px repeat(6,17px) 16px; text-align: center; }
.strings { width: 24px; color: var(--muted); }
.beat { min-width: 40px; flex: 1; color: var(--ink); }
.beat b { color: var(--primary); font-size: 16px; }
.fret { background: linear-gradient(transparent 49%,#818884 49%,#818884 53%,transparent 53%); font-family: ui-monospace,Menlo,monospace; line-height: 17px; }
.fret span { background: var(--paper); padding: 0 2px; }
@media(max-width:1100px) { main { padding: 24px; } .two-col,.upload-layout { grid-template-columns: minmax(0,1.5fr) minmax(250px,1fr); } .heading { flex-wrap: wrap; } }
@media(max-width:900px) { .shell { grid-template-columns: 190px minmax(0,1fr); } .sidebar { padding: 12px; } .topbar { padding: 0 20px; gap: 12px; } .workspace-search input[type=search] { width: 105px; } .workspace-search kbd { display: none; } .topbar > .badge { display: none; } .two-col,.upload-layout { grid-template-columns: minmax(0,1fr); } .stats { gap: 10px; } .stat { padding: 12px; } .stat .stat-icon { right: 12px; top: 17px; } .stats .stat strong { font-size: 24px; } }
@media(max-width:600px) {
    .shell { display: block; }
    .sidebar { height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 12px; }
    .brand { height: 42px; } .brand b { font-size: 18px; } .brand small { display: none; }
    .sidebar nav { display: flex; gap: 4px; overflow-x: auto; padding-top: 8px; }
    .sidebar nav a { white-space: nowrap; min-height: 38px; padding: 8px; font-size: 12px; gap: 6px; }
    .profile { display: none; } .workspace-help,.workspace-name,.nav-label { display: none; }
    .topbar { height: auto; min-height: 52px; padding: 8px 16px; gap: 8px; } .breadcrumbs { gap: 8px; font-size: 11px; flex: 1; }
    .workspace-search input[type=search] { width: 90px; font-size: 11px; }
    main { padding: 24px 16px; } .heading h1 { font-size: 23px; } .heading { gap: 12px; }
    .stats { grid-template-columns: repeat(2,minmax(0,1fr)); } .stat { min-height: 86px; }
    .form-grid { grid-template-columns: minmax(0,1fr); } .field-wide { grid-column: 1; }
    .panel-body { padding: 16px; } .panel-head { padding: 16px; }
    .filters { padding: 0 16px 16px; } .filters input[type=search] { max-width: none; min-width: 100%; }
    .page-tabs { gap: 20px; } .upload-steps { gap: 10px; font-size: 11px; }
    .upload-form .field-upload { padding: 20px 12px; } .footer label { width: 100%; } .footer label select { width: 100%; }
    .row { flex-wrap: wrap; } .login { margin: 5vh auto; padding: 24px; }
}

.pdf-proofread textarea { display: block; width: 100%; resize: vertical; }
.pdf-proofread input[name="meter"] { width: 5.5rem; }

.score-preview-layout { grid-template-columns: minmax(0, 1fr) 264px; gap: 20px; }
.score-preview-layout > * { min-width: 0; }
.score-preview-tools {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
    padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px;
}
.score-preview-tools a { margin-left: auto; }
.engraved-score {
    background: #fff; color: #17191c; padding: 32px 26px 28px;
    min-height: 420px;
}
.sheet-title { text-align: center; padding-bottom: 24px; }
.engraved-score .sheet-title h2 { font-size: 27px; font-weight: 650; letter-spacing: .03em; }
.sheet-title p { margin-top: 8px; font-size: 11px; color: #52575c; }
.sheet-setup { display: flex; justify-content: space-between; margin: 0 3px 13px; font-size: 11px; color: #272b30; }
.guitar-score-sheet { width: 100%; }
.sheet-system { overflow-x: auto; overflow-y: hidden; margin-bottom: 20px; padding: 2px 0; scrollbar-width: thin; }
.sheet-system:last-child { margin-bottom: 0; }
.sheet-system svg { display: block; max-width: none; overflow: visible; color: #17191c; }
.sheet-system line { stroke: currentColor; fill: none; }
.sheet-system text { fill: currentColor; stroke: none; font-family: Arial, "PingFang SC", sans-serif; }
.sheet-tab-number { font-size: 15px; font-weight: 500; }
.sheet-system .sheet-tab-clef { font-family: "Times New Roman", serif; font-size: 21px; }
.sheet-chord { font-size: 13px; font-weight: 500; }
.sheet-open { font-size: 10px; }
.sheet-fret-position { font-size: 8px; }
.sheet-time { font-family: "Times New Roman", serif !important; font-weight: 700; font-size: 23px; }
.sheet-measure-number { font-size: 9px; color: #6b7178; }
.sheet-tempo-change { font-size: 10px; }
.sheet-tuplet { font-size: 10px; font-style: italic; }
.sheet-lyric { font-size: 18px; font-weight: 500; }
.sheet-dot { fill: currentColor; stroke: none; }
.sheet-open-circle { fill: white; stroke: currentColor; stroke-width: .8; }
.sheet-strum, .sheet-tie { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.sheet-knockout { fill: white; stroke: none; }
.sheet-bar-focus, .sheet-event-focus { fill: transparent; stroke: transparent; stroke-width: 1.2; }
[data-sheet-bar] { cursor: pointer; outline: none; scroll-margin-top: 28px; }
[data-sheet-bar]:hover > .sheet-bar-focus { fill: #00786407; }
.sheet-selected > .sheet-bar-focus, [data-sheet-bar]:focus-visible > .sheet-bar-focus, [data-sheet-bar]:target > .sheet-bar-focus {
    fill: #00786409; stroke: #008671; stroke-dasharray: 3 3;
}
.sheet-event:target > .sheet-event-focus, .sheet-event:focus > .sheet-event-focus { fill: #00786418; stroke: #008671; }
.score-empty { margin: 18px; }
@media (max-width: 1120px) {
    .score-preview-layout { grid-template-columns: minmax(0, 1fr); }
    .score-preview-layout #report { grid-row: 2; }
}
@media (max-width: 600px) {
    .engraved-score { padding: 24px 14px 20px; }
    .engraved-score .sheet-title h2 { font-size: 23px; }
    .score-preview-tools { padding: 12px 14px; gap: 6px 12px; }
}
@media print {
    body { background: white; }
    .sidebar, .topbar, .heading, .score-preview-tools, #report, .message-stack { display: none !important; }
    .shell, .score-preview-layout { display: block; }
    main { padding: 0; max-width: none; }
    .score-preview-panel { border: 0; overflow: visible; }
    .engraved-score { padding: 0; }
    .sheet-system { break-inside: avoid; overflow: visible; }
    .sheet-selected > .sheet-bar-focus { fill: transparent; stroke: transparent; }
}
.sheet-event { outline: none; }
.sheet-setup { gap: 8px; flex-wrap: wrap; }

.editor-toolbar { padding: 12px 14px; display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.editor-tool-divider { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.editor-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; align-items: start; }
.editor-workspace.has-reference { grid-template-columns: minmax(230px, .8fr) minmax(360px, 1.3fr) 290px; }
.editor-workspace > * { min-width: 0; }
.editor-reference { position: sticky; top: 16px; }
.editor-reference iframe { width: 100%; height: calc(100dvh - 150px); border: 0; background: #eef1f2; }
.editor-reference img { display: block; width: 100%; height: auto; }
.editor-score-meta { padding: 12px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.editor-inspector { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; }
.editor-inspector-title { padding: 15px; border-bottom: 1px solid var(--line); }
.editor-inspector-body { padding: 0 15px 15px; }
.editor-inspector details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.editor-inspector details:last-child { border-bottom: 0; }
.editor-inspector summary { cursor: pointer; font-weight: 650; margin-bottom: 10px; }
.editor-inspector label { display: block; color: #3e505b; font-size: 12px; margin: 8px 0; }
.editor-inspector input:not([type=checkbox]), .editor-inspector select { width: 100%; margin-top: 4px; }
.editor-field-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 10px; }
.editor-wide { grid-column: 1 / -1; }
.editor-string-label { margin-top: 13px; font-size: 12px; color: var(--muted); }
.editor-string-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 5px; }
.editor-string-grid label { text-align: center; }
.editor-string-grid input { padding: 5px 2px; text-align: center; appearance: textfield; }
.editor-string-grid input::-webkit-inner-spin-button { appearance: none; }
.editor-inspector .editor-check { display: flex; gap: 6px; align-items: center; }
.editor-section-actions { margin: 12px 0; gap: 5px; }
.editor-section-actions .button { padding: 5px 7px; font-size: 12px; }
.editor-feedback { margin-bottom: 14px; }
.editor-toolbar [disabled] { opacity: .45; cursor: default; }
#editor-score-canvas .sheet-event { cursor: crosshair; }
#editor-score-canvas .sheet-event .sheet-event-focus { pointer-events: all; }
#editor-score-canvas .editor-event-selected > .sheet-event-focus { fill: #00786418; stroke: #008671; }
[hidden] { display: none !important; }
@media(max-width: 1400px) { .editor-workspace.has-reference { grid-template-columns: minmax(0,1fr) 290px; } .editor-workspace.has-reference .editor-reference { position: static; grid-column: 1 / -1; } .editor-reference iframe { height: 480px; } }
@media(max-width: 850px) { .editor-workspace, .editor-workspace.has-reference { display: flex; flex-direction: column; } .editor-workspace > * { width: 100%; } .editor-inspector { position: static; max-height: none; } .editor-toolbar { position: static; } }
.editor-audition-range { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.editor-audition-range input { width: 55px; }

[data-lyric-source] { white-space: pre-line; margin-top: 8px; }

.sheet-lyric-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.sheet-lyric-nav .button { font-size: 12px; min-height: 30px; }
.score-draft-notice { margin: 12px 18px; }

.release-summary { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 16px; margin-bottom: 20px; }
.release-summary > div { display: grid; align-content: center; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.release-summary strong { font-size: 26px; font-weight: 650; }
.confirmation-panel { max-width: 720px; }
#metadata, #versions, #courses, #categories, #tags, #pending, #history { scroll-margin-top: 20px; }
@media(max-width:600px) { .release-summary { grid-template-columns: 1fr 1fr; gap: 10px; } .release-summary > div:last-child { grid-column: 1/-1; } }
.task-overview { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface); padding: 16px; border-radius: 6px; margin-bottom: 20px; }
.task-overview strong { margin-left: 10px; }
.import-task-layout { grid-template-columns: minmax(0,2fr) minmax(260px,1fr); }
.import-task-layout td:last-child { min-width: 115px; }
@media(max-width:1100px) { .import-task-layout { grid-template-columns: minmax(0,1fr); } }
