/* C-20261109-05: Heaven management-screen entrance and daily operation guide.
   Shared mobile table/button/image handling stays in blog-mobile.css/js. */
.hk-page {
  --pd-accent: #74466a;
  --pd-accent-dark: #4f2e49;
  --pd-green: #1f5b52;
}
.hk-page .pd-hero {
  background:
    radial-gradient(circle at 90% 8%, rgba(31, 91, 82, .12), transparent 25rem),
    linear-gradient(145deg, #fff 0%, #fff 52%, #f4f0e8 100%);
}
.hk-page .pd-hero h1 { max-width: 940px; }
.hk-title-phrase { white-space: nowrap; }
.hk-page section[id] { scroll-margin-top: 84px; }
.hk-page .pd-reading > p:not([class]) { margin: 18px 0; font-size: 16px; line-height: 1.92; }
.hk-hero-photo img {
  aspect-ratio: 900 / 360;
  object-fit: cover;
  object-position: center 43%;
}

.hk-entry-quick {
  width: min(100%, 850px);
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid #d9d2c5;
  border-radius: 13px;
  background: #fff;
}
.hk-entry-quick table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.hk-entry-quick caption {
  padding: 7px 11px;
  background: #222d42;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-align: left;
}
.hk-entry-quick th,
.hk-entry-quick td { padding: 7px 10px; border-bottom: 1px solid #ece7de; font-size: 13px; line-height: 1.45; text-align: left; }
.hk-entry-quick tr:last-child > * { border-bottom: 0; }
.hk-entry-quick th { width: 6.8em; background: #f6f2e9; color: #172033; font-weight: 900; }
.hk-entry-quick td:last-child { width: 6em; text-align: center; }
.hk-entry-quick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1f5b52;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.hk-entry-table a,
.hk-page .pd-faq a { overflow-wrap: anywhere; font-weight: 800; }
.hk-diagram img { width: 100%; height: auto; background: #f8f6f0; }
.hk-diagram figcaption { border-top: 1px solid var(--pd-line); }

.hk-task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}
.hk-task-grid article {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--pd-line);
  border-top: 5px solid #1f5b52;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, .055);
}
.hk-task-grid article:nth-child(2n) { border-top-color: #8c6b2f; }
.hk-task-grid span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #222d42;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.hk-task-grid h3 { margin: 9px 0 5px; color: var(--pd-ink); font-size: 19px; line-height: 1.4; }
.hk-task-grid p { margin: 0; color: var(--pd-muted); font-size: 14px; line-height: 1.75; }

.hk-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hk-checklist li { font-size: 15px; }
.hk-boundary-grid article { min-height: 205px; }
.hk-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hk-related-grid .rp-card { min-width: 0; }
.hk-related-grid .rp-card__body > span { display: block; }

@media (max-width: 700px) {
  .hk-page .pd-hero { padding: 8px 0 11px; }
  .hk-page .pd-breadcrumbs { display: none; }
  .hk-page .pd-kicker { min-height: 22px; padding: 2px 8px; font-size: 10px; }
  .hk-page .pd-hero h1 { margin: 6px 0; font-size: 24px; line-height: 1.16; letter-spacing: -.035em; }
  .hk-hero-photo { margin: 6px 0; border-radius: 12px; }
  .hk-hero-photo img { height: 104px; aspect-ratio: auto; object-position: center 42%; }
  .hk-hero-photo figcaption { display: none; }

  .hk-entry-quick { margin: 6px 0; border-radius: 10px; }
  .hk-entry-quick caption { padding: 4px 8px; font-size: 10px; line-height: 1.3; }
  .hk-entry-quick th,
  .hk-entry-quick td { padding: 4px 6px; font-size: 10.5px; line-height: 1.25; overflow-wrap: anywhere; }
  .hk-entry-quick th { width: 4.5em; }
  .hk-entry-quick td:last-child { width: 4.7em; }
  .hk-entry-quick a { min-height: 24px; padding: 2px 7px; font-size: 10px; }

  .hk-page .pd-hero__answer { font-size: 12.5px; line-height: 1.48; }
  .hk-page .pd-updated { display: none; }
  .hk-page .pd-hero__cta { margin-top: 6px; padding: 7px 8px; gap: 5px; border-radius: 11px; }
  .hk-page .pd-hero__cta .hr-dual-cta__copy { flex: 0 0 auto; }
  .hk-page .pd-hero__cta .hr-dual-cta__copy strong { margin: 0; font-size: 11.5px; line-height: 1.35; }
  .hk-page .pd-hero__cta .hr-dual-cta__copy span { display: none; }
  .hk-page .pd-hero__cta .hr-dual-cta__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; flex: 0 0 auto; width: 100%; }
  .hk-page .pd-hero__cta .pd-button { min-height: 32px; padding: 4px 6px; font-size: 11px; line-height: 1.2; }
  .hk-page .pd-hero__cta .hr-cta-note { padding-top: 4px; font-size: 9px !important; line-height: 1.35 !important; }

  .hk-task-grid { grid-template-columns: 1fr; gap: 9px; }
  .hk-task-grid article { padding: 14px; }
  .hk-checklist { grid-template-columns: 1fr; }
  .hk-boundary-grid { grid-template-columns: 1fr; }
  .hk-boundary-grid article { min-height: 0; }
  .hk-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 370px) {
  .hk-page .pd-hero h1 { font-size: 22px; }
  .hk-entry-quick th,
  .hk-entry-quick td { font-size: 9.8px; }
}
