/* Shared Hugh Lawrence studio palette and walnut asset from the teaching workspace.
   Dimensions live in style.css so the compact responsive workspace stays intact. */
:root{color-scheme:light;--ink:#293c38;--muted:#53645e;--paper:#fffbed;--mint:#b65327;--studio-orange:#b65327;--studio-green:#31564d;--studio-rim:#b5a185;color:var(--ink);background:#eee4cf;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
body{color:var(--ink);background:#eee4cf;background-image:repeating-linear-gradient(30deg,#ffffff0a 0 1px,transparent 1px 4px)}
main{position:relative;background:#f5ecd8;background-image:repeating-linear-gradient(35deg,#946d2d05 0 1px,transparent 1px 4px);box-shadow:0 8px 24px #3a291b18}
main:before,main:after{content:'';position:absolute;z-index:2;top:0;bottom:0;width:7px;background:#795033 url('assets/console-walnut.svg') repeat-y center top;background-size:100% 256px;box-shadow:inset 1px 0 1px #f1ca8d99;pointer-events:none}main:before{left:0}main:after{right:0;transform:scaleX(-1)}
header{background:linear-gradient(#2b443d,#193b33);border-bottom:3px double #c2b393;border-radius:7px 7px 0 0;padding:0 10px;gap:15px;box-shadow:0 1px 2px #49351f20}.brand{font-size:23px;font-weight:750;letter-spacing:-.9px;color:#fffbed;white-space:nowrap}.family-star{color:#d87a37;font:24px/1 Georgia,serif;letter-spacing:0}.tag{font-size:12px;color:#eee4cf;letter-spacing:.3px}header button{min-height:36px;margin-block:3px;background:linear-gradient(#49635b,#2c4941);color:#fffbed;border-color:#6f897d;box-shadow:inset 0 1px 1px #ffffff33}
h2{color:var(--ink);font-weight:750}label{color:var(--muted);font-weight:600}.settings{background:linear-gradient(110deg,#f8f0de,#eee4ce);border-color:var(--studio-rim);box-shadow:inset 0 1px 0 #fffdf6;border-radius:8px}.total strong{color:var(--ink);font-family:ui-monospace,monospace}.total span{color:var(--muted)}
button,select{color:var(--ink);border-color:#9d8a69;background-color:#fff6e4;box-shadow:inset 0 1px 1px #fff,0 2px 2px #48351b29}button{background-image:linear-gradient(#fff9ed88,#ddc49b33)}select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23293c38'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-color:#fff9ed}button:hover{background-color:#fae8d2;border-color:#795033}button:disabled{opacity:.5}button:focus-visible,select:focus-visible,input:focus-visible{outline-color:#a74721}header button:hover{background:#43685c;border-color:#b5c7b8}
.workspace{background:#fffbed;border-color:#9c8b6d;box-shadow:inset 0 0 0 2px #fffdf5,0 2px 4px #49351f12;border-radius:9px}.group-key>span{background:#b65327;border-top-color:#f9cc93}.group-key{color:var(--muted)}.palette,.playback{border-color:#c6b99f}.palette h2{color:#31564d;font-weight:700}.slot{background:#f0eadb;border-color:#a6997e;box-shadow:inset 0 1px 2px #49351f0d}.slot.empty{color:#807760}.slot:before{color:#53645e}.slot.beat-start:before{color:#293c38}.slot.beat-start{border-left-color:#31564d}.slot.filled{background:linear-gradient(#e2ece2,#cbdcd2);color:#293c38;border-color:#7e9a8d;box-shadow:inset 0 1px 1px #fff,0 1px 2px #49351f20}.slot.group-start{color:#fffbed;background:linear-gradient(#be6634,#a74721);border-color:#88401b;box-shadow:inset 0 0 0 1px #f1ab6188,0 2px 2px #49351f25}.slot.group-start:after{background:#ffdbab}.slot.single-note{background:linear-gradient(#fff9ed,#eadcc2);color:#4c493c;border-color:#a99473}.slot.playing{outline-color:#293c38;box-shadow:0 0 0 4px #f1802e88}.slot.over{outline-color:#293c38}.bar-footer #status{color:#31564d}#equation{color:#53645e}
.tile{background:linear-gradient(#fff9ed,#f0e5cf);border-color:#a89b7d;box-shadow:inset 0 1px 0 #fffdf6,0 2px 2px #49351f22}.tile-note{color:#293c38}.tile-note.first-note{background:linear-gradient(#be6634,#a74721);color:#fffbed;border-top-color:#f3b77c;box-shadow:0 1px 2px #49351f22}.tile.selected{outline-color:#b65327;background:#fae8d2}.tile:hover{background:#fae8d2}.drag-ghost{background:#f5ecd8!important;border:1px solid #9c8b6d}.drag-ghost .tile-note{color:#293c38}.drag-ghost .first-note{color:#fffbed;border-color:#f3b77c}
#play{background:linear-gradient(#c46e32,#a74721);border-color:#88401b;color:#fffbed;box-shadow:inset 0 0 0 2px #f1ab6166,0 2px 3px #48351b33}#play:hover:not(:disabled){background:linear-gradient(#b9612c,#923d1c)}#play:disabled{background:#d2c8b3;color:#53645e;border-color:#a89b7d;box-shadow:inset 0 1px 0 #fff9ed}#play[aria-pressed=true]{background:linear-gradient(#476f62,#214b40);border-color:#638374}.pulse-label input,.tempo-label input{accent-color:#b65327}.tempo-label output{font-family:ui-monospace,monospace;font-weight:700;color:#293c38}
.tempo-label input{-webkit-appearance:none;appearance:none;background:transparent}.tempo-label input::-webkit-slider-runnable-track{height:7px;background:#31564d;border-radius:4px;box-shadow:inset 0 1px 2px #192e26aa,0 1px 0 #fff9ed}.tempo-label input::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:22px;margin-top:-8px;border-radius:3px;background:linear-gradient(#d27839 0 44%,#f8d8a2 45% 54%,#b34d18 55%);border:1px solid #8c401c;box-shadow:0 2px 3px #46321f44}.tempo-label input::-moz-range-track{height:7px;background:#31564d;border-radius:4px}.tempo-label input::-moz-range-thumb{width:16px;height:20px;border-radius:3px;background:linear-gradient(#d27839 0 44%,#f8d8a2 45% 54%,#b34d18 55%);border:1px solid #8c401c}
dialog{background:#fffbed;color:#293c38;border-color:#9c8b6d;box-shadow:0 16px 50px #293c3844}dialog p{color:#53645e}dialog::backdrop{background:#193b3388}
@media(max-width:560px){main:before,main:after{width:3px}header{padding-inline:8px;gap:8px}.brand{font-size:22px}.family-star{font-size:20px}.palette h2{font-weight:600}}
@media(forced-colors:active){main:before,main:after{display:none}}
