:root { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #23372e; background: #f5f7f3; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1080px; margin: 0 auto; padding: 64px 28px 32px; }
.eyebrow { color: #46725a; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 10px 0 16px; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.05em; }
.intro { max-width: 640px; color: #59695f; line-height: 1.65; }
.toolbar { display: flex; align-items: end; gap: 20px; flex-wrap: wrap; margin: 36px 0 24px; }
label { display: grid; gap: 8px; font-size: .8rem; font-weight: 650; }
select { max-width: min(570px, 85vw); padding: 10px 34px 10px 12px; border: 1px solid #c8d3c9; border-radius: 8px; background: white; color: inherit; font: inherit; font-size: .9rem; }
#refreshed { margin-left: auto; font-size: .75rem; color: #66776b; padding-bottom: 12px; }
.panel { background: white; border: 1px solid #dce4db; border-radius: 16px; padding: 26px; margin-bottom: 22px; box-shadow: 0 4px 18px #213c2810; }
.panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
h2 { font-size: 1.05rem; margin: 0 0 8px; }
.totals, .timezone { color: #68776c; font-size: .8rem; }
.timezone { white-space: nowrap; }
.calendar-scroll { overflow-x: auto; padding: 22px 0 8px; }
.calendar-row { display: flex; gap: 12px; }
.calendar { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 13px); grid-auto-columns: 13px; gap: 4px; }
.months { display: grid; grid-auto-columns: 17px; grid-auto-flow: column; margin-left: 40px; margin-bottom: 10px; height: 18px; font-size: 10px; color: #68776c; }
.weekdays { flex-shrink: 0; display: grid; width: 28px; grid-template-rows: repeat(7, 13px); row-gap: 4px; font-size: 9px; color: #68776c; }
.weekdays span:nth-child(1) { grid-row: 1; }
.weekdays span:nth-child(2) { grid-row: 3; }
.weekdays span:nth-child(3) { grid-row: 5; }
.day, .legend i { width: 13px; height: 13px; border: 1px solid #263d3310; border-radius: 3px; padding: 0; }
.day { display: block; }
[data-level="0"] { background: #ebf0e9; }
[data-level="1"] { background: #a9d8a1; }
[data-level="2"] { background: #6fba75; }
[data-level="3"] { background: #398d54; }
[data-level="4"] { background: #1d603b; }
.day.future { opacity: .35; }
:focus-visible { outline: 2px solid #224b37; outline-offset: 3px; }
.legend { display: flex; gap: 5px; justify-content: end; align-items: center; font-size: .7rem; color: #68776c; margin-top: 12px; }
[role="alert"] { color: #8c2828; border: 1px solid #dca7a7; padding: 18px; border-radius: 8px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  main { padding: 32px 16px; }
  .panel { padding: 18px; }
  .panel-heading { flex-wrap: wrap; }
  .timezone { margin-top: 0; }
  #refreshed { margin-left: 0; }
}
