/* PZTh-D02 R5: owner-selected option B. Homepage-only responsive refinement. */
@media (min-width: 900px) {
  .t07-dashboard { align-items: start !important; }
  .t07-dashboard > :first-child {
    height: max-content !important;
    min-height: 0 !important;
    align-self: start !important;
  }
}
@media (max-width: 640px) {
  .site-header { padding: 8px 12px !important; min-height: 0 !important; }
  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    gap: 6px 10px !important;
    align-items: center !important;
    min-height: 0 !important;
  }
  .site-header > :nth-child(3) { display: contents !important; }
  .site-header > :nth-child(2) {
    grid-column: 1 !important; grid-row: 1 !important;
    min-width: 0 !important; margin: 0 !important;
  }
  .site-header > :nth-child(3) > :nth-child(2) {
    grid-column: 2 !important; grid-row: 1 !important;
    justify-self: end !important; margin: 0 !important;
  }
  .site-header > :nth-child(3) > :nth-child(1) {
    grid-column: 1 / -1 !important; grid-row: 2 !important;
    margin: 0 !important; min-width: 0 !important; width: 100% !important;
  }
  .site-header nav {
    display: flex !important; flex-wrap: wrap !important;
    align-items: center !important; gap: 4px 12px !important;
    margin: 0 !important; padding: 0 !important;
  }
  .site-header nav a { padding: 2px 0 !important; line-height: 1.4 !important; min-height: 44px !important; }
  .site-header .launch-brand strong { font-size: 1.12rem !important; }
  .site-header .launch-brand small { font-size: .7rem !important; }
  .site-header .public-theme-selector > label {
    position: absolute !important; width: 1px !important; height: 1px !important;
    clip-path: inset(50%) !important; overflow: hidden !important;
  }
  .site-header #public-theme-selection {
    min-height: 44px !important; min-width: 100px !important; max-width: 110px !important;
    padding: 4px 6px !important;
  }
  .t07-hero { min-height: 0 !important; padding-top: 12px !important; padding-bottom: 14px !important; }
  .t07-home .t07-hero-content {
    min-height: 0 !important; padding: 24px 16px 22px !important;
    align-items: start !important; gap: 20px !important;
  }
  .t07-hero h1 {
    font-size: clamp(27px, 7.3vw, 31px) !important;
    line-height: 1.35 !important;
    margin-top: 5px !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.015em !important;
  }
  .t07-hero > :nth-child(1) > :nth-child(1) > :nth-child(4) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    min-width: 0 !important;
  }
  .t07-hero > :nth-child(1) > :nth-child(1) > :nth-child(4) > * {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 8px 9px !important;
  }
  .t07-hero > :nth-child(1) > :nth-child(1) > :nth-child(4) > * * { line-height: 1.5 !important; }
  .t07-hero > :nth-child(1) > :nth-child(1) > :nth-child(4) > :nth-child(2), .t07-hero > :nth-child(1) > :nth-child(1) > :nth-child(4) > :nth-child(4) { border-left: 1px solid var(--line) !important; }
  .t07-hero > :nth-child(1) > :nth-child(1) > :nth-child(4) > :nth-child(3), .t07-hero > :nth-child(1) > :nth-child(1) > :nth-child(4) > :nth-child(4) { border-top: 1px solid var(--line) !important; }
  .t07-hero > :nth-child(1) > :nth-child(1) > :nth-child(4) > :nth-child(3) { border-left: 0 !important; }
}
