/* Godimento UI 884.8 — Admin + Driver Cleanup
   Presentation only. Customer role, API/data, checkout and routing logic stay unchanged. */

body.g8848-admin-clean .app,
body.g8848-tour-clean .app{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
body.g8848-admin-clean #morePage,
body.g8848-admin-clean #tourPage,
body.g8848-tour-clean #tourPage{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important}

/* ADMIN — compact control centre */
body.g8848-admin-clean #morePage>.pagehero{padding:18px 18px 16px!important;margin-bottom:10px!important;min-height:0!important}
body.g8848-admin-clean #morePage>.pagehero .small{font-size:9px!important;letter-spacing:.17em!important}
body.g8848-admin-clean #morePage>.pagehero h2{font-size:30px!important;margin:3px 0 4px!important}
body.g8848-admin-clean #morePage>.pagehero p{font-size:12px!important;line-height:1.35!important;margin:0!important}
body.g8848-admin-clean #morePage .morecard,
body.g8848-admin-clean #morePage .v71-more-card,
body.g8848-admin-clean #morePage .v72-release-card{margin:7px 0!important;padding:12px!important;border-radius:17px!important;box-shadow:0 5px 14px rgba(38,31,20,.045)!important}
body.g8848-admin-clean #morePage .morecard h3{font-size:15px!important;margin:0 0 8px!important}
body.g8848-admin-clean #morePage .moreline{padding:6px 0!important;font-size:11px!important}
body.g8848-admin-clean #morePage .actionbtn,
body.g8848-admin-clean #morePage .dangerbtn{min-height:42px!important;padding:10px 12px!important;border-radius:12px!important;font-size:12px!important}
body.g8848-admin-clean #g47More{gap:7px!important;margin:8px 0 10px!important}
body.g8848-admin-clean #g47More button{min-height:42px!important;padding:9px 8px!important;border-radius:13px!important;font-size:11px!important}
body.g8848-admin-clean #g47More .g8848-hide-shortcut{display:none!important}
body.g8848-admin-clean #morePage details{margin:8px 0!important;border-radius:17px!important}
body.g8848-admin-clean #morePage details>summary{min-height:54px!important;padding:12px 14px!important;box-sizing:border-box!important}
body.g8848-admin-clean #morePage details[open]>summary{margin-bottom:4px!important}
body.g8848-admin-clean #morePage details>summary h3,
body.g8848-admin-clean #morePage details>summary b{font-size:15px!important}
body.g8848-admin-clean #morePage details>summary p,
body.g8848-admin-clean #morePage details>summary span{line-height:1.25!important}

.g8848-admin-centre{margin:9px 0 12px!important;border:1px solid #d8c49b!important;border-radius:19px!important;background:linear-gradient(145deg,#fffdf8,#f4ecdc)!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(47,37,20,.06)!important}
.g8848-admin-centre>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 14px!important;min-height:64px!important}
.g8848-admin-centre>summary::-webkit-details-marker{display:none}
.g8848-admin-centre .g8848-admin-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#211f19;color:#e9c66f;font-size:20px}
.g8848-admin-centre .g8848-admin-copy{min-width:0}.g8848-admin-centre .g8848-admin-copy b{display:block;font-size:15px;color:#211d16}.g8848-admin-centre .g8848-admin-copy span{display:block;margin-top:3px;font-size:10px;color:#786e5f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g8848-admin-centre .g8848-admin-arrow{font-size:19px;color:#8a6b31;transition:transform .18s ease}.g8848-admin-centre[open] .g8848-admin-arrow{transform:rotate(180deg)}
.g8848-admin-centre-body{padding:0 10px 10px}.g8848-admin-centre-body>.v70-admin-dashboard,.g8848-admin-centre-body>.v71-production{margin:8px 0!important;box-shadow:none!important}

body.g8848-admin-clean #tourPage>.v57-statusbar{display:none!important}
body.g8848-admin-clean #tourPage>.v83-offline{display:none!important}
body.g8848-admin-clean #tourPage .driver-home{margin-top:8px!important}
body.g8848-admin-clean #tourPage .driver-tour-card{margin-bottom:8px!important}
body.g8848-admin-clean #tourPage .driver-offline-card{margin:8px 0!important;padding:11px 12px!important;border-radius:16px!important}
body.g8848-admin-clean #tourPage .driver-hint{font-size:10px!important;line-height:1.35!important;margin:5px 4px 10px!important}
body.g8848-admin-clean #tourPage .route44-live{margin-top:10px!important}
body.g8848-admin-clean .g8848-duplicate-management{display:none!important}
body.g8848-admin-clean .g8848-redundant-status{display:none!important}

/* DRIVER / TOUR — all stops live in one intentionally closed folder. */
.g8848-tour-customers{margin:12px 0 14px!important;border:1px solid #ddcba6!important;border-radius:20px!important;background:linear-gradient(145deg,#fffdf8,#f5eddf)!important;overflow:hidden!important;box-shadow:0 8px 24px rgba(47,37,20,.055)!important}
.g8848-tour-customers>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;min-height:66px;padding:12px 14px!important;box-sizing:border-box!important;-webkit-tap-highlight-color:transparent}
.g8848-tour-customers>summary::-webkit-details-marker{display:none}
.g8848-folder-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#211f19,#332819);color:#e8c66f;font-size:15px;font-weight:950}
.g8848-folder-copy{min-width:0}.g8848-folder-copy b{display:block;font-size:16px;color:#241f18}.g8848-folder-copy span{display:block;margin-top:3px;font-size:10px;line-height:1.3;color:#817668;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g8848-folder-arrow{font-size:19px;color:#8b6a2f;transition:transform .18s ease}.g8848-tour-customers[open] .g8848-folder-arrow{transform:rotate(180deg)}
.g8848-tour-customers-body{padding:0 12px 12px!important;border-top:1px solid rgba(205,185,148,.45)}
.g8848-tour-customers-body .g8848-original-stop-title{display:none!important}
.g8848-tour-customers-body .searchwrap{margin:11px 0 9px!important}
.g8848-tour-customers-body .search{min-height:46px!important;border-radius:14px!important}
.g8848-tour-customers-body .driver-stop-list-wrap{display:grid;gap:8px!important;margin:0!important}
.g8848-tour-customers-body .stop{margin:0!important;border-radius:16px!important;padding:11px 12px!important;min-height:0!important}
.g8848-tour-customers-body .stop .name{font-size:14px!important}
.g8848-tour-customers-body .stop .addr{font-size:10.5px!important;margin-top:2px!important}
.g8848-tour-customers-body .stop .meta{font-size:9.5px!important;margin-top:3px!important}
.g8848-tour-customers-body .stop .num{width:38px!important;height:38px!important;min-width:38px!important;font-size:14px!important}

/* Keep the extra driver settings area closed/compact as well. */
body.g8848-tour-clean #tourPage .driver-more{margin:8px 0!important;border-radius:17px!important}
body.g8848-tour-clean #tourPage .driver-more>summary{min-height:50px!important;padding:10px 12px!important}

body.g8848-admin-clean #morePage>*:last-child,
body.g8848-admin-clean #tourPage>*:last-child,
body.g8848-tour-clean #tourPage>*:last-child{margin-bottom:20px!important}

@media(max-width:430px){
  body.g8848-admin-clean #morePage>.pagehero h2{font-size:27px!important}
  body.g8848-admin-clean #g47More{grid-template-columns:1fr 1fr!important}
  .g8848-admin-centre>summary{grid-template-columns:40px minmax(0,1fr) auto;padding:11px 12px!important;min-height:58px!important}
  .g8848-admin-centre .g8848-admin-icon{width:38px;height:38px;font-size:18px}
  body.g8848-admin-clean #morePage details>summary{min-height:50px!important;padding:10px 12px!important}
  .g8848-tour-customers>summary{grid-template-columns:38px minmax(0,1fr) auto;min-height:60px;padding:10px 12px!important}
  .g8848-folder-icon{width:36px;height:36px;border-radius:12px;font-size:13px}
  .g8848-folder-copy b{font-size:15px}
}
