* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --bg: #060608;
  --surface: #0f0f16;
  --surface2: #16161f;
  --surface3: #1e1e28;
  --border: #22222e;
  --border2: #2c2c3c;
  --accent: #a78bfa;
  --aglow: rgba(167, 139, 250, .14);
  --a2: #f472b6;
  --a3: #34d399;
  --a4: #fbbf24;
  --a5: #60a5fa;  
  --text: #eeebff;
  --text2: #9e99bc;
  --text3: #4e4a68;
  --r: 14px;
  --r2: 20px;
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0
}

.b1 {
  width: 700px;
  height: 700px;
  background: rgba(167, 139, 250, .055);
  top: -250px;
  left: -250px
}

.b2 {
  width: 550px;
  height: 550px;
  background: rgba(244, 114, 182, .045);
  bottom: -200px;
  right: -150px
}

.b3 {
  width: 450px;
  height: 450px;
  background: rgba(52, 211, 153, .035);
  top: 40%;
  left: 40%;
  transform: translate(-50%, -50%)
}

/* LANDING */
#landing {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--bg)
}

#landing.hidden {
  display: none
}

.land-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 10px
}

.land-logo {
  display: flex;
  align-items: center;
  gap: 10px
}

.land-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--a2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px
}

.land-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 8px 18px;
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent)
}

.btn-goog {
  background: linear-gradient(135deg, var(--accent), var(--a2));
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s;
  display: flex;
  align-items: center;
  gap: 7px
}

.btn-goog:hover {
  opacity: .88
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 36px;
  text-align: center;
  position: relative;
  z-index: 2
}

.hero-tag {
  background: var(--aglow);
  border: 1px solid rgba(167, 139, 250, .3);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .5px;
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2px;
  max-width: 800px
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--a2), var(--a4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero p {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--text2);
  margin-top: 18px;
  max-width: 540px;
  line-height: 1.7
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center
}

.btn-hero {
  padding: 13px 30px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 8px
}

.btn-hero-main {
  background: linear-gradient(135deg, var(--accent), var(--a2));
  border: none;
  color: #fff
}

.btn-hero-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(167, 139, 250, .28)
}

.btn-hero-sec {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text2)
}

.btn-hero-sec:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.stats-band {
  display: flex;
  justify-content: center;
  gap: 52px;
  padding: 36px 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
  flex-wrap: wrap
}

.sb-item {
  text-align: center
}

.sb-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.sb-lbl {
  font-size: 12px;
  color: var(--text2);
  margin-top: 3px
}

.land-section {
  padding: 40px 56px;
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%
}

.land-section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.5px;
  text-align: center;
  margin-bottom: 8px
}

.land-section-sub {
  font-size: 13px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 28px
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 22px;
  transition: border-color .2s, transform .2s
}

.feat-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px)
}

.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 12px
}

.feat-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 6px
}

.feat-card p {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.6
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px
}

.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 18px
}

.tcard-stars {
  color: var(--a4);
  font-size: 12px;
  margin-bottom: 9px
}

.tcard-text {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.65;
  font-style: italic
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px
}

.tcard-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0
}

.tcard-name {
  font-size: 12px;
  font-weight: 600
}

.tcard-role {
  font-size: 10px;
  color: var(--text3)
}

.land-cta {
  text-align: center;
  padding: 52px 24px 70px;
  position: relative;
  z-index: 2
}

.land-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px
}

.land-cta p {
  color: var(--text2);
  font-size: 13px;
  margin-bottom: 26px
}

/* AUTH */
#authModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  padding: 1rem
}

#authModal.open {
  display: flex
}

.auth-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 34px;
  width: 100%;
  max-width: 390px;
  text-align: center;
  animation: fadeUp .25s ease
}

.auth-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--a2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px
}

.auth-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 5px
}

.auth-sub {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 26px;
  line-height: 1.5
}

.btn-google {
  width: 100%;
  background: #fff;
  color: #1a1a1a;
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .15s;
  margin-bottom: 10px
}

.btn-google:hover {
  opacity: .92
}

.gico {
  width: 19px;
  height: 19px
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px;
  color: var(--text3);
  font-size: 11px
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border)
}

.auth-demo {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 11px;
  font-size: 13px;
  color: var(--text2);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s
}

.auth-demo:hover {
  color: var(--text);
  border-color: var(--accent)
}

.auth-terms {
  font-size: 10px;
  color: var(--text3);
  margin-top: 14px;
  line-height: 1.5
}

/* APP */
#app {
  display: none
}

#app.visible {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1
}

.sidebar {
  width: 72px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 5px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 50;
  transition: width .28s ease;
  overflow: hidden
}

.sidebar:hover {
  width: 216px
}

.sidebar:hover .nav-label {
  opacity: 1;
  max-width: 130px
}

.sidebar:hover .nav-btn {
  justify-content: flex-start;
  padding: 10px 18px;
  gap: 11px
}

.sidebar:hover .logo-text {
  opacity: 1
}

.sidebar:hover .logo-wrap {
  padding: 8px 15px
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 7px;
  width: 100%;
  transition: padding .28s
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--a2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  overflow: hidden;
  transition: opacity .2s;
  background: linear-gradient(135deg, var(--accent), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.nav-btn {
  width: calc(100% - 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  border-radius: 10px;
  margin: 0 5px;
  transition: all .14s;
  position: relative;
  font-family: inherit
}

.nav-btn:hover {
  background: var(--surface2);
  color: var(--text)
}

.nav-btn.active {
  background: var(--aglow);
  color: var(--accent)
}

.nav-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--accent);
  border-radius: 0 3px 3px 0
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0
}

.nav-label {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  overflow: hidden;
  max-width: 0;
  transition: opacity .2s .04s, max-width .28s
}

.nav-spacer {
  flex: 1
}

.user-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid var(--border2);
  transition: border-color .15s;
  background: linear-gradient(135deg, var(--accent), var(--a2));
  color: #fff
}

.user-av:hover {
  border-color: var(--accent)
}

.main {
  margin-left: 72px;
  flex: 1;
  padding: 26px 30px;
  max-width: 1080px
}

.page {
  display: none
}

.page.active {
  display: block;
  animation: fadeUp .28s ease
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px
}

.topbar h1 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.5px
}

.topbar p {
  font-size: 12px;
  color: var(--text2);
  margin-top: 2px
}

.topbar-r {
  display: flex;
  align-items: center;
  gap: 9px
}

.date-chip {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 5px
}

.btn-add {
  background: linear-gradient(135deg, var(--accent), var(--a2));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 9px 17px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .14s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap
}

.btn-add:hover {
  opacity: .9;
  transform: translateY(-1px)
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin-bottom: 20px
}

.sc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 15px 17px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s
}

.sc:hover {
  border-color: var(--border2)
}

.sc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .02), transparent);
  pointer-events: none
}

.sc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 9px
}

.sc-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px
}

.sc-lbl {
  font-size: 11px;
  color: var(--text2);
  margin-top: 4px;
  font-weight: 500
}

.cat-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap
}

.cpill {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 30px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all .14s;
  font-family: inherit
}

.cpill:hover {
  border-color: var(--border2);
  color: var(--text)
}

.cpill.active {
  background: var(--aglow);
  border-color: var(--accent);
  color: var(--accent)
}

.sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px
}

.sec-title {
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px
}

.sec-badge {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 11px;
  color: var(--text2);
  font-family: 'DM Sans', sans-serif
}

.hlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px
}

.hcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  transition: all .18s
}

.hcard:hover {
  border-color: var(--border2)
}

.hcard.done {
  background: #0c1810;
  border-color: #183020
}

.hcard.done .hcard-name {
  text-decoration: line-through;
  opacity: .5
}

.hcard-ico {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  position: relative
}

.hcard-glow {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  filter: blur(6px);
  opacity: .3
}

.hcard-body {
  flex: 1;
  min-width: 0
}

.hcard-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px
}

.hcard-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap
}

.badge {
  border-radius: 7px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px
}

.bs {
  background: #152010;
  color: #4ade80
}

.bf {
  background: var(--surface3);
  color: var(--text2)
}

.bc {
  background: var(--surface3);
  color: var(--text3);
  font-size: 10px
}

.hcard-week {
  display: flex;
  gap: 3px;
  margin-top: 6px
}

.wd {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--surface3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--text3);
  font-weight: 700
}

.wd.done {
  background: #183828;
  border-color: #245c3c;
  color: #4ade80
}

.wd.today {
  border-color: var(--accent);
  color: var(--accent)
}

.hcard-prog {
  height: 3px;
  background: var(--surface3);
  border-radius: 2px;
  margin-top: 7px;
  overflow: hidden
}

.hcard-prog-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .5s ease
}

.hcard-start {
  font-size: 10px;
  color: var(--text3);
  margin-top: 3px
}

.hcard-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0
}

.btn-check {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--border2);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all .18s
}

.btn-check:hover {
  border-color: var(--a3);
  color: var(--a3)
}

.btn-check.checked {
  background: var(--a3);
  border-color: var(--a3);
  color: #fff
}

.bico {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all .14s
}

.bico:hover {
  background: var(--surface2);
  border-color: var(--border2);
  color: var(--text)
}

.bico.del:hover {
  background: #200c0c;
  border-color: #501616;
  color: #f87171
}

.heatmap-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 17px;
  margin-bottom: 20px
}

.hm-grid {
  display: flex;
  gap: 3px;
  flex-wrap: wrap
}

.hm {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--surface3)
}

.hm.l1 {
  background: #183828
}

.hm.l2 {
  background: #1e5038
}

.hm.l3 {
  background: #256845
}

.hm.l4 {
  background: #34d399
}

.hm-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  font-size: 10px;
  color: var(--text3)
}

.hml {
  width: 11px;
  height: 11px;
  border-radius: 3px
}

.empty {
  text-align: center;
  padding: 44px 20px;
  color: var(--text2)
}

.empty-icon {
  font-size: 3.2rem;
  margin-bottom: 12px
}

.empty h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 5px
}

.empty p {
  font-size: 12px;
  line-height: 1.6
}

/* REPORT */
.rpt-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px
}

.rpt-icon {
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(167, 139, 250, .16), rgba(244, 114, 182, .1));
  border: 1px solid rgba(167, 139, 250, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px
}

.rpt-hd h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800
}

.rpt-hd p {
  font-size: 12px;
  color: var(--text2);
  margin-top: 2px
}

.rpt-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-bottom: 16px
}

.rst {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px;
  text-align: center
}

.rst-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1
}

.rst-lbl {
  font-size: 10px;
  color: var(--text2);
  margin-top: 3px
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 20px;
  margin-bottom: 16px
}

.chart-title {
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px
}

.chart-sub {
  font-size: 11px;
  color: var(--text2);
  margin-bottom: 16px
}

.chart-wrap {
  position: relative;
  height: 230px
}

.best-card {
  background: linear-gradient(135deg, rgba(167, 139, 250, .07), rgba(244, 114, 182, .05));
  border: 1px solid rgba(167, 139, 250, .16);
  border-radius: var(--r2);
  padding: 17px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 13px
}

.best-badge {
  background: linear-gradient(135deg, var(--accent), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Syne', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 16px
}

.ins-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px
}

.ins-ico {
  font-size: 20px;
  margin-bottom: 7px
}

.ins-title {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 2px
}

.ins-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800
}

.ins-sub {
  font-size: 10px;
  color: var(--text2);
  margin-top: 2px;
  line-height: 1.4
}

.rpt-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 18px;
  overflow: hidden
}

table {
  width: 100%;
  border-collapse: collapse
}

th {
  text-align: left;
  font-size: 10px;
  color: var(--text3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 0 0 9px;
  border-bottom: 1px solid var(--border)
}

td {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  vertical-align: middle
}

tr:last-child td {
  border-bottom: none
}

.day-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent)
}

.rate-bar-wrap {
  display: flex;
  align-items: center;
  gap: 7px
}

.rbar-bg {
  width: 74px;
  height: 5px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden
}

.rbar-fill {
  height: 100%;
  border-radius: 3px
}

.rpct {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12px;
  min-width: 32px
}

.hdots {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  max-width: 160px
}

.hdot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center
}

.hdot.done {
  background: #183828;
  border: 1px solid #245c3c
}

.hdot.miss {
  background: var(--surface3);
  border: 1px solid var(--border);
  opacity: .3
}

/* MODAL */
.modal-ov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  z-index: 150;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(6px)
}

.modal-ov.open {
  display: flex
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  max-width: 430px;
  animation: fadeUp .22s ease;
  max-height: 90vh;
  overflow-y: auto
}

.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px
}

.field {
  margin-bottom: 13px
}

.field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .5px
}

.field input,
.field select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 11px;
  padding: 10px 13px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .14s
}

.field input:focus,
.field select:focus {
  border-color: var(--accent)
}

.field select option {
  background: #1e1e28
}

.epick-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}

.ep {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface2);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .14s
}

.ep:hover,
.ep.sel {
  border-color: var(--accent);
  background: var(--aglow)
}

.cpick-row {
  display: flex;
  gap: 6px;
  margin-top: 3px;
  flex-wrap: wrap
}

.cp {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .14s
}

.cp.sel {
  border-color: #fff;
  transform: scale(1.12)
}

.modal-btns {
  display: flex;
  gap: 8px;
  margin-top: 16px
}

.btn-cancel {
  background: var(--surface2);
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all .14s
}

.btn-cancel:hover {
  color: var(--text);
  border-color: var(--border2)
}

.btn-save {
  flex: 1;
  background: linear-gradient(135deg, var(--accent), var(--a2));
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit
}

.btn-save:hover {
  opacity: .9
}

/* TOAST */
.toast-wrap {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 300
}

.toast {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  animation: slideIn .2s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .4)
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(22px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.toast.out {
  animation: slideOut .2s ease forwards
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateX(22px)
  }
}

@media(max-width:660px) {

  .stats-grid,
  .rpt-stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .insights-grid {
    grid-template-columns: 1fr
  }

  .main {
    padding: 16px 12px
  }

  .land-nav {
    padding: 16px 18px
  }

  .land-section {
    padding: 28px 18px
  }

  .stats-band {
    gap: 28px;
    padding: 28px 18px
  }
}

