/* UltraMAX DEV Refined Light Home finishing pass.
   Scoped to this appearance and the native app; Classic/Dark untouched.
   Intent: calm light surfaces, one blue-grey accent and one nav clearance. */
html.native-app.um-home-refined.um-home-light {
  --home-bg:#f6f8fb;
  --home-paper:#ffffff;
  --home-soft:#eef2f7;
  --home-text:#202b39;
  --home-muted:#596879;
  --home-stroke:#dbe3ec;
  --home-accent:#526f8a;
  --home-accent-bg:#e8eef5;
  --home-ok:#237b65;
  --home-shadow:0 2px 8px rgba(25,37,54,.045);
  color-scheme:light;
}
html.native-app.um-home-refined.um-home-light body {
  background:#f6f8fb !important;
  background-image:none !important;
  padding-bottom:0 !important;
}
html.native-app.um-home-refined.um-home-light .wrap {
  display:flex !important;
  flex-direction:column !important;
  min-height:100dvh !important;
  padding-bottom:calc(100px + env(safe-area-inset-bottom)) !important;
  box-sizing:border-box !important;
}
html.native-app.um-home-refined.um-home-light .wrap > .footer-links {
  margin-top:auto !important;
  padding-top:18px !important;
  padding-bottom:0 !important;
}
html.native-app.um-home-refined.um-home-light .footer-links a {
  color:#647287 !important;
  -webkit-text-fill-color:#647287 !important;
}
html.native-app.um-home-refined.um-home-light :is(
 #continueCard,.home-draft-card,.um-supporter-home-card,
 .wrap > .tiles,.wrap > .tiles > a.tile,
 #homeMoreTools,#homeMoreTools > summary) {
  background:#fff !important;
  background-image:none !important;
  border-color:#dbe3ec !important;
  box-shadow:0 2px 8px rgba(25,37,54,.045) !important;
  color:#202b39 !important;
}
/* Cosmic home adds a tinted overlay using pseudo-elements, which survives
   plain background overrides. Kill the overlays, not the brand logos. */
html.native-app.um-home-refined.um-home-light .wrap > .tiles > a.tile::before,
html.native-app.um-home-refined.um-home-light .wrap > .tiles > a.tile::after,
html.native-app.um-home-refined.um-home-light #homeMoreTools .home-more-grid > a.tile::before,
html.native-app.um-home-refined.um-home-light #homeMoreTools .home-more-grid > a.tile::after,
html.native-app.um-home-refined.um-home-light .home-primary-tile::after,
html.native-app.um-home-refined.um-home-light .tile-badge::after {
  content:none !important;
  display:none !important;
  background:none !important;
  box-shadow:none !important;
}
/* Keep all three actions neutral rather than three different coloured tiles. */
html.native-app.um-home-refined.um-home-light .wrap > .tiles > :is(#homeAccountTile,#homeNewSetupTile,#homeNuvioTile),
html.native-app.um-home-refined.um-home-light .wrap > .tiles > :is(#homeAccountTile,#homeNewSetupTile,#homeNuvioTile):is(:active,:focus-visible,:hover) {
  background:#fff !important;
  background-image:none !important;
  border-color:#dbe3ec !important;
  box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-light .wrap > .tiles > :is(#homeAccountTile,#homeNewSetupTile,#homeNuvioTile) .tile-badge,
html.native-app.um-home-refined.um-home-light #continueCard .continue-icon,
html.native-app.um-home-refined.um-home-light .home-draft-card .home-draft-icon {
  background:#e8eef5 !important;
  background-image:none !important;
  color:#526f8a !important;
  border:1px solid #d4e0eb !important;
  box-shadow:none !important;
  filter:none !important;
}
html.native-app.um-home-refined.um-home-light .wrap > .tiles > :is(#homeAccountTile,#homeNewSetupTile) .tile-badge svg,
html.native-app.um-home-refined.um-home-light #continueCard .continue-icon svg,
html.native-app.um-home-refined.um-home-light .home-draft-card .home-draft-icon svg {
  stroke:#526f8a !important;
  filter:none !important;
}
html.native-app.um-home-refined.um-home-light #homeNuvioTile .tile-badge img {
  filter:none !important;
  box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-light :is(#continueCard,.home-draft-card) {
  overflow:hidden !important;
}
html.native-app.um-home-refined.um-home-light :is(#continueCard,.home-draft-card)::before,
html.native-app.um-home-refined.um-home-light :is(#continueCard,.home-draft-card)::after {
  content:none !important;
  display:none !important;
  background:none !important;
}
html.native-app.um-home-refined.um-home-light :is(#continueCard,.home-draft-card)
 :is(.continue-copy,.continue-title,.continue-subtitle,.continue-eyebrow) {
  background:transparent !important;
  background-image:none !important;
  text-shadow:none !important;
  box-shadow:none !important;
  filter:none !important;
}
html.native-app.um-home-refined.um-home-light #continueCard .continue-action {
  display:none !important;
}
html.native-app.um-home-refined.um-home-light #homeMoreTools > summary::after {
  content:none !important;
  display:none !important;
}
html.native-app.um-home-refined.um-home-light #homeMoreTools .home-more-icon {
  background:#e8eef5 !important;
  background-image:none !important;
  color:#526f8a !important;
  border:1px solid #d4e0eb !important;
  box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-light #homeMoreTools .home-more-chev {
  color:#68798c !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-light :is(.continue-eyebrow,.home-draft-eyebrow,.um-supporter-home-kicker) {
  color:#526f8a !important;
  -webkit-text-fill-color:#526f8a !important;
}
html.native-app.um-home-refined.um-home-light :is(.um-supporter-home-card,.um-supporter-identity){
  background:#fff !important;
  background-image:none !important;
  border-color:#dbe3ec !important;
  box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-light :is(.um-supporter-home-verified,.home-nuvio-chip){
  color:#237b65 !important;
  -webkit-text-fill-color:#237b65 !important;
  background:#e9f5f0 !important;
  border-color:#cce5da !important;
  box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-light #umSidebarNav a.active {
  background:#e8eef5 !important;
  background-image:none !important;
  border-color:transparent !important;
  color:#526f8a !important;
  box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-light #umSidebarNav a.active svg {
  color:#526f8a !important;
  filter:none !important;
}
html.native-app.um-home-refined.um-home-light .um-home-appearance-toggle,
html.native-app.um-home-refined.um-home-light .um-home-appearance-options {
  background:#fff !important;
  background-image:none !important;
  color:#202b39 !important;
  border-color:#dbe3ec !important;
  box-shadow:none !important;
}
/* Match controls inside sign-in and profile flows, not just the landing cards. */
html.native-app.um-home-refined.um-home-light :is(.home-account-primary,.home-nuvio-primary,.home-nuvio-load) {
  color:#fff !important;
  background:#526f8a !important;
  background-image:none !important;
  border-color:#526f8a !important;
  box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-light :is(.home-account-primary,.home-nuvio-primary,.home-nuvio-load):focus-visible {
  outline:2px solid #739dbd !important;
  outline-offset:2px !important;
}
