/* Plain, dot-first interface. These rules sit after the original layout styles. */
:root { background: #f7f8f5; color: #202923; }
.site-header { background: rgba(255,255,255,.95); }
.brand { font-size: 21px; letter-spacing: -1.1px; }
.button-primary { box-shadow: none; }
.button-primary:hover { box-shadow: none; }
.page-content { padding-top: 34px; }
.simple-heading { margin-bottom: 22px; }
.simple-heading h1 { margin: 0; font: 800 28px/1.2 Manrope,sans-serif; letter-spacing: -1.2px; }
.simple-heading p { margin: 6px 0 0; color: #849087; font-size: 13px; }
.profile-tabs { margin-bottom: 18px; }
.calendar-card { padding: 26px; }
.calendar-topline { align-items: center; margin-bottom: 25px; }
.calendar-topline h2 { font-size: 24px; letter-spacing: -.8px; }
.calendar-count { margin: 5px 0 0; color: #8b978d; font-size: 12px; font-weight: 600; }
.dot-grid { display: grid; grid-template-columns: repeat(42,minmax(0,1fr)); gap: 7px; width: 100%; }
.dot-grid.month { grid-template-columns: repeat(31,minmax(0,1fr)); }
.dot-grid.week { grid-template-columns: repeat(7,36px); gap: 12px; }
.dot-day { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 5px; transition: transform .15s, box-shadow .15s; }
.dot-day:hover { transform: scale(1.16); position: relative; z-index: 1; }
.dot-day.selected { box-shadow: 0 0 0 2px #1c5f3d; }
.dot-day.today { outline: 1px solid #93a69b; outline-offset: 2px; }
.dot-range { display: flex; justify-content: space-between; margin-top: 12px; color: #a1aba2; font-size: 10px; font-weight: 700; }
.legend { justify-content: flex-start; margin-top: 23px; }
.below-grid { display: block; margin-top: 16px; }
.detail-card { min-height: 190px; }
.detail-card .card-title-row { align-items: center; }
.empty-state { text-align: left; padding: 22px 0 6px; }
.empty-state strong { font-size: 13px; margin-bottom: 5px; }
.empty-state p { margin-bottom: 10px; }
.empty-state .text-button { padding-left: 0; }
.stat-tile.featured { background: #fff; border-color: #e7ebe3; }
.stat-tile.featured .stat-value { color: #229666; }
.people-grid + .race-card { margin-top: 16px; }
.race-card { min-height: 0; }
.race-card .card-title-row { margin-bottom: 22px; }
.race-rows { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.person-card:after { content: none; }
.auth-screen { background: #f7f8f5; }
.auth-card { box-shadow: 0 12px 35px #2035240c; }
.brand-large { margin-bottom: 30px; }
.auth-card h1 { font-size: 30px; }
.auth-copy { margin-bottom: 12px; }
.profile-choices { display: grid; gap: 10px; margin-top: 24px; }
.profile-choice { display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px; border: 1px solid #e0e7df; border-radius: 11px; background: #fff; color: #27372c; text-align: left; font-weight: 800; }
.profile-choice:hover { border-color: #87bea0; background: #f4faf5; }
.profile-choice-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: #e0efe3; color: #27804d; font-size: 15px; }
.profile-choice-arrow { margin-left: auto; color: #8c9d90; font-weight: 500; }
.answer-option { min-height: 54px; }
.answer-option strong { font-size: 14px; }

@media (max-width: 1000px) {
  .dot-grid { grid-template-columns: repeat(28,minmax(0,1fr)); gap: 6px; }
  .dot-grid.month { grid-template-columns: repeat(20,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .page-content { padding-top: 24px; }
  .simple-heading { margin-bottom: 18px; }
  .simple-heading h1 { font-size: 25px; }
  .calendar-card { padding: 18px 14px; }
  .calendar-topline { margin-bottom: 21px; }
  .calendar-topline h2 { font-size: 21px; margin-bottom: 0; }
  .calendar-count { margin: 3px 0 13px; font-size: 11px; }
  .dot-grid, .dot-grid.month { grid-template-columns: repeat(18,minmax(0,1fr)); gap: 4px; }
  .dot-grid.week { grid-template-columns: repeat(7,minmax(0,34px)); gap: 9px; }
  .dot-day { border-radius: 4px; }
  .legend { margin-top: 18px; }
  .detail-card { min-height: 170px; }
  .race-rows { grid-template-columns: 1fr; }
  .mobile-nav { height: 59px; }
  .mobile-nav-item { font-size: 12px; font-weight: 700; }
  .toast { bottom: 72px; }
}
