
/* Ask4Ride operator reference dashboard v15.0.0 */
body.portal-operator {
  --op-orange:#ff5a00;
  --op-orange-dark:#f04f00;
  --op-ink:#101010;
  --op-muted:#5e5a57;
  --op-line:#e9e3df;
  --op-soft:#fff7f2;
  --op-green:#24b326;
  --op-red:#ed1019;
  margin:0!important;
  max-width:941px;
  min-height:100dvh;
  margin-inline:auto!important;
  color:var(--op-ink);
  background:#fff!important;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Arial,sans-serif!important;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  box-shadow:0 0 42px rgba(0,0,0,.08);
}
body.portal-operator *,body.portal-operator *::before,body.portal-operator *::after{box-sizing:border-box}
body.portal-operator button,body.portal-operator input,body.portal-operator select,body.portal-operator textarea{font:inherit}
body.portal-operator .hidden{display:none!important}
body.portal-operator #mobileMenuButton,body.portal-operator .role-switcher,body.portal-operator .brand-copy{display:none!important}
body.portal-operator main{display:block!important;padding:0!important;margin:0!important;max-width:none!important;background:#fff!important}
body.portal-operator .view{max-width:none!important}
body.portal-operator #operatorView{display:block!important;min-height:100dvh!important;padding:0 0 clamp(112px,14vw,142px)!important;margin:0!important;background:#fff!important}
body.portal-operator #operatorView.hidden{display:none!important}
body.portal-operator #bookView,body.portal-operator #ridesView,body.portal-operator #adminView{display:none!important}

/* simulated device status + exact header proportions */
body.portal-operator .topbar{
  position:relative!important;inset:auto!important;z-index:80!important;
  display:block!important;width:100%!important;height:auto!important;min-height:0!important;
  padding:0!important;margin:0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--op-line)!important;box-shadow:none!important;
}
.operator-device-status{height:clamp(52px,8.1vw,76px);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(31px,6.5vw,61px);font-size:clamp(21px,3.35vw,32px);font-weight:760;letter-spacing:-.035em}
.operator-device-icons{display:flex;align-items:center;gap:clamp(12px,2vw,19px);height:100%}
.signal-bars{display:flex;align-items:flex-end;gap:3px;width:clamp(30px,4.3vw,41px);height:clamp(22px,3.2vw,30px)}
.signal-bars b{display:block;flex:1;background:#111;border-radius:3px 3px 1px 1px}.signal-bars b:nth-child(1){height:29%}.signal-bars b:nth-child(2){height:50%}.signal-bars b:nth-child(3){height:73%}.signal-bars b:nth-child(4){height:100%}
.wifi-icon{position:relative;width:clamp(29px,4.2vw,40px);height:clamp(23px,3.2vw,30px);overflow:hidden}
.wifi-icon:before,.wifi-icon:after{content:"";position:absolute;left:50%;transform:translateX(-50%) rotate(45deg);border:clamp(3px,.48vw,4.5px) solid #111;border-left-color:transparent;border-top-color:transparent;border-radius:0 0 100% 0}
.wifi-icon:before{width:29px;height:29px;top:-14px}.wifi-icon:after{width:14px;height:14px;top:2px}.wifi-icon{background:radial-gradient(circle at 50% 88%,#111 0 3px,transparent 3.5px)}
.battery-icon{position:relative;display:block;width:clamp(41px,5.4vw,51px);height:clamp(20px,2.8vw,27px);border:clamp(2px,.3vw,3px) solid #111;border-radius:5px;padding:3px}
.battery-icon:after{content:"";position:absolute;right:-6px;top:30%;width:4px;height:40%;border-radius:0 3px 3px 0;background:#111}.battery-icon b{display:block;width:100%;height:100%;border-radius:2px;background:#111}
.operator-brand-row{height:clamp(101px,12.4vw,117px);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(35px,5.3vw,50px)}
body.portal-operator .brand{display:flex!important;align-items:center!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.portal-operator .brand-logo{display:block!important;width:clamp(284px,41.2vw,388px)!important;height:clamp(76px,9.7vw,91px)!important;object-fit:contain!important;object-position:left center!important}
body.portal-operator #accountButton{display:grid!important;place-items:center!important;width:clamp(62px,9.3vw,88px)!important;height:clamp(62px,9.3vw,88px)!important;min-width:0!important;padding:5px!important;margin:0!important;border:clamp(5px,.7vw,7px) solid #baf4d1!important;border-radius:50%!important;background:#38c777!important;color:#111!important;font-size:0!important;line-height:0!important;overflow:hidden!important;box-shadow:none!important}
body.portal-operator #accountButton img,body.portal-operator #accountButton .photo-fallback{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;display:grid!important;place-items:center!important;background:#fff!important;color:#111!important;font-size:clamp(15px,2.2vw,21px)!important;line-height:1!important}
body.portal-operator #accountButton.shift-live:after{display:none!important}

/* top status tabs */
body.portal-operator #operatorView .sidebar{position:relative!important;inset:auto!important;z-index:70!important;display:block!important;width:100%!important;height:clamp(101px,15.2vw,143px)!important;min-height:0!important;padding:clamp(13px,1.9vw,18px) clamp(28px,3.2vw,30px)!important;margin:0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--op-line)!important;box-shadow:0 8px 20px rgba(30,20,14,.045)!important;transform:none!important;overflow:visible!important}
body.portal-operator #operatorView .side-brand,body.portal-operator #operatorView .online{display:none!important}
body.portal-operator #operatorView .operator-side-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:clamp(11px,2.1vw,20px)!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;background:transparent!important;overflow:visible!important}
body.portal-operator #operatorView .operator-side-nav>button{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:clamp(7px,1vw,10px)!important;width:100%!important;min-width:0!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;border-radius:clamp(17px,2.7vw,26px)!important;background:#fff!important;color:#49433f!important;box-shadow:none!important;overflow:visible!important}
body.portal-operator #operatorView .operator-side-nav>button.selected{background:linear-gradient(145deg,#171717,#050505)!important;color:#fff!important;box-shadow:0 12px 22px rgba(0,0,0,.13)!important}
body.portal-operator .operator-side-nav .tab-icon{display:grid!important;place-items:center!important;width:clamp(29px,4.2vw,40px)!important;height:clamp(29px,4.2vw,40px)!important;margin:0!important;font-size:0!important;line-height:1!important}
body.portal-operator .operator-side-nav .tab-icon svg{width:100%;height:100%;display:block}
body.portal-operator .operator-side-nav .tab-label{display:block!important;width:100%!important;line-height:1!important;text-align:center!important}
body.portal-operator .operator-side-nav .tab-full{display:none!important}
body.portal-operator .operator-side-nav .tab-short{display:block!important;font-size:clamp(14px,2.35vw,22px)!important;line-height:1!important;font-weight:560!important;white-space:nowrap!important;color:inherit!important}
body.portal-operator .operator-side-nav>button>b{position:absolute!important;top:clamp(1px,.3vw,3px)!important;right:clamp(1px,.4vw,4px)!important;display:grid!important;place-items:center!important;min-width:clamp(28px,4vw,38px)!important;height:clamp(28px,4vw,38px)!important;padding:0 6px!important;margin:0!important;border:1px solid #dfd9d5!important;border-radius:999px!important;background:#fff!important;color:#171717!important;font-size:clamp(12px,1.8vw,17px)!important;line-height:1!important;font-weight:650!important;box-shadow:none!important}
body.portal-operator .operator-side-nav>button.selected>b{background:var(--op-orange)!important;border-color:var(--op-orange)!important;color:#fff!important}

/* main dashboard */
body.portal-operator .dashboard-content{display:flex!important;flex-direction:column!important;gap:clamp(18px,2.8vw,27px)!important;width:100%!important;padding:clamp(34px,4.2vw,40px) clamp(37px,4vw,38px) clamp(26px,3.4vw,32px)!important;margin:0!important;background:#fff!important;overflow:visible!important}
.operator-live-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:clamp(129px,16.4vw,154px);padding:0 2px}
.operator-heading-copy{min-width:0}
.operator-live-pill{display:inline-flex;align-items:center;gap:8px;height:clamp(27px,3.6vw,34px);padding:0 clamp(11px,1.5vw,14px);margin:0 0 clamp(20px,2.4vw,23px);border-radius:999px;background:#fff0ea;color:#f2471d;font-size:clamp(12px,1.65vw,16px);font-weight:760;letter-spacing:.06em}
.operator-live-pill i{position:relative;width:clamp(15px,2vw,19px);height:clamp(15px,2vw,19px);border-radius:50%;background:#ff4c20}.operator-live-pill i:after{content:"";position:absolute;left:42%;top:32%;border-left:5px solid #fff;border-top:3px solid transparent;border-bottom:3px solid transparent}
.operator-live-heading h1{margin:0!important;font-size:clamp(31px,4.7vw,44px)!important;line-height:1.02!important;letter-spacing:-.045em!important;font-weight:790!important;color:#0c0c0c!important;white-space:nowrap}
.operator-live-heading #operatorRequestSummary{margin:clamp(9px,1.25vw,12px) 0 0!important;color:var(--op-orange)!important;font-size:clamp(18px,2.55vw,24px)!important;line-height:1.1!important;font-weight:430!important}
.operator-section-intro{display:none!important}
.operator-filter-button{display:flex;align-items:center;justify-content:center;gap:clamp(13px,1.8vw,17px);min-width:clamp(132px,16.4vw,154px);height:clamp(69px,8.3vw,78px);padding:0 clamp(18px,2.2vw,21px);margin:0 0 clamp(12px,1.4vw,13px);border:1px solid #ddd5d0;border-radius:clamp(19px,2.6vw,24px);background:#fff;color:#171717;font-size:clamp(18px,2.45vw,23px);font-weight:650;box-shadow:0 4px 12px rgba(30,20,14,.025)}
.operator-filter-button svg{width:clamp(25px,3.2vw,30px);height:clamp(25px,3.2vw,30px)}
.operator-hidden-controls{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}

body.portal-operator #operatorAlert{order:0!important;margin:0!important;border:1px solid var(--op-orange)!important;border-radius:18px!important;background:#fff3eb!important;color:#1b1b1b!important;padding:14px 18px!important}
body.portal-operator #operatorAlert.hidden{display:none!important}
body.portal-operator #operatorRides{order:1!important;display:flex!important;gap:18px!important;width:100%!important;margin:0!important;overflow-x:auto!important;overflow-y:visible!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
body.portal-operator #operatorRides::-webkit-scrollbar{display:none!important}
body.portal-operator #operatorReviews{order:1!important;margin:0!important}
body.portal-operator .operator-reference-rides>.empty-state{display:grid!important;place-items:center!important;width:100%!important;min-width:100%!important;min-height:clamp(300px,42vw,395px)!important;padding:40px!important;border:1px solid var(--op-line)!important;border-radius:clamp(24px,3.3vw,31px)!important;background:#fff!important;color:#756d67!important;font-size:clamp(15px,2vw,19px)!important;text-align:center!important;box-shadow:0 12px 25px rgba(40,24,13,.035)!important}

/* exact request card */
body.portal-operator .operator-reference-card{position:relative;flex:0 0 100%;min-width:100%;scroll-snap-align:start;padding:clamp(20px,2.4vw,23px) clamp(19px,2.35vw,22px) clamp(18px,2.2vw,21px);border:1px solid var(--op-line);border-radius:clamp(25px,3.35vw,32px);background:#fff;box-shadow:0 12px 26px rgba(36,22,13,.05);overflow:hidden}
.operator-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 clamp(1px,.3vw,3px) clamp(22px,2.7vw,25px)}
.operator-new-request{display:inline-flex;align-items:center;height:clamp(39px,4.8vw,45px);padding:0 clamp(16px,2vw,19px);border-radius:999px;background:#fff0e8;color:#ff5a20;font-size:clamp(15px,2vw,19px);font-weight:650}
.operator-card-ref{display:flex;align-items:center;gap:clamp(16px,2vw,19px);color:#47413d;font-size:clamp(14px,1.95vw,18px);white-space:nowrap}
.operator-route-pair{display:grid;grid-template-columns:minmax(0,1fr) clamp(36px,5vw,47px) minmax(0,1fr);gap:clamp(20px,3.2vw,30px);align-items:center;padding:0 clamp(56px,9vw,85px) clamp(25px,3.2vw,30px)}
.operator-location small{display:block;margin-bottom:clamp(9px,1.1vw,11px);color:#494440;font-size:clamp(14px,1.9vw,18px);font-weight:510;text-transform:uppercase}
.operator-location strong{display:block;margin-bottom:clamp(11px,1.35vw,13px);font-size:clamp(23px,3.1vw,29px);line-height:1.05;font-weight:780;letter-spacing:-.025em;color:#111}
.operator-location p{margin:0;color:#403c39;font-size:clamp(17px,2.25vw,21px);line-height:1.45;font-weight:410;word-break:break-word}
.operator-route-line{position:relative;height:clamp(108px,14vw,132px);display:flex;justify-content:center}
.operator-route-line:before{content:"";position:absolute;top:18px;bottom:18px;left:50%;border-left:3px dashed #171717;transform:translateX(-50%)}
.operator-route-line i,.operator-route-line b{position:absolute;left:50%;transform:translateX(-50%);width:clamp(18px,2.35vw,22px);height:clamp(18px,2.35vw,22px);border-radius:50%;background:#fff;z-index:1}
.operator-route-line i{top:2px;border:3px solid var(--op-orange)}
.operator-route-line b{bottom:2px;border:3px solid #111;box-shadow:inset 0 0 0 4px #fff}.operator-route-line b:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#111}
.operator-trip-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:clamp(103px,13.5vw,127px);border:1px solid var(--op-line);border-radius:clamp(22px,2.9vw,27px) clamp(22px,2.9vw,27px) 0 0;background:#fff;overflow:visible}
.operator-stat{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(7px,.9vw,9px);padding:clamp(12px,1.5vw,14px) 6px;text-align:center;min-width:0}
.operator-stat:not(:last-child):after{content:"";position:absolute;right:0;top:18%;height:64%;width:1px;background:#e6dfdb}
.operator-stat-main{display:flex;align-items:center;justify-content:center;gap:clamp(7px,.9vw,9px);min-height:clamp(27px,3.4vw,32px);font-size:clamp(17px,2.35vw,22px);font-weight:650;white-space:nowrap}
.operator-stat-main svg{width:clamp(23px,3.1vw,29px);height:clamp(23px,3.1vw,29px);flex:0 0 auto}
.operator-stat>small{color:#5b5551;font-size:clamp(13px,1.75vw,16.5px);line-height:1;white-space:nowrap}
.operator-stat.quote .operator-stat-main{color:var(--op-orange);font-size:clamp(22px,2.95vw,28px);font-weight:740}
.operator-quote-input-wrap{display:flex;align-items:center;justify-content:center;color:var(--op-orange);font-size:inherit;font-weight:inherit;white-space:nowrap}
.operator-quote-input-wrap input{width:clamp(75px,9.4vw,89px)!important;min-width:0!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;outline:0!important;background:transparent!important;color:var(--op-orange)!important;font-size:inherit!important;font-weight:inherit!important;line-height:1!important;text-align:left!important;box-shadow:none!important;-moz-appearance:textfield}
.operator-quote-input-wrap input::-webkit-outer-spin-button,.operator-quote-input-wrap input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.operator-primary-actions,.operator-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:clamp(8px,1.1vw,10px)}
.operator-primary-actions{margin-top:clamp(9px,1.2vw,11px)}
.operator-primary-actions button,.operator-secondary-actions button{display:flex;align-items:center;justify-content:center;gap:clamp(11px,1.5vw,14px);width:100%;border-radius:clamp(18px,2.4vw,23px);font-weight:630;transition:transform .15s ease,opacity .15s ease}
.operator-primary-actions button{height:clamp(73px,9vw,85px);font-size:clamp(18px,2.5vw,23.5px)}
.operator-primary-actions .operator-decline-button{border:2px solid var(--op-orange);background:#fff;color:var(--op-orange)}
.operator-primary-actions .operator-accept-button{border:2px solid var(--op-orange);background:linear-gradient(135deg,#ff5d00,#ff5000);color:#fff;box-shadow:0 9px 20px rgba(255,80,0,.13)}
.operator-primary-actions svg{width:clamp(25px,3.4vw,32px);height:clamp(25px,3.4vw,32px)}
.operator-primary-actions button:disabled,.operator-secondary-actions button:disabled{opacity:.38;cursor:not-allowed}
.operator-secondary-actions{margin-top:clamp(9px,1.15vw,11px)}
.operator-secondary-actions button{height:clamp(68px,8.1vw,76px);padding:0 8px;border:1px solid var(--op-line);background:#fff;color:#111;font-size:clamp(15px,2vw,19px);box-shadow:0 2px 5px rgba(0,0,0,.015)}
.operator-secondary-actions button svg{width:clamp(31px,4.2vw,40px);height:clamp(31px,4.2vw,40px);flex:0 0 auto}
.operator-secondary-actions .start{color:#18ab37}.operator-secondary-actions .cancel{color:var(--op-red)}
.operator-card-pager{display:flex;align-items:center;justify-content:center;gap:9px;height:clamp(24px,3vw,28px);padding-top:clamp(10px,1.3vw,12px)}
.operator-card-pager i{display:block;width:9px;height:9px;border-radius:999px;background:#d5d1cf}.operator-card-pager i:first-child{width:clamp(22px,2.8vw,26px);background:var(--op-orange)}
.operator-contact-compact{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 0;padding:12px 14px;border-radius:14px;background:#f8f6f4;font-size:13px}.operator-contact-compact a{color:var(--op-orange);font-weight:700;text-decoration:none}

/* earnings */
body.portal-operator .operator-earnings-panel{order:2!important;width:100%!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.operator-earnings-summary{display:grid;grid-template-columns:clamp(72px,10vw,94px) minmax(0,1fr) auto;align-items:center;gap:clamp(20px,2.5vw,24px);min-height:clamp(128px,15.7vw,148px);padding:clamp(20px,2.5vw,24px);border:1px solid var(--op-line);border-radius:clamp(24px,3.2vw,30px);background:#fff;box-shadow:0 10px 23px rgba(35,22,14,.035)}
.operator-wallet-icon{display:grid;place-items:center;width:clamp(72px,9.4vw,88px);height:clamp(72px,9.4vw,88px);border-radius:50%;background:#fff0e8;color:var(--op-orange)}
.operator-wallet-icon svg{width:clamp(35px,4.6vw,43px);height:clamp(35px,4.6vw,43px)}
.operator-today-earning{display:flex;flex-direction:column;align-items:flex-start!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.operator-today-earning small{font-size:clamp(15px,2vw,19px);color:#3d3936;font-weight:450;text-transform:none!important;letter-spacing:0!important}
.operator-today-earning strong{margin:clamp(5px,.65vw,6px) 0 4px;font-size:clamp(30px,4.15vw,39px);line-height:1;font-weight:760;letter-spacing:-.035em;color:#111}
.operator-today-earning span{font-size:clamp(13px,1.75vw,16.5px);color:#716a65;white-space:nowrap}
.operator-view-earnings{display:flex;align-items:center;justify-content:center;gap:clamp(11px,1.5vw,14px);min-width:clamp(211px,26.8vw,252px);height:clamp(63px,7.8vw,73px);padding:0 clamp(16px,2vw,19px);border:1px solid var(--op-line);border-radius:clamp(19px,2.5vw,24px);background:#fff;color:var(--op-orange);font-size:clamp(15px,2vw,19px);font-weight:620}
.operator-view-earnings>b{margin-left:auto;color:#554e49;font-size:clamp(27px,3.3vw,31px);font-weight:300}.earning-bars{display:flex;align-items:flex-end;gap:4px;height:27px}.earning-bars i{display:block;width:4px;background:var(--op-orange);border-radius:2px}.earning-bars i:nth-child(1){height:11px}.earning-bars i:nth-child(2){height:21px}.earning-bars i:nth-child(3){height:27px}
.operator-earnings-details{margin-top:14px;padding:18px;border:1px solid var(--op-line);border-radius:22px;background:#fff}
body.portal-operator .operator-earnings-details .section-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;margin:0 0 14px!important}.operator-earnings-details .section-title h2{font-size:22px!important;margin:0!important}.operator-earnings-details .section-title p{margin:4px 0 0!important;font-size:13px!important}.operator-earnings-details .earnings-tabs{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:7px!important}.operator-earnings-details .earnings-tabs button{min-height:42px!important;border-radius:12px!important}.operator-earnings-details .earnings-cards article{padding:18px!important;border-radius:16px!important}.operator-earnings-details .earnings-cards strong{font-size:27px!important}

/* install banner */
body.portal-operator .operator-install-card{order:3!important;position:relative!important;inset:auto!important;z-index:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:clamp(17px,2.2vw,21px)!important;width:100%!important;min-height:clamp(99px,12.2vw,115px)!important;padding:clamp(15px,1.9vw,18px) clamp(18px,2.2vw,21px)!important;margin:0!important;border:1px solid var(--op-line)!important;border-radius:clamp(22px,2.9vw,27px)!important;background:#fff!important;color:#111!important;box-shadow:0 8px 20px rgba(35,22,14,.028)!important;transform:none!important}
body.portal-operator .operator-install-card>div{display:flex!important;align-items:center!important;min-width:0!important;gap:clamp(19px,2.4vw,23px)!important}
body.portal-operator .operator-install-card img{width:clamp(64px,8.2vw,77px)!important;height:clamp(64px,8.2vw,77px)!important;object-fit:contain!important;border:1px solid var(--op-line)!important;border-radius:clamp(14px,1.8vw,17px)!important;background:#fff!important;padding:5px!important}
body.portal-operator .operator-install-card span{display:flex!important;flex-direction:column!important;min-width:0!important}
body.portal-operator .operator-install-card strong{font-size:clamp(16px,2.2vw,21px)!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.portal-operator .operator-install-card small{margin-top:clamp(7px,.9vw,9px)!important;color:#665f5a!important;font-size:clamp(13px,1.75vw,16.5px)!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.portal-operator .operator-install-card #installPwaButton{width:clamp(123px,15vw,141px)!important;height:clamp(63px,7.8vw,73px)!important;border:0!important;border-radius:clamp(17px,2.2vw,21px)!important;background:linear-gradient(135deg,#ff5d00,#ff5000)!important;color:#fff!important;font-size:clamp(18px,2.4vw,22px)!important;font-weight:650!important}
body.portal-operator .operator-install-card .pwa-dismiss{position:static!important;width:clamp(35px,4.5vw,42px)!important;height:clamp(35px,4.5vw,42px)!important;padding:0!important;border:0!important;background:transparent!important;color:#36312e!important;font-size:clamp(29px,3.8vw,36px)!important;font-weight:300!important}
body.portal-operator.pwa-install-visible{padding-bottom:0!important}

/* bottom navigation */
.operator-bottom-nav{position:fixed;left:50%;bottom:0;z-index:100;transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,1fr);width:min(100%,941px);height:clamp(112px,14vw,132px);padding:clamp(15px,1.8vw,17px) clamp(29px,3.5vw,33px) max(clamp(20px,2.5vw,24px),env(safe-area-inset-bottom));border-top:1px solid var(--op-line);background:rgba(255,255,255,.975);backdrop-filter:blur(18px);box-shadow:0 -7px 20px rgba(25,16,10,.035)}
.operator-bottom-nav:after{content:"";position:absolute;left:50%;bottom:max(7px,env(safe-area-inset-bottom));transform:translateX(-50%);width:clamp(180px,29vw,273px);height:clamp(5px,.65vw,6px);border-radius:999px;background:#050505}
.operator-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:clamp(7px,.9vw,9px);padding:0;border:0;background:transparent;color:#5c5651;font-size:0}
.operator-bottom-nav button>span{position:relative;display:grid;place-items:center;width:clamp(35px,4.8vw,45px);height:clamp(35px,4.8vw,45px)}
.operator-bottom-nav svg{width:100%;height:100%}.operator-bottom-nav button>b{font-size:clamp(13px,1.8vw,17px);font-weight:460;line-height:1;color:inherit}.operator-bottom-nav button.selected{color:var(--op-orange)}
.operator-bottom-badge{position:absolute;top:-7px;right:-9px;display:grid;place-items:center;width:clamp(25px,3.25vw,31px);height:clamp(25px,3.25vw,31px);border-radius:50%;background:var(--op-orange);color:#fff;font-size:clamp(11px,1.5vw,14px);font-style:normal;font-weight:700;border:3px solid #fff}

/* filters sheet */
.operator-filter-dialog{width:min(92vw,520px)!important;max-width:none!important;padding:0!important;border:0!important;border-radius:25px!important;background:transparent!important;box-shadow:none!important}.operator-filter-dialog::backdrop{background:rgba(0,0,0,.34);backdrop-filter:blur(3px)}.operator-filter-sheet{padding:20px;border-radius:25px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.22)}.operator-filter-sheet>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.operator-filter-sheet>div strong{font-size:22px}.operator-filter-sheet>div button{border:0;background:transparent;font-size:32px}.operator-filter-sheet>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:0 15px;margin-top:8px;border:1px solid var(--op-line);border-radius:14px;background:#fff;font-weight:600}.operator-filter-sheet>button b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:999px;background:#f3efec}

/* hide non-reference items from main flow; they remain available inside settings/reports dialogs */
body.portal-operator #operatorView>.dashboard-content>.privacy-note,body.portal-operator #operatorView>.dashboard-content>.operator-settings-card,body.portal-operator #operatorView>.dashboard-content>.operator-capacity-card,body.portal-operator #operatorView>.dashboard-content>.operator-coverage-card{display:none!important}
body.portal-operator .operator-reports-panel{order:1!important}
body.portal-operator .operator-settings-dialog .operator-settings-card,body.portal-operator .operator-settings-dialog .operator-coverage-card{display:flex!important}
body.portal-operator .connection-badge{display:none!important}

/* retain modal usability */
body.portal-operator dialog:not(.operator-filter-dialog){max-width:min(92vw,760px)}
body.portal-operator .operator-settings-dialog{max-width:min(100vw,941px)!important}
body.portal-operator .toast{z-index:1000!important}

@media(max-width:700px){
  body.portal-operator{box-shadow:none}
  .operator-live-heading h1{white-space:normal}
  .operator-route-pair{padding-left:clamp(20px,7vw,46px);padding-right:clamp(20px,7vw,46px);gap:clamp(10px,2.4vw,18px)}
  .operator-card-ref{gap:9px}
  .operator-secondary-actions button{font-size:clamp(13px,2.4vw,17px)}
  .operator-earnings-summary{grid-template-columns:clamp(62px,10vw,72px) minmax(0,1fr) auto;gap:12px;padding:16px}
  .operator-view-earnings{min-width:clamp(150px,30vw,200px);padding:0 12px}
  body.portal-operator .operator-install-card{gap:12px!important}
}
@media(max-width:520px){
  .operator-device-status{padding-inline:26px}
  .operator-brand-row{padding-inline:22px}
  body.portal-operator .brand-logo{width:min(64vw,300px)!important}
  body.portal-operator .dashboard-content{padding-left:18px!important;padding-right:18px!important}
  body.portal-operator #operatorView .sidebar{padding-left:12px!important;padding-right:12px!important}
  body.portal-operator #operatorView .operator-side-nav{gap:6px!important}
  body.portal-operator .operator-side-nav .tab-short{font-size:12px!important}
  body.portal-operator .operator-side-nav>button>b{min-width:25px!important;height:25px!important;font-size:11px!important}
  .operator-live-heading{align-items:flex-end}.operator-filter-button{min-width:108px;padding:0 13px;gap:8px}
  .operator-route-pair{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);padding-left:20px;padding-right:20px}
  .operator-location p{font-size:15px}.operator-location strong{font-size:21px}.operator-location small{font-size:12px}
  .operator-trip-stats{grid-template-columns:repeat(2,1fr)}.operator-stat:nth-child(2):after{display:none}.operator-stat{min-height:74px}.operator-stat:nth-child(-n+2){border-bottom:1px solid var(--op-line)}
  .operator-primary-actions,.operator-secondary-actions{gap:7px}.operator-secondary-actions button{padding:0 4px;font-size:13px;gap:7px}.operator-secondary-actions button svg{width:27px;height:27px}
  .operator-earnings-summary{grid-template-columns:58px minmax(0,1fr);min-height:116px}.operator-wallet-icon{width:58px;height:58px}.operator-view-earnings{grid-column:1/-1;width:100%;min-width:0;height:54px}.operator-today-earning strong{font-size:31px}
  body.portal-operator .operator-install-card{grid-template-columns:minmax(0,1fr) auto!important}.operator-install-card .pwa-dismiss{position:absolute!important;right:8px!important;top:8px!important}.operator-install-card #installPwaButton{width:95px!important;height:56px!important}.operator-install-card img{width:55px!important;height:55px!important}.operator-install-card strong{font-size:15px!important}.operator-install-card small{font-size:12px!important}
  .operator-bottom-nav{padding-left:13px;padding-right:13px}.operator-bottom-nav button>b{font-size:12px}
}

/* final layout authority: overrides high-specificity legacy dashboard rules */
body.portal-operator #operatorView.dashboard.operator-reference-view.active-view{
  display:block!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  width:100%!important;
  min-height:100dvh!important;
  padding-top:0!important;
  margin:0!important;
  overflow:visible!important;
}
body.portal-operator #operatorView.operator-reference-view>.sidebar{
  position:relative!important;
  inset:auto!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  width:100%!important;
  height:clamp(101px,15.2vw,143px)!important;
  max-height:none!important;
  transform:none!important;
}
body.portal-operator #operatorView.operator-reference-view>.dashboard-content{
  position:relative!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  overflow:visible!important;
}
body.portal-operator #operatorAlert{display:none!important}
body.portal-operator .brand-horizontal{display:flex;align-items:center;gap:clamp(11px,1.6vw,15px);height:clamp(68px,8.6vw,81px)}
body.portal-operator .brand-car{display:block;width:clamp(124px,17.2vw,162px);height:clamp(55px,7.4vw,70px);object-fit:contain}
body.portal-operator .brand-name{display:block;color:#111;font-size:clamp(35px,5vw,47px);line-height:1;font-weight:760;letter-spacing:-.055em;white-space:nowrap}
body.portal-operator .brand-name>span{color:var(--op-orange);padding:0 .025em}

/* final spacing calibration against the approved 941 × 1672 reference */
body.portal-operator #operatorView.operator-reference-view>.dashboard-content{padding-top:clamp(20px,2.35vw,22px)!important}
body.portal-operator .operator-route-pair{padding-bottom:clamp(17px,2.1vw,20px)}
body.portal-operator .operator-route-line{height:clamp(102px,12.7vw,120px)}
body.portal-operator .operator-trip-stats{min-height:clamp(96px,11.9vw,112px)}
body.portal-operator .operator-secondary-actions .start:disabled{opacity:1!important;color:#18ab37!important}
body.portal-operator .operator-install-card{min-height:clamp(92px,11.15vw,105px)!important}

/* keep all five status tabs on one line on every mobile width */
body.portal-operator #operatorView.operator-reference-view .operator-side-nav>button,
body.portal-operator #operatorView.operator-reference-view .operator-side-nav>button:last-child,
body.portal-operator #operatorView.operator-reference-view .operator-side-nav>button:nth-child(n){
  grid-column:auto!important;
  grid-row:1!important;
}
body.portal-operator #accountButton .photo-fallback{
  font-size:0!important;
  background:#fff url('logo-mark-new.png') center/cover no-repeat!important;
}

/* ============================================================
   Ask4Ride Operator v16 — responsive browser/app layout
   ============================================================ */
body.portal-operator{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  box-shadow:none!important;
  background:#f6f7f8!important;
}
body.portal-operator .operator-device-status{display:none!important}
body.portal-operator .topbar{
  position:relative!important;
  width:100%!important;
  background:#fff!important;
  border-bottom:1px solid var(--op-line)!important;
}
body.portal-operator .operator-brand-row{
  width:100%;
  height:82px;
  padding:0 22px;
  margin:0 auto;
}
body.portal-operator .brand-horizontal{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  height:54px!important;
}
body.portal-operator .brand-car{
  display:block!important;
  width:88px!important;
  height:44px!important;
  object-fit:contain!important;
}
body.portal-operator .brand-name{
  display:block!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:780!important;
  letter-spacing:-.05em!important;
}
body.portal-operator #accountButton{
  width:54px!important;
  height:54px!important;
  border-width:4px!important;
  padding:3px!important;
}
.operator-desktop-nav{display:none}

/* Earnings is a real page, not a permanent dashboard card. */
body.portal-operator #operatorView:not(.earnings-mode) #operatorEarningsPanel,
body.portal-operator #operatorEarningsPanel.hidden{
  display:none!important;
}
body.portal-operator #operatorView.earnings-mode #operatorEarningsPanel.is-open{
  display:block!important;
  order:1!important;
}
body.portal-operator #operatorView.earnings-mode .operator-live-heading,
body.portal-operator #operatorView.earnings-mode #operatorRides,
body.portal-operator #operatorView.earnings-mode #operatorReviews,
body.portal-operator #operatorView.earnings-mode #operatorAlert,
body.portal-operator #operatorView.earnings-mode #pwaInstallBar{
  display:none!important;
}
body.portal-operator #operatorView.earnings-mode .operator-earnings-details{
  display:block;
  margin-top:18px;
}

/* The install message must always be dismissible. */
body.portal-operator #pwaInstallBar.hidden,
body.portal-operator #pwaInstallBar[hidden],
body.portal-operator .operator-install-card.hidden{
  display:none!important;
}
body.portal-operator #dismissPwaButton{
  position:relative!important;
  z-index:5!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}
body.portal-operator #installPwaButton{cursor:pointer!important}

/* Remove artificial phone-home decoration. The real device/browser provides it. */
body.portal-operator .operator-bottom-nav:after{display:none!important}

@media (min-width:900px){
  body.portal-operator main{background:#f6f7f8!important}
  body.portal-operator .topbar{
    position:sticky!important;
    top:0!important;
    z-index:300!important;
    box-shadow:0 3px 14px rgba(28,20,14,.045)!important;
  }
  body.portal-operator .operator-brand-row{
    max-width:1440px;
    height:76px;
    padding:0 28px;
    gap:24px;
  }
  body.portal-operator .brand-horizontal{height:50px!important;gap:9px!important}
  body.portal-operator .brand-car{width:82px!important;height:40px!important}
  body.portal-operator .brand-name{font-size:29px!important}
  body.portal-operator #accountButton{width:48px!important;height:48px!important;border-width:3px!important}

  .operator-desktop-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    margin-left:auto;
    padding:5px;
    border:1px solid #ece7e3;
    border-radius:16px;
    background:#faf9f8;
  }
  .operator-desktop-nav button{
    min-height:38px;
    padding:0 15px;
    border:0;
    border-radius:11px;
    background:transparent;
    color:#5a5551;
    font-size:14px;
    font-weight:650;
    cursor:pointer;
  }
  .operator-desktop-nav button:hover{background:#fff;color:#111}
  .operator-desktop-nav button.selected{
    background:#111;
    color:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
  }

  body.portal-operator #operatorView.dashboard.operator-reference-view.active-view{
    display:grid!important;
    grid-template-columns:230px minmax(0,1fr)!important;
    align-items:start!important;
    gap:26px!important;
    width:min(100%,1440px)!important;
    min-height:calc(100dvh - 76px)!important;
    padding:24px 28px 36px!important;
    margin:0 auto!important;
    background:#f6f7f8!important;
  }
  body.portal-operator #operatorView.operator-reference-view>.sidebar{
    position:sticky!important;
    top:100px!important;
    display:block!important;
    width:230px!important;
    height:auto!important;
    min-height:0!important;
    max-height:calc(100dvh - 124px)!important;
    padding:16px!important;
    margin:0!important;
    border:1px solid #e8e2de!important;
    border-radius:22px!important;
    background:#fff!important;
    box-shadow:0 10px 30px rgba(45,31,21,.05)!important;
    overflow:auto!important;
  }
  body.portal-operator #operatorView .operator-side-nav{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:none!important;
    gap:8px!important;
    height:auto!important;
  }
  body.portal-operator #operatorView .operator-side-nav>button,
  body.portal-operator #operatorView.operator-reference-view .operator-side-nav>button:nth-child(n){
    position:relative!important;
    grid-column:1!important;
    grid-row:auto!important;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    align-items:center!important;
    justify-items:start!important;
    gap:11px!important;
    min-height:58px!important;
    height:auto!important;
    padding:10px 12px!important;
    border:1px solid transparent!important;
    border-radius:15px!important;
    background:transparent!important;
    color:#514b47!important;
    box-shadow:none!important;
  }
  body.portal-operator #operatorView .operator-side-nav>button:hover{
    background:#faf8f6!important;
    border-color:#eee8e4!important;
  }
  body.portal-operator #operatorView .operator-side-nav>button.selected{
    background:#111!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(0,0,0,.1)!important;
  }
  body.portal-operator .operator-side-nav .tab-icon{
    width:27px!important;
    height:27px!important;
  }
  body.portal-operator .operator-side-nav .tab-label{text-align:left!important}
  body.portal-operator .operator-side-nav .tab-full{
    display:block!important;
    font-size:14px!important;
    font-weight:650!important;
    white-space:nowrap!important;
  }
  body.portal-operator .operator-side-nav .tab-short{display:none!important}
  body.portal-operator .operator-side-nav>button>b{
    position:static!important;
    min-width:28px!important;
    height:28px!important;
    padding:0 7px!important;
    font-size:12px!important;
  }

  body.portal-operator #operatorView.operator-reference-view>.dashboard-content{
    display:flex!important;
    width:100%!important;
    max-width:1080px!important;
    min-width:0!important;
    gap:22px!important;
    padding:26px 0 0!important;
    margin:0 auto!important;
    background:transparent!important;
  }
  body.portal-operator .operator-live-heading{
    min-height:104px;
    padding:0 4px;
  }
  body.portal-operator .operator-live-pill{
    height:28px;
    margin-bottom:12px;
    font-size:12px;
  }
  body.portal-operator .operator-live-heading h1{
    font-size:36px!important;
    white-space:normal!important;
  }
  body.portal-operator .operator-live-heading #operatorRequestSummary{font-size:18px!important}
  body.portal-operator .operator-filter-button{
    min-width:128px;
    height:54px;
    margin-bottom:4px;
    border-radius:16px;
    font-size:16px;
  }
  body.portal-operator #operatorRides{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:20px!important;
    overflow:visible!important;
  }
  body.portal-operator .operator-reference-card{
    flex:none!important;
    min-width:0!important;
    width:100%!important;
    border-radius:24px!important;
  }
  body.portal-operator .operator-reference-rides>.empty-state{
    min-height:280px!important;
    border-radius:24px!important;
  }
  body.portal-operator .operator-route-pair{
    padding-left:70px!important;
    padding-right:70px!important;
  }
  body.portal-operator .operator-trip-stats{min-height:104px!important}
  body.portal-operator .operator-primary-actions button{height:68px!important}
  body.portal-operator .operator-secondary-actions button{height:62px!important}

  body.portal-operator .operator-earnings-summary{
    min-height:118px;
    padding:20px 24px;
    border-radius:22px;
  }
  body.portal-operator .operator-earnings-details{
    padding:24px;
    border-radius:22px;
  }
  body.portal-operator .operator-install-card{
    min-height:82px!important;
    padding:12px 16px!important;
    border-radius:20px!important;
  }
  body.portal-operator .operator-install-card img{width:54px!important;height:54px!important}
  body.portal-operator .operator-install-card #installPwaButton{width:112px!important;height:52px!important;font-size:16px!important}
  body.portal-operator .operator-bottom-nav{display:none!important}
  body.portal-operator #operatorView{padding-bottom:36px!important}
}

@media (max-width:899px){
  body.portal-operator{background:#fff!important}
  body.portal-operator .operator-desktop-nav{display:none!important}
  body.portal-operator .operator-brand-row{
    height:80px;
    padding:0 20px;
  }
  body.portal-operator .brand-car{width:82px!important;height:41px!important}
  body.portal-operator .brand-name{font-size:29px!important}
  body.portal-operator #accountButton{width:50px!important;height:50px!important}
  body.portal-operator #operatorView.dashboard.operator-reference-view.active-view{
    display:block!important;
    width:100%!important;
    min-height:100dvh!important;
    padding:0 0 88px!important;
    background:#fff!important;
  }
  body.portal-operator #operatorView.operator-reference-view>.sidebar{
    height:94px!important;
    padding:10px 12px!important;
    border-radius:0!important;
  }
  body.portal-operator #operatorView .operator-side-nav{gap:7px!important}
  body.portal-operator #operatorView .operator-side-nav>button{
    border-radius:17px!important;
    gap:5px!important;
  }
  body.portal-operator .operator-side-nav .tab-icon{width:28px!important;height:28px!important}
  body.portal-operator .operator-side-nav .tab-short{font-size:13px!important}
  body.portal-operator .operator-side-nav>button>b{
    top:0!important;
    right:0!important;
    min-width:25px!important;
    height:25px!important;
    font-size:11px!important;
  }
  body.portal-operator #operatorView.operator-reference-view>.dashboard-content{
    gap:20px!important;
    padding:24px 20px 18px!important;
  }
  body.portal-operator .operator-live-heading{
    min-height:112px;
    gap:16px;
  }
  body.portal-operator .operator-live-pill{margin-bottom:14px}
  body.portal-operator .operator-live-heading h1{font-size:34px!important;white-space:normal!important}
  body.portal-operator .operator-live-heading #operatorRequestSummary{font-size:19px!important}
  body.portal-operator .operator-filter-button{
    min-width:112px;
    height:56px;
    margin-bottom:5px;
    border-radius:17px;
    font-size:16px;
  }
  body.portal-operator .operator-reference-rides>.empty-state{min-height:250px!important}
  body.portal-operator .operator-bottom-nav{
    display:grid!important;
    width:100%!important;
    height:78px!important;
    padding:10px 12px max(9px,env(safe-area-inset-bottom))!important;
  }
  body.portal-operator .operator-bottom-nav button{
    justify-content:center!important;
    gap:4px!important;
  }
  body.portal-operator .operator-bottom-nav button>span{width:28px!important;height:28px!important}
  body.portal-operator .operator-bottom-nav button>b{font-size:11px!important}
  body.portal-operator .operator-bottom-badge{
    top:-7px;
    right:-9px;
    width:22px;
    height:22px;
    border-width:2px;
    font-size:10px;
  }
}

@media (max-width:560px){
  body.portal-operator .operator-brand-row{height:72px;padding:0 15px}
  body.portal-operator .brand-horizontal{gap:7px!important}
  body.portal-operator .brand-car{width:66px!important;height:34px!important}
  body.portal-operator .brand-name{font-size:25px!important}
  body.portal-operator #accountButton{width:44px!important;height:44px!important}
  body.portal-operator #operatorView.operator-reference-view>.sidebar{height:86px!important;padding:9px 8px!important}
  body.portal-operator #operatorView .operator-side-nav{gap:4px!important}
  body.portal-operator .operator-side-nav .tab-icon{width:24px!important;height:24px!important}
  body.portal-operator .operator-side-nav .tab-short{font-size:11px!important}
  body.portal-operator .operator-side-nav>button>b{min-width:22px!important;height:22px!important;font-size:10px!important}
  body.portal-operator #operatorView.operator-reference-view>.dashboard-content{padding:20px 14px 16px!important}
  body.portal-operator .operator-live-heading{min-height:104px;gap:10px}
  body.portal-operator .operator-live-heading h1{font-size:29px!important}
  body.portal-operator .operator-live-heading #operatorRequestSummary{font-size:17px!important}
  body.portal-operator .operator-filter-button{min-width:96px;height:50px;padding:0 10px;font-size:14px;gap:7px}
  body.portal-operator .operator-route-pair{padding-left:16px!important;padding-right:16px!important;gap:8px!important}
  body.portal-operator .operator-location strong{font-size:20px!important}
  body.portal-operator .operator-location p{font-size:14px!important}
  body.portal-operator .operator-primary-actions button{height:61px!important;font-size:17px!important}
  body.portal-operator .operator-secondary-actions button{height:58px!important;font-size:12px!important;gap:6px!important}
  body.portal-operator .operator-secondary-actions button svg{width:25px!important;height:25px!important}
  body.portal-operator .operator-install-card{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:11px!important;
  }
  body.portal-operator .operator-install-card>div{gap:10px!important}
  body.portal-operator .operator-install-card .pwa-dismiss{position:absolute!important;right:5px!important;top:3px!important}
  body.portal-operator .operator-install-card #installPwaButton{width:82px!important;height:48px!important;font-size:15px!important;margin-right:25px!important}
  body.portal-operator .operator-install-card img{width:46px!important;height:46px!important}
  body.portal-operator .operator-install-card strong{font-size:13px!important;padding-right:18px}
  body.portal-operator .operator-install-card small{font-size:11px!important;white-space:normal!important}
}

/* Earnings uses its own uncluttered page state. */
body.portal-operator #operatorView.earnings-mode>.sidebar{display:none!important}
@media (min-width:900px){
  body.portal-operator #operatorView.dashboard.operator-reference-view.active-view.earnings-mode{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.portal-operator #operatorView.earnings-mode>.dashboard-content{
    max-width:1080px!important;
    padding-top:32px!important;
  }
}


/* ============================================================
   Ask4Ride Operator v17 — fixed navigation and ride controls
   ============================================================ */
/* Keep the real application header visible while the operator scrolls. */
body.portal-operator .topbar{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  background:rgba(255,255,255,.98)!important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

/* The status tabs stay directly below the fixed header on phones/tablets. */
@media (max-width:899px){
  body.portal-operator #operatorView.operator-reference-view>.sidebar{
    position:sticky!important;
    top:80px!important;
    z-index:900!important;
    background:rgba(255,255,255,.985)!important;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-shadow:0 7px 18px rgba(28,20,14,.055)!important;
  }
}
@media (max-width:560px){
  body.portal-operator #operatorView.operator-reference-view>.sidebar{top:72px!important}
}

/* Desktop keeps the header at the top and the status panel pinned beneath it. */
@media (min-width:900px){
  body.portal-operator #operatorView.operator-reference-view>.sidebar{
    position:sticky!important;
    top:100px!important;
    z-index:120!important;
  }
}

/* Status navigation remains available when the separate Earnings page is open. */
body.portal-operator #operatorView.earnings-mode>.sidebar{display:block!important}
@media (min-width:900px){
  body.portal-operator #operatorView.dashboard.operator-reference-view.active-view.earnings-mode{
    grid-template-columns:230px minmax(0,1fr)!important;
  }
  body.portal-operator #operatorView.earnings-mode>.dashboard-content{
    max-width:1080px!important;
    padding-top:26px!important;
  }
}

/* ============================================================
   Ask4Ride Operator v18 — commercial fixed workspace
   ============================================================ */
body.portal-operator{
  --op-header-h:76px;
  --op-tabs-h:92px;
  --op-footer-h:76px;
  max-width:none!important;
  width:100%!important;
  min-height:100dvh!important;
  margin:0!important;
  padding:0!important;
  background:#f6f7f8!important;
  box-shadow:none!important;
  overflow-x:hidden!important;
}
body.portal-operator .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.portal-operator .topbar{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;
  z-index:1200!important;
  height:var(--op-header-h)!important;
  min-height:var(--op-header-h)!important;
  background:rgba(255,255,255,.985)!important;
  border-bottom:1px solid #ebe5e1!important;
  box-shadow:0 4px 18px rgba(28,20,14,.055)!important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
body.portal-operator .operator-brand-row{
  width:min(100%,1440px)!important;height:100%!important;max-width:1440px!important;
  padding:0 28px!important;margin:0 auto!important;gap:18px!important;
}
body.portal-operator .operator-desktop-nav,body.portal-operator .role-switcher{display:none!important}
body.portal-operator .brand-horizontal{height:50px!important;gap:9px!important}
body.portal-operator .brand-car{width:82px!important;height:41px!important}
body.portal-operator .brand-name{font-size:29px!important}
.operator-presence-wrap{display:flex;align-items:center;gap:10px;margin-left:auto}
.operator-presence-text{display:inline-flex;align-items:center;gap:7px;color:#7a716b;font-size:13px;font-weight:750;white-space:nowrap}
.operator-presence-text:before{content:"";width:8px;height:8px;border-radius:50%;background:#d13a2d;box-shadow:0 0 0 4px #fff0ed}
.operator-presence-text.is-live{color:#16823a}.operator-presence-text.is-live:before{background:#1ebc58;box-shadow:0 0 0 4px #e8faef}
body.portal-operator #accountButton{
  position:relative!important;display:grid!important;place-items:center!important;
  width:50px!important;height:50px!important;min-width:50px!important;padding:3px!important;
  border:4px solid #efb2a6!important;border-radius:50%!important;background:#fff!important;
  overflow:visible!important;box-shadow:0 3px 13px rgba(0,0,0,.08)!important;
}
body.portal-operator #accountButton.shift-live{border-color:#67dc94!important}
body.portal-operator #accountButton.shift-off{border-color:#efb2a6!important}
body.portal-operator #accountButton:after{
  content:""!important;display:block!important;position:absolute!important;right:-2px!important;bottom:0!important;
  width:13px!important;height:13px!important;border:3px solid #fff!important;border-radius:50%!important;background:#d13a2d!important;
}
body.portal-operator #accountButton.shift-live:after{display:block!important;background:#1dbb57!important}
body.portal-operator #accountButton img,body.portal-operator #accountButton .photo-fallback{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden!important}

body.portal-operator main{padding:0!important;margin:0!important;background:#f6f7f8!important}
body.portal-operator #operatorView.dashboard.operator-reference-view.active-view{
  display:block!important;width:100%!important;min-height:100dvh!important;
  padding:calc(var(--op-header-h) + var(--op-tabs-h) + 22px) 0 calc(var(--op-footer-h) + 34px)!important;
  margin:0!important;background:#f6f7f8!important;overflow:visible!important;
}
body.portal-operator #operatorView.operator-reference-view>.sidebar{
  position:fixed!important;top:var(--op-header-h)!important;left:0!important;right:0!important;bottom:auto!important;
  z-index:1100!important;width:100%!important;height:var(--op-tabs-h)!important;max-height:none!important;
  padding:10px 18px!important;margin:0!important;border:0!important;border-bottom:1px solid #e9e3df!important;border-radius:0!important;
  background:rgba(255,255,255,.985)!important;box-shadow:0 5px 15px rgba(30,20,14,.045)!important;
  overflow:hidden!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
body.portal-operator #operatorView .side-brand,body.portal-operator #operatorView .online{display:none!important}
body.portal-operator #operatorView .operator-side-nav{
  display:flex!important;align-items:stretch!important;justify-content:flex-start!important;
  width:min(100%,1440px)!important;height:100%!important;margin:0 auto!important;padding:0 2px 2px!important;
  gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;scroll-snap-type:x proximity;
}
body.portal-operator #operatorView .operator-side-nav>button,
body.portal-operator #operatorView.operator-reference-view .operator-side-nav>button:nth-child(n){
  position:relative!important;display:flex!important;flex:0 0 116px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  grid-column:auto!important;grid-row:auto!important;gap:5px!important;width:116px!important;min-width:116px!important;height:68px!important;
  padding:7px 8px!important;border:1px solid transparent!important;border-radius:16px!important;background:#fff!important;color:#514b47!important;
  box-shadow:none!important;scroll-snap-align:start!important;cursor:pointer!important;
}
body.portal-operator #operatorView .operator-side-nav>button:hover{background:#faf8f6!important;border-color:#eee6e1!important}
body.portal-operator #operatorView .operator-side-nav>button.selected{background:#111!important;color:#fff!important;border-color:#111!important;box-shadow:0 8px 18px rgba(0,0,0,.12)!important}
body.portal-operator .operator-side-nav .tab-icon{width:24px!important;height:24px!important;display:grid!important;place-items:center!important}
body.portal-operator .operator-side-nav .tab-label{text-align:center!important;line-height:1!important}
body.portal-operator .operator-side-nav .tab-full{display:block!important;font-size:12px!important;font-weight:720!important;white-space:nowrap!important}
body.portal-operator .operator-side-nav .tab-short{display:none!important}
body.portal-operator .operator-side-nav>button>b{
  position:absolute!important;top:5px!important;right:7px!important;display:grid!important;place-items:center!important;
  min-width:22px!important;height:22px!important;padding:0 5px!important;border:1px solid #e5dfdb!important;border-radius:999px!important;
  background:#fff!important;color:#29231f!important;font-size:10px!important;font-weight:800!important;
}
body.portal-operator .operator-side-nav>button.selected>b{border-color:#ff5a00!important;background:#ff5a00!important;color:#fff!important}

body.portal-operator #operatorView.operator-reference-view>.dashboard-content{
  display:flex!important;flex-direction:column!important;width:min(calc(100% - 40px),1180px)!important;max-width:1180px!important;
  min-width:0!important;padding:0!important;margin:0 auto!important;gap:20px!important;background:transparent!important;overflow:visible!important;
}
body.portal-operator .operator-live-heading{min-height:110px!important;padding:8px 2px 0!important}
body.portal-operator .operator-live-heading h1{font-size:38px!important;white-space:normal!important}
body.portal-operator .operator-filter-button{height:54px!important;min-width:126px!important}
body.portal-operator #operatorRides{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;width:100%!important;overflow:visible!important}
body.portal-operator .operator-reference-card{width:100%!important;min-width:0!important;border-radius:25px!important;box-shadow:0 10px 30px rgba(43,30,20,.045)!important}
body.portal-operator .operator-reference-rides>.empty-state{min-height:260px!important;border-radius:24px!important;background:#fff!important;border:1px solid #e8e2de!important}

.operator-shift-off-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:330px;padding:42px 24px;border:1px solid #eadfd9;border-radius:26px;background:#fff;text-align:center;box-shadow:0 10px 30px rgba(43,30,20,.04)}
.operator-shift-off-state .shift-off-icon{display:grid;place-items:center;width:68px;height:68px;margin-bottom:18px;border-radius:50%;background:#fff0ed;color:#d13a2d;font-size:28px;box-shadow:inset 0 0 0 10px #fff8f6}
.operator-shift-off-state h2{margin:0 0 8px;font-size:28px}.operator-shift-off-state p{max-width:600px;margin:0;color:#6e6660;line-height:1.55}
.operator-shift-off-state button{min-width:170px;height:52px;margin-top:22px;border:0;border-radius:14px;background:#111;color:#fff;font-weight:800;cursor:pointer}

.operator-quote-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 24px 18px;padding:14px 17px;border:1px solid #ffd2bd;border-radius:15px;background:#fff5ef;color:#723217}
.operator-quote-notice strong{font-size:15px}.operator-quote-notice span{font-size:13px;color:#7b6357}.operator-quote-notice.customer-counter{border-color:#c9dafa;background:#f3f7ff;color:#1d4783}
.operator-accept-button.quote-waiting{background:#f0ece9!important;color:#6c625c!important;border:1px solid #ddd4cf!important;box-shadow:none!important;opacity:1!important}
.operator-accept-button.is-submitting{opacity:.75!important}.operator-accept-button.quote-sent{background:#e9f7ee!important;color:#167b39!important}

.operator-stage-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin:0 24px 22px;padding:18px 18px 18px 21px;border:1px solid #ffc5a4;border-radius:18px;background:linear-gradient(135deg,#fff8f2,#fff);box-shadow:0 8px 20px rgba(255,90,0,.08)}
.operator-stage-banner>div{display:flex;flex-direction:column;gap:3px}.operator-stage-banner small{color:#e45205;font-size:10px;font-weight:850;letter-spacing:.1em}.operator-stage-banner strong{font-size:22px}.operator-stage-banner span{color:#6b625c;font-size:13px;line-height:1.4}
.operator-stage-banner button{display:flex;align-items:center;justify-content:center;gap:13px;min-width:230px;height:64px;padding:0 22px;border:0;border-radius:16px;background:linear-gradient(135deg,#ff6500,#f04e00);color:#fff;font-weight:850;box-shadow:0 10px 22px rgba(244,83,0,.22);cursor:pointer}
.operator-stage-banner button b{font-size:22px}.operator-stage-banner button:disabled{opacity:.6}
.operator-stage-banner.completed{border-color:#bee8cb;background:#f3fbf6}.operator-stage-banner.completed small{color:#16833c}
body.portal-operator .commercial-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.portal-operator .commercial-actions .full-width-action{grid-column:1/-1!important}
body.portal-operator .commercial-actions .open-ride-message{color:#245da8!important}.commercial-actions .operator-report-customer{color:#a56a00!important}

.operator-workspace-panel{width:100%;padding:24px;border:1px solid #e7e0dc;border-radius:25px;background:#fff;box-shadow:0 10px 30px rgba(43,30,20,.045)}
.workspace-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.workspace-heading h2{margin:2px 0 5px;font-size:30px}.workspace-heading p{margin:0;color:#6e6660}.compact-primary{width:auto!important;min-width:170px!important;height:50px!important;padding:0 18px!important}
.operator-message-layout{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:560px;border:1px solid #e8e1dd;border-radius:20px;overflow:hidden;background:#fbfaf9}
.operator-message-threads{padding:10px;border-right:1px solid #e8e1dd;background:#fff;overflow:auto}
.operator-message-thread{position:relative;display:flex;flex-direction:column;align-items:stretch;width:100%;min-height:88px;padding:13px 38px 12px 13px;margin:0 0 7px;border:1px solid transparent;border-radius:14px;background:#fff;color:#201c19;text-align:left;cursor:pointer}
.operator-message-thread:hover,.operator-message-thread.selected{border-color:#f5b28d;background:#fff6f0}.operator-message-thread span{display:flex;justify-content:space-between;gap:8px}.operator-message-thread strong{font-size:14px}.operator-message-thread small{color:#8a817b;font-size:11px}.operator-message-thread em{margin-top:9px;color:#6d655f;font-size:12px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.operator-message-thread>b{position:absolute;right:12px;top:12px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#ff5a00;color:#fff;font-size:11px}
.operator-message-conversation{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;background:#f8f7f6}.operator-message-head{padding:18px 20px;border-bottom:1px solid #e8e1dd;background:#fff}.operator-message-head{display:flex;flex-direction:column;gap:3px}.operator-message-head small{color:#756d68}
.operator-message-list{display:flex;flex-direction:column;gap:10px;padding:20px;overflow:auto;max-height:480px}.ride-message{max-width:min(78%,620px);padding:11px 14px;border-radius:16px;background:#fff;border:1px solid #e7e0dc;box-shadow:0 3px 10px rgba(0,0,0,.025)}.ride-message.mine{align-self:flex-end;background:#ff5a00;border-color:#ff5a00;color:#fff}.ride-message.theirs{align-self:flex-start}.ride-message p{margin:0;white-space:pre-wrap;line-height:1.45}.ride-message small{display:block;margin-top:5px;color:#8a817b;font-size:10px}.ride-message.mine small{color:#ffe5d7}
.operator-message-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px;border-top:1px solid #e8e1dd;background:#fff}.operator-message-form textarea{min-height:54px;max-height:130px;padding:13px;border:1px solid #dcd4cf;border-radius:13px;resize:vertical}.operator-message-form button{min-width:92px;border:0;border-radius:13px;background:#ff5a00;color:#fff;font-weight:800;cursor:pointer}

.operator-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.operator-help-grid article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:14px;padding:18px;border:1px solid #e8e1dd;border-radius:18px;background:#fff}.operator-help-grid article>span{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#fff0e8;color:#ee5200;font-weight:850}.operator-help-grid h3{margin:1px 0 5px}.operator-help-grid p{margin:0;color:#6c645e;font-size:13px;line-height:1.45}.operator-help-grid small{display:block;margin-top:8px;color:#7c736d}.operator-help-grid article>button{align-self:center;min-width:130px;height:42px;padding:0 12px;border:1px solid #e3dcd8;border-radius:12px;background:#fff;font-weight:750;cursor:pointer}.operator-help-grid article>button:hover{border-color:#ffb48a;background:#fff8f3}.email-test-ok{color:#16823a!important}.email-test-failed{color:#b73529!important}

body.portal-operator #operatorReportsPanel{width:100%!important;padding:24px!important;border:1px solid #e7e0dc!important;border-radius:25px!important;background:#fff!important;box-shadow:0 10px 30px rgba(43,30,20,.045)!important}
body.portal-operator #operatorEarningsPanel.is-open{display:block!important;width:100%!important;order:initial!important}
body.portal-operator #operatorView.earnings-mode .operator-earnings-details{display:block!important}
body.portal-operator #operatorView.earnings-mode>.sidebar{display:block!important}
body.portal-operator #operatorView.earnings-mode>.dashboard-content{max-width:1180px!important;padding:0!important}


.operator-tour-dialog{position:fixed!important;inset:auto 20px 92px auto!important;z-index:1600!important;width:min(390px,calc(100vw - 28px))!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;overflow:visible!important}.operator-tour-card{position:relative;padding:22px;border:1px solid #e7dfda;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.22)}.operator-tour-number{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff0e8;color:#ee5200;font-size:11px;font-weight:800}.operator-tour-card h2{margin:12px 0 7px}.operator-tour-card p{margin:0;color:#6c645e;line-height:1.5}.operator-tour-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.operator-tour-actions button{height:46px!important}.operator-tour-highlight{position:relative!important;z-index:1500!important;outline:5px solid rgba(255,90,0,.28)!important;outline-offset:5px!important;box-shadow:0 0 0 12px rgba(255,90,0,.08)!important}

body.portal-operator #pwaInstallBar.hidden,body.portal-operator #pwaInstallBar[hidden]{display:none!important}body.portal-operator #dismissPwaButton{pointer-events:auto!important;z-index:10!important;cursor:pointer!important}

@media (max-width:760px){
  body.portal-operator{--op-header-h:68px;--op-tabs-h:80px;--op-footer-h:72px;background:#fff!important}
  body.portal-operator .operator-brand-row{padding:0 14px!important;gap:8px!important}.operator-presence-text{display:none}.operator-presence-wrap{gap:0}
  body.portal-operator .brand-car{width:67px!important;height:34px!important}.body.portal-operator .brand-name{font-size:25px!important}body.portal-operator .brand-name{font-size:25px!important}
  body.portal-operator #accountButton{width:44px!important;height:44px!important;min-width:44px!important;border-width:3px!important}
  body.portal-operator #operatorView.operator-reference-view>.sidebar{padding:7px 8px!important}
  body.portal-operator #operatorView .operator-side-nav{gap:5px!important}
  body.portal-operator #operatorView .operator-side-nav>button,body.portal-operator #operatorView.operator-reference-view .operator-side-nav>button:nth-child(n){flex-basis:82px!important;width:82px!important;min-width:82px!important;height:64px!important;padding:5px!important;border-radius:14px!important}
  body.portal-operator .operator-side-nav .tab-icon{width:22px!important;height:22px!important}.body.portal-operator .operator-side-nav .tab-full{display:none!important}body.portal-operator .operator-side-nav .tab-full{display:none!important}body.portal-operator .operator-side-nav .tab-short{display:block!important;font-size:10px!important;font-weight:750!important}
  body.portal-operator .operator-side-nav>button>b{top:3px!important;right:4px!important;min-width:20px!important;height:20px!important;font-size:9px!important}
  body.portal-operator #operatorView.operator-reference-view>.dashboard-content{width:100%!important;max-width:none!important;padding:0 13px!important;gap:16px!important;background:#fff!important}
  body.portal-operator .operator-live-heading{min-height:98px!important;padding-top:4px!important}.operator-live-pill{margin-bottom:10px!important}.body.portal-operator .operator-live-heading h1{font-size:29px!important}body.portal-operator .operator-live-heading h1{font-size:29px!important}.body.portal-operator .operator-live-heading #operatorRequestSummary{font-size:17px!important}body.portal-operator .operator-live-heading #operatorRequestSummary{font-size:17px!important}
  body.portal-operator .operator-filter-button{min-width:94px!important;height:48px!important;padding:0 10px!important;font-size:13px!important}
  .operator-stage-banner{grid-template-columns:1fr;margin:0 14px 18px;padding:16px}.operator-stage-banner button{width:100%;min-width:0;height:60px}.operator-stage-banner strong{font-size:20px}
  .operator-quote-notice{flex-direction:column;align-items:flex-start;margin:0 14px 16px;gap:4px}
  body.portal-operator .operator-route-pair{padding-left:16px!important;padding-right:16px!important}
  body.portal-operator .operator-trip-stats{grid-template-columns:repeat(2,1fr)!important}.operator-stat:nth-child(2):after{display:none!important}
  body.portal-operator .operator-primary-actions button{height:60px!important;font-size:15px!important}.body.portal-operator .commercial-actions{grid-template-columns:1fr!important}body.portal-operator .commercial-actions{grid-template-columns:1fr!important}.body.portal-operator .commercial-actions .full-width-action{grid-column:auto!important}body.portal-operator .commercial-actions .full-width-action{grid-column:auto!important}
  .workspace-heading{flex-direction:column}.operator-workspace-panel,body.portal-operator #operatorReportsPanel{padding:16px!important;border-radius:20px!important}.operator-message-layout{grid-template-columns:1fr;min-height:560px}.operator-message-threads{display:flex;gap:8px;border-right:0;border-bottom:1px solid #e8e1dd;overflow-x:auto}.operator-message-thread{flex:0 0 230px;margin:0}.operator-message-list{max-height:330px;padding:14px}.operator-message-form{grid-template-columns:1fr}.operator-message-form button{height:48px}.operator-help-grid{grid-template-columns:1fr}.operator-help-grid article{grid-template-columns:40px minmax(0,1fr)}.operator-help-grid article>button{grid-column:1/-1;width:100%}
  .operator-tour-dialog{right:14px!important;left:14px!important;bottom:84px!important;width:auto!important}.operator-tour-card{padding:19px}
}

@media (min-width:1200px){
  body.portal-operator #operatorRides{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important}
  body.portal-operator .operator-reference-card.active-commercial-ride{grid-column:1/-1!important}
  body.portal-operator .operator-reference-rides>.empty-state,.operator-shift-off-state{grid-column:1/-1!important}
}

/* v18.1 quote-state and context navigation hardening */

body.portal-operator .operator-primary-actions.waiting-only{grid-template-columns:1fr!important}
body.portal-operator .operator-primary-actions.waiting-only .operator-accept-button{grid-column:1/-1!important;width:100%!important}
body.portal-operator .commercial-actions .journey-navigation{grid-column:1/-1!important;border-color:#ffc6a6!important;background:#fff8f3!important;color:#c84500!important;font-weight:850!important}
@media (max-width:760px){body.portal-operator .commercial-actions .journey-navigation{grid-column:auto!important}}

/* Always-visible operator identity fallback */

body.portal-operator #accountButton .account-photo-fallback,body.portal-operator #accountButton .account-photo{position:absolute!important;inset:3px!important;width:calc(100% - 6px)!important;height:calc(100% - 6px)!important}
body.portal-operator #accountButton .account-photo{z-index:2!important;background:#fff!important}
body.portal-operator #accountButton .account-photo-fallback{z-index:1!important}

/* v19: top Earnings tab remains; the intrusive fixed footer earnings button was removed. */
body.portal-operator{--op-footer-h:0px!important}
body.portal-operator #operatorView.dashboard.operator-reference-view.active-view{padding-bottom:34px!important}
@media(max-width:760px){body.portal-operator{--op-footer-h:0px!important}body.portal-operator #operatorView.dashboard.operator-reference-view.active-view{padding-bottom:24px!important}.operator-tour-dialog{bottom:18px!important}}


/* ============================================================
   Ask4Ride v20 — viewport-locked ride messaging
   Only the conversation history scrolls. The header, thread list,
   selected-ride heading and message composer remain accessible.
   ============================================================ */
body.portal-operator.operator-message-workspace-open{overflow:hidden!important}
body.portal-operator #operatorView.workspace-messages{
  height:100dvh!important;
  min-height:100dvh!important;
  overflow:hidden!important;
}
body.portal-operator #operatorView.workspace-messages>.dashboard-content{
  height:calc(100dvh - var(--op-header-h) - var(--op-tabs-h) - 38px)!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.portal-operator #operatorView.workspace-messages #operatorMessagesPanel{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.portal-operator #operatorView.workspace-messages #operatorMessagesPanel>.workspace-heading{
  flex:0 0 auto!important;
  margin-bottom:14px!important;
}
body.portal-operator #operatorView.workspace-messages .operator-message-layout{
  flex:1 1 auto!important;
  height:auto!important;
  min-height:0!important;
  grid-template-rows:minmax(0,1fr)!important;
  overflow:hidden!important;
}
body.portal-operator #operatorView.workspace-messages .operator-message-threads{
  min-height:0!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}
body.portal-operator #operatorView.workspace-messages .operator-message-conversation{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.portal-operator #operatorView.workspace-messages .operator-message-head{
  position:relative!important;
  z-index:3!important;
  flex:0 0 auto!important;
}
body.portal-operator #operatorView.workspace-messages .operator-message-list{
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  scroll-behavior:smooth!important;
}
body.portal-operator #operatorView.workspace-messages .operator-message-form{
  position:sticky!important;
  z-index:6!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  flex:0 0 auto!important;
  box-shadow:0 -10px 24px rgba(34,24,18,.055)!important;
}
body.portal-operator #operatorView.workspace-messages .operator-message-form textarea{
  resize:none!important;
}

@media(max-width:760px){
  body.portal-operator #operatorView.workspace-messages>.dashboard-content{
    height:calc(100dvh - var(--op-header-h) - var(--op-tabs-h) - 28px)!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.portal-operator #operatorView.workspace-messages #operatorMessagesPanel{
    padding:11px!important;
    border-radius:17px!important;
  }
  body.portal-operator #operatorView.workspace-messages #operatorMessagesPanel>.workspace-heading{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    margin-bottom:9px!important;
  }
  body.portal-operator #operatorView.workspace-messages #operatorMessagesPanel>.workspace-heading h2{
    margin:0 0 2px!important;
    font-size:22px!important;
  }
  body.portal-operator #operatorView.workspace-messages #operatorMessagesPanel>.workspace-heading p{
    font-size:11px!important;
    line-height:1.25!important;
  }
  body.portal-operator #operatorView.workspace-messages #refreshOperatorMessages{
    min-width:76px!important;
    height:40px!important;
    padding:0 9px!important;
    font-size:11px!important;
  }
  body.portal-operator #operatorView.workspace-messages .operator-message-layout{
    grid-template-columns:1fr!important;
    grid-template-rows:94px minmax(0,1fr)!important;
  }
  body.portal-operator #operatorView.workspace-messages .operator-message-threads{
    display:flex!important;
    gap:7px!important;
    min-height:94px!important;
    max-height:94px!important;
    padding:7px!important;
    border-right:0!important;
    border-bottom:1px solid #e8e1dd!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-gutter:auto!important;
  }
  body.portal-operator #operatorView.workspace-messages .operator-message-thread{
    flex:0 0 210px!important;
    min-height:78px!important;
    height:78px!important;
    margin:0!important;
    padding-top:10px!important;
    padding-bottom:9px!important;
  }
  body.portal-operator #operatorView.workspace-messages .operator-message-head{
    min-height:54px!important;
    padding:10px 12px!important;
  }
  body.portal-operator #operatorView.workspace-messages .operator-message-head strong{font-size:14px!important}
  body.portal-operator #operatorView.workspace-messages .operator-message-head small{font-size:10px!important}
  body.portal-operator #operatorView.workspace-messages .operator-message-list{
    padding:11px!important;
  }
  body.portal-operator #operatorView.workspace-messages .operator-message-form{
    grid-template-columns:minmax(0,1fr) 72px!important;
    align-items:stretch!important;
    gap:7px!important;
    padding:9px calc(9px + env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) calc(9px + env(safe-area-inset-left))!important;
  }
  body.portal-operator #operatorView.workspace-messages .operator-message-form textarea{
    min-height:48px!important;
    max-height:88px!important;
    padding:10px!important;
  }
  body.portal-operator #operatorView.workspace-messages .operator-message-form button{
    min-width:0!important;
    width:72px!important;
    height:auto!important;
    min-height:48px!important;
  }
}

@media(max-height:700px){
  body.portal-operator #operatorView.workspace-messages>.dashboard-content{
    height:calc(100dvh - var(--op-header-h) - var(--op-tabs-h) - 18px)!important;
  }
  body.portal-operator #operatorView.workspace-messages #operatorMessagesPanel>.workspace-heading p{display:none!important}
  body.portal-operator #operatorView.workspace-messages #operatorMessagesPanel>.workspace-heading{margin-bottom:7px!important}
}


/* ============================================================
   Ask4Ride v20.1 — attention-first messaging and ride review
   ============================================================ */
body.portal-operator .operator-message-thread.needs-review{
  border-color:#ff9f6b!important;
  background:#fff3eb!important;
  box-shadow:0 8px 22px rgba(238,82,0,.10)!important;
}
body.portal-operator .operator-message-thread.needs-review::before{
  content:'Needs reply';
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin:0 0 7px;
  padding:4px 7px;
  border-radius:999px;
  background:#ff5a00;
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.portal-operator .operator-message-thread.needs-review em{
  color:#3b2a20!important;
  font-weight:750!important;
}
body.portal-operator .operator-workspace-tab.has-attention{
  color:#d94d00!important;
  background:#fff5ef!important;
}
body.portal-operator .operator-workspace-tab.has-attention .tab-icon{
  animation:afrMessageAttention 1.4s ease-in-out infinite;
}
@keyframes afrMessageAttention{
  0%,100%{transform:translateY(0)}
  45%{transform:translateY(-3px)}
}
body.portal-operator .operator-reference-card.needs-operator-review{
  border-color:#ff9c66!important;
  box-shadow:0 16px 38px rgba(238,82,0,.11)!important;
}
body.portal-operator .operator-message-attention{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:14px 16px!important;
  border:1px solid #ff9c66!important;
  border-radius:15px!important;
  background:#fff3eb!important;
  color:#2b201a!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.portal-operator .operator-message-attention>span{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}
body.portal-operator .operator-message-attention strong{font-size:14px!important}
body.portal-operator .operator-message-attention small{color:#7c5c4a!important;font-size:11px!important}
body.portal-operator .operator-message-attention>b{
  flex:0 0 auto!important;
  display:grid!important;
  place-items:center!important;
  min-width:34px!important;
  height:34px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  background:#ff5a00!important;
  color:#fff!important;
  font-size:12px!important;
}
@media(max-width:760px){
  body.portal-operator .operator-message-thread.needs-review::before{margin-bottom:4px!important}
  body.portal-operator .operator-message-attention{padding:12px 13px!important}
}

/* === Ask4Ride v21 unified commercial header === */
.portal-operator .operator-unified-brand{display:flex!important;align-items:center!important;min-width:150px!important;padding:4px 0!important}.portal-operator .operator-unified-logo{display:block!important;width:150px!important;height:58px!important;object-fit:contain!important;object-position:left center!important}.portal-operator .operator-compliance-banner{margin:14px 0 18px;padding:15px 18px;border:1px solid #e9a19c;background:#fff5f4;border-radius:16px;color:#7d211c}.portal-operator .operator-compliance-banner strong{display:block;font-size:1rem;margin-bottom:4px}.portal-operator .operator-compliance-banner p{margin:0 0 8px}.portal-operator .operator-compliance-banner a{font-weight:800;color:#b93228}.portal-operator .coverage-pending-list{width:100%;display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px}.portal-operator .coverage-pending-list p{width:100%;margin:0;font-size:.78rem;color:#70655f}.portal-operator .coverage-pending-chip{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff0e6;border:1px solid #ffc7a7;font-size:.75rem;font-weight:800;color:#b7480a}.portal-operator .coverage-pending-chip.remove{background:#fff1f1;border-color:#edb7b2;color:#9d2f28}.portal-operator .auth-help-link{display:block;margin:10px auto 0;border:0;background:none;color:#d94d00;font-weight:800;cursor:pointer}
@media(max-width:900px){.portal-operator .operator-unified-logo{width:116px!important;height:46px!important}.portal-operator .operator-unified-brand{min-width:116px!important}.portal-operator .operator-compliance-banner{margin:10px 12px 14px}}

/* v21 unified visible brand artwork */
body.portal-operator #pwaInstallBar img[src*="logo-new"]{width:92px!important;height:auto!important;max-height:38px!important;object-fit:contain!important;border-radius:0!important;background:transparent!important}

/* v22.2 operator chrome cleanup: compact top brand */
body.portal-operator .operator-brand-row{
  height:68px!important;
  min-height:68px!important;
  padding:0 18px!important;
  gap:10px!important;
}
body.portal-operator .operator-unified-brand,
body.portal-operator .brand,
body.portal-operator .brand-horizontal{
  min-width:0!important;
  max-width:max-content!important;
  gap:0!important;
}
body.portal-operator .operator-unified-logo,
body.portal-operator .brand-logo{
  width:122px!important;
  height:46px!important;
  max-width:122px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
body.portal-operator .topbar{height:72px!important;min-height:72px!important;padding:0 16px!important}
body.portal-operator #operatorView.operator-reference-view>.sidebar{top:72px!important}
@media (max-width:900px){
  body.portal-operator .operator-brand-row{height:60px!important;min-height:60px!important;padding:0 12px!important}
  body.portal-operator .operator-unified-logo,
  body.portal-operator .brand-logo{width:108px!important;height:40px!important;max-width:108px!important}
  body.portal-operator .topbar{height:64px!important;min-height:64px!important;padding:0 12px!important}
  body.portal-operator #operatorView.operator-reference-view>.sidebar{top:64px!important}
}


/* v22.3 operator desktop compactness */
@media (min-width:1200px){
  body.portal-operator #operatorView.dashboard.operator-reference-view.active-view{padding-top:calc(var(--op-header-h) + var(--op-tabs-h) + 16px)!important}
  body.portal-operator .operator-live-heading{min-height:82px!important;padding:2px 2px 0!important;gap:18px!important}
  body.portal-operator .operator-live-heading h1{font-size:30px!important;line-height:1.02!important}
  body.portal-operator .operator-live-heading #operatorRequestSummary{margin-top:6px!important;font-size:16px!important}
  body.portal-operator .operator-filter-button{height:48px!important;min-width:116px!important}
  body.portal-operator #operatorRides{gap:16px!important}
  body.portal-operator .operator-reference-card{padding:18px 18px 16px!important;border-radius:22px!important}
  .operator-card-top{padding-bottom:16px!important}
  .operator-new-request{height:34px!important;padding:0 14px!important;font-size:14px!important}
  .operator-card-ref{font-size:14px!important;gap:12px!important}
  .operator-route-pair{padding:0 30px 18px!important;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;gap:18px!important}
  .operator-location small{margin-bottom:7px!important;font-size:12px!important}
  .operator-location strong{margin-bottom:8px!important;font-size:18px!important}
  .operator-location p{font-size:14px!important;line-height:1.35!important}
  .operator-route-line{height:92px!important}.operator-route-line:before{top:14px!important;bottom:14px!important}
  .operator-trip-stats{min-height:84px!important}
  .operator-stat{gap:5px!important;padding:10px 4px!important}
  .operator-stat-main{min-height:20px!important;font-size:16px!important}
  .operator-stat-main svg{width:20px!important;height:20px!important}
  .operator-stat>small{font-size:12px!important}
  .operator-stat.quote .operator-stat-main{font-size:21px!important}
  .operator-primary-actions button{height:60px!important;font-size:17px!important;border-radius:17px!important}
  .operator-secondary-actions button{height:56px!important;font-size:14px!important;border-radius:16px!important}
  .operator-secondary-actions button svg{width:24px!important;height:24px!important}
  .operator-stage-banner{margin:0 18px 18px!important;padding:14px 16px 14px 18px!important;gap:16px!important}
}

/* v22.4 operator brand cleanup */
body.portal-operator .topbar .operator-unified-logo,
body.portal-operator .topbar .brand-logo,
body.portal-operator .topbar .login-brand-logo{
  width:104px!important;
  height:38px!important;
  max-width:104px!important;
}
body.portal-operator .operator-brand-row,
body.portal-operator .topbar{
  padding-left:12px!important;
  padding-right:12px!important;
}
body.portal-operator #operatorView .side-brand,
body.portal-operator #operatorView .side-brand img,
body.portal-operator #operatorView .side-brand picture,
body.portal-operator #operatorView .side-brand svg{
  display:none!important;
}
@media (min-width:1200px){
  body.portal-operator .topbar .operator-unified-logo,
  body.portal-operator .topbar .brand-logo,
  body.portal-operator .topbar .login-brand-logo{
    width:96px!important;
    height:34px!important;
    max-width:96px!important;
  }
  body.portal-operator .operator-side-nav>button,
  body.portal-operator #operatorView.operator-reference-view .operator-side-nav>button:nth-child(n){
    flex:0 0 108px!important;
    width:108px!important;
    min-width:108px!important;
    height:64px!important;
    gap:4px!important;
  }
  body.portal-operator .operator-side-nav .tab-full{font-size:11px!important}
}


/* v22.5 local compliance status */
.operator-compliance-link{border:0;background:transparent;color:#9e2f20;padding:0;text-decoration:underline;font:inherit;font-weight:850;cursor:pointer}
.operator-compliance-status-dialog{width:min(820px,calc(100vw - 24px));border:0;padding:0;border-radius:24px;background:transparent;box-shadow:0 28px 90px rgba(0,0,0,.25)}
.operator-compliance-status-dialog::backdrop{background:rgba(18,15,13,.58);backdrop-filter:blur(5px)}
.operator-compliance-status-card{overflow:hidden;border-radius:24px;background:#f7f5f3;border:1px solid #e6ddd7}
.operator-compliance-status-card>header{display:flex;justify-content:space-between;gap:20px;padding:22px 24px;background:#fff;border-bottom:1px solid #e8dfda}.operator-compliance-status-card>header h2{margin:3px 0 4px;font-size:28px}.operator-compliance-status-card>header p:last-child{margin:0;color:#6f6660}.operator-compliance-status-card>header button{width:36px;height:36px;border:0;border-radius:10px;background:#f1eeeb;font-size:22px;cursor:pointer}
#operatorComplianceStatusBody{padding:18px}.operator-compliance-local-hero{padding:17px 18px;border:1px solid #efc0ad;border-radius:16px;background:#fff7f3}.operator-compliance-local-hero.approved{border-color:#b9e2c5;background:#f2fbf5}.operator-compliance-local-hero span{display:inline-flex;padding:5px 8px;border-radius:999px;background:#fff;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.operator-compliance-local-hero h3{margin:9px 0 5px}.operator-compliance-local-hero p{margin:0;color:#6c5f58;line-height:1.5}
.operator-compliance-local-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.operator-compliance-local-grid>div{padding:12px;border:1px solid #e7ded8;border-radius:13px;background:#fff}.operator-compliance-local-grid small,.operator-compliance-local-grid strong{display:block}.operator-compliance-local-grid small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#857970;font-weight:850}.operator-compliance-local-grid strong{margin-top:5px;font-size:13px;overflow-wrap:anywhere}.operator-compliance-local-help{margin-top:12px;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid #e7ded8}.operator-compliance-local-help p{margin:5px 0 0;color:#6b625d;line-height:1.5}.operator-compliance-local-help small{display:block;margin-top:8px;color:#8b5d42;font-weight:800}
.operator-compliance-status-card>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#fff;border-top:1px solid #e8dfda}.operator-compliance-status-card>footer a{color:#d64d00;font-weight:850;text-decoration:none}.operator-compliance-status-card>footer button{min-width:100px;height:40px;border:0;border-radius:11px;background:#171717;color:#fff;font-weight:850;cursor:pointer}
@media(max-width:720px){.operator-compliance-status-dialog{width:calc(100vw - 16px);border-radius:18px}.operator-compliance-status-card{border-radius:18px}.operator-compliance-status-card>header{padding:18px 16px}.operator-compliance-local-grid{grid-template-columns:1fr 1fr}#operatorComplianceStatusBody{padding:12px}}


/* v23.4 customer special-request visibility */
.operator-special-request{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:flex-start;margin:0 18px 18px;padding:13px 15px;border:1px solid #ffc7a7;border-left:4px solid #ff5a00;border-radius:15px;background:#fff7f1;color:#3f3028}
.operator-special-request .special-request-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ff5a00;color:#fff;font-weight:900;font-size:18px}.operator-special-request small,.operator-special-request strong{display:block}.operator-special-request small{font-size:9px;font-weight:900;letter-spacing:.12em;color:#c44808}.operator-special-request strong{margin-top:4px;font-size:14px}.operator-special-request p{margin:5px 0 0;font-size:13px;line-height:1.45;color:#5d4a40}
@media(max-width:760px){.operator-special-request{margin:0 10px 12px;padding:11px 12px;grid-template-columns:34px minmax(0,1fr);gap:9px}.operator-special-request .special-request-icon{width:30px;height:30px;font-size:15px}.operator-special-request strong{font-size:12px}.operator-special-request p{font-size:11px}}


/* v23.4 proximity dispatch */
.operator-dispatch-info{display:flex;align-items:center;gap:10px;margin:0 24px 12px;padding:11px 13px;border:1px solid #dce8e0;border-radius:14px;background:#f7fcf8}.operator-dispatch-info>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e8f7ed;color:#147c3e;font-weight:900}.operator-dispatch-info strong,.operator-dispatch-info small{display:block}.operator-dispatch-info strong{font-size:13px}.operator-dispatch-info small{margin-top:2px;font-size:10px;color:#657069}.operator-dispatch-info.priority{border-color:#ffc9aa;background:#fff7f1}.operator-dispatch-info.priority>span{background:#f45d05;color:#fff}.operator-dispatch-info.priority strong{color:#bd4300}
@media(max-width:760px){.operator-dispatch-info{margin:0 10px 10px;padding:9px 10px}.operator-dispatch-info>span{width:28px;height:28px}.operator-dispatch-info strong{font-size:11px}.operator-dispatch-info small{font-size:9px}}

/* v23.7 safety-first guided operator workspace */
.operator-safety-assist{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0 14px;padding:12px 14px;border:1px solid #e7e1dc;border-radius:17px;background:#fff;box-shadow:0 4px 18px rgba(35,23,16,.025)}
.operator-tracking-state{display:flex;align-items:center;gap:10px;min-width:0}.operator-tracking-state>span{width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:#a7a19c;box-shadow:0 0 0 5px #f0eeec}.operator-tracking-state>span.live{background:#18a957;box-shadow:0 0 0 5px #e6f8ed}.operator-tracking-state>span.warning{background:#f39a22;box-shadow:0 0 0 5px #fff1dc}.operator-tracking-state>span.off{background:#8d8782;box-shadow:0 0 0 5px #f1eeee}.operator-tracking-state strong,.operator-tracking-state small{display:block}.operator-tracking-state strong{font-size:13px}.operator-tracking-state small{margin-top:2px;font-size:10px;color:#817872;line-height:1.35}.operator-safety-actions{display:flex;gap:7px;flex:0 0 auto}.operator-safety-actions button{height:36px;padding:0 11px;border:1px solid #ddd5cf;border-radius:11px;background:#fff;color:#292522;font-weight:750;font-size:11px;cursor:pointer}.operator-safety-actions button:first-child{border-color:#ffd0b7;color:#d64b00;background:#fff8f4}
.operator-quick-replies{display:flex;gap:7px;padding:9px 12px;border-top:1px solid #eee7e2;background:#fff;overflow-x:auto;scrollbar-width:none}.operator-quick-replies::-webkit-scrollbar{display:none}.operator-quick-replies button{flex:0 0 auto;border:1px solid #e3dcd7;background:#fbf9f7;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:750;color:#39332f;cursor:pointer}.operator-quick-replies button:active{background:#fff0e7;border-color:#ffc6a7;color:#d64b00}
body.operator-guided-active .operator-live-heading{min-height:72px!important;padding-top:0!important;align-items:center!important}body.operator-guided-active .operator-live-pill{display:none!important}body.operator-guided-active .operator-live-heading h1{font-size:28px!important}body.operator-guided-active .operator-live-heading #operatorRequestSummary{font-size:13px!important;color:#6f6761!important;margin-top:5px!important}body.operator-guided-active .operator-live-heading .operator-section-intro{display:block!important;font-size:11px!important;margin-top:4px!important;color:#847a73!important}body.operator-guided-active #operatorFiltersButton{display:none!important}
body.operator-guided-active .operator-reference-rides{max-width:1180px;margin:0 auto!important}body.operator-guided-active .operator-reference-card.active-commercial-ride{border-color:#ffd0b5!important;box-shadow:0 12px 34px rgba(244,93,5,.09)!important}
body.operator-guided-active .operator-stage-banner{position:sticky;top:calc(var(--op-header-h) + var(--op-tabs-h) + 8px);z-index:6;box-shadow:0 9px 26px rgba(244,93,5,.08)}
@media(max-width:900px){
  .operator-safety-assist{margin:4px 0 9px;padding:9px 10px;border-radius:14px}.operator-tracking-state small{font-size:9px}.operator-safety-actions button{height:33px;padding:0 9px;font-size:10px}.operator-safety-actions button:last-child{display:none}
  body.operator-guided-active #operatorView .operator-side-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;justify-content:center!important;overflow:hidden!important}
  body.operator-guided-active #operatorView .operator-side-nav>button{display:none!important}
  body.operator-guided-active #operatorView .operator-side-nav>button[data-filter="active"],body.operator-guided-active #operatorView .operator-side-nav>button[data-workspace="messages"],body.operator-guided-active #operatorView .operator-side-nav>button[data-workspace="more"]{display:flex!important;width:100%!important;min-width:0!important;flex-basis:auto!important}
  body.operator-guided-active .operator-live-heading{min-height:62px!important}.body.operator-guided-active .operator-live-heading h1,body.operator-guided-active .operator-live-heading h1{font-size:24px!important}
  body.operator-guided-active .operator-stage-banner{top:calc(var(--op-header-h) + var(--op-tabs-h) + 4px);margin-left:0!important;margin-right:0!important;border-radius:15px!important}
  .operator-message-layout{height:calc(100dvh - var(--op-header-h) - var(--op-tabs-h) - 82px)!important;min-height:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important}
  .operator-message-conversation{min-height:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto!important}
  .operator-message-list{max-height:none!important;min-height:0!important;overflow-y:auto!important;padding:12px!important}
  .operator-quick-replies{padding:7px 9px!important}
  .operator-message-form{position:sticky!important;bottom:0!important;z-index:4!important;padding:8px!important;grid-template-columns:minmax(0,1fr) 68px!important;gap:7px!important;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}.operator-message-form textarea{min-height:44px!important;max-height:76px!important;resize:none!important}.operator-message-form button{height:44px!important;min-width:0!important}
}
@media(min-width:901px){body.operator-guided-active .operator-side-nav>button:not([data-filter="active"]):not([data-workspace="messages"]):not([data-workspace="more"]){opacity:.55}body.operator-guided-active .operator-side-nav>button[data-filter="active"]{opacity:1!important}}
.navigation-voice-toggle{border:1px solid #ddd5cf!important;background:#fff!important;color:#2d2926!important;border-radius:12px!important;padding:0 11px!important;min-height:38px!important;font-weight:750!important;font-size:11px!important;white-space:nowrap}.navigation-voice-toggle[aria-pressed="true"]{background:#fff3eb!important;border-color:#ffc8aa!important;color:#d64b00!important}
@media(max-width:640px){.navigation-voice-toggle{min-height:36px!important;padding:0 9px!important;font-size:10px!important}.map-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}.map-tabs .navigation-backup-link,.map-tabs .navigation-voice-toggle{width:100%!important;justify-content:center!important;text-align:center!important}}

/* v23.9 guided spotlight: highlight the real action instead of covering the ride */
body.operator-guided-active .operator-stage-banner{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
  margin:14px 18px 16px!important;
  padding:11px 12px 11px 14px!important;
  min-height:58px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  border-radius:15px!important;
  box-shadow:none!important;
}
body.operator-guided-active .operator-stage-banner>div{gap:1px!important}
body.operator-guided-active .operator-stage-banner small{font-size:9px!important;letter-spacing:.12em!important}
body.operator-guided-active .operator-stage-banner strong{font-size:17px!important;line-height:1.15!important}
body.operator-guided-active .operator-stage-banner span{display:none!important}
body.operator-guided-active .operator-stage-banner button{
  min-width:210px!important;
  width:auto!important;
  height:48px!important;
  border-radius:13px!important;
  padding:0 17px!important;
  font-size:14px!important;
}
.operator-guided-spotlight{animation:afrGuideGlow 1.8s ease-in-out infinite}
.operator-guided-spotlight .guided-primary-action{outline:3px solid rgba(244,93,5,.16);outline-offset:3px}
@keyframes afrGuideGlow{0%,100%{border-color:#ffc5a4;background:#fff9f5}50%{border-color:#ff8b4b;background:#fff3eb}}

/* Tracking should inform, not dominate, during a live journey. */
body.operator-guided-active .operator-safety-assist{
  margin:2px 0 8px!important;
  padding:7px 10px!important;
  min-height:42px!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
body.operator-guided-active .operator-tracking-state small{display:none!important}
body.operator-guided-active .operator-tracking-state strong{font-size:11px!important}
body.operator-guided-active .operator-safety-actions button{height:30px!important;padding:0 8px!important;font-size:9px!important}
body.operator-guided-active #operatorTrackingHelp{display:none!important}

/* New request quote area is the guided target. */
.operator-reference-card.quote-guided-target{
  border-color:#ff8a49!important;
  box-shadow:0 0 0 3px rgba(244,93,5,.10),0 12px 28px rgba(244,93,5,.08)!important;
}
.operator-reference-card.quote-guided-target .operator-stat.quote{
  background:#fff4ec!important;
  box-shadow:inset 0 0 0 2px rgba(244,93,5,.28)!important;
  border-radius:13px!important;
  animation:afrQuotePulse 1.6s ease-in-out infinite;
}
.operator-reference-card.quote-guided-target .operator-accept-button{box-shadow:0 0 0 4px rgba(244,93,5,.14),0 10px 22px rgba(244,83,0,.18)!important}
@keyframes afrQuotePulse{0%,100%{background:#fff7f2}50%{background:#ffe8d9}}

@media(max-width:900px){
  body.operator-guided-active .operator-stage-banner{
    margin:10px 0 12px!important;
    padding:10px!important;
    grid-template-columns:1fr!important;
  }
  body.operator-guided-active .operator-stage-banner button{width:100%!important;min-width:0!important;height:50px!important}
  body.operator-guided-active .operator-safety-assist{margin:2px 0 6px!important;padding:6px 8px!important}
  body.operator-guided-active .operator-safety-actions button{height:28px!important}
}

/* v23.10 mobile safety/navigation fit + visible guided actions */
body.portal-operator.operator-guided-active:not(.operator-message-workspace-open){overflow-y:auto!important;touch-action:pan-y!important}
body.portal-operator.operator-guided-active #operatorView,
body.portal-operator.operator-guided-active #operatorView>.dashboard-content{overflow:visible!important;touch-action:pan-y!important}

/* The required action should be unmistakable without covering ride details. */
body.operator-guided-active .operator-guided-spotlight{
  border:2px solid #ff8a47!important;
  background:#fff7f1!important;
  animation:afrNextActionPanel 1.55s ease-in-out infinite!important;
}
body.operator-guided-active .operator-guided-spotlight .guided-primary-action{
  position:relative!important;
  background:#ff5700!important;
  color:#fff!important;
  outline:0!important;
  animation:afrNextActionButton 1.25s ease-in-out infinite!important;
}
body.operator-guided-active .operator-guided-spotlight .guided-primary-action::before{
  content:'NEXT';position:absolute;right:10px;top:-10px;padding:3px 6px;border-radius:999px;background:#151515;color:#fff;font-size:8px;font-weight:900;letter-spacing:.1em;box-shadow:0 3px 9px #0002
}
@keyframes afrNextActionPanel{0%,100%{box-shadow:0 0 0 0 rgba(255,87,0,.08)}50%{box-shadow:0 0 0 6px rgba(255,87,0,.13)}}
@keyframes afrNextActionButton{0%,100%{box-shadow:0 7px 18px rgba(255,87,0,.24)}50%{box-shadow:0 0 0 7px rgba(255,87,0,.18),0 10px 25px rgba(255,87,0,.32)}}
.operator-reference-card.quote-guided-target .operator-quote-input-wrap,
.operator-reference-card.quote-guided-target .operator-accept-button{
  animation:afrQuoteCallout 1.2s ease-in-out infinite!important;
}
@keyframes afrQuoteCallout{0%,100%{box-shadow:0 0 0 2px rgba(255,87,0,.14)}50%{box-shadow:0 0 0 7px rgba(255,87,0,.23)}}
@media(prefers-reduced-motion:reduce){body.operator-guided-active .operator-guided-spotlight,body.operator-guided-active .operator-guided-spotlight .guided-primary-action,.operator-reference-card.quote-guided-target .operator-quote-input-wrap,.operator-reference-card.quote-guided-target .operator-accept-button{animation:none!important}}

@media(max-width:760px){
  /* Centre the visual Ask4Ride brand on the phone header while preserving the profile control. */
  body.portal-operator .operator-brand-row{position:relative!important;justify-content:flex-end!important;width:100%!important;padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important}
  body.portal-operator .operator-brand-row>.brand.operator-unified-brand{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;z-index:1!important}
  body.portal-operator .operator-brand-row>.operator-presence-wrap{position:relative!important;z-index:2!important;margin-left:auto!important}
  body.portal-operator .operator-unified-logo,body.portal-operator .brand-logo{width:92px!important;max-width:92px!important;height:38px!important;object-position:center center!important}

  /* True edge-to-edge navigation. Do not inherit the centred/max-width portal shell. */
  body.portal-operator #mapDialog.map-dialog[open]{
    position:fixed!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:0!important;
    width:100dvw!important;max-width:100dvw!important;height:100dvh!important;max-height:100dvh!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important;overflow:hidden!important
  }
  body.portal-operator #mapDialog .map-card{
    position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;
    margin:0!important;border-radius:0!important;box-sizing:border-box!important;overflow:hidden!important;
    display:flex!important;flex-direction:column!important;
    padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important
  }
  body.portal-operator #mapDialog .map-head{flex:0 0 auto!important;padding:3px 3px 7px!important}
  body.portal-operator #mapDialog .map-head h2{font-size:19px!important;line-height:1.1!important}
  body.portal-operator #mapDialog .map-tabs{flex:0 0 auto!important;margin:0 0 6px!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
  body.portal-operator #mapDialog .map-tabs button,body.portal-operator #mapDialog .map-tabs a{min-height:34px!important;height:34px!important;padding:0 7px!important;font-size:9px!important}
  body.portal-operator #mapDialog .navigation-summary{flex:0 0 auto!important;margin:0 0 6px!important;padding:7px!important;gap:4px!important;border-radius:12px!important;grid-template-columns:1fr 1fr!important}
  body.portal-operator #mapDialog .navigation-summary>div{padding:4px 6px!important}
  body.portal-operator #mapDialog .navigation-summary small{font-size:7px!important}
  body.portal-operator #mapDialog .navigation-summary strong{font-size:12px!important;margin-top:2px!important}
  body.portal-operator #mapDialog .navigation-summary>div:first-child,body.portal-operator #mapDialog .navigation-summary .navigation-instruction-card{grid-column:1/-1!important}
  body.portal-operator #mapDialog .navigation-summary .navigation-instruction-card{padding-top:5px!important}
  body.portal-operator #mapDialog .live-map-canvas{flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:240px!important;border-radius:13px!important}
  body.portal-operator #mapDialog .navigation-ride-controls{position:relative!important;flex:0 0 auto!important;bottom:auto!important;margin:6px 0 0!important;padding:8px!important;gap:7px!important;border-radius:12px!important;box-shadow:none!important}
  body.portal-operator #mapDialog .navigation-ride-controls .primary-action{height:46px!important;min-height:46px!important}
}

/* v23.20 action stability: a ride transition owns its card until the server
   confirms it. Background polling may fetch fresh data but cannot repaint this
   card or steal the driver's NEXT control. */
.operator-reference-card.operator-action-in-flight{position:relative;isolation:isolate}
.operator-reference-card.operator-action-in-flight::after{content:'Saving journey step…';position:absolute;right:14px;top:14px;z-index:8;padding:7px 10px;border-radius:999px;background:#111;color:#fff;font-size:10px;font-weight:800;letter-spacing:.03em;box-shadow:0 6px 18px rgba(0,0,0,.16);pointer-events:none}
.operator-stage-banner button[aria-busy="true"],.guided-primary-action[aria-busy="true"],#navigationStatusButton[aria-busy="true"]{cursor:wait!important;opacity:.86!important;animation:none!important}
@media(max-width:760px){.operator-reference-card.operator-action-in-flight::after{top:8px;right:8px;font-size:9px;padding:6px 8px}}
/* While a durable ride write is in flight, conflicting ride mutations are
   blocked but Call/Message remain available for safety. */
.operator-reference-card.operator-action-in-flight .operator-status,
.operator-reference-card.operator-action-in-flight .operator-cancel-ride,
.operator-reference-card.operator-action-in-flight .operator-map,
.operator-reference-card.operator-action-in-flight .operator-accept-offer,
.operator-reference-card.operator-action-in-flight .operator-decline-button,
.operator-reference-card.operator-action-in-flight .operator-accept-button:not(.quote-waiting){pointer-events:none!important;opacity:.58!important}
body.portal-operator button,body.portal-operator a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}


/* ============================================================
   Ask4Ride v34.2 — desktop density correction
   Keeps the operator workspace professional on wide monitors
   without changing tablet/phone sizing or operator logic.
   ============================================================ */
@media (min-width:1200px){
  body.portal-operator #operatorView.operator-reference-view>.dashboard-content{
    width:min(calc(100% - 72px),1040px)!important;
    max-width:1040px!important;
    gap:14px!important;
  }
  body.portal-operator .operator-live-heading{min-height:70px!important;padding:0 2px!important;gap:14px!important}
  body.portal-operator .operator-live-heading h1{font-size:29px!important;letter-spacing:-.035em!important}
  body.portal-operator .operator-live-heading #operatorRequestSummary{font-size:14px!important;margin-top:4px!important}
  body.portal-operator .operator-filter-button{height:44px!important;min-width:108px!important;font-size:13px!important}
  body.portal-operator #operatorRides{gap:14px!important}
  body.portal-operator .operator-reference-card{padding:14px 15px 14px!important;border-radius:20px!important}
  body.portal-operator .operator-card-top{padding-bottom:12px!important}
  body.portal-operator .operator-new-request{height:30px!important;padding:0 12px!important;font-size:12px!important}
  body.portal-operator .operator-card-ref{font-size:12px!important;gap:10px!important}
  body.portal-operator .operator-special-request{margin:0 14px 12px!important;padding:10px 12px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:9px!important}
  body.portal-operator .operator-special-request .special-request-icon{width:30px!important;height:30px!important;font-size:15px!important}
  body.portal-operator .operator-special-request strong{font-size:12.5px!important}
  body.portal-operator .operator-special-request p{font-size:11.5px!important;margin-top:3px!important}
  body.portal-operator .operator-route-pair{padding:0 24px 12px!important;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)!important;gap:14px!important}
  body.portal-operator .operator-location small{margin-bottom:5px!important;font-size:10px!important}
  body.portal-operator .operator-location strong{margin-bottom:5px!important;font-size:16px!important}
  body.portal-operator .operator-location p{font-size:12.5px!important;line-height:1.32!important}
  body.portal-operator .operator-route-line{height:72px!important}
  body.portal-operator .operator-route-line:before{top:11px!important;bottom:11px!important}
  body.portal-operator .operator-trip-stats{min-height:68px!important;border-radius:17px 17px 0 0!important}
  body.portal-operator .operator-stat{gap:3px!important;padding:7px 4px!important}
  body.portal-operator .operator-stat-main{min-height:18px!important;font-size:14px!important}
  body.portal-operator .operator-stat-main svg{width:18px!important;height:18px!important}
  body.portal-operator .operator-stat>small{font-size:10.5px!important}
  body.portal-operator .operator-stat.quote .operator-stat-main{font-size:19px!important}
  body.portal-operator .operator-primary-actions{margin-top:7px!important}
  body.portal-operator .operator-secondary-actions{margin-top:7px!important}
  body.portal-operator .operator-primary-actions button{height:52px!important;font-size:14px!important;border-radius:14px!important}
  body.portal-operator .operator-secondary-actions button{height:48px!important;font-size:12px!important;border-radius:13px!important}
  body.portal-operator .operator-secondary-actions button svg{width:20px!important;height:20px!important}
  body.portal-operator .operator-stage-banner{margin:0 14px 12px!important;padding:11px 13px!important;border-radius:14px!important}
  body.portal-operator .operator-stage-banner strong{font-size:16px!important}
  body.portal-operator .operator-stage-banner span{font-size:11.5px!important}
  body.portal-operator .operator-stage-banner button{height:50px!important;min-width:190px!important;border-radius:13px!important}
  body.portal-operator .operator-workspace-panel{padding:18px!important;border-radius:20px!important}
}
@media (min-width:1200px){
  body.portal-operator #operatorView .operator-side-nav{width:min(100%,1180px)!important}
}

/* v23.35 payment-before-travel gate */
.operator-stage-banner.payment-stage-locked{background:#fff5ef!important;border-color:#ffc8aa!important}.operator-stage-banner.payment-stage-locked>div{display:flex;flex-direction:column;gap:3px}.operator-stage-banner.payment-stage-locked small{color:#c94b17!important}.operator-stage-banner.payment-stage-locked span{font-size:12px;color:#6d5b52;line-height:1.35;max-width:640px}.operator-stage-banner.payment-stage-locked button[disabled]{background:#eee8e4!important;color:#746b65!important;border-color:#ddd3cd!important;cursor:not-allowed!important;opacity:1!important}

/* ============================================================
   Ask4Ride v23.38 — responsive operator + persistent attention
   ============================================================ */
body.portal-operator{overflow-x:hidden}
body.portal-operator .portal-attention-dock{position:fixed;right:18px;bottom:18px;z-index:5400;width:min(440px,calc(100vw - 30px));min-height:62px;padding:10px 10px 10px 12px;border:1px solid #ffd0bc;border-radius:18px;background:rgba(255,255,255,.98);backdrop-filter:blur(18px);box-shadow:0 16px 42px rgba(35,22,14,.18);display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:10px;align-items:center}
body.portal-operator .portal-attention-dock.hidden{display:none!important}body.portal-operator .portal-attention-dock .attention-dot{width:10px;height:10px;border-radius:50%;background:#f45d05;box-shadow:0 0 0 5px #fff0e7}.portal-attention-dock .attention-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.portal-attention-dock .attention-copy small{font-size:9px;font-weight:950;letter-spacing:.12em;color:#b8470c}.portal-attention-dock .attention-copy strong{font-size:13px;line-height:1.3}.portal-attention-dock>button{height:40px;padding:0 12px;border:0;border-radius:11px;background:#171717;color:#fff;font-weight:900;white-space:nowrap}.portal-attention-dock[data-tone="urgent"]{background:#fff7f1;border-color:#ffb990}.portal-attention-dock[data-tone="urgent"]>button{background:#f45d05}.portal-attention-dock[data-tone="live"]{background:#f6fff9;border-color:#a7ddba}.portal-attention-dock[data-tone="live"] .attention-dot{background:#18a957;box-shadow:0 0 0 5px #e6f8ed}.portal-attention-dock[data-tone="warning"]{background:#fffaf0;border-color:#efd28d}.portal-attention-dock[data-tone="warning"] .attention-dot{background:#e59b16;box-shadow:0 0 0 5px #fff1d4}

/* Active jobs should be unmistakable and the NEXT action stays available. */
body.portal-operator .operator-reference-card:has(.operator-stage-banner){border-color:#ffc7a6!important;box-shadow:0 12px 32px rgba(244,93,5,.08)!important}
body.portal-operator .operator-stage-banner{position:sticky!important;top:calc(var(--op-header-h,70px) + var(--op-tabs-h,84px) + 6px)!important;z-index:35!important;background:#fff7f1;border:1px solid #ffc6a5;box-shadow:0 8px 22px rgba(244,93,5,.11)}
body.portal-operator .operator-stage-banner.payment-stage-locked{border-width:2px!important}
body.portal-operator .operator-compliance-banner:not(.hidden){position:sticky;top:calc(var(--op-header-h,70px) + 6px);z-index:40;box-shadow:0 8px 24px rgba(130,47,20,.13)}

@media (min-width:901px) and (max-width:1199px){
  body.portal-operator #operatorView.operator-reference-view>.dashboard-content{width:min(calc(100% - 38px),980px)!important;max-width:980px!important}
  body.portal-operator #operatorView .operator-side-nav{width:min(100%,1080px)!important}
  body.portal-operator .operator-reference-card{padding:15px!important}
}
@media (max-width:900px){
  body.portal-operator .portal-attention-dock{left:10px;right:10px;bottom:10px;width:auto;min-height:58px;border-radius:15px;padding:8px 8px 8px 10px;grid-template-columns:10px minmax(0,1fr) auto;gap:8px}
  body.portal-operator .portal-attention-dock .attention-copy strong{font-size:11.5px}.portal-attention-dock .attention-copy small{font-size:8px}.portal-attention-dock>button{height:38px;padding:0 9px;font-size:10.5px}
  body.portal-operator #operatorView.operator-reference-view>.dashboard-content{width:100%!important;max-width:none!important;padding-left:10px!important;padding-right:10px!important;min-width:0!important}
  body.portal-operator .operator-live-heading{position:sticky;top:var(--op-header-h,64px);z-index:24;background:rgba(248,246,243,.97);backdrop-filter:blur(12px);margin-left:-10px!important;margin-right:-10px!important;padding-left:12px!important;padding-right:12px!important}
  body.portal-operator .operator-stage-banner{top:calc(var(--op-header-h,64px) + var(--op-tabs-h,64px) + 4px)!important}
  body.portal-operator .operator-reference-card{min-width:0!important;overflow:visible!important}
  body.portal-operator .operator-route-pair{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)!important;gap:8px!important;padding-left:12px!important;padding-right:12px!important}.operator-location p{overflow-wrap:anywhere}
  body.portal-operator .operator-trip-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.operator-stat{min-width:0!important}
  body.portal-operator .operator-primary-actions,body.portal-operator .operator-secondary-actions{grid-template-columns:1fr 1fr!important}.operator-primary-actions>*:only-child,.operator-secondary-actions>*:only-child{grid-column:1/-1}
}
@media (max-width:560px){
  body.portal-operator .operator-reference-card{padding:10px!important;border-radius:16px!important}
  body.portal-operator .operator-card-top{gap:8px!important}.operator-card-ref{min-width:0}.operator-card-ref>*{overflow-wrap:anywhere}
  body.portal-operator .operator-route-pair{grid-template-columns:1fr!important;gap:10px!important}.operator-route-line{display:none!important}.operator-location{padding:10px!important;border:1px solid #eee5df;border-radius:12px;background:#fff!important}
  body.portal-operator .operator-trip-stats{grid-template-columns:1fr 1fr!important;border-radius:14px!important}.operator-stat{padding:8px 5px!important}.operator-stat-main{font-size:13px!important}.operator-stat.quote .operator-stat-main{font-size:17px!important}
  body.portal-operator .operator-primary-actions,body.portal-operator .operator-secondary-actions{grid-template-columns:1fr!important}.operator-primary-actions>*,.operator-secondary-actions>*{grid-column:auto!important;width:100%!important}
  body.portal-operator .operator-stage-banner{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:10px!important}.operator-stage-banner button{width:100%!important;min-width:0!important;height:46px!important}
  body.portal-operator .operator-special-request{margin-left:0!important;margin-right:0!important}.operator-airport-card{margin-left:0!important;margin-right:0!important}
}
@media (max-width:360px){
  body.portal-operator .portal-attention-dock{grid-template-columns:9px minmax(0,1fr)}body.portal-operator .portal-attention-dock>button{grid-column:2;width:100%}
  body.portal-operator #operatorView.operator-reference-view>.dashboard-content{padding-left:6px!important;padding-right:6px!important}
}
/* v35.4 transient operator attention toast. Stage/action controls inside the ride remain sticky. */
body.portal-operator .portal-attention-dock{overflow:hidden}body.portal-operator .portal-attention-dock .attention-actions{display:flex;gap:7px;align-items:center}body.portal-operator .portal-attention-dock .attention-actions>button{height:40px;padding:0 12px;border:0;border-radius:11px;font-weight:900;white-space:nowrap}body.portal-operator .portal-attention-dock .attention-actions>.attention-ack{background:#f1ede9;color:#4b433d;border:1px solid #e3dad4}body.portal-operator .portal-attention-dock .attention-actions>#operatorAttentionAction{background:#171717;color:#fff}body.portal-operator .portal-attention-dock[data-tone="urgent"] .attention-actions>#operatorAttentionAction{background:#f45d05}body.portal-operator .portal-attention-dock .attention-progress{position:absolute;left:0;bottom:0;width:100%;height:3px;background:#f45d05;transform-origin:left center}body.portal-operator .portal-attention-dock[data-tone="live"] .attention-progress{background:#18a957}body.portal-operator .portal-attention-dock.is-attention-running .attention-progress{animation:afrOperatorAttentionCountdown 3s linear forwards}@keyframes afrOperatorAttentionCountdown{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media(max-width:760px){body.portal-operator .portal-attention-dock .attention-actions{flex-direction:column;gap:4px}body.portal-operator .portal-attention-dock .attention-actions>button{height:30px;padding:0 8px;font-size:10px}}

/* v23.44.6 council fare + counter-offer presentation */
.operator-fare-limit-inline{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;
  margin:0 24px 18px;padding:14px 15px 14px 17px;
  border:1px solid #ffc7a7;border-left:4px solid #ff5b0a;border-radius:16px;
  background:linear-gradient(135deg,#fff8f3 0%,#fff 76%);
  box-shadow:0 7px 20px rgba(66,38,22,.05);overflow:hidden
}
.operator-fare-limit-inline>div{min-width:0}
.operator-fare-limit-inline small,.operator-fare-limit-inline strong,.operator-fare-limit-inline span{display:block}
.operator-fare-limit-inline small{font-size:9px;line-height:1.2;font-weight:950;letter-spacing:.12em;color:#c54a08}
.operator-fare-limit-inline strong{margin-top:3px;font-size:18px;line-height:1.15;color:#211915;letter-spacing:-.01em}
.operator-fare-limit-inline span{margin-top:4px;font-size:11px;line-height:1.35;color:#76655c;white-space:normal}
.operator-fare-limit-inline button{
  min-width:126px;min-height:46px;padding:0 15px;border:0;border-radius:13px;
  background:#ff5b0a;color:#fff;font-size:13px;font-weight:950;white-space:nowrap;cursor:pointer;
  box-shadow:0 8px 18px rgba(244,93,5,.18);transition:transform .15s ease,box-shadow .15s ease
}
.operator-fare-limit-inline button:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(244,93,5,.23)}
.operator-fare-limit-inline button:active{transform:translateY(0)}

.operator-quote-notice.customer-counter{
  align-items:center;margin:0 24px 16px;padding:14px 16px;border:1px solid #bcd5fa;border-left:4px solid #2f6fca;
  border-radius:16px;background:linear-gradient(135deg,#f4f8ff,#fff);color:#183f75;box-shadow:0 6px 18px rgba(39,91,165,.05)
}
.operator-quote-notice.customer-counter>div{flex:0 0 auto}
.operator-quote-notice.customer-counter>div small{display:block;font-size:9px;font-weight:950;letter-spacing:.11em;color:#4c73aa}
.operator-quote-notice.customer-counter>div strong{display:block;margin-top:2px;font-size:23px;line-height:1;color:#173e73}
.operator-quote-notice.customer-counter>span{max-width:440px;font-size:12px;line-height:1.45;color:#5b6f88}
.operator-quote-notice.customer-counter b{color:#173e73}

.operator-primary-actions.counter-actions{grid-template-columns:1fr 1fr!important;gap:10px!important}
.operator-primary-actions.counter-actions .operator-send-counter{
  grid-column:1/-1;background:#171717!important;border-color:#171717!important;color:#fff!important
}
.operator-primary-actions.counter-actions .operator-send-counter span:before{content:none!important}
.operator-quote-input-wrap{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;max-width:100%}
.operator-quote-input-wrap input{min-width:0!important;max-width:90px!important;text-align:right!important}
.operator-quote-input-wrap input::placeholder{font-size:.58em!important;color:#a79d97!important;font-weight:750!important;opacity:1}
.operator-quote-input-wrap input.fare-input-attention{animation:fareInputPulse .75s ease}
@keyframes fareInputPulse{0%,100%{background:transparent}40%{background:#fff1e8;box-shadow:0 0 0 6px #fff1e8}}

@media(max-width:900px){
  .operator-fare-limit-inline{margin:0 14px 16px}
  .operator-quote-notice.customer-counter{margin-left:14px;margin-right:14px}
}
@media(max-width:560px){
  .operator-fare-limit-inline{grid-template-columns:minmax(0,1fr) auto;gap:9px;margin:0 0 12px;padding:12px 11px 12px 13px;border-radius:14px}
  .operator-fare-limit-inline strong{font-size:16px}.operator-fare-limit-inline span{font-size:10px}
  .operator-fare-limit-inline button{min-width:104px;min-height:42px;padding:0 10px;font-size:12px}
  .operator-quote-notice.customer-counter{align-items:flex-start;flex-direction:column;margin:0 0 12px;padding:12px 13px;gap:7px}
  .operator-primary-actions.counter-actions{grid-template-columns:1fr 1fr!important}
  .operator-primary-actions.counter-actions .operator-send-counter{grid-column:1/-1!important}
}
@media(max-width:380px){
  .operator-fare-limit-inline{grid-template-columns:1fr}
  .operator-fare-limit-inline button{width:100%}
  .operator-primary-actions.counter-actions{grid-template-columns:1fr!important}
  .operator-primary-actions.counter-actions>*{grid-column:1!important}
}
