/* v58: Cancel trip — quiet secondary action + confirm pop-up (bottom sheet on phone, centered modal on desktop) */
.tmcx-btn{-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:12px;border:1.5px solid #E5E2DC;background:#fff;color:#D93025;font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;flex:none;line-height:1;letter-spacing:0;word-spacing:normal}
.tmcx-btn:hover{border-color:#D93025;background:#FDF3F2}
.tmcx-btn:focus-visible{outline:2px solid #D93025;outline-offset:2px}
/* home card, desktop: Cancel trip sits left of Continue */
.nh-body .dkc-acts{display:inline-flex;align-items:center;gap:10px;flex:none}
/* home card, phone: a quiet text action under the progress bar */
.tmcx-row{display:flex;margin-top:6px}
.nh-body .nh-cp .tmcx-btn{border:0;background:none;padding:0 2px;min-height:44px;margin:-6px 0 -12px;font-size:14px}
.nh-body .nh-cp .tmcx-btn:hover{background:none;text-decoration:underline}
/* My trips */
.tmcx-h{font-size:17px;margin:18px 0 10px}
.tmcx-pl{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:12px;flex-wrap:wrap}
.tmcx-pa{display:flex;align-items:center;gap:12px;flex:1;min-width:180px;text-decoration:none;color:var(--ink,#1A1A1A)}
.tmcx-pa img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none}
.tmcx-pa span{display:flex;flex-direction:column;gap:3px;min-width:0}
.tmcx-pa b{font-size:16px}.tmcx-pa small{font-size:13px;color:var(--ink-2,#595959)}
.tmcx-acts{display:flex;gap:10px;align-items:center;margin-left:auto}
.tmcx-go{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:12px;background:var(--accent,#0A6C86);color:#fff!important;font-weight:700;font-size:15px;text-decoration:none}
.tmcx-go:hover{background:#085a70}
.acgb .tmcx-row{margin-top:8px}
.tmcx-was{color:#D93025!important;font-weight:600}
.actrip .tmcx-btn{margin-left:8px}
/* trip page + checkout: under the price box */
.tmcx-side{display:flex;justify-content:center;margin:12px 0 4px}
.tmcx-side .tmcx-btn{width:100%;background:transparent}
/* the confirm pop-up */
.tmcx-ov{position:fixed;inset:0;z-index:10050;background:rgba(16,32,40,.45);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .2s ease}
.tmcx-ov.on{opacity:1}
.tmcx-dlg{background:#fff;border-radius:20px;width:100%;max-width:420px;padding:24px;box-shadow:0 18px 48px rgba(16,32,40,.22);transform:translateY(8px) scale(.98);transition:transform .22s ease;font-family:"Plus Jakarta Sans","Heebo",-apple-system,sans-serif;color:var(--ink,#1A1A1A);box-sizing:border-box}
.tmcx-ov.on .tmcx-dlg{transform:none}
.tmcx-grab{display:none}
.tmcx-dlg h2{margin:0 0 8px;font-size:20px;font-weight:800;line-height:1.25}
.tmcx-dlg p{margin:0 0 20px;font-size:15px;line-height:1.5;color:var(--ink-2,#595959)}
.tmcx-btns{display:flex;gap:10px;justify-content:flex-end}
.tmcx-btns button{-webkit-appearance:none;appearance:none;min-height:48px;padding:0 20px;border-radius:12px;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.tmcx-keep{background:#fff;color:var(--accent,#0A6C86);border:1.5px solid var(--accent,#0A6C86)}
.tmcx-keep:hover{background:var(--accent-tint,#E6F1F4)}
.tmcx-yes{background:#D93025;color:#fff;border:1.5px solid #D93025}
.tmcx-yes:hover{background:#B8261C;border-color:#B8261C}
.tmcx-btns button:focus-visible{outline:2px solid var(--accent,#0A6C86);outline-offset:2px}
@media (min-width:761px){.tmcx-ph{display:none!important}}
@media (max-width:760px){
 .tmcx-ov{align-items:flex-end;padding:0}
 .tmcx-dlg{max-width:none;border-radius:20px 20px 0 0;padding:12px 20px calc(20px + env(safe-area-inset-bottom));transform:translateY(100%)}
 .tmcx-ov.on .tmcx-dlg{transform:none}
 .tmcx-grab{display:block;width:40px;height:4px;border-radius:99px;background:#E5E2DC;margin:0 auto 16px}
 .tmcx-btns{flex-direction:column-reverse}
 .tmcx-btns button{width:100%}
 .tmcx-acts{width:100%;margin-left:0}.tmcx-acts>*{flex:1}
}
[dir=rtl] .tmcx-acts{margin-left:0;margin-right:auto}
[dir=rtl] .actrip .tmcx-btn{margin-left:0;margin-right:8px}
@media (prefers-reduced-motion:reduce){.tmcx-ov,.tmcx-dlg{transition:none}}

/* v60 option B (phone only): Cancel trip on the progress-bar row; the card keeps its v57 height */
.tmcx-lnk{-webkit-appearance:none;appearance:none;flex:none;border:0;background:none;color:#D93025;font:inherit;font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;line-height:18px;cursor:pointer;min-height:44px;padding:13px 10px;margin:-13px -10px;border-radius:10px}
.tmcx-lnk:hover{text-decoration:underline}
.tmcx-lnk:focus-visible{outline:2px solid #D93025;outline-offset:-6px}
.tmcx-barrow{display:flex!important;align-items:center;gap:14px;height:6px;margin-top:8px}
.tmcx-barrow .nh-bar{flex:1;min-width:0;margin:0!important}
.tmcx-barrow .tmcx-lnk{margin:-19px -10px -19px 0}
