.pr-dialog.pr-trip-panel[open]{display:flex;flex-direction:column;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);height:auto;background:#171f2d;color:#f1f5ff;border-color:#344159;overflow:hidden}
.pr-trip-panel .pr-dialog-head{background:#171f2d;color:inherit;border-color:#344159;flex:none}
.pr-trip-panel .pr-dialog-head h2,.pr-trip-panel .pr-dialog-head button{color:inherit}
.pr-trip-panel .pr-dialog-body{padding:0;overflow:auto;overscroll-behavior:contain}
.pr-trip-panel .pr-trip-map{height:clamp(210px,38dvh,370px);background:#112958;isolation:isolate}
.pr-vector-map{height:100%;width:100%;border-radius:inherit;overflow:hidden}
.pr-trip-panel .pr-trip-marker{background:none;border:0}.pr-trip-panel .pr-trip-marker svg{width:48px;height:48px}
.pr-trip-panel .pr-trip-marker b{display:grid;place-items:center;border:2px solid white;border-radius:50%;height:30px;width:30px;font:700 14px system-ui;color:white;background:#3153af}
.pr-trip-panel .pr-trip-marker b.drop{background:#a92566}
.pr-trip-panel .pr-trip-gcash{margin:12px 0;border:1px solid #536784;border-radius:10px;background:#25324a;color:#f1f5ff}
.pr-trip-panel .pr-trip-gcash summary{padding:12px;font-weight:700;cursor:pointer}
.pr-trip-panel .pr-trip-gcash-body{display:grid;gap:8px;padding:0 12px 12px}
.pr-trip-panel .pr-trip-gcash-body p{margin:0;color:#d6e3fa;font-size:13px}
.pr-trip-panel [data-gcash-status]:empty{display:none}
.pr-trip-panel .pr-trip-gcash-frame{position:relative;width:min(100%,280px);justify-self:center;border-radius:8px;background:white;overflow:hidden}
.pr-trip-panel .pr-trip-gcash-frame img{display:block;width:100%;height:auto}
.pr-trip-panel .pr-trip-gcash-frame.is-focused{aspect-ratio:1}
/* Show a 400 × 400 region of the original GCash card while preserving its white margin. */
.pr-trip-panel .pr-trip-gcash-frame.is-focused img{position:absolute;width:195.25%;max-width:none;left:-46.75%;top:-109.25%}
.pr-trip-panel .pr-trip-gcash [data-gcash-view]{justify-self:center}
.pr-trip-panel .pr-trip-gcash [hidden]{display:none}
.pr-trip-panel .pr-trip-gcash-state{margin:12px 0;padding:12px;border-radius:10px;background:#25324a;color:#f1f5ff}
.pr-trip-panel .pr-trip-info,.pr-trip-panel .pr-trip-map-note{padding:0 16px;margin:10px 0;color:#bfcee6;font-size:13px}
.pr-trip-panel [data-live-jobs]{padding:0 16px 16px}
.pr-trip h3,.pr-trip p{overflow-wrap:anywhere}
.pr-trip-panel .pr-trip-select{min-height:40px;padding:5px 12px;background:#25324a;color:#f1f5ff;border:1px solid #536784;border-radius:20px;font:inherit}
.pr-trip-panel .pr-trip-select{max-width:67%;border-radius:10px}
.pr-trip-panel .pr-trip-pay{margin:14px 0;border-block:1px solid #344159;padding:12px 0;display:grid;gap:2px;color:#c4d3e8;font-size:13px}
.pr-trip-panel .pr-trip-pay strong{font-size:28px;color:#79ed9e}
.pr-trip-panel .pr-trip-stop{display:grid;grid-template-columns:24px 1fr;gap:9px;padding-block:8px}
.pr-trip-panel .pr-trip-stop>span{font-weight:800;color:#c6d8fd}
.pr-trip-panel .pr-trip-stop p{color:#bfcee6;font-size:13px;margin:4px 0}
.pr-trip-panel .pr-trip-stop a,.pr-trip-panel .pr-trip-links a{color:#b8d7ff;text-decoration:underline;text-underline-offset:3px}
.pr-trip-panel .pr-trip-links{display:flex;gap:15px;flex-wrap:wrap;margin:10px 0}
.pr-dialog.pr-trip-panel[open] .btn.s{background:#25324a;color:#f1f5ff;border-color:#536784}
.pr-dialog.pr-trip-panel[open] .btn.p{background:#087f32;color:white;border:1px solid #49ba70}
.pr-trip button:disabled{opacity:.65}
.pr-trip-panel .pr-trip-tools{display:grid;gap:8px;margin:10px 0}
.pr-trip-panel .pr-trip-tools form{display:grid;gap:8px;padding:10px;border:1px solid #536784;border-radius:10px}
.pr-trip-panel .pr-trip-tools textarea{width:100%;min-height:54px;padding:8px;color:#fff;background:#25324a;border:1px solid #536784;border-radius:8px;font:inherit}
.pr-trip-panel .pr-trip-photo{display:block;width:90px;max-height:85px;object-fit:cover;border-radius:8px}
@media(max-width:600px){.pr-dialog.pr-trip-panel[open]{inset:0;margin:0;width:100%;max-width:none;max-height:100dvh;height:100dvh;border:0;border-radius:0}.pr-trip-panel .pr-dialog-body{flex:1}.pr-trip-panel .pr-trip-map{height:clamp(205px,39dvh,330px)}}
.pr-trip-panel .pr-trip-locate{position:absolute;top:68px;left:12px;z-index:510;min-height:36px}
.pr-trip-panel .pr-trip-locate[hidden]{display:none}
.pr-trip-panel .pr-trip-rider{z-index:1}

.pr-trip-panel .pr-trip-controls{padding:10px 16px max(12px,env(safe-area-inset-bottom));background:#171f2d;border-top:1px solid #344159;flex:none}
.pr-trip-panel .pr-trip-controls p{font-size:13px;margin:0 0 8px;color:#bfcee6}
.pr-trip-panel .pr-trip-controls button{min-height:46px}
.pr-trip-panel .pr-trip-info:empty{display:none}
.pr-trip-panel .pr-dispatch-empty{padding:16px 0 4px}
.pr-trip-panel .pr-dispatch-empty p{margin-top:6px;color:#bfcee6}
.pr-trip-panel .pr-dispatch-actions{display:grid;gap:10px;grid-template-columns:1fr 2.5fr}
.pr-trip-panel .pr-dispatch-offer .pr-payout{background:none;border:0;color:inherit;padding:0;margin:0}
.pr-trip-panel .pr-dispatch-offer .pr-payout span{color:#bfcee6}
.pr-trip-panel .pr-dispatch-offer .pr-cod{margin:0;color:#79ed9e;font-size:24px;font-weight:800}
.pr-reopen-map{margin-top:12px}
