/* ===========================================================
   Element Dashboard
   Type: SF Pro (system) with Inter as the base fallback
   =========================================================== */

:root{
  --blue:        #2F90FF;
  --blue-600:    #1B82F5;
  --blue-soft:   #E8F2FF;

  --ink:         #1B2431;
  --ink-2:       #2B3648;
  --muted:       #98A2B3;
  --muted-2:     #8A93A5;

  --sidebar:     #303C4E;
  --sidebar-2:   #3A4658;

  --page:        #FDFDFE;
  --card:        #FFFFFF;
  --line:        #EFF1F4;
  --line-2:      #E7EAEF;

  --green:       #12B76A;
  --green-soft:  #E3F8EE;
  --red:         #F04438;
  --red-soft:    #FDECEA;
  --amber:       #F79009;
  --amber-soft:  #FEF3E2;

  --track:       #E6E8EC;

  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;

  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 20px rgba(16,24,40,.05);

  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
          "Inter", "Helvetica Neue", Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; }
body{
  background:var(--page);
  color:var(--ink);
  font-family:var(--font);
  font-size:14px;
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,p,ul,figure{ margin:0; }
ul{ padding:0; list-style:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
a{ text-decoration:none; color:inherit; }

.ic{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7;
     stroke-linecap:round; stroke-linejoin:round; flex:none; }

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow);
}
.card__title{ font-size:19px; font-weight:700; letter-spacing:-.2px; }

.icon-btn{ display:grid; place-items:center; width:32px; height:32px;
  border-radius:9px; color:var(--muted); transition:background .15s,color .15s; }
.icon-btn:hover{ background:#F4F6F9; color:var(--ink-2); }
.icon-btn--ghost:hover{ background:transparent; color:var(--ink-2); }

/* ---------- layout ---------- */
.app{
  display:grid;
  grid-template-columns: 260px minmax(0,1fr) 300px;
  gap:24px;
  padding:24px;
  align-items:start;
}

/* ---------- sidebar ---------- */
.sidebar{
  position:sticky; top:24px;
  height:calc(100vh - 48px);
  background:var(--sidebar);
  border-radius:22px;
  padding:26px 18px 18px;
  display:flex; flex-direction:column;
  color:#fff;
}
.brand{ display:flex; align-items:center; gap:9px; padding:4px 10px 0; }
.brand__mark{ width:28px; height:28px; }
.brand__name{ font-size:22px; font-weight:700; letter-spacing:-.4px; }

.nav{ display:flex; flex-direction:column; gap:2px; margin-top:56px; }
.nav__item{
  display:flex; align-items:center; gap:13px;
  height:44px; padding:0 16px;
  border-radius:12px;
  color:#D6DCE6; font-size:15px; font-weight:500; letter-spacing:-.1px;
  transition:background .15s, color .15s;
}
.nav__item:hover{ background:var(--sidebar-2); color:#fff; }
.nav__item.is-active{
  background:var(--blue); color:#fff; font-weight:600;
  box-shadow:0 6px 16px rgba(47,144,255,.32);
}

.user{ margin-top:auto; display:flex; align-items:center; gap:10px; padding:10px 6px 4px; }
.user__avatar{ width:34px; height:34px; border-radius:50%; object-fit:cover; flex:none; }
.user__meta{ min-width:0; margin-right:auto; }
.user__name{ font-size:14px; font-weight:600; letter-spacing:-.1px; }
.user__handle{ font-size:12px; color:#98A3B5; margin-top:-2px; }
.user__btn{ color:var(--blue); display:grid; place-items:center; width:24px; height:24px; }
.user__btn:hover{ color:#7FBAFF; }

/* ---------- main ---------- */
.main{ display:flex; flex-direction:column; gap:22px; min-width:0; }
/* mobile-only wrapper around greeting+revenue+first-stat; invisible to the
   desktop flex layout above, becomes a real clipped rounded box on phones */
.sheet{ display:contents; }

/* stat cards */
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.stat{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 16px 16px 20px; }
.stat__label{ font-size:12.5px; font-weight:600; color:var(--muted); letter-spacing:-.05px; }
.stat__row{ display:flex; align-items:baseline; gap:9px; margin-top:5px; }
.stat__value{ font-size:22px; font-weight:700; letter-spacing:-.6px; }
.stat__icon{
  display:grid; place-items:center; width:46px; height:46px; flex:none;
  border-radius:13px; background:var(--blue); color:#fff;
  box-shadow:0 6px 14px rgba(47,144,255,.3);
}
.stat__icon .ic{ width:22px; height:22px; stroke-width:1.9; }

/* pills */
.pill{ font-size:11.5px; font-weight:700; padding:3px 7px; border-radius:7px; letter-spacing:-.1px; }
.pill--up{ background:var(--green-soft); color:var(--green); }
.pill--down{ background:var(--red-soft); color:var(--red); }

/* segmented control */
.segmented{ display:flex; gap:2px; background:#F4F6F9; border-radius:999px; padding:4px; }
.segmented button{
  padding:7px 18px; border-radius:999px; font-size:13.5px; font-weight:600;
  color:var(--muted-2); transition:background .18s,color .18s;
}
.segmented button:hover{ color:var(--ink-2); }
.segmented button.is-active{
  background:var(--blue); color:#fff;
  box-shadow:0 4px 10px rgba(47,144,255,.28);
}

/* revenue */
.revenue{ padding:26px 26px 18px; }
.revenue__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.revenue__value{ font-size:44px; font-weight:700; letter-spacing:-1.8px; line-height:1.05; }
.revenue__cur{ font-size:26px; font-weight:700; vertical-align:12px; letter-spacing:-.5px; }
.revenue__label{ font-size:13px; font-weight:600; color:var(--muted); margin-top:6px; }

/* overview */
.overview{ padding:24px 26px 26px; }
.overview__head{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.overview__body{ display:grid; grid-template-columns:minmax(240px,1fr) minmax(0,1.45fr); gap:32px; margin-top:26px; align-items:center; }

.metrics{ display:flex; flex-direction:column; }
.metric{ display:flex; align-items:center; gap:14px; padding:18px 10px; margin-inline:-10px; }
.metric + .metric{ border-top:1px solid var(--line); }
.metric__icon{ display:grid; place-items:center; width:42px; height:42px; border-radius:13px; flex:none; }
.metric__icon--green{ background:var(--green-soft); color:var(--green); }
.metric__icon--amber{ background:var(--amber-soft); color:var(--amber); }
.metric__icon--blue{ background:var(--blue-soft); color:var(--blue); }
.metric__meta{ min-width:0; }
.metric__label{ font-size:12.5px; font-weight:600; color:var(--muted); }
.metric__row{ display:flex; align-items:baseline; gap:9px; margin-top:3px; }
.metric__value{ font-size:21px; font-weight:700; letter-spacing:-.5px; }

/* charts */
.chart svg{ display:block; width:100%; height:auto; overflow:visible; }
.axis-label{ font-family:var(--font); font-size:11.5px; font-weight:600; fill:var(--muted); }
.tick-label{ font-family:var(--font); font-size:12.5px; font-weight:600; fill:var(--muted-2); }

/* projects */
.projects{ padding:24px 26px 10px; }
.projects__head{ display:flex; align-items:flex-start; justify-content:space-between; }
.projects__sub{ font-size:12.5px; font-weight:600; color:var(--muted); margin-top:6px;
  display:flex; align-items:center; gap:7px; }
.dot{ width:9px; height:9px; border-radius:50%; background:var(--green); display:inline-block; }

.table{ width:100%; border-collapse:collapse; margin-top:18px; }
.table th{
  text-align:left; font-size:11px; font-weight:700; letter-spacing:.6px;
  text-transform:uppercase; color:var(--muted); padding:0 0 12px;
  border-bottom:1px solid var(--line);
}
.table td{ padding:16px 0; border-bottom:1px solid var(--line); font-size:14px; font-weight:600; color:var(--ink-2); }
.table tr:last-child td{ border-bottom:0; }
.table th:not(:first-child), .table td:not(:first-child){ padding-left:16px; }

.proj{ display:flex; align-items:center; gap:11px; font-weight:600; }
.proj__logo{ display:grid; place-items:center; width:30px; height:30px; border-radius:9px; }
.proj__logo .ic{ width:17px; height:17px; }
.proj__logo--blue{ background:var(--blue-soft); color:var(--blue); }
.proj__logo--amber{ background:var(--amber-soft); color:var(--amber); }
.proj__logo--green{ background:var(--green-soft); color:var(--green); }
.proj__logo--slate{ background:#EEF1F5; color:#64748B; }

.stack{ display:flex; }
.stack i{ width:24px; height:24px; border-radius:50%; border:2px solid #fff;
  background:linear-gradient(135deg,#9AA6B8,#5B6779); margin-left:-8px; }
.stack i:first-child{ margin-left:0; }
.stack i:nth-child(2){ background:linear-gradient(135deg,#8FC0F5,#3E7DD6); }
.stack i:nth-child(3){ background:linear-gradient(135deg,#F3C08A,#D08A3B); }
.stack i:nth-child(4){ background:linear-gradient(135deg,#9FD8BC,#3E9E77); }

.progress{ display:flex; flex-direction:column; gap:6px; max-width:150px; }
.progress__pct{ font-size:12px; font-weight:700; color:var(--muted-2); }
.progress__track{ height:5px; border-radius:99px; background:var(--track); overflow:hidden; }
.progress__bar{ display:block; height:100%; width:var(--p); border-radius:99px; background:var(--blue); }

/* ---------- activity ---------- */
.activity{
  position:sticky; top:24px;
  height:calc(100vh - 48px);
  display:flex; flex-direction:column; min-width:0;
}
.activity__head{ display:flex; align-items:center; gap:6px; padding:4px 4px 18px; }
.activity__title{ font-size:19px; font-weight:700; letter-spacing:-.3px; margin-right:auto; }
.activity__head .icon-btn{ width:24px; height:24px; margin-left:-4px; }
.live{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700;
  letter-spacing:.2px; color:var(--red); }
.live i{ width:9px; height:9px; border-radius:50%; background:var(--red);
  box-shadow:0 0 0 0 rgba(240,68,56,.5); animation:pulse 2s infinite; }
@keyframes pulse{
  70%{ box-shadow:0 0 0 7px rgba(240,68,56,0); }
  100%{ box-shadow:0 0 0 0 rgba(240,68,56,0); }
}

.feed{
  display:flex; flex-direction:column; gap:10px;
  overflow-y:auto; padding:2px 2px 40px;
  -webkit-mask-image:linear-gradient(#000 88%, transparent 100%);
          mask-image:linear-gradient(#000 88%, transparent 100%);
  scrollbar-width:none;
}
.feed::-webkit-scrollbar{ display:none; }

.feed__item{
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--r-md); padding:13px 15px;
  box-shadow:0 1px 2px rgba(16,24,40,.03);
}
.feed__top{ display:flex; align-items:center; gap:8px; }
.feed__icon{ color:var(--muted); display:grid; place-items:center; }
.feed__icon .ic{ width:15px; height:15px; stroke-width:1.9; }
.feed__name{ font-size:13.5px; font-weight:600; letter-spacing:-.1px; margin-right:auto; }
.feed__time{ font-size:11.5px; font-weight:500; color:var(--muted); white-space:nowrap; }
.feed__text{ font-size:13px; color:var(--muted-2); margin-top:5px; }

/* ---------- responsive ---------- */
@media (max-width:1360px){
  .app{ grid-template-columns:240px minmax(0,1fr); }
  .activity{ grid-column:1 / -1; position:static; height:auto; }
  .feed{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); mask-image:none; -webkit-mask-image:none; }
}
@media (max-width:980px){
  .app{ grid-template-columns:minmax(0,1fr); padding:16px; gap:16px; }
  .sidebar{ position:static; height:auto; }
  .nav{ margin-top:20px; }
  .stats{ grid-template-columns:1fr; }
  .overview__body{ grid-template-columns:minmax(0,1fr); }
  .revenue__value{ font-size:34px; }
}

/* ===========================================================
   MOTION — entrance
   =========================================================== */
@keyframes rise{
  from{ opacity:0; transform:translateY(16px) scale(.985); }
  to  { opacity:1; transform:none; }
}
@keyframes slideIn{
  from{ opacity:0; transform:translateX(-14px); }
  to  { opacity:1; transform:none; }
}
.reveal{ animation:rise .62s cubic-bezier(.22,.75,.28,1) both; animation-delay:var(--d,0s); }
.sidebar .reveal{ animation-name:slideIn; }
.feed__item.reveal{ animation-duration:.5s; }

.sidebar{ animation:slideIn .55s cubic-bezier(.22,.75,.28,1) both; }
.activity{ animation:rise .6s cubic-bezier(.22,.75,.28,1) both; animation-delay:.16s; }

/* ===========================================================
   MOTION — charts
   =========================================================== */
.chart{ position:relative; }
.chart--bar{ margin-top:22px; }

.bar{
  transform-box:view-box;
  transform:scaleY(.02);
  opacity:0;
  transition:transform .72s cubic-bezier(.22,.85,.3,1), opacity .35s ease;
}
.bars.is-in .bar{ transform:scaleY(1); opacity:1; }

.bar__fill{ fill:var(--blue); transition:fill .18s ease; }
.bars.is-hovering .bar{ opacity:.42; transition:opacity .18s ease; transition-delay:0s !important; }
.bars.is-hovering .bar.is-hot{ opacity:1; }
.bars.is-hovering .bar.is-hot .bar__fill{ fill:var(--blue-600); }
.hits rect{ cursor:pointer; }

.series__area{ opacity:0; transition:opacity .7s ease .45s; }
.chart--line.is-in .series__area{ opacity:.09; }
.series{ transition:opacity .2s ease; }
.series.is-muted{ opacity:.16; }

.focus{ opacity:0; transition:opacity .4s ease .9s; }
.chart--line.is-in .focus{ opacity:1; }
.focus__line{ transition:x1 .18s ease, x2 .18s ease, y1 .18s ease; opacity:.85; }
.focus circle{ transition:cx .18s ease, cy .18s ease, opacity .18s ease; }

/* tooltip */
.tip{
  position:absolute; left:0; top:0; z-index:5;
  transform:translate(-50%,-100%) translateY(-2px) scale(.96);
  transform-origin:50% 100%;
  min-width:132px; padding:9px 11px;
  background:#1E2939; color:#fff;
  border-radius:11px;
  box-shadow:0 10px 26px rgba(16,24,40,.22);
  font-size:12px; line-height:1.5;
  opacity:0; pointer-events:none;
  transition:opacity .16s ease, transform .16s cubic-bezier(.22,.8,.3,1);
}
.tip.is-on{ opacity:1; transform:translate(-50%,-100%) translateY(-8px) scale(1); }
.tip::after{
  content:""; position:absolute; left:50%; bottom:-4px;
  width:9px; height:9px; background:#1E2939;
  transform:translateX(-50%) rotate(45deg); border-radius:2px;
}
.tip__head{ display:block; font-weight:700; font-size:12.5px; margin-bottom:4px; letter-spacing:-.1px; }
.tip__row{ display:flex; align-items:center; gap:7px; color:#C4CCD8; white-space:nowrap; }
.tip__row i{ width:8px; height:8px; border-radius:3px; flex:none; }
.tip__row b{ margin-left:auto; color:#fff; font-weight:600; font-variant-numeric:tabular-nums; }

/* ===========================================================
   HOVER STATES
   =========================================================== */
.stat, .feed__item, .metric, .table tbody tr, .proj__logo, .stack i{
  transition:transform .22s cubic-bezier(.22,.8,.3,1), box-shadow .22s ease,
             background .18s ease, border-color .18s ease, margin .22s ease;
}

.stat:hover{
  transform:translateY(-3px);
  box-shadow:0 2px 4px rgba(16,24,40,.05), 0 14px 30px rgba(16,24,40,.09);
  border-color:var(--line-2);
}
.stat__icon{ transition:transform .28s cubic-bezier(.16,1,.3,1), box-shadow .22s ease; }
.stat:hover .stat__icon{ transform:scale(1.07) rotate(-4deg); box-shadow:0 10px 20px rgba(47,144,255,.4); }

.nav__item{ position:relative; }
.nav__item:not(.is-active):hover{ transform:translateX(3px); }
.nav__item .ic{ transition:transform .25s cubic-bezier(.16,1,.3,1); }
.nav__item:hover .ic{ transform:scale(1.12); }
.nav__item.is-active:hover{ box-shadow:0 8px 20px rgba(47,144,255,.42); }

.user__btn{ transition:transform .2s ease, color .18s ease; }
.user__btn:hover{ transform:translateY(-1px) scale(1.1); }
.user:hover .user__avatar{ box-shadow:0 0 0 3px rgba(47,144,255,.35); }
.user__avatar{ transition:box-shadow .2s ease; }

.metric{ border-radius:12px; cursor:default; }
.metric:hover{ background:#FAFBFC; }
.metric__icon{ transition:transform .28s cubic-bezier(.16,1,.3,1); }
.metric:hover .metric__icon{ transform:scale(1.08); }

.feed__item{ cursor:default; }
.feed__item:hover{
  transform:translateY(-2px);
  border-color:var(--line-2);
  box-shadow:0 2px 4px rgba(16,24,40,.04), 0 10px 22px rgba(16,24,40,.07);
}
.feed__item:hover .feed__icon{ color:var(--blue); }
.feed__icon{ transition:color .18s ease; }

.table tbody tr:hover{ background:#FAFBFC; }
.table tbody tr:hover .proj__logo{ transform:scale(1.08) rotate(-3deg); }
.table tbody tr:hover .stack i{ margin-left:-4px; }
.table tbody tr:hover .stack i:first-child{ margin-left:0; }
.progress__bar{ transition:width .6s cubic-bezier(.22,.8,.3,1); }

.segmented button{ position:relative; }
.segmented button:not(.is-active):hover{ background:#EBEFF4; }
.segmented button.is-active{ animation:popIn .3s cubic-bezier(.16,1,.3,1); }
@keyframes popIn{ from{ transform:scale(.9); } to{ transform:scale(1); } }

.icon-btn{ transition:background .15s, color .15s, transform .2s ease; }
.icon-btn:hover{ transform:scale(1.08); }
.activity__head .icon-btn:hover{ transform:translateX(2px); }

/* ===========================================================
   REDUCED MOTION
   =========================================================== */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important; animation-delay:0s !important;
    transition-duration:.001ms !important;
  }
  .bar{ transform:none; opacity:1; }
  .chart--line .series__area{ opacity:.09; }
  .chart--line .focus{ opacity:1; }
}


/* ===========================================================
   MOBILE SHELL
   Everything below only applies under 640px — the desktop
   layout above is untouched.
   =========================================================== */
.m-topbar, .m-tabbar, .m-greeting, .only-mobile{ display:none; }

@media (max-width:640px){
  :root{
    --shell:    #212529;
    --shell-2:  #2E3338;
    --shell-br: #3D434A;
  }

  body{ background:var(--shell); }
  .app{ display:block; padding:0 0 100px; background:var(--shell); }

  .only-desktop{ display:none; }
  .only-mobile{ display:inline; }
  .sidebar{ display:none; }

  /* ---------- top bar ---------- */
  .m-topbar{
    display:flex; align-items:center; justify-content:space-between;
    padding:10px 20px 16px;
    animation:rise .5s cubic-bezier(.22,.75,.28,1) both;
  }
  .m-topbar__brand{
    display:inline-flex; align-items:center; gap:8px;
    color:#fff; font-size:21px; font-weight:700; letter-spacing:-.4px;
  }
  .m-topbar__brand .brand__mark{ width:26px; height:26px; }
  .m-bell{
    position:relative; display:grid; place-items:center;
    width:40px; height:40px; border-radius:50%;
    background:var(--shell-2); border:1px solid var(--shell-br); color:#fff;
    transition:transform .2s ease, background .2s ease;
  }
  .m-bell:active{ transform:scale(.92); background:#383E45; }
  .m-bell .ic{ width:19px; height:19px; }
  .m-bell__dot{
    position:absolute; left:2px; bottom:3px;
    width:9px; height:9px; border-radius:50%;
    background:var(--blue); border:2px solid var(--shell);
  }

  /* ---------- the earnings sheet ----------
     greeting + revenue + one stat read as a single white card. Rounding,
     clipping and the shadow all live on .sheet itself — one real box, one
     border-radius — so nothing inside can ever poke past a square corner. */
  .main{ padding:0 14px; gap:0; }

  .sheet{
    display:flex; flex-direction:column;
    background:var(--card); border-radius:26px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.35);
  }

  .m-greeting{ display:block; order:1; padding:24px 20px 0; }
  .m-greeting__hi{ font-size:26px; font-weight:400; letter-spacing:-.7px; }
  .m-greeting__hi b{ font-weight:700; }
  .m-greeting__date{ font-size:15px; color:var(--muted-2); margin-top:1px; }

  .revenue{
    order:2; border:0; border-radius:0; box-shadow:none;
    padding:22px 20px 4px;
  }
  /* segmented control sits above the number on a phone */
  .revenue__head{ flex-direction:column-reverse; align-items:stretch; gap:24px; }
  .revenue .segmented{ width:100%; padding:5px; }
  .revenue .segmented button{ flex:1; padding:11px 0; font-size:15px; }
  .revenue .segmented button:nth-child(4){ display:none; }   /* no Year on phone */

  .revenue__value{ font-size:40px; letter-spacing:-1.6px; }
  .revenue__cur{ font-size:24px; vertical-align:10px; }
  .revenue__label{ font-size:15px; font-weight:400; color:var(--muted-2); margin-top:4px; }
  .chart--bar{ margin-top:16px; }

  /* the single stat is the sheet's footer row */
  .stats{ display:block; order:3; padding:0 20px 20px; }
  .stat{
    border:0; border-top:1px solid var(--line); border-radius:0;
    box-shadow:none; background:transparent; padding:18px 0 0;
  }
  .stat:hover{ transform:none; box-shadow:none; }
  .stat:hover .stat__icon{ transform:none; }
  .stat + .stat{ display:none; }
  .stat__label{ font-size:14px; }
  .stat__row{ margin-top:1px; }
  .stat__value{ font-size:26px; }
  .stat__icon{ width:54px; height:54px; border-radius:17px; }
  .stat__icon .ic{ width:26px; height:26px; }
  .stat .pill{ font-size:13px; padding:4px 9px; border-radius:9px; }

  /* ---------- the rest, in the same sheet language ---------- */
  .overview{ order:4; margin-top:14px; }
  .projects{ order:5; margin-top:14px; }
  .overview, .projects{ border:0; border-radius:26px; padding:22px 20px; }
  .overview__head, .projects__head{ flex-wrap:wrap; gap:14px; }
  .overview .segmented{ width:100%; }
  .overview .segmented button{ flex:1; padding:9px 0; }
  .overview__body{ gap:14px; margin-top:16px; }
  .projects{ padding-bottom:10px; }
  .table th:nth-child(2), .table td:nth-child(2),
  .table th:nth-child(3), .table td:nth-child(3){ display:none; }

  .activity{
    border:0; border-radius:26px; background:var(--card);
    margin:14px 14px 0; padding:20px 18px 10px;
  }
  .activity__head{ padding:0 0 8px; }
  .feed{ display:block; padding:0; mask-image:none; -webkit-mask-image:none; }
  .feed__item{
    border:0; border-top:1px solid var(--line); border-radius:0;
    box-shadow:none; padding:14px 2px;
  }
  .feed__item:hover{ transform:none; box-shadow:none; }

  /* ---------- tab bar ---------- */
  .m-tabbar{
    position:fixed; left:0; right:0; bottom:0; z-index:20;
    display:flex; align-items:center; justify-content:space-around;
    padding:12px 14px calc(12px + env(safe-area-inset-bottom));
    background:linear-gradient(to top, var(--shell) 66%, rgba(33,37,41,.86));
    backdrop-filter:blur(12px);
    animation:rise .5s cubic-bezier(.22,.75,.28,1) .25s both;
  }
  .m-tab{
    display:grid; place-items:center; width:48px; height:40px;
    border-radius:12px; color:#8A93A5;
    transition:color .18s ease, transform .2s cubic-bezier(.16,1,.3,1);
  }
  .m-tab .ic{ width:25px; height:25px; stroke-width:1.8; }
  .m-tab:active{ transform:scale(.88); }
  .m-tab.is-active{ color:var(--blue); }
  .m-tab--me img{ width:30px; height:30px; border-radius:50%; object-fit:cover; }

  /* the sheet rises as one piece instead of per-card */
  @keyframes sheetUp{
    from{ opacity:0; transform:translateY(26px); }
    to  { opacity:1; transform:none; }
  }
  .m-greeting, .revenue.reveal, .stats .stat.reveal{
    animation:sheetUp .6s cubic-bezier(.22,.75,.28,1) both;
    animation-delay:.06s;
  }
  .overview.reveal, .projects.reveal{ animation-name:sheetUp; }
  .sidebar{ animation:none; }
}
