.editor-site-touch{display:contents}
body[data-interface=touch]>.workbench-v2-header{flex-shrink:0;height:var(--v2-navigation-height)}
.workbench-v2-header .new-score-entry{text-decoration:none;display:inline-flex;align-items:center;gap:6px}
body[data-interface=touch] .toolbar .brand{display:none}
.editor-v2 .workbench-v2-header{height:var(--v2-navigation-height)}
.editor-v2 .editor-workspace{height:calc(100dvh - var(--v2-navigation-height))}
.editor-v2 .editor-commandbar{padding-block:2px 4px;gap:10px}
.editor-v2 .editor-commandbar .score-edit-mode{padding-block:0}
.editor-v2 .editor-workspace{padding-top:6px;row-gap:6px}
.editor-v2 .editor-commandbar .score-edit-top{gap:8px}
.editor-v2 .command-actions>div+div{padding-left:8px;margin-left:2px}
@media(max-width:600px){.workbench-v2-header .new-score-entry span{display:none}}

.editor-leave-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid var(--material-line,#d8e0d9);border-radius:20px;background:var(--material-paper,#fffefa);color:var(--material-ink,#253e35);box-shadow:0 24px 80px #1a30232b}
.editor-leave-dialog::backdrop{background:#23372d38;backdrop-filter:blur(4px)}
.editor-leave-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0}
.editor-leave-dialog h2{margin:0;font:600 20px/1.4 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}
.editor-leave-dialog p{margin:12px 0 24px;color:var(--material-muted,#627269);font-size:14px;line-height:1.7}
.editor-leave-dialog footer{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.editor-leave-dialog button{min-height:46px;padding:10px 14px;border:1px solid var(--material-line,#d8e0d9);border-radius:12px;background:transparent;color:inherit;font:500 15px/1.4 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;cursor:pointer;touch-action:manipulation}
.editor-leave-dialog button.primary{background:var(--material-green,#2d5141);border-color:transparent;color:#fff}
.editor-leave-dialog button:active{filter:brightness(.94)}
.editor-leave-dialog button:focus-visible{outline:2px solid var(--material-green,#2d5141);outline-offset:3px}
.editor-leave-dialog .editor-leave-close{display:grid;place-items:center;flex:none;width:36px;min-height:36px;padding:0;border:0;border-radius:50%;font-size:26px;font-weight:400;color:var(--material-muted,#627269)}
