:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#11151d;color:#ecf1f6;font-size:15px;-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}body{margin:0;background:#11151d}button,input,select{font:inherit}button,label.button{cursor:pointer}button:focus-visible,.button:focus-within,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #e982a6;outline-offset:2px}
.app{max-width:940px;margin:auto;padding:0 16px max(28px,env(safe-area-inset-bottom))}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:19px 0 15px;border-bottom:1px solid #334151}.eyebrow{text-transform:uppercase;font-size:.67rem;letter-spacing:.16em;color:#e79aaf;font-weight:750}.topbar h1{font-size:1.45rem;letter-spacing:-.035em;margin:4px 0 0}.readonly{font-size:.66rem;letter-spacing:.1em;color:#afbbc9;border:1px solid #3e4d5e;border-radius:6px;padding:7px 8px;font-weight:700;white-space:nowrap}
.source{padding:20px 0 14px}.source-title h2{font-size:1.06rem;margin:0 0 4px}.source-title p{color:#9dacbd;margin:0}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.button{position:relative;display:inline-flex;min-height:44px;align-items:center;justify-content:center;border:1px solid #5a6e83;background:#253344;color:#dce9f5;font-size:.84rem;font-weight:700;border-radius:9px;padding:9px 13px;user-select:none}.button.primary{background:#ad365a;border-color:#d75679;color:#fff}.button input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.footnote{font-size:.78rem;line-height:1.55;color:#92a3b4;max-width:720px;margin:13px 0 0}.import-status{font-size:.79rem;min-height:18px;margin-top:10px;color:#aabacf}.import-status.error{color:#ffb4b7}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 0 17px}.metrics>div{border:1px solid #39495c;border-radius:10px;padding:10px;background:#19232f;min-width:0}.metrics strong{font-size:1.25rem;display:block;line-height:1.3}.metrics span{font-size:.7rem;color:#a9baca;white-space:nowrap}.filter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.filter-row input,.filter-row select{min-height:43px;min-width:0;border-radius:9px;background:#202d3b;border:1px solid #4a5e73;color:#e7eef6;padding:9px 12px;font-size:.84rem}.filter-row input{width:100%}.filter-info{font-size:.76rem;color:#9eafc0;margin:11px 2px}.project-list{display:grid;gap:9px}.project-card{background:#1c2836;border:1px solid #3b4c60;border-radius:11px;overflow:hidden}.project-card[open]{border-color:#7a90a7}.project-card summary{display:block;cursor:pointer;padding:14px 13px;list-style:none}.project-card summary::-webkit-details-marker{display:none}.card-head{display:flex;gap:10px;align-items:center}.project-index{display:flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;border-radius:7px;color:#c6d5e5;background:#2a3a4c;font-size:.8rem;font-weight:750}.project-title{min-width:0;flex:1}.project-title b{font-size:.99rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-title small{display:block;font-size:.72rem;color:#9eafbf;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-chevron{color:#9aaab9;font-size:1rem;transition:transform .15s}.project-card[open] .project-chevron{transform:rotate(180deg)}.chips{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 0 42px}.chip{font-size:.68rem;font-weight:650;background:#2b3b4e;color:#bacbe0;border-radius:5px;padding:3px 6px}.chip.ok{background:#273f37;color:#a4e6b8}.chip.warn{background:#503829;color:#ffcc91}.chip.fail{background:#553039;color:#ffabb9}.chip.muted{color:#aebdce}.card-body{border-top:1px solid #394b5e;padding:12px 14px 15px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stat b{display:block;font-size:1rem}.stat span{font-size:.72rem;color:#9baec0}.divider{height:1px;background:#3a4b5e;margin:13px 0}.path-row{font-size:.76rem;color:#b9c8d8;line-height:1.55;overflow-wrap:anywhere;margin:3px 0}.path-row b{color:#dae5f0}.sequence-preview{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.sequence-preview span{padding:5px 8px;background:#27374a;border-radius:6px;font-size:.73rem;color:#c0cee0}.message{margin:8px 0 0;color:#ffbba7;font-size:.76rem;line-height:1.5}.empty{border:1px dashed #4a5d71;text-align:center;border-radius:12px;padding:38px 22px;margin:16px 0 24px;color:#c8d5e2}.empty strong{font-size:1rem}.empty p{font-size:.83rem;color:#9daebd;line-height:1.6;max-width:470px;margin:8px auto 0}.hidden{display:none!important}footer{color:#7e92a7;font-size:.72rem;padding:20px 0 34px;line-height:1.6;overflow-wrap:anywhere}footer code{color:#a9baca}
@media(max-width:440px){.metrics{gap:6px}.metrics>div{padding:10px 7px}.metrics span{font-size:.61rem}.filter-row{grid-template-columns:1fr 135px}.chips{margin-left:0}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.app{padding-left:12px;padding-right:12px}.topbar h1{font-size:1.33rem}}
/* v0.1.1: music-first inventory, no file-path rows or generic sample counts */
.project-card summary{padding:15px 13px}.project-title b{font-size:1.03rem}.chips{margin-top:10px}
.card-body{padding:0 15px 16px}.detail-section{padding:15px 0;border-top:1px solid #344657}
.detail-section:first-child{border-top:0}.detail-section h3{margin:0 0 11px;color:#e1e9f2;font-size:.84rem;letter-spacing:.02em}
.program-list{display:flex;flex-direction:column;gap:9px}.program-item{display:flex;gap:10px;flex-wrap:wrap;align-items:start;justify-content:space-between;padding:10px 11px;background:#243447;border-radius:8px}
.program-primary{display:grid;gap:4px;flex:1 1 160px;min-width:0}.program-item strong{font-size:.84rem;font-weight:680;overflow-wrap:anywhere}
.muted{font-size:.73rem;color:#afc0d1;line-height:1.45}.use-status{font-size:.68rem;color:#b5c6d8;background:#2d3f51;border-radius:5px;padding:5px 7px;line-height:1.45}
.use-status.assigned{color:#a7e8c2;background:#294238}.use-status.unverified{color:#e9d0a7;background:#4a3c31}
.sample-problems{list-style:none;margin:0;padding:0;display:grid;gap:8px}.sample-problems li{display:flex;flex-direction:column;gap:3px;background:#493139;border:1px solid #754351;padding:9px 11px;border-radius:8px}
.sample-problems li strong{font-size:.83rem;overflow-wrap:anywhere}.all-clear{font-size:.78rem;color:#9fd5b2;margin:3px 0}
.quiet{font-size:.76rem;color:#aab8c7;line-height:1.5;margin:4px 0}.project-notes{font-size:.8rem;line-height:1.5;color:#cedce9;white-space:pre-wrap;margin:0}.sequence-preview{flex-direction:column;align-items:stretch}.sequence-preview span{background:#263647}

.quick-inventory{display:grid;gap:5px;margin:11px 0 0 42px}.quick-line{display:flex;gap:7px;align-items:baseline;min-width:0;line-height:1.4}.quick-label{flex:0 0 54px;font-size:.71rem;color:#93a9bd}.quick-value{font-size:.75rem;color:#d2dfec;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.quick-line:last-child .quick-label{color:#e5b5bd}@media(max-width:440px){.quick-inventory{margin-left:0}}
