/* Godimento UI 885.8.4 — Fahrer Fokusmodus
   Vor Fahrt: Tour wählen -> Route optimieren -> Fahrt starten.
   Während Fahrt: nur aktueller Stopp + Kernaktionen. */
body.g8850-driver #tourPage{padding-top:10px!important;padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
body.g8850-driver .hero{padding-bottom:10px!important}
body.g8850-driver .hero .eyebrow,body.g8850-driver .hero #dynamicDate{display:none!important}
body.g8850-driver .hero h1{font-size:25px!important;margin:4px 0!important}

/* Das alte doppelte Setup verschwindet – Fokuskarte übernimmt Tourname/Status. */
body.g8850-driver:not(.v57-running) #tourPage>.driver-home>.driver-tour-card{display:none!important}
body.g8850-driver:not(.v57-running) #v57Drive{display:none!important}
body.g8850-driver #v83OfflineCard,
body.g8850-driver #g8850DriverTools,
body.g8850-driver .driver-offline-card,
body.g8850-driver .driver-hint{display:none!important}

.g88584-focus{display:none;margin:0 0 10px;padding:18px;border-radius:22px;border:1px solid rgba(174,137,62,.30);background:linear-gradient(145deg,#fffdf8,#f4ead5);box-shadow:0 10px 28px rgba(50,38,15,.08)}
body.g8850-driver:not(.v57-running) .g88584-focus{display:block}
.g88584-focus small{display:block;color:#a17b31;font-size:9px;letter-spacing:.18em;font-weight:950;text-transform:uppercase}
.g88584-focus h2{margin:5px 0 4px;font:700 25px/1.12 Georgia,serif;color:#221d15}
.g88584-focus p{margin:0;color:#756b5d;font-size:11px;line-height:1.45}
.g88584-focus-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.g88584-focus-meta span{display:inline-flex;align-items:center;min-height:29px;padding:0 10px;border-radius:999px;background:#fff;border:1px solid #e1d5bd;color:#6f5b32;font-size:9px;font-weight:850}

/* Die 3 Kernschritte sind der Fahrer-Startbildschirm. */
body.g8850-driver:not(.v57-running) .driver-steps{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:0!important}
body.g8850-driver:not(.v57-running) .driver-step{position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;width:100%!important;min-height:76px!important;padding:15px 18px!important;border-radius:18px!important;text-align:left!important;font-size:15px!important;line-height:1.15!important;letter-spacing:.02em!important;font-weight:950!important;box-shadow:none!important}
body.g8850-driver:not(.v57-running) .driver-step:after{content:attr(data-g88584-sub);display:block;margin-top:5px;font-size:10px;line-height:1.25;font-weight:650;letter-spacing:0;color:rgba(80,66,40,.72);text-transform:none}
body.g8850-driver:not(.v57-running) .driver-step.select{background:#fff!important;color:#2a241b!important;border:1px solid #d9c8a6!important}
body.g8850-driver:not(.v57-running) .driver-step.optimize{background:#f0e2c2!important;color:#3d3019!important;border:1px solid #cfad67!important}
body.g8850-driver:not(.v57-running) .driver-step.driver-start{background:linear-gradient(135deg,#191713,#33291b)!important;color:#f3d581!important;border:1px solid #5c4a2a!important;min-height:84px!important}
body.g8850-driver:not(.v57-running) .driver-step.driver-start:after{color:#c7b58b!important}

/* Vor Fahrt braucht man keine Stoppliste, CRM oder Tagesabschluss auf dem Hauptscreen. */
body.g8850-driver:not(.v57-running) #route44LiveCard,
body.g8850-driver:not(.v57-running) #tourPage>.driver-section-title,
body.g8850-driver:not(.v57-running) #tourPage>.searchwrap,
body.g8850-driver:not(.v57-running) #tourPage>.driver-stop-list-wrap,
body.g8850-driver:not(.v57-running) #tourPage>.driver-more{display:none!important}

/* Während der Tour verschwinden Setup und redundante Karten. */
body.g8850-driver.v57-running .g88584-focus,
body.g8850-driver.v57-running .driver-home,
body.g8850-driver.v57-running #tourPage>.driver-more{display:none!important}
body.g8850-driver.v57-running #v57Drive{display:block!important;margin:0 0 10px!important}
body.g8850-driver.v57-running #v57Drive .v57-metrics{display:none!important}
body.g8850-driver.v57-running #v57Drive .v57-daybtn{display:none!important}
body.g8850-driver.v57-running #v57Drive .v57-ring{display:none!important}
body.g8850-driver.v57-running #v57Drive .v57-drive-head{display:block!important}
body.g8850-driver.v57-running #v57Drive .v57-next{margin-top:10px!important}
body.g8850-driver.v57-running #v57Drive .v57-actions{grid-template-columns:1fr 1fr!important}
body.g8850-driver.v57-running #v57Drive .v57-actions .primary{grid-column:1/-1!important;min-height:54px!important;font-size:14px!important}
body.g8850-driver.v57-running #route44LiveCard{margin:8px 0!important}
body.g8850-driver.v57-running #tourPage>.driver-section-title{margin-top:12px!important}

/* Stoppliste kompakter, wenn die Fahrt läuft. */
body.g8850-driver.v57-running .driver-section-title{padding:8px 2px!important}
body.g8850-driver.v57-running .searchwrap{margin:5px 0 8px!important}

@media(max-width:520px){
  .g88584-focus{padding:16px;border-radius:20px}.g88584-focus h2{font-size:22px}
  body.g8850-driver:not(.v57-running) .driver-step{min-height:72px!important;padding:14px 16px!important}
  body.g8850-driver:not(.v57-running) .driver-step.driver-start{min-height:80px!important}
}
