:root {
  color-scheme: dark;
  --background: #080b10;
  --surface: #111720;
  --surface-soft: #171f2a;
  --border: #283342;
  --text: #f5f7fa;
  --muted: #9ba9ba;
  --green: #3ee698;
  --yellow: #ffc857;
  --red: #ff5964;
  --blue: #6ea8fe;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 4%, rgba(62, 230, 152, .10), transparent 28rem),
    radial-gradient(circle at 92% 90%, rgba(110, 168, 254, .09), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, a { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

.maintenance-gate {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 14%, rgba(62, 230, 152, .16), transparent 30rem),
    radial-gradient(circle at 86% 86%, rgba(110, 168, 254, .14), transparent 32rem),
    rgba(8, 11, 16, .92);
  backdrop-filter: blur(12px);
}

.maintenance-card {
  width: min(520px, 100%);
  padding: clamp(28px, 6vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(62, 230, 152, .28);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(23, 31, 42, .98), rgba(12, 17, 24, .98));
  box-shadow: 0 32px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  text-align: center;
}

.maintenance-illustration {
  position: relative;
  width: 112px;
  height: 92px;
  margin: 0 auto 18px;
}

.maintenance-gear { position: absolute; display: grid; place-items: center; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .28)); }
.maintenance-gear-large { inset: 0 auto auto 7px; width: 76px; height: 76px; font-size: 3.7rem; animation: maintenance-float 3.2s ease-in-out infinite; }
.maintenance-gear-small { right: 2px; bottom: 0; width: 54px; height: 54px; font-size: 2.45rem; animation: maintenance-float 3.2s .35s ease-in-out infinite reverse; }

.maintenance-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.maintenance-kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(62, 230, 152, .1); }
.maintenance-card h2 { margin: 0; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.045em; }
.maintenance-card > p:not(.maintenance-kicker):not(.maintenance-signoff) { max-width: 410px; margin: 14px auto 0; color: var(--muted); line-height: 1.65; }

.maintenance-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 11, 16, .58);
  color: #d8e0e9;
  font-size: .82rem;
  font-weight: 750;
}

.maintenance-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 200, 87, .1); animation: maintenance-pulse 1.8s ease-in-out infinite; }
.maintenance-signoff { margin: 20px 0 0; color: #7f8da0; font-size: .82rem; font-weight: 700; }
.maintenance-active { overflow: hidden; }
.maintenance-active #protectedApp { filter: blur(3px); transform: scale(.997); }

@keyframes maintenance-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-7px) rotate(3deg); }
}

@keyframes maintenance-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .maintenance-gear,
  .maintenance-status-dot { animation: none; }
}

.auth-gate,
.limit-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(62, 230, 152, .12), transparent 28rem),
    radial-gradient(circle at 85% 85%, rgba(110, 168, 254, .12), transparent 30rem),
    rgba(8, 11, 16, .98);
}

.limit-gate { background: rgba(4, 7, 11, .92); backdrop-filter: blur(12px); }

.auth-gate {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(62, 230, 152, .18), transparent 30rem),
    radial-gradient(circle at 82% 78%, rgba(110, 168, 254, .16), transparent 32rem),
    #080b10;
}

.auth-layout {
  display: grid;
  width: min(1120px, 100%);
  min-width: 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.auth-layout > * { min-width: 0; }

.auth-showcase { position: relative; padding: 28px 0; }
.focus-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 9px 13px;
  border: 1px solid rgba(62, 230, 152, .3);
  border-radius: 999px;
  background: rgba(62, 230, 152, .08);
  color: #91f4c5;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.focus-badge span { color: var(--yellow); }
.activity-pulse {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
  border: 1px solid rgba(110, 168, 254, .22);
  border-radius: 14px;
  background: rgba(17, 23, 32, .72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}
.activity-pulse-login { margin: 0 0 24px; }
.activity-pulse-app { margin-top: 14px; }
.activity-stat { display: grid; gap: 1px; min-width: 88px; }
.activity-stat strong { display: flex; align-items: center; gap: 7px; color: #f5f7fa; font-size: 1rem; font-variant-numeric: tabular-nums; line-height: 1; }
.activity-stat > span { color: #8493a6; font-size: .65rem; font-weight: 750; letter-spacing: .025em; }
.activity-stat-live strong { color: #8ff2c2; }
.activity-stat-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(62, 230, 152, .1); animation: activityPulse 2.2s ease-in-out infinite; }
.activity-divider { width: 1px; height: 30px; background: var(--border); }

@keyframes activityPulse {
  0%, 100% { opacity: .58; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1); }
}

.auth-showcase h1 { max-width: 720px; font-size: clamp(2.55rem, 5.6vw, 5rem); line-height: .96; }
.title-icon { display: inline-block; margin-right: .08em; font-size: .72em; filter: drop-shadow(0 8px 14px rgba(62, 230, 152, .18)); transform: translateY(-.04em) rotate(-8deg); }
.auth-showcase > p:not(.focus-badge):not(.health-note) { max-width: 650px; margin: 20px 0 0; color: #b5c2d1; font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 1.65; }

.focus-orbit {
  position: absolute;
  top: -14px;
  right: 0;
  width: 150px;
  height: 150px;
  border: 1px dashed rgba(110, 168, 254, .28);
  border-radius: 50%;
  opacity: .9;
}

.focus-brain { position: absolute; inset: 42px; display: grid; place-items: center; border-radius: 28px; background: rgba(110, 168, 254, .09); font-size: 2.7rem; }
.orbit-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(62, 230, 152, .08); }
.orbit-dot-one { top: 7px; left: 35px; background: var(--green); }
.orbit-dot-two { right: 9px; bottom: 30px; background: var(--yellow); }
.orbit-label { position: absolute; padding: 7px 9px; border: 1px solid var(--border); border-radius: 9px; background: rgba(17, 23, 32, .96); color: #dce5ee; font-size: .68rem; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); }
.orbit-label-one { top: 18px; right: 112px; transform: rotate(-4deg); }

.focus-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.focus-benefits li { display: grid; grid-template-columns: auto 1fr; gap: 2px 9px; padding: 14px; border: 1px solid rgba(40, 51, 66, .86); border-radius: 15px; background: rgba(17, 23, 32, .7); }
.focus-benefits li > span { grid-row: 1 / 3; font-size: 1.35rem; }
.focus-benefits strong { font-size: .82rem; }
.focus-benefits small { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.health-note { max-width: 680px; margin: 16px 0 0; padding: 12px 14px; border-left: 2px solid var(--green); border-radius: 0 10px 10px 0; background: rgba(62, 230, 152, .055); color: #8fa0b2; font-size: .75rem; line-height: 1.5; }
.download-app-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 17px;
  border: 1px solid rgba(244, 198, 83, .45);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 198, 83, .16), rgba(62, 230, 152, .1));
  color: #fff2bd;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.download-app-button:hover { transform: translateY(-2px); border-color: var(--yellow); box-shadow: 0 16px 36px rgba(0, 0, 0, .28); }
.download-app-button:focus-visible { outline: 3px solid rgba(244, 198, 83, .28); outline-offset: 3px; }
.download-app-arrow { margin-left: 2px; color: var(--green); font-size: 1rem; }

.auth-card,
.limit-card {
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(17, 23, 32, .96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

.auth-card { width: 100%; max-width: 450px; margin-left: auto; }
.limit-card { text-align: center; }
.auth-kicker { margin: 0 0 8px; color: var(--green); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.auth-card h2 { margin: 0; font-size: clamp(1.9rem, 5vw, 2.55rem); letter-spacing: -.045em; }
.auth-intro, .limit-card > p:not(.auth-kicker) { margin: 10px 0 24px; color: var(--muted); line-height: 1.55; }
.limit-card h2 { margin: 0; font-size: 1.9rem; letter-spacing: -.035em; }

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 20px; padding: 4px; border-radius: 12px; background: #0b1017; }
.auth-tabs button { min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.auth-tabs button.active { background: var(--surface-soft); color: var(--text); box-shadow: 0 3px 12px rgba(0, 0, 0, .24); }

.auth-form { display: grid; gap: 8px; }
.auth-form label { margin-top: 3px; color: #c6d0dc; font-size: .82rem; font-weight: 750; }
.auth-form input { min-height: 48px; padding: 0 13px; border: 1px solid var(--border); border-radius: 10px; outline: none; background: #0b1017; color: var(--text); }
.auth-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(62, 230, 152, .1); }
.auth-form input[aria-invalid="true"] { border-color: #ff727c; box-shadow: 0 0 0 3px rgba(255, 114, 124, .1); }
.auth-field-hint, .auth-field-error { margin: -2px 2px 2px; font-size: .74rem; line-height: 1.4; }
.auth-field-hint { color: #748295; }
.auth-field-error { color: #ff8b93; }
.auth-field-error[hidden] { display: none; }
.auth-form .primary-button, .limit-card .primary-button { min-height: 48px; margin-top: 10px; border: 0; border-radius: 10px; background: var(--green); color: #07150f; cursor: pointer; font-weight: 900; }
.limit-card .download-app-limit { display: grid; place-items: center; text-decoration: none; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: #748295; font-size: .78rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.google-login { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: #202124; cursor: pointer; font-weight: 800; }
.google-login span { display: inline-grid; width: 24px; height: 24px; margin-right: 7px; place-items: center; border-radius: 50%; color: #4285f4; font-weight: 900; }
.auth-error { margin: 14px 0 0; color: #ff8b93; font-size: .86rem; line-height: 1.45; }
.auth-legal { margin: 18px 0 0; color: #748295; font-size: .75rem; line-height: 1.45; text-align: center; }
.auth-legal a { color: #a9c8ff; }
.text-button { margin-top: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; text-decoration: underline; }

.account-panel { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 14px; background: rgba(17, 23, 32, .88); }
.account-copy { display: grid; min-width: 170px; gap: 2px; }
.account-copy strong { max-width: 230px; overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.account-copy span { color: var(--green); font-size: .72rem; }
.usage-line { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.usage-help { position: relative; display: inline-flex; }
.usage-help[hidden] { display: none; }
.usage-help-trigger { padding: 0; border: 0; border-bottom: 1px dotted currentColor; background: transparent; color: #8fa0b2; cursor: help; font: inherit; font-size: .68rem; }
.usage-help-trigger:focus-visible { border-radius: 3px; outline: 2px solid rgba(110, 168, 254, .7); outline-offset: 3px; }
.account-copy .usage-help-tooltip {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 10px);
  left: 0;
  width: min(290px, 78vw);
  padding: 11px 12px;
  border: 1px solid rgba(110, 168, 254, .42);
  border-radius: 10px;
  background: #111720;
  color: #dce5ee;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  font-size: .75rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}
.usage-help:hover .usage-help-tooltip, .usage-help:focus-within .usage-help-tooltip { opacity: 1; transform: translateY(0); }
.logout-button, .analytics-button, .download-app-compact { min-height: 34px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: .75rem; font-weight: 850; }
.analytics-button { border-color: rgba(110, 168, 254, .38); background: rgba(110, 168, 254, .1); color: #bed5ff; }
.analytics-button:hover { border-color: var(--blue); background: rgba(110, 168, 254, .17); }
.download-app-compact { display: inline-flex; align-items: center; border-color: rgba(244, 198, 83, .42); background: rgba(244, 198, 83, .1); color: #ffe69a; text-decoration: none; white-space: nowrap; }
.download-app-compact:hover { border-color: var(--yellow); background: rgba(244, 198, 83, .16); }
.download-app-compact:focus-visible { outline: 3px solid rgba(244, 198, 83, .25); outline-offset: 2px; }
.logout-button { border-color: var(--border); background: var(--surface-soft); color: var(--muted); }

.app-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 20px;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: -.055em; }
.intro { max-width: 700px; margin: 8px 0 0; color: var(--muted); }
.hero-highlight { display: block; color: var(--green); font-size: .48em; font-weight: 750; letter-spacing: -.02em; line-height: 1.3; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.hero-pills span { padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: rgba(17, 23, 32, .68); color: #c7d1dc; font-size: .72rem; font-weight: 750; }
.hero-health-note { max-width: 720px; margin: 10px 0 0; color: #718095; font-size: .68rem; line-height: 1.45; }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.support {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(62, 230, 152, .35);
  border-radius: 14px;
  background: rgba(17, 23, 32, .86);
}

.support-copy { display: grid; gap: 2px; }
.support-copy strong { color: var(--text); }
.support-copy span { color: var(--muted); font-size: .78rem; }
.support-links { display: flex; gap: 7px; }
.support a { padding: 7px 10px; border-radius: 8px; background: var(--surface-soft); color: var(--text); font-size: .84rem; font-weight: 700; text-decoration: none; }
.support a:hover { color: var(--green); }

.support.coffee-denied {
  border-color: rgba(255, 200, 87, .72);
  animation: coffeeBlink 1.8s ease-in-out infinite;
}
.support.coffee-denied .support-copy span { color: var(--yellow); }

.analytics-dialog {
  width: min(940px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(110, 168, 254, .28);
  border-radius: 24px;
  background: #0d131c;
  color: var(--text);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .66);
}
.analytics-dialog::backdrop { background: rgba(2, 5, 9, .82); backdrop-filter: blur(8px); }
.analytics-dialog-content { max-height: calc(100vh - 32px); padding: 28px; overflow-y: auto; }
.analytics-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.analytics-header h2 { margin: 2px 0 0; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.045em; }
.analytics-header p:last-child { max-width: 620px; margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.analytics-kicker { margin: 0; color: var(--green); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.analytics-close { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface-soft); color: var(--text); cursor: pointer; font-size: 1.45rem; }
.analytics-loading, .analytics-error { margin: 28px 0 0; padding: 22px; border: 1px solid var(--border); border-radius: 15px; background: rgba(17, 23, 32, .7); color: var(--muted); text-align: center; }
.analytics-error { border-color: rgba(255, 89, 100, .35); color: #ff9ca3; }
.analytics-section { margin-top: 24px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: rgba(17, 23, 32, .72); }
.analytics-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.analytics-section-heading span { color: var(--green); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.analytics-section-heading h3 { margin: 3px 0 0; font-size: 1.12rem; }
.focus-score { display: grid; min-width: 94px; gap: 1px; text-align: right; }
.focus-score strong { color: var(--green); font-size: 1.6rem; line-height: 1; }
.focus-score span { color: var(--muted); font-size: .62rem; letter-spacing: .05em; }
.analytics-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.analytics-cards article { display: grid; min-width: 0; gap: 3px; padding: 15px; border: 1px solid rgba(40, 51, 66, .85); border-radius: 13px; background: #0a0f16; }
.analytics-icon { font-size: 1.15rem; }
.analytics-cards strong { margin-top: 5px; overflow: hidden; font-size: 1.2rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-cards small, .analytics-insights small { color: var(--muted); font-size: .68rem; }
.analytics-week-total { color: #d8e6ff; font-size: .9rem; }
.analytics-chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 10px; min-height: 170px; margin-top: 20px; }
.analytics-day { display: grid; grid-template-rows: 118px auto; gap: 8px; min-width: 0; text-align: center; }
.analytics-bar-track { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border: 1px solid rgba(40, 51, 66, .8); border-radius: 10px; background: #080c12; }
.analytics-bar { width: 100%; min-height: 3px; border-radius: 9px 9px 0 0; background: linear-gradient(180deg, var(--green), #208f63); transition: height .35s ease; }
.analytics-day.is-today .analytics-bar-track { border-color: rgba(62, 230, 152, .45); }
.analytics-day-label { display: grid; gap: 2px; color: var(--muted); font-size: .66rem; }
.analytics-day-label strong { color: #dbe4ee; font-size: .72rem; }
.analytics-insights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.analytics-insights article { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: rgba(17, 23, 32, .58); }
.analytics-insights article > span { font-size: 1.25rem; }
.analytics-insights article div { display: grid; min-width: 0; gap: 3px; }
.analytics-insights strong { overflow: hidden; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-tip { margin: 12px 0 0; padding: 13px 15px; border-left: 2px solid var(--blue); border-radius: 0 11px 11px 0; background: rgba(110, 168, 254, .07); color: #aebed1; font-size: .78rem; line-height: 1.5; }

@keyframes coffeeBlink {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 200, 87, 0); transform: translateY(0); }
  50% { box-shadow: 0 0 26px rgba(255, 200, 87, .28); transform: translateY(-2px); }
}

.ad-preview {
  min-height: 86px;
  margin: 0 0 18px;
  padding: 14px 18px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px dashed #384453;
  border-radius: 14px;
  background: rgba(17, 23, 32, .58);
  color: var(--muted);
  text-align: center;
}
.ad-preview[hidden] { display: none; }
.ad-preview p { margin: 0; font-size: .82rem; }
.ad-label { font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.workspace {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.camera-card, .info-card, .benefactors-card, .chat-card, .webcam-preview-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 23, 32, .92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-card {
  display: flex;
  height: clamp(360px, calc(100vh - 220px), 520px);
  min-height: 0;
  flex-direction: column;
}

.chat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 16px 14px;
  border-bottom: 1px solid var(--border);
}

.chat-heading h2 { margin: 0; font-size: 1.25rem; }
.chat-kicker {
  margin: 0 0 2px;
  color: var(--green);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.chat-connection {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 750;
}

.chat-connection::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.chat-connection.online::before { background: var(--green); }
.chat-connection.offline::before { background: var(--red); }

.chat-messages {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-color: #3b4858 transparent;
}

.chat-empty {
  margin: auto 0;
  padding: 18px 10px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
  text-align: center;
}

.chat-message {
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 11px 11px 11px 3px;
  background: var(--surface-soft);
}

.chat-message.own {
  border-color: rgba(62, 230, 152, .25);
  border-radius: 11px 11px 3px 11px;
  background: rgba(62, 230, 152, .07);
}

.chat-message.demo-bot { border-color: rgba(110, 168, 254, .22); background: rgba(110, 168, 254, .055); }

.chat-message-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.chat-message-user {
  min-width: 0;
  overflow: hidden;
  color: var(--green);
  font-size: .76rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-bot-badge { display: inline-flex; margin-left: 3px; padding: 2px 5px; border: 1px solid rgba(110, 168, 254, .35); border-radius: 999px; background: rgba(110, 168, 254, .1); color: #bed5ff; font-size: .52rem; font-weight: 900; letter-spacing: .04em; line-height: 1; text-transform: uppercase; vertical-align: middle; }

.chat-message-time { flex: 0 0 auto; color: var(--muted); font-size: .64rem; }
.chat-message-text { margin: 5px 0 0; overflow-wrap: anywhere; font-size: .86rem; line-height: 1.42; white-space: pre-wrap; }

.chat-entry { padding: 12px; border-top: 1px solid var(--border); background: rgba(8, 11, 16, .28); }
.chat-identity-form { display: grid; gap: 8px; }
.chat-identity-form label { color: var(--muted); font-size: .76rem; font-weight: 700; }
.chat-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.chat-card input, .chat-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #0b1017;
  color: var(--text);
  font: inherit;
  font-size: .84rem;
  outline: none;
}

.chat-card input { min-height: 39px; padding: 8px 10px; }
.chat-card textarea { min-height: 58px; padding: 9px 10px; resize: none; }
.chat-card input:focus, .chat-card textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(62, 230, 152, .08); }
.chat-card button {
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--green);
  color: #06120d;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 850;
}

.chat-card button:disabled { cursor: wait; opacity: .55; }
.chat-input-row button { padding: 0 11px; }
.chat-user-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: .73rem; }
.chat-user-line strong { color: var(--text); }
.chat-user-line button { padding: 3px 0; border: 0; background: transparent; color: var(--blue); }
.chat-message-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 7px; }
.chat-message-form button { min-height: 40px; padding: 0 12px; }
.chat-error { margin: 8px 0 0; color: #ff9ba2; font-size: .72rem; line-height: 1.35; }

.sidebar {
  display: grid;
  gap: 18px;
}

.webcam-preview-card { padding: 14px; }
.webcam-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.webcam-preview-heading h2 { margin: 0; font-size: 1.2rem; }
.webcam-preview-kicker {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.webcam-preview-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
}

.webcam-preview-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(155, 169, 186, .08);
}

.webcam-preview-card.active .webcam-preview-status { color: var(--green); }
.webcam-preview-card.active .webcam-preview-status::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(62, 230, 152, .10);
}

.webcam-preview-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #030507;
}

.webcam-preview-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.webcam-preview-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  background: linear-gradient(145deg, #0b1017, #070a0f);
  color: var(--muted);
}

.webcam-preview-placeholder span { color: #536173; font-size: 1.3rem; }
.webcam-preview-placeholder small { font-size: .76rem; }
.webcam-preview-card.active .webcam-preview-placeholder { display: none; }

.webcam-preview-button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid rgba(110, 168, 254, .46);
  border-radius: 10px;
  background: rgba(110, 168, 254, .10);
  color: #b8d1ff;
  cursor: pointer;
  font-weight: 850;
}

.webcam-preview-card.active .webcam-preview-button {
  border-color: rgba(255, 89, 100, .38);
  background: rgba(255, 89, 100, .08);
  color: #ff9ba2;
}

.webcam-preview-note, .webcam-preview-error {
  margin: 9px 1px 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
}

.webcam-preview-error { color: #ff9ba2; }

.benefactors-card {
  position: relative;
  padding: 20px;
}

.benefactors-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #8d6514, #ffe39a 50%, #8d6514);
}

.benefactors-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.benefactors-kicker {
  margin: 0 0 3px;
  color: var(--yellow);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.benefactors-heading h2 { margin: 0; }
.benefactors-trophy {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 200, 87, .36);
  border-radius: 11px;
  background: rgba(255, 200, 87, .09);
  font-size: 1.25rem;
}

.benefactors-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefactor {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
}

.benefactor-rank {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: rgba(155, 169, 186, .09);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
}

.benefactor-name { min-width: 0; font-weight: 750; }
.benefactor-score {
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.benefactor.champion {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  border-color: rgba(255, 200, 87, .72);
  background:
    linear-gradient(100deg, rgba(255, 200, 87, .20), rgba(255, 200, 87, .055)),
    var(--surface-soft);
  box-shadow: inset 0 0 20px rgba(255, 200, 87, .08), 0 8px 22px rgba(0, 0, 0, .18);
}

.champion .benefactor-rank {
  background: linear-gradient(145deg, #ffe59d, #c98b18);
  color: #2b1c00;
  box-shadow: 0 0 16px rgba(255, 200, 87, .24);
}

.champion .benefactor-name, .champion .benefactor-score { color: #ffe39a; }
.champion-label {
  grid-column: 2 / -1;
  margin-top: -7px;
  color: #dbae50;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.camera-toolbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
}

.status-line { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 5px rgba(155, 169, 186, .10); }
.status-dot.ok { background: var(--green); box-shadow: 0 0 0 5px rgba(62, 230, 152, .12); }
.status-dot.warning { background: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 200, 87, .12); }
.status-dot.danger { background: var(--red); box-shadow: 0 0 0 5px rgba(255, 89, 100, .14); }
.metric { color: var(--muted); font-variant-numeric: tabular-nums; }

.camera-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #030507;
}

#webcam { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#output { display: block; width: 100%; height: 100%; object-fit: contain; }

.start-overlay, .distraction-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.start-overlay { background: rgba(3, 5, 7, .80); backdrop-filter: blur(8px); }
.start-overlay[hidden], .distraction-overlay[hidden] { display: none; }

.start-box { max-width: 420px; padding: 30px; text-align: center; }
.start-box h2 { margin: 0 0 8px; font-size: 2rem; }
.start-box p { color: var(--muted); }
.start-box small { display: block; margin-top: 14px; color: var(--muted); }

.primary-button, .controls > button {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
  font-weight: 750;
}

.primary-button { border-color: transparent; background: var(--green); color: #06120d; }
button:hover:not(:disabled) { filter: brightness(1.12); }
button:disabled { cursor: not-allowed; opacity: .42; }

.distraction-overlay { background: #000; }
.distraction-overlay video { width: 100%; height: 100%; object-fit: contain; }
.warning-label {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 900;
  letter-spacing: .06em;
}

.controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 13px 16px; }
.controls #stopButton { margin-left: auto; color: #ff9ba2; }

.super-focus-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.super-focus-button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(110, 168, 254, .48);
  border-radius: 10px;
  background: rgba(110, 168, 254, .08);
  color: #a9c9ff;
  cursor: pointer;
  font-weight: 850;
}

.super-focus-button[aria-pressed="true"] {
  border-color: transparent;
  background: var(--blue);
  color: #07111f;
  box-shadow: 0 0 0 4px rgba(110, 168, 254, .10), 0 7px 20px rgba(110, 168, 254, .18);
}

.super-focus-button:focus-visible, .help-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.super-focus-help { position: relative; }
.help-trigger {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  cursor: help;
  font-size: .76rem;
  font-weight: 900;
}

.help-tooltip {
  position: absolute;
  z-index: 5;
  bottom: calc(100% + 10px);
  left: 0;
  width: 255px;
  padding: 10px 12px;
  border: 1px solid rgba(110, 168, 254, .38);
  border-radius: 10px;
  background: #172232;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}

.super-focus-help:hover .help-tooltip,
.super-focus-help:focus-within .help-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.reminder-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
}

.reminder-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.reminder-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0b1017;
  color: var(--muted);
  cursor: pointer;
}

.reminder-option {
  display: grid;
  place-items: center;
  min-width: 94px;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 800;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.reminder-switch[data-reminder="papi"] .reminder-option-papi,
.reminder-switch[data-reminder="brancale"] .reminder-option-brancale {
  background: var(--green);
  color: #06120d;
  box-shadow: 0 3px 10px rgba(62, 230, 152, .15);
}

.reminder-switch:hover { border-color: rgba(62, 230, 152, .5); }
.reminder-switch:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.info-card { padding: 20px; }
.info-card h2 { margin: 0 0 16px; }
.info-card dl { margin: 0; }
.info-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.info-card dt { color: var(--muted); }
.info-card dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.hint, .privacy { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.privacy { margin: 18px 0 0; padding: 12px; border-radius: 10px; background: rgba(62, 230, 152, .07); }

footer { padding: 18px 2px 0; color: var(--muted); font-size: .82rem; }
footer a { margin-left: 8px; color: var(--green); }
kbd { padding: 2px 6px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); color: var(--text); }

.mobile-notice-dialog {
  width: min(440px, calc(100% - 28px));
  padding: 0;
  border: 1px solid rgba(110, 168, 254, .52);
  border-radius: 22px;
  background: #111720;
  color: var(--text);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
}

.mobile-notice-dialog::backdrop {
  background: rgba(2, 4, 7, .78);
  backdrop-filter: blur(7px);
}

.mobile-notice-content { padding: 28px; text-align: center; }
.mobile-notice-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  place-items: center;
  border: 1px solid rgba(110, 168, 254, .36);
  border-radius: 17px;
  background: rgba(110, 168, 254, .09);
  font-size: 1.8rem;
}

.mobile-notice-kicker {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mobile-notice-dialog h2 { margin: 0 0 10px; font-size: 1.75rem; letter-spacing: -.035em; }
.mobile-notice-dialog p:not(.mobile-notice-kicker) { margin: 0 0 22px; color: #c1ccd8; line-height: 1.55; }
.mobile-notice-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: #07111f;
  cursor: pointer;
  font-weight: 850;
}

.mobile-notice-button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.coffee-dialog {
  width: min(430px, calc(100% - 28px));
  padding: 0;
  border: 1px solid rgba(255, 200, 87, .55);
  border-radius: 22px;
  background: #111720;
  color: var(--text);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
}
.coffee-dialog::backdrop { background: rgba(2, 4, 7, .72); backdrop-filter: blur(6px); }
.coffee-dialog-content { padding: 28px; text-align: center; }
.coffee-dialog h2 { margin: 8px 0 10px; font-size: 1.8rem; letter-spacing: -.03em; }
.coffee-dialog p { min-height: 48px; margin: 0 auto 22px; color: #c1ccd8; font-size: 1rem; line-height: 1.5; }
.coffee-emoji { font-size: 3rem; line-height: 1; filter: drop-shadow(0 8px 18px rgba(255, 200, 87, .22)); }
.coffee-emoji.please { animation: pleaseWiggle .7s ease-in-out 2; }
.coffee-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coffee-actions[hidden] { display: none; }
.coffee-button, .coffee-donate-actions a, .coffee-later {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
}
.coffee-button-yes, .coffee-donate-actions a { border-color: transparent; background: var(--yellow); color: #231a04; }
.coffee-button-no { color: var(--muted); }
.coffee-donate-actions { grid-template-columns: 1fr 1fr; }
.coffee-later { grid-column: 1 / -1; min-height: 36px; border: 0; background: transparent; color: var(--muted); font-size: .85rem; }

@keyframes pleaseWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  35% { transform: rotate(-6deg) scale(1.08); }
  70% { transform: rotate(6deg) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .support.coffee-denied, .coffee-emoji.please, .activity-stat-live i { animation: none; }
}

@media (max-width: 1180px) {
  .auth-layout { gap: 30px; }
  .auth-showcase h1 { max-width: 620px; font-size: clamp(2.7rem, 5.8vw, 4.2rem); }
  .focus-orbit { top: -32px; right: -8px; transform: scale(.72); transform-origin: top right; }
  .orbit-label-one { right: 105px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 280px; }
  .camera-card, .sidebar { order: 1; }
  .chat-card { order: 2; grid-column: 1 / -1; width: min(100%, 560px); height: 330px; }
}

@media (max-width: 900px) {
  .auth-layout { width: min(680px, calc(100vw - 48px)); grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .auth-card { max-width: none; margin-left: 0; }
  .auth-showcase { padding-bottom: 0; }
  .auth-showcase h1 { max-width: 590px; font-size: clamp(2.5rem, 9vw, 4.2rem); }
  .focus-orbit { display: none; }
  .hero { align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .workspace { grid-template-columns: 1fr; }
  .camera-card { order: 1; }
  .chat-card { order: 2; grid-column: auto; width: 100%; }
  .sidebar { order: 3; }
  .info-card { display: none; }
  .analytics-cards, .analytics-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .auth-gate, .limit-gate { padding: 12px; }
  .auth-gate { display: block; }
  .auth-card, .limit-card { padding: 24px 18px; }
  .auth-layout { width: auto; max-width: none; margin: 0; gap: 16px; }
  .auth-layout, .auth-showcase, .auth-card { max-width: calc(100vw - 24px) !important; }
  .auth-showcase, .auth-card { width: auto; overflow: hidden; }
  .auth-showcase { padding: 14px 6px 0; }
  .auth-showcase h1 { width: 100%; max-width: 100%; font-size: clamp(2rem, 10vw, 2.6rem); overflow-wrap: break-word; }
  .auth-showcase > p:not(.focus-badge):not(.health-note) { font-size: .94rem; }
  .focus-orbit { display: none; }
  .focus-benefits { grid-template-columns: 1fr; gap: 7px; }
  .focus-benefits li { padding: 11px 13px; }
  .health-note { font-size: .7rem; }
  .activity-pulse { width: 100%; justify-content: center; }
  .activity-stat { min-width: 0; flex: 1; }
  .account-panel { width: 100%; flex-wrap: wrap; }
  .account-copy { flex: 1; }
  .app-shell { width: min(100% - 18px, 1440px); padding-top: 16px; }
  .header-actions { gap: 8px; }
  .support { max-width: 100%; flex-wrap: wrap; }
  .coffee-dialog-content { padding: 24px 18px; }
  .mobile-notice-content { padding: 24px 18px; }
  .camera-toolbar { align-items: flex-start; flex-direction: column; padding: 11px 13px; }
  .controls { flex-wrap: wrap; }
  .super-focus-control { order: -1; }
  .reminder-control { order: -1; width: 100%; justify-content: space-between; }
  .reminder-switch { flex: 1; }
  .reminder-option { min-width: 0; }
  .controls #stopButton { margin-left: 0; }
  .analytics-dialog { width: calc(100% - 18px); max-height: calc(100vh - 18px); border-radius: 18px; }
  .analytics-dialog-content { max-height: calc(100vh - 18px); padding: 20px 14px; }
  .analytics-header h2 { font-size: 2rem; }
  .analytics-cards, .analytics-insights { grid-template-columns: 1fr 1fr; gap: 7px; }
  .analytics-section { padding: 15px; }
  .analytics-chart { gap: 5px; min-height: 150px; }
  .analytics-day { grid-template-rows: 102px auto; }
}
