/* Use the same typography, neutral surfaces and measurement hierarchy as ARA. */
.tree-points {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  color: #e5e7eb;
  font-family: inherit;
  text-align: left;
}
[hidden].tree-points, [hidden].tree-points-host { display: none !important; }
.tree-points-host--card > .tree-points { margin-top: 0; padding-top: 0; border-top: 0; }
.tree-points__hero { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.tree-points__heading { margin: 0; color: #9ca3af; font-size: 12px; font-weight: 500; line-height: 1.5; }
.tree-points__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tree-points__total strong { color: #fff; font-family: inherit; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.4; overflow-wrap: anywhere; }
.tree-points__total > span { color: #9ca3af; font-size: 12px; font-weight: 400; }
.tree-points--entry .tree-points__hero { align-items: center; }
.tree-points--entry .tree-points__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e5edf7;
  font-size: 0.875rem;
  font-weight: 600;
}
.tree-points--entry .tree-points__heading .material-symbols-rounded {
  color: #fbbf24;
  font-size: 1.25rem;
}
.tree-points--entry .tree-points__total strong { font-size: 1.75rem; line-height: 1.2; }
.tree-points--entry .tree-points__unavailable,
.tree-points--entry .tree-points__missing { color: #bac8db; font-size: 0.75rem; }
.tree-points__details { margin-top: 8px; }
.tree-points__comparison, .tree-points__missing { margin: 8px 0 0; color: #9ca3af; font-size: 12px; font-weight: 400; line-height: 1.6; }
.tree-points__comparison { font-size: 11px; }
.tree-points__details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; color: #9ca3af; font-size: 12px; font-weight: 500; cursor: pointer; list-style: none; border-radius: 6px; transition: color .18s ease; }
.tree-points__details > summary::-webkit-details-marker { display: none; }
.tree-points__details > summary:hover { color: #fff; }
.av-card .tree-points__details > summary { color: #9ca3af; font-size: 12px; font-weight: 500; }
.av-card .tree-points__details > summary:hover { color: #fff; }
.tree-points__details > summary:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }
.tree-points__chevron { flex-shrink: 0; font-size: 18px; transition: transform .18s ease; }
.tree-points__details[open] .tree-points__chevron { transform: rotate(180deg); }
.tree-points__explanation { padding-top: 8px; }
.tree-points__formula { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; color: #d1d5db; font-size: 12px; font-weight: 500; }
.tree-points__formula span { color: #9ca3af; }
.tree-points__breakdown { margin: 0; }
.tree-points__breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.tree-points__breakdown dt { color: #d1d5db; font-size: 12px; font-weight: 500; }
.tree-points__breakdown dd { margin: 0; color: #fff; text-align: right; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tree-points__breakdown small { display: block; margin-top: 3px; color: #9ca3af; font-size: 11px; font-weight: 400; }
.tree-points__explanation > p:not(.tree-points__formula) { margin: 12px 0 0; color: #9ca3af; font-size: 11px; line-height: 1.65; }
.tree-points__explanation a { color: #60a5fa; text-decoration: underline; text-underline-offset: 3px; }
.tree-points__explanation a:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }
/* Match the map's existing Girth / Height / Canopy tiles. */
.tree-points--compact { margin: 0 0 24px; padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.tree-points--compact .tree-points__heading { color: #9ca3af; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  .tree-points__details > summary, .tree-points__chevron { transition: none; }
}
