/* ===== CabHub 3 – floating-sheet design ===== */
.cabhub { --p: var(--cabhub-primary, #0f766e); --p2: var(--cabhub-secondary, #0891b2); --pt: var(--cabhub-on-primary, #fff); max-width: 1100px; margin: 0 auto; font-family: inherit; position: relative; box-sizing: border-box; color: #111827; }
.cabhub *, .cabhub *::before, .cabhub *::after { box-sizing: border-box; }
.cabhub-wide { max-width: 1280px; }

/* top bar */
.cabhub-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 2px 10px; }
.cabhub-brand { font-weight: 800; font-size: 20px; letter-spacing: -.3px; background: linear-gradient(135deg, var(--p), var(--p2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cabhub-user { font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cabhub-user a { color: inherit; text-decoration: underline; }
.cabhub-signout { font-weight: 700; color: #dc2626 !important; text-decoration: none !important; border: 1px solid #fecaca; padding: 4px 12px; border-radius: 999px; }
.cabhub-lang { padding: 4px 10px; border-radius: 999px; border: 1px solid #d1d5db; background: #fff; font-size: 13px; }

/* stage: full-height map with a floating sheet on top */
.cabhub-stage { position: relative; height: calc(100vh - 120px); height: calc(100dvh - 120px); min-height: 560px; border-radius: 26px; overflow: hidden; background: #e5e7eb; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.cabhub-mapwrap { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
#cabhub-map { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
#cabhub-panel { position: absolute; z-index: 600; left: 10px; right: 10px; bottom: 10px; max-height: 72%; overflow-y: auto; background: #fff; border-radius: 24px; padding: 8px 16px 16px; box-shadow: 0 8px 30px rgba(0,0,0,.22); -webkit-overflow-scrolling: touch; }
.cabhub .grab { width: 44px; height: 5px; background: #d1d5db; border-radius: 3px; margin: 4px auto 10px; }
@media (min-width: 860px) {
	#cabhub-panel { left: 16px; right: auto; top: 16px; bottom: 16px; width: 410px; max-height: none; }
	.cabhub-stage #cabhub-navbar { left: 444px; }
}

.cabhub h3 { margin: 0 0 6px; font-size: 20px; }
.cabhub h4 { margin: 14px 0 6px; font-size: 15px; }
.cabhub .hello { font-size: 24px; font-weight: 800; margin: 2px 0 6px; letter-spacing: -.4px; }
.cabhub label { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; }
.cabhub input:not([type=radio]):not([type=checkbox]):not([type=file]), .cabhub select, .cabhub textarea { width: 100%; padding: 11px 13px; border: 1px solid #d1d5db; border-radius: 14px; font-size: 15px; background: #fff; color: inherit; }
.cabhub .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cabhub .row.between { justify-content: space-between; }
.cabhub .hint, .cabhub small { color: #6b7280; font-size: 13px; }
.cabhub .hint { margin: 6px 0; }
.cabhub .ok { color: #047857; font-weight: 600; }
.cabhub .lbl { font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
.cabhub .meta { font-size: 13px; color: #6b7280; margin: 8px 0 4px; }

/* route pills */
.cabhub .route { margin: 6px 0; }
.cabhub .pill { display: flex; align-items: center; gap: 8px; background: #f3f4f6; border-radius: 16px; padding: 4px 8px 4px 10px; margin: 8px 0; }
.cabhub .pill input:not([type=radio]):not([type=checkbox]) { flex: 1; width: auto; border: 0; background: transparent; padding: 10px 4px; font-size: 16px; outline: none; }
.cabhub .lab { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--pt); background: var(--p); border-radius: 8px; padding: 4px 8px; white-space: nowrap; }
.cabhub .lab.to { background: #f97316; color: #fff; }

/* chips + buttons */
.cabhub .chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 6px 0; }
.cabhub button, .cabhub .btn { display: inline-block; padding: 10px 16px; border: 1px solid #d1d5db; border-radius: 999px; background: #fff; cursor: pointer; font-size: 15px; text-decoration: none; color: inherit; margin: 6px 6px 0 0; font-family: inherit; }
.cabhub .chip { padding: 8px 14px; margin: 0; font-size: 14px; }
.cabhub .chip.on { background: var(--p); color: var(--pt); border-color: var(--p); }
.cabhub .ib { padding: 8px 12px; margin: 0; font-size: 14px; background: #f3f4f6; border-color: #e5e7eb; }
.cabhub .ib.sm { padding: 6px 10px; }
.cabhub button.primary, .cabhub .btn.primary { background: var(--p); border-color: var(--p); color: var(--pt); font-weight: 700; }
.cabhub .cta { display: block; width: 100%; margin: 14px 0 4px; padding: 15px 18px; border: 0; border-radius: 18px; background: linear-gradient(135deg, var(--p), var(--p2)); color: var(--pt); font-size: 17px; font-weight: 800; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.cabhub button.danger { background: #fff; border-color: #dc2626; color: #dc2626; }
.cabhub button.primary.danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.cabhub button[disabled] { opacity: .5; cursor: default; }
.cabhub .pillbtn { margin: 0; padding: 9px 18px; }

/* vehicle carousel */
.cabhub .vcs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 10px; margin: 0 -2px; }
.cabhub label.vc { flex: 0 0 108px; scroll-snap-align: start; margin: 0; position: relative; text-align: center; padding: 12px 8px; border: 2px solid #e5e7eb; border-radius: 20px; cursor: pointer; background: #fff; display: flex; flex-direction: column; gap: 2px; font-weight: 500; }
.cabhub label.vc input { position: absolute; opacity: 0; pointer-events: none; }
.cabhub label.vc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 18px; background: var(--p); opacity: 0; transition: opacity .15s; }
.cabhub label.vc.on { border-color: var(--p); }
.cabhub label.vc.on::before { opacity: .09; }
.cabhub .vc > * { position: relative; }
.cabhub .vc .vi { font-size: 34px; line-height: 1.1; }
.cabhub .vc b { font-size: 14px; }
.cabhub .vc em { font-style: normal; font-weight: 800; font-size: 15px; }

/* solo / pool + seats */
.cabhub .seg2 { display: flex; background: #f3f4f6; border-radius: 16px; padding: 4px; margin: 8px 0; }
.cabhub .seg2 button { flex: 1; margin: 0; border: 0; background: transparent; border-radius: 12px; padding: 10px 6px; font-weight: 700; }
.cabhub .seg2 button.on { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); color: var(--p); }
.cabhub .seg2 small { display: block; font-weight: 500; }
.cabhub .stepper { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.cabhub .stepper span { flex: 1; font-weight: 600; font-size: 14px; }
.cabhub .stepper button { width: 38px; height: 38px; padding: 0; margin: 0; border-radius: 50%; font-size: 20px; line-height: 1; }
.cabhub .stepper b { min-width: 22px; text-align: center; font-size: 18px; }
.cabhub label.chk { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 10px 0; }

/* progress steps */
.cabhub .steps { display: flex; margin: 6px 0 12px; }
.cabhub .stp { flex: 1; text-align: center; position: relative; font-size: 11px; color: #9ca3af; }
.cabhub .stp i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #e5e7eb; margin: 0 auto 4px; position: relative; z-index: 1; }
.cabhub .stp::before { content: ''; position: absolute; top: 5px; left: -50%; width: 100%; height: 4px; background: #e5e7eb; }
.cabhub .stp:first-child::before { display: none; }
.cabhub .stp.done i, .cabhub .stp.now i, .cabhub .stp.done::before, .cabhub .stp.now::before { background: var(--p); }
.cabhub .stp.now { color: #111827; font-weight: 700; }
.cabhub .stp.now i { box-shadow: 0 0 0 5px rgba(0,0,0,.08); }

/* searching radar */
.cabhub .radar { position: relative; height: 130px; display: flex; align-items: center; justify-content: center; }
.cabhub .radar i { position: absolute; width: 64px; height: 64px; border: 2px solid var(--p); border-radius: 50%; opacity: 0; animation: cabhub-rad 2.4s infinite; }
.cabhub .radar i:nth-child(2) { animation-delay: .8s; }
.cabhub .radar i:nth-child(3) { animation-delay: 1.6s; }
.cabhub .radar span { font-size: 34px; position: relative; }
@keyframes cabhub-rad { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.3); opacity: 0; } }

/* cards */
.cabhub .card, .cabhub-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 12px; margin: 10px 0; }
.cabhub .card.warn { background: #fffbeb; border-color: #f59e0b; }
.cabhub .card.ok { background: #ecfdf5; border-color: #10b981; }
.cabhub .card.pin { text-align: center; background: #f0fdfa; border-color: var(--p); }
.cabhub .digits { display: flex; gap: 10px; justify-content: center; margin: 8px 0; }
.cabhub .digits b { width: 54px; height: 66px; border-radius: 14px; background: #fff; border: 2px solid var(--p); font-size: 36px; display: flex; align-items: center; justify-content: center; }
.cabhub .card.drv { display: flex; gap: 12px; align-items: center; }
.cabhub .card.drv .di { flex: 1; min-width: 0; }
.cabhub .av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--p2)); color: var(--pt); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; flex: 0 0 48px; }
.cabhub .plate { display: inline-block; background: #fff; border: 2px solid #111827; border-radius: 6px; padding: 1px 8px; font-weight: 800; letter-spacing: 1px; font-family: monospace; margin-top: 3px; }
.cabhub .trip { border-left: 3px dashed var(--p); padding-left: 10px; margin: 10px 0; }
.cabhub .trip > div { margin: 6px 0; font-size: 14px; }
.cabhub .trip small { display: block; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .5px; }
.cabhub .fare-line { margin: 6px 0; }
.cabhub .fare-line b { font-size: 22px; }
.cabhub .pay-amt { font-size: 32px; font-weight: 800; }
.cabhub .qr { display: block; margin: 8px 0; max-width: 190px; }
.cabhub .note { background: #f9fafb; padding: 8px; border-radius: 10px; font-size: 14px; }
.cabhub .empty { text-align: center; padding: 24px 8px; font-size: 40px; color: #9ca3af; }
.cabhub .empty p { font-size: 14px; margin: 4px 0 0; }
.cabhub details.safety { margin: 12px 0; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 16px; background: #f9fafb; }
.cabhub details.safety summary { cursor: pointer; font-weight: 700; }
.cabhub details.safety input:not([type=checkbox]) { margin-top: 8px; }

/* driver */
.cabhub .drv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cabhub .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #9ca3af; margin-right: 8px; }
.cabhub .dot.on { background: #22c55e; box-shadow: 0 0 0 5px rgba(34,197,94,.25); }
.cabhub .req .price { font-weight: 800; font-size: 18px; }
.cabhub .pinrow { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.cabhub .pinrow span { font-size: 13px; font-weight: 600; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cabhub .pinrow input { flex: 1; text-align: center; letter-spacing: 4px; font-size: 18px !important; }
.cabhub .pinrow button { margin: 0; }

/* map overlays */
.cabhub-pin span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; font-size: 22px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
#cabhub-navbar { position: absolute; top: 10px; left: 10px; right: 56px; z-index: 500; background: #111827; color: #fff; border-radius: 18px; padding: 10px 14px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
#cabhub-navbar .nb-main { display: flex; gap: 12px; align-items: center; font-size: 17px; }
#cabhub-navbar .nb-arrow { font-size: 36px; }
#cabhub-navbar .nb-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; flex-wrap: wrap; }
#cabhub-navbar button { background: #374151; color: #fff; border: 0; padding: 6px 12px; border-radius: 999px; margin-left: 6px; cursor: pointer; }
.cabhub .cabhub-fsbtn { width: 34px; height: 34px; padding: 0; margin: 6px 0 0; background: #fff; border: 2px solid rgba(0,0,0,.25); border-radius: 4px; font-size: 18px; line-height: 30px; cursor: pointer; color: #111; }
body.cabhub-noscroll { overflow: hidden; }
.cabhub-fullhost { position: fixed; top: 0; left: 0; right: 0; bottom: 0; max-width: none; margin: 0; z-index: 99990; background: #fff; }
.cabhub-fullhost .cabhub-mapwrap { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.cabhub-fullhost #cabhub-navbar { top: calc(10px + env(safe-area-inset-top, 0px)); }
.cabhub-fullhost .leaflet-top { margin-top: env(safe-area-inset-top, 0px); }
#cabhub-mapctl { display: none; position: absolute; left: 0; right: 0; bottom: 0; z-index: 700; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 20px rgba(0,0,0,.3); padding: 12px 14px calc(8px + env(safe-area-inset-bottom, 0px)); max-height: 60%; overflow-y: auto; }
#cabhub-mapctl .mc-info { margin-bottom: 8px; font-size: 15px; }
#cabhub-mapctl .mc-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
#cabhub-mapctl .mc-big { flex: 1 1 100%; font-size: 19px; padding: 17px; margin: 4px 0 0; }
#cabhub-mapctl .mc-attr { margin-top: 6px; font-size: 10px; color: #6b7280; text-align: right; }
#cabhub-done { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 900; background: rgba(255,255,255,.97); align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.dn-card { width: 100%; max-width: 420px; text-align: center; }
.dn-check { width: 86px; height: 86px; border-radius: 50%; background: linear-gradient(135deg, var(--cabhub-primary, #0f766e), var(--cabhub-secondary, #0891b2)); color: var(--cabhub-on-primary, #fff); font-size: 50px; line-height: 86px; margin: 0 auto 10px; }
.dn-check.sm { width: 48px; height: 48px; line-height: 48px; font-size: 28px; margin-bottom: 6px; }
.dn-card h2 { margin: 0 0 4px; }
.dn-total { font-size: 42px; font-weight: 800; }
.dn-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid #e5e7eb; text-align: left; }
.cabhub-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #111; color: #fff; padding: 11px 18px; border-radius: 999px; z-index: 100000; max-width: 90%; font-size: 14px; }

/* notices, auth, profile */
.cabhub-note { padding: 16px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 16px; }
.cabhub-err { background: #fee2e2; color: #991b1b; padding: 10px 12px; border-radius: 12px; margin: 8px 0; }
.cabhub-auth { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 900px; }
.cabhub-auth .cabhub-err { grid-column: 1 / -1; }
.cabhub-auth .cabhub-box input:not([type=checkbox]) { width: 100%; padding: 11px; border: 1px solid #d1d5db; border-radius: 14px; }
.cabhub-auth .cabhub-box input[type=submit], .cabhub-auth .cabhub-box button.primary { background: linear-gradient(135deg, var(--cabhub-primary, #0f766e), var(--cabhub-secondary, #0891b2)); color: var(--cabhub-on-primary, #fff); border: 0; padding: 12px 18px; border-radius: 999px; font-weight: 800; cursor: pointer; }
.cabhub-box { padding: 16px; border-radius: 22px; }
.cabhub-profile .cabhub-box { max-width: 680px; }
.cabhub-profile input[type=file] { width: 100%; padding: 6px 0; }
.cabhub-profile .primary { background: linear-gradient(135deg, var(--cabhub-primary, #0f766e), var(--cabhub-secondary, #0891b2)); color: var(--cabhub-on-primary, #fff); border: 0; padding: 13px 20px; border-radius: 999px; font-weight: 800; cursor: pointer; }

/* in-site admin panel */
.cabhub-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; border-bottom: 2px solid #e5e7eb; }
.cabhub-tabs a { padding: 9px 14px; text-decoration: none; color: inherit; border-radius: 12px 12px 0 0; font-weight: 600; }
.cabhub-tabs a.on { background: var(--p); color: var(--pt); }
.cabhub-admin-body h2 { margin: 18px 0 8px; font-size: 18px; }
.cabhub-cards { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.cabhub-card { background: #fff; border: 1px solid #ccd0d4; border-radius: 14px; padding: 12px 16px; min-width: 150px; }
.cabhub-card b { display: block; font-size: 26px; line-height: 1.2; }
.cabhub-card small { color: #646970; }
.cabhub-scroll { overflow-x: auto; }
.cabhub-admin table.widefat { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.cabhub-admin table.widefat th, .cabhub-admin table.widefat td { padding: 8px 10px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.cabhub-admin table.widefat thead th { background: #f3f4f6; }
.cabhub-admin table.striped tbody tr:nth-child(odd) { background: #fafafa; }
.cabhub-admin .button { display: inline-block; padding: 6px 12px; border: 1px solid #cfd4da; border-radius: 8px; background: #fff; color: #111; cursor: pointer; text-decoration: none; font-size: 13px; margin: 2px 4px 2px 0; }
.cabhub-admin .button-primary { background: var(--p); border-color: var(--p); color: var(--pt); font-weight: 700; }
.cabhub-admin .notice { padding: 10px 14px; background: #ecfdf5; border-left: 4px solid #10b981; margin: 8px 0 14px; }
.cabhub-admin input:not([type=checkbox]):not([type=file]), .cabhub-admin select, .cabhub-admin textarea { padding: 6px 8px; border: 1px solid #cfd4da; border-radius: 8px; font-size: 13px; width: auto; max-width: 100%; }
.cabhub-admin .form-table th { text-align: left; padding: 8px 12px 8px 0; width: 340px; font-weight: 600; }
.cabhub-admin .regular-text { width: 280px; }
#cabhub-admin-map { z-index: 0; border-radius: 12px; }
.wrap.cabhub-admin .cabhub-cards { margin-top: 4px; }

@media (min-width: 860px) {
	.cabhub-auth { grid-template-columns: 1fr 1fr; }
}

/* ===== v3.1: map-first, full-page app mode ===== */
.cabhub.cabhub-fullpage { position: fixed; top: 0; left: 0; right: 0; bottom: 0; max-width: none; margin: 0; z-index: 99980; background: #e5e7eb; overflow: hidden; }
.cabhub-fullpage .cabhub-stage { position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: auto; min-height: 0; border-radius: 0; box-shadow: none; }
.cabhub-fullpage .cabhub-fsbtn { display: none; }

/* tiny menu button + small brand name, floating over the map */
.cabhub-top.mini { position: absolute; top: 10px; left: 10px; z-index: 900; display: flex; align-items: center; gap: 8px; padding: 0; margin: 0; border: 0; flex-wrap: nowrap; justify-content: flex-start; }
.cabhub-fullpage .cabhub-top.mini { top: calc(10px + env(safe-area-inset-top, 0px)); }
.cabhub .menu-btn { width: 42px; height: 42px; padding: 0; margin: 0; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.3); font-size: 20px; line-height: 42px; cursor: pointer; color: #111827; }
.cabhub-brand.sm { font-size: 11px; font-weight: 800; letter-spacing: .2px; background: rgba(255,255,255,.9); -webkit-background-clip: border-box; background-clip: border-box; color: #111827; -webkit-text-fill-color: #111827; padding: 4px 10px; border-radius: 999px; box-shadow: 0 1px 6px rgba(0,0,0,.2); }
.cabhub-menu { display: none; position: absolute; top: 60px; left: 10px; z-index: 950; background: #fff; border-radius: 16px; box-shadow: 0 8px 28px rgba(0,0,0,.3); padding: 8px; min-width: 210px; flex-direction: column; gap: 2px; }
.cabhub-fullpage .cabhub-menu { top: calc(60px + env(safe-area-inset-top, 0px)); }
.cabhub-menu.open { display: flex; }
.cabhub-menu a, .cabhub-menu .mu { display: block; padding: 10px 12px; border-radius: 10px; color: #111827; text-decoration: none; font-size: 14px; }
.cabhub-menu a:hover { background: #f3f4f6; }
.cabhub-menu .mu { font-weight: 700; color: #6b7280; padding-bottom: 4px; }
.cabhub-menu .cabhub-lang { margin: 4px 8px; }
.cabhub-menu .cabhub-signout { color: #dc2626; font-weight: 700; border: 0; border-top: 1px solid #f3f4f6; border-radius: 0 0 10px 10px; margin-top: 4px; }

/* slim navigation banner */
#cabhub-navbar, .cabhub-stage #cabhub-navbar { top: calc(60px + env(safe-area-inset-top, 0px)); left: 10px; right: auto; max-width: calc(100% - 70px); width: max-content; min-width: 190px; padding: 6px 10px; border-radius: 14px; }
.cabhub-fullhost #cabhub-navbar { top: calc(60px + env(safe-area-inset-top, 0px)); }
#cabhub-navbar .nb-main { display: flex; align-items: center; gap: 8px; font-size: 14px; }
#cabhub-navbar .nb-arrow { font-size: 24px; line-height: 1; }
#cabhub-navbar .nb-t { flex: 1; min-width: 0; }
#cabhub-navbar .nb-t b { display: block; font-size: 14px; line-height: 1.25; font-weight: 700; }
#cabhub-navbar .nb-t small { display: block; color: #cbd5e1; font-size: 11px; }
#cabhub-navbar .nb-btns { display: flex; gap: 4px; }
#cabhub-navbar .nb-btns button { background: #374151; color: #fff; border: 0; padding: 4px 9px; margin: 0; border-radius: 999px; font-size: 14px; cursor: pointer; }

/* sheet: can be collapsed with its handle; becomes a closed "Details" drawer during a job */
.cabhub .grab { cursor: pointer; }
#cabhub-panel.min > *:not(.grab):not(.hello):not(.drv-head) { display: none; }
#cabhub-panel.drawer { display: none; }
#cabhub-panel.drawer.open { display: block; bottom: 84px; max-height: 68%; }
.cabhub .drv-head #cclose { display: none; margin: 0 0 0 6px; }
#cabhub-panel.drawer .drv-head #cclose { display: inline-block; }
@media (min-width: 860px) {
	#cabhub-panel.drawer.open { top: 16px; bottom: 16px; max-height: none; }
}

/* slim action bar over the map during a ride */
#cabhub-mapctl { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 20px; padding: 8px 10px; max-height: none; overflow: visible; box-shadow: 0 6px 22px rgba(0,0,0,.32); }
#cabhub-mapctl .mc-row { display: flex; align-items: center; gap: 8px; }
#cabhub-mapctl .mc-row + .mc-row, #cabhub-mapctl .pinrow { margin-top: 6px; }
#cabhub-mapctl .mc-info { flex: 1; min-width: 0; margin: 0; }
#cabhub-mapctl .mc-info b { display: block; font-size: 14px; }
#cabhub-mapctl .mc-info small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cabhub-mapctl .mc-act { display: inline-block; flex: 0 0 auto; width: auto; margin: 0; padding: 12px 16px; font-size: 15px; box-shadow: none; white-space: nowrap; }
#cabhub-mapctl .mc-row .mc-act:only-child { width: 100%; }
#cabhub-mapctl .ib { margin: 0; }
#cabhub-mapctl .mc-attr { position: absolute; right: 14px; top: -15px; font-size: 9px; color: #334155; background: rgba(255,255,255,.75); padding: 0 5px; border-radius: 4px; }
@media (min-width: 860px) {
	#cabhub-mapctl { left: auto; right: 16px; width: 480px; bottom: 16px; }
}

/* rider: small card while riding, details behind a button */
.cabhub .rc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cabhub .rc-t b { display: block; font-size: 17px; }
.cabhub .rc-acts { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.cabhub .rc-drv { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; }
.cabhub .rc-drv .di { flex: 1; min-width: 0; }
.cabhub .rc-drv .di small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cabhub .av.sm { width: 36px; height: 36px; flex: 0 0 36px; font-size: 16px; }
.cabhub .code-row { display: flex; align-items: center; gap: 10px; margin: 6px 0; padding: 6px 10px; background: #f0fdfa; border: 1px solid var(--p); border-radius: 14px; }
.cabhub .digits.sm { margin: 0; gap: 6px; }
.cabhub .digits.sm b { width: 34px; height: 42px; font-size: 22px; border-radius: 10px; }
.cabhub .radar.sm { height: 80px; }
.cabhub .radar.sm i { width: 44px; height: 44px; }
.cabhub .radar.sm span { font-size: 26px; }
.cabhub .more { margin-top: 8px; }

/* easier booking */
.cabhub .hello { font-size: 21px; }
.cabhub .sug { display: block; width: 100%; text-align: left; border-radius: 12px; margin: 4px 0 0; font-size: 13px; border: 1px solid #e5e7eb; padding: 9px 12px; }
.cabhub label.vc { flex: 0 0 96px; padding: 10px 6px; }
.cabhub .vc .vi { font-size: 30px; }
#cquote .cta { position: sticky; bottom: 0; }
.cabhub .req .price { text-align: right; }
.cabhub .req .price small { display: block; font-size: 11px; color: #047857; font-weight: 700; }
.cabhub .dn-earn { font-size: 16px; margin: 10px 0 0; }

/* ===== v3.2: Google-style navigation controls ===== */
#cabhub-fabs { position: absolute; right: 10px; bottom: 96px; z-index: 650; display: flex; flex-direction: column; gap: 10px; }
.cabhub .fab { width: 50px; height: 50px; border-radius: 50%; padding: 0; margin: 0; background: #fff; border: 0; box-shadow: 0 3px 12px rgba(0,0,0,.35); font-size: 24px; line-height: 50px; cursor: pointer; color: #111827; }
.cabhub .fab.primary { background: var(--p); color: var(--pt); }
#cabhub-navbar { background: rgba(17,24,39,.9); cursor: pointer; }
#cabhub-navbar.compact { min-width: 0; padding: 4px 10px; }
#cabhub-navbar.compact .nb-t b, #cabhub-navbar.compact #nb-voice { display: none; }
#cabhub-navbar.compact .nb-t small { font-size: 13px; color: #fff; }
.cabhub-pin span.pin.arrow { background: #1a73e8; color: #fff; border: 3px solid #fff; font-size: 15px; box-shadow: 0 0 0 6px rgba(26,115,232,.25), 0 2px 6px rgba(0,0,0,.4); transition: transform .3s linear; }
.cabhub-pin.gmk { position: absolute; width: 34px; height: 34px; }
.cabhub-pin.gmk span.pin { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; font-size: 22px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.gmaps #cabhub-panel { bottom: 30px; }
.gmaps #cabhub-panel.drawer.open { bottom: 114px; }
.gmaps #cabhub-mapctl { bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 860px) {
	.gmaps #cabhub-panel { top: 16px; bottom: 30px; }
	.gmaps #cabhub-panel.drawer.open { top: 16px; bottom: 30px; }
	.gmaps #cabhub-mapctl { bottom: 30px; }
}

/* ===== v3.3: speed / arrival chip, directions list ===== */
#cabhub-speed { position: absolute; left: 10px; bottom: 96px; z-index: 650; background: #fff; border-radius: 14px; padding: 6px 10px; box-shadow: 0 3px 12px rgba(0,0,0,.35); text-align: center; min-width: 64px; color: #111827; }
#cabhub-speed b { display: block; font-size: 20px; line-height: 1.05; }
#cabhub-speed small { display: block; font-size: 10px; color: #6b7280; }
#cabhub-speed .eta { font-size: 12px; font-weight: 700; margin-top: 2px; color: var(--cabhub-primary, #0f766e); }
.cabhub details.stepsbox { margin: 8px 0; padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 14px; background: #f9fafb; }
.cabhub details.stepsbox summary { cursor: pointer; font-weight: 700; }
.cabhub .stepi { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #eef0f2; font-size: 13px; }
.cabhub .stepi span { font-size: 18px; width: 24px; text-align: center; }
.cabhub .stepi div { flex: 1; }

/* ===== v3.4: compass / north meter ===== */
.cabhub .cabhub-compass { display: none; width: 34px; height: 34px; padding: 0; margin: 6px 0 0; background: #fff; border: 2px solid rgba(0,0,0,.25); border-radius: 50%; cursor: pointer; position: relative; }
.cabhub .cabhub-compass.on { display: block; }
.cabhub .cabhub-compass.hu { border-color: #1a73e8; box-shadow: 0 0 0 2px rgba(26,115,232,.25); }
.cabhub-compass .dial { position: absolute; top: 0; left: 0; right: 0; bottom: 0; transition: transform .15s linear; }
.cabhub-compass .dial b { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 8px; line-height: 9px; font-weight: 800; color: #dc2626; }
.cabhub-compass .dial i { position: absolute; left: 50%; top: 9px; width: 0; height: 0; margin-left: -5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 11px solid #dc2626; }
.cabhub-compass .dial i.s { top: auto; bottom: 3px; border-bottom: 0; border-top: 10px solid #9ca3af; }

/* ===== v3.5: one login page (log in first, sign up on demand) ===== */
.cabhub-authwrap { display: flex; justify-content: center; padding: 18px 0 40px; }
.cabhub-authcard { width: 100%; max-width: 420px; background: #fff; border: 1px solid #e5e7eb; border-radius: 26px; padding: 26px 24px; box-shadow: 0 12px 34px rgba(0,0,0,.12); }
.cabhub-authcard .auth-brand { text-align: center; font-weight: 800; font-size: 24px; letter-spacing: -.4px; margin-bottom: 8px; background: linear-gradient(135deg, var(--cabhub-primary, #0f766e), var(--cabhub-secondary, #0891b2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cabhub-authcard[data-view=login] .auth-signup { display: none; }
.cabhub-authcard[data-view=signup] .auth-login { display: none; }
.cabhub-authcard h3 { margin: 6px 0 10px; font-size: 20px; text-align: center; }
.cabhub-authcard p { margin: 0 0 12px; }
.cabhub-authcard label { display: block; font-size: 13px; font-weight: 600; }
.cabhub-authcard input:not([type=checkbox]), .cabhub-authcard select { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 14px; font-size: 16px; margin-top: 4px; background: #fff; }
.cabhub-authcard .pw { position: relative; display: block; }
.cabhub-authcard .pw input { padding-right: 48px; }
.cabhub-authcard .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin: 2px 0 0; padding: 6px 10px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.cabhub-authcard .chk { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 4px 0 12px; }
.cabhub-authcard .chk input { width: auto; margin: 0; }
.cabhub .big { display: block; width: 100%; margin: 0; padding: 14px 18px; border-radius: 16px; font-size: 16px; font-weight: 800; cursor: pointer; }
.cabhub button.outline { background: #fff; border: 2px solid var(--p); color: var(--p); }
.cabhub-authcard .auth-links { text-align: center; margin: 12px 0 0; font-size: 14px; }
.cabhub-authcard .auth-links a { color: var(--p); font-weight: 700; text-decoration: none; }
.cabhub-authcard .auth-or { text-align: center; margin: 16px 0; color: #6b7280; font-size: 13px; position: relative; }
.cabhub-authcard .auth-or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #e5e7eb; }
.cabhub-authcard .auth-or span { position: relative; background: #fff; padding: 0 10px; }
.cabhub-authcard button.primary.big { background: linear-gradient(135deg, var(--p), var(--p2)); border: 0; color: var(--pt); box-shadow: 0 6px 16px rgba(0,0,0,.18); }

/* ===== v3.6: premium look ===== */
.cabhub, .cabhub-landing { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Noto Sans Devanagari", "Noto Sans Kannada", "Noto Sans Tamil", "Noto Sans Telugu", Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.4; text-align: left; }
.cabhub button, .cabhub input, .cabhub select, .cabhub textarea { font-family: inherit; text-transform: none; letter-spacing: normal; line-height: 1.3; }
.cabhub a { text-decoration: none; }
body.admin-bar .cabhub.cabhub-fullpage, body.admin-bar .cabhub-landing { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cabhub.cabhub-fullpage, body.admin-bar .cabhub-landing { top: 46px; } }
.cabhub-fullpage .cabhub-stage::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 96px; background: linear-gradient(to bottom, rgba(255,255,255,.8), rgba(255,255,255,0)); z-index: 520; pointer-events: none; }
#cabhub-panel { background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-radius: 28px; box-shadow: 0 18px 50px rgba(15,23,42,.28); animation: cabhub-sheet .35s cubic-bezier(.2,.8,.2,1); }
@keyframes cabhub-sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.cabhub .hello { font-size: 25px; font-weight: 800; letter-spacing: -.5px; margin: 2px 0 8px; }
.cabhub .pill { background: #f3f6f8; border: 1px solid #e6ebef; border-radius: 18px; padding: 4px 8px 4px 12px; transition: box-shadow .15s, border-color .15s, background .15s; }
.cabhub .pill:focus-within { background: #fff; border-color: var(--p); box-shadow: 0 0 0 4px rgba(0,0,0,.07); }
.cabhub .lab { border-radius: 10px; padding: 5px 9px; font-size: 10px; }
.cabhub .chip { border-radius: 999px; background: #fff; border: 1px solid #e3e8ec; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .12s, box-shadow .12s; }
.cabhub .chip:active { transform: scale(.97); }
.cabhub label.vc { border-radius: 22px; border: 2px solid #e8edf1; box-shadow: 0 2px 6px rgba(15,23,42,.06); transition: transform .15s, box-shadow .15s, border-color .15s; }
.cabhub label.vc .vi { font-size: 40px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.18)); }
.cabhub label.vc em { font-size: 16px; }
.cabhub label.vc.on { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,.16); }
.cabhub label.vc.on::after { content: '✓'; position: absolute; top: 6px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--p); color: var(--pt); font-size: 11px; line-height: 18px; text-align: center; font-weight: 800; }
.cabhub .seg2 { background: #eef2f5; border-radius: 18px; }
.cabhub .cta { position: relative; overflow: hidden; border-radius: 20px; padding: 16px 18px; letter-spacing: .2px; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.cabhub .cta::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: cabhub-shine 3.4s infinite; }
@keyframes cabhub-shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.cabhub .card { border-radius: 20px; box-shadow: 0 2px 8px rgba(15,23,42,.05); }
.cabhub-compass.off { opacity: .6; }

/* welcome / log-in screen (also used as the home page) */
.cabhub-landing { position: fixed; top: 0; left: 0; right: 0; bottom: 0; max-width: none; margin: 0; z-index: 99970; overflow-y: auto; background: #0b3b38; color: #fff; }
.cabhub-landing .lp-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(1200px 600px at 8% -10%, var(--cabhub-secondary, #0891b2), transparent 60%), radial-gradient(900px 600px at 100% 110%, var(--cabhub-primary, #0f766e), transparent 55%), linear-gradient(135deg, #052e2b, #0b3b38 55%, #083344); }
.cabhub-landing .lp-bg::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; }
.cabhub-landing .lp-top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.cabhub-landing .lp-brand { font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
.cabhub-landing .lp-top .cabhub-lang { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.cabhub-landing .lp-top .cabhub-lang option { color: #111827; }
.cabhub-landing .lp-body { position: relative; display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: center; padding: 8px 22px 56px; max-width: 1080px; margin: 0 auto; }
.cabhub-landing .lp-hero { flex: 1 1 360px; max-width: 520px; }
.cabhub-landing .lp-hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; margin: 0 0 12px; font-weight: 800; letter-spacing: -1px; color: #fff; }
.cabhub-landing .lp-hero p { font-size: 17px; margin: 0 0 18px; color: #d9fffa; }
.cabhub-landing .lp-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cabhub-landing .lp-feats li { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cabhub-landing .cabhub-authcard { flex: 0 1 420px; color: #111827; margin: 0; box-shadow: 0 24px 60px rgba(0,0,0,.35); }

/* ===== v3.7: call button near pickup, alternative roads, smooth driver marker ===== */
.cabhub a.fab { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.cabhub .fab.call { background: #16a34a; color: #fff; animation: cabhub-pulse 1.6s infinite; }
@keyframes cabhub-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.55), 0 3px 12px rgba(0,0,0,.35); } 70% { box-shadow: 0 0 0 16px rgba(22,163,74,0), 0 3px 12px rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0), 0 3px 12px rgba(0,0,0,.35); } }
.leaflet-marker-icon.cabhub-pin.glide { transition: transform 3.6s linear; }
#cabhub-navbar .nb-routes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
#cabhub-navbar .rt { background: #374151; color: #e5e7eb; border: 1px solid #4b5563; border-radius: 999px; padding: 4px 10px; font-size: 12px; margin: 0; cursor: pointer; }
#cabhub-navbar .rt.on { background: #1a73e8; border-color: #1a73e8; color: #fff; font-weight: 700; }

/* ===== v3.8 ===== */
/* themes that shrink images break map tiles: protect them */
.leaflet-container img.leaflet-tile, .leaflet-container .leaflet-marker-icon, .leaflet-container .leaflet-marker-shadow { max-width: none !important; max-height: none !important; width: auto; padding: 0; }
/* small language picker */
.cabhub select.cabhub-lang, .cabhub-landing select.cabhub-lang { width: auto; max-width: 104px; height: 28px; padding: 0 18px 0 10px; font-size: 12px; line-height: 26px; border-radius: 999px; background-color: #fff; color: #111827; border: 1px solid #d1d5db; }
.cabhub-menu select.cabhub-lang { margin: 6px 12px; }
.cabhub-landing select.cabhub-lang { background-color: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.35); }
/* customizable welcome page */
.cabhub-landing .lp-logo { height: 34px; width: auto; max-width: 160px; margin-right: 10px; vertical-align: middle; border-radius: 8px; }
.cabhub-landing.lp-center .lp-body { flex-direction: column; text-align: center; }
.cabhub-landing.lp-center .lp-hero { max-width: 640px; text-align: center; }
.cabhub-landing.lp-center .lp-feats { justify-content: center; }
.cabhub-landing .lp-footer { position: relative; text-align: center; padding: 0 22px 30px; color: #d9fffa; font-size: 13px; }
.cabhub-landing .lp-footer a { color: #fff; text-decoration: underline; }

/* ===== v3.8.1: Rider / Driver tabs on the log-in card ===== */
.cabhub-authcard .auth-tabs { display: flex; background: #eef2f5; border-radius: 16px; padding: 4px; margin: 4px 0 12px; }
.cabhub-authcard .auth-tabs button { flex: 1; margin: 0; border: 0; background: transparent; border-radius: 12px; padding: 10px 6px; font-weight: 700; font-size: 14px; cursor: pointer; color: #374151; }
.cabhub-authcard .auth-tabs button.on { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); color: var(--p); }
.cabhub-authcard .auth-drvnote { display: none; font-size: 13px; color: #6b7280; }
.cabhub-authcard[data-as=driver] .auth-drvnote { display: block; }

/* ===== v3.9: welcome page spacing + driver earnings ===== */
.cabhub-landing .lp-body { gap: 20px; justify-content: center; align-items: center; padding: 6px 20px 48px; }
.cabhub-landing .lp-hero { flex: 0 1 440px; max-width: 440px; }
.cabhub-landing .lp-hero h1 { letter-spacing: -.6px; word-spacing: normal; line-height: 1.12; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; font-size: clamp(28px, 4.6vw, 44px); }
.cabhub-landing .lp-hero p { line-height: 1.5; max-width: 40ch; margin: 0 0 16px; }
.cabhub-landing .lp-feats li { padding: 7px 13px; white-space: nowrap; }
.cabhub-landing .cabhub-authcard { flex: 0 1 400px; }
@media (max-width: 760px) {
	.cabhub-landing .lp-body { gap: 14px; }
	.cabhub-landing .lp-hero { flex-basis: 100%; max-width: 100%; text-align: center; }
	.cabhub-landing .lp-hero p { margin-left: auto; margin-right: auto; }
	.cabhub-landing .lp-feats { justify-content: center; }
}
.cabhub-earn .cabhub-box { max-width: 780px; }
.cabhub-earn .ear-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0; }
.cabhub-earn .ear-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 12px; }
.cabhub-earn .ear-card small { display: block; color: #6b7280; font-weight: 600; }
.cabhub-earn .ear-card b { display: block; font-size: 22px; margin: 2px 0; }
.cabhub-earn .ear-card span { font-size: 12px; color: #6b7280; }
.cabhub-earn .ear-card.hi { background: #ecfdf5; border-color: #10b981; }
.cabhub-earn .ear-card.warn { background: #fef2f2; border-color: #fca5a5; }
.cabhub-earn .ear-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cabhub-earn .ear-table th, .cabhub-earn .ear-table td { padding: 8px 6px; border-bottom: 1px solid #eef0f2; text-align: left; vertical-align: top; }
.cabhub .mystats a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #f0fdfa; border: 1px solid var(--p); border-radius: 14px; padding: 7px 12px; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #111827; text-decoration: none; }
.cabhub .mystats a b { margin-left: auto; color: var(--p); }
.cabhub .mystats:empty { display: none; }

/* ===== v4.0: vehicle symbols, nearby drivers, premium welcome screen ===== */
.cabhub .pin.veh { background: #fff; border: 3px solid #16a34a; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 19px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.cabhub .pin.veh.busy { border-color: #f59e0b; opacity: .85; }
.cabhub .near { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #374151; margin: -2px 0 8px; }
.cabhub .near .dotg { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; display: inline-block; }
.cabhub .near:empty { display: none; }
.cabhub-landing .lp-hero { flex: 0 1 500px; max-width: 500px; }
.cabhub-landing .lp-hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.cabhub-landing .lp-hero p { font-size: 17px; color: #d6f3ef; max-width: 44ch; }
.cabhub-landing .lp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; }
.cabhub-landing .lp-feats li { display: flex; gap: 12px; align-items: flex-start; white-space: normal; border-radius: 16px; padding: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; }
.cabhub-landing .lp-feats .ic { flex: 0 0 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.cabhub-landing .lp-feats .ic svg { width: 20px; height: 20px; fill: #fff; }
.cabhub-landing .lp-feats b { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; font-weight: 700; }
.cabhub-landing .lp-feats small { display: block; color: #cdeeea; font-size: 12.5px; line-height: 1.4; }
.cabhub-landing .cabhub-authcard { border-radius: 24px; padding: 28px 26px; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
@media (max-width: 760px) { .cabhub-landing .lp-hero { flex-basis: 100%; max-width: 100%; } }
@media (max-width: 560px) { .cabhub-landing .lp-feats { grid-template-columns: 1fr; } }

/* ===== v4.0.1: welcome screen with a popup log-in card ===== */
.cabhub-landing .lp-body { min-height: calc(100vh - 150px); display: flex; align-items: center; justify-content: center; padding: 10px 20px 40px; max-width: none; margin: 0; }
.cabhub-landing .lp-hero { flex: 0 1 760px; max-width: 760px; text-align: center; }
.cabhub-landing .lp-hero h1 { font-size: clamp(32px, 5.2vw, 54px); }
.cabhub-landing .lp-hero p { margin: 0 auto 6px; max-width: 46ch; font-size: 18px; }
.cabhub-landing .lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 24px 0 8px; }
.cabhub-landing .lp-btn { margin: 0; min-width: 160px; padding: 14px 26px; border-radius: 16px; font-size: 16px; font-weight: 800; cursor: pointer; }
.cabhub-landing .lp-btn.solid { background: #fff; color: #0b3b38; border: 2px solid #fff; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.cabhub-landing .lp-btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.65); }
.cabhub-landing .lp-feats { max-width: 660px; margin: 34px auto 0; text-align: left; }
.cabhub-landing .lp-actions { display: flex; align-items: center; gap: 10px; }
.cabhub-landing .lp-link { margin: 0; background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 16px; font-size: 13px; font-weight: 700; cursor: pointer; }
.cabhub-landing .lp-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 5; display: none; align-items: center; justify-content: center; padding: 16px; }
.cabhub-landing .lp-modal.open { display: flex; }
.cabhub-landing .lp-modal-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(3,20,19,.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cabhub-landing .lp-modal-box { position: relative; width: 100%; max-width: 420px; max-height: calc(100% - 24px); overflow-y: auto; border-radius: 24px; animation: cabhub-pop .22s ease-out; }
.cabhub-landing .lp-modal-box .cabhub-authcard { flex: none; width: 100%; margin: 0; }
.cabhub-landing .lp-x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #eef2f5; color: #374151; font-size: 15px; cursor: pointer; }
@keyframes cabhub-pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) {
	.cabhub-landing .lp-modal { align-items: flex-end; padding: 0; }
	.cabhub-landing .lp-modal-box { max-width: none; max-height: 92%; border-radius: 24px 24px 0 0; }
	.cabhub-landing .lp-modal-box .cabhub-authcard { border-radius: 24px 24px 0 0; }
	.cabhub-landing .lp-btn { flex: 1 1 140px; }
}

/* ===== v4.1: map surveyor ===== */
.cabhub .pin.place { background: #fff; border: 2px solid #7c3aed; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 2px 5px rgba(0,0,0,.35); }
.cabhub .pin.place.pend { border-color: #f59e0b; }
.cabhub .mp-tabs { display: flex; gap: 6px; margin: 4px 0 10px; }
.cabhub .mp-tabs button { flex: 1; margin: 0; padding: 9px 4px; border: 1px solid #e5e7eb; background: #fff; border-radius: 12px; font-weight: 700; font-size: 13px; cursor: pointer; color: #374151; }
.cabhub .mp-tabs button.on { background: var(--p); color: var(--pt); border-color: var(--p); }
.cabhub .mp-stat { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 8px; }
.cabhub .mp-stat b { font-size: 30px; letter-spacing: -.5px; }
.cabhub .mp-stat span { color: #6b7280; font-size: 13px; }
.cabhub .mp-rec { width: 11px; height: 11px; border-radius: 50%; background: #dc2626; align-self: center; animation: cabhub-blink 1.1s infinite; }
.cabhub .mp-rec.off { background: #9ca3af; animation: none; }
@keyframes cabhub-blink { 50% { opacity: .25; } }
.cabhub .mp-btns { display: flex; gap: 8px; }
.cabhub .mp-btns .big { flex: 1; margin: 0; }
.cabhub .mp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ===== v4.1.1: surveyor login tab + easier map adding ===== */
.cabhub-authcard .auth-tabs button { font-size: 13px; padding: 10px 4px; }
.cabhub-authcard .auth-svnote { display: none; font-size: 13px; color: #6b7280; text-align: center; margin-top: 12px; }
.cabhub-authcard[data-as=surveyor] .auth-svnote { display: block; }
.cabhub-authcard[data-as=surveyor] .auth-login .auth-or, .cabhub-authcard[data-as=surveyor] .auth-login [data-go=signup] { display: none; }
.cabhub .huge { display: block; width: 100%; margin: 10px 0; padding: 18px 16px; font-size: 19px; font-weight: 800; border-radius: 18px; }
.cabhub .big.wide { display: block; width: 100%; margin: 8px 0; }
.cabhub .drv-head .mp-gps { margin-left: auto; }
.cabhub .mp-gps { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f3f4f6; color: #374151; }
.cabhub .mp-gps.good { background: #dcfce7; color: #166534; }
.cabhub .mp-gps.ok { background: #fef9c3; color: #854d0e; }
.cabhub .mp-gps.weak { background: #fee2e2; color: #991b1b; }
.cabhub .mp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.cabhub .mp-chips button { margin: 0; padding: 9px 13px; border-radius: 999px; border: 1px solid #d1d5db; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; color: #374151; }
.cabhub .mp-chips button.on { background: var(--p); color: var(--pt); border-color: var(--p); }
