.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-b5aeb33:#62876b;--e-global-color-c58817e:#101813;--e-global-color-5420d44:#25855a;--e-global-color-58be983:#ffffff;--e-global-color-09cc561:#0d141a;--e-global-color-a495fd4:#B8C0CC;--e-global-color-dff8941:linear-gradient(135deg;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-global-typography-5535e8e-font-family:"Montserrat";--e-global-typography-5535e8e-font-size:3rem;--e-global-typography-5535e8e-font-weight:700;--e-global-typography-c83476d-font-family:"Montserrat";--e-global-typography-c83476d-font-size:2.5rem;--e-global-typography-c83476d-font-weight:bold;--e-global-typography-ff8f921-font-family:"Montserrat";--e-global-typography-ff8f921-font-size:2.3rem;--e-global-typography-ff8f921-font-weight:bold;--e-global-typography-887fca2-font-family:"Manrope";--e-global-typography-887fca2-font-size:1rem;--e-global-typography-887fca2-font-weight:400;--e-global-typography-2142591-font-family:"Manrope";--e-global-typography-2142591-font-size:1rem;--e-global-typography-2142591-font-weight:700;--e-global-typography-6e52843-font-family:"Manrope";--e-global-typography-6e52843-font-size:1rem;--e-global-typography-6e52843-font-weight:500;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}.entry-title, .wp-block-post-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-5{--e-global-typography-c83476d-font-size:1.9rem;--e-global-typography-ff8f921-font-size:1.9rem;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* =========================================================================
   PennyPals — shared design system
   Concept: a friendly household money HQ. Jar/envelope budgeting metaphor,
   candy-on-charcoal palette, rounded "Fredoka" display + "Nunito" body.
   ========================================================================= */

:root {
  /* --- surfaces (warm plum-charcoal, deliberately not near-black) --- */
  --ink:        #17141f;
  --ink-2:      #1f1b2b;
  --surface:    #262135;
  --surface-2:  #312a44;
  --surface-3:  #3b3252;
  --line:       rgba(255, 255, 255, 0.08);
  --line-soft:  rgba(255, 255, 255, 0.05);

  /* --- text --- */
  --text:       #f6f2ff;
  --text-dim:   #aaa1c9;
  --text-faint: #7e7799;

  /* --- candy accents (each carries meaning) --- */
  --grape:      #9d7bff;  /* primary / interactive            */
  --grape-2:    #b69bff;
  --mint:       #46e0b0;  /* good · income · gains · under     */
  --coral:      #ff7a93;  /* spending · over budget · alerts   */
  --gold:       #ffce54;  /* savings · money · highlights      */
  --sky:        #57c7ff;  /* info · neutral data               */
  --bubblegum:  #ff8fd0;  /* fun pops                          */

  /* tinted glows */
  --grape-glow: rgba(157, 123, 255, 0.35);
  --mint-glow:  rgba(70, 224, 176, 0.28);
  --coral-glow: rgba(255, 122, 147, 0.30);

  /* --- type --- */
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body:    "Nunito", system-ui, sans-serif;

  /* --- shape --- */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow:    0 14px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 24px 60px -22px rgba(0, 0, 0, 0.8);

  --sidebar-w: 248px;
  --topbar-h:  76px;
  --content-max: 1320px;
}

/* ----------------------------- reset / base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  background: var(--ink);
  /* soft candy ambience in the corners */
  background-image:
    radial-gradient(900px 500px at 12% -8%, rgba(157,123,255,0.16), transparent 60%),
    radial-gradient(800px 480px at 100% 0%, rgba(87,199,255,0.10), transparent 55%),
    radial-gradient(900px 700px at 88% 110%, rgba(255,143,208,0.10), transparent 55%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--grape); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--grape); color: #fff; }

/* tabular figures everywhere money lives */
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ------------------------------- layout --------------------------------- */
.app { display: flex; min-height: 100vh; }

.main {
  flex: 1;
  min-width: 0;            /* allow charts/tables to shrink */
  display: flex;
  flex-direction: column;
}

.content {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 40px) 80px;
}

/* ------------------------------- sidebar -------------------------------- */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 16px;
  background: linear-gradient(180deg, var(--ink-2), rgba(31,27,43,0.6));
  border-right: 1px solid var(--line);
  backdrop-filter: blur(6px);
  z-index: 40;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 8px 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.brand__logo {
  width: 44px; height: 44px; flex-shrink: 0;
  filter: drop-shadow(0 6px 12px var(--grape-glow));
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand__name b { color: var(--bubblegum); }
.brand__tag { font-size: 0.72rem; color: var(--text-faint); font-weight: 700; letter-spacing: 0.02em; }

.nav { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; padding-right: 2px; flex: 1; }
.nav__group-label {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); padding: 14px 12px 6px;
}
.nav__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  font-weight: 700; font-size: 0.92rem;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, transform .12s ease, border-color .18s ease;
}
.nav__item:hover { background: var(--surface); color: var(--text); transform: translateX(3px); }
.nav__emoji { font-size: 1.06rem; width: 22px; text-align: center; }
.nav__item.is-active {
  background: linear-gradient(100deg, rgba(157,123,255,0.22), rgba(157,123,255,0.06));
  color: #fff;
  border-color: rgba(157,123,255,0.4);
  box-shadow: inset 0 0 0 1px rgba(157,123,255,0.12);
}
.nav__item.is-active .nav__emoji { filter: drop-shadow(0 0 6px var(--grape-glow)); }

/* Penny's mood chip at the bottom of the rail */
.mood {
  margin-top: 8px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.mood__face { width: 34px; height: 34px; flex-shrink: 0; }
.mood__text { font-size: 0.74rem; line-height: 1.3; }
.mood__text b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.mood__text span { color: var(--text-dim); }

/* ------------------------------- topbar --------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  min-height: var(--topbar-h);
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: rgba(23,20,31,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__title { display: flex; flex-direction: column; }
.topbar__eyebrow { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grape-2); }
.topbar__h { font-size: 1.5rem; }
.topbar__spacer { flex: 1; }

.period {
  display: flex; align-items: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px;
}
.period__btn {
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: transparent; color: var(--text-dim); font-size: 1.1rem; line-height: 1;
  display: grid; place-items: center; transition: background .15s, color .15s;
}
.period__btn:hover { background: var(--surface-2); color: var(--text); }
.period__label { font-family: var(--font-display); font-weight: 600; min-width: 116px; text-align: center; font-size: 0.98rem; }

.who {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 12px 5px 5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.who__avatars { display: flex; }
.who__a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.05rem; border: 2px solid var(--ink-2);
}
.who__a:nth-child(2) { margin-left: -12px; }
.who__name { font-size: 0.84rem; font-weight: 800; }
.who__name span { color: var(--text-dim); font-weight: 700; }

/* ------------------------------- page bits ------------------------------ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 30px 2px 14px; flex-wrap: wrap; }
.section-head:first-child { margin-top: 6px; }
.section-head h2 { font-size: 1.32rem; }
.section-head p { margin: 4px 0 0; color: var(--text-dim); font-size: 0.9rem; }
.section-head .hint { color: var(--text-faint); font-size: 0.82rem; font-weight: 700; }

/* generic responsive grid */
.grid { display: grid; gap: 18px; }
.grid--kpi  { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--2    { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3    { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.span-2 { grid-column: span 2; }
@media (max-width: 720px){ .span-2 { grid-column: span 1; } }

/* ------------------------------- cards ---------------------------------- */
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)) ,
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card--hover:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.16); box-shadow: var(--shadow-lg); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; display: flex; align-items: center; gap: 9px; }
.card__title .ic { font-size: 1.05rem; }
.card__sub { color: var(--text-dim); font-size: 0.82rem; font-weight: 700; }

/* KPI tile */
.kpi { padding: 18px 20px; }
.kpi__top { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-weight: 800; font-size: 0.82rem; }
.kpi__chip { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.kpi__value { font-family: var(--font-display); font-weight: 700; font-size: 2.05rem; margin: 12px 0 2px; letter-spacing: -0.02em; }
.kpi__foot { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 800; }
.kpi__spark { margin-top: 12px; height: 40px; }

.tint-grape { background: rgba(157,123,255,0.16); color: var(--grape-2); }
.tint-mint  { background: rgba(70,224,176,0.16);  color: var(--mint); }
.tint-coral { background: rgba(255,122,147,0.16); color: var(--coral); }
.tint-gold  { background: rgba(255,206,84,0.16);  color: var(--gold); }
.tint-sky   { background: rgba(87,199,255,0.16);  color: var(--sky); }
.tint-bubble{ background: rgba(255,143,208,0.16); color: var(--bubblegum); }

.delta { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 0.78rem; }
.delta--up   { color: var(--mint);  background: rgba(70,224,176,0.14); }
.delta--down { color: var(--coral); background: rgba(255,122,147,0.14); }
.delta--flat { color: var(--text-dim); background: var(--surface-2); }

/* ---------------------------- THE SIGNATURE: jars ----------------------- */
/* A budget category shown as a jar that fills with colored "savings juice".
   Fill height = % of budget used; color shifts under→near→over.           */
.jars { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 6px 10px; }
.jar { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 2px 2px; }
.jar__glass {
  position: relative;
  width: 78px; height: 96px;
  border-radius: 12px 12px 16px 16px;
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.14);
  overflow: hidden;
  box-shadow: inset 0 -8px 18px rgba(0,0,0,0.35);
}
/* lid */
.jar__glass::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 64px; height: 8px; border-radius: 0 0 6px 6px;
  background: rgba(255,255,255,0.16);
  z-index: 3;
}
/* glass shine */
.jar__glass::after {
  content: ""; position: absolute; top: 8px; left: 12px; width: 10px; height: 64px;
  border-radius: 8px; background: rgba(255,255,255,0.10); z-index: 3;
}
.jar__fill {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--c, var(--mint)), color-mix(in srgb, var(--c, var(--mint)) 65%, #000));
  transition: height 1.1s cubic-bezier(.22,.9,.27,1);
  z-index: 1;
}
/* meniscus highlight on top of the liquid */
.jar__fill::before {
  content: ""; position: absolute; top: -3px; left: 0; right: 0; height: 6px;
  background: color-mix(in srgb, var(--c, var(--mint)) 55%, #fff);
  opacity: .55; border-radius: 50%;
}
.jar__coins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.jar__coin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6, var(--gold));
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
  animation: coinFloat 3.4s ease-in-out infinite;
}
.jar__pct {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.jar__meta { text-align: center; }
.jar__name { font-size: 0.78rem; font-weight: 800; display: flex; align-items: center; gap: 4px; justify-content: center; }
.jar__amt { font-size: 0.72rem; color: var(--text-dim); }
.jar.is-over .jar__glass { border-color: var(--coral); box-shadow: inset 0 -8px 18px rgba(0,0,0,0.35), 0 0 0 3px var(--coral-glow); }

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

/* horizontal progress (used in budget table, mortgage, goals) */
.bar { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 999px; background: var(--grape); transition: width 1s cubic-bezier(.22,.9,.27,1); }

/* goal / progress ring is drawn inline via SVG in pages */

/* ------------------------------ mascot bubble --------------------------- */
.penny-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.penny-card__pig { width: 132px; height: 132px; animation: bob 4s ease-in-out infinite; }
.bubble {
  position: relative; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 16px; max-width: 280px;
  font-weight: 700;
}
.bubble::after {
  content: ""; position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 16px; height: 16px; background: var(--surface-2);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.bubble b { color: var(--gold); }
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(-1deg) } 50%{ transform: translateY(-9px) rotate(1deg) } }

/* ------------------------------- tables --------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 540px; }
.tbl th {
  text-align: left; font-family: var(--font-body); font-weight: 800;
  color: var(--text-faint); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: rgba(255,255,255,0.03); }
.tbl .right { text-align: right; }
.tbl .pos { color: var(--mint); font-weight: 800; }
.tbl .neg { color: var(--coral); font-weight: 800; }
.cell-cat { display: flex; align-items: center; gap: 9px; }
.cat-dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 0.95rem; flex-shrink: 0; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; background: var(--surface-2); color: var(--text-dim); }
.pill--buy  { background: rgba(70,224,176,0.14); color: var(--mint); }
.pill--sell { background: rgba(255,122,147,0.14); color: var(--coral); }

/* ------------------------------- forms ---------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field > label { font-size: 0.78rem; font-weight: 800; color: var(--text-dim); letter-spacing: 0.01em; }
.field > label .req { color: var(--coral); }
.input, .select, textarea.input {
  width: 100%; padding: 11px 13px;
  background: var(--ink-2); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input::placeholder { color: var(--text-faint); font-weight: 600; }
.input:focus, .select:focus, textarea.input:focus {
  outline: none; border-color: var(--grape);
  box-shadow: 0 0 0 3px var(--grape-glow); background: var(--ink);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23aaa1c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
textarea.input { resize: vertical; min-height: 70px; line-height: 1.45; }
.field-note { font-size: 0.72rem; color: var(--text-faint); }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-faint); font-weight: 800; }
.input-prefix .input { padding-left: 26px; }

.seg { display: inline-flex; background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  padding: 7px 16px; border-radius: 999px; font-weight: 800; font-size: 0.85rem;
  color: var(--text-dim); cursor: pointer; transition: background .15s, color .15s;
}
.seg input:checked + label { color: #fff; }
.seg input.s-in:checked  + label { background: rgba(70,224,176,0.22);  color: var(--mint); }
.seg input.s-out:checked + label { background: rgba(255,122,147,0.22); color: var(--coral); }
.seg input.s-mid:checked + label { background: rgba(87,199,255,0.22);  color: var(--sky); }

.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 0.96rem;
  border: 1px solid transparent; background: var(--surface-2); color: var(--text);
  transition: transform .12s, box-shadow .18s, background .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(120deg, var(--grape), #7a5cf0);
  color: #fff; box-shadow: 0 10px 24px -10px var(--grape-glow);
}
.btn--primary:hover { filter: brightness(1.06); box-shadow: 0 14px 30px -10px var(--grape-glow); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text-dim); }
.btn--ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn--sm { padding: 8px 14px; font-size: 0.86rem; }
.btn--block { width: 100%; justify-content: center; }

/* chart sizing */
.chart-box { position: relative; width: 100%; }
.chart-box canvas { max-width: 100%; }
.h-160 { height: 160px; } .h-200 { height: 200px; } .h-240 { height: 240px; } .h-280 { height: 280px; }

/* legend chips */
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; }
.legend__item { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--text-dim); font-weight: 700; }
.legend__dot { width: 11px; height: 11px; border-radius: 4px; flex-shrink: 0; }

/* stat rows (balance sheet / accounts) */
.stat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
.stat-row:last-child { border-bottom: none; }
.stat-row__l { display: flex; align-items: center; gap: 11px; }
.stat-row__name { font-weight: 800; font-size: 0.92rem; }
.stat-row__meta { font-size: 0.76rem; color: var(--text-faint); }
.stat-row__val { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }

/* totals banner */
.total-band {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 6px; padding: 14px 16px; border-radius: var(--r);
  background: var(--ink-2); border: 1px dashed var(--line);
}
.total-band b { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

/* empty / hint blocks */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r);
  background: rgba(87,199,255,0.07); border: 1px solid rgba(87,199,255,0.22);
  font-size: 0.88rem; color: #d8ecfb;
}
.note .ic { font-size: 1.2rem; flex-shrink: 0; }
.note b { color: var(--sky); }

.tagline { color: var(--text-dim); font-size: 0.92rem; max-width: 70ch; }

/* ------------------------------ mobile nav ------------------------------ */
.nav-toggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; border: none;
  background: linear-gradient(120deg, var(--grape), #7a5cf0); color: #fff;
  font-size: 1.4rem; box-shadow: 0 12px 28px -8px var(--grape-glow);
  display: none; place-items: center;
}
.scrim {
  position: fixed; inset: 0; background: rgba(10,8,16,0.6); backdrop-filter: blur(2px);
  z-index: 35; opacity: 0; pointer-events: none; transition: opacity .25s;
}

@media (max-width: 940px){
  .sidebar {
    position: fixed; top: 0; left: 0; height: 100vh;
    transform: translateX(-104%); transition: transform .28s cubic-bezier(.22,.9,.27,1);
    box-shadow: var(--shadow-lg);
  }
  .app.nav-open .sidebar { transform: translateX(0); }
  .app.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: grid; }
  .who__name, .topbar__eyebrow { display: none; }
  .topbar__h { font-size: 1.25rem; }
}
@media (max-width: 560px){
  .kpi__value { font-size: 1.7rem; }
  .period__label { min-width: 92px; font-size: 0.9rem; }
  .content { padding-bottom: 96px; }
}

/* page-load entrance + reduced motion */
.rise { opacity: 0; transform: translateY(14px); animation: rise .5s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  .jar__fill { transition: none; }
}/* End custom CSS */