:root {
  --font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #0B110E;
  --orb: #173A25;
  --accent: #2DD381;
  --accent-ink: #0B110E;
  --ink: #FFFFFF;
  --muted: #8A9C91;
  --card: rgba(20, 30, 25, 0.4);
  --card-solid: rgba(20, 30, 25, 0.72);
  --border: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.06);
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  --radius: 18px;
  --side-w: 240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --good: #2DD381;
  --warn: #E8C36A;
  --bad: #F0907A;
  --info: #8EB8E8;
  --good-soft: rgba(45, 211, 129, 0.14);
  --warn-soft: rgba(232, 195, 106, 0.14);
  --bad-soft: rgba(240, 144, 122, 0.14);
  --info-soft: rgba(142, 184, 232, 0.14);
  --pending: #E8C36A;
  --pending-soft: rgba(232, 195, 106, 0.16);
  --track: rgba(8, 14, 11, 0.65);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -0.011em;
  min-height: 100dvh;
  overflow: hidden;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }

/* Large forest-green glow orbs — essential for the glass */
body:before,
body:after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: var(--orb);
  filter: blur(120px);
  opacity: 0.85;
}
body:before {
  width: 620px;
  height: 620px;
  top: -180px;
  right: 8%;
}
body:after {
  width: 520px;
  height: 520px;
  bottom: -160px;
  left: 28%;
  opacity: 0.7;
}
.orb-3 {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  width: 420px;
  height: 420px;
  top: 42%;
  right: -80px;
  border-radius: 50%;
  background: var(--orb);
  filter: blur(110px);
  opacity: 0.55;
}

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--side-w) 1fr;
  height: 100dvh;
}

/* —— Sidebar —— */
.side {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 18px;
  border-right: 1px solid var(--border);
  background: rgba(11, 17, 14, 0.55);
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 28px;
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
}
.brand b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.brand span { color: var(--muted); font-size: 12px; font-weight: 400; }

.nav { display: flex; flex-direction: column; gap: 4px; }
.nav button {
  height: 44px;
  border-radius: 999px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.nav button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.nav button.is-on {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.nav svg { width: 18px; height: 18px; flex: none; }

.side__foot {
  margin-top: auto;
  padding: 12px 8px 4px;
}
.sync {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 10px;
}
.ibtn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
}
.ibtn:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }

/* —— Main + header —— */
.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  position: relative;
}
.topbar {
  height: 72px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 28px;
  position: relative;
  z-index: 20;
}
.topbar__search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, 52%);
}
.search-pill {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  padding: 0 18px 0 42px;
  background: rgba(20, 30, 25, 0.55);
  border: 1px solid var(--border);
  box-shadow: var(--inner);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  outline: none;
}
.search-pill::placeholder { color: var(--muted); }
.search-pill:focus { border-color: rgba(45, 211, 129, 0.35); }
.search-wrap { position: relative; }
.search-wrap:before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238A9C91' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  z-index: 1;
}
.search-results {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  z-index: 30;
}
.search-results.is-open { display: block; }
.search-results button {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
}
.search-results button:hover { background: rgba(45, 211, 129, 0.1); }
.search-results .meta { color: var(--muted); font-weight: 400; font-size: 12px; }

.topbar__right { display: flex; align-items: center; gap: 10px; }
.icon-btn, .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 30, 25, 0.55);
  border: 1px solid var(--border);
  color: var(--ink);
  position: relative;
}
.icon-btn:hover, .avatar:hover { border-color: rgba(45, 211, 129, 0.35); }
.icon-btn svg { width: 18px; height: 18px; }
.avatar { font-weight: 600; font-size: 13px; background: #1a2c22; }
.badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg);
}
.badge--n {
  min-width: 16px; height: 16px;
  font-size: 9px; font-weight: 700; color: var(--accent-ink);
  top: 2px; right: 2px;
  display: grid; place-items: center;
}
.bell-panel {
  position: absolute;
  right: 0; top: calc(100% + 10px);
  width: 340px;
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  display: none;
  z-index: 40;
}
.bell-panel.is-open { display: block; }
.bell-panel .notice { padding: 10px 10px; border-radius: 12px; }
.bell-panel .notice:hover { background: rgba(255, 255, 255, 0.03); }
.bell-wrap { position: relative; }

.stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 28px 36px;
}

/* —— Cards / glass —— */
.card, .login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--inner);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  padding: 18px 20px;
  min-width: 0;
}
.chead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.chead h2, .chead h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.chead p { margin: 4px 0 0; color: var(--muted); font-size: 12px; font-weight: 400; }

/* —— Hero greeting row —— */
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}
.hero-top .date { margin: 0 0 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.hero-top h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero-total {
  margin: 10px 0 0;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.hero-total span { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.hero-meta { margin: 10px 0 0; color: var(--muted); font-size: 13px; font-weight: 400; }
.lede { margin: 8px 0 0; color: var(--muted); font-size: 12px; font-weight: 400; max-width: 62ch; line-height: 1.5; }

/* Mint sliding toggle */
.toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  height: 38px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(20, 30, 25, 0.55);
  border: 1px solid var(--border);
  min-width: 228px;
}
.toggle button {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color 200ms var(--ease-out);
}
.toggle button.is-on { color: var(--accent-ink); font-weight: 600; }
.toggle__thumb {
  position: absolute;
  top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 6px 16px -6px rgba(45, 211, 129, 0.7);
  transition: transform 280ms var(--ease-out);
  z-index: 0;
}
.toggle.is-fy .toggle__thumb { transform: translateX(100%); }

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  gap: 2px;
  background: rgba(20, 30, 25, 0.55);
  border: 1px solid var(--border);
}
.seg button {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: background 280ms var(--ease-out), color 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.seg button.is-on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

.btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid var(--border);
}
.btn:hover { background: rgba(255, 255, 255, 0.04); }
.btn--primary { background: var(--accent); color: var(--accent-ink); border: 0; font-weight: 600; }

.page-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-tools h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.page-tools .tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Masonry-ish overview grid */
.mid-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}
.bot-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: start;
}
.bot-row__left { display: grid; gap: 16px; align-content: start; min-width: 0; }
.bot-row__right { min-width: 0; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: 1fr 1fr; }

/* 3D EHR account card */
.account-card {
  position: relative;
  border-radius: 20px;
  min-height: 280px;
  padding: 24px 24px 22px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(45, 211, 129, 0.28), transparent 55%),
    radial-gradient(80% 60% at 100% 100%, rgba(10, 20, 14, 0.8), transparent 50%),
    linear-gradient(150deg, #1c3d2a 0%, #0e1c14 48%, #163226 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 48px -18px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -24px 40px rgba(0, 0, 0, 0.28);
  transform: perspective(1200px) rotateY(-7deg) rotateX(5deg);
  transform-origin: left center;
}
.account-card:before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 62%);
  transform: rotate(-12deg);
  pointer-events: none;
}
.account-card:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.account-card .ac-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.account-card .ac-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(45, 211, 129, 0.95);
  color: #0B110E;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.account-card .ac-chip {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.account-card .ac-label { position: relative; z-index: 1; margin-top: 36px; font-size: 12px; color: rgba(255,255,255,0.62); font-weight: 400; }
.account-card .ac-value { position: relative; z-index: 1; margin-top: 6px; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
.account-card .ac-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.7); }
.account-card-wrap { display: flex; align-items: stretch; }
.account-card-wrap .account-card { flex: 1; display: flex; flex-direction: column; }

/* Charts */
.line-chart { width: 100%; height: 260px; display: block; overflow: visible; }
.line-chart .area { fill: url(#mintArea); opacity: 0; transition: opacity 500ms var(--ease-out); }
.line-chart .area.is-on { opacity: 1; }
.line-chart .line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 900ms var(--ease-out);
}
.line-chart .line.is-on { stroke-dashoffset: 0; }
.line-chart .dot {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 300ms var(--ease-out) 400ms;
}
.line-chart .dot.is-on { opacity: 1; }
.line-chart .axis { font-size: 10px; fill: var(--muted); font-family: var(--font); }

.bars { height: 200px; display: flex; align-items: flex-end; gap: 8px; padding: 8px 4px 0; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; height: 100%; }
.bars__track { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bars__bar {
  width: 70%;
  max-width: 28px;
  height: 0;
  border-radius: 8px 8px 3px 3px;
  background: var(--accent);
  box-shadow: 0 8px 16px -8px rgba(45, 211, 129, 0.55);
  transition: height 700ms var(--ease-out);
}
.bars__label { margin-top: 8px; font-size: 10px; color: var(--muted); font-weight: 400; white-space: nowrap; }

.meter { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin: 12px 0; font-size: 12px; font-weight: 500; }
.meter > div:first-child { grid-column: 1 / -1; white-space: normal; line-height: 1.3; color: var(--ink); font-weight: 500; }
.meter__bar { height: 8px; background: var(--track); border-radius: 99px; overflow: hidden; }
.meter__bar > span {
  display: block; height: 100%; width: 0;
  border-radius: inherit;
  background: var(--accent);
  transition: width 700ms var(--ease-out);
}
.meter__bar > span.is-on { width: var(--w); }
.meter__val { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }

.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut { position: relative; width: 132px; height: 132px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut .track { fill: none; stroke: var(--track); stroke-width: 10; }
.donut .ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: var(--circ);
  stroke-dashoffset: var(--circ);
  transition: stroke-dashoffset 800ms var(--ease-out);
}
.donut .ring.is-on { stroke-dashoffset: var(--off); }
.donut__value {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 600; letter-spacing: -0.03em;
}

/* Transaction rows */
.tx {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.tx:first-child { border-top: 0; }
.tx__icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--good-soft);
  color: var(--accent);
  font-size: 12px; font-weight: 600;
}
.tx b { display: block; font-size: 13px; font-weight: 500; }
.tx .date { color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 1px; }
.tx .amt { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13px; text-align: right; }
.tx .amt.neg { color: var(--ink); }
.tx .amt.pos { color: var(--accent); }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 11px; font-weight: 500; }
.pill--pending { color: var(--pending); background: var(--pending-soft); }
.pill--good { color: var(--accent); background: var(--good-soft); }
.pill--bad { color: var(--bad); background: var(--bad-soft); }
.pill--info { color: var(--info); background: var(--info-soft); }
.pill--warn { color: var(--warn); background: var(--warn-soft); }

.legend { display: flex; gap: 14px; font-size: 12px; font-weight: 400; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 6px; }
.legend .in { background: var(--accent); }
.legend .out { background: var(--muted); }

table.data { width: 100%; border-collapse: collapse; font-size: 12px; }
table.data th, table.data td {
  padding: 8px 6px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data th {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
table.data td:first-child, table.data th:first-child { text-align: left; font-weight: 500; white-space: normal; }
table.data tr.total td { font-weight: 600; }
table.data tr.pending td { color: var(--pending); }
table.data .null { color: var(--muted); }
.table-wrap { overflow-x: auto; }
table.data th:last-child, table.data td:last-child {
  position: sticky; right: 0;
  background: rgba(16, 24, 20, 0.92);
  box-shadow: -10px 0 10px -10px #0008;
  min-width: 6.5rem;
  font-weight: 600;
}

.banner {
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid rgba(232, 195, 106, 0.12);
}
.banner--info { background: var(--info-soft); color: var(--info); border-color: rgba(142, 184, 232, 0.12); }
.banner--snapshot {
  background: rgba(45, 211, 129, 0.08);
  color: var(--accent);
  border: 1px solid rgba(45, 211, 129, 0.16);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.select, .filters .search {
  height: 36px;
  border-radius: 999px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: rgba(20, 30, 25, 0.55);
  min-width: 160px;
  outline: none;
}
.filters .search { min-width: 220px; }

.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.client h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.client p { margin: 0; color: var(--muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.notice { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.notice:first-of-type { border-top: 0; }
.notice b { display: block; margin-bottom: 2px; font-weight: 500; }
.notice p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 400; }

/* Page transitions */
.page {
  transform-origin: 50% 16px;
  animation: page-in 300ms var(--ease-out) both;
}
.page.is-out { animation: page-out 200ms var(--ease-out) both; }
@keyframes page-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes page-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.98); }
}

/* Login */
.login-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}
.login-card { width: min(420px, 100%); border-radius: 20px; padding: 32px 28px; }
.login-card h1 { margin: 8px 0 6px; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.login-card p { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.login-card label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.login-card input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 14px;
  background: rgba(8, 14, 11, 0.5);
  margin-bottom: 14px;
  outline: none;
}
.login-card input:focus { border-color: rgba(45, 211, 129, 0.4); }
.login-card .btn { width: 100%; height: 44px; }
.err { color: var(--bad); font-size: 13px; font-weight: 500; min-height: 1.2em; margin: 0 0 10px; }
.preview-banner {
  background: var(--info-soft);
  color: var(--info);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

html.is-shot body { overflow: auto; }
html.is-shot .shell, html.is-shot .main, html.is-shot .side { height: auto; min-height: 0; }
html.is-shot .stage { overflow: visible; }
html.is-shot .page { animation: none; opacity: 1; transform: none; }
html.is-shot .preview-banner { display: none; }
html.is-shot .line-chart .area,
html.is-shot .line-chart .dot,
html.is-shot .line-chart .line { opacity: 1; stroke-dashoffset: 0; }
html.is-shot .bars__bar,
html.is-shot .meter__bar > span,
html.is-shot .donut .ring { transition: none; }
html.is-shot .account-card { transform: perspective(1200px) rotateY(-5deg) rotateX(3deg); }

@media (max-width: 1100px) {
  .mid-row, .bot-row, .cols-2, .clients { grid-template-columns: 1fr; }
  .account-card { transform: none; }
  .hero-total { font-size: 30px; }
}
@media (max-width: 800px) {
  body { overflow: auto; }
  .shell { grid-template-columns: 1fr; height: auto; }
  .side { height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .main { height: auto; }
  .topbar__search { position: static; transform: none; width: 100%; order: -1; }
  .topbar { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 10px; }
  .stage { padding: 8px 16px 28px; }
  .nav { flex-direction: row; flex-wrap: wrap; }
}
.chart-labels { display: flex; justify-content: space-between; padding: 0 8px; margin-top: 4px; }
.chart-labels span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); font-weight: 400; white-space: nowrap; }
