/* Camada do colaborador: dimensões estáveis, luz e relevo sem deslocar bordas. */
@property --glass-pulse {syntax:'<number>';inherits:false;initial-value:.04;}
@media screen {
 html[data-frota-ui="surgical-v1"] body #driver-screen {
  --selected-fuel-color:174,210,239;
  --cg-color:111,190,255; --cg-angle:135deg; --cg-origin:12% 0%;
 }
 html[data-frota-ui="surgical-v1"] body #driver-screen :is(#driver-official,#driver-substitute,.media-slot,.check-card,.consent,.confirmation-glass) {
  border:1px solid rgba(var(--cg-color),.85)!important;
  border-radius:20px!important;
  background:radial-gradient(ellipse at var(--cg-origin),rgba(255,255,255,.22),transparent 58%),linear-gradient(var(--cg-angle),rgba(var(--cg-color),.26),rgba(7,23,43,.82))!important;
  box-shadow:inset 0 2px 1px #ffffffa0,inset 0 -12px 22px #020e2459,0 7px 0 rgba(var(--cg-color),.3),0 19px 28px #00091580,0 0 22px rgba(var(--cg-color),.22)!important;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transform:none!important;overflow:visible!important;min-width:0!important;
 }
 html[data-frota-ui="surgical-v1"] body #driver-screen #driver-official {--cg-color:111,190,255;--cg-angle:135deg;--cg-origin:12% 0%;}
 html[data-frota-ui="surgical-v1"] body #driver-screen #driver-substitute {--cg-color:81,234,189;--cg-angle:225deg;--cg-origin:88% 0%;}
 html[data-frota-ui="surgical-v1"] body #driver-screen :is(#driver-official,#driver-substitute) {padding:20px!important;margin-bottom:10px!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen #driver-process>.card {gap:20px!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .confirmation-glass {--cg-color:98,232,205;--cg-origin:50% 0%;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .consent {--cg-color:98,232,205;display:flex;gap:12px;padding:16px!important;margin-block:10px;line-height:1.5;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .consent input {align-self:flex-start;}
 html[data-frota-ui="surgical-v1"] body #driver-screen #photo-slots .media-slot {--cg-color:109,194,255;--cg-origin:5% 0%;}
 html[data-frota-ui="surgical-v1"] body #driver-screen #video-slots .media-slot {--cg-color:210,172,255;--cg-angle:225deg;--cg-origin:95% 0%;}
 html[data-frota-ui="surgical-v1"] body #driver-screen #video-slots button {--ui-accent:210,172,255;}
 html[data-frota-ui="surgical-v1"] body #driver-screen :is(#photo-slots,#video-slots,#checklist-items) {gap:26px!important;padding-bottom:12px;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card {--cg-color:111,190,255;position:relative;padding:16px!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card:nth-child(even) {--cg-angle:225deg;--cg-origin:88% 0%;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card.arla {--cg-color:167,173,255;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card .options {margin-block:10px 20px!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card input[id^="obs-"] {width:100%!important;min-height:48px!important;margin:0!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .observation-guidance {margin:10px 0 0!important;font-size:.875rem!important;line-height:1.5!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card.observation-pending input[id^="obs-"] {
  color:#fff!important;border:1px solid #ff8898!important;
  background:linear-gradient(rgba(255,97,128,var(--glass-pulse)),rgba(255,97,128,var(--glass-pulse))),radial-gradient(ellipse at 15% 0%,#ffffff25,transparent 65%),linear-gradient(135deg,#903047a8,#331726e8)!important;
  box-shadow:inset 0 1px #ffdce9b3,inset 0 -10px 18px #18051788,0 5px 0 #9c385955,0 0 22px #ff53614d!important;
  animation:observation-glass-pulse 2.4s ease-in-out infinite!important;
 }
 html[data-frota-ui="surgical-v1"] body #driver-screen .observation-pending .observation-guidance {color:#ffd4da!important;font-weight:600;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .observation-pending .led {background:#ff8193!important;box-shadow:0 0 14px #ff637a!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .choice {--choice-color:105,232,182;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .choice.attention {--choice-color:255,150,158;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card .choice {
  background:radial-gradient(ellipse at 12% 0%,#ffffff20,transparent 70%),linear-gradient(145deg,rgba(var(--choice-color),.15),#081a2edb)!important;
  border-color:rgba(var(--choice-color),.65)!important;
  box-shadow:inset 0 1px #ffffff99,0 5px 0 rgba(var(--choice-color),.2),0 10px 16px #00091866!important;
 }
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card .choice.choice-selected {
  background:linear-gradient(145deg,rgba(var(--choice-color),.32),#091f33e6)!important;
  box-shadow:inset 0 3px 8px #000c2270,inset 0 1px #ffffff9c,0 2px 0 rgba(var(--choice-color),.35),0 0 22px rgba(var(--choice-color),.55)!important;
  border-color:rgb(var(--choice-color))!important;
 }
 html[data-frota-ui="surgical-v1"] body #driver-screen .check-card input[type="radio"] {accent-color:rgb(var(--choice-color))!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen #fuel-options .choice {
  color:#f4faff!important;border-color:rgba(var(--fuel-color),.8)!important;
  background:radial-gradient(ellipse at top left,#ffffff25,transparent 65%),linear-gradient(135deg,rgba(var(--fuel-color),.16),#0a1b30e6)!important;
  box-shadow:inset 0 1px #ffffff99,0 5px 0 rgba(var(--fuel-color),.28),0 10px 18px #000a1e66!important;
 }
 html[data-frota-ui="surgical-v1"] body #driver-screen #fuel-options .choice.fuel-selected {
  background:linear-gradient(135deg,rgba(var(--fuel-color),.36),#0a1b30ef)!important;
  border-color:rgb(var(--fuel-color))!important;
  box-shadow:inset 0 3px 9px #000d2266,inset 0 1px #ffffffaa,0 2px 0 rgba(var(--fuel-color),.4),0 0 23px rgba(var(--fuel-color),.55)!important;
 }
 html[data-frota-ui="surgical-v1"] body #driver-screen #fuel-options input {accent-color:rgb(var(--fuel-color))!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .fuel-needle {stroke:rgb(var(--selected-fuel-color))!important;filter:drop-shadow(0 0 4px rgba(var(--selected-fuel-color),.8))!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .fuel-readout {color:rgb(var(--selected-fuel-color))!important;}
 html[data-frota-ui="surgical-v1"] body #driver-screen .checkin-beacon {
  background:linear-gradient(rgba(110,255,211,var(--glass-pulse)),rgba(110,255,211,var(--glass-pulse))),radial-gradient(ellipse at 12% 0%,#ffffff30,transparent 60%),linear-gradient(145deg,#24736d99,#0a243fe6)!important;
  animation:checkin-glass-pulse 2.8s ease-in-out infinite!important;
 }
 html[data-frota-ui="surgical-v1"] body #driver-screen :is(#fuel-options,#checklist-items,#driver-process,#photo-slots,#video-slots) :is(button,.choice):active:not(:has(input:disabled)):not(:disabled),
 html[data-frota-ui="surgical-v1"] body #driver-screen #inspection-form .consent:active:not(:has(input:disabled)) {
  --press-color:var(--fuel-color,var(--choice-color,var(--ui-accent,98,232,205)));
  box-shadow:inset 0 5px 12px #000b2499,inset 0 -1px #ffffff99,0 1px 0 rgba(var(--press-color),.45),0 0 28px rgba(var(--press-color),.65)!important;
  border-color:#e4fbff!important;
 }
 html[data-frota-ui="surgical-v1"] body :is(#driver-screen #driver-logout,#admin-screen #admin-logout) {
  width:76px!important;min-width:76px!important;max-width:76px!important;min-height:44px!important;height:44px!important;
  padding:8px 12px!important;font-size:.9375rem!important;line-height:1.2!important;align-self:start!important;justify-self:end!important;margin:0!important;
 }
 @keyframes observation-glass-pulse {0%,100%{--glass-pulse:.03;}50%{--glass-pulse:.26;}}
 @keyframes checkin-glass-pulse {0%,100%{--glass-pulse:.03;}50%{--glass-pulse:.24;}}
 @media (prefers-reduced-motion:reduce) {
  html[data-frota-ui="surgical-v1"] body #driver-screen :is(.checkin-beacon,.observation-pending input) {animation:none!important;outline:2px solid #f6bacb;outline-offset:2px;}
 }
}
