/* Month Performance UI foundation (24-10-2026, Anmol: "colours, fonts, spacing first, then the festival popup as the pilot").
   Design tokens + browser-surface basics. EVERYTHING is scoped to .mp-ui / .mp-ui-backdrop: no other page or popup changes until it gets that class.
   Why a new file: styles.css has ~1,000 hex colours, 35 font sizes and 255 !important; new work is built on these tokens instead of adding to that pile.
   Rule for this file: no !important, no hard-coded colour outside this :root-like block, no zoom. */
.mp-ui, .mp-ui-backdrop {
  /* type: Inter when installed, else the modern Windows / Apple system face */
  --mp-font: "Inter", "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mp-fs-xs: 13px; --mp-fs-sm: 14px; --mp-fs-md: 16px; --mp-fs-lg: 17px; --mp-fs-xl: 20px; --mp-fs-2xl: 26px;
  /* colour: one navy ink, two greys, one blue accent, green / red only for good / bad */
  --mp-ink: #0f1b3d;      --mp-text: #26324f;     --mp-muted: #64708a;     --mp-faint: #97a2b8;
  --mp-surface: #ffffff;  --mp-surface-2: #f6f8fd; --mp-line: #e7ecf6;     --mp-line-strong: #d6deed;
  --mp-accent: #1668f5;   --mp-accent-ink: #0b3fa8; --mp-accent-soft: #e8f0ff; --mp-accent-tint: #f1f6ff; --mp-accent-col: #e0ebff;
  --mp-pos: #0a7d43;      --mp-pos-soft: #e2f6ea;
  --mp-neg: #cf2638;      --mp-neg-soft: #fde7ea;
  /* shape + depth */
  --mp-r-sm: 10px; --mp-r-md: 14px; --mp-r-lg: 20px; --mp-r-xl: 28px;
  --mp-shadow-float: 0 44px 90px -32px rgba(15, 27, 61, .50), 0 14px 34px -14px rgba(15, 27, 61, .20);
  --mp-shadow-soft: 0 1px 2px rgba(15, 27, 61, .06), 0 8px 20px -10px rgba(15, 27, 61, .14);
  /* spacing scale (4px) */
  --mp-s1: 4px; --mp-s2: 8px; --mp-s3: 12px; --mp-s4: 16px; --mp-s5: 24px; --mp-s6: 32px;
  --mp-ease: cubic-bezier(.16, 1, .3, 1);
  /* icons: one family, 24px grid, 1.75 stroke, round caps */
  --mp-i-calendar: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231668f5'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='4'%20width='18'%20height='18'%20rx='2'/%3E%3Cpath%20d='M16%202v4M8%202v4M3%2010h18'/%3E%3C/svg%3E");
  --mp-i-package: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231668f5'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m7.5%204.27%209%205.15'/%3E%3Cpath%20d='M21%208a2%202%200%200%200-1-1.73l-7-4a2%202%200%200%200-2%200l-7%204A2%202%200%200%200%203%208v8a2%202%200%200%200%201%201.73l7%204a2%202%200%200%200%202%200l7-4A2%202%200%200%200%2021%2016Z'/%3E%3Cpath%20d='m3.3%207%208.7%205%208.7-5'/%3E%3Cpath%20d='M12%2022V12'/%3E%3C/svg%3E");
  --mp-i-rupee: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231668f5'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%203h12'/%3E%3Cpath%20d='M6%208h12'/%3E%3Cpath%20d='m6%2013%208.5%208'/%3E%3Cpath%20d='M6%2013h3'/%3E%3Cpath%20d='M9%2013c6.667%200%206.667-10%200-10'/%3E%3C/svg%3E");
  --mp-i-bars: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231668f5'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%203v18h18'/%3E%3Cpath%20d='M18%2017V9'/%3E%3Cpath%20d='M13%2017V5'/%3E%3Cpath%20d='M8%2017v-3'/%3E%3C/svg%3E");
  --mp-i-user: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231668f5'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M19%2021v-2a4%204%200%200%200-4-4H9a4%204%200%200%200-4%204v2'/%3E%3Ccircle%20cx='12'%20cy='7'%20r='4'/%3E%3C/svg%3E");
  --mp-i-activity: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231668f5'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M22%2012h-4l-3%209L9%203l-3%209H2'/%3E%3C/svg%3E");
  --mp-i-gift: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231668f5'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='8'%20width='18'%20height='4'%20rx='1'/%3E%3Cpath%20d='M12%208v13'/%3E%3Cpath%20d='M19%2012v7a2%202%200%200%201-2%202H7a2%202%200%200%201-2-2v-7'/%3E%3Cpath%20d='M7.5%208a2.5%202.5%200%200%201%200-5A4.8%208%200%200%201%2012%208a4.8%208%200%200%201%204.5-5%202.5%202.5%200%200%201%200%205'/%3E%3C/svg%3E");
  --mp-i-copy: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2326324f'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='9'%20y='9'%20width='13'%20height='13'%20rx='2'/%3E%3Cpath%20d='M5%2015H4a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2h9a2%202%200%200%201%202%202v1'/%3E%3C/svg%3E");
  --mp-i-x: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2326324f'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M18%206%206%2018'/%3E%3Cpath%20d='m6%206%2012%2012'/%3E%3C/svg%3E");
  --mp-i-up-right: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230a7d43'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2017%2017%207'/%3E%3Cpath%20d='M7%207h10v10'/%3E%3C/svg%3E");
  --mp-i-down-right: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23cf2638'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m7%207%2010%2010'/%3E%3Cpath%20d='M17%207v10H7'/%3E%3C/svg%3E");
  --mp-i-chevron: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2364708a'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m6%209%206%206%206-6'/%3E%3C/svg%3E");
  --mp-i-line-chart: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231668f5'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%203v18h18'/%3E%3Cpath%20d='m19%209-5%205-4-4-3%203'/%3E%3C/svg%3E");
}
.mp-ui { font-family: var(--mp-font); color: var(--mp-text); font-size: var(--mp-fs-md); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
.mp-ui *, .mp-ui *::before, .mp-ui *::after { box-sizing: border-box; }
.mp-ui ::selection { background: var(--mp-accent-soft); color: var(--mp-ink); }
.mp-ui :focus-visible { outline: 2px solid var(--mp-accent); outline-offset: 2px; }
.mp-ui { scrollbar-width: thin; scrollbar-color: var(--mp-line-strong) transparent; }
.mp-ui::-webkit-scrollbar { width: 10px; height: 10px; }
.mp-ui::-webkit-scrollbar-thumb { border: 3px solid var(--mp-surface); border-radius: 999px; background: var(--mp-line-strong); }
@keyframes mp-rise { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes mp-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mp-ui, .mp-ui-backdrop { animation: none; transition: none; } }
