/* Keep the approved Bumprkar green within the four mobile Settings pages. */
#liveApp.settings-category-page{--green:#203d36}
#liveApp.settings-category-page .btn.primary,#liveApp.settings-category-page .u172-profile-section summary,#liveApp.settings-category-page .u10-pay-actions>.btn:first-child{background:#203d36!important;border-color:#203d36!important;color:#fff!important}
#liveApp.settings-category-page .u172-profile-form>.actions{justify-content:center}
#liveApp.settings-category-page .u172-profile-form>.actions button{width:auto;min-width:160px;max-width:240px;min-height:48px;padding:12px 24px;background:#203d36!important;border-color:#203d36!important;color:#fff!important}
.settings-page-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 20px}
.settings-page-tab{min-width:0;min-height:74px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;border:1px solid #203d36;border-radius:9px;background:#fff;color:#203d36;font-size:12px;font-weight:700;text-align:center;line-height:1.15;padding:7px 3px}
.settings-page-tab.selected{background:#203d36;color:#fff}
.settings-page-tab svg{flex:none;width:23px;height:23px}
#liveNav button[onclick="goLive('drivers')"]>.ico svg,#liveNav button[onclick="goLive('overview')"]>.ico svg{width:20px;height:20px;display:block}
@media(max-width:370px){.settings-page-tabs{gap:5px}.settings-page-tab{font-size:11px;padding:7px 2px}}

@media (max-width:700px) {
  #liveApp.settings-category-page .u172-profile-identity {
    flex-wrap:nowrap;
    gap:12px;
    min-width:0;
  }
  #liveApp.settings-category-page .u172-profile-identity > .profile-direct-photo,
  #liveApp.settings-category-page .u172-profile-identity .mobile-profile-photo-column {
    flex:0 0 56px;
    width:56px;
    min-width:56px;
  }
  #liveApp.settings-category-page .u172-profile-identity :is(img,.profile-initials) {
    box-sizing:border-box;
    width:56px;
    max-width:56px;
    height:56px;
    border-radius:50%;
    object-fit:cover;
    font-size:22px;
  }
  #liveApp.settings-category-page .u172-profile-identity h2,
  #liveApp.settings-category-page .u172-profile-identity .mobile-profile-name {
    min-width:0;
    overflow-wrap:anywhere;
  }
  #liveApp.settings-category-page .u172-profile-identity .profile-direct-remove {
    min-width:0;
    padding-inline:4px;
  }
  #liveApp.settings-category-page .u172-profile-form .u172-profile-section > summary {
    box-sizing:border-box;
    width:min(100%,280px);
    min-height:50px;
    flex-shrink:0;
  }
}

@media (max-width:700px) {
  .driver-panel .content:has(#liveApp.settings-category-page) { padding-top:10px; }
  .driver-panel .content:has(#liveApp.settings-category-page) > #status:empty { display:none; }

  body.driver-panel #liveApp.settings-category-page > .settings-shared-heading {
    box-sizing:border-box;
    min-height:142px !important;
    padding:0 68px 0 0 !important;
    margin:0 !important;
  }
  #liveApp.settings-category-page > .settings-shared-heading :is(.eyebrow,.sub) {
    line-height:1.25;
  }
  #liveApp.settings-category-page > .settings-shared-heading .sub { margin:6px 0 0; }
  #liveApp.settings-category-page > .settings-shared-heading h1 {
    display:flex;
    align-items:center;
    gap:8px;
    font-size:clamp(24px,6vw,28px);
    line-height:1;
    margin:4px 0 0;
  }
  #liveApp.settings-category-page .settings-shared-heading .mobile-heading-symbol {
    display:inline-flex;
    flex:none;
  }
  #liveApp.settings-category-page .mobile-heading-symbol:has(+.settings-settlement-title) svg {
    width:27px;
    height:27px;
  }
  #liveApp.settings-category-page > .settings-shared-heading > .driver-heading-actions:empty {
    display:none;
  }
  #liveApp.settings-category-page > .settings-shared-heading > .driver-page-menu {
    top:0;
    right:0;
  }
  #liveApp.settings-category-page > .settings-shared-heading + .settings-page-tabs {
    margin:0 0 20px;
  }
  #liveApp.settings-category-page > .settings-page-tabs + .u172-profile-identity,
  #liveApp.settings-category-page > .settings-page-tabs + .u8-pay-actions {
    margin-top:0;
  }
  #liveApp.settings-category-page > .settings-page-tabs + .mobile-docs-banner {
    margin-top:5px;
  }

  #liveApp.settings-category-page .u172-profile-identity .staged-profile-picture > :is(img,.profile-initials),
  #liveApp.settings-category-page .u172-profile-identity .profile-direct-photo > :is(img,.profile-initials) {
    width:68px;
    max-width:68px;
    height:68px;
  }
  #liveApp.settings-category-page .u172-profile-identity > .profile-direct-photo {
    flex-basis:68px;
    width:68px;
    min-width:68px;
  }
  #liveApp.settings-category-page .staged-profile-photo-controls summary,
  #liveApp.settings-category-page .profile-direct-picker {
    position:relative;
    isolation:isolate;
    width:44px;
    height:44px;
    background:transparent;
    box-shadow:none;
    border:0;
    font-size:16px;
    line-height:1;
  }
  #liveApp.settings-category-page .staged-profile-photo-controls summary::before,
  #liveApp.settings-category-page .profile-direct-picker::before {
    content:"";
    position:absolute;
    inset:10px;
    z-index:-1;
    border-radius:50%;
    background:var(--green);
  }
}
