/* TELEXPRESS DRIVER ONLY — no selectors from Master / Marketplace */
:root{--tx86-navy:#052754;--tx86-blue:#087aff;--tx86-text:#172335}
.tx86-welcome{margin:0;min-height:100dvh;display:grid;place-items:center;background:var(--tx86-navy);color:#fff;font-family:Inter,system-ui,Arial,sans-serif;padding:24px}
.tx86-welcome-card{width:min(460px,100%);min-height:450px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px}
.tx86-welcome-card h1{font-size:clamp(24px,5vw,38px);margin:0;font-weight:850;color:#fff}.tx86-welcome-card p{margin:0;color:#e9f1ff;font-size:16px}
.tx86-logo{width:min(285px,90%);max-height:90px;object-fit:contain}.tx86-android-mark{height:105px;display:grid;place-items:center}.tx86-android-mark img{width:90px;height:90px;object-fit:contain}.tx86-login-mark{width:78px;height:78px;object-fit:contain}
.tx86-button{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:12px 28px;border-radius:16px;background:var(--tx86-blue);color:white;text-decoration:none;font-weight:850}
.tx86-welcome small{color:#b5c7e5}.tx86-subtle{color:#e6f0ff;text-underline-offset:4px}.tx86-google{min-height:46px}.tx86-welcome [role=status]{font-size:13px;line-height:1.5}
/* Driver header, independent of former shared v7 header. */
html:has(body.tx86-driver),body.tx86-driver{height:100dvh;overflow:hidden}body.tx86-driver{background:#f2f5fa;--driver-header-height:82px}
body.tx86-driver .driver-header.driver-header-profile{height:82px;min-height:82px;max-height:82px;background:#052754;border:0;border-radius:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;padding:8px 12px;box-shadow:0 5px 17px #00205024;z-index:1040}
body.tx86-driver .driver-header-brand img{width:48px!important;height:50px!important;object-fit:contain!important;background:transparent!important}
body.tx86-driver .driver-header-identity>strong{font-size:clamp(12px,2.6vw,17px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.tx86-driver .driver-header-rating{margin:4px 0 0}
body.tx86-driver .driver-header-service-control{flex-direction:row;align-items:center;gap:10px;min-width:0}
body.tx86-driver .driver-head-wallet{width:37px;height:37px;border:0;background:transparent;color:white;font-size:23px;display:grid;place-items:center}
body.tx86-driver .driver-header-switch{width:50px;height:28px}
body.tx86-driver .driver-main{top:82px;bottom:calc(77px + env(safe-area-inset-bottom,0px));background:#f2f5fa}
body.tx86-driver .driver-footer{height:calc(77px + env(safe-area-inset-bottom,0px));grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-top:1px solid #e4eaf3;border-radius:0;gap:0;box-shadow:0 -4px 20px #00205016}
body.tx86-driver .driver-footer button{display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#79879a!important;padding:5px 0!important;position:relative}
body.tx86-driver .driver-footer button i{font-size:21px}body.tx86-driver .driver-footer button span{display:block!important;font-size:10px;line-height:1.1;font-weight:750}body.tx86-driver .driver-footer button.active{color:#052754!important}
body.tx86-driver .driver-footer button.active:after{background:#087aff;bottom:4px}
body.tx86-driver .tx-driver-antenna .tx-driver-antenna-image{filter:grayscale(1);opacity:.45}
body.tx86-driver:has(#availabilityToggle:checked) .tx-driver-antenna .tx-driver-antenna-image{filter:none;opacity:1}
body.tx86-driver .driver-header .header-menu,body.tx86-driver .driver-header .header-nav{display:none!important}
/* KYC Driver pages and image previews stay strictly scoped to Driver. */
.tx86-kyc-actions{display:flex;gap:12px;margin-top:22px}.tx86-kyc-actions button{flex:1}.tx86-kyc-actions .tx86-back{background:#e6edf7;color:var(--tx86-navy)}.tx86-kyc-image{display:block;max-width:180px;max-height:170px;object-fit:contain;border-radius:10px;margin:6px 0}.tx86-kyc-map{width:100%;height:260px;border:0;border-radius:12px}.tx86-kyc-feedback{color:#be123c;font-size:13px}.tx86-kyc-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.tx86-kyc-summary>div{border:1px solid #d9e4f2;padding:10px;border-radius:12px}.tx86-kyc-summary img{width:100%;height:120px;object-fit:contain}.tx86-kyc-warning{background:#fff4d5;padding:12px;border-radius:10px;font-size:13px}

.tx86-android-banner{display:block;width:min(440px,100%);height:auto;mix-blend-mode:screen;object-fit:contain}

.tx86-method-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:9px}.tx86-method-list>div{padding:12px;border-radius:12px;border:1px solid rgba(5,39,84,.18)}.tx86-method-list strong,.tx86-method-list span{display:block}.tx86-method-list span{font-size:.8rem;opacity:.7;margin-top:4px}

/* V087: Independently styled Driver landing/login, based on Presentación100.pptx.
   Do not style Master or Marketplace. */
body.tx87-entry{background:#002060!important;color:#fff!important;min-height:100svh;min-height:100dvh;margin:0;padding:0!important;font-family:Inter,system-ui,Arial,sans-serif;display:block;box-sizing:border-box}
body.tx87-entry *,body.tx87-entry *::before,body.tx87-entry *::after{box-sizing:border-box}
body.tx87-entry .tx87-entry-layout{width:min(100%,540px);min-height:100svh;min-height:100dvh;margin:0 auto;padding:clamp(60px,10vh,125px) 20px 42px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:0}
body.tx87-entry .tx87-brand{width:min(315px,72vw);height:auto;max-height:115px;object-fit:contain;margin:0 auto clamp(65px,11vh,110px)}
body.tx87-entry h1{font-size:clamp(27px,7vw,35px);font-weight:800;line-height:1.22;color:#fff;margin:0 0 24px;letter-spacing:-.035em}
body.tx87-entry h1 small{display:block;font-size:.61em;letter-spacing:0;font-weight:400;margin-top:8px;color:#e0eaff}
body.tx87-entry .tx87-entry-card{background:#fff;color:#002060;width:min(100%,355px);border-radius:20px;padding:24px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;box-shadow:0 8px 32px #00103944}
body.tx87-entry .tx87-entry-description,body.tx87-entry .tx87-auth-card>p{color:#002060;font-weight:800;font-size:19px;margin:0;line-height:1.35}
body.tx87-entry .tx87-entry-description small,body.tx87-entry .tx87-auth-card>p small{display:block;font-weight:500;font-size:14px;margin-top:5px}
body.tx87-entry .tx87-apk-download{display:flex;align-items:center;justify-content:center;background:#000;color:#fff;width:min(270px,100%);padding:8px 10px;min-height:73px;border-radius:13px;text-decoration:none;box-shadow:0 2px 12px #00103926}
body.tx87-entry .tx87-apk-download:focus-visible{outline:3px solid #087aff;outline-offset:4px}
body.tx87-entry .tx87-apk-download img{display:block;width:100%;height:auto;object-fit:contain}
body.tx87-entry .tx87-google-button{display:flex;justify-content:center;align-items:center;min-height:44px;width:100%}
body.tx87-entry #tx86AuthMessage{font-weight:500;font-size:12px;line-height:1.4;color:#ac3030;max-width:290px;overflow-wrap:anywhere;min-height:0}
body.tx87-entry #tx86AuthMessage:empty{display:none}
@media(min-width:640px){body.tx87-entry .tx87-entry-layout{padding-top:clamp(55px,12vh,115px)}}
@media(max-height:650px){body.tx87-entry .tx87-entry-layout{padding-top:40px}body.tx87-entry .tx87-brand{margin-bottom:42px}}

/* Driver registration is a bounded dialog; the app remains behind its backdrop. */
.driver-kyc-modal .modal-dialog{width:calc(100% - 24px);max-width:660px;margin:16px auto;min-height:calc(100% - 32px)}
.driver-kyc-modal .modal-content{max-height:calc(100dvh - 32px);border:0;border-radius:20px;overflow:hidden;background:#fff;color:#172335;box-shadow:0 18px 60px #001b4840}
.driver-kyc-modal .modal-header{display:flex;align-items:center;gap:12px;padding:18px 20px;background:#052754;color:#fff;flex-shrink:0;border:0}
.driver-kyc-modal .modal-title{font-size:19px;font-weight:750;margin:0;color:inherit}
.driver-kyc-modal .btn-close{filter:invert(1);opacity:1;margin-left:auto;flex-shrink:0}
.driver-kyc-step{display:block;font-size:12px;color:#dae6fa;margin-top:5px}
.driver-kyc-modal .modal-body{padding:20px;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.driver-kyc-modal .modal-body h2{font-size:20px;font-weight:750;color:#052754;margin:0 0 10px}
.driver-kyc-modal .modal-body p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.driver-kyc-modal label{display:grid;gap:7px;font-size:14px;font-weight:650;margin:12px 0;min-width:0}
.driver-kyc-modal input:not([type=file]),.driver-kyc-modal select{display:block;width:100%;min-height:46px;padding:10px 12px;border:1px solid #c7d4e3;border-radius:10px;font:inherit;color:#172335;background:#fff;box-sizing:border-box}
.driver-kyc-modal input:focus-visible,.driver-kyc-modal select:focus-visible,.driver-kyc-modal button:focus-visible{outline:3px solid #087aff66;outline-offset:2px}
.driver-kyc-modal button:not(.btn-close){min-height:44px;border:0;border-radius:10px;padding:10px 14px;font-size:14px;font-weight:650;background:#052754;color:#fff}
.driver-kyc-modal button:disabled{opacity:.5;cursor:default}
.driver-kyc-modal .modal-footer{padding:12px 20px;flex-shrink:0;border-top:1px solid #e5ebf3;background:#fff;gap:10px;justify-content:flex-end}
.driver-kyc-modal .tx86-kyc-actions{display:flex;width:100%;gap:10px;margin:0;flex-wrap:wrap}
.driver-kyc-modal .tx86-kyc-actions button{flex:1;min-width:100px}
.driver-kyc-modal .tx86-back{background:#e6edf7!important;color:#052754!important}
.driver-kyc-modal .tx86-photo-item{border:1px solid #dce6f2;border-radius:12px;padding:12px;margin:14px 0}
.driver-kyc-modal .tx86-photo-item>label{margin:0 0 10px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px}
.driver-kyc-modal .tx86-photo-item>label span{font-size:12px;color:#50657e}
.driver-kyc-modal .tx86-upload-label{margin:0!important;min-width:120px;align-items:center;justify-content:center;border:1px solid #c7d4e3;border-radius:10px;padding:10px;font-size:13px;overflow:hidden}
.driver-kyc-modal input[type=file]{display:block;width:100%;max-width:100%;min-width:0;font-size:12px;font-weight:400}
.driver-kyc-modal .tx86-kyc-image{max-width:100%;max-height:175px;margin:12px auto 0}
.driver-kyc-modal .tx86-kyc-feedback{white-space:pre-wrap;margin:12px 0 0;color:#a71932;font-size:13px}
.driver-kyc-modal [hidden]{display:none!important}
.driver-kyc-modal .tx86-kyc-summary{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}
.driver-kyc-modal .tx86-kyc-summary p{margin:6px 0 0;font-size:13px}
.driver-notifications-view{max-width:800px;margin:0 auto;width:100%}
.driver-notifications-view .driver-notification-item{width:100%;display:flex;gap:12px;text-align:left;background:#fff;color:#172335;border:1px solid #e0e7f0;border-radius:14px;padding:16px;margin:0 0 10px;overflow-wrap:anywhere}
.driver-notifications-view .driver-notification-item>span:last-child{min-width:0}
.driver-notifications-view .driver-notification-item strong,.driver-notifications-view .driver-notification-item small,.driver-notifications-view .driver-notification-item time{display:block}
.driver-notifications-view .driver-notification-item small{font-size:14px;margin:6px 0;white-space:pre-wrap}
.driver-notifications-view .driver-notification-item time{font-size:12px;color:#6d7c90}
.driver-notifications-view .driver-notification-indicator{width:9px;height:9px;border-radius:50%;background:#cbd4e1;flex-shrink:0;margin-top:7px}
.driver-notifications-view .unread .driver-notification-indicator{background:#087aff}
.driver-notifications-view #driverNotificationsError{color:#a71932;font-size:14px}
@media(max-width:380px){.driver-kyc-modal .modal-header,.driver-kyc-modal .modal-body{padding:16px}.driver-kyc-modal .modal-footer{padding:12px 16px}.driver-kyc-modal .modal-title{font-size:17px}}
@media(prefers-reduced-motion:reduce){.driver-kyc-modal.fade .modal-dialog{transition:none}}
/* Bound this dialog explicitly despite the existing shared modal defaults. */
#driverKycModal.modal{padding:12px!important;--bs-modal-width:660px}
#driverKycModal .modal-dialog:not(.modal-fullscreen){width:100%!important;max-width:660px!important;height:auto!important;min-height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;margin:0 auto!important}
#driverKycModal .modal-content{max-height:calc(100dvh - 24px)!important;min-height:0!important;height:auto!important}
#driverKycModal .modal-header{background:#052754!important;background-image:none!important;color:#fff!important}
#driverKycModal .modal-title{color:#fff!important}
/* Guided live capture; scoped to the Driver registration dialogs. */
.driver-confirmed-identity{display:grid;gap:12px;margin:18px 0}.driver-confirmed-identity>div{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px;padding-bottom:10px;border-bottom:1px solid #e1e8f1}.driver-confirmed-identity dt,.driver-confirmed-identity dd{margin:0;font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:normal}.driver-confirmed-identity dt{font-weight:750;color:#052754}
.driver-camera-only{font-size:13px!important;color:#50657e}.driver-capture-guide{padding:18px;text-align:center;border:1px solid #bed2ec;border-radius:14px;background:#edf4ff;margin:14px 0}.driver-capture-guide strong,.driver-capture-guide p{display:block;margin:8px 0}.driver-guide-symbol{width:105px;height:80px;margin:auto;color:#087aff;perspective:500px}.driver-guide-symbol svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}.driver-guide-turn .driver-guide-symbol{animation:driver-document-turn 1s ease-in-out both}.driver-guide-face .driver-guide-symbol{animation:driver-face-arrive .85s ease-out both}.driver-photo-captured{animation:driver-photo-confirm .5s ease-out both}
#driverCameraModal{z-index:1090;background:rgba(0,15,37,.88);overscroll-behavior:contain;padding:0!important}#driverCameraModal .modal-dialog{width:calc(100% - 24px);max-width:620px;min-height:calc(100% - 24px);margin:12px auto}#driverCameraModal .modal-content{max-height:calc(100dvh - 24px);background:#fff;border:0;border-radius:18px;overflow:hidden;min-height:0;height:auto}#driverCameraModal .modal-header{background:#052754!important;background-image:none!important;color:#fff;gap:12px;padding:16px;flex-shrink:0}#driverCameraModal .modal-title{font-size:17px;color:#fff!important;line-height:1.4;overflow-wrap:anywhere}#driverCameraModal .btn-close{filter:invert(1);flex-shrink:0;opacity:1}#driverCameraModal .modal-body{padding:16px;overflow-y:auto;min-height:0}#driverCameraModal .modal-body p{font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin:0 0 12px}#driverCameraModal .modal-footer{flex-shrink:0;padding:12px 16px;background:#fff;gap:8px}#driverCameraModal .modal-footer button{border:0;border-radius:10px;background:#052754;color:#fff;min-height:46px;padding:10px 16px;font-weight:700;flex:1}#driverCameraModal button:disabled{opacity:.5}#driverCameraModal [hidden]{display:none!important}
.driver-camera-stage{position:relative;width:100%;aspect-ratio:4/3;max-height:52dvh;background:#081626;border-radius:14px;overflow:hidden}.driver-camera-stage video{display:block;width:100%;height:100%;object-fit:contain}.driver-camera-mirror{transform:scaleX(-1)}.driver-camera-frame{position:absolute;inset:5%;pointer-events:none;display:grid;place-items:center;color:#fff}.driver-camera-frame svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3;filter:drop-shadow(0 1px 3px #000);stroke-linecap:round}.driver-frame-face svg{width:57%;max-height:100%}.driver-frame-card svg{width:94%;height:auto;max-height:90%}.driver-frame-vehicle svg{width:100%;height:100%}#driverCameraStatus{margin:12px 0 0!important;color:#254365;font-size:13px!important}#driverCameraFlash{pointer-events:none;position:absolute;inset:0}
@keyframes driver-document-turn{0%{transform:rotateY(0)}45%{transform:rotateY(90deg)}100%{transform:rotateY(180deg)}}@keyframes driver-face-arrive{0%{transform:scale(.7);opacity:.2}100%{transform:scale(1);opacity:1}}@keyframes driver-photo-confirm{0%{opacity:.3;transform:scale(.96)}100%{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.driver-guide-symbol,.driver-photo-captured{animation:none!important;scroll-behavior:auto!important}}
/* Registration layout and feedback own their spacing; no unpadded error headings. */
body.tx86-driver #driverKycModal .modal-header{background:#052754!important;border-bottom:0!important;padding:18px 20px!important;min-height:76px!important}body.tx86-driver #driverKycModal .modal-title{font-size:19px!important;font-weight:750!important;line-height:1.35}body.tx86-driver #driverKycModal .driver-kyc-step{font-size:12px;margin-top:6px;color:#d5e3f6}.driver-registration-progress{height:4px;flex-shrink:0;background:#dce7f5;overflow:hidden}.driver-registration-progress>span{display:block;height:100%;background:#ff7600;transition:width .25s ease}.driver-registration-start{text-align:center;padding:14px 0}.driver-registration-spinner{display:inline-block;width:32px;height:32px;border:3px solid #dce7f5;border-top-color:#087aff;border-radius:50%;animation:driver-registration-spin .8s linear infinite;margin-bottom:16px}
#driverKycModal .tx86-kyc-feedback{padding:12px 14px;border:1px solid #f2c6cb;background:#fff2f3;color:#9d2131;border-radius:10px;font-size:13px;line-height:1.55;margin:14px 0 0;overflow-wrap:anywhere}#driverKycModal .driver-registration-status{border-color:#c4d8f2;background:#edf5ff;color:#234f83}#driverKycModal .driver-restart-attempt{margin-top:12px}.driver-step-enter{animation:driver-step-enter .2s ease-out both}#driverKycModal .modal-body h2{font-size:21px;line-height:1.4;margin-bottom:10px}#driverKycModal .modal-body>div>p{color:#52647c}#driverKycModal .tx86-photo-item{background:#f9fbfe;border-color:#d8e3f0}#driverKycModal [data-camera]{width:100%;display:flex;align-items:center;justify-content:center;gap:8px}#driverKycModal .tx86-kyc-image{border-radius:10px;background:#edf2f8;min-height:80px}#driverKycModal button:disabled{opacity:.45;cursor:not-allowed}
body.tx86-driver #txSystemModal{padding:16px!important}body.tx86-driver #txSystemModal .tx-system-modal-card{width:min(420px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;border-radius:18px!important;overflow:hidden!important;display:flex;flex-direction:column}body.tx86-driver #txSystemModal .tx-system-modal-header{padding:17px 20px;background:#052754;flex-shrink:0}body.tx86-driver #txSystemModal .tx-system-modal-title{font-size:18px;line-height:1.4;margin:0;color:#fff;overflow-wrap:anywhere}body.tx86-driver #txSystemModal .tx-system-modal-body{padding:20px;overflow-y:auto;min-height:0}body.tx86-driver #txSystemModal .tx-system-modal-icon{width:54px;height:54px;font-size:28px;margin:0 auto 14px;animation:none}body.tx86-driver #txSystemModal .tx-system-modal-message{font-size:14px;line-height:1.6;color:#364b65}body.tx86-driver #txSystemModal .tx-system-modal-actions{margin-top:20px}body.tx86-driver #txSystemModal .tx-system-modal-actions .btn{min-height:46px;padding:10px 16px;border-radius:10px}
@keyframes driver-registration-spin{to{transform:rotate(360deg)}}@keyframes driver-step-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.driver-step-enter{animation:none}.driver-registration-progress>span{transition:none}}
#driverKycModal .driver-photo-requirement{font-size:12px!important;font-weight:650;color:#315a83!important;background:#eaf3ff;border-radius:9px;padding:10px 12px;margin:10px 0}
#driverKycModal.tx-keyboard-modal .modal-dialog,#driverCameraModal.tx-keyboard-modal .modal-dialog{min-height:0!important;max-height:calc(var(--tx-k-height) - 24px)!important}#driverKycModal.tx-keyboard-modal .modal-content,#driverCameraModal.tx-keyboard-modal .modal-content{max-height:calc(var(--tx-k-height) - 24px)!important}
