:root { font-family: "Segoe UI", Tahoma, Arial, sans-serif; color: #173249; background: #f3f6f8; font-synthesis: none; --navy: #102d43; --teal: #087f7c; --muted: #637587; --border: #dce5eb; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid #239d9b; outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 12px; padding: 10px 20px; background: white; color: var(--navy); z-index: 10; }
.skip-link:focus { inset-block-start: 8px; }
.site-header { background: var(--navy); color: white; min-height: 90px; padding: 18px max(30px, calc((100vw - 1260px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; gap: 13px; align-items: center; }
.brand-mark { width: 43px; height: 43px; border-radius: 13px; background: #168d88; font-size: 33px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.brand strong { font-size: 20px; display: block; }
.brand div > span { color: #b9ccd9; font-size: 12px; display: block; margin-top: 1px; }
.site-header .button-quiet { color: #fff; background: #224155; border-color: #4a6577; min-width: 95px; }
.page-shell { max-width: 1320px; margin: 0 auto; padding: 26px 30px 0; }
.demo-banner { display: flex; gap: 10px; align-items: center; color: #735214; background: #fff8e9; border: 1px solid #ebdfbd; padding: 9px 15px; border-radius: 9px; font-size: 13px; }
.demo-banner p { margin: 0; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: #af811d; flex-shrink: 0; }
.intro { margin: 28px 0 30px; display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 700; margin: 0 0 5px; letter-spacing: .03em; }
h1 { font-size: clamp(26px, 3vw, 37px); line-height: 1.4; margin: 0; letter-spacing: -.035em; }
.intro-copy { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.workflow { list-style: none; display: flex; gap: 21px; padding: 0; margin: 0; flex-shrink: 0; }
.workflow li { display: flex; gap: 8px; align-items: center; color: #516779; font-size: 12px; }
.workflow b { background: #e0edee; color: #197775; border: 1px solid #cbdfdf; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; font-size: 12px; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.card { background: white; border: 1px solid var(--border); border-radius: 15px; padding: 25px; box-shadow: 0 3px 14px #17324904; }
.section-heading { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 23px; }
.section-heading h2 { font-size: 19px; line-height: 1.5; margin: 0; font-weight: 700; }
.section-heading p { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.section-number { color: #91a8b4; font-size: 12px; font-weight: 700; padding-top: 7px; font-variant-numeric: tabular-nums; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
textarea, input, select { border: 1px solid #c9d6df; background: #fcfdfe; color: var(--navy); border-radius: 8px; padding: 10px 12px; width: 100%; line-height: 1.5; font-size: 14px; }
textarea { resize: vertical; min-height: 220px; }
textarea::placeholder, input::placeholder { color: #7b8e9b; }
textarea:focus, input:focus, select:focus { border-color: var(--teal); background: white; }
input:disabled, select:disabled { background: #f1f5f7; color: #486072; }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 7px 0 0; }
.action-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.button { min-height: 43px; padding: 9px 17px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: 13px; transition: background .15s; }
.button-primary { background: var(--teal); color: white; border-color: var(--teal); }
.button-primary:hover:not(:disabled) { background: #076b69; }
.button-quiet { color: #405a6d; background: #f6f8fa; border-color: #dce4ea; }
.button-quiet:hover:not(:disabled) { background: #e8eef2; }
.icon-button { margin-inline-start: auto; background: #f4f7f9; border: 1px solid var(--border); width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; font-size: 23px; line-height: 1; color: #547185; }
.queue-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.segmented { display: flex; gap: 4px; background: #f1f5f7; padding: 4px; border-radius: 8px; }
.segmented button { background: none; border: 0; padding: 6px 11px; border-radius: 6px; font-size: 12px; color: #597182; }
.segmented .active { background: white; color: #166f6b; box-shadow: 0 1px 4px #122f4214; font-weight: 600; }
.count { font-size: 12px; color: #5a7484; background: #edf3f6; border-radius: 6px; padding: 2px 9px; min-width: 29px; text-align: center; }
.queue-list { min-height: 265px; max-height: 470px; overflow-y: auto; }
.empty-state { min-height: 265px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 25px 12px; color: var(--muted); }
.empty-icon { font-size: 29px; color: #75a5a7; background: #edf5f5; border: 1px solid #dceaea; width: 57px; height: 57px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 13px; }
.empty-state h3 { margin: 0; font-size: 15px; color: #456271; }
.empty-state p { margin: 6px 0 0; font-size: 12px; max-width: 270px; }
.booking-row { width: 100%; text-align: start; border: 1px solid var(--border); background: #fff; border-radius: 10px; margin-bottom: 9px; padding: 13px 14px; display: block; transition: background .15s, border .15s; }
.booking-row:hover { background: #f7fbfb; border-color: #accdcd; }
.booking-row.selected { background: #f0f8f7; border-color: #66aaa5; }
.booking-row-top, .booking-row-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.booking-row-top strong { font-size: 14px; overflow-wrap: anywhere; }
.booking-row-bottom { color: #617888; font-size: 12px; margin-top: 6px; flex-wrap: wrap; }
.booking-row-note { margin: 8px 0 0; font-size: 11px; color: #956929; }
.badge { border-radius: 5px; background: #fef3dc; color: #856321; padding: 3px 8px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge-success { color: #096d61; background: #e1f3ed; }
.badge-muted { color: #547484; background: #eaf1f4; }
.queue-footnote { color: #8193a1; font-size: 11px; margin: 16px 0 0; padding-top: 13px; border-top: 1px solid #edf1f4; }
.message { padding: 11px 13px; border-radius: 8px; margin-top: 14px; background: #edf5fb; color: #245977; border: 1px solid #cde0ed; font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.message.error { background: #fff2ef; border-color: #efcfc7; color: #994735; }
.message.success { background: #eaf7f1; border-color: #c7e5d8; color: #20664f; }
.message.warning { background: #fff9ea; border-color: #eddfb8; color: #876720; }
.detail-card { margin-top: 26px; scroll-margin-top: 20px; }
.detail-card > .section-heading { margin-bottom: 17px; }
.detail-card > .section-heading > .badge { margin-inline-start: auto; }
.reference { direction: ltr; text-align: start; overflow-wrap: anywhere; }
fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px 18px; margin-top: 23px; }
.field-wide { grid-column: span 2; }
.extraction-notes { background: #fffaf0; border: 1px solid #eddfba; border-radius: 9px; padding: 12px 16px; margin-top: 18px; }
.extraction-notes h3 { font-size: 13px; color: #866220; margin: 0 0 5px; }
.extraction-notes ul { margin: 0; padding-inline-start: 20px; color: #8a7040; font-size: 12px; }
.review-actions { display: flex; gap: 17px; align-items: center; flex-wrap: wrap; margin-top: 25px; padding-top: 20px; border-top: 1px solid #edf1f4; }
.review-actions p { margin: 0; }
.schedule-panel { margin-top: 23px; border: 1px solid #cce1e1; border-radius: 11px; background: #f3f9f9; padding: 20px; }
.schedule-heading { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.schedule-heading h3 { font-size: 16px; margin: 0; }
.schedule-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 20px 0 14px; }
.schedule-grid > div { padding-inline-end: 16px; border-inline-end: 1px solid #d3e5e5; }
.schedule-grid > div:last-child { border: 0; }
.schedule-grid span { font-size: 12px; color: #5c7a81; display: block; }
.schedule-grid strong { font-size: 17px; margin-top: 5px; display: block; color: #124e58; }
.schedule-panel .button { margin-top: 17px; }
.page-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #7c919e; font-size: 11px; padding: 25px 0; }
@media (max-width: 1050px) { .intro { align-items: flex-start; flex-direction: column; gap: 18px; } .workflow { gap: 24px; } .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 720px) { .site-header { padding: 15px 20px; min-height: 80px; } .brand strong { font-size: 16px; } .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 28px; } .brand div > span { font-size: 10px; } .site-header .button { min-width: 76px; padding: 8px 11px; } .page-shell { padding: 19px 16px 0; } .demo-banner { font-size: 11px; align-items: flex-start; } .demo-dot { margin-top: 5px; } .intro { margin: 22px 0; } .intro-copy { font-size: 13px; } .workflow { width: 100%; justify-content: space-between; gap: 6px; } .workflow li { font-size: 11px; gap: 5px; } .workflow b { width: 23px; height: 23px; } .workspace-grid { grid-template-columns: 1fr; gap: 18px; } .card { padding: 20px 17px; border-radius: 12px; } .form-grid { gap: 15px 13px; } .form-field label { font-size: 12px; } .schedule-grid { grid-template-columns: 1fr; gap: 13px; } .schedule-grid > div { border-inline-end: 0; border-bottom: 1px solid #d3e5e5; padding-bottom: 12px; } .schedule-grid strong { font-size: 16px; } .schedule-panel { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.source-departure { background: #f2f6fa; border-inline-start: 3px solid #8ba8b9; padding: 11px 14px; margin-top: 16px; border-radius: 5px; }
.source-departure strong { font-size: 12px; color: #536f81; }
.source-departure p { font-size: 14px; color: #264b63; margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Departure controls share a visual timeline without changing the intake layout. */
.booking-row-times { display: grid; gap: 3px; color: #657b8a; font-size: 11px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #e5edee; }
.booking-row-times .driver-queue-time { color: #197670; font-weight: 600; }
.timing-section { margin-top: 30px; }
.timing-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.timing-heading h3 { margin: 0; color: var(--navy); font-size: 17px; }
.timing-heading p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.timezone-chip { display: inline-flex; padding: 5px 9px; background: #edf3f6; color: #567181; border-radius: 6px; font-size: 11px; white-space: nowrap; }
.time-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.time-card { border: 1px solid #dbe5ec; background: #f8fafc; border-radius: 13px; padding: 22px; min-width: 0; }
.driver-card { border-color: #a7d1ca; background: #f0f8f5; box-shadow: 0 3px 14px #1a796107; }
.time-card-heading { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.time-card-title { display: flex; align-items: center; gap: 8px; }
.time-card-title h4 { font-size: 16px; margin: 0; color: #1d4056; }
.time-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #d7e2ea; border-radius: 9px; background: white; color: #5b8198; font-size: 23px; line-height: 1; }
.driver-card .time-icon { background: #deeee7; border-color: #c4e0d5; color: #08795c; }
.time-caption { font-size: 11px; color: #768a97; }
.mode-badge { padding: 4px 8px; font-size: 10px; border-radius: 6px; color: #146e54; background: #dcefe4; font-weight: 600; }
.mode-badge.mode-manual { background: #fff0d8; color: #8b631c; }
.time-display { min-height: 103px; margin: 19px 0 16px; padding-bottom: 18px; border-bottom: 1px solid #dce6eb; }
.time-display strong { display: block; font-size: clamp(26px, 3vw, 33px); font-weight: 650; line-height: 1.4; color: #26485d; font-variant-numeric: tabular-nums; }
.driver-card .time-display { border-color: #cce1d8; }
.driver-card .time-display strong { color: #0f7056; }
.time-display > span { display: block; margin-top: 4px; color: #718693; font-size: 13px; font-variant-numeric: tabular-nums; }
.date-field input { min-height: 44px; background: white; color-scheme: light; min-width: 0; max-width: 100%; }
.clock-fields { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 12px; margin-top: 17px; }
.clock-fields > div { min-width: 0; }
.clock-fields select { min-width: 0; min-height: 44px; background-color: white; padding: 8px 10px; font-variant-numeric: tabular-nums; }
.time-card label { font-size: 12px; color: #496474; }
.time-card-footnote { color: #6a818c; font-size: 11px; line-height: 1.8; margin: 18px 0 0; }
.driver-card-footer { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.driver-card-footer .time-card-footnote { flex: 1; min-width: 180px; margin: 0; color: #50796a; }
.button-reset { min-height: 36px; padding: 5px 10px; font-size: 11px; color: #116e55; border: 1px solid #b8d9c9; background: white; }
.button-reset:hover:not(:disabled) { background: #e3f2e9; }
.time-validation { padding: 9px 11px; background: #fff2eb; border: 1px solid #e7c7b9; border-radius: 6px; color: #914c34; font-size: 12px; margin: 14px 0 0; }
@media (max-width: 720px) {
  .timing-section { margin-top: 25px; }
  .timing-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .time-cards { grid-template-columns: 1fr; gap: 15px; }
  .time-card { padding: 18px 15px; }
  .time-card-title h4 { font-size: 15px; }
  .time-card-heading { gap: 8px; }
  .time-display { min-height: 91px; margin: 15px 0; padding-bottom: 14px; }
  .time-display strong { font-size: 29px; }
  .clock-fields { gap: 8px; }
  .clock-fields select { padding-inline: 7px; }
  .form-grid { grid-template-columns: 1fr; }
}

.source-time-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 13px; }
.source-time-comparison > div { padding: 10px 12px; border: 1px solid #dce6ee; border-radius: 7px; background: #ffffffa8; }
.source-time-comparison span { display: block; font-size: 11px; color: #627b8d; }
.source-time-comparison strong { display: block; font-size: 14px; margin-top: 3px; color: #264b63; }
.source-departure .source-time-notice { margin-top: 12px; font-size: 12px; color: #536b7c; }
.source-time-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; margin-top: 12px; }
.source-time-actions .button { flex-shrink: 0; background: white; border-color: #b9ccd9; color: #315c78; }
.source-time-actions .field-help { flex: 1; min-width: 200px; margin: 0; font-size: 11px; color: #627b8d; }
@media (max-width: 720px) {
  .source-time-comparison { grid-template-columns: 1fr; gap: 8px; }
  .source-time-actions { align-items: flex-start; flex-direction: column; }
  .source-time-actions .field-help { min-width: 0; }
}
/* Account entry and roles keep the same booking workspace behind sign-in. */
.header-actions, .account-controls { display: flex; align-items: center; gap: 9px; }
.account-summary { display: grid; gap: 2px; margin-inline-end: 5px; text-align: start; }
.account-summary strong { font-size: 13px; max-width: 190px; overflow-wrap: anywhere; }
.account-summary span { font-size: 11px; color: #b5d9d6; }
.auth-panel { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; min-height: 460px; border: 1px solid #dbe5eb; border-radius: 19px; margin: 33px auto 35px; background: white; max-width: 1080px; box-shadow: 0 12px 45px #17324908; }
.auth-story { padding: 50px 42px; background: #13374a; color: white; }
.auth-story .eyebrow { color: #7ccec4; margin-top: 29px; }
.auth-story h1 { white-space: pre-line; font-size: clamp(30px, 3.1vw, 42px); letter-spacing: -.035em; max-width: 380px; }
.auth-story > p:last-of-type { color: #b4ccd5; max-width: 360px; font-size: 14px; margin-top: 16px; }
.auth-symbol { display: grid; place-items: center; height: 51px; width: 51px; color: #b6e9df; background: #1d5260; border: 1px solid #34717a; border-radius: 15px; font-size: 33px; line-height: 1; }
.auth-route { display: flex; align-items: center; max-width: 220px; margin-top: 40px; gap: 12px; }
.auth-route span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #518693; border-radius: 50%; font-size: 11px; color: #a6d0d6; }
.auth-route i { height: 1px; background: #477781; flex: 1; }
.auth-entry { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 45px 43px; }
.auth-lock { color: #458a85; font-size: 33px; line-height: 1; }
.auth-entry h2 { font-size: 25px; margin: 15px 0 4px; color: #163f51; }
.auth-entry > p { font-size: 13px; color: #6a8191; margin: 0; }
.auth-entry .field-help { font-size: 11px; margin-top: 12px; }
.auth-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 25px; }
.auth-buttons .button { min-height: 47px; }
.auth-text-button { align-self: center; border: 0; background: transparent; color: #287977; font-size: 12px; padding: 12px 7px 0; text-decoration: underline; text-underline-offset: 3px; }
.auth-entry #auth-reset-help { text-align: center; }
.auth-entry #auth-retry { margin-top: 16px; }
.driver-welcome { margin: 32px 0; padding: 38px; }
.driver-welcome .auth-symbol { margin-bottom: 18px; }
.driver-welcome h1 { font-size: 27px; }
.driver-welcome p { color: #637c8a; max-width: 650px; }
@media (max-width: 1050px) {
  .site-header { flex-wrap: wrap; }
  .header-actions { margin-inline-start: auto; }
  .account-summary strong { max-width: 140px; }
  .auth-story, .auth-entry { padding: 36px 29px; }
}
@media (max-width: 720px) {
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .account-controls { order: 1; flex-wrap: wrap; justify-content: flex-start; width: 100%; padding-top: 9px; }
  .account-controls .button { min-height: 36px; padding: 6px 9px; font-size: 11px; }
  .account-summary { flex: 1; }
  .account-summary strong { max-width: 150px; }
  .auth-panel { grid-template-columns: 1fr; margin-top: 12px; border-radius: 14px; }
  .auth-story { padding: 26px; }
  .auth-story .eyebrow { margin-top: 18px; }
  .auth-story h1 { font-size: 29px; }
  .auth-story > p:last-of-type { font-size: 12px; }
  .auth-route { display: none; }
  .auth-entry { padding: 30px 25px; }
  .driver-welcome { padding: 25px; }
}