/* Residential Step0 layout owner. Office/shared legacy selectors are preserved
   for their consumers; foundation/responsive exclude #pageMethod. Material and
   interaction states are owned only by residential-controls.css (R-08). */
body:has(#pageMethod.is-active) { min-height: 100dvh; }
body:has(#pageMethod.is-active) .energy-bg { display: none; }
#reportFormApp:has(#pageMethod.is-active) {
  width: 100%; max-width: none; min-height: 100dvh; margin: 0; padding: 0;
}
#reportFormApp #pageMethod.is-active {
  display: block; position: relative; min-height: 100dvh;
  padding: calc(var(--product-header-height, 72px) + 40px) 0 64px;
  overflow: visible; background: transparent; font-family: var(--web-product-font, "Noto Sans SC", sans-serif);
  letter-spacing: 0;
}
#reportFormApp #pageMethod::before,
#reportFormApp #pageMethod::after { content: none; }
#reportFormApp #pageMethod .method-titlebar {
  position: static; display: block; width: min(1120px, calc(100% - 64px));
  height: auto; min-height: 0; margin: 0 auto 28px; padding: 0;
}
#reportFormApp #pageMethod .hero-copy {
  position: static; width: 100%; max-width: none; margin: 0; padding: 0;
}
#reportFormApp #pageMethod h1 {
  max-width: none; margin: 0; color: #20383b;
  font-size: clamp(28px, 2.4vw, 36px); font-weight: 700; line-height: 1.4;
  letter-spacing: 0; white-space: normal;
}
#reportFormApp #pageMethod .method-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto; align-items: stretch; gap: 24px;
  width: min(1120px, calc(100% - 64px)); max-width: 1120px; margin: 0 auto;
  padding-bottom: 4px;
}
#reportFormApp #pageMethod .method-card {
  position: relative; display: grid; min-width: 0; min-height: 0; height: auto;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr 184px auto;
  gap: 16px; padding: 24px; overflow: visible; backdrop-filter: none;
}
#reportFormApp #pageMethod .method-card::before,
#reportFormApp #pageMethod .method-card::after { content: none; }
#reportFormApp #pageMethod .method-card * { cursor: inherit; }
#reportFormApp #pageMethod .method-card-content { display: contents; }
#reportFormApp #pageMethod .method-head {
  grid-column: 1; grid-row: 1; display: flex; align-items: center;
  gap: 12px; min-width: 0; margin: 0; padding: 0;
}
#reportFormApp #pageMethod .method-head > div { min-width: 0; }
#reportFormApp #pageMethod .method-code {
  display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px;
  border: 0; border-radius: 12px; background: #edf8f5; color: #076f7f;
  font-size: 16px; font-weight: 600;
}
#reportFormApp #pageMethod .method-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
#reportFormApp #pageMethod .method-head h3 {
  margin: 0; color: inherit; font-size: 18px; font-weight: 600; line-height: 26px;
}
#reportFormApp #pageMethod .method-head strong {
  display: block; margin-top: 4px; color: #587174; font-size: 13px; font-weight: 400; line-height: 20px;
}
#reportFormApp #pageMethod .corner-badge {
  position: static; width: auto; min-height: 20px; padding: 0 6px; border: 0;
  border-radius: 6px; background: #edf8f5; color: #076f7f; box-shadow: none;
  font-size: 11px; font-weight: 500; line-height: 20px; white-space: nowrap;
}
#reportFormApp #pageMethod .tag-row {
  grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 6px; margin: 0;
}
#reportFormApp #pageMethod .tag {
  min-height: 24px; padding: 2px 8px; border: 0; border-radius: 6px;
  background: #f3f8f7; color: #587174; font-size: 12px; font-weight: 500; line-height: 20px;
}
#reportFormApp #pageMethod .method-info { grid-column: 1; grid-row: 3; display: block; min-height: 0; margin: 0; }
#reportFormApp #pageMethod .method-info h4 { display: none; }
#reportFormApp #pageMethod .method-info p {
  margin: 0; display: block; overflow: visible; color: #587174; font-size: 14px; line-height: 1.65;
}
#reportFormApp #pageMethod .method-card-visual-wrap {
  grid-column: 1; grid-row: 4; display: block; position: relative;
  width: 100%; height: 184px; min-height: 0; margin: 0; border-radius: 0;
  overflow: hidden; pointer-events: none;
}
#reportFormApp #pageMethod .method-card-visual-wrap::before,
#reportFormApp #pageMethod .method-card-visual-wrap::after { content: none; }
#reportFormApp #pageMethod .method-card-visual {
  position: absolute; inset: 0; background-image: var(--method-visual-image);
  background-position: center; background-size: contain; background-repeat: no-repeat;
  opacity: 1; filter: none;
}
#reportFormApp #pageMethod .method-card-footer {
  grid-column: 1; grid-row: 5; display: flex; align-items: center; justify-content: flex-end;
  width: 100%; min-height: 24px; margin: 0; padding: 0;
}
#reportFormApp #pageMethod .method-entry-hint {
  display: inline-flex; align-items: center; gap: 8px;
  color: #076f7f; font-size: 14px; font-weight: 600; line-height: 24px;
}
#reportFormApp #pageMethod .method-entry-hint .collection-icon { width: 18px; height: 18px; }
@media (width < 1024px) {
  #reportFormApp #pageMethod.is-active {
    padding: calc(var(--product-header-height, 60px) + 20px) 0 calc(88px + env(safe-area-inset-bottom));
  }
  #reportFormApp #pageMethod .method-titlebar { width: calc(100% - 32px); max-width: 620px; margin-bottom: 20px; }
  #reportFormApp #pageMethod h1 { font-size: 22px; line-height: 32px; text-align: center; }
  #reportFormApp #pageMethod .method-grid { width: calc(100% - 32px); max-width: 620px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #reportFormApp #pageMethod .method-card {
    grid-template-columns: minmax(0, 1fr) 88px; grid-template-rows: auto auto auto auto;
    gap: 12px; padding: 16px;
  }
  #reportFormApp #pageMethod .method-head { gap: 8px; }
  #reportFormApp #pageMethod .method-code { width: 32px; height: 32px; flex-basis: 32px; font-size: 14px; }
  #reportFormApp #pageMethod .method-head h3 { font-size: 16px; line-height: 24px; }
  #reportFormApp #pageMethod .method-head strong { font-size: 12px; line-height: 18px; }
  #reportFormApp #pageMethod .tag-row { grid-column: 1 / -1; grid-row: 2; }
  #reportFormApp #pageMethod .method-info { grid-column: 1 / -1; grid-row: 3; }
  #reportFormApp #pageMethod .method-info p { font-size: 13px; line-height: 21px; }
  #reportFormApp #pageMethod .method-card-visual-wrap { grid-column: 2; grid-row: 1; width: 88px; height: 72px; align-self: center; }
  #reportFormApp #pageMethod .method-card-footer { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 360px) {
  #reportFormApp #pageMethod .method-card { padding: 14px; gap: 10px; }
  #reportFormApp #pageMethod h1 { font-size: 20px; line-height: 28px; }
}
