/* ==========================================================
   NIRMAAN PROJECTS - SALES PERFORMANCE TRACKER
   ========================================================== */
:root {
  --navy: #0e2246;
  --navy-dark: #091730;
  --muted: #64789b;
  --green: #05a057;
  --green-dark: #038044;
  --green-light: #e5fbf0;
  --line: #e3ebf4;
  --soft: #f4f8fc;
  --white: #ffffff;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --shadow-subtle: 0 8px 24px rgba(14, 34, 70, 0.05);
  --shadow-hover: 0 16px 36px rgba(14, 34, 70, 0.1);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--navy);
  background: #f0f5fa;
  overflow-x: hidden;
}

button, input, select { font: inherit; }
button { cursor: pointer; }
#app { min-height: 100vh; }

.phone {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
  position: relative;
}

@media (min-width: 700px) {
  .phone {
    max-width: 740px;
    margin: 20px auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(14, 34, 70, 0.12);
    border: 1px solid rgba(227, 235, 244, 0.8);
  }
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scalePop {
  0% { transform: scale(0.7) rotate(-8deg); opacity: 0; }
  70% { transform: scale(1.12) rotate(3deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ==========================================================
   LOGIN PAGE
   ========================================================== */
.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #e8fcf2 0%, #f6fbf9 50%, #ffffff 100%);
  padding: 24px 20px;
}

.login-header {
  width: 100%;
  max-width: 440px;
  margin: 12px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: slideDownFade 0.6s ease both;
}

.login-logo {
  width: 180px;
  max-width: 65vw;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(14, 34, 70, 0.08));
  animation: floatGentle 4s ease-in-out infinite;
}

.login-tracker-title {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.login-hero {
  width: 100%;
  max-width: 440px;
  margin: 12px auto 8px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: slideDownFade 0.7s ease both;
}

.login-skyline {
  width: 100%;
  max-width: 320px;
  height: auto;
  opacity: 0.85;
}

.login-main {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.login-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(227, 235, 244, 0.9);
  border-radius: 28px;
  padding: 30px 24px 26px;
  box-shadow: 0 20px 50px rgba(14, 34, 70, 0.08);
  animation: slideUpFade 0.65s ease both;
}

.login-heading {
  text-align: center;
  margin-bottom: 22px;
}

.login-heading h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 850;
  color: var(--navy);
}

.login-heading p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-input {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 6px 14px;
  min-height: 56px;
  transition: all 0.25s ease;
}

.login-input:focus-within {
  background: #ffffff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(5, 160, 87, 0.12);
}

.input-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef4fb;
  display: grid;
  place-items: center;
  color: #3b5375;
  font-size: 16px;
  flex: 0 0 34px;
}

.login-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}

.login-input input::placeholder {
  color: #92a2b8;
}

.eye-button {
  background: transparent;
  border: 0;
  color: #7b8ea8;
  font-size: 18px;
  padding: 4px;
  cursor: pointer;
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 2px 8px;
}

.remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: #556c8b;
  user-select: none;
}

.remember-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  cursor: pointer;
}

.forgot-button {
  background: transparent;
  border: 0;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
}

.login-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #05a057 0%, #10ba6b 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(5, 160, 87, 0.28);
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 160, 87, 0.38);
}

.login-submit:active { transform: scale(0.985); }

.login-error {
  display: none;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fed7d7;
  color: #dc2626;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.login-error.show { display: block; }

.login-footer {
  width: 100%;
  max-width: 440px;
  margin: auto auto 8px;
  padding-top: 24px;
  text-align: center;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.copyright span { width: 36px; height: 1px; background: #ccd7e4; }
.copyright p { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.footer-slogan { margin-top: 6px; font-size: 9px; font-weight: 850; letter-spacing: 0.24em; color: #92a4ba; }

/* ==========================================================
   DASHBOARD
   ========================================================== */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(227, 235, 244, 0.7);
  animation: slideDownFade 0.5s ease both;
}

.dashboard-brand img { width: 140px; height: auto; }

.dashboard-actions { display: flex; align-items: center; gap: 10px; }

.bell {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 17px;
  position: relative;
}
.bell::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4757;
  border: 1.5px solid #fff;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  border-radius: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  cursor: pointer;
}

.profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #05a057, #13c473);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.profile-name { font-size: 13px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.profile-role { font-size: 11px; font-weight: 600; color: var(--muted); }

.dashboard-body { padding: 14px 16px 110px; }

/* ==========================================================
   HERO BANNER
   ========================================================== */
.hero-banner {
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  background: #e8fbf1;
  border: 1px solid rgba(8, 166, 91, 0.15);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(16, 38, 83, 0.04);
  animation: slideUpFade 0.5s ease both;
}

.hero-greeting { min-width: 0; }
.hero-greeting .eyebrow {
  color: #078951;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-greeting h2 {
  margin: 4px 0;
  font-size: 22px;
  font-weight: 850;
  color: var(--navy);
  line-height: 1.15;
}

.hero-greeting p {
  margin: 0;
  color: #556e8f;
  font-size: 13px;
  line-height: 1.35;
}

.hero-booking-stat {
  background: #ffffff;
  border: 1px solid #dce7f1;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(16, 38, 83, 0.03);
}

.hero-booking-header { display: flex; align-items: center; gap: 6px; }

.hero-cal-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #ede9fe;
  color: #7c3aed;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: 0 0 26px;
}

.hero-booking-title {
  color: #64789b;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-booking-value {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.hero-booking-compare {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #64789b;
}

@media (max-width: 480px) {
  .hero-banner {
    grid-template-columns: minmax(0, 1fr) 125px;
    padding: 14px;
    gap: 10px;
  }
  .hero-greeting h2 { font-size: 19px; }
  .hero-greeting p { font-size: 11.5px; }
  .hero-booking-stat { padding: 8px 10px; }
  .hero-booking-value { font-size: 20px; }
}

/* Month Selector */
.month-select {
  margin-top: 14px;
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  background: #ffffff;
  font-size: 15px;
  font-weight: 750;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(14, 34, 70, 0.04);
}
.month-select:focus { outline: none; border-color: var(--green); }

/* Total Points & Inactive Summary */
.summary-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  margin-top: 12px;
}

.summary-card {
  padding: 18px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: slideUpFade 0.6s ease both;
}

.summary-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.summary-value {
  margin-top: 6px;
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.points-pill {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(5, 160, 87, 0.1);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
}

.inactive-summary {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.inactive-circle {
  margin-top: 8px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.inactive-circle.green { background: linear-gradient(135deg, #05a057, #1ad680); }
.inactive-circle.orange { background: linear-gradient(135deg, #ff8c00, #ffb347); }
.inactive-circle.red { background: linear-gradient(135deg, #e53935, #ff6b6b); }
.inactive-circle.unknown { background: #a4b4c7; }
.inactive-number { font-size: 24px; font-weight: 900; line-height: 1; }
.inactive-unit { font-size: 10px; font-weight: 700; text-transform: uppercase; margin-top: 2px; }

/* ==========================================================
   WEEKS LIST & WORKING CYCLE STARS
   ========================================================== */
.week-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.week-card {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  animation: slideUpFade 0.65s ease both;
}

.week-top {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
}

.week-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f4f9, #e5ecf5);
  color: var(--navy);
  font-weight: 850;
  font-size: 15px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e3ef;
}

.week-title { font-size: 16.5px; font-weight: 800; color: var(--navy); }
.week-date { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }

.week-status {
  padding: 5px 11px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.week-status.active { background: var(--green-light); color: var(--green-dark); }
.week-status.idle { background: #f1f4f8; color: var(--muted); }

.week-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 4px 60px;
}

.charge {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
}

.charge .star {
  flex: 1 1 0;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-style: normal;
  border: 1px solid #d5e0ec;
  background: #f8fafc;
  color: #b7c5d6;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.charge .star.green,
.charge .star.on {
  background: linear-gradient(135deg, #05a057, #13be6f) !important;
  border-color: #05a057 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(5, 160, 87, 0.3);
  animation: scalePop 0.35s ease both;
}

.charge .star.red {
  background: linear-gradient(135deg, #e53935, #ff5252) !important;
  border-color: #e53935 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
  animation: scalePop 0.35s ease both;
}

.charge .star.off {
  background: #f1f4f8 !important;
  border-color: #d3dce5 !important;
  color: #b5c0cc !important;
}

.week-score {
  min-width: 80px;
  text-align: right;
  font-size: 13.5px;
  font-weight: 850;
  color: var(--navy);
}

.week-message {
  padding-left: 60px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================
   MONTHLY ACTIVITY BREAKDOWN
   ========================================================== */
.highlights {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  animation: slideUpFade 0.75s ease both;
}

.highlights h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.activity {
  padding: 13px 15px;
  border-radius: var(--radius-lg);
  background: #f9fbfd;
  border: 1px solid #e3ecf5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
}
.activity-icon svg { width: 22px; height: 22px; fill: currentColor; }
.activity-icon.f2f { background: #eef2ff; color: #4f46e5; }
.activity-icon.fresh { background: #e6fcf1; color: #05a057; }
.activity-icon.revisit { background: #e0f2fe; color: #0284c7; }
.activity-icon.rotation { background: #fae8ff; color: #a855f7; }

.activity-copy label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.activity-copy b {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-top: 2px;
}

.booking-card {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0e2246 0%, #153265 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.booking-card strong { font-size: 17px; font-weight: 850; display: flex; align-items: center; gap: 8px; }
.booking-subtitle { font-size: 12px; color: #9cb1ce; margin-top: 3px; }

.booking-badge {
  background: linear-gradient(135deg, #05a057, #1ddc81);
  color: #fff;
  padding: 8px 18px;
  border-radius: 18px;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(5, 160, 87, 0.4);
}

/* ==========================================================
   BOTTOM NAV & PROFILE MODAL
   ========================================================== */
.bottom-nav {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 700px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 6px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(227, 235, 244, 0.9);
  box-shadow: 0 16px 40px rgba(14, 34, 70, 0.12);
}

.bottom-nav button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 4px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.bottom-nav button.active { color: var(--green-dark); background: rgba(5, 160, 87, 0.12); }

.profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(14, 34, 70, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: slideUpFade 0.25s ease both;
}

.profile-modal {
  position: relative;
  width: min(100%, 420px);
  background: #ffffff;
  border-radius: 26px;
  padding: 32px 24px 26px;
  box-shadow: 0 25px 60px rgba(14, 34, 70, 0.25);
  border: 1px solid #dce7ef;
  text-align: center;
}

.profile-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.profile-modal-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #05a057, #1be184);
  color: #fff;
  font-size: 34px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(5, 160, 87, 0.35);
}

.profile-modal h2 { margin: 0 0 18px; font-size: 21px; font-weight: 850; color: var(--navy); }

.profile-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 12px;
  background: #f7fafc;
  margin-bottom: 9px;
  border: 1px solid #eef3f7;
  text-align: left;
}
.profile-detail span { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.profile-detail b { font-size: 13.5px; color: var(--navy); font-weight: 800; }

/* Dual Selectors: Month & Year */
.filter-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 10px;
  margin-top: 14px;
}

.filter-row .month-select {
  margin-top: 0;
  width: 100%;
}


/* ==========================================================
   TL DASHBOARD - RM TEAM PROGRESS
   ========================================================== */
.tl-rm-list {
  display: grid;
  gap: 10px;
  padding: 12px 0 2px 60px;
}

.tl-rm-row {
  padding: 10px 0 8px;
  border-bottom: 1px solid #edf2f7;
}
.tl-rm-row:last-child { border-bottom: 0; }
.tl-rm-name {
  font-size: 13px;
  font-weight: 850;
  color: var(--navy);
  margin-bottom: 7px;
}
.tl-rm-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tl-charge { gap: 5px; }
.tl-charge .star { height: 34px; font-size: 18px; }
.tl-rm-score {
  min-width: 78px;
  text-align: right;
  font-size: 11.5px;
  font-weight: 850;
  color: var(--navy);
}
.tl-rm-meta {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--muted);
}

.tl-month-team {
  display: grid;
  gap: 10px;
}
.tl-month-rm-card {
  padding: 13px 14px;
  border-radius: var(--radius-lg);
  background: #f9fbfd;
  border: 1px solid #e3ecf5;
}
.tl-month-rm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tl-month-rm-head strong {
  font-size: 13px;
  color: var(--navy);
}
.tl-month-rm-head span {
  font-size: 12px;
  font-weight: 850;
  color: var(--green-dark);
}
.tl-month-rm-bar {
  height: 7px;
  margin: 9px 0 10px;
  border-radius: 999px;
  background: #e6edf4;
  overflow: hidden;
}
.tl-month-rm-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #05a057, #13be6f);
}
.tl-month-rm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.tl-month-rm-stats span {
  font-size: 10px;
  color: var(--muted);
}
.tl-month-rm-stats b {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--navy);
}

@media (max-width: 480px) {
  .tl-rm-list { padding-left: 0; }
  .tl-month-rm-stats { grid-template-columns: repeat(2, 1fr); }
  .tl-rm-progress { gap: 7px; }
  .tl-rm-score { min-width: 64px; font-size: 10.5px; }
  .tl-charge { gap: 3px; }
  .tl-charge .star { height: 31px; font-size: 16px; }
}
