.hd-panel {
  --hd-ink: #1e352c;
  --hd-muted: #52675c;
  --hd-line: #dce5dc;
  --hd-green: #22664c;
  --hd-surface: #f5f8f3;
  color: var(--hd-ink);
  font: inherit;
  min-width: 0;
  padding: clamp(16px, 4vw, 28px);
  overflow-wrap: anywhere;
}

.hd-panel *, .hd-panel *::before, .hd-panel *::after { box-sizing: border-box; }
.hd-panel h2, .hd-panel h3, .hd-panel h4, .hd-panel p { margin: 0; }
.hd-panel button, .hd-panel summary { font: inherit; cursor: pointer; }
.hd-panel button:focus-visible, .hd-panel a:focus-visible, .hd-panel summary:focus-visible {
  outline: 3px solid #70a68d;
  outline-offset: 3px;
}
.hd-panel a { color: var(--hd-green); text-underline-offset: 3px; }
.hd-intro { padding: 0 0 20px; }
.hd-kicker { color: var(--hd-muted); font-size: 12px; }
.hd-panel .hd-title { font-size: clamp(24px, 4vw, 30px); font-weight: 680; letter-spacing: -.04em; line-height: 1.4; margin: 4px 0; }
.hd-meta, .hd-copy { font-size: 13px; color: var(--hd-muted); line-height: 1.75; }
.hd-panel .hd-source { font-size: 12px; text-decoration: underline; text-decoration-thickness: 1px; }
.hd-hero {
  padding: 17px 18px 15px;
  border-radius: 12px;
  background: #ecf3e9;
  border: 1px solid #d9e6d7;
}
.hd-hero-label { font-size: 13px; color: #365645; }
.hd-number { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin: 3px 0 6px; }
.hd-number strong { font-family: "Inter", "Arial", sans-serif; font-size: 31px; line-height: 1.25; font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hd-number small { color: #495f50; font-size: 12px; }
.hd-section { padding-block: 23px; border-bottom: 1px solid var(--hd-line); }
.hd-section:last-child { border-bottom: 0; }
.hd-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.hd-panel .hd-section h3 { font-size: 17px; letter-spacing: -.025em; font-weight: 650; }
.hd-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--hd-line); border-radius: 8px; background: var(--hd-surface);
}
.hd-switch button {
  min-height: 31px; padding: 4px 10px; color: var(--hd-muted); background: transparent; border: 1px solid transparent;
  border-radius: 5px; font-size: 12px;
}
.hd-switch button[aria-pressed="true"] { background: white; color: var(--hd-green); border-color: #d8e3d8; font-weight: 650; }
.hd-chart { display: block; width: 100%; height: auto; margin: 8px 0 2px; overflow: visible; }
.hd-chart text { fill: #536c5e; font: 11px Arial, sans-serif; }
.hd-chart .hd-axis-grid { stroke: #dbe5db; stroke-dasharray: 3 4; }
.hd-chart .hd-chart-line { stroke: #337854; stroke-width: 2.5; fill: none; }
.hd-chart .hd-chart-point { fill: white; stroke: #337854; stroke-width: 2.4; }
.hd-legend { color: var(--hd-muted); font-size: 12px; line-height: 1.7; margin-top: 3px; }
.hd-details { margin-top: 14px; }
.hd-details > summary { color: var(--hd-green); font-size: 13px; font-weight: 600; min-height: 32px; line-height: 32px; }
.hd-table-scroll { overflow-x: auto; margin-top: 6px; }
.hd-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.hd-table th, .hd-table td { padding: 9px 5px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hd-line); line-height: 1.55; }
.hd-table th { color: var(--hd-muted); font-weight: 600; }
.hd-table td:first-child, .hd-table th:first-child { padding-left: 0; white-space: nowrap; }
.hd-table tbody tr:last-child td { border-bottom: 0; }
.hd-subnote { display: block; font-size: 11px; color: var(--hd-muted); }
.hd-note { margin-top: 10px !important; padding: 9px 11px; background: var(--hd-surface); border-left: 2px solid #bdcdb9; color: var(--hd-muted); font-size: 12px; line-height: 1.7; }
.hd-card-list { list-style: none; display: grid; gap: 9px; margin: 12px 0 0; padding: 0; }
.hd-card { padding: 13px 14px; border: 1px solid var(--hd-line); border-radius: 9px; }
.hd-card-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 4px; }
.hd-panel .hd-card h4 { font-size: 14px; line-height: 1.55; font-weight: 620; }
.hd-card-price { font-size: 16px; font-weight: 650; color: var(--hd-green); font-variant-numeric: tabular-nums; }
.hd-card .hd-meta, .hd-card .hd-source { font-size: 12px; }
.hd-excess { display: inline-block; margin-top: 4px; font-size: 12px; color: #9b4d26; }
.hd-empty { margin: 10px 0; padding: 14px; border-radius: 8px; background: var(--hd-surface); font-size: 13px; color: var(--hd-muted); line-height: 1.65; }
.hd-select-community { text-align: left; color: var(--hd-green); border: 0; background: transparent; padding: 5px 0; font-weight: 650 !important; }
.hd-panel .hd-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hd-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 16px 0 0; padding: 0 2px 15px; border-bottom: 1px solid var(--hd-line); }
.hd-facts dt, .hd-profile dt { color: var(--hd-muted); font-size: 12px; }
.hd-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.hd-profile { margin: 12px 0; display: grid; gap: 10px; }
.hd-profile > div { display: grid; grid-template-columns: 5em 1fr; align-items: baseline; gap: 10px; }
.hd-profile dd { margin: 0; font-size: 14px; }
.hd-plan-image { display: block; padding: 8px; border: 1px solid var(--hd-line); border-radius: 10px; background: white; cursor: zoom-in; }
.hd-plan-image img { display: block; width: 100%; height: clamp(190px, 40vh, 330px); object-fit: contain; }
.hd-panel .hd-media-note { margin-top: 8px; }
.hd-tour { padding: 16px; border: 1px solid var(--hd-line); border-radius: 10px; background: var(--hd-surface); }
.hd-tour .hd-source { display: inline-block; padding: 7px 14px; margin-top: 12px; color: white; background: var(--hd-green); border-radius: 6px; text-decoration: none; }

@media (max-width: 430px) {
  .hd-section { padding-block: 18px; }
  .hd-table th, .hd-table td { padding: 7px 3px; }
}
