/* Harvest Hatch | reader-reviewed refinements | 2026-10-28
   This stylesheet is intentionally loaded last; all headings and captions remain HTML. */

/* 1. Five empathy scenes: show the FULL illustrated thinking bubble instead of cutting an image thumbnail. */
body.hatch-premium #concerns .chat-thread { max-width:1100px!important; gap:24px!important; }
body.hatch-premium #concerns .chat-message {
  align-items:center!important; gap:0!important; min-height:0!important;
  overflow:visible!important; padding:4px 0!important;
}
body.hatch-premium #concerns .chat-avatar {
  flex:0 0 43%!important; width:43%!important; height:auto!important; max-width:none!important;
  aspect-ratio:auto!important; overflow:visible!important; background:transparent!important;
  border:0!important; border-radius:23px!important; box-shadow:none!important;
}
body.hatch-premium #concerns .chat-avatar img {
  display:block!important; width:100%!important; height:auto!important; max-height:none!important;
  aspect-ratio:auto!important; object-fit:contain!important; object-position:center!important;
  border-radius:20px!important; filter:none!important;
}
body.hatch-premium #concerns .chat-bubble {
  flex:1 1 auto!important; width:auto!important; z-index:2!important;
  padding:23px 27px!important; min-height:0!important;
  border:1px solid #d3ede2!important;
  background:linear-gradient(125deg,#fff,#f5fcf9)!important;
}
body.hatch-premium #concerns .chat-message.is-left .chat-bubble {margin-left:-7px!important;}
body.hatch-premium #concerns .chat-message.is-right .chat-bubble {margin-right:-7px!important;}

/* 2. Never chop heads or hands from everyday-life usage scenes. The 5 assets are made for this ratio. */
body.hatch-premium #infrastructure .daily-services-grid img {
  display:block!important; width:100%!important; height:auto!important;
  aspect-ratio:8/5!important; object-fit:contain!important; object-position:center!important;
  background:#f7fbf8!important; border-radius:14px!important;
}

/* 3. Informational picture cards: consistent high-resolution illustration windows. */
body.hatch-premium #lab .v12-pod-point img,
body.hatch-premium #schedule .v12-phase-card img,
body.hatch-premium #career .career-step img,
body.hatch-premium #career .field-branches img,
body.hatch-premium #flow .enrollment-steps img {
  display:block!important; width:100%!important; height:auto!important; max-height:none!important;
  aspect-ratio:8/5!important; object-fit:contain!important; object-position:center!important;
  border-radius:16px!important; background:#f4faf6!important;
}
body.hatch-premium #schedule .v12-phase-card,
body.hatch-premium #career .career-step,
body.hatch-premium #career .field-branches article {
  display:flex!important; flex-direction:column!important; min-width:0!important;
}
body.hatch-premium #schedule .v12-phase-card h4 { margin-top:12px!important; }
body.hatch-premium #career .career-step h3,
body.hatch-premium #career .field-branches article h4 { margin-top:15px!important; }
body.hatch-premium #flow .enrollment-steps>li>div {
  display:flex!important; flex-direction:column!important; min-width:0!important;
}
body.hatch-premium #flow .enrollment-steps img {margin:0 0 14px!important;}
body.hatch-premium #flow .enrollment-steps h3 {margin-top:0!important;}

/* 4. CCNA hero: make the naturally posed, higher-resolution standalone frame visible. */
body.hatch-premium #ccna .ccna-intro-art img {
  display:block!important; width:100%!important; height:auto!important;
  aspect-ratio:1.44!important; object-fit:contain!important; object-position:center!important;
  border-radius:19px!important; max-height:540px!important;
}

/* 5. Correct the overlong marker for “学んだ知識は、次の一歩を支える。” */
body.hatch-premium #ccna .ccna-benefit-section>.mini-heading.hh-center-heading h3.leaf-highlight {
  display:inline-block!important; width:fit-content!important; max-width:calc(100% - 24px)!important;
  flex:none!important; margin:4px auto 14px!important; padding-inline:.15em!important;
}
body.hatch-premium #ccna .ccna-benefit-section>.mini-heading.hh-center-heading h3.leaf-highlight::after {
  left:4%!important; right:4%!important; height:.15em!important; bottom:.09em!important;
}

/* 6. The completion interview is unnumbered but has the exact image/text columns of 01–05. */
body.hatch-premium #curriculum .after-learning {
  display:grid!important; grid-template-columns:56px 195px minmax(0,1fr)!important;
  align-items:center!important; gap:20px!important;
  padding:14px 22px!important; text-align:left!important;
}
body.hatch-premium #curriculum .after-learning .hh-blank-stage-marker {
  grid-column:1!important; width:47px;height:47px;visibility:hidden!important;
}
body.hatch-premium #curriculum .after-learning .hh-career-interview-art {
  grid-column:2!important; grid-row:1!important; width:100%!important;
  aspect-ratio:8/5!important; height:auto!important; object-fit:contain!important;
}
body.hatch-premium #curriculum .after-learning h3,
body.hatch-premium #curriculum .after-learning p {grid-column:3!important; margin:0!important;}
body.hatch-premium #curriculum .after-learning h3 {grid-row:1!important; align-self:start!important;}
body.hatch-premium #curriculum .after-learning p {grid-row:1!important;align-self:end!important;padding-top:37px!important;}

/* 7. Next cohort announcement: illustration and text get balanced room. */
body.hatch-premium #schedule .next-cohort-body {
  display:grid!important; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;
  align-items:center!important; gap:30px!important; padding:22px!important;
}
body.hatch-premium #schedule .next-cohort-body>img {
  display:block!important; width:100%!important;max-width:none!important; height:auto!important;
  max-height:350px!important; aspect-ratio:8/5!important;
  object-fit:contain!important; border-radius:19px!important;
}
body.hatch-premium #schedule .next-cohort-body>div {min-width:0!important;}
body.hatch-premium #schedule .next-cohort-body h4 {font-size:clamp(19px,2.2vw,28px)!important;line-height:1.5!important;}
body.hatch-premium #schedule .next-cohort-body p {font-size:clamp(15px,1.24vw,18px)!important;line-height:1.85!important;}

/* 8. The schedule agenda uses real scenes, not tiny icons enlarged to photos. */
body.hatch-premium #schedule .agenda-art {
  width:175px!important; height:120px!important; max-width:35%!important;
  object-fit:cover!important; object-position:center!important;
  border-radius:14px!important;
}

@media(max-width:760px){
  body.hatch-premium #concerns .chat-message,
  body.hatch-premium #concerns .chat-message.is-left,
  body.hatch-premium #concerns .chat-message.is-right {
    flex-direction:column!important; align-items:stretch!important; gap:0!important;
  }
  body.hatch-premium #concerns .chat-avatar {
    width:100%!important; flex:0 0 auto!important; height:auto!important;
    max-width:none!important; aspect-ratio:auto!important;
  }
  body.hatch-premium #concerns .chat-avatar img {
    width:100%!important; height:auto!important; aspect-ratio:auto!important;
    object-fit:contain!important; max-height:none!important;
  }
  body.hatch-premium #concerns .chat-bubble,
  body.hatch-premium #concerns .chat-message.is-left .chat-bubble,
  body.hatch-premium #concerns .chat-message.is-right .chat-bubble {
    margin:-13px auto 0!important; width:95%!important; padding:17px 18px!important;
  }
  body.hatch-premium #curriculum .after-learning {
    grid-template-columns:47px minmax(0,1fr)!important;gap:9px 13px!important; padding:15px!important;
  }
  body.hatch-premium #curriculum .after-learning .hh-blank-stage-marker {grid-column:1!important;grid-row:1!important;}
  body.hatch-premium #curriculum .after-learning .hh-career-interview-art {
    grid-column:2!important;grid-row:1!important;max-width:none!important;width:100%!important;
  }
  body.hatch-premium #curriculum .after-learning h3,
  body.hatch-premium #curriculum .after-learning p {
    grid-column:1/-1!important;grid-row:auto!important;align-self:auto!important;padding:0!important;
  }
  body.hatch-premium #schedule .next-cohort-body {grid-template-columns:1fr!important;gap:12px!important;padding:16px!important;}
  body.hatch-premium #schedule .next-cohort-body>img {max-height:none!important;}
  body.hatch-premium #schedule .agenda-art {width:125px!important;height:91px!important;max-width:36%!important;}
  body.hatch-premium #ccna .ccna-intro-art img {max-height:none!important;}
}

/* Final pixel-level alignment of the unnumbered post-course interview. */
@media(min-width:761px){
 body.hatch-premium #curriculum .after-learning {
   grid-template-columns:48px 195px minmax(0,1fr)!important;
   column-gap:8px!important; padding:14px 15px!important;
 }
 body.hatch-premium #curriculum .after-learning .hh-career-interview-art {
   max-width:none!important;min-width:0!important;
 }
 body.hatch-premium #curriculum .after-learning h3,
 body.hatch-premium #curriculum .after-learning p{grid-column:3!important;}
}
@media(max-width:760px){
 body.hatch-premium #curriculum .parallel-support {
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   position:relative!important;padding:12px!important;gap:10px!important;
 }
 body.hatch-premium #curriculum .parallel-support .hh-curriculum-number {
   position:absolute!important;z-index:2!important;left:15px!important;top:15px!important;
   width:35px!important;height:35px!important;font-size:14px!important;
 }
 body.hatch-premium #curriculum .parallel-support .support-side-icon,
 body.hatch-premium #curriculum .parallel-support>div:last-child{
   width:100%!important;min-width:0!important;flex:0 0 auto!important;
 }
 body.hatch-premium #curriculum .parallel-support .support-side-icon img {
   width:100%!important;max-width:none!important;max-height:none!important;
   height:auto!important;aspect-ratio:8/5!important;object-fit:contain!important;
 }
 body.hatch-premium #curriculum .after-learning {
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   padding:12px!important;gap:10px!important;
 }
 body.hatch-premium #curriculum .after-learning .hh-blank-stage-marker {display:none!important;}
 body.hatch-premium #curriculum .after-learning .hh-career-interview-art {
   width:100%!important;max-width:none!important;height:auto!important;
   aspect-ratio:8/5!important;object-fit:contain!important;
 }
 body.hatch-premium #curriculum .after-learning h3,
 body.hatch-premium #curriculum .after-learning p {
   grid-column:auto!important;grid-row:auto!important; margin:0!important;
 }
}
