
#page-homemaker{
  background:#FFFCF7; font-family:'Nunito',system-ui,sans-serif;
  padding-top:0 !important; padding-bottom:40px;   /* hero sits flush against the header */
}
/* NB: renamed from .hm-hero — that class already belongs to the HOMEPAGE and paints a
   navy gradient with !important. "hmk-" also avoids the global [class*="-hero"] trap. */
.hmk-top{
  position:relative; width:100%; margin:0;
  padding:0 !important;          /* beats the global `section { padding: ... }` rule */
  background:none !important; border-radius:0 !important;
  line-height:0;                 /* kills the inline-image gap under the hero */
}
.hm-back{
  position:absolute; top:20px; left:20px; z-index:5; display:inline-flex; align-items:center; gap:6px;
  background:#243447; border:none; color:#fff !important; -webkit-text-fill-color:#fff !important;
  padding:10px 16px; border-radius:999px; font:inherit; font-weight:700; font-size:.8rem;
  cursor:pointer; min-height:44px; box-shadow:0 6px 16px rgba(36,52,71,.24);
}
.hm-back svg{ width:15px; height:15px; }
.hmk-top img{
  display:block; width:100%; height:auto; aspect-ratio:2/1;
  object-fit:cover; object-position:center;
  border-radius:0; box-shadow:none;     /* full-bleed: fills the top of the page */
}
.hm-cta{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
  max-width:1240px; margin:0 auto; padding:20px 20px 4px;
}
.hm-note{
  text-align:center; font-family:'Caveat',cursive; font-size:1.35rem; margin:10px 0 0;
  color:#7d9e77 !important; -webkit-text-fill-color:#7d9e77 !important;
}
.hm-btn{
  background:#243447; border:2px solid #243447; border-radius:999px;
  padding:13px 26px; min-height:48px; font:inherit; font-weight:800; font-size:.95rem;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  cursor:pointer; transition:transform .12s ease, background .16s ease;
}
.hm-btn:hover{ background:#31465F; }
.hm-btn:active{ transform:scale(.97); }
.hm-btn--soft{
  background:#fff; border-color:#EAE2D4;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.hm-btn--soft:hover{ border-color:#7d9e77; background:#FBF6EC; }
.hm-btn--mic{ background:#7d9e77; border-color:#7d9e77; }
.hm-btn--mic:hover{ background:#6b8c66; }
.hm-btn:focus-visible,.hm-back:focus-visible{ outline:3px solid #CF9E3F; outline-offset:2px; }

.hm-wrap{ max-width:1240px; margin:0 auto; padding:26px 20px 20px; }
.hm-greet{
  font-family:'Playfair Display',serif; font-size:clamp(1.5rem,2.8vw,2rem); margin:0 0 4px;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.hm-greet-p{ color:#78766c !important; -webkit-text-fill-color:#78766c !important; margin:0 0 20px; }

/* nav */
.hm-nav{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.hm-nb{
  background:#fff; border:1.5px solid #EAE2D4; border-radius:999px;
  padding:10px 18px; min-height:44px; font:inherit; font-weight:700; font-size:.88rem;
  color:#5E7E57 !important; -webkit-text-fill-color:#5E7E57 !important; cursor:pointer;
}
.hm-nb.on{ background:#5E7E57; border-color:#5E7E57; color:#fff !important; -webkit-text-fill-color:#fff !important; }
.hm-nb:focus-visible{ outline:3px solid #CF9E3F; outline-offset:2px; }

/* summary */
.hm-sum{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-bottom:22px; }
.hm-s{
  background:#fff; border:1px solid #EAE2D4; border-radius:18px; padding:16px 18px;
}
.hm-s b{
  display:block; font-family:'Playfair Display',serif; font-size:1.7rem; line-height:1.1;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.hm-s span{ display:block; font-size:.8rem; margin-top:3px;
  color:#78766c !important; -webkit-text-fill-color:#78766c !important; }
.hm-ring{
  background:#fff; border:1px solid #EAE2D4; border-radius:18px; padding:16px 18px;
  display:flex; flex-direction:column; gap:10px; min-width:0;
}
/* The sub-line wrapped to three lines beside the ring, which made the tile
   taller than its neighbours. Shrinking the ring and tightening the copy gives
   it room to sit on two. */
.hm-ring-b{ display:flex; align-items:center; gap:12px; min-width:0; }
.hm-ring-b > span{ min-width:0; font-size:.76rem; line-height:1.35; }
.hm-ring span{ overflow-wrap:break-word; }
.hm-ring svg{ width:52px; height:52px; flex:none; }
/* One word, one line — never wraps, matching the other summary tiles. */
.hm-ring b{
  display:block; font-family:'Playfair Display',serif; font-size:1.1rem; line-height:1.2;
  white-space:nowrap;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important; }
.hm-ring span{ font-size:.8rem; color:#78766c !important; -webkit-text-fill-color:#78766c !important; }

/* panels */
.hm-panel{
  background:#fff; border:1px solid #EAE2D4; border-radius:22px; padding:24px; margin-bottom:20px;
  box-shadow:0 6px 20px rgba(51,64,47,.04);
}
.hm-panel-h{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
#page-homemaker h3.hm-h3{
  font-family:'Playfair Display',serif; font-size:1.3rem; margin:0;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}

/* task rows */
.hm-task{
  display:flex; align-items:flex-start; gap:12px; padding:14px 0; border-bottom:1px solid #F4F1E8;
}
.hm-task:last-child{ border-bottom:none; }
/* 44px hit area (WCAG) with a 26px visual circle inside it */
.hm-cb{
  flex:none; position:relative; width:44px; height:44px; margin:-9px 0 0 -9px;
  border:none; background:none; cursor:pointer; padding:0;
  display:grid; place-items:center; font-size:0; color:transparent;
}
.hm-cb::before{
  content:''; width:26px; height:26px; border-radius:50%;
  border:2px solid #C9C3B2; background:#fff;
  transition:transform .18s cubic-bezier(.2,.9,.3,1.4), background .18s ease, border-color .18s ease;
}
.hm-cb:hover::before{ border-color:#7d9e77; }
.hm-cb:focus-visible{ outline:3px solid #CF9E3F; outline-offset:-4px; border-radius:50%; }
.hm-cb.done::before{ background:#7d9e77; border-color:#7d9e77; transform:scale(1.08); }
.hm-cb.done::after{
  content:'✓'; position:absolute; font-size:.8rem; font-weight:900;
  color:#fff; -webkit-text-fill-color:#fff;
}
.hm-t-main{ flex:1; min-width:0; }
.hm-t-main b{
  display:block; font-size:1rem; color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.hm-task.is-done .hm-t-main b{ text-decoration:line-through; color:#a8a496 !important; -webkit-text-fill-color:#a8a496 !important; }
.hm-t-meta{ display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.hm-t-meta span{
  font-size:.72rem; font-weight:700; border-radius:999px; padding:3px 9px;
  background:#F4F1E8; color:#78766c !important; -webkit-text-fill-color:#78766c !important;
}
.hm-t-meta .who{ background:#EAF1E4; color:#4d6a47 !important; -webkit-text-fill-color:#4d6a47 !important; }
.hm-t-meta .pts{ background:#FBF1DC; color:#8a6d2f !important; -webkit-text-fill-color:#8a6d2f !important; }
.hm-t-meta .hi{ background:#F7E4DC; color:#a8502a !important; -webkit-text-fill-color:#a8502a !important; }
.hm-t-meta .rot{ background:#F3E1E5; color:#9c5d70 !important; -webkit-text-fill-color:#9c5d70 !important; }
.hm-menu{
  flex:none; background:none; border:none; cursor:pointer; width:44px; height:44px; border-radius:50%;
  font-size:1.1rem; color:#a8a496 !important; -webkit-text-fill-color:#a8a496 !important;
}
.hm-menu:hover{ background:#F4F1E8; }
.hm-menu:focus-visible{ outline:3px solid #CF9E3F; outline-offset:2px; }

.hm-empty{
  background:#FBF6EC; border:1px dashed #EAE2D4; border-radius:18px; padding:30px; text-align:center;
  color:#78766c !important; -webkit-text-fill-color:#78766c !important;
}
.hm-store{
  font-size:.76rem; text-align:center; margin:0 0 10px;
  color:#a8a496 !important; -webkit-text-fill-color:#a8a496 !important;
}
@media (max-width:600px){
  .hmk-top{ padding:0; }
  .hm-back{ top:14px; left:14px; }
  .hm-cta{ flex-direction:column; padding:16px 14px 0; }
  .hm-cta .hm-btn{ width:100%; }
  .hm-wrap{ padding:20px 14px; }
  .hm-panel{ padding:18px; }
}
@media (prefers-reduced-motion:reduce){
  .hm-cb,.hm-btn{ transition:none !important; }
}
