.heatmap-wrap{background:var(--floor);border-radius:var(--radius-sm);padding:12px 12px 10px}.heatmap{--heat-gap:3px;--heat-month-h:20px;grid-template-columns:auto minmax(0,1fr);align-items:stretch;column-gap:8px;display:grid}.heatmap-days{grid-template-rows:var(--heat-month-h) repeat(7, minmax(0, 1fr));row-gap:var(--heat-gap);color:var(--ink-soft);font-size:.72rem;display:grid}.heatmap-days span{align-items:center;line-height:1;display:flex}.heatmap-days:before{content:""}.heatmap-weeks{gap:var(--heat-gap);grid-template-columns:repeat(12,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.heatmap-week{grid-template-rows:var(--heat-month-h) repeat(7, auto);gap:var(--heat-gap);min-width:0;display:grid}.heatmap-month{font-family:var(--font-display);letter-spacing:.04em;color:var(--ink-soft);white-space:nowrap;font-size:.95rem;font-weight:600;line-height:var(--heat-month-h);overflow:visible}.heatmap-cell{aspect-ratio:1;box-sizing:border-box;background:var(--floor-deep);width:100%;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 45%, transparent);border-radius:3px;display:block}@media (width>=720px){.heatmap{--heat-gap:5px;column-gap:12px}.heatmap-days{font-size:.85rem}.heatmap{max-width:620px}.heatmap-cell{aspect-ratio:1;border-radius:4px}}.heatmap-cell[data-level="1"]{background:color-mix(in srgb, var(--court-blue) 38%, var(--floor));box-shadow:none}.heatmap-cell[data-level="2"]{background:color-mix(in srgb, var(--court-blue) 62%, var(--floor));box-shadow:none}.heatmap-cell[data-level="3"]{background:color-mix(in srgb, var(--court-blue) 84%, var(--floor));box-shadow:none}.heatmap-cell[data-level="4"]{background:var(--court-blue);box-shadow:none}.heatmap-cell[data-today=true]{outline:2px solid var(--ink);outline-offset:1px}.heatmap-cell[data-future=true]{visibility:hidden}.heatmap-legend{color:var(--ink-soft);justify-content:flex-end;align-items:center;gap:4px;margin-top:12px;font-size:.85rem;display:flex}.heatmap-legend .heatmap-cell{aspect-ratio:auto;width:14px;height:14px}.heatmap-summary{margin:0 0 12px}
