#dispatch-panel { grid-template-rows:auto minmax(0,1fr); }
.dispatch-head,.dispatch-name,.shift-statusline,.shift-pages,.shift-jobs h4,.shift-ledger th span,#shift-power {
  display:flex; align-items:center;
}
.dispatch-head { justify-content:space-between; flex-wrap:wrap; gap:8px; padding:12px 16px; border:2px solid #221f25;
  background:#354341; box-shadow:inset 0 2px #68726a,inset 0 -3px #263333; }
.dispatch-name { gap:11px; }.dispatch-name>i { width:47px; height:47px; border:2px solid #76694f; background:#2a3332; }
.dispatch-name canvas { width:38px; height:38px; }.dispatch-name small { color:#c7cbb0; font-size:16px; }
.dispatch-name h2 { color:#ffe0a3; font-size:clamp(22px,2.4vw,34px); line-height:1.15; text-shadow:2px 2px #242629; }
#shift-power { gap:7px; padding:7px 12px; min-height:37px; border:2px solid #242729; background:#4d5147; color:#ffe2af;
  box-shadow:inset 2px 2px #858270,inset -2px -2px #323d39; }
#shift-power>span { display:block; width:10px; height:10px; background:#b29a70; box-shadow:inset 2px 2px #ddbe8a; }
#shift-power[aria-pressed=true]>span { background:#90c49e; box-shadow:inset 2px 2px #cfdfac; }
#shift-power:disabled { color:#b9b5a7; background:#3b403b; }#shift-power:disabled>span { background:#74796d; }
.dispatch-scroll { color:#e8dfc8; background:#293137; scrollbar-gutter:stable; }
.shift-statusline { justify-content:space-between; flex-wrap:wrap; gap:2px 12px; padding:6px 15px;
  color:#d3c9b3; font-size:16px; border-bottom:2px solid #464941; background:#252d31; }
.shift-statusline span+span { color:#b2c9bb; }
.shift-pages { gap:3px; padding:10px 12px 0; }
.shift-pages button { display:flex; justify-content:center; align-items:center; gap:6px; padding:6px 12px;
  background:#333d41; border:2px solid #49514d; border-bottom:0; color:#d4d0be; font-size:18px; }
.shift-pages button[aria-pressed=true] { border-color:#be9867; color:#ffdda2; background:#51463b; box-shadow:inset 0 2px #937452; }
.dispatch-scroll>section { margin:0 12px 12px; padding:12px 14px; border:2px solid #675e4e; background:#303738; }
.dispatch-scroll>section[hidden] { display:none; }
.dispatch-scroll h3 { color:#ffdfa5; font-size:clamp(20px,1.8vw,27px); }
.dispatch-scroll p,.shift-jobs small { font-size:17px; line-height:1.2; }
.dispatch-scroll h3+p { margin:5px 0 12px; }
.shift-ledger { width:100%; border-collapse:collapse; color:#41372e; background:#dec697 url('assets/mine-paper.png'); font-size:18px; }
.shift-ledger thead { background:#50493d; color:#f6dba6; font-size:16px; }
.shift-ledger th { text-align:left; font-weight:400; }
.shift-ledger th,.shift-ledger td { padding:3px 9px; border-bottom:2px solid #b69c73; }
.shift-ledger thead th { padding-block:6px; border-bottom:2px solid #86704f; }
.shift-ledger th span { gap:8px; }.shift-ledger th canvas { width:23px; height:23px; }
.shift-ledger th:nth-child(n+2),.shift-ledger td { text-align:center; }
.shift-ledger tbody tr:nth-child(even) { background-color:#806f5120; }
.shift-ledger tbody tr:focus-within { background-color:#fce1a9; }
.shift-ledger input[type=number] {
  font:inherit; font-variant-numeric:tabular-nums; width:5.3em; height:30px; max-width:100%; text-align:center;
  color:#ffebc5; background:#3e403b; border:2px solid #736449; box-shadow:inset 1px 2px #30302b; }
.shift-check { position:relative; display:inline-grid; place-items:center; vertical-align:middle; width:42px; height:32px; cursor:pointer; }
.shift-check input { opacity:0; position:absolute; inset:0; width:100%; height:100%; margin:0; cursor:pointer; }
.shift-check span { pointer-events:none; width:20px; height:20px; border:2px solid #746349; background:#ead8b2; box-shadow:inset 2px 2px #bca681; }
.shift-check input:checked+span { background:#45624d; border-color:#3a483a; box-shadow:inset 2px 2px #738e68; }
.shift-check input:checked+span::after { content:''; display:block; margin:3px 0 0 3px; width:8px; height:4px; border:solid #e5f1bd; border-width:0 0 3px 3px; transform:rotate(-45deg); }
.shift-check input:focus-visible+span { outline:3px solid #2d644f; outline-offset:3px; }
.shift-check input:disabled+span,.shift-ledger input[type=number]:disabled { opacity:.65; }
.shift-detail { margin:9px 0 0; color:#c7cbb6; }
.shift-jobs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:12px; }
.shift-jobs article { display:flex; flex-direction:column; gap:10px; min-width:0; padding:11px; border:2px solid #63604e; background:#353d3c; }
.shift-jobs article+article { background:#39383a; }
.shift-jobs h4 { gap:7px; margin:0; color:#ffdfac; font:19px/1.12 var(--display); }
.shift-jobs select { min-width:0; width:100%; min-height:38px; padding:4px 7px; font:18px var(--text); color:#f4e0b4; background:#252e33; border:2px solid #807354; }
.shift-jobs select:focus-visible { outline:2px solid #b6f4e3; }
.shift-jobs small { color:#c2c7b6; border-top:2px solid #4b514b; padding-top:7px; }
#shift-totals dl { margin:5px 0 12px; }#shift-totals dt { color:#c6c9b4; font-size:17px; }
#shift-totals dd { margin:2px 0 8px; color:#ffdfa7; padding-bottom:6px; border-bottom:2px solid #4c5049; }
#shift-feedback:not(:empty) { margin:6px 14px; color:#ffcc94; font-size:17px; }
@media(max-width:650px) {
  .dispatch-head { padding:8px; }.dispatch-name { gap:6px; }.dispatch-name>i { width:32px; height:32px; }.dispatch-name canvas { width:26px; height:26px; }
  .dispatch-name h2 { font-size:20px; }.dispatch-name small { font-size:14px; }#shift-power { padding:4px 6px; font-size:16px; }
  .shift-jobs { grid-template-columns:1fr; }.shift-statusline { padding:5px 7px; font-size:15px; }
  .shift-pages { padding:6px 4px 0; }.shift-pages button { flex:1; padding:5px 2px; gap:3px; font-size:15px; }
  .shift-pages button canvas { width:15px; height:15px; }.dispatch-scroll>section { margin:0 4px 6px; padding:8px 5px; }
  .shift-ledger { font-size:15px; }.shift-ledger thead { font-size:14px; }.shift-ledger th,.shift-ledger td { padding:3px 2px; }
  .shift-ledger input[type=number] { width:3.4em; font-size:16px; }.shift-ledger th span { gap:2px; }.shift-ledger th canvas { width:16px; height:16px; }
}
@media(max-width:370px) {
  .shift-ledger thead { font-size:12px; }
  .shift-ledger td,.shift-ledger th { padding-inline:1px; }
  .shift-ledger th span { gap:1px; }.shift-ledger th canvas { width:14px; height:14px; }
  .shift-ledger input[type=number] { width:3em; }
  .shift-check { width:32px; }
}
