/* Party hire (day): the staff app's styles for public/js/views/hire-day.js. Phone first: big tap targets for
   ticking the load list and picking "on our way" minutes with one thumb. */

.hire-daytools { margin-bottom: 12px; display: grid; gap: 10px; }
.hire-daytools > p { margin: 0; }
.hire-dt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hire-dt-wx { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hire-dt-wx:empty { display: none; }

/* The load list and the route: collapsible cards. */
.hire-load, .hire-route { padding: 0; }
.hire-load > summary, .hire-route > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; cursor: pointer; font-weight: 600; list-style: none; min-height: 48px; }
.hire-load > summary::-webkit-details-marker, .hire-route > summary::-webkit-details-marker { display: none; }
.hire-load > summary > span:first-child::before, .hire-route > summary > span:first-child::before { content: '\25B8'; display: inline-block; width: 1.1em; color: var(--muted); transition: transform .15s; }
.hire-load[open] > summary > span:first-child::before, .hire-route[open] > summary > span:first-child::before { transform: rotate(90deg); }
.hire-load-list { padding: 0 16px 12px; }
.hire-load-list h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 12px 0 4px; font-weight: 600; }
.hire-load-line { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); cursor: pointer; min-height: 44px; }
.hire-load-line input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--accent); }
.hire-load-what { flex: 1; min-width: 0; }
.hire-load-line.done .hire-load-what b { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.hire-load-who { flex: none; white-space: nowrap; }

.hire-route-list { list-style: none; margin: 0; padding: 0 16px; }
.hire-route-stop { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.hire-route-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.hire-route-what { flex: 1; min-width: 0; }
.hire-route-move { flex: none; display: flex; gap: 6px; }
.hire-route-move .btn { min-width: 40px; min-height: 40px; font-size: 16px; }
.hire-route > p { padding: 0 16px 12px; margin: 8px 0 0; }

/* The stops' "sent" notes and the dialogs. */
.hire-sent { display: inline-flex; flex-direction: column; justify-content: center; }
.hire-sent:empty { display: none; }
.hire-hu-list { gap: 10px; }
.hire-hu-row { align-items: flex-start; }
.hire-otw-picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hire-otw-picks .btn { min-height: 52px; font-size: 17px; justify-content: center; }
@media (max-width: 420px) { .hire-otw-picks { grid-template-columns: repeat(2, 1fr); } }

@media print {
  .hire-load, .hire-route { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
  .hire-load > summary > span:first-child::before, .hire-route > summary > span:first-child::before { content: none; }
  .hire-load-line { min-height: 0; padding: 4px 0; }
  .hire-load-line input { width: 16px; height: 16px; }
}
