/* The crew's phone: big targets, high contrast, readable in full sun. Mobile first; it also works on a tablet. */
.crew-page { background: var(--bg); }
.crew { max-width: 640px; margin: 0 auto; padding-bottom: 60px; }
.crew-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px calc(10px); padding-top: max(10px, env(safe-area-inset-top)); background: var(--chrome); border-bottom: 4px solid var(--route); }
.crew-out { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; }
.crew-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; }
.crew-bar b { flex: 1; text-align: center; font-size: 19px; }
.crew-bar button { min-width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; display: grid; place-items: center; padding: 0 10px; }
.crew-trucks { display: flex; gap: 8px; padding: 0 14px 8px; overflow-x: auto; }
.crew-trucks button { border: 2px solid var(--truck); background: var(--surface); color: var(--text); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; white-space: nowrap; }
.crew-trucks button.on { background: var(--truck); color: #fff; }
.outbox { margin: 0 14px 8px; padding: 8px 12px; border-radius: 10px; background: var(--amber-100); color: var(--on-amber); font-weight: 700; font-size: 14px; }
.crew-wait { padding: 40px 20px; text-align: center; color: var(--text-2); }
.crew-in { max-width: 400px; margin: 0 auto; padding: 40px 20px; display: flex; flex-direction: column; gap: 16px; }
.crew-in h1 { font-size: 26px; }
.crew-in label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.crew-in input { height: 52px; border: 2px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 20px; background: var(--surface); color: var(--text); }
.crew-in input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }

.day { padding: 0 12px; }
.day-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin: 0 0 10px; background: var(--surface); border-radius: 14px; border-left: 8px solid var(--truck); }
.day-head b { display: block; font-size: 19px; }
.day-head span { color: var(--text-2); font-size: 14px; }
.navpick { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--text-2); font-weight: 600; text-align: right; }
.navpick select { height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; font-weight: 700; padding: 0 8px; }
.whole { background: var(--surface); border-radius: 14px; margin: 0 0 10px; padding: 0 14px; border: 1px solid var(--line); }
.lunch { margin: 0 0 10px; padding: 8px 14px; border-radius: 12px; border: 1px dashed var(--line); color: var(--text-2); font-size: 15px; }
.lunch .mono { font-weight: 700; color: var(--text); margin-right: 6px; }
.whole summary { display: flex; align-items: center; gap: 8px; min-height: 50px; font-weight: 700; cursor: pointer; }
.whole-links { padding: 0 0 12px; }
.whole-app { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; }
.whole-app b { width: 100%; font-size: 14px; }
.stop { background: var(--surface); border-radius: 16px; padding: 14px 16px 16px; margin: 0 0 12px; border: 1px solid var(--line); }
.stop.is-next { border: 2px solid var(--route); box-shadow: 0 4px 18px rgba(255, 107, 26, .18); }
.stop.is-done { opacity: .6; padding-bottom: 12px; }
.stop-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stop-top .seq { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.stop-eta { font-size: 22px; font-weight: 700; }
.win { font-size: 13px; padding: 3px 8px; border-radius: 999px; background: var(--brand-100); color: var(--on-brand); font-weight: 700; }
.st { margin-left: auto; font-size: 13px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--ink-100); }
.st-done { background: #E3F4EA; color: #1E7A46; }
.st-skipped { background: var(--amber-100); color: var(--on-amber); }
.stop h2 { font-size: 21px; margin: 10px 0 2px; }
.stop .addr { font-size: 17px; margin: 0 0 4px; }
.stop .meta { color: var(--text-2); font-size: 15px; margin: 0; }
.stop .note { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--amber-100); color: var(--on-amber); font-size: 15px; }
.go-row { display: flex; gap: 8px; margin-top: 14px; }
.go { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 13px; background: var(--brand-700); color: #fff; font-size: 19px; font-weight: 800; border: 0; text-decoration: none; font-family: inherit; }
.go:hover { text-decoration: none; filter: brightness(1.08); }
.go.off { background: var(--ink-150); color: var(--text-2); font-size: 15px; }
.more { min-height: 54px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.apps a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 11px; background: var(--brand-50); border: 1px solid var(--brand-200); font-weight: 700; color: var(--on-brand); }
.tap-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.tap-row button { min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; }
.tap-row button:active { transform: scale(.98); }
.tap-row .ok { background: #1E8E4E; border-color: #1E8E4E; color: #fff; }
.tap-row .ghost { color: var(--text-2); }
.texted { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--brand-50); font-size: 15px; }
.texted a { font-weight: 800; }
.contact { display: flex; gap: 16px; margin-top: 12px; font-weight: 700; }
.contact a { display: inline-flex; align-items: center; gap: 6px; }
.none { text-align: center; color: var(--text-2); padding: 30px 10px; }
.small { font-size: 13px; }
@media (max-width: 380px) { .tap-row { grid-template-columns: 1fr 1fr; } }
