.order-column{
  --rail-top:18px;--rail-bottom:18px;--rail-height:calc(100dvh - var(--header) - var(--rail-top) - var(--rail-bottom));
  position:absolute;top:var(--rail-top);right:20px;width:clamp(290px,31vw,345px);height:calc(100% - var(--rail-top) - var(--rail-bottom));
  z-index:2;display:flex;flex-direction:column;gap:8px;pointer-events:none
}
.order-column>.panel{position:static;width:100%;min-height:0;pointer-events:auto}
.rider-notice{display:flex;align-items:center;gap:8px;flex:none;background:white;border:1px solid var(--edge);border-radius:12px;padding:9px 12px;box-shadow:var(--shadow);font-size:12px;line-height:1.3}
.rider-notice img{flex:none}.rider-notice strong,.rider-notice span{display:block}.rider-notice span{margin-top:2px;color:var(--muted)}
.order-column:has(.rider-notice:not([hidden])){--rail-height:calc(100dvh - var(--header) - var(--rail-top) - var(--rail-bottom) - 68px);max-height:calc(var(--rail-height) + 68px)}
.passenger-emote{position:absolute;bottom:calc(100% + 3px);left:50%;transform:translateX(-50%);width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 1px 2px #20302066)}
#feedList button.new-in-feed{background:#effbdc;border-color:#91c949;box-shadow:inset 3px 0 #88c839}
@media(prefers-reduced-motion:no-preference){#feedList button{transition:background-color .4s,border-color .4s,box-shadow .4s}}
.dispatch{--dispatch-inset:13px;display:flex;flex-direction:column;flex:0 0 auto;max-height:calc(var(--rail-height) - 104px);overflow:hidden}
.order-column:has(#feedBody[inert]) .dispatch{max-height:calc(var(--rail-height) - 56px)}
.dispatch-content{display:flex;flex-direction:column;min-height:0}
#dispatchBody{overflow:auto;scrollbar-width:thin;padding:0 var(--dispatch-inset) var(--dispatch-inset)}
#ticketBody{min-width:0}
.ticket-head,.job-heading,#feedToggle,.rider,.feed-sort{display:flex;align-items:center}
.ticket-head{flex:none;height:calc(var(--island-height) - 2px);padding-inline:var(--dispatch-inset);justify-content:space-between;gap:8px}
.order-column{--heading-size:14px;--heading-icon:16px}
.job-heading{gap:6px;min-width:0}.job-caption{min-width:0}
#jobLabel,#feedToggle strong{display:block;font-size:var(--heading-size);font-weight:700;line-height:1.15}
#jobLabel{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticket-head svg,#feedToggle svg{flex:none;width:var(--heading-icon);height:var(--heading-icon);color:var(--accent)}
.availability{display:flex;align-items:center;padding:3px;background:var(--soft);border-radius:20px}
.availability button{padding:5px 9px;border-radius:16px;background:transparent;color:var(--muted);line-height:1.2;font-family:inherit;font-size:11px;font-weight:650}
.availability button[aria-pressed=true]{background:var(--lime);color:#20251c}
#goBusy[aria-pressed=true]{background:#374033;color:white}.availability button:disabled{opacity:1;cursor:default}
#dispatchMap{flex:none;display:grid;place-items:center;padding:3px;border-radius:5px;background:var(--soft)}
#tripToggle{display:flex;align-items:center;gap:7px;min-width:0;min-height:36px;padding:0;background:transparent;text-align:left;color:var(--ink);touch-action:manipulation;user-select:none}
#tripToggle:disabled{opacity:1}
#tripToggle #jobLabel{flex:none}
#tripClock{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:650;color:var(--muted);font-variant-numeric:tabular-nums}
#tripClock.overdue{color:#a04718}
#liveReview{position:absolute;bottom:5px;left:5px;background:white;color:#705013;padding:3px 6px;border-radius:6px;font-size:10px;font-weight:700}
#routeArrow{position:absolute;z-index:1;width:27px;height:27px;fill:var(--lime);stroke:#273623;stroke-width:2;pointer-events:none;filter:drop-shadow(0 1px 2px #28352266)}
.dispatch .minimap{display:block;aspect-ratio:420/310;margin:8px 0 0;padding:0}
.dispatch #smallMap{position:absolute;inset:0;height:100%;border-radius:inherit}
.dispatch .mapline{position:absolute;inset:auto 5px 5px auto;gap:5px;padding:3px 6px;border-radius:6px;background:white;font-size:10px}
.dispatch .mapline svg{width:12px;height:12px}
#noTicket{margin:8px 0 0}
.rider{gap:9px;margin:10px 0}
.rider img,#feedList img{border-radius:50%;object-fit:cover;background:var(--soft)}
.rider div{min-width:0}.rider div>*{display:block}.rider strong{font-size:16px;letter-spacing:-.3px}.rider span{font-size:12px;font-weight:650;color:#826114}
#offerMeter{height:3px;overflow:hidden;border-radius:5px;background:#edf0e9}#offerMeter i{display:block;height:100%;background:#97d940}
.itinerary{display:grid;gap:5px;grid-template-columns:7px minmax(0,1fr) auto;column-gap:8px}
.itinerary div{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:baseline}
.itinerary div span{font-size:13px;font-weight:620;overflow-wrap:anywhere}
.itinerary i{align-self:start;margin-top:6px;width:7px;height:7px;border-radius:50%;background:white;border:2px solid #2978d1}
.itinerary div+div i{border-color:#813db3;border-radius:2px}
.itinerary small{font-size:11px;color:var(--muted);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.job-detail{margin-top:7px}
.job-detail,#bidRisk,#noTicket{font-size:11px;line-height:1.4;color:var(--muted)}.job-detail.urgent,#bidRisk{color:#94501a}
#bargain{margin-top:10px}#bidRisk{min-height:1.4em;margin-bottom:5px}#bidOptions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
#bidOptions button{background:var(--soft);border:1px solid transparent;border-radius:8px;padding:5px 2px}#bidOptions button>*{display:block}#bidOptions b{font-size:14px;font-weight:750;white-space:nowrap}#bidOptions small{font-size:10px;color:var(--muted)}#bidOptions button[aria-pressed="true"]{background:#eaf8d7;border-color:#85b24e}
.ticket-actions{display:grid;grid-template-columns:minmax(max-content,1fr) minmax(0,1fr);gap:8px;margin-top:10px}
.ticket-actions:has(#accept[hidden]){display:none}
#fare{margin-left:auto;white-space:nowrap;font:800 clamp(21px,2.6vw,28px)/1 Arial,sans-serif;letter-spacing:-1.2px}
.ticket-actions button{min-width:0;min-height:40px;padding:6px;font-size:13px;font-weight:700;line-height:1.15;border-radius:9px}
.ticket-actions #accept{white-space:nowrap;background:var(--lime)}.ticket-actions #accept:hover{background:#93de22}.ticket-actions #skip{background:var(--soft)}
.feed{display:flex;flex-direction:column;flex:0 0 var(--island-height);overflow:hidden;background:#f3f4f1;transition:flex-grow .22s ease-out}
.feed:has(#feedToggle[aria-expanded=true]){flex-grow:1}
@media(prefers-reduced-motion:reduce){.feed{transition:none}}
#feedToggle,.feed-sort{flex:none}#feedBody{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
#feedToggle{height:calc(var(--island-height) - 2px);width:100%;background:white;text-align:left;padding:12px 14px;gap:8px;font-size:14px}#feedCount{margin-left:auto;background:#e8f6d6;color:#38560f;border-radius:8px;padding:2px 7px;font-size:11px}
.chevron{width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-left:2px}[aria-expanded="true"] .chevron{transform:rotate(225deg)}
#feedCount{min-width:3.4ch;text-align:center;font-variant-numeric:tabular-nums}
.feed-sort{gap:5px;padding:0 12px 8px;background:white}.feed-sort button{display:flex;gap:3px;justify-content:center;align-items:center;background:var(--soft);color:#49524c;border-radius:7px;width:36px;height:28px}.feed-sort svg{width:16px;height:16px}.feed-sort i{font:700 10px Arial}.feed-sort button[aria-pressed="true"]{background:#daf6b1;color:#263a16}
#feedList{display:grid;align-content:start;flex:1;gap:6px;border-top:1px solid var(--edge);padding:7px;min-height:0;overflow:auto;scrollbar-width:thin}
#feedList p{font-size:12px;color:var(--muted);padding:3px 7px}#feedList button{display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:auto auto auto;column-gap:8px;align-items:center;text-align:left;width:100%;padding:10px 11px;background:white;border:1px solid #e3e6e0;border-radius:12px}
#feedList button:hover,#feedList button[aria-pressed="true"]{border-color:#90b660}#feedList img{grid-column:1;grid-row:1/3}.feed-route{grid-column:2;grid-row:1/3;min-width:0}.feed-route>*{display:block}.feed-route b{font-size:12px}.feed-route small{font-size:10px;color:var(--muted);margin-top:3px}
.feed-quote{display:contents}.feed-quote strong{grid-column:1/3;grid-row:3;font:800 24px/1 Arial,sans-serif;letter-spacing:-1.1px;padding-top:6px}.feed-quote small{grid-column:3;font-size:10px;font-weight:600;text-align:right}.feed-quote small:nth-child(2){grid-row:1}.feed-quote small:nth-child(3){grid-row:2}
.feed-open{grid-column:3;grid-row:3;justify-self:end;align-self:end;background:#e5f7cd;color:#2c4119;font-size:10px;font-weight:650;padding:4px 8px;border-radius:6px}
@media(max-width:760px){
  .order-column{--rail-top:10px;--rail-bottom:92px;right:10px;width:clamp(195px,51vw,280px)}
  .dispatch{--dispatch-inset:10px}.rider{margin:6px 0}.rider img{width:32px;height:32px}
  .itinerary{gap:4px 6px}.itinerary div span{font-size:12px}
  .ticket-actions button{padding:5px}.feed-sort{padding-left:8px}#feedToggle{padding:9px 10px;font-size:12px}
  #feedList button{grid-template-columns:24px minmax(0,1fr) auto;column-gap:4px;padding:6px}#feedList img{width:24px;height:24px}
}
@media(max-width:480px){
  .order-column{width:clamp(215px,58vw,235px)}.place{max-width:calc(100vw - clamp(215px,58vw,235px) - 30px)}
  .itinerary small{font-size:10px}.ticket-actions button{font-size:12px}#bidRisk{margin-bottom:3px}
  .feed-quote small{font-size:9px}.feed-route small{font-size:9px}
}
@media(max-height:540px) and (min-width:550px){
  .order-column{--rail-top:6px;--rail-bottom:8px;right:8px;width:clamp(225px,31vw,310px)}
  .dispatch{max-height:calc(var(--rail-height) - 128px);--dispatch-inset:8px}.rider{margin:4px 0}
  .rider img{width:26px;height:26px}.itinerary{row-gap:2px}.ticket-actions,#bargain{margin-top:4px}
  .feed-sort{padding-bottom:4px}#feedToggle{padding:7px 10px}
}
@media(pointer:coarse){
  .order-column{--rail-bottom:var(--hud-height)}
  .feed-sort button{height:36px;width:38px}.ticket-actions button{min-height:44px}
}

@media (min-width:761px) and (max-height:850px), (min-width:550px) and (max-height:540px){
  .order-column{--feed-room:clamp(152px,29.5dvh,245px)}
  .order-column:has(#feedBody:not([inert])) .dispatch{
    max-height:max(128px,calc(var(--rail-height) - var(--feed-room) - 8px));
    --dispatch-inset:12px;
  }
  .order-column:has(#feedBody:not([inert])) .minimap{
    max-height:clamp(74px,calc(var(--rail-height) - var(--feed-room) - 265px),225px);
  }
  #feedToggle{padding:8px 12px}.feed-sort{padding:0 10px 6px}
  #feedList{gap:4px;padding:5px}
  #feedList button{grid-template-columns:28px minmax(0,1fr) max-content;grid-template-rows:auto auto auto;gap:0 7px;padding:4px 9px}
  #feedList img{width:28px;height:28px}
  .feed-route{grid-column:2;grid-row:1/3}.feed-route small{margin-top:1px}
  .feed-quote strong{grid-column:3;grid-row:1;font-size:17px;text-align:right;padding:0}
  .feed-quote small{line-height:1.1}.feed-quote small:nth-child(2){grid-row:2}.feed-quote small:nth-child(3){grid-row:3}
  .feed-open{display:none}
  .dispatch .rider{margin:5px 0}.dispatch .rider img{height:29px;width:29px}
  .dispatch #bargain,.dispatch .ticket-actions{margin-top:4px}
  .dispatch #bidOptions button{padding:2px}.dispatch #bidRisk{margin-bottom:2px}
  .dispatch .itinerary{row-gap:2px}.dispatch .availability button{padding-block:4px}
  .dispatch .ticket-actions button{min-height:34px}
}

.order-column .dispatch.panel:has(#dispatchBody[hidden]){
  height:var(--island-height);min-height:var(--island-height);flex:none;padding-block:0;
}
@media(max-width:480px){
  .order-column{--heading-size:12px}.ticket-head,.job-heading{gap:2px}
  .availability button{padding-inline:4px}.availability{padding:2px}
  .ticket-head{padding-inline:6px}
  #dispatchMap{padding:0}
}

@media(max-width:670px), (pointer:coarse) and (max-width:1024px){
  .order-column{
    --panel-margin:clamp(8px,2.5vw,12px);
    left:calc(env(safe-area-inset-left) + var(--panel-margin));right:calc(env(safe-area-inset-right) + var(--panel-margin));width:auto;
    --rail-top:10px;--rail-bottom:var(--hud-height,166px);gap:8px;
    --heading-size:16px;--heading-icon:18px;
  }
  .order-column>.panel{border-radius:12px}
  .ticket-head,#feedToggle{padding-inline:13px}
  .ticket-head{gap:5px}.job-heading{gap:5px}
  #tripToggle #jobLabel{max-width:100%}
  .availability{flex:none;padding:3px}
  .availability button{min-height:30px;padding:5px 8px;font-size:12px}
  #fare{font-size:clamp(25px,6.7vw,29px)}
  #bidOptions b{font-size:17px}
  #bidOptions small{font-size:12px}
  .dispatch #bidOptions button{min-height:44px}
  .itinerary{--address-line:18px;grid-template-columns:8px minmax(0,1fr) auto;gap:4px 8px}
  .itinerary div{align-items:start}
  .itinerary div span,.itinerary small{line-height:var(--address-line)}
  .itinerary i{width:8px;height:8px;margin-top:calc((var(--address-line) - 8px)/2)}
  .order-column .dispatch.panel{--dispatch-inset:13px;flex:0 1 auto;max-height:min(62dvh,calc(var(--rail-height) - var(--island-height) - 8px))}
  .order-column .dispatch .minimap{height:clamp(170px,28dvh,275px);max-height:none}
  .order-column:has(#feedBody:not([inert])) .dispatch{max-height:calc(var(--rail-height) - min(32dvh,210px))}
}
@media(pointer:coarse) and (orientation:landscape) and (max-width:1024px){
  .order-column{--island-height:38px}
  .order-column .dispatch.panel{max-height:calc(var(--rail-height) - 42px)}
  #dispatchBody{display:grid;grid-template-columns:minmax(150px,2fr) 3fr;gap:12px;align-items:start}
  .order-column .dispatch .minimap{grid-area:auto;align-self:start;height:clamp(105px,31dvh,165px);margin:4px 0}
  .dispatch-content:has(#tripClock:not([hidden])) #dispatchBody{padding-bottom:4px}
  .order-column:has(#feedBody:not([inert])) .dispatch{max-height:calc(var(--rail-height) - 136px)}
}

@media(max-width:670px), (pointer:coarse) and (orientation:landscape) and (max-height:600px){
  body.active-order{--header:0px}
  body.active-order>header,body.active-order .order-column>.feed{display:none}
  body.active-order .order-column{--rail-top:calc(10px + env(safe-area-inset-top))}
  body.active-order .order-column .dispatch.panel{max-height:min(46dvh,var(--rail-height))}
}
