:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#e9eef7;background:#101827}*{box-sizing:border-box}body{margin:0}header{background:linear-gradient(120deg,#172d4e,#142036 65%,#253c54);padding:34px max(24px,calc((100vw - 1120px)/2));border-bottom:1px solid #365072}h1{margin:0 0 5px;font-size:clamp(1.8rem,4vw,2.8rem)}header p{color:#bdcce0;margin:0}main{max-width:1120px;margin:auto;padding:28px 24px 70px}.picker{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:25px}label{display:grid;gap:7px;color:#b9cbe2;font-weight:600;flex:1;min-width:250px}select{background:#22334d;color:white;padding:13px;border:1px solid #597395;border-radius:10px;font:inherit;max-width:500px}.status{color:#aabbd0}.hero{display:grid;grid-template-columns:minmax(230px,38%) 1fr;gap:24px}.art{width:100%;aspect-ratio:16/10;object-fit:contain;background:#19273b;border-radius:14px}.art.empty{display:grid;place-items:center;color:#8298b3;border:1px dashed #506782}.title{margin:0;font-size:2rem}.subtitle{color:#b5c7df;margin:8px 0 18px}.badges{display:flex;gap:8px;flex-wrap:wrap}.badge{padding:7px 11px;border-radius:100px;background:#26405c;color:#daebff;font-size:.9rem}.panel{background:#1a2940;border:1px solid #304965;border-radius:14px;padding:20px;margin-top:22px}h2{font-size:1.13rem;margin:0 0 14px}p{line-height:1.55}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid .panel{margin:0}.muted{color:#a9bbd1}audio{width:100%;margin:6px 0 12px}ul{margin:0;padding-left:20px}li{margin:8px 0}a{color:#8bd3ff}a:hover{color:white}.links{display:flex;gap:9px;flex-wrap:wrap}.links a{display:inline-block;padding:9px 12px;border:1px solid #6380a3;border-radius:8px;text-decoration:none}dl{display:grid;grid-template-columns:125px 1fr;gap:11px;margin:0}dt{color:#a9bbd1}dd{margin:0;white-space:pre-wrap}#instrumentation,#notes{white-space:pre-line}.empty-note{color:#9eb0c8;font-style:italic}footer{color:#8195ad;margin-top:28px;font-size:.85rem}@media(max-width:700px){.hero,.grid{grid-template-columns:1fr}dl{grid-template-columns:1fr;gap:3px}dd{margin-bottom:9px}}
#staffCommentButtons{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.staff-comment-button{font:inherit;background:#26405c;color:#daebff;border:1px solid #6380a3;border-radius:8px;padding:9px 12px;cursor:pointer}.staff-comment-window{position:fixed;z-index:1000;top:100px;left:40px;width:460px;height:300px;min-width:240px;min-height:170px;max-width:100vw;max-height:100vh;resize:both;overflow:auto;background:#1a2940;color:#e9eef7;border:1px solid #6380a3;border-radius:12px;box-shadow:0 12px 45px #0009;display:flex;flex-direction:column}.staff-comment-heading{margin:0;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#26405c;cursor:move;touch-action:none;font-size:1rem}.staff-comment-close{background:transparent;color:inherit;border:0;font-size:24px;cursor:pointer}.staff-comment-body{padding:18px;white-space:pre-wrap;overflow:auto;flex:1;line-height:1.55}.staff-comment-help{padding:0 18px 12px;color:#b5c7df;font-size:.8rem}

.staff-comment-controls{display:flex;align-items:center;gap:12px;padding:10px 16px;flex-wrap:wrap}.staff-comment-controls button{font:inherit;cursor:pointer;background:#26405c;color:#daebff;border:1px solid #6380a3;border-radius:6px;padding:6px 10px}.staff-comment-controls a{color:#8bd3ff}

#description{white-space:pre-line}button{font:inherit}#refreshCatalog{background:#26405c;color:#daebff;border:1px solid #6380a3;border-radius:8px;padding:12px;cursor:pointer}.audio-preview{width:100%;height:110px;border:0;border-radius:8px;background:#fff}.staff-comment-window{max-width:calc(100vw - 12px);left:6px}.staff-comment-controls a{font-size:.9rem}

#connectionSettings{margin:0 0 22px}#connectionSettings summary{cursor:pointer;font-weight:600}#connectionForm{display:flex;gap:12px;align-items:end;flex-wrap:wrap}#connectionForm input{font:inherit;border:1px solid #6380a3;border-radius:8px;padding:12px;background:#101827;color:#fff;width:100%}#connectionForm button{padding:12px;background:#26405c;color:#daebff;border:1px solid #6380a3;border-radius:8px;cursor:pointer}#catalogWarnings{white-space:pre-line}
