/* Hall music (back office): mockup hallmusic 05 (library at 1440). */
.hm .hm-off{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:14px;padding:10px 14px;margin-bottom:16px;font-size:14px;background:var(--fill)}
.hm .hm-off span{flex:1}
.hm .hm-hd-old{display:flex;align-items:flex-end;gap:10px;margin-bottom:16px;flex-wrap:wrap}
.hm .hm-hd h1{font-size:28px;font-weight:700;letter-spacing:-.02em;margin:0}.hm .hm-hd p{font-size:14px;color:var(--muted);margin:3px 0 0}
.hm .hm-hd .sp{flex:1}
.hm .hm-art{position:relative;flex:none;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.hm .hm-art i{position:absolute;inset:22%;border-radius:50%;border:1.5px solid rgba(255,255,255,.22);box-shadow:0 0 0 6px rgba(255,255,255,.05)}
.hm .hm-artw{position:relative;flex:none}
.hm .hm-pv{position:absolute;inset:0;margin:auto;width:24px;height:24px;border-radius:12px;border:0;background:rgba(0,0,0,.45);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s}
.hm .hm-artw:hover .hm-pv,.hm .hm-pv:focus-visible{opacity:1}
@media (hover:none){.hm .hm-pv{opacity:1}}
.hm .hm-upl{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:14px;padding:12px 16px;margin-bottom:16px}
.hm .hm-upl .fi{width:40px;height:40px;border-radius:10px;background:var(--fill);display:flex;align-items:center;justify-content:center;flex:none}
.hm .hm-upl .tx{flex:1;min-width:0}.hm .hm-upl .tx b{font-size:14.5px;font-weight:600}.hm .hm-upl .tx span{font-size:13px;color:var(--muted);display:block;margin-top:2px}
.hm .hm-upl .tx .err{color:var(--late);font-size:12.5px}
.hm .hm-upl .pb{height:5px;border-radius:3px;background:var(--line);margin-top:8px;position:relative}.hm .hm-upl .pb i{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:var(--ink)}
.hm .hm-sel{display:flex;align-items:center;gap:6px;font-size:13.5px;white-space:nowrap}.hm .hm-sel .field{width:160px;height:34px}
.hm .hm-tools{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.hm .hm-chips{display:flex;gap:8px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.hm .chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 13px;border-radius:16px;background:var(--fill);border:0;font:inherit;font-size:13.5px;font-weight:500;white-space:nowrap;cursor:pointer;color:var(--ink)}
.hm .chip em{font-style:normal;color:var(--muted);font-weight:500}.hm .chip.on{background:var(--acc);color:var(--acc-on)}.hm .chip.on em{color:rgba(255,255,255,.65)}
.hm .hm-search{display:flex;align-items:center;gap:8px;height:36px;border-radius:10px;border:1px solid var(--line);padding:0 10px;color:var(--muted);width:260px;background:var(--surface)}
.hm .hm-search.w100{width:100%}
.hm .hm-search input{border:0;outline:none;flex:1;font:inherit;font-size:14px;background:none;min-width:0;color:var(--ink)}
.hm .hm-sec{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}.hm .hm-sec b{font-size:16px;font-weight:600}.hm .hm-sec span{font-size:13px;color:var(--muted)}
.hm .hm-plrow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.hm .hm-plc{display:flex;gap:10px;align-items:center;border-radius:12px;background:var(--fill);padding:10px;color:inherit;text-decoration:none;min-width:0}
.hm .hm-plc>div{min-width:0}.hm .hm-plc b{font-size:13.5px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hm .hm-plc span{font-size:12.5px;color:var(--muted)}
.hm .hm-tbl{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.hm .tr{display:grid;grid-template-columns:30px minmax(0,2fr) minmax(0,2fr) 60px minmax(0,1.5fr) 76px;align-items:center;gap:12px;padding:0 16px;min-height:52px;border-bottom:1px solid var(--line);font-size:13.5px;cursor:pointer}
.hm .tr:last-child{border-bottom:0}
.hm .tr:hover{background:var(--canvas)}
.hm .tr.th{min-height:38px;background:var(--canvas);font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;cursor:default}
.hm .tr.selbar{background:var(--acc);color:var(--acc-on);min-height:44px;grid-template-columns:auto 1fr;font-weight:500;cursor:default}
.hm .tr.selbar .acts{display:flex;gap:18px;justify-content:flex-end}.hm .tr.selbar button{background:none;border:0;color:inherit;font:inherit;font-weight:600;cursor:pointer;min-height:36px}
.hm .tr.on{background:var(--fill)}
.hm .cb{width:20px;height:20px;border-radius:5px;border:1.5px solid var(--line-2);display:flex;align-items:center;justify-content:center;background:var(--surface);padding:0;cursor:pointer;color:#fff}
.hm .cb.on{background:var(--acc);border-color:var(--acc);color:var(--acc-on)}
.hm .tt{display:flex;align-items:center;gap:10px;min-width:0}.hm .tt>div{min-width:0}.hm .tt b{font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hm .tt span{color:var(--muted);font-size:12.5px}
.hm .tag{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:6px;background:var(--fill);font-size:12px;font-weight:500;margin-right:4px;white-space:nowrap}
.hm .tag.cust{background:var(--surface);border:1px solid var(--line);color:var(--muted)}
.hm .tag.spec{background:var(--acc);color:var(--acc-on)}
.hm .tag button{border:0;background:none;color:inherit;cursor:pointer;font-size:14px;padding:0 0 0 2px;opacity:.6}
.hm .num{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm .hm-empty{padding:28px 16px;text-align:center;color:var(--muted);font-size:14px}
.hm .hm-row{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--line)}
.hm .hm-row .tx{flex:1;min-width:0}.hm .hm-row .tx b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hm .hm-row .tx span{font-size:12.5px;color:var(--muted)}
.hm .hm-plgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:12px}
.hm .hm-plcard{display:flex;gap:12px;align-items:center;padding:14px;text-align:left;font:inherit;cursor:pointer;border:1px solid var(--line);background:var(--surface);color:inherit}
.hm .hm-plcard b{display:block;font-size:15px;font-weight:600}.hm .hm-plcard span{font-size:13px;color:var(--muted);display:block;margin:2px 0 6px}
.hm .hm-plcard span.tag{display:inline-flex;margin:0;color:var(--ink)}.hm .hm-plcard span.tag.cust{color:var(--muted)}
.hm .mt16{margin-top:16px}.hm .mt8{margin-top:8px}
.hm .hm-mom{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.hm .hm-ord{display:flex;gap:4px}
.hm .hm-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center;flex:1;min-width:240px}
.hm .hm-tags .field.sm{height:30px;font-size:13px;width:auto;max-width:200px}
.hm .hm-evrow{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit;padding:12px 0}
.hm .hm-dt{width:46px;height:50px;border-radius:12px;background:var(--fill);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}
.hm .hm-dt b{font-size:18px;font-weight:700;line-height:1}.hm .hm-dt span{font-size:12px;color:var(--muted);text-transform:uppercase}
.hm .hm-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.hm .pill{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 10px;border-radius:12px;background:var(--fill);font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.hm .pill.g{background:var(--ok-soft);color:var(--ok)}.hm .pill.warn{background:var(--warn-soft);color:var(--warn)}.hm .pill.dark{background:var(--acc);color:var(--acc-on)}
.hm .hm-mrow{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;font:inherit;color:inherit;cursor:pointer;padding:10px 0}
.hm .hm-mrow .tag{margin-left:6px}
.hm .hm-songs{padding:0 0 10px 40px}
.hm .hm-tabgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr));gap:12px}
.hm .hm-tabh{display:flex;align-items:center;gap:12px}.hm .hm-tabh .ico{width:42px;height:42px;border-radius:12px;background:var(--fill);display:flex;align-items:center;justify-content:center}
.hm .hm-tabh b{font-size:15px}
.hm .hm-now{margin-top:14px;border-radius:12px;background:var(--acc);color:var(--acc-on);padding:12px 14px}
.hm .hm-now .k{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.6)}
.hm .hm-now b{display:block;font-size:16px;margin-top:4px}.hm .hm-now span{font-size:13px;color:rgba(255,255,255,.7)}.hm .hm-now .hint{color:rgba(255,255,255,.6)}
.hm .hm-num{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.hm .hm-num .field.sm{width:76px;height:34px}
@media (max-width:1100px){.hm .tr{grid-template-columns:44px minmax(0,2fr) minmax(0,1.4fr) 56px 0 0}.hm .tr>*:nth-child(5),.hm .tr>*:nth-child(6){display:none}.hm .hm-plrow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.hm .tr{grid-template-columns:44px minmax(0,1fr) 56px}.hm .tr>*:nth-child(3){display:none}.hm .hm-tools{flex-direction:column;align-items:stretch}.hm .hm-search{width:100%}}

/* volume by time */
.hm-vrule{display:flex;flex-direction:column;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.hm-vr1{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.hm-vr1 label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);font-weight:600}
.hm-vr1 input[type=time]{width:120px}.hm-vr1>.btn{margin-inline-start:auto}
.hm-days{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.hm-days .btn{min-width:48px}.hm-days .hint{margin-inline-start:6px}
.hm-undo{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:14px}
.hm-night{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink);font-weight:600}
.hm-now .hm-night{color:inherit;opacity:.85;font-weight:500}

/* touch redesign (SPEC.md): Head, Group/ListRow, select mode on the phone, 44 px targets, tokens for dark mode */
.hm .hm-offg{margin-bottom:18px}
.hm .hm-offg .lrow-ico{background:var(--warn-soft)}
.hm .hm-tbl.nocb .tr>span:first-child{display:none}
.hm .hm-tbl.nocb .tr{grid-template-columns:minmax(0,1fr) 56px}
@media (min-width:700px){.hm .hm-tbl.nocb .tr{grid-template-columns:minmax(0,2fr) minmax(0,1.4fr) 56px 0 0}}
.hm .tr>*{min-width:0}
.hm .cb{position:relative}
.hm .cb::after{content:"";position:absolute;inset:-12px}
.hm .tr.selbar .acts{flex-wrap:wrap;gap:4px 18px}
.hm-selbar{position:fixed;inset-inline:0;bottom:var(--tb-h);z-index:34;display:flex;align-items:center;gap:10px;padding:8px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));background:var(--surface);border-top:1px solid var(--line);font-weight:650}
.hm-selbar span{flex:1}
.hm:has(.hm-selbar){padding-bottom:64px}
.hm .hm-audio{width:100%;margin-bottom:12px}
.hm .hm-bpm{max-width:140px}
.hm .hm-lh{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}
.hm .hm-lh .lbl{font-size:12px;font-weight:600;color:var(--muted)}
.hm .btn.hm-ord,.sheet .btn.hm-ord,.hm-ord.btn{min-width:36px;padding:0 10px;justify-content:center}
.sheet .hm-row{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--line)}
.sheet .hm-row .tx{flex:1;min-width:0}.sheet .hm-row .tx b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet .hm-row .tx span{font-size:12.5px;color:var(--muted)}
.sheet .hm-row .num{color:var(--muted);font-variant-numeric:tabular-nums}
.sheet .hm-search{display:flex;align-items:center;gap:8px;height:44px;border-radius:12px;border:1px solid var(--line);padding:0 12px;color:var(--muted);background:var(--surface)}
.sheet .hm-search input{border:0;outline:none;flex:1;font:inherit;font-size:16px;background:none;min-width:0;color:var(--ink)}
.hm-art{position:relative;flex:none;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.hm-art i{position:absolute;inset:22%;border-radius:50%;border:1.5px solid rgba(255,255,255,.22)}
.hm-artw{position:relative;flex:none}
.hm-pv{position:absolute;inset:0;margin:auto;width:24px;height:24px;border-radius:12px;border:0;background:rgba(0,0,0,.45);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.hm .hm-moms .ev-gh .link{margin-inline-start:auto}
.hm-spec{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:8px;padding:12px 16px}
.hm .hm-plans .hm-dt{width:46px;height:50px}
.hm .hm-plans .lrow-ico{width:auto;height:auto;background:none}
.hm .hm-plans .hm-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;justify-content:flex-start}
.hm .hm-plan{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:0 20px;align-items:start}
.hm .hm-plan>*{min-width:0}
.hm .hm-plan .tag.spec{margin-inline-start:6px}
.hm .hm-songs{padding:0 16px 10px 58px}
.hm .hm-lockseg{padding:12px 16px}
.hm .hm-row.hm-in{padding:8px 16px}
.hm .hm-tabh{display:flex;align-items:center;gap:12px}
.hm .hm-tabn{flex:1;min-width:0}
.hm .hm-step{display:flex;gap:12px;padding:14px 16px;font-size:14.5px;line-height:1.45}
.hm .hm-step+.hm-step{border-top:1px solid var(--line)}
.hm .hm-step .n{flex:none;width:26px;height:26px;border-radius:50%;background:var(--fill);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.hm .hm-step-b{flex:1;min-width:0}
.hm .hm-qr{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:12px}
.hm .hm-qr .ev-link{flex:1 1 200px}
.hm .hm-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;align-items:start}
.hm .hm-set>*{min-width:0}
.hm .hm-set .lrow-c .field{width:220px;max-width:100%}
.hm .hm-set .lrow.stacked .lrow-c .field{width:100%}
.hm .hm-pin{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px}
.hm .hm-pin .field{width:130px}
.hm .hm-vrule{padding:12px 16px;border-bottom:1px solid var(--line)}
.hm .hm-vr1 label{min-width:0}
.hm .hm-vr1 input[type=time]{width:130px}
.hm .hm-vr1 .ev-num .field{width:64px}
@media (max-width:1099px){.hm .hm-set,.hm .hm-plan{grid-template-columns:minmax(0,1fr)}.hm .hm-plrow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:699px){
  .hm .hm-tools{flex-direction:column;align-items:stretch}.hm .hm-search{width:100%}
  .hm .hm-plrow{display:flex;overflow-x:auto;scrollbar-width:none}.hm .hm-plrow .hm-plc{flex:0 0 64%}
  .hm .hm-upl{flex-wrap:wrap}.hm .hm-sel{flex:1 1 100%}.hm .hm-sel .field{flex:1}
  .hm-spec{grid-template-columns:minmax(0,1fr)}
  .hm .hm-songs{padding-inline-start:16px}
  .hm .hm-vr1 input[type=time]{width:120px}
}
@media (max-width:1099px),(pointer:coarse){
  .hm .chip{height:40px;padding:0 15px;font-size:14px}
  .hm .hm-search{height:44px}.hm .hm-search input{font-size:16px}
  .hm .hm-tags .field.sm,.hm .hm-num .field.sm,.hm .hm-sel .field{height:44px;font-size:16px}
  .hm .tr{min-height:60px}
  .hm .cb{width:24px;height:24px}
  .hm .hm-pv{opacity:1;width:28px;height:28px;border-radius:14px}
  .hm .hm-days .btn{min-width:52px}
}
/* round 3: Disclosure titles with a status; 44 px checkboxes and play buttons on touch; list rows (no column headers) on touch */
.hm .disc-t{display:inline-flex;align-items:baseline;gap:10px}
.hm .disc-t em{font-style:normal;font-weight:500;color:var(--muted);font-size:14px}
.hm .cb{width:28px;height:28px;border:0;background:none;padding:0;display:grid;place-items:center;cursor:pointer;color:var(--acc-on)}
.hm .cb::after{display:none}
.hm .cb>i{width:20px;height:20px;border-radius:5px;border:1.5px solid var(--line-2);background:var(--surface);display:grid;place-items:center}
.hm .cb.on{background:none;border:0}
.hm .cb.on>i{background:var(--acc);border-color:var(--acc)}
.hm .hm-selall{display:flex;align-items:center;gap:12px;margin:0 0 10px;font-size:14px;font-weight:600}
@media (max-width:1099px),(pointer:coarse){
  .hm .hm-tbl .tr.th{display:none}
  .hm .cb{width:44px;height:44px}
  .hm .cb>i{width:24px;height:24px;border-radius:6px}
  .hm .tr{grid-template-columns:44px minmax(0,2fr) minmax(0,1.4fr) 56px 0 0;padding-inline:6px 16px}
  .hm .tr .hm-art,.hm .hm-row .hm-art{width:44px!important;height:44px!important;border-radius:10px!important}
  .hm .hm-artw .hm-pv,.sheet .hm-artw .hm-pv{width:100%;height:100%;border-radius:10px;opacity:1;background:rgba(0,0,0,.32)}
}
@media (max-width:699px){.hm .tr{grid-template-columns:44px minmax(0,1fr) 56px}.hm .hm-tbl.nocb .tr{grid-template-columns:minmax(0,1fr) 56px;padding-inline:16px}}
