/* Haru Baeum mobile app shell */
body.hm-mobile-installed {
  margin: 0;
  overflow-x: hidden;
  background: #f7f4ec;
}

body.hm-mobile-installed .app-shell,
body.hm-mobile-installed #mobileNativeApp {
  display: none !important;
}

body.hm-mobile-installed #haruMobileApp {
  display: block !important;
}

@media (max-width: 900px) {
  #haruMobileApp {
    display: block;
  }
}

#haruMobileApp {
  --hm-ink: #17201d;
  --hm-muted: #687570;
  --hm-line: #dce5df;
  --hm-bg: #f7f4ec;
  --hm-card: #ffffff;
  --hm-green: #0f7d70;
  --hm-deep: #143f39;
  --hm-coral: #d76543;
  --hm-blue: #2d6cdf;
  --hm-gold: #d99a20;
  min-height: 100svh;
  background: var(--hm-bg);
  color: var(--hm-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.45;
}

#haruMobileApp[hidden] {
  display: none !important;
}

.hm-screen {
  min-height: 100svh;
  padding: 18px 16px 92px;
  box-sizing: border-box;
}

.hm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hm-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f7d70, #4c9b82);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 125, 112, 0.2);
}

.hm-brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

.hm-brand span,
.hm-section-head p,
.hm-card p,
.hm-small {
  color: var(--hm-muted);
}

.hm-role {
  border: 1px solid var(--hm-line);
  background: #fff;
  color: var(--hm-deep);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
}

.hm-role-row,
.hm-chip-row,
.hm-action-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.hm-role-row::-webkit-scrollbar,
.hm-chip-row::-webkit-scrollbar,
.hm-action-row::-webkit-scrollbar {
  display: none;
}

.hm-chip,
.hm-tab,
.hm-button {
  border: 1px solid var(--hm-line);
  background: #fff;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 15px;
  color: var(--hm-ink);
  font-weight: 800;
  white-space: nowrap;
}

.hm-chip.active,
.hm-tab.active {
  background: var(--hm-green);
  color: #fff;
  border-color: var(--hm-green);
}

.hm-hero {
  margin-top: 14px;
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #174b43, #0f7d70);
  color: #fff;
  overflow: hidden;
}

.hm-hero h1 {
  margin: 6px 0 10px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hm-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.hm-hero .hm-action-row {
  margin-top: 18px;
}

.hm-primary,
.hm-secondary {
  min-height: 48px;
  border-radius: 16px;
  padding: 0 16px;
  font-weight: 900;
  border: 0;
}

.hm-primary {
  background: var(--hm-coral);
  color: #fff;
}

.hm-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hm-section {
  margin-top: 18px;
}

.hm-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hm-section-head h2 {
  margin: 0;
  font-size: 20px;
}

.hm-section-head p {
  margin: 4px 0 0;
  font-size: 13px;
}

.hm-grid {
  display: grid;
  gap: 10px;
}

.hm-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-card {
  background: var(--hm-card);
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 10px 26px rgba(38, 52, 47, 0.06);
}

.hm-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.hm-card p {
  margin: 0;
  font-size: 13px;
}

.hm-kpi strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
}

.hm-kpi span {
  display: block;
  margin-top: 6px;
  color: var(--hm-muted);
  font-size: 12px;
}

.hm-flow {
  position: relative;
  display: grid;
  gap: 10px;
}

.hm-flow-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.hm-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e4f3ef;
  color: var(--hm-green);
  font-weight: 900;
}

.hm-flow-body {
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  padding: 12px;
}

.hm-flow-body strong {
  display: block;
  margin-bottom: 4px;
}

.hm-list {
  display: grid;
  gap: 10px;
}

.hm-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  padding: 13px;
}

.hm-row small {
  display: block;
  margin-top: 4px;
  color: var(--hm-muted);
}

.hm-badge {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
  background: #edf5f2;
  color: var(--hm-green);
}

.hm-badge.warn {
  background: #fff0e9;
  color: var(--hm-coral);
}

.hm-badge.blue {
  background: #edf3ff;
  color: var(--hm-blue);
}

.hm-daybar {
  display: grid;
  grid-template-columns: repeat(7, minmax(42px, 1fr));
  gap: 6px;
}

.hm-day {
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  background: #fff;
  padding: 10px 4px;
  text-align: center;
  font-weight: 900;
}

.hm-day span {
  display: block;
  color: var(--hm-muted);
  font-size: 11px;
  margin-top: 2px;
}

.hm-day.active {
  border-color: var(--hm-coral);
  background: #fff6f1;
}

.hm-map {
  height: 210px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(135deg, #dcefe7, #f8f0d8);
  background-size: 32px 32px, 32px 32px, auto;
  border: 1px solid var(--hm-line);
  position: relative;
  overflow: hidden;
}

.hm-route-line {
  position: absolute;
  left: 42px;
  right: 38px;
  top: 90px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hm-green), var(--hm-gold), var(--hm-coral));
  transform: rotate(-12deg);
}

.hm-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 3px solid var(--hm-green);
  font-weight: 900;
}

.hm-pin.one { left: 26px; top: 120px; }
.hm-pin.two { left: 46%; top: 82px; border-color: var(--hm-gold); }
.hm-pin.three { right: 26px; top: 48px; border-color: var(--hm-coral); }

.hm-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--hm-line);
  backdrop-filter: blur(14px);
}

.hm-nav button {
  border: 0;
  background: transparent;
  color: var(--hm-muted);
  min-height: 54px;
  border-radius: 16px;
  font-weight: 900;
}

.hm-nav button span {
  display: block;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 3px;
}

.hm-nav button.active {
  background: #e8f3ef;
  color: var(--hm-green);
}

@media (min-width: 901px) {
  body:not(.hm-mobile-installed) #haruMobileApp {
    display: none !important;
  }
}

/* v2 mobile product polish */
#haruMobileApp .hm-app-frame {
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(247,244,236,.92) 220px),
    radial-gradient(circle at 85% 8%, rgba(15,125,112,.12), transparent 34%),
    var(--hm-bg);
}

#haruMobileApp .hm-screen {
  padding-top: 8px;
}

#haruMobileApp .hm-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 16px 8px;
  margin: 0 -16px 8px;
  background: rgba(247, 244, 236, 0.88);
  backdrop-filter: blur(16px);
}

#haruMobileApp .hm-role-row {
  padding: 0 0 8px;
  margin-bottom: 4px;
}

#haruMobileApp .hm-role-row .hm-chip {
  box-shadow: 0 4px 14px rgba(38, 52, 47, 0.05);
}

#haruMobileApp .hm-hero {
  border-radius: 26px;
  box-shadow: 0 18px 34px rgba(20, 63, 57, 0.18);
}

#haruMobileApp .hm-card.warn strong,
#haruMobileApp .hm-kpi.warn strong {
  color: var(--hm-coral);
}

#haruMobileApp .hm-card.pay strong,
#haruMobileApp .hm-kpi.pay strong {
  color: var(--hm-gold);
}

#haruMobileApp .hm-card.ok strong,
#haruMobileApp .hm-kpi.ok strong {
  color: var(--hm-green);
}

#haruMobileApp .hm-card.info strong,
#haruMobileApp .hm-kpi.info strong {
  color: var(--hm-blue);
}

#haruMobileApp .hm-section-head {
  margin-top: 20px;
}

#haruMobileApp .hm-section-head:first-child {
  margin-top: 4px;
}

#haruMobileApp .hm-section-head h2 {
  font-size: 21px;
}

#haruMobileApp .hm-link-card {
  text-align: left;
}

#haruMobileApp .hm-flow-item,
#haruMobileApp .hm-link-card,
#haruMobileApp .hm-tile,
#haruMobileApp .hm-day {
  font-family: inherit;
  cursor: pointer;
}

#haruMobileApp .hm-flow-item {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

#haruMobileApp .hm-flow-body small {
  color: var(--hm-muted);
}

#haruMobileApp .hm-timeline {
  display: grid;
  gap: 10px;
}

#haruMobileApp .hm-time-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: stretch;
}

#haruMobileApp .hm-time-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f3ef;
  color: var(--hm-green);
  font-weight: 900;
  margin-top: 12px;
}

#haruMobileApp .hm-time-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  padding: 14px;
}

#haruMobileApp .hm-time-body strong,
#haruMobileApp .hm-row strong {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-time-body small,
#haruMobileApp .hm-row small {
  display: block;
  margin-top: 5px;
  color: var(--hm-muted);
  word-break: keep-all;
}

#haruMobileApp .hm-segment {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: #fff;
  margin: 6px 0 12px;
}

#haruMobileApp .hm-segment button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--hm-muted);
  font-weight: 900;
}

#haruMobileApp .hm-segment button.active {
  background: var(--hm-green);
  color: #fff;
}

#haruMobileApp .hm-day-detail h3,
#haruMobileApp .hm-child-card h2 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

#haruMobileApp .hm-wide-action {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border: 0;
  border-radius: 16px;
  background: var(--hm-green);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 12px 24px rgba(38, 52, 47, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#haruMobileApp .hm-reward strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 34px;
  color: var(--hm-green);
}

#haruMobileApp .hm-progress {
  height: 9px;
  border-radius: 999px;
  background: #e8ece9;
  overflow: hidden;
  margin-top: 14px;
}

#haruMobileApp .hm-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hm-green), var(--hm-gold));
}

#haruMobileApp .hm-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#haruMobileApp .hm-tile {
  min-height: 92px;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  text-align: left;
  box-shadow: 0 10px 26px rgba(38, 52, 47, 0.06);
}

#haruMobileApp .hm-tile strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

#haruMobileApp .hm-tile span {
  color: var(--hm-muted);
  font-size: 13px;
}

#haruMobileApp .hm-map-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px;
  box-shadow: 0 10px 22px rgba(38, 52, 47, 0.1);
}

#haruMobileApp .hm-map-caption span {
  color: var(--hm-muted);
  text-align: right;
  font-size: 12px;
}

#haruMobileApp .hm-feed-row {
  padding: 11px 0;
  border-bottom: 1px solid var(--hm-line);
  color: var(--hm-muted);
  font-size: 13px;
}

#haruMobileApp .hm-feed-row:last-child {
  border-bottom: 0;
}

#haruMobileApp .hm-list.compact {
  gap: 0;
}

#haruMobileApp .hm-ad-card {
  background: linear-gradient(135deg, #fff, #f8fbf8);
}

@media (max-width: 380px) {
  #haruMobileApp .hm-screen {
    padding-left: 12px;
    padding-right: 12px;
  }

  #haruMobileApp .hm-hero h1 {
    font-size: 26px;
  }

  #haruMobileApp .hm-grid.two,
  #haruMobileApp .hm-tile-grid {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-time-body,
  #haruMobileApp .hm-row {
    grid-template-columns: 1fr;
  }
}

/* v3 family-first growth polish */
#haruMobileApp .hm-child-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

#haruMobileApp .hm-child-switch button {
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  text-align: left;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(38, 52, 47, 0.05);
}

#haruMobileApp .hm-child-switch button.active {
  border-color: var(--hm-green);
  background: #e8f3ef;
}

#haruMobileApp .hm-child-switch strong {
  display: block;
  color: var(--hm-ink);
  font-size: 15px;
}

#haruMobileApp .hm-child-switch span {
  display: block;
  margin-top: 3px;
  color: var(--hm-muted);
  font-size: 12px;
}

#haruMobileApp .hm-strategy-card {
  border-color: rgba(45, 108, 223, 0.22);
  background: linear-gradient(135deg, #ffffff, #eef5ff);
}

#haruMobileApp .hm-strategy-card h3 {
  margin: 10px 0 8px;
  font-size: 21px;
}

#haruMobileApp .hm-strategy-card p {
  word-break: keep-all;
}

/* v4 family sharing */
#haruMobileApp .hm-family-card {
  border-color: rgba(15, 125, 112, 0.24);
  background: linear-gradient(135deg, #ffffff, #edf8f4);
}

#haruMobileApp .hm-family-card h3 {
  margin: 10px 0 6px;
  font-size: 22px;
}

#haruMobileApp .hm-invite-box {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 125, 112, 0.08);
  color: var(--hm-deep);
  font-size: 13px;
  font-weight: 800;
  word-break: break-all;
}

#haruMobileApp .hm-share-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

#haruMobileApp .hm-share-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf5f2;
  color: var(--hm-green);
  font-size: 12px;
  font-weight: 900;
}

/* v5 subscription sharing dimensions */
#haruMobileApp .hm-plan-principle {
  border-color: rgba(217, 154, 32, 0.26);
  background: linear-gradient(135deg, #ffffff, #fff7e4);
}

#haruMobileApp .hm-plan-principle h3 {
  margin: 10px 0 8px;
  font-size: 21px;
}

#haruMobileApp .hm-plan-card {
  padding: 16px;
}

#haruMobileApp .hm-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

#haruMobileApp .hm-plan-top strong {
  color: var(--hm-deep);
  font-size: 18px;
  text-align: right;
}

#haruMobileApp .hm-plan-matrix {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: #f7faf8;
}

#haruMobileApp .hm-plan-matrix span {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 900;
}

#haruMobileApp .hm-plan-matrix b {
  color: var(--hm-ink);
  font-size: 13px;
  word-break: keep-all;
}

#haruMobileApp .hm-plan-card p {
  margin-top: 12px;
}

/* v6 identity verification */
#haruMobileApp .hm-auth-card {
  border-color: rgba(15, 125, 112, 0.2);
  background: linear-gradient(135deg, #fff, #f3fbf7);
}

#haruMobileApp .hm-auth-card h3,
#haruMobileApp .hm-auth-gate h3 {
  margin: 10px 0 8px;
  font-size: 21px;
}

#haruMobileApp .hm-auth-gate {
  border-color: rgba(217, 154, 32, 0.26);
  background: linear-gradient(135deg, #ffffff, #fff8e7);
}

#haruMobileApp .hm-auth-gate.ok {
  border-color: rgba(15, 125, 112, 0.24);
  background: linear-gradient(135deg, #ffffff, #edf8f4);
}

#haruMobileApp .hm-auth-gate .hm-button {
  margin-top: 12px;
}

/* v7 launch readiness center */
#haruMobileApp .hm-compliance-item {
  border-color: rgba(45, 108, 223, 0.16);
  background: linear-gradient(135deg, #fff, #f7fbff);
}

#haruMobileApp .hm-compliance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

#haruMobileApp .hm-compliance-top small {
  color: var(--hm-muted);
  font-weight: 900;
}

#haruMobileApp .hm-compliance-item h3,
#haruMobileApp .hm-compliance-note h3 {
  margin: 8px 0;
  font-size: 20px;
  word-break: keep-all;
}

#haruMobileApp .hm-compliance-item .hm-button {
  margin-top: 12px;
}

#haruMobileApp .hm-compliance-note {
  border-color: rgba(15, 125, 112, 0.24);
  background: linear-gradient(135deg, #ffffff, #edf8f4);
}

/* v8 brand and icon audit */
#haruMobileApp .hm-nav button span {
  width: 24px;
  height: 24px;
  margin: 0 auto 4px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(15, 125, 112, 0.09);
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

#haruMobileApp .hm-nav button.active span {
  background: var(--hm-green);
  color: #fff;
}

#haruMobileApp .hm-brand-card {
  border-color: rgba(15, 125, 112, 0.24);
  background: linear-gradient(135deg, #ffffff, #f0faf6);
}

#haruMobileApp .hm-brand-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

#haruMobileApp .hm-brand-preview h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

/* v24 parent-child MVP scope */
#haruMobileApp .hm-admin-panel {
  border-color: rgba(217, 154, 32, 0.26);
  background: linear-gradient(135deg, #ffffff, #fff8e7);
}

#haruMobileApp .hm-admin-panel h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

#haruMobileApp .hm-admin-panel .hm-section {
  margin-top: 12px;
}

#haruMobileApp .hm-support-note {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(217, 154, 32, 0.28);
  border-radius: 16px;
  background: #fff8e7;
  color: #78603a;
  font-size: 13px;
  font-weight: 800;
  word-break: keep-all;
}


/* v25 parent-child daily loop */
#haruMobileApp .hm-daily-summary {
  border-color: rgba(45, 108, 223, 0.2);
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
}

#haruMobileApp .hm-daily-summary h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-summary-grid {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

#haruMobileApp .hm-summary-grid span {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 900;
}

#haruMobileApp .hm-summary-grid b {
  min-width: 0;
  color: var(--hm-ink);
  font-size: 13px;
  word-break: keep-all;
}

#haruMobileApp .hm-action-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#haruMobileApp .hm-action-dock button {
  min-height: 54px;
  padding: 8px 6px;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--hm-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(38, 52, 47, 0.05);
  word-break: keep-all;
}

#haruMobileApp .hm-action-dock button:active {
  transform: translateY(1px);
}

#haruMobileApp .hm-approval-card {
  border-color: rgba(15, 125, 112, 0.22);
  background: linear-gradient(135deg, #ffffff, #edf8f4);
}

#haruMobileApp .hm-child-card h2 {
  margin: 8px 0;
  font-size: 28px;
  line-height: 1.2;
  word-break: keep-all;
}

#haruMobileApp .hm-child-card p {
  margin-bottom: 14px;
}

@media (max-width: 380px) {
  #haruMobileApp .hm-action-dock {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-summary-grid {
    grid-template-columns: 68px 1fr;
  }
}


/* v26 mobile safe spacing */
body.hm-mobile-installed {
  background: #ece7da;
}

#haruMobileApp,
#haruMobileApp * {
  box-sizing: border-box;
}

#haruMobileApp {
  width: 100%;
  overflow-x: clip;
}

#haruMobileApp .hm-app-frame {
  width: 100%;
  min-height: 100svh;
  overflow-x: clip;
}

#haruMobileApp .hm-topbar {
  top: 8px;
  margin: 10px max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
  padding: 12px 0 8px;
  border-radius: 0;
  background: rgba(247, 244, 236, 0.9);
}

#haruMobileApp .hm-brand {
  min-width: 0;
  overflow: hidden;
}

#haruMobileApp .hm-brand > div:last-child {
  min-width: 0;
}

#haruMobileApp .hm-brand strong,
#haruMobileApp .hm-brand span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-role-row,
#haruMobileApp .hm-child-switch,
#haruMobileApp .hm-screen {
  margin-left: max(14px, env(safe-area-inset-left));
  margin-right: max(14px, env(safe-area-inset-right));
}

#haruMobileApp .hm-screen {
  min-height: auto;
  padding: 14px 0 calc(108px + env(safe-area-inset-bottom));
}

#haruMobileApp .hm-role-row {
  padding: 0 0 10px;
  margin-bottom: 6px;
}

#haruMobileApp .hm-child-switch {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

#haruMobileApp .hm-child-switch button {
  min-width: 0;
  width: 100%;
}

#haruMobileApp .hm-hero,
#haruMobileApp .hm-card,
#haruMobileApp .hm-row,
#haruMobileApp .hm-action-dock button,
#haruMobileApp .hm-list,
#haruMobileApp .hm-timeline,
#haruMobileApp .hm-grid,
#haruMobileApp .hm-flow,
#haruMobileApp .hm-tile-grid {
  max-width: 100%;
}

#haruMobileApp .hm-action-dock {
  grid-template-columns: 1fr;
}

#haruMobileApp .hm-nav {
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: max(8px, env(safe-area-inset-bottom));
  border: 1px solid var(--hm-line);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(38, 52, 47, 0.16);
}

@media (min-width: 520px) {
  body.hm-mobile-installed {
    min-height: 100svh;
    padding: 18px 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(15, 125, 112, 0.12), transparent 34%),
      #ece7da;
  }

  body.hm-mobile-installed #haruMobileApp {
    max-width: 430px;
    min-height: calc(100svh - 36px);
    margin: 0 auto;
    border: 1px solid rgba(38, 52, 47, 0.12);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(38, 52, 47, 0.18);
  }

  body.hm-mobile-installed #haruMobileApp .hm-app-frame {
    min-height: calc(100svh - 38px);
  }

  body.hm-mobile-installed #haruMobileApp .hm-nav {
    left: 50%;
    right: auto;
    width: min(406px, calc(100vw - 36px));
    transform: translateX(-50%);
  }
}

@media (max-width: 360px) {
  #haruMobileApp .hm-topbar,
  #haruMobileApp .hm-role-row,
  #haruMobileApp .hm-child-switch,
  #haruMobileApp .hm-screen {
    margin-left: 12px;
    margin-right: 12px;
  }

  #haruMobileApp .hm-logo {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  #haruMobileApp .hm-brand strong {
    font-size: 18px;
  }
}


/* v27 live family calendar */
#haruMobileApp .hm-clock {
  display: block;
  margin-top: 2px;
  color: var(--hm-green);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#haruMobileApp .hm-live-card {
  display: grid;
  gap: 12px;
  border-color: rgba(45, 108, 223, 0.2);
  background: linear-gradient(135deg, #ffffff, #f3f7ff);
}

#haruMobileApp .hm-live-card h3 {
  margin: 10px 0 6px;
  font-size: 23px;
  line-height: 1.2;
}

#haruMobileApp .hm-next-event {
  padding: 12px;
  border: 1px solid rgba(45, 108, 223, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

#haruMobileApp .hm-next-event span {
  display: block;
  margin-bottom: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 900;
}

#haruMobileApp .hm-next-event strong {
  display: block;
  color: var(--hm-ink);
  font-size: 14px;
  line-height: 1.35;
  word-break: keep-all;
}

#haruMobileApp .hm-event-list {
  display: grid;
  gap: 10px;
}

#haruMobileApp .hm-event-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: #ffffff;
}

#haruMobileApp .hm-event-date {
  min-height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #edf5f2;
  color: var(--hm-green);
}

#haruMobileApp .hm-event-date strong {
  font-size: 20px;
  line-height: 1;
}

#haruMobileApp .hm-event-date span {
  font-size: 11px;
  font-weight: 900;
}

#haruMobileApp .hm-event-card h3 {
  margin: 7px 0 3px;
  font-size: 17px;
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-event-card p,
#haruMobileApp .hm-trip-card small {
  color: var(--hm-muted);
  font-size: 12px;
}

#haruMobileApp .hm-light-action {
  margin-top: 10px;
  background: #ffffff;
  color: var(--hm-deep);
  border: 1px solid var(--hm-line);
}

#haruMobileApp .hm-trip-card {
  border-color: rgba(217, 154, 32, 0.22);
  background: linear-gradient(135deg, #ffffff, #fff8e7);
}

#haruMobileApp .hm-trip-card h3 {
  margin: 9px 0 6px;
  font-size: 21px;
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-progress {
  height: 8px;
  margin: 12px 0 7px;
  border-radius: 999px;
  background: rgba(23, 32, 29, 0.08);
  overflow: hidden;
}

#haruMobileApp .hm-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hm-green), var(--hm-gold));
}

#haruMobileApp .hm-check-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

#haruMobileApp .hm-check-item {
  min-height: 46px;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--hm-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
}

#haruMobileApp .hm-check-item span {
  width: 26px;
  height: 26px;
  border: 2px solid #cfdad3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 13px;
}

#haruMobileApp .hm-check-item.done {
  border-color: rgba(15, 125, 112, 0.22);
  background: #edf8f4;
  color: var(--hm-green);
}

#haruMobileApp .hm-check-item.done span {
  border-color: var(--hm-green);
  background: var(--hm-green);
}

@media (max-width: 380px) {
  #haruMobileApp .hm-event-card {
    grid-template-columns: 48px 1fr;
  }

  #haruMobileApp .hm-event-card > .hm-badge:last-child {
    grid-column: 2;
    justify-self: start;
  }
}


/* v28 child birthday milestones */
#haruMobileApp .hm-child-switch small {
  display: block;
  margin-top: 5px;
  color: var(--hm-green);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-birth-card {
  display: grid;
  gap: 12px;
  border-color: rgba(15, 125, 112, 0.24);
  background: linear-gradient(135deg, #ffffff, #edf8f4);
}

#haruMobileApp .hm-birth-card h3 {
  margin: 9px 0 5px;
  font-size: 22px;
  line-height: 1.24;
  word-break: keep-all;
}

#haruMobileApp .hm-life-grid {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

#haruMobileApp .hm-life-grid span {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 900;
}

#haruMobileApp .hm-life-grid b {
  color: var(--hm-ink);
  font-size: 13px;
  line-height: 1.3;
  word-break: keep-all;
}

#haruMobileApp .hm-birthday-row {
  border-color: rgba(217, 154, 32, 0.22);
  background: linear-gradient(135deg, #ffffff, #fff8e7);
}


/* v29 family and child photos */
#haruMobileApp .hm-logo,
#haruMobileApp .hm-child-thumb,
#haruMobileApp .hm-profile-photo,
#haruMobileApp .hm-family-photo,
#haruMobileApp .hm-pay-child-avatar {
  flex: 0 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f7d70, #4c9b82);
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
}

#haruMobileApp .hm-logo img,
#haruMobileApp .hm-child-thumb img,
#haruMobileApp .hm-profile-photo img,
#haruMobileApp .hm-family-photo img,
#haruMobileApp .hm-pay-child-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#haruMobileApp .hm-photo-logo {
  border-radius: 16px;
}

#haruMobileApp .hm-child-switch button {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
}

#haruMobileApp .hm-child-thumb {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  font-size: 18px;
}

#haruMobileApp .hm-child-copy {
  min-width: 0;
}

#haruMobileApp .hm-profile-head,
#haruMobileApp .hm-family-photo-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

#haruMobileApp .hm-profile-photo {
  width: 68px;
  height: 68px;
  border-radius: 24px;
  font-size: 24px;
  box-shadow: 0 14px 28px rgba(15, 125, 112, 0.16);
}

#haruMobileApp .hm-family-photo {
  width: 76px;
  height: 76px;
  border-radius: 26px;
  font-size: 25px;
  background: linear-gradient(135deg, #143f39, #0f7d70 58%, #d99a20);
  box-shadow: 0 16px 34px rgba(20, 63, 57, 0.18);
}

#haruMobileApp .hm-family-identity {
  border-color: rgba(15, 125, 112, 0.24);
  background: linear-gradient(135deg, #ffffff, #edf8f4);
}

#haruMobileApp .hm-family-identity h3 {
  margin: 9px 0 5px;
  font-size: 24px;
  line-height: 1.2;
  word-break: keep-all;
}

#haruMobileApp .hm-photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

#haruMobileApp .hm-photo-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--hm-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

#haruMobileApp .hm-photo-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#haruMobileApp .tone-blue {
  background: linear-gradient(135deg, #2d6cdf, #6fa4ff);
}

#haruMobileApp .tone-mint {
  background: linear-gradient(135deg, #0f7d70, #63b68f);
}

@media (max-width: 360px) {
  #haruMobileApp .hm-family-photo {
    width: 66px;
    height: 66px;
    border-radius: 22px;
  }

  #haruMobileApp .hm-profile-photo {
    width: 60px;
    height: 60px;
    border-radius: 21px;
  }
}


/* v30 launch readiness lock */
#haruMobileApp .hm-launch-gate {
  border-color: rgba(217, 154, 32, 0.28);
  background: linear-gradient(135deg, #ffffff, #fff8e7);
}

#haruMobileApp .hm-launch-gate h3 {
  margin: 10px 0 8px;
  font-size: 21px;
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-launch-gate p {
  word-break: keep-all;
}


/* v34 api sync status */
#haruMobileApp .hm-sync-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 125, 112, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 22px rgba(17, 32, 28, 0.05);
}

#haruMobileApp .hm-sync-strip span {
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eaf7f3;
  color: var(--hm-green);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#haruMobileApp .hm-sync-strip span.warn {
  background: #fff4df;
  color: #9b6412;
}

#haruMobileApp .hm-sync-strip b {
  min-width: 0;
  overflow: hidden;
  color: var(--hm-ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-sync-strip small {
  color: var(--hm-muted);
  font-size: 11px;
  white-space: nowrap;
}

#haruMobileApp .hm-sync-strip button {
  grid-column: 1 / -1;
  border: 1px solid rgba(15, 125, 112, 0.25);
  border-radius: 999px;
  min-height: 34px;
  background: #ffffff;
  color: var(--hm-deep);
  font-weight: 900;
}

@media (min-width: 520px) {
  #haruMobileApp .hm-sync-strip {
    grid-template-columns: auto 1fr auto auto;
  }

  #haruMobileApp .hm-sync-strip button {
    grid-column: auto;
    min-width: 76px;
  }
}


/* v40 benchmark absorption */
#haruMobileApp .hm-widget-card,
#haruMobileApp .hm-cost-card,
#haruMobileApp .hm-share-card,
#haruMobileApp .hm-trust-card {
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(135deg, #ffffff, #f2faf6);
}

#haruMobileApp .hm-widget-top,
#haruMobileApp .hm-share-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#haruMobileApp .hm-widget-top small {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

#haruMobileApp .hm-widget-card h3,
#haruMobileApp .hm-cost-card h3,
#haruMobileApp .hm-share-card h3,
#haruMobileApp .hm-trust-card h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-widget-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

#haruMobileApp .hm-widget-grid div,
#haruMobileApp .hm-share-schedule div,
#haruMobileApp .hm-trust-grid div {
  padding: 12px;
  border: 1px solid rgba(15, 125, 112, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

#haruMobileApp .hm-widget-grid span,
#haruMobileApp .hm-share-schedule small,
#haruMobileApp .hm-trust-grid span {
  display: block;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
  word-break: keep-all;
}

#haruMobileApp .hm-widget-grid strong,
#haruMobileApp .hm-share-schedule strong,
#haruMobileApp .hm-trust-grid strong {
  display: block;
  margin: 4px 0;
  color: var(--hm-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-cost-bars {
  display: grid;
  gap: 12px;
}

#haruMobileApp .hm-cost-bars div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
}

#haruMobileApp .hm-cost-bars span {
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 900;
}

#haruMobileApp .hm-cost-bars b {
  color: var(--hm-ink);
  font-size: 14px;
  font-weight: 900;
}

#haruMobileApp .hm-cost-bars i {
  grid-column: 1 / -1;
  display: block;
  height: 9px;
  min-width: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hm-green), var(--hm-gold));
}

#haruMobileApp .hm-cost-card p,
#haruMobileApp .hm-share-actions p {
  margin-top: 12px;
  word-break: keep-all;
}

#haruMobileApp .hm-share-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

#haruMobileApp .hm-share-card-head p {
  margin: 6px 0 0;
}

#haruMobileApp .hm-share-schedule,
#haruMobileApp .hm-trust-grid {
  display: grid;
  gap: 10px;
}

#haruMobileApp .hm-share-schedule span {
  display: block;
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 900;
  word-break: keep-all;
}

#haruMobileApp .hm-notice-row {
  align-items: center;
}

#haruMobileApp .hm-toggle {
  min-width: 64px;
  min-height: 38px;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: #eef2ef;
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 900;
}

#haruMobileApp .hm-toggle.on {
  border-color: rgba(15, 125, 112, 0.28);
  background: var(--hm-green);
  color: #ffffff;
}

#haruMobileApp .hm-support-note strong {
  display: block;
  margin-bottom: 6px;
  color: #78603a;
}

#haruMobileApp .hm-support-note p {
  margin: 0;
  color: #78603a;
  font-size: 13px;
}

@media (min-width: 520px) {
  #haruMobileApp .hm-widget-grid,
  #haruMobileApp .hm-share-schedule,
  #haruMobileApp .hm-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  #haruMobileApp .hm-widget-card h3,
  #haruMobileApp .hm-cost-card h3,
  #haruMobileApp .hm-share-card h3,
  #haruMobileApp .hm-trust-card h3 {
    font-size: 20px;
  }

  #haruMobileApp .hm-notice-row {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-toggle {
    width: 100%;
  }
}


#haruMobileApp .hm-subscription-card {
  border-color: rgba(212, 91, 56, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

#haruMobileApp .hm-subscription-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

#haruMobileApp .hm-subscription-head h3 {
  margin-top: 8px;
}

#haruMobileApp .hm-plan-cta {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--hm-coral);
  color: #ffffff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

#haruMobileApp .hm-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

#haruMobileApp .hm-value-grid div {
  min-height: 74px;
  border: 1px solid rgba(212, 91, 56, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 10px;
}

#haruMobileApp .hm-value-grid strong {
  display: block;
  color: var(--hm-deep);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
}

#haruMobileApp .hm-value-grid span {
  display: block;
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
  word-break: keep-all;
}

#haruMobileApp .hm-meter {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(27, 42, 39, 0.08);
}

#haruMobileApp .hm-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hm-green), var(--hm-coral));
}

#haruMobileApp .hm-reason-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

#haruMobileApp .hm-reason-list span {
  border-radius: 999px;
  background: rgba(15, 125, 112, 0.1);
  color: var(--hm-green);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

#haruMobileApp .hm-upgrade-copy {
  margin-top: 12px;
}

#haruMobileApp .hm-paid-moments {
  display: grid;
  gap: 10px;
}

#haruMobileApp .hm-plan-card.featured {
  border-color: rgba(15, 125, 112, 0.22);
}

#haruMobileApp .hm-plan-card.current {
  box-shadow: 0 0 0 2px rgba(15, 125, 112, 0.2);
}

#haruMobileApp .hm-plan-card .hm-plan-cta {
  width: 100%;
  margin-top: 14px;
  background: var(--hm-green);
}

@media (min-width: 520px) {
  #haruMobileApp .hm-paid-moments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  #haruMobileApp .hm-subscription-head,
  #haruMobileApp .hm-value-grid {
    grid-template-columns: 1fr;
  }
}


#haruMobileApp .hm-weekly-report {
  background: linear-gradient(135deg, #ffffff 0%, #eef7f4 100%);
}

#haruMobileApp .hm-report-grid {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

#haruMobileApp .hm-report-grid div {
  border: 1px solid rgba(15, 125, 112, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

#haruMobileApp .hm-report-grid strong {
  display: block;
  color: var(--hm-deep);
  font-size: 18px;
  font-weight: 950;
  word-break: keep-all;
}

#haruMobileApp .hm-report-grid span {
  display: block;
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 850;
}

#haruMobileApp .hm-reward-shop {
  background: linear-gradient(135deg, #ffffff 0%, #fff9e8 100%);
}

#haruMobileApp .hm-shop-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

#haruMobileApp .hm-shop-item {
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(216, 154, 43, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
  text-align: left;
}

#haruMobileApp .hm-shop-item strong,
#haruMobileApp .hm-shop-item span {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-shop-item strong {
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-shop-item span {
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
}

@media (min-width: 520px) {
  #haruMobileApp .hm-report-grid,
  #haruMobileApp .hm-shop-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


#haruMobileApp .hm-day-section {
  margin-top: 14px;
}

#haruMobileApp .hm-day-map {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
}

#haruMobileApp .hm-day-map h3 {
  margin-top: 10px;
  font-size: 22px;
}

#haruMobileApp .hm-day-board {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  min-height: 520px;
  margin-top: 16px;
  padding: 4px 0 8px;
}

#haruMobileApp .hm-day-map.compact .hm-day-board {
  min-height: 410px;
}

#haruMobileApp .hm-hour-rail {
  position: relative;
  border-right: 2px solid rgba(15, 125, 112, 0.18);
}

#haruMobileApp .hm-hour-rail span {
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

#haruMobileApp .hm-day-lane {
  display: grid;
  gap: 10px;
  align-content: start;
}

#haruMobileApp .hm-day-box {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(27, 42, 39, 0.06);
}

#haruMobileApp .hm-day-box.now {
  border-color: rgba(212, 91, 56, 0.55);
  background: #fff7ed;
  box-shadow: 0 14px 30px rgba(212, 91, 56, 0.16);
}

#haruMobileApp .hm-day-box time {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(15, 125, 112, 0.1);
  color: var(--hm-green);
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-day-box.now time {
  background: var(--hm-coral);
  color: #ffffff;
}

#haruMobileApp .hm-day-box strong,
#haruMobileApp .hm-day-box span,
#haruMobileApp .hm-day-box em {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-day-box strong {
  color: var(--hm-deep);
  font-size: 15px;
  font-weight: 950;
}

#haruMobileApp .hm-day-box span {
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

#haruMobileApp .hm-day-box em {
  align-self: start;
  border-radius: 999px;
  background: rgba(15, 125, 112, 0.1);
  color: var(--hm-green);
  padding: 6px 8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-day-box.warn em,
#haruMobileApp .hm-day-box.now em {
  background: rgba(212, 91, 56, 0.12);
  color: var(--hm-coral);
}

#haruMobileApp .hm-day-box.blue em {
  background: rgba(53, 99, 168, 0.12);
  color: #3563a8;
}


@media (max-width: 420px) {
  #haruMobileApp .hm-day-board {
    grid-template-columns: 42px 1fr;
    min-height: 500px;
  }

  #haruMobileApp .hm-day-box {
    grid-template-columns: 44px 1fr;
  }

  #haruMobileApp .hm-day-box em {
    grid-column: 2;
    justify-self: start;
  }
}


/* v42 mobile safe edge and top profile upload */
body.hm-mobile-installed {
  background: #f7f4ec;
}

body.hm-mobile-installed #haruMobileApp {
  width: 100%;
  overflow-x: hidden;
}

#haruMobileApp .hm-app-frame {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 10px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  overflow-x: hidden;
}

#haruMobileApp .hm-topbar,
#haruMobileApp .hm-sync-strip,
#haruMobileApp .hm-role-row,
#haruMobileApp .hm-child-switch,
#haruMobileApp .hm-screen {
  margin-left: 0;
  margin-right: 0;
}

#haruMobileApp .hm-topbar {
  top: 8px;
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(15, 125, 112, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(38, 52, 47, 0.08);
}

#haruMobileApp .hm-brand {
  flex: 1 1 auto;
  min-width: 0;
}

#haruMobileApp .hm-role {
  flex: 0 0 auto;
  max-width: 94px;
  padding-inline: 12px;
}

#haruMobileApp .hm-screen {
  padding-left: 0;
  padding-right: 0;
}

#haruMobileApp .hm-sync-strip,
#haruMobileApp .hm-card,
#haruMobileApp .hm-hero,
#haruMobileApp .hm-row,
#haruMobileApp .hm-child-switch button,
#haruMobileApp .hm-day-map,
#haruMobileApp .hm-day-box {
  max-width: 100%;
}

#haruMobileApp .hm-topbar-photo-button {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 17px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

#haruMobileApp .hm-topbar-photo-button .hm-logo {
  width: 46px;
  height: 46px;
  border-radius: 17px;
}

#haruMobileApp .hm-topbar-photo-button::after {
  content: "사진";
  position: absolute;
  right: -4px;
  bottom: -5px;
  min-width: 28px;
  min-height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 125, 112, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: var(--hm-green);
  font-size: 9px;
  font-weight: 950;
  box-shadow: 0 4px 10px rgba(38, 52, 47, 0.12);
}

#haruMobileApp .hm-topbar-photo-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#haruMobileApp .hm-day-board {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
}


@media (max-width: 380px) {
  #haruMobileApp .hm-app-frame {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  #haruMobileApp .hm-topbar {
    gap: 9px;
    padding: 12px;
  }

  #haruMobileApp .hm-topbar-photo-button,
  #haruMobileApp .hm-topbar-photo-button .hm-logo {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  #haruMobileApp .hm-role {
    max-width: 82px;
    min-height: 38px;
    font-size: 13px;
  }

  #haruMobileApp .hm-day-board {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}


/* v43 weekly vertical calendar */
#haruMobileApp .hm-week-rhythm {
  border-color: rgba(45, 108, 223, 0.2);
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
}

#haruMobileApp .hm-week-rhythm h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-week-rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

#haruMobileApp .hm-week-rhythm-grid div {
  padding: 12px 10px;
  border: 1px solid rgba(45, 108, 223, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

#haruMobileApp .hm-week-rhythm-grid strong {
  display: block;
  color: var(--hm-deep);
  font-size: 22px;
  font-weight: 950;
}

#haruMobileApp .hm-week-rhythm-grid span {
  display: block;
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 850;
  word-break: keep-all;
}

#haruMobileApp .hm-week-board {
  display: grid;
  gap: 10px;
}

#haruMobileApp .hm-week-day-card {
  width: 100%;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(27, 42, 39, 0.06);
  font-family: inherit;
  text-align: left;
}

#haruMobileApp .hm-week-day-card.active {
  border-color: rgba(212, 91, 56, 0.55);
  box-shadow: 0 12px 28px rgba(212, 91, 56, 0.12);
}

#haruMobileApp .hm-week-day-card.empty {
  background: #fbfaf6;
}

#haruMobileApp .hm-week-day-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

#haruMobileApp .hm-week-day-head strong {
  display: block;
  color: var(--hm-ink);
  font-size: 18px;
  font-weight: 950;
}

#haruMobileApp .hm-week-day-head span {
  display: block;
  margin-top: 2px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 850;
}

#haruMobileApp .hm-week-day-head em {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-week-day-head em.ok {
  background: #eaf7f3;
  color: var(--hm-green);
}

#haruMobileApp .hm-week-day-head em.warn {
  background: #fff0e9;
  color: var(--hm-coral);
}

#haruMobileApp .hm-week-day-head em.blue {
  background: #edf3ff;
  color: var(--hm-blue);
}

#haruMobileApp .hm-week-blocks {
  display: grid;
  gap: 8px;
}

#haruMobileApp .hm-week-block {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 16px;
  background: #f5faf7;
}

#haruMobileApp .hm-week-block time {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding-inline: 6px;
  border-radius: 14px;
  background: rgba(15, 125, 112, 0.1);
  color: var(--hm-green);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

#haruMobileApp .hm-week-block strong,
#haruMobileApp .hm-week-block span,
#haruMobileApp .hm-week-empty strong,
#haruMobileApp .hm-week-empty span {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-week-block strong {
  color: var(--hm-deep);
  font-size: 15px;
  font-weight: 950;
}

#haruMobileApp .hm-week-block span {
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
}

#haruMobileApp .hm-week-empty {
  padding: 12px;
  border: 1px dashed rgba(15, 125, 112, 0.22);
  border-radius: 16px;
  background: #ffffff;
}

#haruMobileApp .hm-week-empty strong {
  color: var(--hm-green);
  font-size: 15px;
  font-weight: 950;
}

#haruMobileApp .hm-week-empty span {
  margin-top: 5px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 380px) {
  #haruMobileApp .hm-week-rhythm-grid {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-week-block {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-week-block time {
    justify-self: start;
    padding-inline: 12px;
  }
}


/* v44 clearer timeline and CTA */
#haruMobileApp .hm-day-map {
  overflow: visible;
}

#haruMobileApp .hm-day-map > p {
  line-height: 1.55;
}

#haruMobileApp .hm-day-board {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding-left: 2px;
}

#haruMobileApp .hm-hour-rail {
  min-width: 48px;
}

#haruMobileApp .hm-hour-rail span {
  right: 9px;
  font-size: 12px;
}


#haruMobileApp .hm-day-lane {
  min-width: 0;
}

#haruMobileApp .hm-day-box {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  border-radius: 20px;
}

#haruMobileApp .hm-day-box strong {
  font-size: 15px;
  line-height: 1.35;
}

#haruMobileApp .hm-day-box span {
  line-height: 1.4;
}

#haruMobileApp .hm-day-box em {
  align-self: start;
  margin-top: 2px;
}

#haruMobileApp .hm-button,
#haruMobileApp .hm-wide-action,
#haruMobileApp .hm-primary,
#haruMobileApp .hm-secondary {
  word-break: keep-all;
}

@media (max-width: 420px) {
  #haruMobileApp .hm-day-board {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  #haruMobileApp .hm-day-box {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  #haruMobileApp .hm-day-board {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
  }
}


/* v45 commercial timeline flow */
#haruMobileApp .hm-day-map {
  overflow: visible;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
}

#haruMobileApp .hm-day-map h3 {
  margin-top: 12px;
  font-size: 23px;
  line-height: 1.28;
}

#haruMobileApp .hm-day-summary-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 125, 112, 0.14);
  border-radius: 16px;
  background: rgba(244, 251, 248, 0.92);
}

#haruMobileApp .hm-day-summary-line strong {
  color: var(--hm-green);
  font-size: 17px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-day-summary-line span {
  min-width: 0;
  color: var(--hm-deep);
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-density-badge {
  justify-self: end;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff0e9;
  color: var(--hm-coral);
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-density-badge.ok {
  background: #eaf7f3;
  color: var(--hm-green);
}

#haruMobileApp .hm-day-board {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 0 0 12px;
}

#haruMobileApp .hm-hour-rail {
  position: relative;
  border-right: 2px solid rgba(15, 125, 112, 0.2);
  min-width: 0;
}

#haruMobileApp .hm-hour-rail span {
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
  color: #4f635d;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-day-lane {
  position: relative;
  min-width: 0;
}

#haruMobileApp .hm-day-box {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(27, 42, 39, 0.07);
  text-align: left;
}

#haruMobileApp .hm-day-box.now {
  border-color: rgba(212, 91, 56, 0.72);
  background: #fff8f2;
  box-shadow: 0 14px 30px rgba(212, 91, 56, 0.18);
}

#haruMobileApp .hm-day-box time {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e4f4ef;
  color: #006b5f;
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-day-box.now time {
  background: #d95f36;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24);
}

#haruMobileApp .hm-day-box strong {
  color: var(--hm-deep);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.32;
}

#haruMobileApp .hm-day-box span {
  margin-top: 4px;
  color: #596b66;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.4;
}

#haruMobileApp .hm-day-box em {
  align-self: start;
  margin-top: 2px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #eaf7f3;
  color: var(--hm-green);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-day-box.warn em,
#haruMobileApp .hm-day-box.now em {
  background: #fff0e9;
  color: var(--hm-coral);
}

#haruMobileApp .hm-day-box.blue em {
  background: #edf3ff;
  color: #3563a8;
}







#haruMobileApp .hm-timeline-detail h3 {
  margin: 10px 0 8px;
  color: var(--hm-deep);
  font-size: 24px;
  line-height: 1.25;
}

/* v46 dashboard first home */
#haruMobileApp .hm-dashboard-section {
  margin-top: 12px;
}

#haruMobileApp .hm-dashboard-hero {
  padding: 18px;
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(145deg, #ffffff 0%, #f0faf6 58%, #fff8ef 100%);
}

#haruMobileApp .hm-dashboard-hero.child {
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 62%, #f4fbf8 100%);
}

#haruMobileApp .hm-dashboard-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

#haruMobileApp .hm-dashboard-hero h2 {
  margin: 10px 0 6px;
  color: var(--hm-deep);
  font-size: 25px;
  line-height: 1.22;
  font-weight: 950;
  word-break: keep-all;
}

#haruMobileApp .hm-dashboard-hero p {
  margin: 0;
  color: #526660;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.5;
  word-break: keep-all;
}

#haruMobileApp .hm-dashboard-now {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 16px 0 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 125, 112, 0.12);
}

#haruMobileApp .hm-dashboard-now strong {
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 44px;
  padding-inline: 8px;
  border-radius: 15px;
  background: #e4f4ef;
  color: #006b5f;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-dashboard-now span {
  min-width: 0;
  color: var(--hm-deep);
  font-size: 15px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#haruMobileApp .hm-dashboard-tile {
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(27, 42, 39, 0.06);
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-dashboard-tile span,
#haruMobileApp .hm-dashboard-tile small {
  display: block;
  color: #60716c;
  font-weight: 850;
  word-break: keep-all;
}

#haruMobileApp .hm-dashboard-tile span {
  font-size: 12px;
}

#haruMobileApp .hm-dashboard-tile strong {
  display: block;
  margin: 8px 0 7px;
  color: var(--hm-deep);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.05;
}

#haruMobileApp .hm-dashboard-tile small {
  font-size: 11px;
  line-height: 1.35;
}

#haruMobileApp .hm-dashboard-tile.warn strong,
#haruMobileApp .hm-dashboard-tile.pay strong {
  color: var(--hm-coral);
}

#haruMobileApp .hm-dashboard-tile.ok strong,
#haruMobileApp .hm-dashboard-tile.info strong,
#haruMobileApp .hm-dashboard-tile.blue strong {
  color: var(--hm-green);
}

#haruMobileApp .hm-dashboard-flow {
  padding: 15px;
}

#haruMobileApp .hm-dashboard-flow-list {
  display: grid;
  gap: 9px;
  margin: 12px 0;
}

#haruMobileApp .hm-dashboard-flow-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 10px;
  border: 1px solid rgba(15, 125, 112, 0.1);
  border-radius: 17px;
  background: #ffffff;
  font-family: inherit;
  text-align: left;
}

#haruMobileApp .hm-dashboard-flow-row.now {
  border-color: rgba(212, 91, 56, 0.5);
  background: #fff8f2;
}

#haruMobileApp .hm-dashboard-flow-row time {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 14px;
  background: #e4f4ef;
  color: #006b5f;
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-dashboard-flow-row.now time {
  background: #d95f36;
  color: #ffffff;
}

#haruMobileApp .hm-dashboard-flow-row strong,
#haruMobileApp .hm-dashboard-flow-row span,
#haruMobileApp .hm-dashboard-flow-row em {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-dashboard-flow-row strong {
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-dashboard-flow-row span {
  margin-top: 3px;
  color: #60716c;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.35;
}

#haruMobileApp .hm-dashboard-flow-row em {
  align-self: start;
  padding: 5px 7px;
  border-radius: 999px;
  background: #edf3ff;
  color: #3563a8;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

#haruMobileApp .hm-dashboard-actions button {
  min-height: 48px;
  border: 1px solid rgba(15, 125, 112, 0.16);
  border-radius: 16px;
  background: #ffffff;
  color: var(--hm-deep);
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  word-break: keep-all;
  box-shadow: 0 8px 18px rgba(27, 42, 39, 0.05);
}

#haruMobileApp .hm-dashboard-plan {
  width: 100%;
  padding: 15px;
  border-radius: 20px;
  border-color: rgba(212, 91, 56, 0.22);
  background: linear-gradient(135deg, #fff8ef, #ffffff);
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-dashboard-plan span,
#haruMobileApp .hm-dashboard-plan small {
  display: block;
  color: #60716c;
  font-size: 12px;
  font-weight: 850;
}

#haruMobileApp .hm-dashboard-plan strong {
  display: block;
  margin: 5px 0;
  color: var(--hm-coral);
  font-size: 19px;
  font-weight: 950;
}

#haruMobileApp .hm-dashboard-task h3 {
  margin: 10px 0 6px;
  color: var(--hm-deep);
  font-size: 23px;
}

@media (max-width: 390px) {
  #haruMobileApp .hm-dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #haruMobileApp .hm-dashboard-flow-row {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  #haruMobileApp .hm-dashboard-flow-row em {
    grid-column: 2;
    justify-self: start;
  }
}


/* v47 command center home */
#haruMobileApp .hm-command-section {
  margin-top: 12px;
}

#haruMobileApp .hm-command-center {
  padding: 18px;
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(145deg, #ffffff 0%, #f1faf7 55%, #fff7ee 100%);
  box-shadow: 0 18px 36px rgba(27, 42, 39, 0.1);
}

#haruMobileApp .hm-command-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

#haruMobileApp .hm-command-head h2 {
  margin: 9px 0 5px;
  color: var(--hm-deep);
  font-size: 25px;
  line-height: 1.18;
  font-weight: 950;
  word-break: keep-all;
}

#haruMobileApp .hm-command-head p {
  margin: 0;
  color: #526660;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

#haruMobileApp .hm-command-focus {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(212, 91, 56, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

#haruMobileApp .hm-command-focus > span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 17px;
  background: #d95f36;
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

#haruMobileApp .hm-command-focus strong,
#haruMobileApp .hm-command-focus small {
  display: block;
  min-width: 0;
  word-break: keep-all;
}

#haruMobileApp .hm-command-focus strong {
  color: var(--hm-deep);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.3;
}

#haruMobileApp .hm-command-focus small {
  margin-top: 4px;
  color: #60716c;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.35;
}

#haruMobileApp .hm-command-focus em {
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff0e9;
  color: var(--hm-coral);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-command-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

#haruMobileApp .hm-command-metric {
  min-height: 70px;
  padding: 11px 8px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  text-align: left;
}

#haruMobileApp .hm-command-metric span,
#haruMobileApp .hm-command-metric strong {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-command-metric span {
  color: #60716c;
  font-size: 11px;
  font-weight: 900;
}

#haruMobileApp .hm-command-metric strong {
  margin-top: 6px;
  color: var(--hm-green);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

#haruMobileApp .hm-command-metric.warn strong {
  color: var(--hm-coral);
}







#haruMobileApp .hm-command-list {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

#haruMobileApp .hm-command-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(15, 125, 112, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  text-align: left;
}

#haruMobileApp .hm-command-row.now {
  border-color: rgba(212, 91, 56, 0.46);
  background: #fff8f2;
}

#haruMobileApp .hm-command-row time {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 14px;
  background: #e4f4ef;
  color: #006b5f;
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-command-row.now time {
  background: #d95f36;
  color: #ffffff;
}

#haruMobileApp .hm-command-row strong,
#haruMobileApp .hm-command-row span,
#haruMobileApp .hm-command-row em {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-command-row strong {
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-command-row span {
  margin-top: 3px;
  color: #60716c;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.35;
}

#haruMobileApp .hm-command-row em {
  align-self: start;
  padding: 5px 7px;
  border-radius: 999px;
  background: #edf3ff;
  color: #3563a8;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-command-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

#haruMobileApp .hm-command-actions button {
  min-height: 44px;
  border: 1px solid rgba(15, 125, 112, 0.16);
  border-radius: 15px;
  background: #ffffff;
  color: var(--hm-deep);
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  word-break: keep-all;
}









@media (max-width: 390px) {
  #haruMobileApp .hm-command-focus,
  #haruMobileApp .hm-command-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  #haruMobileApp .hm-command-focus em,
  #haruMobileApp .hm-command-row em {
    grid-column: 2;
    justify-self: start;
  }
}


/* v48 full hour guide timeline */
#haruMobileApp .hm-day-summary-line {
  grid-template-columns: auto minmax(0, 1fr);
}

#haruMobileApp .hm-day-board {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  overflow: visible;
}

#haruMobileApp .hm-hour-grid {
  position: absolute;
  inset: 0 0 0 58px;
  z-index: 0;
  pointer-events: none;
}

#haruMobileApp .hm-hour-grid i {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  height: 1px;
  background: rgba(15, 125, 112, 0.11);
}

#haruMobileApp .hm-hour-rail {
  z-index: 1;
  border-right: 2px solid rgba(15, 125, 112, 0.22);
}

#haruMobileApp .hm-hour-rail span {
  right: 8px;
  color: #405852;
  font-size: 11px;
  font-weight: 950;
}

#haruMobileApp .hm-day-lane {
  z-index: 2;
}



#haruMobileApp .hm-day-box {
  box-shadow: 0 10px 24px rgba(27, 42, 39, 0.08);
}

#haruMobileApp .hm-day-box.now {
  box-shadow: 0 14px 30px rgba(212, 91, 56, 0.17);
}

@media (max-width: 390px) {
  #haruMobileApp .hm-day-board {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  #haruMobileApp .hm-hour-grid {
    left: 52px;
  }

  #haruMobileApp .hm-hour-rail span {
    right: 7px;
    font-size: 10px;
  }
}


/* v49 compact command center */
#haruMobileApp .hm-command-center {
  padding: 14px;
  border-radius: 20px;
}

#haruMobileApp .hm-command-head.compact {
  align-items: center;
}

#haruMobileApp .hm-command-head.compact h2 {
  margin: 7px 0 3px;
  font-size: 23px;
  line-height: 1.12;
}

#haruMobileApp .hm-command-head.compact p {
  font-size: 11px;
  color: #64746f;
}

#haruMobileApp .hm-command-head.compact .hm-child-thumb {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  flex: 0 0 48px;
}

#haruMobileApp .hm-command-focus.compact {
  grid-template-columns: 58px minmax(0, 1fr);
  margin-top: 12px;
  padding: 11px;
  border-radius: 18px;
}

#haruMobileApp .hm-command-focus.compact > span {
  min-height: 44px;
  border-radius: 14px;
  font-size: 13px;
}

#haruMobileApp .hm-command-focus.compact strong {
  font-size: 16px;
}

#haruMobileApp .hm-command-focus.compact small {
  font-size: 11px;
}

#haruMobileApp .hm-command-metrics.compact {
  gap: 6px;
  margin-top: 9px;
}

#haruMobileApp .hm-command-metrics.compact .hm-command-metric {
  min-height: 52px;
  padding: 9px 8px;
  border-radius: 14px;
}

#haruMobileApp .hm-command-metrics.compact .hm-command-metric span {
  font-size: 10px;
}

#haruMobileApp .hm-command-metrics.compact .hm-command-metric strong {
  margin-top: 4px;
  font-size: 18px;
}

#haruMobileApp .hm-command-next {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

#haruMobileApp .hm-command-next > span {
  color: #60716c;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

#haruMobileApp .hm-command-next .hm-command-row {
  min-height: 56px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 8px;
  border-radius: 15px;
}

#haruMobileApp .hm-command-next .hm-command-row time {
  min-height: 38px;
  border-radius: 12px;
  font-size: 11px;
}

#haruMobileApp .hm-command-next .hm-command-row strong {
  font-size: 13px;
}

#haruMobileApp .hm-command-next .hm-command-row span {
  font-size: 10px;
}

#haruMobileApp .hm-command-next .hm-command-row em {
  padding: 4px 6px;
  font-size: 9px;
}

#haruMobileApp .hm-command-actions.compact {
  gap: 6px;
  margin-top: 10px;
}

#haruMobileApp .hm-command-actions.compact button {
  min-height: 36px;
  border-radius: 13px;
  font-size: 11px;
}

@media (max-width: 390px) {
  #haruMobileApp .hm-command-next {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-command-next > span {
    justify-self: start;
    text-align: left;
  }

  #haruMobileApp .hm-command-next .hm-command-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  #haruMobileApp .hm-command-next .hm-command-row em {
    grid-column: 2;
    justify-self: start;
  }
}


/* v50 parent-child focus refinement */
#haruMobileApp .hm-app-frame {
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
}

#haruMobileApp .hm-topbar {
  margin-top: 10px;
  margin-bottom: 10px;
}

#haruMobileApp .hm-sync-strip,
#haruMobileApp .hm-role-row,
#haruMobileApp .hm-child-switch,
#haruMobileApp .hm-screen {
  width: 100%;
}

#haruMobileApp .hm-section {
  margin-top: 14px;
}

#haruMobileApp .hm-section-head {
  margin: 14px 2px 8px;
}

#haruMobileApp .hm-section-head h2 {
  font-size: 19px;
  line-height: 1.25;
}

#haruMobileApp .hm-section-head p {
  max-width: 31em;
  line-height: 1.45;
}

#haruMobileApp .hm-command-center,
#haruMobileApp .hm-kid-home {
  border-radius: 24px;
}

#haruMobileApp .hm-command-actions.compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
}

#haruMobileApp .hm-command-actions.compact button {
  min-width: 0;
  min-height: 42px;
  padding: 0 6px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--hm-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-kid-home {
  padding: 18px;
  border-color: rgba(45, 108, 223, 0.18);
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 54%, #eff9f4 100%);
  box-shadow: 0 16px 34px rgba(38, 52, 47, 0.1);
}

#haruMobileApp .hm-kid-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

#haruMobileApp .hm-kid-head h2 {
  margin: 9px 0 5px;
  color: var(--hm-deep);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 950;
  word-break: keep-all;
}

#haruMobileApp .hm-kid-head p {
  margin: 0;
  color: #526660;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
  word-break: keep-all;
}

#haruMobileApp .hm-kid-focus {
  width: 100%;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(15, 125, 112, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px;
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-kid-focus strong {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 16px;
  background: #e4f4ef;
  color: var(--hm-green);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-kid-focus span {
  color: var(--hm-deep);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
}

#haruMobileApp .hm-kid-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

#haruMobileApp .hm-kid-actions .hm-secondary {
  min-width: 82px;
  background: #ffffff;
  color: var(--hm-green);
  border: 1px solid rgba(15, 125, 112, 0.18);
}

#haruMobileApp .hm-kid-steps {
  display: grid;
  gap: 9px;
}

#haruMobileApp .hm-kid-step {
  min-height: 56px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--hm-line);
  border-radius: 17px;
  background: #ffffff;
  padding: 10px;
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-kid-step time {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 13px;
  background: #edf5f2;
  color: var(--hm-green);
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-kid-step strong {
  min-width: 0;
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 950;
  word-break: keep-all;
}

#haruMobileApp .hm-kid-step span {
  color: #3563a8;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-family-share-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(135deg, #ffffff, #f4faf7);
}

#haruMobileApp .hm-family-share-brief h3,
#haruMobileApp .hm-pay-brief h3,
#haruMobileApp .hm-pay-item h3 {
  margin: 8px 0 4px;
  color: var(--hm-deep);
  line-height: 1.25;
  word-break: keep-all;
}

#haruMobileApp .hm-family-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#haruMobileApp .hm-family-member {
  min-height: 92px;
  padding: 13px;
}

#haruMobileApp .hm-family-member strong,
#haruMobileApp .hm-family-member span,
#haruMobileApp .hm-family-member small {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-family-member strong {
  color: var(--hm-deep);
  font-size: 16px;
  font-weight: 950;
}

#haruMobileApp .hm-family-member span {
  margin-top: 5px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 850;
}

#haruMobileApp .hm-family-member small {
  margin-top: 8px;
  color: var(--hm-green);
  font-size: 11px;
  font-weight: 950;
}

#haruMobileApp .hm-pay-brief {
  border-color: rgba(217, 154, 32, 0.24);
  background: linear-gradient(135deg, #ffffff, #fff8e7);
}

#haruMobileApp .hm-pay-brief small {
  display: block;
  margin-top: 10px;
  color: #78603a;
  font-size: 12px;
  font-weight: 900;
  word-break: keep-all;
}

#haruMobileApp .hm-pay-item {
  display: grid;
  gap: 12px;
}

#haruMobileApp .hm-pay-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

#haruMobileApp .hm-pay-item[data-tone] {
  border-left: 4px solid transparent;
}

#haruMobileApp .hm-pay-item[data-tone="mint"] {
  border-left-color: #0f7d70;
}

#haruMobileApp .hm-pay-item[data-tone="blue"] {
  border-left-color: #2d6cdf;
}

#haruMobileApp .hm-pay-child-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

#haruMobileApp .hm-pay-child-tag .hm-pay-child-avatar {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

#haruMobileApp .hm-pay-child-tag b {
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 850;
}

#haruMobileApp .hm-pay-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#haruMobileApp .hm-pay-methods .hm-button {
  width: 100%;
  padding: 0 6px;
}

#haruMobileApp .hm-family-note {
  border-color: rgba(15, 125, 112, 0.16);
  background: linear-gradient(135deg, #ffffff, #f4faf7);
}

#haruMobileApp .hm-day-map h3 {
  font-size: 22px;
  line-height: 1.24;
}

@media (max-width: 380px) {
  #haruMobileApp .hm-app-frame {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  #haruMobileApp .hm-command-actions.compact,
  #haruMobileApp .hm-pay-methods,
  #haruMobileApp .hm-family-members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #haruMobileApp .hm-kid-step {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  #haruMobileApp .hm-kid-step span {
    grid-column: 2;
    justify-self: start;
  }
}


/* v51 role-aware bottom nav */
#haruMobileApp .hm-nav.hm-nav-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#haruMobileApp .hm-nav.hm-nav-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}


/* v52 repair mobile home visual system */
#haruMobileApp {
  --hm-card-shadow: 0 14px 34px rgba(38, 52, 47, 0.08);
}

#haruMobileApp .hm-app-frame {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(247,244,236,0.96) 240px),
    var(--hm-bg);
}

#haruMobileApp .hm-screen {
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

#haruMobileApp .hm-topbar {
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(15, 125, 112, 0.11);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hm-card-shadow);
}

#haruMobileApp .hm-topbar-photo-button::after {
  content: "";
  width: 13px;
  min-width: 13px;
  height: 13px;
  min-height: 13px;
  right: -1px;
  bottom: -1px;
  border: 2px solid #ffffff;
  background: var(--hm-green);
  box-shadow: none;
}

#haruMobileApp .hm-brand strong {
  color: var(--hm-deep);
  font-size: 19px;
  font-weight: 950;
}

#haruMobileApp .hm-brand span {
  max-width: 210px;
  color: #63736e;
  font-size: 12px;
  font-weight: 800;
}

#haruMobileApp .hm-clock {
  color: var(--hm-green);
  font-size: 11px;
  font-weight: 950;
}

#haruMobileApp .hm-role {
  min-height: 38px;
  padding: 0 13px;
  border-color: rgba(15, 125, 112, 0.18);
  color: var(--hm-green);
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-sync-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  margin: 8px 0 10px;
  padding: 9px 10px;
  border-radius: 18px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(38, 52, 47, 0.05);
}

#haruMobileApp .hm-sync-strip b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--hm-deep);
  font-size: 12px;
  font-weight: 900;
}

#haruMobileApp .hm-sync-strip small {
  display: none;
}

#haruMobileApp .hm-sync-strip button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 125, 112, 0.18);
  background: #ffffff;
  color: var(--hm-green);
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-role-row {
  gap: 8px;
  margin-bottom: 8px;
}

#haruMobileApp .hm-chip {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(38, 52, 47, 0.06);
}

#haruMobileApp .hm-child-switch {
  margin-bottom: 12px;
}

#haruMobileApp .hm-child-switch button {
  min-height: 70px;
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--hm-card-shadow);
}

#haruMobileApp .hm-home-section {
  margin-top: 14px;
}

#haruMobileApp .hm-home-card {
  padding: 18px;
  border-radius: 26px;
  border-color: rgba(15, 125, 112, 0.16);
  background: linear-gradient(145deg, #ffffff 0%, #f5fbf8 58%, #fff9ef 100%);
  box-shadow: 0 18px 42px rgba(38, 52, 47, 0.1);
}

#haruMobileApp .hm-home-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

#haruMobileApp .hm-home-head h2 {
  margin: 9px 0 4px;
  color: var(--hm-deep);
  font-size: 27px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
  word-break: keep-all;
}

#haruMobileApp .hm-home-head p {
  margin: 0;
  color: #667771;
  font-size: 12px;
  font-weight: 850;
}

#haruMobileApp .hm-home-card .hm-child-thumb {
  width: 54px;
  height: 54px;
  border-radius: 19px;
  flex: 0 0 54px;
}

#haruMobileApp .hm-home-focus {
  width: 100%;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(15, 125, 112, 0.13);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(38, 52, 47, 0.06);
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-home-focus time {
  min-height: 50px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #e4f4ef;
  color: var(--hm-green);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-home-focus strong,
#haruMobileApp .hm-home-focus span {
  display: block;
  min-width: 0;
  word-break: keep-all;
}

#haruMobileApp .hm-home-focus strong {
  color: var(--hm-deep);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}

#haruMobileApp .hm-home-focus span {
  margin-top: 4px;
  color: #63736e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

#haruMobileApp .hm-home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

#haruMobileApp .hm-home-stats button {
  min-height: 66px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--hm-deep);
  font-family: inherit;
  text-align: left;
  padding: 10px;
}

#haruMobileApp .hm-home-stats strong,
#haruMobileApp .hm-home-stats span {
  display: block;
}

#haruMobileApp .hm-home-stats strong {
  color: var(--hm-green);
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
}

#haruMobileApp .hm-home-stats span {
  margin-top: 7px;
  color: #667771;
  font-size: 11px;
  font-weight: 900;
}

#haruMobileApp .hm-home-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 13px;
}

#haruMobileApp .hm-home-actions .hm-primary,
#haruMobileApp .hm-home-actions .hm-secondary {
  width: 100%;
  min-height: 48px;
  border-radius: 17px;
  font-size: 14px;
}

#haruMobileApp .hm-secondary.light {
  background: #ffffff;
  color: var(--hm-green);
  border: 1px solid rgba(15, 125, 112, 0.18);
}

#haruMobileApp .hm-home-mission {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(212, 101, 67, 0.18);
  border-radius: 19px;
  background: #fff7f1;
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-home-mission span,
#haruMobileApp .hm-home-mission strong,
#haruMobileApp .hm-home-mission em {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-home-mission span {
  color: var(--hm-coral);
  font-size: 11px;
  font-weight: 950;
}

#haruMobileApp .hm-home-mission strong {
  margin-top: 3px;
  color: var(--hm-deep);
  font-size: 15px;
  font-weight: 950;
}

#haruMobileApp .hm-home-mission em {
  border-radius: 999px;
  background: #ffffff;
  color: var(--hm-coral);
  padding: 6px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

#haruMobileApp .hm-home-next {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

#haruMobileApp .hm-home-next > span {
  color: #667771;
  font-size: 11px;
  font-weight: 950;
}

#haruMobileApp .hm-home-next button {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 0;
  border-radius: 15px;
  background: #f4f7f5;
  padding: 9px 10px;
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-home-next time {
  color: var(--hm-green);
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-home-next strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--hm-deep);
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-nav {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(38, 52, 47, 0.18);
}

@media (max-width: 380px) {
  #haruMobileApp .hm-home-card {
    padding: 16px;
    border-radius: 24px;
  }

  #haruMobileApp .hm-home-head h2 {
    font-size: 25px;
  }

  #haruMobileApp .hm-home-focus {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  #haruMobileApp .hm-home-next {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-home-next > span {
    display: none;
  }
}


/* v53 menu cleanup */
#haruMobileApp .hm-nav button {
  display: grid;
  place-items: center;
  min-height: 50px;
  border-radius: 17px;
  font-size: 13px;
  line-height: 1;
}

#haruMobileApp .hm-nav button span {
  display: none;
}

#haruMobileApp .hm-nav button.active {
  background: #e6f3ef;
  color: var(--hm-green);
}

#haruMobileApp .hm-nav.hm-nav-4,
#haruMobileApp .hm-nav.hm-nav-5 {
  gap: 6px;
}

#haruMobileApp .hm-tile-grid {
  grid-template-columns: 1fr;
}

#haruMobileApp .hm-tile {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  border-radius: 18px;
}

#haruMobileApp .hm-tile::after {
  content: "보기";
  color: var(--hm-green);
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-tile strong,
#haruMobileApp .hm-tile span {
  min-width: 0;
}

#haruMobileApp .hm-tile strong {
  margin-bottom: 3px;
}

#haruMobileApp .hm-tile span {
  grid-column: 1;
  line-height: 1.35;
}


/* v55 weekly timeline board */
#haruMobileApp .hm-week-timeline-card {
  padding: 16px;
  border-color: rgba(15, 125, 112, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
}

#haruMobileApp .hm-week-timeline-card h3 {
  margin: 10px 0 5px;
  color: var(--hm-deep);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 950;
  word-break: keep-all;
}

#haruMobileApp .hm-week-timeline-card p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  word-break: keep-all;
}

#haruMobileApp .hm-week-board.timeline {
  display: grid;
  gap: 12px;
}

#haruMobileApp .hm-week-day-card.timeline {
  min-height: 274px;
  padding: 13px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

#haruMobileApp .hm-week-day-card.timeline.active {
  border-color: rgba(15, 125, 112, 0.46);
  background: #f2faf7;
  box-shadow: 0 14px 30px rgba(15, 125, 112, 0.11);
}

#haruMobileApp .hm-week-day-card.timeline .hm-week-day-head {
  margin-bottom: 12px;
}

#haruMobileApp .hm-week-day-card.timeline .hm-week-day-head strong {
  color: var(--hm-deep);
  font-size: 20px;
}

#haruMobileApp .hm-week-mini-board {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  min-height: 190px;
  padding: 2px 0 4px;
}

#haruMobileApp .hm-week-mini-rail {
  position: relative;
  border-right: 2px solid rgba(15, 125, 112, 0.2);
}

#haruMobileApp .hm-week-mini-rail span {
  position: absolute;
  right: 8px;
  transform: translateY(-50%);
  color: #526660;
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-week-mini-grid {
  position: absolute;
  top: 2px;
  right: 0;
  bottom: 4px;
  left: 52px;
  pointer-events: none;
}

#haruMobileApp .hm-week-mini-grid i {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  height: 1px;
  background: rgba(15, 125, 112, 0.1);
}

#haruMobileApp .hm-week-blocks.timeline {
  position: relative;
  min-height: 190px;
  z-index: 1;
}

#haruMobileApp .hm-week-block.timeline {
  position: absolute;
  left: 0;
  right: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px;
  border-radius: 17px;
  border: 1px solid rgba(15, 125, 112, 0.14);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 22px rgba(38, 52, 47, 0.08);
}

#haruMobileApp .hm-week-block.timeline time {
  min-height: 40px;
  border-radius: 14px;
  font-size: 12px;
}

#haruMobileApp .hm-week-block.timeline strong {
  font-size: 14px;
  line-height: 1.22;
}

#haruMobileApp .hm-week-block.timeline span {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.3;
}

#haruMobileApp .hm-week-empty.mini {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  min-height: 76px;
  display: grid;
  align-content: center;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.78);
}

#haruMobileApp .hm-week-empty.mini strong {
  font-size: 14px;
}

@media (max-width: 380px) {
  #haruMobileApp .hm-week-timeline-card {
    padding: 14px;
  }

  #haruMobileApp .hm-week-mini-board {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
  }

  #haruMobileApp .hm-week-mini-grid {
    left: 46px;
  }

  #haruMobileApp .hm-week-block.timeline {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}


/* v56 weekly planner and schedule composer */
#haruMobileApp .hm-calendar-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
}

#haruMobileApp .hm-calendar-actions button {
  min-height: 44px;
  border: 1px solid rgba(15, 125, 112, 0.16);
  border-radius: 16px;
  background: #ffffff;
  color: var(--hm-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-calendar-actions button:first-child {
  background: var(--hm-green);
  color: #ffffff;
  border-color: var(--hm-green);
}

#haruMobileApp .hm-schedule-form {
  display: grid;
  gap: 12px;
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(145deg, #ffffff 0%, #f4fbf8 100%);
}

#haruMobileApp .hm-schedule-form label {
  display: grid;
  gap: 6px;
  color: var(--hm-deep);
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-schedule-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--hm-line);
  border-radius: 15px;
  background: #ffffff;
  padding: 0 12px;
  color: var(--hm-ink);
  font: inherit;
  font-weight: 850;
}

#haruMobileApp .hm-form-grid,
#haruMobileApp .hm-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#haruMobileApp .hm-repeat-tabs,
#haruMobileApp .hm-weekday-picks {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

#haruMobileApp .hm-repeat-tabs::-webkit-scrollbar,
#haruMobileApp .hm-weekday-picks::-webkit-scrollbar {
  display: none;
}

#haruMobileApp .hm-repeat-tabs button,
#haruMobileApp .hm-weekday-picks button {
  min-height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--hm-muted);
  padding: 0 13px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-repeat-tabs button.active,
#haruMobileApp .hm-weekday-picks button.active {
  border-color: var(--hm-green);
  background: #e6f3ef;
  color: var(--hm-green);
}

#haruMobileApp .hm-week-planner {
  padding: 16px;
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
}

#haruMobileApp .hm-week-planner h3 {
  margin: 10px 0 5px;
  color: var(--hm-deep);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 950;
  word-break: keep-all;
}

#haruMobileApp .hm-week-planner p {
  margin: 0 0 14px;
  color: var(--hm-muted);
  font-size: 13px;
  line-height: 1.45;
  word-break: keep-all;
}

#haruMobileApp .hm-week-planner-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  margin-inline: -2px;
  scrollbar-width: thin;
}

#haruMobileApp .hm-week-planner-grid {
  position: relative;
  display: grid;
  grid-template-columns: 42px repeat(7, 132px);
  gap: 8px;
  min-width: 1010px;
  min-height: 610px;
  padding: 6px 2px 8px;
}

#haruMobileApp .hm-week-time-rail {
  position: sticky;
  left: 0;
  z-index: 3;
  border-right: 2px solid rgba(15, 125, 112, 0.22);
  background: linear-gradient(90deg, #f5fbf8 80%, rgba(245, 251, 248, 0));
}

#haruMobileApp .hm-week-time-rail span {
  position: absolute;
  right: 8px;
  transform: translateY(-50%);
  color: #405852;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-week-grid-lines {
  position: absolute;
  top: 72px;
  right: 2px;
  bottom: 8px;
  left: 52px;
  pointer-events: none;
}

#haruMobileApp .hm-week-grid-lines i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(15, 125, 112, 0.1);
}

#haruMobileApp .hm-week-column {
  position: relative;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  min-height: 600px;
  border: 1px solid rgba(15, 125, 112, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

#haruMobileApp .hm-week-column.active {
  border-color: rgba(15, 125, 112, 0.48);
  background: #eef8f4;
}

#haruMobileApp .hm-week-column.drop-ready {
  border-color: var(--hm-coral);
  background: #fff7f1;
  box-shadow: inset 0 0 0 2px rgba(215, 101, 67, 0.18);
}

#haruMobileApp .hm-week-column-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 6px;
  align-items: center;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid rgba(15, 125, 112, 0.1);
  background: rgba(255, 255, 255, 0.72);
  padding: 9px;
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-week-column-head strong,
#haruMobileApp .hm-week-column-head span {
  display: block;
  min-width: 0;
}

#haruMobileApp .hm-week-column-head strong {
  color: var(--hm-deep);
  font-size: 17px;
  font-weight: 950;
}

#haruMobileApp .hm-week-column-head span {
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 850;
}

#haruMobileApp .hm-week-column-head em {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  padding: 5px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-week-column-body {
  position: relative;
  min-height: 530px;
}

#haruMobileApp .hm-week-block.planner {
  position: absolute;
  left: 8px;
  right: 8px;
  min-height: 88px;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(15, 125, 112, 0.16);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(38, 52, 47, 0.1);
  cursor: grab;
  user-select: none;
}

#haruMobileApp .hm-week-block.planner.dragging {
  opacity: 0.55;
  cursor: grabbing;
}

#haruMobileApp .hm-week-block.planner time {
  width: max-content;
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #e4f4ef;
  color: var(--hm-green);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-week-block.planner strong,
#haruMobileApp .hm-week-block.planner span {
  display: block;
  min-width: 0;
  word-break: keep-all;
}

#haruMobileApp .hm-week-block.planner strong {
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

#haruMobileApp .hm-week-block.planner span {
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

#haruMobileApp .hm-week-empty.column {
  position: absolute;
  top: 220px;
  left: 8px;
  right: 8px;
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 80px;
  border: 1px dashed rgba(15, 125, 112, 0.22);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

#haruMobileApp .hm-week-empty.column strong,
#haruMobileApp .hm-week-empty.column span {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-week-empty.column strong {
  color: var(--hm-green);
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-week-empty.column span {
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 850;
}

@media (max-width: 380px) {
  #haruMobileApp .hm-calendar-actions {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-week-planner-grid {
    grid-template-columns: 40px repeat(7, 124px);
    min-width: 952px;
  }
}


/* v57 schedule board refinement */
#haruMobileApp .hm-move-hint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(215, 101, 67, 0.22);
  border-radius: 18px;
  background: #fff5ee;
}

#haruMobileApp .hm-move-hint strong,
#haruMobileApp .hm-move-hint span {
  display: block;
  min-width: 0;
  word-break: keep-all;
}

#haruMobileApp .hm-move-hint strong {
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-move-hint span {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
}

#haruMobileApp .hm-move-hint button {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-height: 36px;
  border: 1px solid rgba(15, 125, 112, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--hm-green);
  font-weight: 950;
  padding: 0 12px;
}

#haruMobileApp .hm-week-planner-grid {
  grid-template-columns: 46px repeat(7, 148px);
  min-width: 1125px;
  min-height: 720px;
}

#haruMobileApp .hm-week-time-rail span {
  right: 9px;
  color: #183d37;
  font-size: 10px;
}

#haruMobileApp .hm-week-grid-lines {
  top: 72px;
  left: 56px;
}

#haruMobileApp .hm-week-grid-lines i {
  background: rgba(15, 125, 112, 0.12);
}

#haruMobileApp .hm-week-column {
  min-height: 710px;
  border-radius: 18px;
}

#haruMobileApp .hm-week-column-body {
  min-height: 638px;
}

#haruMobileApp .hm-week-block.planner {
  gap: 5px;
  min-height: 58px;
  padding: 9px;
  border-radius: 15px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

#haruMobileApp .hm-week-block.planner.selected {
  border-color: var(--hm-coral);
  background: #fff8f1;
  box-shadow: 0 16px 30px rgba(215, 101, 67, 0.2);
  transform: translateY(-2px);
}

#haruMobileApp .hm-week-block.planner > div {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

#haruMobileApp .hm-week-block.planner em {
  min-width: 0;
  border-radius: 999px;
  background: #eef5ff;
  color: #315ca8;
  padding: 5px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-day-event-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

#haruMobileApp .hm-day-event-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  border: 1px solid rgba(15, 125, 112, 0.14);
  border-radius: 17px;
  background: #fff;
  padding: 10px;
  text-align: left;
  font-family: inherit;
}

#haruMobileApp .hm-day-event-row time {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 14px;
  background: #e4f4ef;
  color: var(--hm-green);
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-day-event-row span,
#haruMobileApp .hm-day-event-row strong,
#haruMobileApp .hm-day-event-row small {
  display: block;
  min-width: 0;
  word-break: keep-all;
}

#haruMobileApp .hm-day-event-row strong {
  color: var(--hm-deep);
  font-size: 15px;
  font-weight: 950;
}

#haruMobileApp .hm-day-event-row small {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 3px;
}

#haruMobileApp .hm-day-event-row em {
  border-radius: 999px;
  background: #eef5ff;
  color: #315ca8;
  padding: 6px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-day-empty {
  display: grid;
  gap: 4px;
  min-height: 92px;
  place-items: center;
  border: 1px dashed rgba(15, 125, 112, 0.22);
  border-radius: 17px;
  background: #f8fcfa;
  color: var(--hm-muted);
  text-align: center;
}

@media (max-width: 430px) {
  #haruMobileApp .hm-week-planner {
    padding: 14px;
  }

  #haruMobileApp .hm-week-planner-grid {
    grid-template-columns: 44px repeat(7, 142px);
    min-width: 1080px;
  }

  #haruMobileApp .hm-week-block.planner strong {
    font-size: 13px;
  }

  #haruMobileApp .hm-day-event-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  #haruMobileApp .hm-day-event-row em {
    grid-column: 2;
    justify-self: start;
  }
}


/* v58 role flow and dense dashboard */
#haruMobileApp .hm-role-parent {
  --hm-green: #0f7d70;
  --hm-deep: #143f39;
  --hm-coral: #d76543;
  --hm-bg: #f7f4ec;
}

#haruMobileApp .hm-role-child {
  --hm-green: #3f73e6;
  --hm-deep: #18345f;
  --hm-coral: #ff8a5f;
  --hm-bg: #f3f7ff;
}

#haruMobileApp .hm-role-child .hm-app-frame,
#haruMobileApp .hm-role-child {
  background: linear-gradient(180deg, #f6f9ff 0%, #eef7ff 46%, #f8fbff 100%);
}

#haruMobileApp .hm-role-parent .hm-app-frame,
#haruMobileApp .hm-role-parent {
  background: linear-gradient(180deg, #f7f4ec 0%, #f2f6ef 52%, #f7f4ec 100%);
}

#haruMobileApp .hm-return-bar {
  position: sticky;
  top: 82px;
  z-index: 32;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
  padding: 7px;
  border: 1px solid rgba(15, 125, 112, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(38, 52, 47, 0.08);
  backdrop-filter: blur(14px);
}

#haruMobileApp .hm-return-bar button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--hm-green);
  color: #fff;
  padding: 0 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(38, 52, 47, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#haruMobileApp .hm-return-bar button + button {
  justify-self: end;
  background: #eef4f2;
  color: var(--hm-green);
}

#haruMobileApp .hm-return-bar span {
  min-width: 0;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-role-row .hm-chip {
  display: grid;
  gap: 1px;
  align-content: center;
  min-height: 44px;
  padding: 0 16px;
}

#haruMobileApp .hm-role-row .hm-chip strong,
#haruMobileApp .hm-role-row .hm-chip small {
  display: block;
  line-height: 1.08;
}

#haruMobileApp .hm-role-row .hm-chip strong {
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-role-row .hm-chip small {
  font-size: 10px;
  font-weight: 850;
  opacity: 0.78;
}

#haruMobileApp .hm-role-child .hm-role-row .hm-chip.active,
#haruMobileApp .hm-role-child .hm-nav button.active,
#haruMobileApp .hm-role-child .hm-primary {
  background: #3f73e6;
  border-color: #3f73e6;
  color: #fff;
}

#haruMobileApp .hm-role-child .hm-secondary,
#haruMobileApp .hm-role-child .hm-secondary.light {
  color: #315ca8;
  border-color: rgba(63, 115, 230, 0.24);
}

#haruMobileApp .hm-role-child .hm-kid-home {
  border-color: rgba(63, 115, 230, 0.22);
  background: linear-gradient(145deg, #ffffff 0%, #eef5ff 62%, #fff8f1 100%);
}

#haruMobileApp .hm-role-child .hm-badge.blue {
  background: #edf4ff;
  color: #315ca8;
}

#haruMobileApp .hm-role-child .hm-kid-focus strong,
#haruMobileApp .hm-role-child .hm-home-focus time,
#haruMobileApp .hm-role-child .hm-home-stats strong,
#haruMobileApp .hm-role-child .hm-home-next time {
  color: #315ca8;
  background: #eaf2ff;
}

#haruMobileApp .hm-home-card.parent {
  padding: 16px;
}

#haruMobileApp .hm-home-card.parent .hm-home-head h2 {
  font-size: 24px;
}

#haruMobileApp .hm-home-card.parent .hm-home-focus {
  grid-template-columns: 58px minmax(0, 1fr);
  margin-top: 12px;
  padding: 11px;
  border-radius: 19px;
}

#haruMobileApp .hm-home-card.parent .hm-home-focus time {
  min-height: 46px;
  border-radius: 15px;
  font-size: 13px;
}

#haruMobileApp .hm-home-card.parent .hm-home-focus strong {
  font-size: 16px;
}

#haruMobileApp .hm-home-card.parent .hm-home-focus span {
  font-size: 11px;
}

#haruMobileApp .hm-home-mini-facts,
#haruMobileApp .hm-kid-mini-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

#haruMobileApp .hm-home-mini-facts button,
#haruMobileApp .hm-kid-mini-facts button {
  min-width: 0;
  min-height: 62px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  padding: 8px;
  text-align: left;
  font-family: inherit;
  box-shadow: 0 8px 18px rgba(38, 52, 47, 0.05);
}

#haruMobileApp .hm-role-child .hm-kid-mini-facts button {
  border-color: rgba(63, 115, 230, 0.14);
}

#haruMobileApp .hm-home-mini-facts span,
#haruMobileApp .hm-home-mini-facts strong,
#haruMobileApp .hm-home-mini-facts small,
#haruMobileApp .hm-kid-mini-facts span,
#haruMobileApp .hm-kid-mini-facts strong,
#haruMobileApp .hm-kid-mini-facts small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-home-mini-facts span,
#haruMobileApp .hm-kid-mini-facts span {
  color: var(--hm-muted);
  font-size: 10px;
  font-weight: 900;
}

#haruMobileApp .hm-home-mini-facts strong,
#haruMobileApp .hm-kid-mini-facts strong {
  margin-top: 3px;
  color: var(--hm-green);
  font-size: 15px;
  line-height: 1.05;
  font-weight: 950;
}

#haruMobileApp .hm-home-mini-facts small,
#haruMobileApp .hm-kid-mini-facts small {
  margin-top: 4px;
  color: #667771;
  font-size: 10px;
  font-weight: 850;
}

#haruMobileApp .hm-home-next.compact {
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 6px;
}

#haruMobileApp .hm-home-next.compact button {
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 8px;
}

#haruMobileApp .hm-home-next.compact time,
#haruMobileApp .hm-home-next.compact strong {
  font-size: 11px;
}

@media (max-width: 390px) {
  #haruMobileApp .hm-home-mini-facts,
  #haruMobileApp .hm-kid-mini-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #haruMobileApp .hm-home-next.compact {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-home-next.compact > span {
    display: none;
  }

  #haruMobileApp .hm-return-bar {
    top: 76px;
  }
}


/* v59 wording, return affordance, vertical week board */
#haruMobileApp .hm-screen {
  padding-top: 10px;
}

#haruMobileApp .hm-section {
  margin-top: 10px;
}

#haruMobileApp .hm-section + .hm-section,
#haruMobileApp .hm-section + .hm-section-head,
#haruMobileApp .hm-section-head + .hm-section {
  border-top: 1px solid rgba(15, 125, 112, 0.08);
  padding-top: 10px;
}

#haruMobileApp .hm-section-head {
  margin: 10px 2px 6px;
}

#haruMobileApp .hm-section-head h2 {
  font-size: 18px;
}

#haruMobileApp .hm-section-head p {
  font-size: 12px;
}

#haruMobileApp .hm-child-switch {
  gap: 6px;
  margin-bottom: 8px;
}

#haruMobileApp .hm-child-switch button {
  min-height: 62px;
  padding: 8px 10px;
  border-radius: 16px;
}

#haruMobileApp .hm-child-thumb {
  width: 44px;
  height: 44px;
  border-radius: 15px;
}

#haruMobileApp .hm-return-bar {
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 6px;
  padding: 6px;
  margin-bottom: 8px;
  border-radius: 15px;
}

#haruMobileApp .hm-return-bar .hm-return-main::before {
  content: "";
}

#haruMobileApp .hm-return-bar button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

#haruMobileApp .hm-return-bar small {
  min-width: 0;
  color: #667771;
  font-size: 10px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-calendar-action-section {
  padding-top: 8px;
}

#haruMobileApp .hm-calendar-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

#haruMobileApp .hm-calendar-actions button {
  min-height: 40px;
  border-radius: 14px;
  font-size: 12px;
}

#haruMobileApp .hm-schedule-form {
  gap: 10px;
  padding: 14px;
}

#haruMobileApp .hm-repeat-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  overflow: visible;
}

#haruMobileApp .hm-repeat-main button {
  min-width: 0;
  min-height: 36px;
  padding: 0 7px;
  font-size: 11px;
}

#haruMobileApp .hm-form-help {
  margin: -2px 0 0;
  color: #667771;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

#haruMobileApp .hm-week-planner {
  padding: 14px;
  overflow: hidden;
}

#haruMobileApp .hm-week-planner h3 {
  margin-top: 8px;
  font-size: 20px;
}

#haruMobileApp .hm-week-planner p {
  margin-bottom: 10px;
  font-size: 12px;
}

#haruMobileApp .hm-week-planner-grid.hm-week-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

#haruMobileApp .hm-week-stack .hm-week-column {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
}

#haruMobileApp .hm-week-stack .hm-week-column.active {
  box-shadow: inset 0 0 0 1px rgba(15, 125, 112, 0.24);
}

#haruMobileApp .hm-week-stack .hm-week-column-head {
  min-height: 50px;
  padding: 9px 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

#haruMobileApp .hm-week-stack .hm-week-column-head strong {
  writing-mode: horizontal-tb;
  font-size: 16px;
  white-space: nowrap;
}

#haruMobileApp .hm-week-stack .hm-week-column-head span {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#haruMobileApp .hm-week-stack .hm-week-column-head em {
  grid-row: auto;
  grid-column: auto;
}

#haruMobileApp .hm-week-stack .hm-week-column-body {
  display: grid;
  gap: 7px;
  min-height: 0;
  padding: 9px 10px 10px;
  background: linear-gradient(90deg, rgba(15, 125, 112, 0.08) 0 1px, transparent 1px) 30px 0 / 1px 100% no-repeat;
}

#haruMobileApp .hm-week-stack .hm-week-block.planner {
  position: static;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 58px !important;
  padding: 9px;
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(38, 52, 47, 0.07);
}

#haruMobileApp .hm-week-stack .hm-week-block.planner time {
  width: auto;
  min-height: 40px;
  padding: 0 8px;
  font-size: 12px;
}

#haruMobileApp .hm-week-stack .hm-week-block.planner strong {
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

#haruMobileApp .hm-week-stack .hm-week-block.planner span {
  margin-top: 2px;
  font-size: 11px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

#haruMobileApp .hm-week-stack .hm-week-block.planner em {
  align-self: center;
  max-width: 48px;
  text-align: center;
  white-space: normal;
  line-height: 1.1;
}

#haruMobileApp .hm-week-stack .hm-week-empty.column {
  position: static;
  min-height: 58px;
  border-radius: 15px;
}

#haruMobileApp .hm-week-time-rail,
#haruMobileApp .hm-week-grid-lines {
  display: none;
}

@media (max-width: 390px) {
  #haruMobileApp .hm-repeat-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #haruMobileApp .hm-week-stack .hm-week-block.planner {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  #haruMobileApp .hm-week-stack .hm-week-block.planner em {
    grid-column: 2;
    justify-self: start;
    max-width: none;
  }

  #haruMobileApp .hm-return-bar {
    grid-template-columns: auto auto;
  }

  #haruMobileApp .hm-return-bar small {
    grid-column: 1 / -1;
  }
}


/* v60 family person selector */
#haruMobileApp .hm-person-panel {
  margin: 0 0 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 125, 112, 0.08);
}

#haruMobileApp .hm-person-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

#haruMobileApp .hm-person-panel-head strong {
  color: var(--hm-deep);
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-person-panel-head button {
  min-height: 28px;
  border: 1px solid rgba(15, 125, 112, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--hm-green);
  padding: 0 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 950;
}

#haruMobileApp .hm-person-panel .hm-child-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

#haruMobileApp .hm-person-panel .hm-child-switch button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  width: auto;
  min-height: 72px;
  padding: 8px;
  border-radius: 16px;
}

#haruMobileApp .hm-person-panel .hm-child-thumb {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-size: 15px;
}

#haruMobileApp .hm-member-thumb {
  background: linear-gradient(135deg, #6a7b73, #9aa89f);
}

#haruMobileApp .hm-person-panel .hm-child-copy,
#haruMobileApp .hm-person-panel .hm-child-copy strong,
#haruMobileApp .hm-person-panel .hm-child-copy span,
#haruMobileApp .hm-person-panel .hm-child-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-person-panel .hm-child-copy strong {
  font-size: 13px;
  line-height: 1.1;
}

#haruMobileApp .hm-person-panel .hm-child-copy span {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.2;
}

#haruMobileApp .hm-person-panel .hm-child-copy small {
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.2;
}

#haruMobileApp .hm-person-panel .hm-child-switch button.active {
  border-color: var(--hm-green);
  background: linear-gradient(135deg, rgba(15, 125, 112, 0.1), #fff);
}

@media (max-width: 360px) {
  #haruMobileApp .hm-person-panel .hm-child-switch button {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 68px;
    padding: 7px;
  }

  #haruMobileApp .hm-person-panel .hm-child-thumb {
    width: 34px;
    height: 34px;
  }
}


/* v61 draggable family selector */
#haruMobileApp .hm-person-panel .hm-child-switch button {
  cursor: grab;
  user-select: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

#haruMobileApp .hm-person-panel .hm-child-switch button.dragging {
  opacity: 0.55;
  cursor: grabbing;
  transform: scale(0.98);
}

#haruMobileApp .hm-person-panel .hm-child-switch button.drop-ready {
  border-color: var(--hm-coral);
  box-shadow: 0 14px 28px rgba(215, 101, 67, 0.16);
}

#haruMobileApp .hm-person-panel .hm-child-switch button.moving {
  border-color: var(--hm-coral);
  background: #fff7f1;
  box-shadow: inset 0 0 0 1px rgba(215, 101, 67, 0.18), 0 10px 22px rgba(215, 101, 67, 0.12);
}

#haruMobileApp .hm-person-move-hint {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  padding: 8px 9px;
  border: 1px solid rgba(215, 101, 67, 0.2);
  border-radius: 14px;
  background: #fff7f1;
}

#haruMobileApp .hm-person-move-hint strong {
  color: var(--hm-coral);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-person-move-hint span {
  min-width: 0;
  color: #667771;
  font-size: 10px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-person-move-hint button {
  min-height: 28px;
  border: 1px solid rgba(15, 125, 112, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--hm-green);
  padding: 0 9px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 950;
}


/* v62 family reorder hint */
#haruMobileApp .hm-person-panel-head > div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

#haruMobileApp .hm-person-panel-head small {
  color: #667771;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}


/* v63 premium mobile navigation and family management */
#haruMobileApp .hm-nav {
  display: grid;
  align-items: stretch;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(20, 63, 57, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,246,0.94)),
    rgba(255,255,255,0.96);
  box-shadow:
    0 22px 46px rgba(38, 52, 47, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
}

#haruMobileApp .hm-nav button {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 58px;
  padding: 6px 4px;
  border: 1px solid rgba(15, 125, 112, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7faf6);
  color: #62726d;
  font-family: inherit;
  font-weight: 950;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 5px 12px rgba(38, 52, 47, 0.05);
  overflow: hidden;
}

#haruMobileApp .hm-nav button::after {
  content: "";
  position: absolute;
  inset: 3px 3px auto;
  height: 40%;
  border-radius: 17px 17px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0));
  pointer-events: none;
}

#haruMobileApp .hm-nav .hm-nav-icon,
#haruMobileApp .hm-nav button span.hm-nav-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 13px;
  background: #edf5f1;
  color: var(--hm-green);
  font-size: 15px;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(20, 63, 57, 0.08);
}

#haruMobileApp .hm-nav .hm-nav-copy,
#haruMobileApp .hm-nav button span.hm-nav-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  box-shadow: none;
}

#haruMobileApp .hm-nav .hm-nav-copy strong,
#haruMobileApp .hm-nav .hm-nav-copy small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-nav .hm-nav-copy strong {
  color: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

#haruMobileApp .hm-nav .hm-nav-copy small {
  display: none;
  color: inherit;
  font-size: 9px;
  font-weight: 850;
  opacity: 0.86;
}

#haruMobileApp .hm-nav button.active {
  transform: translateY(-2px);
  border-color: rgba(15, 125, 112, 0.24);
  background: linear-gradient(160deg, #0f7d70 0%, #248f7e 62%, #d99a20 130%);
  color: #ffffff;
  box-shadow: 0 15px 28px rgba(15, 125, 112, 0.24), inset 0 1px 0 rgba(255,255,255,0.34);
}

#haruMobileApp .hm-nav button.active .hm-nav-icon {
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

#haruMobileApp .hm-nav button.active .hm-nav-copy small {
  display: block;
}

#haruMobileApp .hm-role-child .hm-nav button.active {
  border-color: rgba(63, 115, 230, 0.24);
  background: linear-gradient(160deg, #3f73e6 0%, #5f8df0 64%, #ffb16a 130%);
  box-shadow: 0 15px 28px rgba(63, 115, 230, 0.24), inset 0 1px 0 rgba(255,255,255,0.34);
}

#haruMobileApp .hm-role-child .hm-nav .hm-nav-icon {
  background: #edf4ff;
  color: #315ca8;
}

#haruMobileApp .hm-role-row .hm-chip {
  border-color: rgba(15, 125, 112, 0.14);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  color: #4e625b;
  box-shadow: 0 8px 18px rgba(38, 52, 47, 0.06), inset 0 1px 0 rgba(255,255,255,0.92);
}

#haruMobileApp .hm-role-row .hm-chip.active {
  border-color: rgba(15, 125, 112, 0.28);
  background: linear-gradient(150deg, #0f7d70, #2d9c86);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(15, 125, 112, 0.18);
}

#haruMobileApp .hm-role-child .hm-role-row .hm-chip.active {
  border-color: rgba(63, 115, 230, 0.28);
  background: linear-gradient(150deg, #3f73e6, #6a96f3);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(63, 115, 230, 0.18);
}

#haruMobileApp .hm-family-manage {
  display: grid;
  gap: 13px;
  border-color: rgba(15, 125, 112, 0.2);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,248,244,0.96)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(38, 52, 47, 0.09);
}

#haruMobileApp .hm-family-manager-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

#haruMobileApp .hm-family-manager-head h3 {
  margin: 8px 0 4px;
  color: var(--hm-deep);
  font-size: 20px;
  line-height: 1.22;
  word-break: keep-all;
}

#haruMobileApp .hm-family-manager-head p {
  margin: 0;
  color: #667771;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  word-break: keep-all;
}

#haruMobileApp .hm-family-add-main {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 76px;
  min-height: 64px;
  border: 1px solid rgba(15, 125, 112, 0.22);
  border-radius: 19px;
  background: linear-gradient(160deg, #0f7d70, #299c87);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(15, 125, 112, 0.2), inset 0 1px 0 rgba(255,255,255,0.32);
}

#haruMobileApp .hm-family-add-main span {
  font-size: 20px;
  line-height: 1;
}

#haruMobileApp .hm-family-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#haruMobileApp .hm-family-tools button {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 78px;
  padding: 10px 7px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 17px;
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  color: var(--hm-deep);
  font-family: inherit;
  text-align: left;
  box-shadow: 0 8px 18px rgba(38, 52, 47, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

#haruMobileApp .hm-family-tools span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: #edf5f1;
  font-size: 15px;
}

#haruMobileApp .hm-family-tools strong,
#haruMobileApp .hm-family-tools small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-family-tools strong {
  font-size: 12px;
  font-weight: 950;
}

#haruMobileApp .hm-family-tools small {
  color: #667771;
  font-size: 9px;
  font-weight: 800;
}

#haruMobileApp .hm-member-manage-list {
  display: grid;
  gap: 8px;
}

#haruMobileApp .hm-member-manage-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 9px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
}

#haruMobileApp .hm-member-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(135deg, #6a7b73, #9aa89f);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

#haruMobileApp .hm-member-manage-row.owner .hm-member-avatar,
#haruMobileApp .hm-member-manage-row.guardian .hm-member-avatar {
  background: linear-gradient(135deg, #0f7d70, #4ba28c);
}

#haruMobileApp .hm-member-manage-row.child .hm-member-avatar {
  background: linear-gradient(135deg, #3f73e6, #77a2ff);
}

#haruMobileApp .hm-member-manage-row strong,
#haruMobileApp .hm-member-manage-row small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-member-manage-row strong {
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-member-manage-row small {
  margin-top: 3px;
  color: #667771;
  font-size: 11px;
  font-weight: 800;
}

#haruMobileApp .hm-member-actions {
  display: flex;
  gap: 5px;
}

#haruMobileApp .hm-member-actions button {
  min-height: 30px;
  border: 1px solid rgba(15, 125, 112, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--hm-green);
  padding: 0 9px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 950;
}

#haruMobileApp .hm-member-actions button:last-child {
  border-color: rgba(215, 101, 67, 0.22);
  color: #c45b3e;
  background: #fff8f4;
}

@media (max-width: 390px) {
  #haruMobileApp .hm-nav {
    gap: 5px;
    padding: 8px;
    border-radius: 24px;
  }

  #haruMobileApp .hm-nav button {
    min-height: 55px;
    padding: 6px 2px;
    border-radius: 18px;
  }

  #haruMobileApp .hm-nav .hm-nav-icon,
  #haruMobileApp .hm-nav button span.hm-nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    font-size: 14px;
  }

  #haruMobileApp .hm-nav .hm-nav-copy strong {
    font-size: 11px;
  }

  #haruMobileApp .hm-nav .hm-nav-copy small {
    font-size: 8px;
  }

  #haruMobileApp .hm-family-tools {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-family-tools button {
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    min-height: 56px;
    text-align: left;
  }

  #haruMobileApp .hm-family-tools small {
    grid-column: 2;
  }

  #haruMobileApp .hm-member-manage-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  #haruMobileApp .hm-member-actions {
    grid-column: 2;
    justify-self: start;
  }
}


/* v66 identity header and menu hierarchy */
#haruMobileApp .hm-identity-top {
  position: sticky;
  top: 8px;
  z-index: 42;
  display: grid;
  gap: 9px;
  margin: 8px 0 10px;
  padding: 12px;
  border: 1px solid rgba(15, 125, 112, 0.15);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,246,0.92)),
    rgba(255,255,255,0.92);
  box-shadow: 0 16px 36px rgba(38, 52, 47, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
}

#haruMobileApp .hm-identity-main {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#haruMobileApp .hm-identity-photo,
#haruMobileApp .hm-topbar-photo-button.hm-identity-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 20px;
  border: 1px solid rgba(15, 125, 112, 0.14);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 125, 112, 0.12);
  overflow: visible;
}

#haruMobileApp .hm-identity-photo::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 5px;
  width: 11px;
  height: 11px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--hm-green);
  box-shadow: 0 2px 6px rgba(15, 125, 112, 0.24);
}

#haruMobileApp .hm-identity-photo .hm-logo {
  width: 46px;
  height: 46px;
  border-radius: 17px;
  font-size: 18px;
}

#haruMobileApp .hm-brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#haruMobileApp .hm-app-kicker {
  display: block;
  min-width: 0;
  color: #667771;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-app-name {
  display: block;
  color: var(--hm-deep);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: 0;
}

#haruMobileApp .hm-user-line {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}

#haruMobileApp .hm-user-line span {
  position: relative;
  min-width: 0;
  color: #51635e;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-user-line span + span {
  padding-left: 7px;
}

#haruMobileApp .hm-user-line span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(15, 125, 112, 0.35);
}

#haruMobileApp .hm-top-action {
  min-width: 58px;
  min-height: 42px;
  padding: 0 12px;
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  box-shadow: 0 8px 18px rgba(38, 52, 47, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

#haruMobileApp .hm-identity-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 125, 112, 0.09);
}

#haruMobileApp .hm-meta-chip {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eaf7f3;
  color: var(--hm-green);
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-identity-meta .hm-clock {
  min-width: 0;
  color: var(--hm-deep);
  font-size: 12px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-status-tier {
  position: relative;
  margin: 0 0 9px;
  border-style: solid;
  border-color: rgba(15, 125, 112, 0.13);
}

#haruMobileApp .hm-menu-tier-middle,
#haruMobileApp .hm-menu-tier-sub {
  position: relative;
  margin: 0 0 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(15, 125, 112, 0.1);
}

#haruMobileApp .hm-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

#haruMobileApp .hm-tier-head span,
#haruMobileApp .hm-tier-label {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(15, 125, 112, 0.09);
  color: var(--hm-green);
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-tier-head small {
  color: #667771;
  font-size: 10px;
  font-weight: 850;
}

#haruMobileApp .hm-menu-tier-middle .hm-role-row {
  margin: 0;
  padding: 0 0 2px;
}

#haruMobileApp .hm-menu-tier-sub.hm-person-panel {
  margin: 0 0 12px;
  padding: 9px 0 0;
}

#haruMobileApp .hm-menu-tier-sub .hm-person-panel-head {
  align-items: flex-start;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(15, 125, 112, 0.07);
}

#haruMobileApp .hm-menu-tier-sub .hm-person-panel-head > div {
  gap: 3px;
}

#haruMobileApp .hm-menu-tier-sub .hm-person-panel-head strong {
  font-size: 13px;
}

#haruMobileApp .hm-nav {
  padding-top: 22px;
}

#haruMobileApp .hm-nav::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 7px;
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(15, 125, 112, 0.09);
  color: var(--hm-green);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0;
}

#haruMobileApp .hm-role-child .hm-meta-chip,
#haruMobileApp .hm-role-child .hm-tier-head span,
#haruMobileApp .hm-role-child .hm-tier-label,
#haruMobileApp .hm-role-child .hm-nav::before {
  background: #edf4ff;
  color: #315ca8;
}

#haruMobileApp .hm-role-child .hm-identity-photo::after {
  background: #3f73e6;
}

@media (max-width: 370px) {
  #haruMobileApp .hm-identity-main {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
  }

  #haruMobileApp .hm-identity-photo,
  #haruMobileApp .hm-topbar-photo-button.hm-identity-photo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 18px;
  }

  #haruMobileApp .hm-identity-photo .hm-logo {
    width: 41px;
    height: 41px;
    border-radius: 15px;
  }

  #haruMobileApp .hm-app-name {
    font-size: 19px;
  }

  #haruMobileApp .hm-app-kicker {
    font-size: 9px;
  }

  #haruMobileApp .hm-top-action {
    min-width: 52px;
    padding: 0 10px;
  }
}


/* v67 split app identity, remove literal hierarchy labels */
#haruMobileApp .hm-identity-top {
  padding: 11px;
}

#haruMobileApp .hm-identity-split {
  display: grid;
  grid-template-columns: minmax(118px, 0.82fr) minmax(0, 1.18fr);
  gap: 9px;
  align-items: stretch;
  min-width: 0;
}

#haruMobileApp .hm-app-panel,
#haruMobileApp .hm-profile-panel {
  min-width: 0;
  border: 1px solid rgba(15, 125, 112, 0.11);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,251,248,0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), 0 8px 18px rgba(38, 52, 47, 0.05);
}

#haruMobileApp .hm-app-panel {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px;
}

#haruMobileApp .hm-app-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 17px;
  background: linear-gradient(150deg, #0b766a 0%, #169181 55%, #d99a20 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(15, 125, 112, 0.28), inset 0 1px 0 rgba(255,255,255,0.3);
}

#haruMobileApp .hm-app-mark svg {
  width: 58%;
  height: 58%;
  display: block;
}

#haruMobileApp .hm-app-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#haruMobileApp .hm-app-copy .hm-app-name {
  min-width: 0;
  overflow: hidden;
  color: var(--hm-deep);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-app-copy small {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #667771;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#haruMobileApp .hm-profile-panel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 8px;
}

#haruMobileApp .hm-profile-panel .hm-identity-photo,
#haruMobileApp .hm-profile-panel .hm-topbar-photo-button.hm-identity-photo {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 16px;
  box-shadow: none;
}

#haruMobileApp .hm-profile-panel .hm-identity-photo .hm-logo {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  font-size: 14px;
}

#haruMobileApp .hm-profile-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

#haruMobileApp .hm-profile-copy span,
#haruMobileApp .hm-profile-copy strong,
#haruMobileApp .hm-profile-copy small,
#haruMobileApp .hm-profile-copy time {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-profile-copy span {
  color: var(--hm-green);
  font-size: 9px;
  font-weight: 950;
}

#haruMobileApp .hm-profile-copy strong {
  color: var(--hm-deep);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.05;
}

#haruMobileApp .hm-profile-copy small {
  color: #667771;
  font-size: 9px;
  font-weight: 850;
}

#haruMobileApp .hm-profile-copy time {
  color: var(--hm-green);
  font-size: 10px;
  font-weight: 950;
}

#haruMobileApp .hm-profile-panel .hm-top-action {
  min-width: 42px;
  min-height: 34px;
  padding: 0 8px;
  font-size: 11px;
}

#haruMobileApp .hm-identity-main,
#haruMobileApp .hm-brand-copy,
#haruMobileApp .hm-identity-meta,
#haruMobileApp .hm-tier-head,
#haruMobileApp .hm-tier-label,
#haruMobileApp .hm-nav::before {
  display: none !important;
  content: none !important;
}

#haruMobileApp .hm-status-tier,
#haruMobileApp .hm-menu-tier-middle,
#haruMobileApp .hm-menu-tier-sub {
  margin-top: 0;
  margin-bottom: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 125, 112, 0.09);
}

#haruMobileApp .hm-status-tier {
  padding-top: 9px;
}

#haruMobileApp .hm-menu-tier-middle .hm-role-row {
  padding-bottom: 0;
}

#haruMobileApp .hm-menu-tier-sub.hm-person-panel {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 125, 112, 0.08);
}

#haruMobileApp .hm-menu-tier-sub .hm-person-panel-head {
  margin-bottom: 7px;
  padding-bottom: 0;
  border-bottom: 0;
}

#haruMobileApp .hm-screen {
  padding-top: 8px;
}

#haruMobileApp .hm-section {
  margin-top: 10px;
}

#haruMobileApp .hm-section:first-child {
  margin-top: 0;
}

#haruMobileApp .hm-person-panel + .hm-screen,
#haruMobileApp .hm-menu-tier-sub + .hm-screen {
  padding-top: 4px;
}

#haruMobileApp .hm-home-section,
#haruMobileApp .hm-dashboard-section {
  margin-top: 8px;
}

#haruMobileApp .hm-nav {
  padding-top: 9px;
}

#haruMobileApp .hm-role-child .hm-app-mark {
  background: linear-gradient(150deg, #2148a0 0%, #3f73e6 55%, #ffb16a 100%);
}

#haruMobileApp .hm-role-child .hm-profile-copy span,
#haruMobileApp .hm-role-child .hm-profile-copy time {
  color: #315ca8;
}

@media (max-width: 380px) {
  #haruMobileApp .hm-identity-split {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  #haruMobileApp .hm-app-panel {
    min-height: 54px;
  }

  #haruMobileApp .hm-profile-panel {
    min-height: 58px;
  }
}


/* v13 app push readiness */
#haruMobileApp .hm-push-panel,
#haruMobileApp .hm-push-queue {
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(239, 249, 245, 0.84));
}

#haruMobileApp .hm-push-head {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 12px;
  align-items: start;
}

#haruMobileApp .hm-push-head h3 {
  margin: 10px 0 6px;
  color: var(--hm-deep);
  font-size: 20px;
}

#haruMobileApp .hm-push-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #0f7d70, #4d80f0);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(45, 108, 223, 0.18);
}

#haruMobileApp .hm-push-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  margin-top: 14px;
}

#haruMobileApp .hm-push-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 125, 112, 0.12);
  font-size: 12px;
}

#haruMobileApp .hm-push-meta span {
  color: var(--hm-muted);
  font-weight: 850;
}

#haruMobileApp .hm-push-meta b {
  color: var(--hm-deep);
  font-weight: 950;
}

#haruMobileApp .hm-push-list {
  display: grid;
  gap: 9px;
}

#haruMobileApp .hm-push-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(15, 125, 112, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

#haruMobileApp .hm-push-item time {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e8f7f3;
  color: var(--hm-green);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

#haruMobileApp .hm-push-item strong,
#haruMobileApp .hm-push-item small {
  display: block;
  word-break: keep-all;
}

#haruMobileApp .hm-push-item small {
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 750;
}

#haruMobileApp .hm-push-item span {
  justify-self: end;
  padding: 6px 8px;
  border-radius: 999px;
  background: #edf3ff;
  color: #315ca8;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#haruMobileApp .hm-push-item.warn {
  border-color: rgba(217, 101, 67, 0.28);
}

#haruMobileApp .hm-push-item.warn time,
#haruMobileApp .hm-push-item.late time {
  background: #fff0e9;
  color: var(--hm-coral);
}

#haruMobileApp .hm-push-item.now {
  border-color: rgba(15, 125, 112, 0.34);
  box-shadow: 0 12px 26px rgba(15, 125, 112, 0.10);
}

#haruMobileApp .hm-push-item.pay time {
  background: #fff7df;
  color: var(--hm-gold);
}

#haruMobileApp .hm-push-empty {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 420px) {
  #haruMobileApp .hm-push-actions,
  #haruMobileApp .hm-push-item {
    grid-template-columns: 1fr;
  }
  #haruMobileApp .hm-push-item time {
    width: 58px;
  }
  #haruMobileApp .hm-push-item span {
    justify-self: start;
  }
}


/* v71 premium menu language */
#haruMobileApp .hm-nav {
  gap: 7px;
  padding: 9px 10px 10px;
  border-color: rgba(15, 125, 112, 0.13);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(38, 52, 47, 0.18), inset 0 1px 0 rgba(255,255,255,0.95);
}

#haruMobileApp .hm-nav.hm-nav-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#haruMobileApp .hm-nav button {
  min-width: 0;
  min-height: 62px;
  padding: 7px 3px 6px;
  border-radius: 18px;
  border: 1px solid rgba(15, 125, 112, 0.09);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  color: #51645d;
  overflow: visible;
  box-shadow: 0 9px 18px rgba(38, 52, 47, 0.07), inset 0 1px 0 rgba(255,255,255,0.98);
}

#haruMobileApp .hm-nav .hm-nav-icon,
#haruMobileApp .hm-nav button span.hm-nav-icon {
  width: 31px;
  height: 31px;
  border-radius: 13px;
  margin: 0 auto 2px;
  background: linear-gradient(180deg, #f2faf6, #e7f3ef);
  color: var(--hm-green);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 6px 12px rgba(15, 125, 112, 0.08);
}

#haruMobileApp .hm-nav .hm-nav-copy,
#haruMobileApp .hm-nav button span.hm-nav-copy {
  width: 100%;
  height: auto;
  min-height: 22px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 0 1px;
  overflow: visible;
}

#haruMobileApp .hm-nav .hm-nav-copy strong,
#haruMobileApp .hm-nav .hm-nav-copy small {
  max-width: none;
  width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.08;
}

#haruMobileApp .hm-nav .hm-nav-copy strong {
  font-size: 11px;
}

#haruMobileApp .hm-nav .hm-nav-copy small {
  display: block;
  font-size: 8px;
  opacity: 0.72;
}

#haruMobileApp .hm-nav button.active {
  transform: translateY(-2px);
  border-color: rgba(15, 125, 112, 0.28);
  background: linear-gradient(155deg, #0f7d70 0%, #2b9a88 68%, #d99a20 140%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 125, 112, 0.26), inset 0 1px 0 rgba(255,255,255,0.38);
}

#haruMobileApp .hm-nav button.active .hm-nav-icon {
  background: rgba(255,255,255,0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24);
}

#haruMobileApp .hm-role-child .hm-nav button.active {
  border-color: rgba(63, 115, 230, 0.28);
  background: linear-gradient(155deg, #3f73e6 0%, #6d96f2 68%, #ffb16a 140%);
  box-shadow: 0 16px 30px rgba(63, 115, 230, 0.24), inset 0 1px 0 rgba(255,255,255,0.38);
}

#haruMobileApp .hm-role-child .hm-nav .hm-nav-icon {
  background: linear-gradient(180deg, #f4f8ff, #eaf2ff);
  color: #315ca8;
}

#haruMobileApp .hm-role-row .hm-chip,
#haruMobileApp .hm-person-panel .hm-child-switch button,
#haruMobileApp .hm-premium-tile,
#haruMobileApp .hm-action-dock-premium button,
#haruMobileApp .hm-day,
#haruMobileApp .hm-button {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 125, 112, 0.13);
  background: linear-gradient(180deg, #ffffff, #f8fbf8);
  box-shadow: 0 10px 22px rgba(38, 52, 47, 0.07), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-role-row .hm-chip::after,
#haruMobileApp .hm-person-panel .hm-child-switch button::after,
#haruMobileApp .hm-premium-tile::after,
#haruMobileApp .hm-action-dock-premium button::after,
#haruMobileApp .hm-day::after,
#haruMobileApp .hm-button::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 3px;
  height: 38%;
  border-radius: 15px 15px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0));
  pointer-events: none;
}

#haruMobileApp .hm-role-row .hm-chip.active,
#haruMobileApp .hm-person-panel .hm-child-switch button.active {
  background: linear-gradient(150deg, rgba(15, 125, 112, 0.12), #ffffff 76%);
  border-color: rgba(15, 125, 112, 0.34);
  box-shadow: 0 14px 28px rgba(15, 125, 112, 0.13), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-role-child .hm-role-row .hm-chip.active,
#haruMobileApp .hm-role-child .hm-person-panel .hm-child-switch button.active {
  background: linear-gradient(150deg, rgba(63, 115, 230, 0.13), #ffffff 76%);
  border-color: rgba(63, 115, 230, 0.34);
}

#haruMobileApp .hm-action-dock-premium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#haruMobileApp .hm-action-dock-premium button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 9px;
  min-height: 66px;
  padding: 10px;
  text-align: left;
}

#haruMobileApp .hm-dock-icon,
#haruMobileApp .hm-tile-icon {
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(180deg, #edf8f4, #e4f1ee);
  color: var(--hm-green);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 15px rgba(15, 125, 112, 0.08);
}

#haruMobileApp .hm-dock-icon {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
}

#haruMobileApp .hm-action-dock-premium strong,
#haruMobileApp .hm-action-dock-premium small {
  display: block;
  min-width: 0;
  line-height: 1.18;
  word-break: keep-all;
}

#haruMobileApp .hm-action-dock-premium strong {
  color: var(--hm-deep);
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-action-dock-premium small {
  color: var(--hm-muted);
  font-size: 10px;
  font-weight: 850;
}

#haruMobileApp .hm-tile-grid-premium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#haruMobileApp .hm-premium-tile {
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px;
  text-align: left;
}

#haruMobileApp .hm-premium-tile::after {
  content: "";
}

#haruMobileApp .hm-tile-icon {
  width: 38px;
  height: 38px;
  font-size: 16px;
}

#haruMobileApp .hm-tile-copy strong,
#haruMobileApp .hm-tile-copy small {
  display: block;
  min-width: 0;
  word-break: keep-all;
}

#haruMobileApp .hm-tile-copy strong {
  margin: 0 0 4px;
  color: var(--hm-deep);
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-tile-copy small {
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

#haruMobileApp .hm-role-child .hm-dock-icon,
#haruMobileApp .hm-role-child .hm-tile-icon {
  background: linear-gradient(180deg, #f3f7ff, #e8f0ff);
  color: #315ca8;
}

@media (max-width: 360px) {
  #haruMobileApp .hm-nav {
    gap: 5px;
    padding-left: 8px;
    padding-right: 8px;
  }

  #haruMobileApp .hm-nav button {
    min-height: 60px;
    padding-left: 2px;
    padding-right: 2px;
  }

  #haruMobileApp .hm-nav .hm-nav-icon,
  #haruMobileApp .hm-nav button span.hm-nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    font-size: 13px;
  }

  #haruMobileApp .hm-nav .hm-nav-copy strong {
    font-size: 10px;
  }

  #haruMobileApp .hm-nav .hm-nav-copy small {
    font-size: 7.5px;
  }

  #haruMobileApp .hm-action-dock-premium,
  #haruMobileApp .hm-tile-grid-premium {
    grid-template-columns: 1fr;
  }
}


/* v73 mobile profile, timeline spacing, and premium control pass */
#haruMobileApp .hm-identity-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: 10px;
}

#haruMobileApp .hm-app-panel,
#haruMobileApp .hm-profile-panel,
#haruMobileApp .hm-sync-strip,
#haruMobileApp .hm-menu-tier-middle,
#haruMobileApp .hm-menu-tier-sub,
#haruMobileApp .hm-card,
#haruMobileApp .hm-row {
  border-color: rgba(15, 125, 112, 0.15);
  box-shadow: 0 14px 34px rgba(38, 52, 47, 0.08), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-profile-panel {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  background: linear-gradient(155deg, #ffffff 0%, #f3faf6 100%);
  border-color: rgba(15, 125, 112, 0.2);
}

#haruMobileApp .hm-profile-copy span {
  color: #0b766a;
  font-size: 10px;
}

#haruMobileApp .hm-profile-copy strong {
  color: #0d342f;
  font-size: 14px;
}

#haruMobileApp .hm-profile-copy small {
  color: #4f625c;
}

#haruMobileApp .hm-profile-copy time {
  color: #006b5f;
  font-size: 10.5px;
}

#haruMobileApp .hm-role-row .hm-chip,
#haruMobileApp .hm-person-panel .hm-child-switch button,
#haruMobileApp .hm-sync-strip button,
#haruMobileApp .hm-person-panel-head button,
#haruMobileApp .hm-calendar-actions button,
#haruMobileApp .hm-segment button,
#haruMobileApp .hm-home-actions button,
#haruMobileApp .hm-kid-actions button,
#haruMobileApp .hm-action-row button,
#haruMobileApp .hm-family-tools button,
#haruMobileApp .hm-member-actions button,
#haruMobileApp .hm-photo-action,
#haruMobileApp .hm-light-action,
#haruMobileApp .hm-day-event-row,
#haruMobileApp .hm-command-metric,
#haruMobileApp .hm-home-focus,
#haruMobileApp .hm-kid-focus,
#haruMobileApp .hm-home-next button,
#haruMobileApp .hm-kid-step,
#haruMobileApp .hm-week-block.planner,
#haruMobileApp .hm-repeat-main button,
#haruMobileApp .hm-weekday-picks button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 125, 112, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  box-shadow: 0 12px 24px rgba(38, 52, 47, 0.08), inset 0 1px 0 rgba(255,255,255,0.98);
}

#haruMobileApp .hm-role-row .hm-chip::before,
#haruMobileApp .hm-person-panel .hm-child-switch button::before,
#haruMobileApp .hm-sync-strip button::before,
#haruMobileApp .hm-person-panel-head button::before,
#haruMobileApp .hm-calendar-actions button::before,
#haruMobileApp .hm-segment button::before,
#haruMobileApp .hm-home-actions button::before,
#haruMobileApp .hm-kid-actions button::before,
#haruMobileApp .hm-action-row button::before,
#haruMobileApp .hm-family-tools button::before,
#haruMobileApp .hm-member-actions button::before,
#haruMobileApp .hm-photo-action::before,
#haruMobileApp .hm-light-action::before,
#haruMobileApp .hm-day-event-row::before,
#haruMobileApp .hm-command-metric::before,
#haruMobileApp .hm-home-focus::before,
#haruMobileApp .hm-kid-focus::before,
#haruMobileApp .hm-home-next button::before,
#haruMobileApp .hm-kid-step::before,
#haruMobileApp .hm-week-block.planner::before,
#haruMobileApp .hm-repeat-main button::before,
#haruMobileApp .hm-weekday-picks button::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 4px;
  height: 38%;
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0));
  pointer-events: none;
}

#haruMobileApp .hm-role-row .hm-chip.active,
#haruMobileApp .hm-person-panel .hm-child-switch button.active,
#haruMobileApp .hm-segment button.active,
#haruMobileApp .hm-repeat-main button.active,
#haruMobileApp .hm-weekday-picks button.active {
  border-color: rgba(12, 107, 96, 0.4) !important;
  background: linear-gradient(150deg, #0b766a 0%, #169181 76%, #d99a20 150%) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(15, 125, 112, 0.22), inset 0 1px 0 rgba(255,255,255,0.36);
}

#haruMobileApp .hm-role-row .hm-chip.active strong,
#haruMobileApp .hm-role-row .hm-chip.active small,
#haruMobileApp .hm-person-panel .hm-child-switch button.active strong,
#haruMobileApp .hm-person-panel .hm-child-switch button.active span,
#haruMobileApp .hm-person-panel .hm-child-switch button.active small,
#haruMobileApp .hm-segment button.active,
#haruMobileApp .hm-repeat-main button.active,
#haruMobileApp .hm-weekday-picks button.active {
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

#haruMobileApp .hm-role-child .hm-role-row .hm-chip.active,
#haruMobileApp .hm-role-child .hm-person-panel .hm-child-switch button.active,
#haruMobileApp .hm-role-child .hm-segment button.active {
  border-color: rgba(45, 108, 223, 0.42) !important;
  background: linear-gradient(150deg, #2d6cdf 0%, #5f91f2 76%, #ffb16a 150%) !important;
}

#haruMobileApp .hm-day-map {
  overflow: visible;
  background: linear-gradient(180deg, #ffffff 0%, #f2faf7 100%);
}

#haruMobileApp .hm-day-map > p,
#haruMobileApp .hm-day-summary-line span,
#haruMobileApp .hm-day-box span {
  color: #455952;
}

#haruMobileApp .hm-day-board {
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 12px !important;
  overflow: visible;
  padding: 2px 0 18px;
}

#haruMobileApp .hm-hour-grid {
  inset: 0 0 0 56px !important;
}

#haruMobileApp .hm-hour-grid i {
  background: rgba(15, 125, 112, 0.14);
}

#haruMobileApp .hm-hour-rail {
  position: relative;
  z-index: 2;
  border-right: 2px solid rgba(15, 125, 112, 0.24);
}

#haruMobileApp .hm-hour-rail span {
  color: #213f39;
  font-size: 11px;
  font-weight: 950;
}

#haruMobileApp .hm-day-lane {
  position: relative !important;
  z-index: 3;
  min-width: 0;
}

#haruMobileApp .hm-day-box {
  position: absolute !important;
  left: 0;
  right: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(15, 125, 112, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
  box-shadow: 0 14px 28px rgba(27, 42, 39, 0.09), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-day-box.now {
  z-index: 4;
  border-color: rgba(212, 91, 56, 0.72);
  background: linear-gradient(180deg, #fff7ef 0%, #fffdf9 100%);
  box-shadow: 0 16px 32px rgba(212, 91, 56, 0.18), inset 0 1px 0 rgba(255,255,255,0.98);
}

#haruMobileApp .hm-day-box time {
  min-height: 46px;
  border-radius: 16px;
  background: #e1f3ee;
  color: #006b5f;
  font-size: 13px;
  font-weight: 950;
}

#haruMobileApp .hm-day-box.now time {
  background: #d75f3a;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

#haruMobileApp .hm-day-box strong {
  color: #102d29;
  font-size: 15px;
  line-height: 1.3;
}

#haruMobileApp .hm-day-box em {
  background: #edf7f4;
  color: #057468;
  border: 1px solid rgba(15, 125, 112, 0.08);
}

#haruMobileApp .hm-day-box.warn em,
#haruMobileApp .hm-day-box.now em {
  background: #fff0e9;
  color: #b84f2d;
  border-color: rgba(212, 91, 56, 0.16);
}

#haruMobileApp .hm-day-box.blue em {
  background: #edf3ff;
  color: #255bab;
  border-color: rgba(45, 108, 223, 0.14);
}

@media (max-width: 390px) {
  #haruMobileApp .hm-identity-split {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-profile-panel {
    grid-template-columns: 44px minmax(0, 1fr) 46px;
  }

  #haruMobileApp .hm-day-board {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  #haruMobileApp .hm-hour-grid {
    left: 50px !important;
  }

  #haruMobileApp .hm-day-box {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 10px;
  }

  #haruMobileApp .hm-day-box em {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }
}


/* v75 family representative header */
#haruMobileApp .hm-family-profile-panel {
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  border-color: rgba(15, 125, 112, 0.22);
  background: linear-gradient(155deg, rgba(255,255,255,0.98) 0%, rgba(239,249,245,0.96) 100%);
}

#haruMobileApp .hm-family-profile-panel .hm-profile-copy span {
  color: #006b5f;
  font-size: 10px;
  font-weight: 950;
}

#haruMobileApp .hm-family-profile-panel .hm-profile-copy strong {
  color: #0d342f;
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-family-profile-panel .hm-profile-copy small {
  color: #344d46;
  font-size: 9.5px;
  font-weight: 880;
}

#haruMobileApp .hm-family-profile-panel .hm-profile-copy time {
  color: #006b5f;
  font-weight: 950;
}

#haruMobileApp .hm-family-profile-panel .hm-top-action {
  min-width: 44px;
  padding: 0 7px;
}

@media (max-width: 390px) {
  #haruMobileApp .hm-family-profile-panel {
    grid-template-columns: 44px minmax(0, 1fr) 46px;
  }
}


/* v76 role access actions */
#haruMobileApp .hm-menu-tier-middle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}
#haruMobileApp .hm-menu-tier-middle .hm-role-row { min-width: 112px; align-content: start; }
#haruMobileApp .hm-role-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; min-width: 0; }
#haruMobileApp .hm-role-actions > span { grid-column: 1 / -1; color: #006b5f; font-size: 10px; font-weight: 950; }
#haruMobileApp .hm-role-actions button {
  position: relative; overflow: hidden; min-width: 0; min-height: 48px; padding: 8px 7px;
  border: 1px solid rgba(15, 125, 112, 0.15); border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbf8); color: #0d342f; font-family: inherit; text-align: left;
  box-shadow: 0 10px 22px rgba(38, 52, 47, 0.08), inset 0 1px 0 rgba(255,255,255,0.98);
}
#haruMobileApp .hm-role-actions button::before { content: ""; position: absolute; left: 5px; right: 5px; top: 4px; height: 38%; border-radius: 14px 14px 9px 9px; background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,255,255,0)); pointer-events: none; }
#haruMobileApp .hm-role-actions strong, #haruMobileApp .hm-role-actions small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: keep-all; }
#haruMobileApp .hm-role-actions strong { font-size: 11px; font-weight: 950; }
#haruMobileApp .hm-role-actions small { margin-top: 2px; color: #596b66; font-size: 9px; font-weight: 850; }
#haruMobileApp .hm-role-child .hm-role-actions > span { color: #255bab; }
#haruMobileApp .hm-role-child .hm-role-actions button { border-color: rgba(45, 108, 223, 0.17); background: linear-gradient(180deg, #ffffff, #f4f8ff); }
#haruMobileApp .hm-access-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; margin-bottom: 8px; padding: 9px 10px; border: 1px solid rgba(45, 108, 223, 0.14); border-radius: 16px; background: linear-gradient(180deg, #f7faff, #ffffff); }
#haruMobileApp .hm-access-note strong { color: #255bab; font-size: 11px; font-weight: 950; }
#haruMobileApp .hm-access-note span { min-width: 0; color: #465b70; font-size: 10px; font-weight: 850; line-height: 1.25; }
#haruMobileApp .hm-child-self-panel .hm-child-switch { grid-template-columns: 1fr; }
#haruMobileApp .hm-child-self-panel .hm-child-switch button { min-height: 72px; }
@media (max-width: 390px) {
  #haruMobileApp .hm-menu-tier-middle { grid-template-columns: 1fr; gap: 8px; }
  #haruMobileApp .hm-menu-tier-middle .hm-role-row { min-width: 0; }
  #haruMobileApp .hm-role-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #haruMobileApp .hm-role-actions button { min-height: 46px; padding: 8px 6px; }
  #haruMobileApp .hm-role-actions strong { font-size: 10px; }
  #haruMobileApp .hm-role-actions small { font-size: 8px; }
}

/* v77 top status and adaptive child nav */
#haruMobileApp .hm-family-profile-panel {
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  align-items: center;
  grid-auto-rows: minmax(0, auto);
  row-gap: 7px;
}

#haruMobileApp .hm-profile-time-chip {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 125, 112, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #eef9f5 100%);
  color: #006b5f;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
  overflow: visible;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 7px 16px rgba(15, 125, 112, 0.08);
}

#haruMobileApp .hm-role-child .hm-profile-time-chip {
  border-color: rgba(76, 125, 232, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  color: #255fc8;
}

#haruMobileApp .hm-nav.hm-nav-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#haruMobileApp .hm-nav.hm-nav-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#haruMobileApp .hm-nav.hm-nav-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#haruMobileApp .hm-role-child .hm-nav.hm-nav-3 {
  justify-items: stretch;
}

#haruMobileApp .hm-role-child .hm-nav.hm-nav-3 button {
  min-height: 64px;
}

/* v78 click and action color repair */
#haruMobileApp button,
#haruMobileApp [role="button"] {
  touch-action: manipulation;
  cursor: pointer;
}

#haruMobileApp .hm-home-actions .hm-primary,
#haruMobileApp .hm-kid-actions .hm-primary,
#haruMobileApp .hm-action-row .hm-primary {
  border: 1px solid rgba(212, 91, 56, 0.38) !important;
  background: linear-gradient(155deg, #dd6542 0%, #c95131 72%, #a8462d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 26px rgba(212, 91, 56, 0.2), inset 0 1px 0 rgba(255,255,255,0.34) !important;
}

#haruMobileApp .hm-role-child .hm-kid-actions .hm-primary,
#haruMobileApp .hm-role-child .hm-home-actions .hm-primary {
  border-color: rgba(63, 115, 230, 0.35) !important;
  background: linear-gradient(155deg, #3f73e6 0%, #5f8df0 72%, #315ca8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 26px rgba(63, 115, 230, 0.2), inset 0 1px 0 rgba(255,255,255,0.34) !important;
}

#haruMobileApp .hm-home-actions .hm-secondary,
#haruMobileApp .hm-kid-actions .hm-secondary,
#haruMobileApp .hm-action-row .hm-secondary,
#haruMobileApp .hm-secondary.light {
  border: 1px solid rgba(15, 125, 112, 0.18) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%) !important;
  color: #006b5f !important;
  box-shadow: 0 10px 20px rgba(38, 52, 47, 0.08), inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

#haruMobileApp .hm-role-child .hm-kid-actions .hm-secondary,
#haruMobileApp .hm-role-child .hm-home-actions .hm-secondary {
  border-color: rgba(63, 115, 230, 0.2) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%) !important;
  color: #255fc8 !important;
}

#haruMobileApp .hm-home-actions button,
#haruMobileApp .hm-kid-actions button,
#haruMobileApp .hm-action-row button {
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 950;
  letter-spacing: 0;
}

#haruMobileApp .hm-home-actions button::before,
#haruMobileApp .hm-kid-actions button::before,
#haruMobileApp .hm-action-row button::before {
  z-index: -1;
}

#haruMobileApp .hm-home-actions button:active,
#haruMobileApp .hm-kid-actions button:active,
#haruMobileApp .hm-nav button:active,
#haruMobileApp .hm-role-actions button:active {
  transform: translateY(1px) scale(0.985);
}

/* v81 visible route navigation */
#haruMobileApp .hm-page-mode .hm-identity-top,
#haruMobileApp .hm-detail-mode .hm-identity-top {
  margin-bottom: 8px;
}

#haruMobileApp .hm-route-strip {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 54px;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
  padding: 9px 10px;
  border: 1px solid rgba(15, 125, 112, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,251,247,0.94));
  box-shadow: 0 12px 26px rgba(38, 52, 47, 0.08), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-role-child .hm-route-strip {
  border-color: rgba(63, 115, 230, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,255,0.96));
}

#haruMobileApp .hm-route-home,
#haruMobileApp .hm-route-ghost {
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(15, 125, 112, 0.15);
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff, #f4faf7);
  color: #006b5f;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(38, 52, 47, 0.08), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-role-child .hm-route-home,
#haruMobileApp .hm-role-child .hm-route-ghost {
  border-color: rgba(63, 115, 230, 0.18);
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  color: #255fc8;
}

#haruMobileApp .hm-route-strip div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#haruMobileApp .hm-route-strip span {
  color: #0b766a;
  font-size: 10px;
  font-weight: 950;
}

#haruMobileApp .hm-route-strip strong {
  color: #0d342f;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
}

#haruMobileApp .hm-route-strip small {
  min-width: 0;
  overflow: hidden;
  color: #566a63;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-role-child .hm-route-strip span,
#haruMobileApp .hm-role-child .hm-route-strip strong {
  color: #255fc8;
}

#haruMobileApp .hm-page-mode .hm-screen,
#haruMobileApp .hm-detail-mode .hm-screen {
  padding-top: 0;
}

#haruMobileApp .hm-page-mode .hm-return-bar,
#haruMobileApp .hm-detail-mode .hm-return-bar {
  margin-top: 0;
  margin-bottom: 10px;
}

#haruMobileApp .hm-page-mode .hm-section-head,
#haruMobileApp .hm-detail-mode .hm-section-head {
  margin-top: 10px;
}

#haruMobileApp .hm-page-mode .hm-section-head:first-child,
#haruMobileApp .hm-detail-mode .hm-section-head:first-child {
  margin-top: 0;
}

#haruMobileApp .hm-page-mode .hm-section-head h2,
#haruMobileApp .hm-detail-mode .hm-section-head h2 {
  font-size: 20px;
}


/* v82 calendar day timeline recovery */
#haruMobileApp .hm-calendar-day-map {
  padding: 16px;
  overflow: visible;
  border-color: rgba(15, 125, 112, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
}

#haruMobileApp .hm-calendar-day-map .hm-day-board {
  margin-top: 12px;
  border-top: 1px solid rgba(15, 125, 112, 0.1);
}

#haruMobileApp .hm-calendar-day-map .hm-day-lane {
  position: relative;
  min-width: 0;
}

#haruMobileApp .hm-calendar-day-map .hm-day-box.schedule {
  cursor: grab;
  touch-action: manipulation;
}

#haruMobileApp .hm-calendar-day-map .hm-day-box.schedule.selected {
  z-index: 5;
  border-color: rgba(212, 91, 56, 0.72);
  background: linear-gradient(180deg, #fff6ef 0%, #ffffff 100%);
  box-shadow: 0 18px 34px rgba(212, 91, 56, 0.18), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-calendar-day-map.drop-ready {
  outline: 2px solid rgba(15, 125, 112, 0.28);
  outline-offset: 3px;
}

#haruMobileApp .hm-day-empty.timeline {
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px dashed rgba(15, 125, 112, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: #455952;
}

#haruMobileApp .hm-day-empty.timeline strong {
  color: #006b5f;
  font-size: 15px;
  font-weight: 950;
}

#haruMobileApp .hm-day-empty.timeline span {
  font-size: 12px;
  font-weight: 800;
}

#haruMobileApp .hm-day-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

#haruMobileApp .hm-calendar-day-map .hm-move-hint {
  margin: 10px 0 8px;
}

@media (max-width: 390px) {
  #haruMobileApp .hm-calendar-day-map {
    padding: 14px;
  }

  #haruMobileApp .hm-calendar-day-map .hm-day-board {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  #haruMobileApp .hm-calendar-day-map .hm-hour-grid {
    left: 48px !important;
  }

  #haruMobileApp .hm-calendar-day-map .hm-day-box.schedule {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 86px !important;
  }
}

/* v88 route stability, clipping, and premium compact controls */
#haruMobileApp,
#haruMobileApp * {
  box-sizing: border-box;
}

#haruMobileApp .hm-nav button,
#haruMobileApp .hm-role-actions button,
#haruMobileApp .hm-child-switch button,
#haruMobileApp .hm-action-row button,
#haruMobileApp .hm-home-actions button,
#haruMobileApp .hm-kid-actions button,
#haruMobileApp .hm-button {
  min-width: 0;
}

#haruMobileApp .hm-nav .hm-nav-copy,
#haruMobileApp .hm-nav .hm-nav-copy strong,
#haruMobileApp .hm-nav .hm-nav-copy small,
#haruMobileApp .hm-profile-copy,
#haruMobileApp .hm-profile-copy strong,
#haruMobileApp .hm-profile-copy small,
#haruMobileApp .hm-child-copy,
#haruMobileApp .hm-child-copy strong,
#haruMobileApp .hm-child-copy span,
#haruMobileApp .hm-child-copy small,
#haruMobileApp .hm-card h2,
#haruMobileApp .hm-card h3,
#haruMobileApp .hm-card p,
#haruMobileApp .hm-card small,
#haruMobileApp .hm-card strong {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

#haruMobileApp .hm-nav .hm-nav-copy strong,
#haruMobileApp .hm-nav .hm-nav-copy small,
#haruMobileApp .hm-profile-copy strong,
#haruMobileApp .hm-profile-copy small,
#haruMobileApp .hm-child-copy strong,
#haruMobileApp .hm-child-copy span,
#haruMobileApp .hm-child-copy small {
  white-space: nowrap;
}

#haruMobileApp .hm-nav {
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  width: auto;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

#haruMobileApp .hm-nav button {
  overflow: hidden;
}

#haruMobileApp .hm-nav .hm-nav-copy {
  overflow: hidden;
  padding: 0 2px;
}

#haruMobileApp .hm-nav .hm-nav-copy strong {
  font-size: 11px;
  letter-spacing: 0;
}

#haruMobileApp .hm-nav .hm-nav-copy small {
  font-size: 8px;
}

#haruMobileApp .hm-identity-split {
  gap: 8px;
}

#haruMobileApp .hm-brand-card,
#haruMobileApp .hm-profile-panel,
#haruMobileApp .hm-family-profile-panel {
  min-width: 0;
  overflow: hidden;
}

#haruMobileApp .hm-family-profile-panel .hm-profile-time-chip {
  overflow: hidden;
  text-overflow: ellipsis;
}

#haruMobileApp .hm-action-row,
#haruMobileApp .hm-home-actions,
#haruMobileApp .hm-kid-actions {
  gap: 8px;
}

#haruMobileApp .hm-action-row button,
#haruMobileApp .hm-home-actions button,
#haruMobileApp .hm-kid-actions button,
#haruMobileApp .hm-role-actions button {
  border-radius: 17px;
  box-shadow: 0 10px 22px rgba(38, 52, 47, 0.09), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-role-child .hm-action-row button,
#haruMobileApp .hm-role-child .hm-home-actions button,
#haruMobileApp .hm-role-child .hm-kid-actions button,
#haruMobileApp .hm-role-child .hm-role-actions button {
  box-shadow: 0 10px 22px rgba(45, 108, 223, 0.1), inset 0 1px 0 rgba(255,255,255,0.96);
}

@media (max-width: 390px) {
  #haruMobileApp .hm-nav {
    gap: 6px;
    padding: 8px 8px 9px;
  }

  #haruMobileApp .hm-nav button {
    min-height: 60px;
    padding: 7px 2px 6px;
  }

  #haruMobileApp .hm-nav .hm-nav-icon,
  #haruMobileApp .hm-nav button span.hm-nav-icon {
    width: 29px;
    height: 29px;
  }

  #haruMobileApp .hm-nav .hm-nav-copy strong {
    font-size: 10px;
  }

  #haruMobileApp .hm-nav .hm-nav-copy small {
    font-size: 7.5px;
  }
}

/* v90 calm navigation and scroll stability */
#haruMobileApp .hm-nav button,
#haruMobileApp .hm-nav button.active,
#haruMobileApp .hm-role-child .hm-nav button.active {
  transform: none !important;
}

#haruMobileApp .hm-nav button {
  transition: border-color 100ms ease, background 100ms ease, box-shadow 100ms ease, color 100ms ease;
}

#haruMobileApp .hm-route-strip,
#haruMobileApp .hm-return-bar,
#haruMobileApp .hm-screen,
#haruMobileApp .hm-app-frame {
  scroll-margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  #haruMobileApp *,
  #haruMobileApp *::before,
  #haruMobileApp *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* v91 weekday selection feedback */
#haruMobileApp .hm-weekday-picks button {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  gap: 1px;
  padding: 5px 10px;
}

#haruMobileApp .hm-weekday-picks button strong {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

#haruMobileApp .hm-weekday-picks button small {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
  color: inherit;
}

#haruMobileApp .hm-weekday-picks button.active {
  min-width: 50px;
  box-shadow: 0 15px 30px rgba(15, 125, 112, 0.28), inset 0 1px 0 rgba(255,255,255,0.42) !important;
}

#haruMobileApp .hm-picked-days {
  display: grid;
  gap: 3px;
  margin: 8px 0 2px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 125, 112, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(232, 247, 241, 0.94), rgba(255,255,255,0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 8px 18px rgba(38, 52, 47, 0.06);
}

#haruMobileApp .hm-picked-days span {
  color: #087568;
  font-size: 10px;
  font-weight: 950;
}

#haruMobileApp .hm-picked-days strong {
  min-width: 0;
  overflow: hidden;
  color: #0d342f;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-picked-days small {
  color: #5d6e68;
  font-size: 11px;
  font-weight: 850;
}

#haruMobileApp .hm-day.active {
  border-color: rgba(15, 125, 112, 0.5);
  background: linear-gradient(150deg, #0b766a 0%, #169181 100%);
  box-shadow: 0 14px 26px rgba(15, 125, 112, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

#haruMobileApp .hm-day.active strong,
#haruMobileApp .hm-day.active span {
  color: #ffffff;
}

#haruMobileApp .hm-day.picked {
  border-color: rgba(217, 154, 32, 0.42) !important;
  background: linear-gradient(180deg, #fffdf5, #ffffff) !important;
  box-shadow: 0 12px 22px rgba(217, 154, 32, 0.12), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-day.picked em {
  display: block;
  margin-top: 2px;
  color: #b37308;
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

#haruMobileApp .hm-day.active.picked {
  border-color: rgba(15, 125, 112, 0.48) !important;
  background: linear-gradient(150deg, #0b766a 0%, #169181 76%, #d99a20 150%) !important;
  color: #ffffff !important;
}

#haruMobileApp .hm-day.active.picked span,
#haruMobileApp .hm-day.active.picked em,
#haruMobileApp .hm-day.active.picked strong {
  color: #ffffff !important;
}

#haruMobileApp .hm-week-day-card.picked {
  border-color: rgba(217, 154, 32, 0.45) !important;
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%) !important;
  box-shadow: 0 14px 28px rgba(217, 154, 32, 0.12), inset 0 1px 0 rgba(255,255,255,0.96);
}

#haruMobileApp .hm-week-column-head em.picked {
  background: linear-gradient(180deg, #fff2ce, #ffe4a6);
  color: #9b6400;
}

#haruMobileApp .hm-role-child .hm-picked-days {
  border-color: rgba(45, 108, 223, 0.18);
  background: linear-gradient(180deg, rgba(241, 247, 255, 0.96), rgba(255,255,255,0.96));
}

#haruMobileApp .hm-role-child .hm-picked-days span,
#haruMobileApp .hm-role-child .hm-picked-days strong {
  color: #255fc8;
}

/* v91 weekday text height repair */
#haruMobileApp .hm-weekday-picks button strong,
#haruMobileApp .hm-day strong {
  overflow: visible !important;
  line-height: 1.18 !important;
}

#haruMobileApp .hm-weekday-picks button {
  align-content: center;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* v92 calendar action cleanup */
#haruMobileApp .hm-calendar-action-single {
  margin-top: 8px;
  margin-bottom: 10px;
}

#haruMobileApp .hm-calendar-action-single .hm-calendar-actions {
  grid-template-columns: 1fr;
}

#haruMobileApp .hm-calendar-action-single .hm-calendar-actions button {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  text-align: left;
}

#haruMobileApp .hm-calendar-action-single .hm-calendar-actions button::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  grid-row: 1 / span 2;
  border-radius: 12px;
  background: rgba(255,255,255,0.22);
  color: inherit;
  font-size: 18px;
  font-weight: 950;
}

#haruMobileApp .hm-calendar-action-single .hm-calendar-actions button strong,
#haruMobileApp .hm-calendar-action-single .hm-calendar-actions button small {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-calendar-action-single .hm-calendar-actions button strong {
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-calendar-action-single .hm-calendar-actions button small {
  font-size: 10px;
  font-weight: 850;
  opacity: 0.86;
}

#haruMobileApp .hm-schedule-form {
  margin-top: 8px;
}


/* v93 foldable menu sections */
#haruMobileApp .hm-fold-section {
  margin: 10px 0;
}

#haruMobileApp .hm-fold-head {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 125, 112, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
  color: #0d342f;
  font-family: inherit;
  text-align: left;
  box-shadow:
    0 10px 22px rgba(38, 52, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

#haruMobileApp .hm-fold-head:active {
  transform: translateY(1px);
}

#haruMobileApp .hm-fold-head span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#haruMobileApp .hm-fold-head strong,
#haruMobileApp .hm-fold-head small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-fold-head strong {
  font-size: 14px;
  font-weight: 950;
}

#haruMobileApp .hm-fold-head small {
  color: #5d6e68;
  font-size: 10px;
  font-weight: 850;
}

#haruMobileApp .hm-fold-head em {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #e7f5f0, #d8eee7);
  color: #087568;
  font-style: normal;
  font-size: 20px;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 16px rgba(15, 125, 112, 0.12);
}

#haruMobileApp .hm-fold-section.open .hm-fold-head {
  border-color: rgba(15, 125, 112, 0.28);
}

#haruMobileApp .hm-fold-section.closed .hm-fold-head {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf4 100%);
}

#haruMobileApp .hm-fold-body {
  margin-top: 8px;
}

#haruMobileApp .hm-fold-body > .hm-section:first-child,
#haruMobileApp .hm-fold-body > .hm-section-head:first-child {
  margin-top: 0;
}

#haruMobileApp .hm-fold-body > .hm-section:last-child {
  margin-bottom: 0;
}

#haruMobileApp .hm-role-child .hm-fold-head {
  border-color: rgba(45, 108, 223, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

#haruMobileApp .hm-role-child .hm-fold-head em {
  background: linear-gradient(180deg, #edf4ff, #dce9ff);
  color: #255fc8;
}


/* v99 owner context and default emoji avatars */
#haruMobileApp .hm-emoji-avatar {
  font-size: 23px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(15, 125, 112, 0.12)),
    linear-gradient(135deg, #0f7d70, #4c9b82);
  color: #0d342f;
}

#haruMobileApp .hm-emoji-avatar > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: translateY(1px);
}

#haruMobileApp .hm-child-thumb.hm-emoji-avatar {
  font-size: 24px;
}

#haruMobileApp .hm-logo.hm-emoji-avatar {
  font-size: 22px;
}

#haruMobileApp .hm-member-thumb.hm-emoji-avatar {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #eef8f3, #dce9e3);
  color: #16433d;
}

#haruMobileApp .hm-today-owner-section {
  margin-top: 8px;
}

#haruMobileApp .hm-today-owner-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-color: rgba(63, 115, 230, 0.2);
  background: linear-gradient(135deg, rgba(239, 247, 255, 0.94), rgba(247, 252, 248, 0.96));
}

#haruMobileApp .hm-today-owner-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#haruMobileApp .hm-today-owner-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  flex: 0 0 52px;
  box-shadow: 0 14px 26px rgba(63, 115, 230, 0.14);
}

#haruMobileApp .hm-today-owner-card h3 {
  margin: 5px 0 3px;
  font-size: 20px;
  line-height: 1.2;
  color: #082f2a;
}

#haruMobileApp .hm-today-owner-card p,
#haruMobileApp .hm-today-owner-card small {
  display: block;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-today-owner-card p {
  font-size: 12px;
  font-weight: 800;
  color: #365a53;
}

#haruMobileApp .hm-today-owner-card small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  color: #087a70;
}

#haruMobileApp .hm-today-owner-action {
  min-height: 40px;
  padding-inline: 12px;
  white-space: nowrap;
}

@media (max-width: 390px) {
  #haruMobileApp .hm-today-owner-card {
    grid-template-columns: 1fr;
  }

  #haruMobileApp .hm-today-owner-action {
    width: 100%;
  }
}

/* v99 avatar clipping refinement */
#haruMobileApp .hm-emoji-avatar > span {
  font-size: 0.82em;
  line-height: 1;
  overflow: visible;
}

#haruMobileApp .hm-child-thumb.hm-emoji-avatar {
  font-size: 22px;
}

#haruMobileApp .hm-person-panel .hm-child-thumb.hm-emoji-avatar,
#haruMobileApp .hm-child-switch .hm-child-thumb.hm-emoji-avatar {
  font-size: 20px;
}

#haruMobileApp .hm-profile-panel .hm-identity-photo .hm-logo.hm-emoji-avatar {
  font-size: 19px;
}
/* v99 avatar glyph metric fix */
#haruMobileApp .hm-emoji-avatar > span {
  display: block;
  width: auto;
  height: auto;
  line-height: 1.15;
}
#haruMobileApp .hm-day-board .hm-now-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 2px solid #e2483f;
  z-index: 6;
  pointer-events: none;
}

#haruMobileApp .hm-day-board .hm-now-line::before {
  content: "";
  position: absolute;
  left: 52px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e2483f;
  box-shadow: 0 0 0 3px rgba(226, 72, 63, 0.18);
}

#haruMobileApp .hm-day-board .hm-now-line span {
  position: absolute;
  left: 64px;
  top: -10px;
  background: #e2483f;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.4;
  white-space: nowrap;
}

#hm-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(circle at 50% 38%, #123b35 0%, #0d211d 45%, #101615 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#hm-splash.hm-splash-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#hm-splash .hm-splash-mark {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: linear-gradient(150deg, #0b766a 0%, #169181 55%, #d99a20 100%);
  box-shadow: 0 18px 40px rgba(11, 118, 106, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: hm-splash-pop 0.7s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

#hm-splash .hm-splash-mark svg {
  width: 56%;
  height: 56%;
}

#hm-splash .hm-splash-word {
  color: #ffffff;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: 0.5px;
  animation: hm-splash-fade 0.6s ease 0.25s both;
}

#hm-splash .hm-splash-tagline {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  animation: hm-splash-fade 0.6s ease 0.4s both;
}

@keyframes hm-splash-pop {
  0% { opacity: 0; transform: scale(0.75); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes hm-splash-fade {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

#haruMobileApp .hm-topbar.hm-identity-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#haruMobileApp .hm-brand-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 2px 0;
}

#haruMobileApp .hm-brand-strip-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: linear-gradient(150deg, #0b766a 0%, #169181 55%, #d99a20 100%);
  box-shadow: 0 4px 10px rgba(15, 125, 112, 0.25);
  flex: 0 0 auto;
}

#haruMobileApp .hm-brand-strip-mark svg {
  width: 60%;
  height: 60%;
  display: block;
}

#haruMobileApp .hm-brand-strip-name {
  color: var(--hm-deep);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.2px;
}

#haruMobileApp .hm-family-profile-full {
  width: 100%;
  box-sizing: border-box;
}

#haruMobileApp .hm-profile-next-event {
  display: block;
  margin-top: 4px;
  color: var(--hm-green);
  font-size: 10.5px;
  font-weight: 850;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#haruMobileApp .hm-family-profile-full {
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(15, 125, 112, 0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}

#haruMobileApp .hm-family-profile-full .hm-profile-copy span {
  font-size: 11px;
}

#haruMobileApp .hm-family-profile-full .hm-profile-copy strong {
  font-size: 18px;
}

#haruMobileApp .hm-family-profile-full .hm-profile-copy small {
  font-size: 12px;
}

#haruMobileApp .hm-family-profile-full .hm-profile-next-event {
  font-size: 11.5px;
  margin-top: 6px;
}

#haruMobileApp .hm-family-profile-full .hm-identity-photo,
#haruMobileApp .hm-family-profile-full .hm-topbar-photo-button.hm-identity-photo {
  width: 66px;
  height: 66px;
  min-width: 66px;
  border-radius: 22px;
  box-shadow: 0 6px 14px rgba(15, 125, 112, 0.18);
}

#haruMobileApp .hm-family-profile-full .hm-identity-photo .hm-logo {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  font-size: 25px;
}
