#schedule[hidden], #search-panel[hidden] { display: none; }
#schedule .summary { grid-template-columns: repeat(4,minmax(0,1fr)); }
#schedule .summary > .metric:last-child { grid-column: auto; }
.target-panel-title { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
#edit-status { margin:8px 0 0; color:var(--muted); }
#search-panel { padding-top:12px; }
#search-panel input { padding:8px; width:100%; }
#search-results { display:grid; gap:4px; margin-top:6px; max-height:210px; overflow:auto; }
#search-results button { text-align:left; overflow-wrap:anywhere; }
#point-detail { width:min(550px,calc(100% - 24px)); max-height:85vh; padding:18px; border:1px solid var(--line); border-radius:12px; color:var(--ink); }
#point-detail::backdrop { background:#172c3b77; }
#point-detail form { text-align:right; }
#point-detail li { margin-bottom:7px; }
.move-day { font-size:11px; padding:4px; }
.target-empty { margin:14px; color:var(--muted); }
@media(max-width:850px) { #schedule .summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { #schedule .toolbar .field { min-width:0; flex:1 1 96px; } }
.shift { border-bottom:1px solid #edf1f4; }
.shift-head { display:flex; width:100%; justify-content:space-between; align-items:center; gap:10px; padding:10px 14px; border:0; border-left:4px solid transparent; background:#f7fafb; text-align:left; font:inherit; font-size:12px; cursor:pointer; color:var(--ink); }
.shift-head:hover { background:#eef5f6; }
.shift-head.long { border-left-color:#e0a23a; }
.shift-head.over { background:#fff1f3; color:#a6283e; }
.shift-head span { color:var(--muted); white-space:nowrap; }
.shift-head.over span { color:#a6283e; }
.shift-head.focused { border-left-color:#111827; background:#e6eef0; }
#map-status { display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; }
.legend-item { display:inline-flex; align-items:center; gap:5px; }
.legend-dot { width:10px; height:10px; border-radius:50%; display:inline-block; }
#add-point:disabled { opacity:.5; cursor:not-allowed; }
