:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:#25352e;
  background:#f6f8f7;
  font-synthesis:none;
  letter-spacing:0;
  --green:#216349;
  --ink:#25352e;
  --muted:#748078;
  --line:#e1e7e3
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input {
  font:inherit
}
button,a,input {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.42
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:3px solid #c58b28;
  outline-offset:3px
}
a {
  color:inherit
}
h1,h2,h3,p {
  margin:0
}
button {
  color:inherit
}
svg,.icon {
  width:19px;
  height:19px;
  display:block;
  flex:none
}
[data-icon] {
  display:inline-flex;
  flex:none
}
[hidden] {
  display:none!important
}
.app-shell {
  min-height:100vh;
  display:grid;
  grid-template-columns:224px minmax(0,1fr)
}
.sidebar {
  background:#173f32;
  color:#fff;
  padding:34px 22px;
  display:flex;
  flex-direction:column;
  min-height:100vh
}
.brand {
  display:flex;
  gap:11px;
  align-items:center;
  text-decoration:none
}
.brand-mark {
  width:36px;
  height:40px;
  align-items:center;
  color:#c8e3aa
}
.brand-mark svg {
  width:32px;
  height:32px
}
.brand strong {
  font-size:22px;
  display:block;
  font-weight:650
}
.brand small {
  font-size:9px;
  display:block;
  margin-top:6px;
  color:#b4c9bd
}
.sidebar nav {
  margin-top:49px
}
.nav-item {
  font-size:13px;
  padding:13px 14px;
  display:flex;
  gap:11px;
  align-items:center;
  text-decoration:none;
  border-radius:6px
}
.nav-item.active {
  background:#2c5344;
  color:#edf6e7;
  box-shadow:inset 3px 0 #c4dfa5
}
.sidebar-bottom {
  margin-top:auto;
  padding:45px 10px 0;
  display:grid;
  gap:16px
}
.private-label {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  color:#d1ded5
}
.private-label svg {
  width:15px;
  height:15px
}
.timezone,.powered {
  font-size:10px;
  color:#a9bfb2
}
.workspace {
  min-width:0
}
.topbar {
  height:76px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 42px;
  background:#fff
}
.breadcrumb {
  font-size:12px;
  color:var(--muted)
}
.breadcrumb span {
  padding:0 13px;
  color:#b9c3bd
}
.breadcrumb #breadcrumb-current {
  padding:0;
  color:var(--muted)
}
.sidebar nav {
  display:grid;
  gap:5px
}
.integration-page {
  max-width:680px
}
.integration-heading {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:28px
}
.integration-heading h1 {
  font-size:24px
}
.integration-heading a,.personal-connection {
  text-decoration:none;
  color:var(--green)
}
.integration-identity {
  display:flex;
  align-items:center;
  gap:14px;
  padding:22px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.integration-symbol {
  color:#c34712;
  flex:none
}
.integration-symbol svg {
  width:28px;
  height:28px
}
.integration-brand {
  display:block;
  color:#c34712;
  font-weight:650;
  font-size:17px;
  margin-bottom:8px
}
#connection-status {
  font-size:12px;
  line-height:1.8;
  overflow-wrap:anywhere
}
.connection-name,.connection-notice {
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
  line-height:1.8;
  overflow-wrap:anywhere
}
.integration-connect-area {
  padding:16px 0 22px;
  border-bottom:1px solid var(--line)
}
.integration-connect-area .strava-connect {
  margin:10px 0 0
}
.integration-facts {
  margin:8px 0 0
}
.integration-facts>div {
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  gap:20px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
  line-height:1.7
}
.integration-facts dt {
  color:var(--muted)
}
.integration-facts dd {
  margin:0;
  overflow-wrap:anywhere
}
.fact-note {
  color:var(--muted);
  font-size:11px
}
.integration-facts dd>span.fact-note {
  margin-left:8px
}
.auto-sync-label {
  display:inline-flex;
  align-items:center;
  gap:9px;
  cursor:pointer
}
.auto-sync-label input {
  width:16px;
  height:16px;
  margin:0;
  accent-color:var(--green);
  flex:none
}
.preference-value {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px
}
.integration-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:22px 0
}
.integration-danger {
  border-top:1px solid var(--line);
  padding-top:8px
}
.integration-error {
  margin:14px 0
}
.account-actions {
  display:flex;
  gap:13px;
  align-items:center
}
.account-name {
  font-size:12px;
  font-weight:600;
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-underline-offset:3px
}
.account-page {
  max-width:680px
}
.account-form {
  min-width:0
}
#account-guest .button {
  margin-top:20px
}
#account-details .account-form {
  border-top:1px solid var(--line);
  padding:24px 0
}
.account-form h2 {
  font-size:16px;
  margin-bottom:22px
}
.account-form label {
  display:block;
  font-size:12px;
  line-height:1.7;
  margin:16px 0 8px
}
.account-form input {
  width:100%;
  min-width:0;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #cbd8ce;
  border-radius:5px;
  background:#fff;
  color:var(--ink)
}
.account-form input:read-only,.account-form input:disabled {
  background:#edf2ef;
  color:#65766c
}
.account-form>.button {
  margin-top:20px
}
.account-form .error-text {
  margin-top:12px
}
.auth-tabs {
  display:flex;
  border-bottom:1px solid var(--line);
  gap:20px;
  margin-bottom:20px
}
.auth-tabs button {
  border:0;
  border-bottom:2px solid transparent;
  padding:10px 4px;
  background:transparent;
  font-size:13px;
  min-width:50px;
  min-height:40px
}
.auth-tabs button[aria-selected="true"] {
  color:var(--green);
  border-bottom-color:var(--green);
  font-weight:650
}
.badge {
  font-size:10px;
  padding:4px 7px;
  border-radius:4px;
  display:inline-block;
  white-space:nowrap
}
.amber {
  color:#875d12;
  background:#fcf1d9
}
.button,.icon-button {
  border:1px solid #d9e2dc;
  border-radius:5px;
  min-height:36px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  font-size:12px;
  font-weight:550;
  transition:background .15s
}
.button:hover:not(:disabled),.icon-button:hover:not(:disabled) {
  background:#edf3ef
}
.icon-button {
  width:36px;
  height:36px;
  padding:7px;
  position:relative
}
.primary {
  background:var(--green);
  border-color:var(--green);
  color:white
}
.primary:hover:not(:disabled) {
  background:#174a36
}
.quiet {
  background:transparent
}
.full {
  width:100%;
  justify-content:space-between
}
.text-button {
  border:0;
  background:none;
  padding:10px 0;
  display:flex;
  gap:7px;
  align-items:center;
  font-size:11px
}
.text-button svg {
  width:14px;
  height:14px
}
.danger {
  color:#94615a
}
[data-tooltip]:hover:after,[data-tooltip]:focus-visible:after {
  content:attr(data-tooltip);
  position:absolute;
  top:calc(100% + 7px);
  right:0;
  width:max-content;
  max-width:200px;
  padding:7px 9px;
  border-radius:4px;
  background:#263c30;
  color:#fff;
  z-index:20;
  font-size:11px;
  pointer-events:none
}
main {
  padding:42px;
  max-width:1440px;
  margin:auto
}
.page-heading {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-bottom:34px
}
.eyebrow {
  font-size:9px;
  letter-spacing:0;
  color:#77887b;
  font-weight:650;
  margin-bottom:9px
}
h1 {
  font-size:28px;
  font-weight:650;
  line-height:1.4;
  display:flex;
  gap:11px;
  align-items:center
}
.heading-dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#b0c990
}
.subtitle {
  font-size:12px;
  color:var(--muted);
  margin-top:8px;
  line-height:1.7
}
.week-controls {
  display:flex;
  align-items:center;
  gap:4px
}
.week-label {
  font-size:12px;
  min-width:160px;
  text-align:center;
  font-variant-numeric:tabular-nums
}
.week-controls .quiet {
  margin-left:8px
}
.metrics {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:26px 0;
  margin-bottom:35px;
  background:#fff
}
.metric {
  padding:0 28px;
  border-right:1px solid var(--line);
  min-width:0
}
.metric:last-child {
  border:0
}
.metric-label {
  font-size:12px;
  color:#768179;
  display:flex;
  align-items:center;
  gap:8px
}
.metric-label svg {
  width:16px;
  height:16px;
  color:#648871
}
.metric strong {
  display:block;
  font-size:27px;
  font-weight:600;
  margin:14px 0 8px;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere
}
.metric small {
  color:var(--muted);
  font-size:10px
}
.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:30px
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:30px;
  margin-bottom:17px
}
.section-heading h2 {
  font-size:15px;
  font-weight:650
}
.count-label {
  font-size:10px;
  color:#87918a;
  margin-left:7px
}
.table-note {
  font-size:10px;
  color:var(--muted)
}
.rank-header,.rank-row {
  display:grid;
  grid-template-columns:minmax(120px,1fr) 112px minmax(112px,135px) 12px;
  gap:10px;
  align-items:center
}
.rank-header {
  font-size:10px;
  color:var(--muted);
  padding:13px 12px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.rank-header>span:nth-child(3) {
  text-align:right
}
.rank-row {
  width:100%;
  padding:17px 12px;
  min-height:80px;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  text-align:left
}
.rank-row:hover {
  background:#edf3ef
}
.rank-row.is-me {
  background:#eaf2e9
}
.rank-member {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0
}
.rank-number {
  font-size:12px;
  font-weight:650;
  color:#839087;
  min-width:17px;
  font-variant-numeric:tabular-nums
}
.rank-number.podium {
  color:#8d692e
}
.avatar {
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#e4ebe4;
  color:#54735e;
  flex:none;
  font-size:12px;
  font-weight:650
}
.avatar.tone-1 {
  background:#e9ecef;
  color:#616e78
}
.avatar.tone-2 {
  background:#f1eadb;
  color:#8c794d
}
.avatar.tone-3 {
  background:#e8e9df;
  color:#71774c
}
.avatar.mine {
  background:#cde0c8;
  color:#335e3e
}
.member-copy {
  min-width:0
}
.member-name {
  font-size:12px;
  font-weight:600;
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.member-subtitle {
  font-size:9px;
  color:#869288;
  display:block;
  margin-top:6px
}
.member-me {
  font-size:9px;
  color:#346a44;
  margin-left:5px
}
.row-time {
  font-size:12px;
  font-weight:650;
  display:block;
  font-variant-numeric:tabular-nums
}
.rank-values {
  text-align:right;
  min-width:0
}
.row-meta {
  font-size:10px;
  color:var(--muted);
  display:block;
  margin-top:7px
}
.row-arrow svg {
  width:13px;
  height:13px;
  color:#9aa69e
}
.sparkline {
  height:31px;
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:5px;
  align-items:end
}
.spark-bar {
  height:calc(var(--bar-level,0) * 3.1px);
  background:#9bb69b;
  border-radius:2px 2px 0 0;
  min-height:3px
}
.is-me .spark-bar {
  background:#4e875c
}
.list-footer {
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:19px 0;
  font-size:9px;
  color:#859086;
  line-height:1.7
}
.list-state {
  font-size:13px;
  color:var(--muted);
  text-align:center;
  padding:70px 15px;
  border-bottom:1px solid var(--line)
}
.personal {
  border-left:1px solid var(--line);
  padding-left:28px;
  align-self:start;
  min-width:0
}
.personal .section-heading>span {
  color:#6b8d70
}
.personal-identity {
  display:flex;
  gap:11px;
  align-items:center;
  padding:10px 0 24px
}
.personal-identity strong {
  display:block;
  font-size:13px;
  overflow-wrap:anywhere
}
.personal-identity small {
  display:block;
  font-size:10px;
  margin-top:6px;
  color:var(--muted)
}
.personal-time>span {
  font-size:10px;
  color:var(--muted)
}
.personal-time>strong {
  font-size:24px;
  display:block;
  margin-top:10px;
  overflow-wrap:anywhere
}
.personal-chart {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:8px;
  height:100px;
  align-items:end;
  margin:24px 0
}
.day-column {
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  gap:9px;
  min-width:0
}
.day-bar {
  width:100%;
  height:calc(var(--bar-level,0) * 7.2px);
  background:#85a786;
  border-radius:2px 2px 0 0;
  min-height:3px;
  max-height:75px
}
.day-label {
  font-size:9px;
  color:#819085
}
.personal-stats {
  display:grid;
  grid-template-columns:1fr 1fr;
  padding:18px 0 23px;
  border-top:1px solid var(--line);
  gap:10px
}
.personal-stats strong {
  display:block;
  font-size:17px;
  font-weight:600
}
.personal-stats span {
  font-size:10px;
  color:var(--muted);
  display:block;
  margin-top:7px
}
.sync-panel {
  margin-top:20px;
  padding-top:15px;
  border-top:1px solid var(--line)
}
.sync-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.sync-status {
  font-size:10px;
  display:flex;
  align-items:center;
  gap:6px
}
.sync-status:before {
  content:"";
  display:block;
  width:5px;
  height:5px;
  background:#7d9d70;
  border-radius:50%
}
.sync-panel p {
  font-size:10px;
  color:var(--muted);
  margin-top:7px;
  line-height:1.7;
  overflow-wrap:anywhere
}
.sync-panel .error-text,.error-text {
  color:#a13f31;
  font-size:12px;
  line-height:1.7;
  overflow-wrap:anywhere
}
.page-footer {
  max-width:1440px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  padding:15px 42px 24px;
  color:#939d96;
  font-size:9px
}
.page-alert {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  border:1px solid #e7caa1;
  background:#fff9ec;
  padding:12px 16px;
  margin-bottom:22px;
  font-size:12px;
  color:#82582c;
  overflow-wrap:anywhere
}
.access-state {
  min-height:400px;
  padding:65px 20px;
  text-align:center;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.access-symbol {
  color:#63866b;
  margin-bottom:20px
}
.access-symbol svg {
  width:32px;
  height:32px
}
.access-state h2 {
  font-size:21px
}
.access-state p {
  font-size:13px;
  color:var(--muted);
  margin:15px 0 24px;
  line-height:1.8
}
.toast {
  position:fixed;
  left:50%;
  bottom:26px;
  transform:translateX(-50%);
  background:#263d31;
  color:#fff;
  box-shadow:0 5px 25px #1b302522;
  padding:13px 20px;
  max-width:calc(100vw - 32px);
  width:max-content;
  border-radius:6px;
  font-size:12px;
  z-index:100;
  overflow-wrap:anywhere
}
dialog {
  border:1px solid #dbe3dd;
  border-radius:8px;
  padding:28px;
  color:var(--ink);
  background:#fff;
  max-width:calc(100vw - 24px);
  box-shadow:0 20px 80px #17302526
}
dialog::backdrop {
  background:#182b2466
}
.modal {
  width:400px
}
.dialog-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  margin-bottom:25px
}
.dialog-heading h2 {
  font-size:20px;
  line-height:1.5;
  overflow-wrap:anywhere
}
.dialog-heading .icon-button {
  flex:none;
  border:0;
  background:#f4f6f4
}
.modal label {
  font-size:12px;
  display:block;
  margin-bottom:10px
}
.modal input {
  width:100%;
  min-height:44px;
  border:1px solid #cbd8ce;
  border-radius:5px;
  padding:10px 12px;
  background:#fff;
  color:var(--ink)
}
.modal .error-text {
  margin-top:12px
}
.strava-connect {
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  padding:0;
  margin:23px auto 0;
  min-height:48px;
  max-width:100%
}
.strava-connect img {
  display:block;
  width:237px;
  height:48px;
  object-fit:contain
}
.strava-connect:disabled {
  opacity:.5
}
.drawer {
  margin:0 0 0 auto;
  height:100dvh;
  max-height:100dvh;
  width:480px;
  border-radius:0;
  border:0;
  border-left:1px solid var(--line);
  padding:30px;
  overflow-y:auto
}
.activities {
  min-width:0
}
.activity-item {
  padding:22px 0;
  border-top:1px solid var(--line)
}
.activity-date {
  font-size:10px;
  color:var(--muted);
  margin-bottom:10px
}
.activity-item h3 {
  font-size:15px;
  font-weight:600;
  overflow-wrap:anywhere;
  line-height:1.6
}
.activity-data {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:18px
}
.activity-data strong {
  display:block;
  font-size:13px;
  font-weight:600
}
.activity-data span {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-bottom:5px
}
.strava-link {
  display:inline-flex;
  gap:6px;
  align-items:center;
  color:#cb450b;
  font-size:11px;
  font-weight:600;
  margin-top:20px;
  text-underline-offset:3px
}
.strava-link svg {
  width:13px;
  height:13px
}
.confirm-copy {
  font-size:13px;
  color:#6c7970;
  line-height:1.9
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:25px;
  flex-wrap:wrap
}
.destructive {
  background:#a34436;
  border-color:#a34436;
  color:#fff
}
.destructive:hover:not(:disabled) {
  background:#88372b
}
.busy [data-icon="refresh-cw"] {
  animation:spin 1.5s linear infinite
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
.bar-level-0 {
  --bar-level:0
}
.bar-level-1 {
  --bar-level:1
}
.bar-level-2 {
  --bar-level:2
}
.bar-level-3 {
  --bar-level:3
}
.bar-level-4 {
  --bar-level:4
}
.bar-level-5 {
  --bar-level:5
}
.bar-level-6 {
  --bar-level:6
}
.bar-level-7 {
  --bar-level:7
}
.bar-level-8 {
  --bar-level:8
}
.bar-level-9 {
  --bar-level:9
}
.bar-level-10 {
  --bar-level:10
}
@media(min-width:1500px) {
  main {
    padding-top:52px
  }
  .dashboard-grid {
    gap:44px;
    grid-template-columns:minmax(0,1fr) 290px
  }
  .personal {
    padding-left:35px
  }
  .rank-row {
    padding-top:19px;
    padding-bottom:19px
  }
  .sidebar {
    padding-top:37px
  }
}
@media(max-width:1200px) {
  .app-shell {
    grid-template-columns:190px minmax(0,1fr)
  }
  .sidebar {
    padding:30px 16px
  }
  .brand strong {
    font-size:20px
  }
  .brand small {
    font-size:8px
  }
  .topbar {
    padding:0 28px
  }
  main {
    padding:32px 28px
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1fr) 220px;
    gap:22px
  }
  .personal {
    padding-left:20px
  }
  .rank-header,.rank-row {
    grid-template-columns:minmax(110px,1fr) 80px 110px 10px;
    gap:7px
  }
  .rank-member {
    gap:8px
  }
  .rank-row {
    padding-left:6px;
    padding-right:6px
  }
  .metric {
    padding:0 20px
  }
  .metric strong {
    font-size:23px
  }
  .page-heading {
    align-items:flex-start
  }
  .week-controls {
    flex-wrap:wrap;
    justify-content:flex-end;
    max-width:280px
  }
  .week-controls .quiet {
    margin-left:2px
  }
  .week-label {
    min-width:155px
  }
  .page-footer {
    padding-left:28px;
    padding-right:28px
  }
}
@media(max-width:1000px) {
  .app-shell {
    grid-template-columns:1fr
  }
  .sidebar {
    min-height:0;
    padding:17px 28px;
    flex-direction:row;
    align-items:center;
    justify-content:space-between
  }
  .sidebar nav {
    margin:0;
    display:flex;
    gap:5px
  }
  .nav-item {
    font-size:11px;
    padding:10px 13px;
    box-shadow:none!important
  }
  .sidebar-bottom {
    display:none
  }
  .brand-mark {
    height:30px
  }
  .brand-mark svg {
    width:28px;
    height:28px
  }
  .brand strong {
    font-size:18px
  }
  .brand small {
    font-size:8px;
    margin-top:4px
  }
  .topbar {
    height:60px
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1fr) 240px
  }
  .rank-header,.rank-row {
    grid-template-columns:minmax(100px,1fr) 90px 115px 10px
  }
}
@media(max-width:740px) {
  .sidebar {
    padding:16px 20px 10px;
    flex-wrap:wrap;
    gap:18px
  }
  .sidebar nav {
    display:flex;
    width:100%;
    gap:8px
  }
  .sidebar .nav-item {
    flex:1;
    justify-content:center;
    padding:11px 6px;
    min-height:40px
  }
  .integration-heading {
    margin-bottom:20px
  }
  .integration-heading h1 {
    font-size:22px
  }
  .integration-facts>div {
    grid-template-columns:80px minmax(0,1fr);
    gap:12px;
    padding:15px 0
  }
  .integration-facts dd>span.fact-note {
    margin-left:0;
    display:block
  }
  main {
    padding:26px 20px
  }
  .topbar {
    padding:0 20px;
    padding-top:10px;
    padding-bottom:10px;
    min-height:56px;
    height:auto;
    flex-wrap:wrap;
    gap:10px
  }
  .breadcrumb {
    font-size:11px
  }
  .account-name {
    max-width:100px;
    font-size:11px
  }
  .account-actions {
    gap:8px;
    margin-left:auto
  }
  .page-heading {
    display:block;
    margin-bottom:22px
  }
  h1 {
    font-size:25px
  }
  .subtitle {
    font-size:11px
  }
  .week-controls {
    margin-top:22px;
    max-width:none;
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:3px
  }
  .week-label {
    min-width:0;
    flex:1
  }
  .week-controls .quiet {
    margin-left:8px
  }
  .metrics {
    padding:21px 0;
    margin-bottom:27px;
    grid-template-columns:1.4fr 1fr 1fr
  }
  .metric {
    padding:0 12px
  }
  .metric:first-child {
    padding-left:0
  }
  .metric:last-child {
    padding-right:0
  }
  .metric strong {
    font-size:18px;
    margin:13px 0 6px
  }
  .metric-label {
    font-size:10px;
    gap:5px
  }
  .metric-label svg {
    width:13px;
    height:13px
  }
  .metric small {
    font-size:9px
  }
  .dashboard-grid {
    display:flex;
    flex-direction:column;
    gap:28px
  }
  .leaderboard {
    min-width:0;
    width:100%
  }
  .rank-header,.rank-row {
    grid-template-columns:minmax(100px,1fr) 77px 105px 10px;
    gap:6px
  }
  .rank-header {
    padding-left:5px;
    padding-right:5px;
    font-size:9px
  }
  .rank-member {
    gap:7px
  }
  .rank-number {
    min-width:14px;
    font-size:11px
  }
  .avatar {
    width:28px;
    height:28px;
    font-size:10px
  }
  .member-name {
    font-size:11px
  }
  .row-time {
    font-size:11px
  }
  .row-meta {
    font-size:9px
  }
  .sparkline {
    gap:4px
  }
  .personal {
    border:0;
    border-top:1px solid var(--line);
    padding:23px 0 0;
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 24px
  }
  .personal>.section-heading {
    grid-column:1/-1
  }
  .personal-identity {
    padding-bottom:16px
  }
  .personal-time {
    align-self:center
  }
  .personal-time>strong {
    font-size:20px
  }
  .personal-chart {
    margin:12px 0 20px
  }
  .personal-stats {
    align-self:center;
    border:0;
    padding:10px 0
  }
  .personal .full {
    grid-column:1/-1
  }
  .sync-panel {
    grid-column:1/-1
  }
  .personal .text-button {
    grid-column:1/-1
  }
  .page-footer {
    padding:15px 20px 25px
  }
  .drawer {
    width:100%;
    max-width:100%;
    padding:25px 20px
  }
  .modal {
    padding:23px
  }
  .list-footer {
    font-size:8px;
    flex-wrap:wrap
  }
  .page-alert {
    padding:12px
  }
  .access-state {
    min-height:340px;
    padding-top:55px
  }
  .toast {
    bottom:16px
  }
  .personal-time strong {
    font-size:19px
  }
}
@media(max-width:370px) {
  main {
    padding-left:14px;
    padding-right:14px
  }
  .rank-header,.rank-row {
    grid-template-columns:minmax(86px,1fr) 62px 98px 8px;
    gap:4px
  }
  .rank-member {
    gap:5px
  }
  .rank-member .avatar {
    display:none
  }
  .metric-label svg {
    display:none
  }
  .metric strong {
    font-size:16px
  }
  .topbar {
    padding-left:14px;
    padding-right:14px
  }
  .account-name {
    max-width:75px
  }
  .rank-header span:nth-child(2) {
    font-size:8px
  }
  .personal {
    gap:0 15px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}
