/* MediPoi v12.6 — approved 3x3 mobile layout, designed for actual iPhone viewport.
   Scope: HOME appearance only. Do not rewrite service destinations, XP or bonus data. */

/* Header: preserve the original WordPress logo and the existing navigation. */
#mp70-app.mp124-ready .mp70-panel-home {
  --mp126-ink:#102c52; --mp126-muted:#54657d; --mp126-stroke:#dce5ee;
}
/* Hero: navy copy + pale aqua/slate wash, retaining the owner's owl artwork. */
#mp70-app.mp124-ready.mp117-ready .mp70-panel-home .mp118-home-intro {
  background:linear-gradient(115deg,#e6f7f5 0%,#f1faf9 53%,#eaf3fc 100%)!important;
  border:1px solid #dbece9!important;
  border-radius:19px!important;
  box-shadow:0 3px 15px rgba(19,54,82,.035)!important;
}
#mp70-app.mp124-ready.mp117-ready .mp70-panel-home .mp118-home-copy strong {
  color:#112d52!important;
  letter-spacing:-.035em!important;
}
#mp70-app.mp124-ready.mp117-ready .mp70-panel-home .mp118-home-copy span {
  color:#52657d!important;
}
#mp70-app.mp124-ready.mp117-ready .mp70-panel-home .mp118-flow-button {
  color:#153658!important;background:#fff!important;
  border:1px solid #c8d7e4!important;border-radius:12px!important;
}
#mp70-app.mp124-ready.mp117-ready .mp70-panel-home .mp118-flow-button:first-child {
  background:#124b89!important;border-color:#124b89!important;color:#fff!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp79-ticker .mdp-stat-rotator__bar {
  background:linear-gradient(105deg,#f1f9fb,#eef5fd)!important;
  border-color:#dce6ee!important;
  border-radius:14px!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp79-ticker .mdp-stat-rotator__tag {
  color:#164d8a!important;
}

/* Remove the old giant wrapper. The nine cards form the page's visual hierarchy. */
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:12px 1px 6px!important;
  margin:0 0 12px!important;
  overflow:visible!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-heading {
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  gap:8px!important;
  align-items:center!important;
  margin:0 0 16px!important;
  padding:0!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp76-hub-eyebrow {
  grid-column:1!important;grid-row:1!important;
  display:flex!important;align-items:center!important;gap:9px!important;
  font-size:clamp(18px,3.8vw,23px)!important;line-height:1.24!important;
  letter-spacing:-.025em!important;color:#102d54!important;
  font-weight:900!important;white-space:nowrap!important;width:auto!important;
  margin:0!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp76-hub-eyebrow::before {
  content:''!important;display:block!important;height:1.1em!important;width:5px!important;
  background:#14509b!important;border-radius:999px!important;flex:0 0 5px!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp72-service-subtitle {
  grid-column:2!important;grid-row:1!important;justify-self:end!important;
  font-size:clamp(9px,2.1vw,11px)!important;line-height:1.3!important;
  letter-spacing:-.01em!important;color:#607086!important;font-weight:600!important;
  white-space:nowrap!important;min-width:0!important;margin:0!important;
}
/* Keep all/edit functionality in a small collapsible controls group below cards. */
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp126-settings {
  display:block!important;margin:8px 0 0!important;border:0!important;padding:0!important;
  font-size:11px!important;color:#647991!important;text-align:right!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp126-settings summary {
  display:inline-flex!important;align-items:center!important;gap:4px!important;
  color:#5f7791!important;font-weight:600!important;font-size:10px!important;
  list-style:none!important;cursor:pointer!important;padding:4px 3px!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp126-settings summary::-webkit-details-marker {display:none!important;}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp126-controls {
  display:flex!important;flex-wrap:wrap!important;gap:7px!important;
  justify-content:flex-end!important;margin-top:4px!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp126-controls .mph4-all,
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp126-controls .mph4-edit {
  display:inline-flex!important;position:static!important;
  padding:7px 10px!important;font-size:10px!important;background:#fff!important;
  color:#2d5b86!important;border:1px solid #d4e1ea!important;
  border-radius:999px!important;
}
/* The exact three-column rule is intentionally retained on the smallest phones. */
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-grid {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:11px 9px!important;
  margin:0!important;padding:0!important;align-items:stretch!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-item.mp124-excluded,
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-item[hidden]{display:none!important;visibility:hidden!important;}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-item.mp124-card {
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-rows:min-content min-content!important;
  align-content:center!important;align-items:center!important;
  gap:3px 7px!important;
  min-width:0!important;min-height:88px!important;
  margin:0!important;padding:10px 10px!important;
  background:linear-gradient(175deg,#fff,#fbfcff)!important;
  border:1px solid #dce5ee!important;border-radius:13px!important;
  box-shadow:0 3px 9px rgba(14,40,73,.035)!important;
  text-align:left!important;
  position:relative!important;cursor:pointer!important;
  flex-direction:unset!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon-link {
  display:flex!important;grid-column:1!important;grid-row:1/3!important;
  align-self:center!important;justify-self:start!important;
  width:42px!important;height:42px!important;
  min-width:42px!important;min-height:42px!important;
  max-width:42px!important;max-height:42px!important;
  margin:0!important;padding:0!important;border-radius:11px!important;
  background:transparent!important;box-shadow:none!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card img.mp124-picto,
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card img.mp1177-safe-icon.mp124-picto {
  display:block!important;width:42px!important;height:42px!important;
  min-width:42px!important;min-height:42px!important;
  border-radius:11px!important;object-fit:cover!important;
  filter:none!important;box-shadow:none!important;margin:0!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-name {
  grid-column:2!important;grid-row:1!important;align-self:end!important;
  display:block!important;min-height:0!important;min-width:0!important;
  width:100%!important;white-space:normal!important;
  font-family:-apple-system,BlinkMacSystemFont,'Hiragino Sans',sans-serif!important;
  font-size:clamp(10px,2.25vw,13px)!important;
  font-weight:860!important;line-height:1.16!important;letter-spacing:-.04em!important;
  color:#0e203a!important;text-align:left!important;
  overflow-wrap:anywhere!important;word-break:normal!important;
  margin:0!important;padding:0 5px 0 0!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mp124-desc {
  grid-column:2!important;grid-row:2!important;align-self:start!important;
  display:block!important;min-width:0!important;min-height:0!important;
  width:100%!important;font-size:clamp(8px,1.72vw,10px)!important;
  font-weight:580!important;color:#63748b!important;line-height:1.2!important;
  white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
  overflow:visible!important;text-overflow:clip!important;text-align:left!important;
  margin:0!important;padding:0 3px 0 0!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mp124-chevron {
  position:absolute!important;top:50%!important;right:4px!important;
  transform:translateY(-50%)!important;
  display:block!important;grid-area:auto!important;
  font-size:19px!important;line-height:1!important;color:#63758d!important;
  pointer-events:none!important;
}
/* The green sign-in bubbles looked like accidental visual noise in this layout. */
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-dot,
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-registered {
  display:none!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp120-independent-note {
  margin:8px 0 0!important;color:#92a0ae!important;font-size:9px!important;
  line-height:1.3!important;text-align:center!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card:hover {
  transform:translateY(-1px)!important;box-shadow:0 6px 14px rgba(14,40,73,.08)!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-icon-link:focus-visible {
  outline:3px solid #138e97!important;outline-offset:2px!important;
}
@media(max-width:440px){
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher{padding:10px 0 0!important;}
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-heading{margin-bottom:14px!important;}
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-grid{gap:8px 6px!important;}
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-item.mp124-card{
    grid-template-columns:37px minmax(0,1fr)!important;
    gap:2px 5px!important;min-height:77px!important;
    padding:8px 7px!important;border-radius:12px!important;
  }
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon-link,
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card img.mp124-picto,
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card img.mp1177-safe-icon.mp124-picto {
    width:37px!important;height:37px!important;
    min-width:37px!important;min-height:37px!important;
    max-width:37px!important;max-height:37px!important;border-radius:9px!important;
  }
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-name{
    font-size:clamp(9px,2.1vw,11px)!important;line-height:1.12!important;letter-spacing:-.04em!important;padding-right:1px!important;
  }
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mp124-desc{
    font-size:clamp(7px,1.65vw,8.5px)!important;line-height:1.18!important;padding-right:1px!important;
  }
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mp124-chevron{
    font-size:17px!important;right:2px!important;
  }
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp72-service-subtitle{font-size:9px!important;}
}
@media(max-width:375px){
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-grid{gap:7px 5px!important;}
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mph4-item.mp124-card{
    grid-template-columns:32px minmax(0,1fr)!important;gap:2px 4px!important;
    padding:7px 5px!important;min-height:76px!important;
  }
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon-link,
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card img.mp124-picto,
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card img.mp1177-safe-icon.mp124-picto{
    width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
    max-width:32px!important;max-height:32px!important;border-radius:8px!important;
  }
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-name {font-size:9px!important;}
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mp124-desc {font-size:7px!important;}
  #mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mp124-chevron{right:1px!important;}
}
@media(prefers-reduced-motion:reduce){#mp70-app.mp124-ready .mp124-card{transition:none!important}}

/* v12.7: render reference-matched, original art without legacy white capsule or ornament. */
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon-link,
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon-link:before,
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon-link:after{
 background:transparent!important;border:0!important;box-shadow:none!important;
}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon-link:before,
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon-link:after{content:none!important;display:none!important}
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card .mph4-icon,
#mp70-app.mp124-ready .mp70-panel-home .mp124-launcher .mp124-card img.mp124-picto{
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:0!important;object-fit:contain!important;
}
