/**
 * Copyright 2026 Cubesob Demo Template.
 * Theme Name: Solvo
 * Theme Type: Dashboard
 * Developed by Mohammad Rehaan Nizami and Designed by Arsala Jeelani
 * All rights reserved.
 */

:root {
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-2xs: 11px;
  --fs-xs: 12px;
  --fs-sm: 12.5px;
  --fs-md: 13.5px;
  --fs-base: 14px;
  --fs-lg: 15px;
  --fs-xl: 17px;
  --fs-2xl: 20px;
  --fs-3xl: 22px;
  --fs-4xl: 26px;
  --fs-display: 34px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1480px;
  --gap: 18px;
  --side-w: 256px;
  --side-rail: 84px;
  --bg: #e7ecf3;
  --pool-1: #0a84ff9e;
  --pool-2: #5ac8fa9e;
  --pool-3: #34c7a075;
  --pool-4: #ffb04080;
  --glass: #ffffff80;
  --glass-hi: #ffffffa3;
  --glass-solid: #f8fafdd6;
  --blur: blur(34px) saturate(190%);
  --edge: #fffffff2;
  --edge-2: #ffffff40;
  --card: #ffffff94;
  --card-2: #fff6;
  --card-3: #0f192d14;
  --ink: #0b1220;
  --ink-2: #283142;
  --muted: #4c5566;
  --line: #0f192d14;
  --line-2: #0f192d26;
  --shadow: 0 1px 1px #0f1e3c0a, 0 18px 40px -22px #0f1e3c61;
  --shadow-lg: 0 2px 6px #0f1e3c14, 0 40px 80px -28px #0f1e3c73;
  --accent: #007aff;
  --accent-ink: #fff;
  --accent-hi: #0068d9;
  --accent-grad: linear-gradient(180deg, #2b95ff, #007aff);
  --accent-glow: #007aff59;
  --accent-soft: #007aff1c;
  --accent-soft-solid: #d6e8ff;
  --accent-text: #005ec4;
  --sig: #007aff;
  --sig-text: #005ec4;
  --sig-soft: #007aff1f;
  --data: #007aff;
  --data-2: #5ac8fa;
  --now: #007aff;
  --in: #0f8f6e;
  --in-text: #0b7359;
  --in-soft: #0f8f6e1f;
  --out: #8a93a3;
  --on: #34c759;
  --rim: #0f192d1a;
  --good: #18753a;
  --warn: #975400;
  --bad: #c4261c;
  --info: #005ec4;
  --good-soft: #34c75929;
  --warn-soft: #ff95002b;
  --bad-soft: #ff3b301f;
  --info-soft: #007aff1c;
  --tile-1: #d6e8ff9e;
  --tile-2: #ffe5d49e;
  --tile-3: #d0f5e59e;
  --tile-4: #fff0c8a3;
  --tile-ink: #0b1220;
  --tile-muted: #0b1220a8;
  --c1: #007aff;
  --c2: #0f9a7a;
  --c3: #d98c0a;
  --c4: #f2603a;
  --c5: #56657f;
  --c6: #5f8f1f;
  --c1-soft: #007aff1f;
  --c2-soft: #0f9a7a21;
  --c3-soft: #d98c0a26;
  --c4-soft: #f2603a21;
  --c5-soft: #56657f21;
  --c6-soft: #5f8f1f24;
  --h0: #e3e8f0;
  --h1: #d6e8ff;
  --h2: #cdf1e4;
  --h3: #ffecc2;
  --h4: #ffdccc;
  --h5: #d8f1fb;
  --mono-ink: #0b1220;
  --stamp: #18753a;
  --paper: #fdfeff;
  --paper-ink: #0b1220;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #04070d;
  --pool-1: #0a84ff80;
  --pool-2: #64d2ff4d;
  --pool-3: #30d1a047;
  --pool-4: #ff9f0a33;
  --glass: #1e222c75;
  --glass-hi: #262b3799;
  --glass-solid: #161a22e0;
  --blur: blur(34px) saturate(170%);
  --edge: #ffffff3d;
  --edge-2: #ffffff0a;
  --card: #2c323f80;
  --card-2: #ffffff0f;
  --card-3: #ffffff1a;
  --ink: #f2f5fa;
  --ink-2: #ced5e1;
  --muted: #9ea8b9;
  --line: #ffffff14;
  --line-2: #ffffff26;
  --shadow: 0 1px 2px #0000004d, 0 20px 44px -22px #000000bf;
  --shadow-lg: 0 2px 6px #0006, 0 40px 90px -28px #000000e6;
  --accent: #0a84ff;
  --accent-ink: #fff;
  --accent-hi: #3d9bff;
  --accent-grad: linear-gradient(180deg, #3d9bff, #0a84ff);
  --accent-glow: #0a84ff66;
  --accent-soft: #0a84ff2e;
  --accent-soft-solid: #0d2747;
  --accent-text: #6cb4ff;
  --sig: #0a84ff;
  --sig-text: #6cb4ff;
  --sig-soft: #0a84ff2e;
  --data: #0a84ff;
  --data-2: #64d2ff;
  --now: #0a84ff;
  --in: #30d1a0;
  --in-text: #63dfb8;
  --in-soft: #30d1a024;
  --out: #8d97a8;
  --on: #30d158;
  --rim: #ffffff1f;
  --good: #4fdc78;
  --warn: #ffb340;
  --bad: #ff6f66;
  --info: #6cb4ff;
  --good-soft: #30d15826;
  --warn-soft: #ffb34026;
  --bad-soft: #ff696126;
  --info-soft: #0a84ff2e;
  --tile-1: #0a50aa5c;
  --tile-2: #96481e52;
  --tile-3: #1073585c;
  --tile-4: #8762105c;
  --tile-ink: #f2f5fa;
  --tile-muted: #f2f5fab3;
  --c1: #0a84ff;
  --c2: #30d1a0;
  --c3: #ffb340;
  --c4: #ff7b55;
  --c5: #a3b0c6;
  --c6: #a8d05a;
  --c1-soft: #0a84ff2e;
  --c2-soft: #30d1a026;
  --c3-soft: #ffb34026;
  --c4-soft: #ff7b5526;
  --c5-soft: #a3b0c624;
  --c6-soft: #a8d05a26;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}
*,
:before,
:after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 500 var(--fs-base)/1.45 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  overflow-x: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: 0 0;
  border: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
small {
  font-size: var(--fs-xs);
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--sig-soft);
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}
.skip {
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  position: fixed;
  top: -60px;
  left: 12px;
}
.skip:focus {
  top: 12px;
}
.sr {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}
.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 20px;
  height: 20px;
}
.ico--sm {
  width: 16px;
  height: 16px;
}
.ico--lg {
  width: 24px;
  height: 24px;
}
.word {
  vertical-align: top;
  margin-bottom: -0.08em;
  padding-bottom: 0.08em;
  display: inline-block;
  overflow: hidden;
}
.ch {
  display: inline-block;
}
.muted {
  color: var(--muted);
}
.good {
  color: var(--good);
}
.warn {
  color: var(--warn);
}
.bad {
  color: var(--bad);
}
.num {
  font-variant-numeric: tabular-nums;
}
::view-transition-old(root) {
  mix-blend-mode: normal;
  animation: none;
}
::view-transition-new(root) {
  mix-blend-mode: normal;
  animation: none;
}
.bg {
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
  position: fixed;
  inset: 0;
  overflow: hidden;
}
.bg i {
  border-radius: 50%;
  position: absolute;
}
.bg i:first-child {
  background: radial-gradient(closest-side, var(--pool-1), transparent);
  width: 62vmax;
  height: 62vmax;
  top: -24vmax;
  left: -18vmax;
}
.bg i:nth-child(2) {
  background: radial-gradient(closest-side, var(--pool-2), transparent);
  width: 54vmax;
  height: 54vmax;
  top: -10vmax;
  right: -16vmax;
}
.bg i:nth-child(3) {
  background: radial-gradient(closest-side, var(--pool-3), transparent);
  width: 58vmax;
  height: 58vmax;
  bottom: -30vmax;
  left: 8vmax;
}
.bg i:nth-child(4) {
  background: radial-gradient(closest-side, var(--pool-4), transparent);
  width: 46vmax;
  height: 46vmax;
  bottom: -18vmax;
  right: -8vmax;
}
.glass,
.card,
.kpi {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow:
    inset 0 1px 0 var(--edge),
    inset 0 0 0 1px var(--rim),
    var(--shadow);
}
.glass-btn {
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  background: var(--glass) !important;
  box-shadow:
    inset 0 1px 0 var(--edge),
    inset 0 0 0 1px var(--rim),
    var(--shadow) !important;
}
html.is-record:not(.is-started) .app {
  visibility: hidden;
}
.app {
  min-height: 100dvh;
  position: relative;
}
.main {
  z-index: 1;
  margin-left: calc(var(--side-w) + 32px);
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  position: relative;
}
html.is-rail .main {
  margin-left: calc(var(--side-rail) + 32px);
}
.content {
  width: 100%;
  max-width: var(--max);
  flex: 1;
  min-width: 0;
  margin: 0 auto;
  padding: 4px 28px 48px 0;
}
.view {
  min-width: 0;
}
.side {
  z-index: 30;
  width: var(--side-w);
  background: var(--glass-hi);
  border-radius: 26px;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 12px;
  display: flex;
  position: fixed;
  top: 16px;
  bottom: 16px;
  left: 16px;
}
html.is-rail .side {
  width: var(--side-rail);
  padding: 16px 12px 14px;
}
.side__head {
  align-items: center;
  gap: 8px;
  padding: 0 2px 0 4px;
  display: flex;
}
.brand {
  border-radius: 12px;
  flex: 1;
  align-items: center;
  gap: 11px;
  min-width: 0;
  display: flex;
}
.mark {
  color: #fff;
  width: 38px;
  height: 38px;
  box-shadow:
    inset 0 1px 0 #ffffff80,
    0 10px 18px -10px var(--accent);
  background: linear-gradient(145deg, #64d2ff, #0a84ff 55%, #0050c8);
  border-radius: 13px;
  flex: none;
  place-items: center;
  display: grid;
}
.mark svg {
  stroke-width: 1.9px;
  width: 22px;
  height: 22px;
}
.mark--lg {
  border-radius: 17px;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
}
.mark--lg svg {
  width: 30px;
  height: 30px;
}
.brand__text {
  min-width: 0;
}
.brand__text b {
  letter-spacing: -0.02em;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.brand__text small {
  font-size: var(--fs-2xs);
  color: var(--muted);
  white-space: nowrap;
  margin-top: 4px;
  font-weight: 600;
  display: block;
}
.side .collapse {
  width: 32px;
  height: 32px;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rim);
  background: #3c28220d;
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}
[data-theme="dark"] .side .collapse {
  background: #ffffff0d;
}
.side .collapse:hover {
  background: var(--glass-hi);
}
.side .collapse svg {
  width: 18px;
  height: 18px;
}
html.is-rail .side .collapse svg {
  transform: scaleX(-1);
}
html.is-rail .side__head {
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
html.is-rail .brand {
  flex: none;
}
html.is-rail .brand__text {
  display: none;
}
.side__search {
  background: var(--card-2);
  height: 40px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: var(--fs-md);
  border-radius: 13px;
  align-items: center;
  gap: 9px;
  padding: 0 7px 0 12px;
  display: flex;
}
.side__search:hover {
  color: var(--ink);
  background: var(--card);
}
.side__search > span:not(.kbd) {
  text-align: left;
  flex: 1;
}
html.is-rail .side__search {
  justify-content: center;
  padding: 0;
}
html.is-rail .side__search > span {
  display: none;
}
.snav {
  scrollbar-width: none;
  flex-direction: column;
  flex: 1;
  gap: 4px;
  min-height: 0;
  margin: 0 -4px;
  padding: 0 4px;
  display: flex;
  position: relative;
  overflow: hidden auto;
}
.snav::-webkit-scrollbar {
  display: none;
}
.snav__pill {
  pointer-events: none;
  opacity: 0;
  background: var(--accent-grad);
  filter: drop-shadow(0 8px 14px var(--accent-glow));
  position: absolute;
  inset: 0;
}
.snav__group {
  flex-direction: column;
  gap: 2px;
  display: flex;
}
.snav__group--end {
  margin-top: auto;
  padding-top: 8px;
}
.side__group {
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px 3px;
  font-weight: 700;
}
html.is-rail .side__group {
  background: var(--line-2);
  height: 1px;
  margin: 6px 14px;
  padding: 0;
  font-size: 0;
}
.snav__item {
  z-index: 1;
  height: 37px;
  font-size: var(--fs-md);
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  font-weight: 600;
  display: flex;
  position: relative;
}
.snav__item > .ico {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.snav__item:hover {
  background: var(--card-2);
  color: var(--ink);
}
.snav__item[aria-current="page"] {
  color: #fff;
  background: 0 0;
}
.snav__item[aria-current="page"] > .ico {
  color: #fff;
}
.snav__label {
  flex: 1;
}
.snav__count {
  min-width: 22px;
  height: 20px;
  font-size: var(--fs-2xs);
  background: var(--accent-soft);
  color: var(--accent-text);
  border-radius: 99px;
  place-items: center;
  padding: 0 7px;
  font-weight: 700;
  display: inline-grid;
}
html.is-rail .snav__item {
  justify-content: center;
  padding: 0;
}
html.is-rail .snav__label {
  display: none;
}
html.is-rail .snav__count {
  background: var(--accent);
  width: 8px;
  min-width: 0;
  height: 8px;
  box-shadow: 0 0 0 2px var(--glass-hi);
  padding: 0;
  font-size: 0;
  position: absolute;
  top: 8px;
  right: 12px;
}
.side__foot {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  display: flex;
}
.side__theme {
  height: 40px;
  font-size: var(--fs-md);
  color: var(--ink-2);
  align-items: center;
  gap: 12px;
  padding: 0 6px 0 12px;
  font-weight: 600;
  display: flex;
}
.side__theme > .ico {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.side__theme > span {
  flex: 1;
}
html.is-rail .side__theme {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  height: auto;
  padding: 0;
}
html.is-rail .side__theme > span,
html.is-rail .side__theme > .ico {
  display: none;
}
.side__me {
  text-align: left;
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 16px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  display: flex;
}
.side__me:hover {
  background: var(--card);
}
.side__me .cell__text {
  flex: 1;
  min-width: 0;
}
.side__me .cell__text b {
  font-size: var(--fs-md);
}
.side__me > .ico {
  color: var(--muted);
}
html.is-rail .side__me {
  justify-content: center;
  padding: 6px;
}
html.is-rail .side__me .cell__text,
html.is-rail .side__me > .ico {
  display: none;
}
.top {
  z-index: 20;
  padding: 16px 28px 0 0;
  position: sticky;
  top: 0;
}
.top__in {
  max-width: var(--max);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin: 0 auto;
  display: flex;
}
.top__hello {
  flex: 1;
  min-width: 0;
}
.top__hello b {
  font-size: var(--fs-2xl);
  letter-spacing: -0.015em;
  font-weight: 600;
  line-height: 1.2;
  display: block;
}
.top__hello small {
  color: var(--muted);
  font-size: var(--fs-sm);
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: center;
  margin-top: 2px;
  font-weight: 500;
  display: flex;
  overflow: hidden;
}
.top__title,
.top .top__menu,
.top__brand {
  display: none;
}
.tools {
  flex: none;
  align-items: center;
  gap: 8px;
  display: flex;
}
.drawer:focus-visible,
.modal:focus-visible,
.drawer:focus,
.modal:focus {
  outline: none;
}
.tip {
  z-index: 90;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  font-size: var(--fs-sm);
  white-space: pre;
  box-shadow: var(--shadow);
  border-radius: 9px;
  padding: 6px 10px;
  font-weight: 600;
  position: fixed;
}
.allpages {
  flex-direction: column;
  gap: 6px;
  display: flex;
}
.allpages__area {
  border-radius: 14px;
}
.allpages__area.is-on {
  background: var(--card-2);
}
.allpages__head {
  font-weight: 600;
  font-size: var(--fs-lg);
  align-items: center;
  gap: 12px;
  padding: 10px;
  display: flex;
}
.allpages__head b {
  flex: 1;
  font-weight: 600;
}
.allpages__ico {
  background: var(--card-2);
  width: 32px;
  height: 32px;
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}
.allpages__subs {
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 10px 12px 54px;
  display: flex;
}
.allpages__subs a {
  background: var(--card);
  height: 34px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  border-radius: 10px;
  align-items: center;
  padding: 0 12px;
  font-weight: 600;
  display: inline-flex;
}
.allpages__subs a[aria-current="page"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.allpages__theme {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding: 14px 10px 4px;
  font-weight: 600;
  display: flex;
}
.allpages__theme span {
  align-items: center;
  gap: 10px;
  display: inline-flex;
}
.signin {
  z-index: 95;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}
.signin__card {
  border-radius: 28px;
  padding: 34px 30px 26px;
  position: relative;
}
.tone--accent {
  background: var(--sig-soft);
  color: var(--sig-text);
}
.tone--good {
  background: var(--good-soft);
  color: var(--good);
}
.tone--warn {
  background: var(--warn-soft);
  color: var(--warn);
}
.tone--bad {
  background: var(--bad-soft);
  color: var(--bad);
}
.tone--info {
  background: var(--info-soft);
  color: var(--info);
}
.tone--sig {
  background: var(--sig-soft);
  color: var(--sig-text);
}
.tone--plain {
  background: var(--card-2);
  color: var(--ink);
}
.kbd {
  background: var(--card-2);
  min-width: 26px;
  height: 24px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-2xs);
  color: var(--muted);
  border-radius: 7px;
  place-items: center;
  padding: 0 6px;
  font-weight: 700;
  display: inline-grid;
}
.ibtn {
  background: var(--card);
  width: 42px;
  height: 42px;
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow);
  border-radius: 13px;
  flex: none;
  place-items: center;
  display: grid;
  position: relative;
}
.ibtn--flat {
  box-shadow: none;
  background: 0 0;
}
.ibtn--flat:hover {
  background: var(--card-2);
}
.ibtn--sm {
  border-radius: 10px;
  width: 34px;
  height: 34px;
}
.ibtn__badge {
  background: var(--sig);
  color: #fff;
  min-width: 17px;
  height: 17px;
  font-size: var(--fs-2xs);
  box-shadow: 0 0 0 2px var(--card);
  border-radius: 99px;
  place-items: center;
  padding: 0 4px;
  font-weight: 700;
  display: grid;
  position: absolute;
  top: 6px;
  right: 6px;
}
.btn {
  height: 40px;
  font-size: var(--fs-md);
  white-space: nowrap;
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 600;
  display: inline-flex;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn--dark {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
.btn--dark:hover {
  background: var(--ink-2);
}
.btn--ghost {
  box-shadow: none;
  background: 0 0;
}
.btn--ghost:hover {
  background: var(--card-2);
}
.btn--danger {
  color: var(--bad);
}
.btn--sm {
  height: 32px;
  font-size: var(--fs-sm);
  border-radius: 10px;
  padding: 0 12px;
}
.btn--sm svg {
  width: 16px;
  height: 16px;
}
.btn--lg {
  height: 52px;
  font-size: var(--fs-lg);
  border-radius: 15px;
  padding: 0 22px;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn--block {
  width: 100%;
}
.linkbtn {
  color: var(--accent-text);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.linkbtn:hover {
  text-underline-offset: 3px;
  text-decoration: underline;
}
.phead {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin: 10px 0 20px;
  display: flex;
}
.phead__text {
  flex: 260px;
  min-width: 0;
}
.phead h1 {
  letter-spacing: -0.025em;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.04;
}
.phead p {
  color: var(--muted);
  font-size: var(--fs-base);
  max-width: 70ch;
  margin-top: 8px;
}
.phead__actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}
.card {
  background: var(--card);
  border-radius: var(--r-lg);
  min-width: 0;
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow);
  padding: 18px 20px 20px;
  position: relative;
}
.card--flush {
  padding: 0;
}
.card--well {
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.chead {
  align-items: center;
  gap: 10px;
  min-height: 32px;
  margin-bottom: 14px;
  display: flex;
}
.chead__text {
  flex: 1;
  min-width: 0;
}
.chead h2,
.chead h3 {
  font-size: var(--fs-lg);
  letter-spacing: -0.005em;
  font-weight: 600;
  line-height: 1.25;
}
.chead p {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 2px;
}
.chead > .spark {
  flex: none;
  width: 110px;
  height: 32px;
}
.card--flush .chead {
  padding: 16px 20px 0;
}
.grid {
  gap: var(--gap);
  display: grid;
}
.kpis {
  gap: var(--gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
}
.kpi {
  border-radius: var(--r-lg);
  color: var(--tile-ink);
  background: var(--tile-1);
  flex-direction: column;
  min-height: 128px;
  padding: 16px 18px 14px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.kpi__label {
  font-size: var(--fs-sm);
  color: var(--tile-muted);
  align-items: center;
  gap: 8px;
  font-weight: 600;
  display: flex;
}
.kpi__label svg {
  width: 17px;
  height: 17px;
}
.kpi__value {
  font-size: var(--fs-3xl);
  letter-spacing: -0.01em;
  margin-top: 10px;
  font-weight: 600;
  line-height: 1.1;
}
.kpi__foot {
  font-size: var(--fs-xs);
  color: var(--tile-muted);
  align-items: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  display: flex;
}
.kpi__foot .spark {
  width: 92px;
  height: 30px;
  margin-left: auto;
}
.delta {
  white-space: nowrap;
  font-size: var(--fs-2xs);
  border-radius: 99px;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  font-weight: 700;
  display: inline-flex;
}
.delta--up {
  color: var(--good);
  background: var(--good-soft);
}
.delta--down {
  color: var(--bad);
  background: var(--bad-soft);
}
.kpi .delta--up {
  color: #145c33;
  background: #fff9;
}
.kpi .delta--down {
  color: #9a2a14;
  background: #fff9;
}
[data-theme="dark"] .kpi .delta--up {
  color: #8fdcb1;
  background: #00000040;
}
[data-theme="dark"] .kpi .delta--down {
  color: #f7a7b6;
  background: #00000040;
}
.spark {
  display: block;
  overflow: visible;
}
.spark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spark .spark__area {
  stroke: none;
  fill: currentColor;
  opacity: 0.14;
}
.pill {
  height: 24px;
  font-size: var(--fs-xs);
  white-space: nowrap;
  background: var(--card-3);
  color: var(--ink-2);
  border-radius: 99px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  font-weight: 600;
  display: inline-flex;
}
.pill:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}
.pill--plain:before {
  display: none;
}
.pill--warn {
  background: var(--warn-soft);
  color: var(--warn);
}
.pill--bad {
  background: var(--bad-soft);
  color: var(--bad);
}
.pill--info {
  background: var(--info-soft);
  color: var(--info);
}
.pill--accent {
  background: var(--sig-soft);
  color: var(--sig-text);
}
.badge {
  min-width: 20px;
  height: 20px;
  font-size: var(--fs-2xs);
  background: var(--card-3);
  color: var(--ink-2);
  border-radius: 99px;
  place-items: center;
  padding: 0 6px;
  font-weight: 700;
  display: inline-grid;
}
.chips {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}
.chip {
  height: 32px;
  font-size: var(--fs-sm);
  color: var(--muted);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
  border-radius: 10px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-weight: 600;
  display: inline-flex;
}
.chip:hover {
  color: var(--ink);
}
.chip[aria-pressed="true"] {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: none;
}
.chip .badge {
  min-width: 18px;
  height: 18px;
  color: inherit;
  background: #0000000f;
}
.chip[aria-pressed="true"] .badge {
  background: #ffffff38;
}
.av {
  width: 34px;
  height: 34px;
  font-size: var(--fs-xs);
  color: var(--mono-ink);
  background: #e6d6c4;
  border-radius: 50%;
  flex: none;
  place-items: center;
  font-weight: 700;
  display: grid;
  position: relative;
  overflow: hidden;
}
.av img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.av--sm {
  width: 26px;
  height: 26px;
  font-size: var(--fs-2xs);
}
.av--lg {
  width: 48px;
  height: 48px;
  font-size: var(--fs-lg);
}
.av--xl {
  width: 72px;
  height: 72px;
  font-size: var(--fs-3xl);
}
.av__dot {
  background: var(--good);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 2px var(--card);
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
}
.avstack {
  display: flex;
}
.avstack > * + * {
  box-shadow: 0 0 0 2px var(--card);
  margin-left: -8px;
}
.seg {
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 12px;
  padding: 3px;
  display: inline-flex;
  position: relative;
}
.seg__thumb {
  background: var(--card);
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 1px 2px #0000001a);
  position: absolute;
  inset: 0;
}
.seg--accent .seg__thumb {
  background: var(--accent);
  filter: none;
}
.seg--accent button[aria-pressed="true"] {
  color: var(--accent-ink);
}
.seg button {
  z-index: 1;
  height: 30px;
  font-size: var(--fs-sm);
  color: var(--muted);
  white-space: nowrap;
  border-radius: 9px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-weight: 600;
  display: inline-flex;
  position: relative;
}
.seg button[aria-pressed="true"] {
  color: var(--ink);
}
.seg button svg {
  width: 16px;
  height: 16px;
}
.tabs {
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
  gap: 4px;
  margin-bottom: 20px;
  display: flex;
  position: relative;
  overflow-x: auto;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs a,
.tabs button {
  height: 42px;
  font-size: var(--fs-md);
  color: var(--muted);
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-weight: 600;
  display: inline-flex;
  position: relative;
}
.tabs a:hover,
.tabs button:hover,
.tabs [aria-current="page"],
.tabs [aria-selected="true"] {
  color: var(--ink);
}
.tabs__line {
  background: var(--accent);
  pointer-events: none;
  opacity: 0;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.table-wrap {
  position: relative;
  overflow-x: auto;
}
.table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--fs-md);
}
.table th {
  text-align: left;
  font-size: var(--fs-xs);
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  font-weight: 600;
}
.table th button {
  color: inherit;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  display: inline-flex;
}
.table th button:hover {
  color: var(--ink);
}
.table th .ico {
  width: 14px;
  height: 14px;
}
.table td {
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  padding: 11px 14px;
  font-weight: 600;
}
.table tr:last-child td {
  border-bottom: 0;
}
.table tbody tr {
  cursor: default;
}
.table tbody tr.is-click {
  cursor: pointer;
}
.table tbody tr.is-click:hover td {
  background: var(--card-2);
}
.table tbody tr.is-click:hover td:first-child {
  border-radius: 12px 0 0 12px;
}
.table tbody tr.is-click:hover td:last-child {
  border-radius: 0 12px 12px 0;
}
.table .r {
  text-align: right;
}
.table td.muted {
  font-weight: 500;
}
.cell {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}
.cell__text {
  min-width: 0;
}
.cell__text b {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  display: block;
  overflow: hidden;
}
.cell__text small {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  display: block;
  overflow: hidden;
}
.level {
  background: var(--card-3);
  border-radius: 6px;
  min-width: 70px;
  height: 6px;
  position: relative;
  overflow: hidden;
}
.level i {
  border-radius: inherit;
  background: var(--good);
  transform-origin: 0;
  position: absolute;
  inset: 0;
}
.level.is-low i {
  background: var(--warn);
}
.level.is-out i {
  background: var(--bad);
}
.field {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}
.field > span {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  font-weight: 600;
}
.field small {
  color: var(--muted);
}
.field small.bad {
  color: var(--bad);
}
.input,
.select,
.textarea {
  background: var(--card);
  width: 100%;
  height: 42px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: var(--fs-base);
  border: 0;
  border-radius: 12px;
  padding: 0 13px;
  font-weight: 500;
}
.textarea {
  resize: vertical;
  height: auto;
  min-height: 96px;
  padding: 11px 13px;
  line-height: 1.5;
}
.input:focus,
.select:focus,
.textarea:focus {
  box-shadow:
    inset 0 0 0 1.5px var(--accent),
    0 0 0 4px var(--accent-soft);
}
.input.is-bad {
  box-shadow: inset 0 0 0 1.5px var(--bad);
}
.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    right 17px center,
    right 12px center;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 34px;
}
.inwrap {
  align-items: center;
  display: flex;
  position: relative;
}
.inwrap > .ico {
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  position: absolute;
  left: 12px;
}
.inwrap .input {
  padding-left: 38px;
}
.formgrid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}
.formgrid .span2 {
  grid-column: 1/-1;
}
.switch {
  background: var(--card-3);
  width: 42px;
  height: 24px;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 99px;
  flex: none;
  position: relative;
}
.switch i {
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 3px #00000040;
}
.switch[aria-checked="true"] {
  background: var(--accent);
  box-shadow: none;
}
.check {
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  background: var(--card);
  border-radius: 6px;
  flex: none;
  place-items: center;
  display: grid;
}
.check svg {
  stroke-width: 2.4px;
  opacity: 0;
  width: 14px;
  height: 14px;
}
.check[aria-checked="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.check[aria-checked="true"] svg {
  opacity: 1;
}
.row-set {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  display: flex;
}
.row-set:last-child {
  border-bottom: 0;
}
.row-set__text {
  flex: 1;
  min-width: 0;
}
.row-set__text b {
  font-weight: 600;
  display: block;
}
.row-set__text small {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.stepper {
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 11px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  display: inline-flex;
}
.stepper button {
  width: 28px;
  height: 28px;
  color: var(--ink);
  border-radius: 8px;
  place-items: center;
  display: grid;
}
.stepper button:hover {
  background: var(--card);
}
.stepper button svg {
  width: 15px;
  height: 15px;
}
.stepper button.is-add {
  background: var(--accent);
  color: var(--accent-ink);
}
.stepper output {
  text-align: center;
  min-width: 26px;
  font-weight: 700;
  font-size: var(--fs-md);
}
.empty {
  text-align: center;
  color: var(--muted);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 20px;
  display: flex;
}
.empty__icon {
  background: var(--card-2);
  width: 52px;
  height: 52px;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 16px;
  place-items: center;
  margin-bottom: 4px;
  display: grid;
}
.empty b {
  color: var(--ink);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.empty p {
  max-width: 36ch;
  font-size: var(--fs-sm);
}
.scrim {
  z-index: 60;
  background: #12141061;
  position: fixed;
  inset: 0;
}
.drawer {
  z-index: 61;
  background: var(--card);
  border-radius: var(--r-xl);
  width: min(480px, 100vw - 20px);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px var(--line);
  flex-direction: column;
  display: flex;
  position: fixed;
  top: 10px;
  bottom: 10px;
  right: 10px;
  overflow: hidden;
}
.drawer__head {
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  gap: 12px;
  padding: 20px 20px 14px 24px;
  display: flex;
}
.drawer__head h2 {
  font-size: var(--fs-3xl);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}
.drawer__head p {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-top: 4px;
}
.drawer__body {
  flex: 1;
  padding: 20px 24px 28px;
  overflow-y: auto;
}
.drawer__foot {
  border-top: 1px solid var(--line);
  background: var(--card);
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  display: flex;
}
.modal-wrap {
  z-index: 62;
  pointer-events: none;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}
.modal {
  pointer-events: auto;
  background: var(--card);
  border-radius: var(--r-xl);
  width: min(520px, 100%);
  max-height: calc(100dvh - 40px);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px var(--line);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}
.modal--wide {
  width: min(760px, 100%);
}
.modal__head {
  align-items: flex-start;
  gap: 12px;
  padding: 22px 22px 6px 24px;
  display: flex;
}
.modal__head h2 {
  font-size: var(--fs-2xl);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.modal__head p {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-top: 4px;
}
.modal__body {
  padding: 14px 24px 22px;
  overflow-y: auto;
}
.modal__foot {
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 22px 20px;
  display: flex;
}
.pop {
  z-index: 70;
  background: var(--card);
  min-width: 220px;
  max-width: calc(100vw - 20px);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px var(--line-2);
  border-radius: 16px;
  padding: 6px;
  position: fixed;
}
.menu__item {
  width: 100%;
  height: 38px;
  font-size: var(--fs-md);
  text-align: left;
  white-space: nowrap;
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-weight: 600;
  display: flex;
}
.menu__item:hover,
.menu__item:focus-visible {
  background: var(--card-2);
  outline: none;
}
.menu__item svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.menu__item .kbd {
  margin-left: auto;
}
.menu__item--danger,
.menu__item--danger svg {
  color: var(--bad);
}
.menu__sep {
  background: var(--line);
  height: 1px;
  margin: 6px 4px;
}
.menu__label {
  font-size: var(--fs-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px 4px;
  font-weight: 700;
}
.toasts {
  z-index: 80;
  pointer-events: none;
  flex-direction: column;
  gap: 8px;
  width: min(440px, 100vw - 24px);
  margin-left: max(-220px, 12px - 50vw);
  display: flex;
  position: fixed;
  bottom: 22px;
  left: 50%;
}
.toast {
  pointer-events: auto;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-md);
  border-radius: 15px;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  font-weight: 600;
  display: flex;
}
.toast > svg {
  color: #8fdcb1;
  width: 18px;
  height: 18px;
}
[data-theme="dark"] .toast > svg {
  color: var(--good);
}
.toast.is-warn > svg {
  color: #f0b860;
}
.toast span {
  flex: 1;
}
.toast button {
  height: 30px;
  font-weight: 700;
  font-size: var(--fs-sm);
  background: #ffffff24;
  border-radius: 9px;
  padding: 0 12px;
}
.float-up {
  z-index: 85;
  pointer-events: none;
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--good);
  white-space: nowrap;
  position: fixed;
}
.is-flash {
  animation: flash 1s var(--ease);
}
@keyframes flash {
  0% {
    color: var(--accent);
  }
  to {
    color: inherit;
  }
}
.finder {
  z-index: 75;
  background: var(--card);
  width: min(620px, 100vw - 24px);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px var(--line-2);
  border-radius: 22px;
  margin-left: max(-310px, 12px - 50vw);
  position: fixed;
  top: 12vh;
  left: 50%;
  overflow: hidden;
}
.finder__in {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 16px;
  display: flex;
}
.finder__in input {
  font-size: var(--fs-xl);
  background: 0 0;
  border: 0;
  flex: 1;
  min-width: 0;
  height: 100%;
  font-weight: 500;
}
.finder__in input:focus-visible {
  outline: none;
}
.finder__list {
  max-height: min(56vh, 460px);
  padding: 8px;
  overflow-y: auto;
}
.finder__group {
  font-size: var(--fs-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 10px 4px;
  font-weight: 700;
}
.finder__item {
  text-align: left;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  display: flex;
}
.finder__item[aria-selected="true"] {
  background: var(--card-2);
}
.finder__item .cell__text {
  flex: 1;
}
.finder__item > svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.finder__ico {
  background: var(--card-2);
  width: 36px;
  height: 36px;
  color: var(--ink-2);
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}
.finder__foot {
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted);
  gap: 14px;
  padding: 10px 16px;
  display: flex;
}
.notices {
  width: min(380px, 100vw - 20px);
  padding: 0;
  overflow: hidden;
}
.notices__head {
  align-items: center;
  padding: 14px 16px 10px;
  display: flex;
}
.notices__head b {
  font-size: var(--fs-lg);
  flex: 1;
  font-weight: 600;
}
.notices__list {
  max-height: 420px;
  padding: 0 6px 6px;
  overflow-y: auto;
}
.notice {
  text-align: left;
  border-radius: 12px;
  gap: 12px;
  width: 100%;
  padding: 10px;
  display: flex;
}
.notice:hover {
  background: var(--card-2);
}
.notice__ico {
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}
.notice__ico svg {
  width: 18px;
  height: 18px;
}
.notice__text {
  flex: 1;
  min-width: 0;
}
.notice__text b {
  font-size: var(--fs-md);
  font-weight: 600;
  display: block;
}
.notice__text p {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.notice__text small {
  color: var(--muted);
}
.notice.is-unread .notice__text b:after {
  content: "";
  background: var(--sig);
  vertical-align: middle;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  display: inline-block;
}
.signin {
  z-index: 95;
  background: var(--bg);
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}
.signin__card h1 {
  letter-spacing: -0.025em;
  font-size: 30px;
  font-weight: 600;
}
.signin__card > p {
  color: var(--muted);
  margin: 6px 0 26px;
}
.tabbar {
  display: none;
}
.formfoot {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  display: flex;
}
.keys .row-set {
  padding: 10px 0;
}
.charttip {
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow);
  border-radius: 10px;
  flex-direction: column;
  gap: 1px;
  padding: 7px 10px;
  display: flex;
  position: absolute;
  transform: translate(-50%);
}
.charttip b {
  font-size: var(--fs-md);
  font-weight: 700;
}
.charttip small {
  font-size: var(--fs-2xs);
  opacity: 0.75;
  font-weight: 600;
}
.bars {
  padding: 4px 0 26px 44px;
  position: relative;
}
.bars__grid {
  pointer-events: none;
  flex-direction: column;
  justify-content: space-between;
  display: flex;
  position: absolute;
  inset: 4px 0 26px;
}
.bars__grid div {
  border-top: 1px dashed var(--line-2);
  height: 0;
  position: relative;
}
.bars__grid div:last-child {
  border-top-style: solid;
  border-color: var(--line-2);
}
.bars__grid span {
  font-size: var(--fs-2xs);
  color: var(--muted);
  font-weight: 600;
  position: absolute;
  top: -8px;
  left: 0;
}
.bars__cols {
  align-items: stretch;
  gap: 6px;
  height: 100%;
  display: flex;
  position: relative;
}
.bars__col {
  flex-direction: column;
  flex: 1;
  align-items: center;
  min-width: 0;
  display: flex;
  position: relative;
}
.bars__track {
  flex: 1;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 46px;
  display: flex;
  position: relative;
}
.bars__bar,
.bars__ghost {
  transform-origin: 50% 100%;
  border-radius: 8px 8px 3px 3px;
  height: 100%;
  position: absolute;
  bottom: 0;
}
.bars__bar {
  background: var(--data);
  opacity: 0.9;
  left: 18%;
  right: 18%;
}
.bars__ghost {
  background: var(--card-3);
  left: 4%;
  right: 4%;
}
.bars__col.is-hi .bars__bar {
  opacity: 1;
  background: var(--data);
  box-shadow: 0 6px 14px -6px var(--data);
}
.bars__col:not(.is-hi) .bars__bar {
  background: color-mix(in oklab, var(--data) 62%, var(--card));
}
.bars__col.is-tip .bars__bar {
  background: var(--data);
}
.bars__label {
  max-width: 100%;
  font-size: var(--fs-2xs);
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
  position: absolute;
  bottom: -22px;
}
.bars__col.is-hi .bars__label {
  color: var(--sig-text);
  font-weight: 700;
}
.bars .charttip {
  left: 50%;
}
.bars--compact {
  padding-left: 0;
}
.bars--compact .bars__grid span {
  display: none;
}
.area {
  padding-left: 46px;
  position: relative;
}
.area__grid {
  pointer-events: none;
  flex-direction: column;
  justify-content: space-between;
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
}
.area__grid div {
  border-top: 1px dashed var(--line-2);
  height: 0;
  position: relative;
}
.area__grid div:last-child {
  border-top-style: solid;
}
.area__grid span {
  font-size: var(--fs-2xs);
  color: var(--muted);
  font-weight: 600;
  position: absolute;
  top: -8px;
  left: 0;
}
.area__svg {
  touch-action: pan-y;
  display: block;
  position: relative;
  overflow: visible;
}
.area__line {
  fill: none;
  stroke: var(--data);
  stroke-width: 2.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.area__cmp {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6px;
  stroke-dasharray: 4 5;
  opacity: 0.7;
}
.area__cursor {
  stroke: var(--line-2);
  stroke-width: 1px;
}
.area__dot {
  fill: var(--card);
  stroke: var(--data);
  stroke-width: 2.5px;
}
.area__x {
  height: 20px;
  position: absolute;
  bottom: 0;
  left: 46px;
  right: 0;
}
.area__x span {
  font-size: var(--fs-2xs);
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
  position: absolute;
  transform: translate(-50%);
}
.area__x span:first-child {
  transform: none;
}
.area__x span:last-child {
  transform: translate(-100%);
}
.area .charttip {
  transform: translate(-50%);
}
.heat {
  align-items: center;
  gap: 4px;
  display: grid;
}
.heat__col {
  text-align: center;
  font-size: var(--fs-2xs);
  color: var(--muted);
  font-weight: 600;
}
.heat__row {
  font-size: var(--fs-xs);
  color: var(--muted);
  padding-right: 8px;
  font-weight: 600;
}
.heat__cell {
  aspect-ratio: 1.5;
  position: relative;
}
.heat__cell i {
  border-radius: 6px;
  position: absolute;
  inset: 0;
}
.heat__cell.is-peak i {
  box-shadow:
    0 0 0 2px var(--card),
    0 0 0 4px var(--data);
}
.heat__cell .charttip {
  bottom: calc(100% + 6px);
  left: 50%;
}
.legend {
  font-size: var(--fs-sm);
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px 14px;
  font-weight: 600;
  display: flex;
}
.legend span {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}
.legend i {
  background: var(--accent);
  border-radius: 3px;
  width: 10px;
  height: 10px;
}
.legend i.is-ghost {
  background: var(--card-3);
}
.legend i.is-dash {
  border-top: 2px dashed var(--muted);
  border-radius: 0;
  width: 14px;
  height: 0;
}
.ink {
  color: var(--ink);
  font-weight: 600;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.steps li {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  min-width: 0;
  display: flex;
  position: relative;
}
.steps li:last-child {
  flex: none;
}
.steps__dot {
  z-index: 1;
  background: var(--card);
  width: 22px;
  height: 22px;
  box-shadow: inset 0 0 0 2px var(--line-2);
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: relative;
}
.steps__dot svg {
  stroke-width: 2.6px;
  width: 13px;
  height: 13px;
}
.steps li.is-done .steps__dot {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.steps li.is-now .steps__dot {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.steps li.is-now .steps__dot:after {
  content: "";
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  inset: 6px;
}
.steps li.is-now .steps__dot:before {
  content: "";
  background: var(--accent-soft);
  border-radius: 50%;
  animation: 2.2s ease-in-out infinite breathe-ring;
  position: absolute;
  inset: -5px;
}
@keyframes breathe-ring {
  0%,
  to {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
.steps__bar {
  background: var(--line-2);
  border-radius: 2px;
  height: 2px;
  position: absolute;
  top: 10px;
  left: 26px;
  right: 4px;
  overflow: hidden;
}
.steps__fill {
  background: var(--accent);
  transform-origin: 0;
  position: absolute;
  inset: 0;
}
.steps small {
  font-size: var(--fs-xs);
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 6px;
  font-weight: 600;
  overflow: hidden;
}
.steps li.is-done small,
.steps li.is-now small {
  color: var(--ink);
}
.steps--compact small {
  display: none;
}
.steps--compact .steps__dot {
  width: 16px;
  height: 16px;
}
.steps--compact .steps__dot svg {
  width: 10px;
  height: 10px;
}
.steps--compact .steps__bar {
  top: 7px;
  left: 19px;
}
.steps--compact li.is-now .steps__dot:after {
  inset: 4px;
}
.meter {
  background: var(--card-3);
  border-radius: 8px;
  height: 8px;
  display: block;
  position: relative;
  overflow: hidden;
}
.meter i {
  border-radius: inherit;
  background: var(--accent);
  transform-origin: 0;
  position: absolute;
  inset: 0;
}
.meter.is-warn i {
  background: var(--warn);
}
.meter.is-bad i {
  background: var(--bad);
}
.cattag {
  height: 26px;
  font-size: var(--fs-xs);
  white-space: nowrap;
  background: var(--cs);
  color: color-mix(in oklab, var(--cc) 64%, var(--ink));
  border-radius: 99px;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 8px;
  font-weight: 600;
  display: inline-flex;
}
.cattag svg {
  width: 14px;
  height: 14px;
}
.ring {
  flex: none;
  place-items: center;
  display: inline-grid;
  position: relative;
}
.ring svg {
  position: absolute;
  inset: 0;
}
.ring__track {
  fill: none;
  stroke: var(--card-3);
}
.ring__arc {
  fill: none;
  stroke: var(--data);
  stroke-linecap: round;
}
.ring__in {
  text-align: center;
  line-height: 1.1;
  position: relative;
}
.flow {
  padding-left: 52px;
  position: relative;
}
.flow__grid {
  pointer-events: none;
  flex-direction: column;
  justify-content: space-between;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.flow__grid div {
  border-top: 1px dashed var(--line-2);
  height: 0;
  position: relative;
}
.flow__grid div.is-zero {
  border-top: 1px solid var(--line-2);
}
.flow__grid span {
  font-size: var(--fs-2xs);
  color: var(--muted);
  font-weight: 600;
  position: absolute;
  top: -8px;
  left: 0;
}
.flow__cols {
  gap: 6px;
  display: flex;
  position: relative;
}
.flow__col {
  flex-direction: column;
  flex: 1;
  align-items: center;
  min-width: 0;
  display: flex;
  position: relative;
}
.flow__half {
  flex: 1;
  width: 100%;
  max-width: 38px;
  position: relative;
}
.flow__half i {
  position: absolute;
  left: 10%;
  right: 10%;
}
.flow__in {
  background: color-mix(in oklab, var(--data) 70%, var(--card));
  transform-origin: 50% 100%;
  border-radius: 7px 7px 2px 2px;
  top: 6px;
  bottom: 0;
}
.flow__out {
  background: color-mix(in oklab, var(--out) 62%, var(--card));
  transform-origin: 50% 0;
  border-radius: 2px 2px 7px 7px;
  top: 0;
  bottom: 6px;
}
.flow__col.is-hi .flow__in,
.flow__col.is-tip .flow__in {
  background: var(--accent);
}
.flow__col.is-hi .flow__out,
.flow__col.is-tip .flow__out {
  background: var(--out);
}
.flow__col:not(.is-hi) .flow__in {
  background-image: repeating-linear-gradient(
    135deg,
    #0000 0 5px,
    #ffffff24 5px 7px
  );
}
.flow__label {
  font-size: var(--fs-2xs);
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
  position: absolute;
  bottom: -22px;
}
.flow__col.is-hi .flow__label {
  color: var(--ink);
  font-weight: 700;
}
.flow__net {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}
.flow__net path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 0;
}
.flow .charttip {
  transform: translate(-50%);
}
.legend i.is-line {
  background: var(--ink);
  border-radius: 2px;
  width: 14px;
  height: 2px;
}
.split {
  gap: 3px;
  height: 12px;
  display: flex;
}
.split__seg {
  min-width: 6px;
  position: relative;
}
.split__seg i {
  transform-origin: 0;
  border-radius: 4px;
  position: absolute;
  inset: 0;
}
.formtotal {
  height: 42px;
  font-size: var(--fs-3xl);
  letter-spacing: -0.01em;
  align-items: center;
  font-weight: 600;
  display: flex;
}
.signin__card {
  text-align: left;
  width: min(400px, 100%);
}
.signin__date {
  text-align: center;
  margin-top: 18px;
  display: block;
}
.signin__fields {
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  display: flex;
}
.chev-btn svg {
  width: 16px;
  height: 16px;
}
.row-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  display: flex;
}
.amt {
  white-space: nowrap;
  font-weight: 600;
}
.stack {
  gap: var(--gap);
  flex-direction: column;
  min-width: 0;
  display: flex;
}
.dl {
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  margin: 0;
  display: grid;
}
.dl dt {
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.dl dd {
  text-align: right;
  margin: 0;
  font-weight: 600;
}
.section-label {
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 8px;
  font-weight: 700;
}
.section-label:first-child {
  margin-top: 0;
}
.sheet__grip {
  display: none;
}
.allpages__new {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
  display: grid;
}
.allpages__btn {
  background: var(--accent-soft);
  min-height: 64px;
  color: var(--accent-text);
  font-size: var(--fs-2xs);
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  display: flex;
}
.allpages__btn svg {
  width: 20px;
  height: 20px;
}
@media (width<=760px) {
  .sheet__grip {
    touch-action: none;
    cursor: grab;
    place-items: center;
    height: 22px;
    margin-bottom: -6px;
    display: grid;
  }
  .sheet__grip i {
    background: var(--line-2);
    border-radius: 5px;
    width: 40px;
    height: 5px;
  }
  .drawer__head,
  .modal__head {
    touch-action: none;
  }
  .drawer__head {
    padding-top: 10px;
  }
  .drawer__body,
  .modal__body {
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }
  .drawer__foot,
  .modal__foot {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .drawer__head h2 {
    font-size: var(--fs-2xl);
  }
  .drawer:focus-visible,
  .modal:focus-visible {
    outline: none;
  }
  .chead {
    flex-wrap: wrap;
  }
  .chead > .seg {
    order: 3;
    width: 100%;
  }
  .chead > .seg button {
    flex: 1;
    justify-content: center;
  }
  .phead__actions > .btn {
    flex: auto;
  }
  .kpis--3 {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 10px;
    margin: 0 -14px 16px;
    padding: 0 14px 4px;
    scroll-padding-inline: 14px;
    display: flex;
    overflow-x: auto;
  }
  .kpis--3::-webkit-scrollbar {
    display: none;
  }
  .kpis--3 .kpi {
    scroll-snap-align: start;
    flex: 0 0 76%;
  }
  .avstack > * + * {
    margin-left: -6px;
  }
}
@media (hover: none), (pointer: coarse) {
  .seg button {
    min-height: 40px;
  }
  .ibtn--sm {
    width: 40px;
    height: 40px;
  }
  .switch,
  .catpick,
  .tabs a {
    position: relative;
  }
  .switch:after {
    content: "";
    position: absolute;
    inset: -10px -4px;
  }
  .catpick:after {
    content: "";
    position: absolute;
    inset: -8px -4px;
  }
  .btn--sm {
    padding: 0 14px;
  }
}
@media (width<=760px) {
  .finder {
    top: calc(10px + env(safe-area-inset-top));
  }
  .finder__alt {
    display: none;
  }
  .finder__list {
    max-height: min(64dvh, 520px);
  }
}
@media (hover: none) {
  .finder__foot {
    display: none;
  }
}
@media (height<=500px) and (width<=1000px) {
  .tabbar {
    padding: 4px;
    bottom: 6px;
  }
  .tabbar a,
  .tabbar button {
    height: 44px;
  }
  .drawer,
  .modal {
    max-height: 96dvh;
  }
}
.toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  display: flex;
}
.toolbar .inwrap {
  flex: 240px;
  max-width: 360px;
}
.toolbar__spacer {
  flex: 1;
}
.live {
  background: var(--good);
  vertical-align: middle;
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  display: inline-block;
  position: relative;
}
.live:after {
  content: "";
  background: var(--good);
  opacity: 0.25;
  border-radius: 50%;
  animation: 2s ease-in-out infinite breathe;
  position: absolute;
  inset: -4px;
}
@keyframes breathe {
  0%,
  to {
    opacity: 0.1;
  }
  50% {
    opacity: 0.45;
  }
}
.av--staff {
  background: var(--h, var(--h0));
  color: var(--mono-ink);
}
.kpis--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.formfoot__total {
  color: var(--muted);
  align-self: center;
  margin-right: auto;
  font-weight: 600;
}
.formfoot__total b {
  color: var(--ink);
  font-size: var(--fs-xl);
  margin-left: 6px;
}
.linepick {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}
.linepick__row {
  grid-template-columns: minmax(0, 1fr) 76px 96px 34px;
  align-items: center;
  gap: 8px;
  width: 100%;
  display: grid;
}
.linepick__amt {
  text-align: right;
  font-weight: 600;
}
.feed {
  flex-direction: column;
  display: flex;
}
.feed__row {
  border-bottom: 1px solid var(--line);
  gap: 12px;
  padding: 10px 0;
  display: flex;
}
.feed__row:last-child {
  border-bottom: 0;
}
.feed__ico {
  background: var(--card-2);
  width: 32px;
  height: 32px;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}
.feed__ico svg {
  width: 16px;
  height: 16px;
}
.feed__text {
  flex: 1;
  min-width: 0;
}
.feed__text b {
  font-weight: 600;
  font-size: var(--fs-md);
  display: block;
}
.feed__text small {
  color: var(--muted);
}
.timeline {
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.timeline li {
  gap: 12px;
  padding: 0 0 16px;
  display: flex;
  position: relative;
}
.timeline li:before {
  content: "";
  background: var(--line-2);
  width: 2px;
  position: absolute;
  top: 16px;
  bottom: 0;
  left: 6px;
}
.timeline li:last-child:before {
  display: none;
}
.timeline li > i {
  z-index: 1;
  background: var(--card);
  width: 14px;
  height: 14px;
  box-shadow: inset 0 0 0 2px var(--line-2);
  border-radius: 50%;
  flex: none;
  margin-top: 3px;
  position: relative;
}
.timeline li.is-done > i {
  background: var(--accent);
  box-shadow: none;
}
.timeline li.is-now > i {
  box-shadow:
    inset 0 0 0 2px var(--accent),
    0 0 0 4px var(--accent-soft);
}
.timeline b {
  font-weight: 600;
  display: block;
}
.timeline small {
  color: var(--muted);
}
@media (width<=760px) {
  .linepick__row {
    grid-template-columns: minmax(0, 1fr) 64px 34px;
  }
  .linepick__amt {
    display: none;
  }
}
.m-only {
  display: none;
}
@media (width<=760px) {
  .m-only {
    display: inline;
  }
  .d-only,
  .table--stack thead {
    display: none;
  }
  .table--stack,
  .table--stack tbody {
    width: 100%;
    display: block;
  }
  .table--stack tr {
    border-bottom: 1px solid var(--line);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "main end" "sub tag";
    align-items: center;
    gap: 4px 12px;
    padding: 12px 16px;
    display: grid;
    position: relative;
  }
  .table--stack tr:last-child {
    border-bottom: 0;
  }
  .table--stack td {
    border: 0;
    min-width: 0;
    display: none;
    background: 0 0 !important;
    padding: 0 !important;
  }
  .table--stack td.m-main {
    grid-area: main;
    display: block;
  }
  .table--stack td.m-end {
    text-align: right;
    grid-area: end;
    display: block;
  }
  .table--stack td.m-sub {
    font-size: var(--fs-sm);
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
    grid-area: sub;
    font-weight: 500;
    display: block;
    overflow: hidden;
  }
  .table--stack td.m-tag {
    grid-area: tag;
    justify-self: end;
    display: block;
  }
  .table--stack td.m-act {
    grid-column: 1/-1;
    margin-top: 6px;
    display: block;
  }
  .table--stack td.m-label:before {
    content: attr(data-label) " · ";
  }
  .table--stack td.m-sub .cell__text > b {
    color: var(--ink-2);
    font-weight: 600;
    display: inline;
  }
  .table--stack td.m-sub .cell__text > small {
    font-size: inherit;
    display: inline;
  }
  .table--stack td.m-sub .cell__text > b + small:before {
    content: " · ";
  }
  .table--stack tr.is-click:active {
    background: var(--card-2);
  }
  .table--stack .cell__text b {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .bars__label {
    text-align: center;
    text-overflow: ellipsis;
    left: 0;
    right: 0;
    overflow: hidden;
  }
}
.page {
  min-width: 0;
}
.eyebrow {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 600;
  display: block;
}
.amt.is-in {
  color: var(--in-text);
}
.legend i.is-out {
  background: var(--out);
}
.split {
  height: 14px;
}
.split__seg i {
  border-radius: 5px;
}
.kpi__foot:has(.meter) {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.kpi__foot .meter {
  background: #1218261a;
}
[data-theme="dark"] .kpi__foot .meter {
  background: #ffffff1f;
}
.m-only-cell {
  display: none;
}
.av--sm {
  font-size: var(--fs-2xs);
}
@media (width<=1279px) {
  .wide-only {
    display: none !important;
  }
}
@media (width<=760px) {
  .toolbar {
    gap: 8px;
  }
  .toolbar .inwrap {
    flex: 100%;
    max-width: none;
  }
  .toolbar .select--sm,
  .select--sm {
    min-width: 0;
    height: 44px;
  }
  .toolbar > .chips,
  .chips.ichips,
  .srcchips,
  .acctchips,
  .builder__metrics {
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    flex-wrap: nowrap;
    margin-left: -14px;
    margin-right: -14px;
    padding: 2px 14px;
    scroll-padding-inline: 14px;
    overflow-x: auto;
  }
  .card .srcchips,
  .card .acctchips,
  .card .builder__metrics {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .toolbar > .chips::-webkit-scrollbar {
    display: none;
  }
  .srcchips::-webkit-scrollbar {
    display: none;
  }
  .acctchips::-webkit-scrollbar {
    display: none;
  }
  .builder__metrics::-webkit-scrollbar {
    display: none;
  }
  .ichips::-webkit-scrollbar {
    display: none;
  }
  .chips > .chip,
  .builder__metrics > .metric {
    flex: none;
  }
  .chip,
  .metric {
    min-height: 40px;
  }
  .tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), #0000);
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), #0000);
  }
  .tabs a {
    height: 44px;
  }
  .kpi__foot .spark {
    display: none;
  }
  .kpi__foot {
    flex-wrap: wrap;
  }
  .table--stack td.m-only-cell {
    font-size: var(--fs-sm);
    color: var(--muted);
    grid-column: 1/-1;
    font-weight: 500;
    display: block;
  }
  .m-only {
    display: inline;
  }
  .allpages__subs a {
    min-height: 40px;
  }
  .allpages__head {
    min-height: 48px;
  }
}
.card {
  background: var(--glass);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 var(--edge),
    inset 0 0 0 1px var(--rim),
    var(--shadow);
}
.card--well {
  background: var(--card-2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: inset 0 0 0 1px var(--line);
}
.kpi {
  background: var(--tile-1);
  box-shadow:
    inset 0 1px 0 var(--edge),
    inset 0 0 0 1px var(--rim),
    var(--shadow);
  border-radius: var(--r-lg);
}
.kpi--1 {
  background: var(--tile-1);
}
.kpi--2 {
  background: var(--tile-2);
}
.kpi--3 {
  background: var(--tile-3);
}
.kpi--4 {
  background: var(--tile-4);
}
.kpi--glass {
  background: var(--glass);
}
.card:before,
.kpi:before {
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(#ffffff57, #0000 38%);
  position: absolute;
  inset: 0;
}
.card > *,
.kpi > * {
  position: relative;
}
.ibtn {
  background: var(--card);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 6px 14px -10px #502e244d;
}
.ibtn:hover {
  background: var(--glass-hi);
}
.btn {
  background: var(--card);
}
.btn:hover {
  background: var(--glass-hi);
}
.btn--primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff59,
    0 10px 22px -10px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-hi);
}
.btn--ghost {
  background: 0 0;
}
.btn--dark {
  background: var(--ink);
}
.input,
.select,
.textarea {
  background: var(--card);
}
[data-theme="dark"] .input,
[data-theme="dark"] .select,
[data-theme="dark"] .textarea {
  background: #00000038;
}
.seg {
  background: var(--card-2);
}
.seg__thumb {
  background: var(--glass-hi);
}
[data-theme="dark"] .seg__thumb {
  background: #ffffff1f;
}
.seg--accent .seg__thumb {
  background: var(--accent);
}
.switch {
  background: var(--card-3);
}
.chip,
.kbd {
  background: var(--card-2);
}
.badge {
  background: var(--card-3);
}
.empty__icon {
  background: var(--card-2);
}
.drawer,
.modal,
.pop,
.finder {
  background: var(--glass-solid);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
  box-shadow:
    inset 0 1px 0 var(--edge),
    inset 0 0 0 1px var(--rim),
    var(--shadow-lg);
}
.drawer__foot {
  background: 0 0;
}
.scrim {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: #0a142833;
}
[data-theme="dark"] .scrim {
  background: #00000080;
}
.toast {
  color: #f6efec;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #1e1a19eb;
}
[data-theme="dark"] .toast {
  color: #1e1a19;
  background: #f4eeebf0;
}
.toast button {
  background: #ffffff24;
}
[data-theme="dark"] .toast button {
  background: #00000014;
}
.charttip {
  color: #f6efec;
  background: #1e1a19eb;
}
[data-theme="dark"] .charttip {
  color: #1e1a19;
  background: #f4eeebf2;
}
.area__dot {
  fill: var(--paper);
}
.av {
  color: var(--mono-ink);
}
.pthumb {
  width: 42px;
  height: 42px;
  color: var(--cc);
  background: var(--cs);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 13px;
  flex: none;
  place-items: center;
  display: grid;
  position: relative;
}
.pthumb svg {
  width: 20px;
  height: 20px;
}
.pthumb--sm {
  border-radius: 10px;
  width: 32px;
  height: 32px;
}
.pthumb--sm svg {
  width: 16px;
  height: 16px;
}
.pthumb--lg {
  border-radius: 18px;
  width: 64px;
  height: 64px;
}
.pthumb--lg svg {
  width: 30px;
  height: 30px;
}
.stars {
  color: #e0a020;
  gap: 1px;
  display: inline-flex;
}
.stars svg {
  fill: currentColor;
  stroke: none;
  width: 14px;
  height: 14px;
}
.stars .is-off {
  color: var(--card-3);
}
.grid2 {
  gap: var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
}
.grid3 {
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}
.toolbar .select--sm {
  width: auto;
  height: 40px;
}
@media (width<=1279px) {
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .side .collapse {
    display: none;
  }
  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width<=999px) {
  .content {
    padding: 4px 18px 40px 0;
  }
  .top {
    padding-right: 18px;
  }
  .top__new span {
    display: none;
  }
  .top__new {
    width: 42px;
    padding: 0;
  }
  .formgrid,
  .grid2,
  .grid3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .top__hello b {
    font-size: var(--fs-xl);
  }
}
@media (width<=760px) {
  :root {
    --gap: 12px;
  }
  .side {
    display: none;
  }
  .main,
  html.is-rail .main {
    margin-left: 0;
  }
  .content {
    padding: 0 14px calc(100px + env(safe-area-inset-bottom));
  }
  .top {
    padding: calc(10px + env(safe-area-inset-top)) 14px 6px;
  }
  .top.is-stuck {
    background: var(--glass-hi);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: 0 1px 0 var(--line);
  }
  .top__in {
    gap: 8px;
    min-height: 48px;
  }
  .top .top__menu {
    display: grid;
  }
  .top__brand {
    flex: none;
    display: flex;
  }
  .top__brand .mark {
    border-radius: 11px;
    width: 34px;
    height: 34px;
  }
  .top__brand .mark svg {
    width: 20px;
    height: 20px;
  }
  .top__hello {
    display: none;
  }
  .top__title {
    font-size: var(--fs-xl);
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    font-weight: 600;
    display: block;
    overflow: hidden;
  }
  .top__new {
    display: none;
  }
  .ibtn {
    width: 40px;
    height: 40px;
  }
  .tabbar {
    z-index: 40;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    background: var(--glass-hi);
    border-radius: 24px;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px;
    display: grid;
    position: fixed;
  }
  .tabbar a,
  .tabbar button {
    z-index: 1;
    height: 54px;
    font-size: var(--fs-2xs);
    color: var(--muted);
    border-radius: 18px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    display: flex;
    position: relative;
  }
  .tabbar [aria-current="page"] {
    color: #fff;
  }
  .tabbar__pill {
    background: var(--accent-grad);
    pointer-events: none;
    opacity: 0;
    position: absolute;
    inset: 0;
  }
  .phead {
    margin: 6px 0 16px;
  }
  .phead__actions {
    width: 100%;
  }
  .card {
    border-radius: 20px;
    padding: 16px;
  }
  .card--flush {
    padding: 0;
  }
  .card--flush .chead {
    padding: 14px 16px 0;
  }
  .kpi__value {
    font-size: 18px;
  }
  .kpi {
    min-height: 112px;
    padding: 14px 14px 12px;
  }
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }
  .drawer {
    border-radius: 26px 26px 0 0;
    width: 100%;
    max-height: 92dvh;
    inset: auto 0 0;
  }
  .modal-wrap {
    place-items: end stretch;
    padding: 0;
  }
  .modal {
    border-radius: 26px 26px 0 0;
    width: 100%;
    max-height: 92dvh;
  }
  .modal--wide {
    width: 100%;
  }
  .toasts {
    bottom: calc(96px + env(safe-area-inset-bottom));
  }
  .steps small {
    font-size: var(--fs-2xs);
  }
}
@media (hover: none), (pointer: coarse) {
  .linkbtn,
  .check {
    position: relative;
  }
  .linkbtn {
    align-items: center;
    min-height: 24px;
    display: inline-flex;
  }
  .linkbtn:after {
    content: "";
    position: absolute;
    inset: -12px -8px;
  }
  .check {
    width: 24px;
    height: 24px;
  }
  .check:after {
    content: "";
    position: absolute;
    inset: -11px;
  }
  .btn--sm,
  .chip {
    min-height: 40px;
  }
  .stepper button {
    width: 36px;
    height: 36px;
  }
  .menu__item {
    height: 44px;
  }
  .snav__item {
    min-height: 44px;
  }
}
@media (height<=860px) and (width>=761px) {
  .snav__item {
    height: 35px;
  }
  .side__group {
    padding-top: 4px;
  }
  .side__foot {
    gap: 6px;
    padding-top: 6px;
  }
  .side__me {
    padding: 6px;
  }
}
@media (height<=640px) and (width>=761px) {
  .snav__item {
    height: 34px;
  }
  .side {
    gap: 8px;
    padding-top: 12px;
  }
  .side__group {
    padding-top: 4px;
  }
  .top {
    position: relative;
  }
}
@media (height<=500px) and (width<=1000px) {
  .tabbar {
    padding: 4px;
    bottom: 6px;
  }
  .tabbar a,
  .tabbar button {
    height: 44px;
  }
  .drawer,
  .modal {
    max-height: 96dvh;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  :before,
  :after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
.dhead {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}
.dhead__fig {
  font-size: var(--fs-3xl);
  letter-spacing: -0.01em;
  font-weight: 600;
}
.dsec {
  margin: 4px 0 20px;
}
.dnote {
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 10px 12px;
  display: flex;
}
.dlines {
  flex-direction: column;
  display: flex;
}
.dline {
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  margin: 0 -8px;
  padding: 10px 8px;
  display: flex;
}
.dline:hover {
  background: var(--card-2);
}
.dline .cell__text {
  flex: 1;
  min-width: 0;
}
.dline > b {
  white-space: nowrap;
  font-weight: 600;
}
.dsum {
  border-top: 1px dashed var(--line-2);
  margin-top: 10px;
  padding-top: 12px;
}
.dsum dt.ink,
.dsum dd.ink {
  font-size: var(--fs-lg);
}
.codepill {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: var(--fs-2xs);
  letter-spacing: 0.04em;
  border-radius: 6px;
  margin-left: 6px;
  padding: 1px 7px;
  font-weight: 700;
  display: inline-block;
}
.dcust {
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  display: flex;
}
.dcust .cell__text {
  flex: 1;
  min-width: 0;
}
.dprod {
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  display: flex;
}
.dprod p {
  font-size: var(--fs-sm);
  margin: 2px 0 8px;
}
.dquote {
  font-size: var(--fs-lg);
  color: var(--ink-2);
  margin-bottom: 16px;
  font-weight: 500;
}
.dstats {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 6px;
  display: grid;
}
.dstats > div {
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 14px;
  padding: 12px;
}
.dstats small {
  color: var(--muted);
  font-weight: 600;
  display: block;
}
.dstats b {
  font-size: var(--fs-3xl);
  letter-spacing: -0.01em;
  font-weight: 600;
}
.dsmall {
  font-size: var(--fs-sm);
  margin-top: 8px;
}
.dreview {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.dreview p {
  margin: 4px 0;
}
.linepick__row--inv {
  grid-template-columns: minmax(0, 1fr) auto 90px 34px;
}
.input--code {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px #0000000f,
    0 14px 30px -20px #00000059;
}
.paper .muted {
  color: #6a615d;
}
.paper__head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  display: flex;
}
.paper__head > div {
  flex-direction: column;
  gap: 4px;
  display: flex;
}
.paper__head .mark {
  border-radius: 10px;
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}
.paper__head .mark svg {
  width: 18px;
  height: 18px;
}
.paper__head small {
  color: #6a615d;
  max-width: 26ch;
  font-weight: 600;
}
.paper__head .r {
  text-align: right;
  align-items: flex-end;
}
.paper__head .pill {
  margin-top: 2px;
}
.paper__to {
  border-top: 1px solid #00000014;
  border-bottom: 1px solid #00000014;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
  padding: 12px 0;
  display: flex;
}
.paper__to small {
  color: #6a615d;
  font-weight: 600;
}
.paper__to span {
  color: #4a423f;
  font-size: var(--fs-sm);
}
.paper__lines {
  border-collapse: collapse;
  width: 100%;
}
.paper__lines td {
  vertical-align: top;
  border-bottom: 1px solid #0000000f;
  padding: 10px 0;
  font-weight: 600;
}
.paper__lines td small {
  color: #6a615d;
  font-weight: 500;
  display: block;
}
.paper__lines .r {
  text-align: right;
  white-space: nowrap;
}
.paper__total {
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  display: flex;
}
.paper__total b {
  font-size: var(--fs-3xl);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.stamp {
  border: 3px solid var(--stamp);
  color: var(--stamp);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 26px;
  font-weight: 700;
  animation: 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both stamp-in;
  position: absolute;
  top: 150px;
  right: 26px;
  transform: rotate(-12deg);
}
@keyframes stamp-in {
  0% {
    opacity: 0;
    transform: rotate(-12deg) scale(2.2);
  }
  to {
    opacity: 0.82;
    transform: rotate(-12deg) scale(1);
  }
}
.bg {
  background:
    radial-gradient(
      120% 80% at 0% 0%,
      color-mix(in oklab, var(--bg) 70%, #cfe3ff),
      transparent 60%
    ),
    radial-gradient(
      100% 70% at 100% 100%,
      color-mix(in oklab, var(--bg) 80%, #ffe9c9),
      transparent 60%
    ),
    var(--bg);
}
[data-theme="dark"] .bg {
  background:
    radial-gradient(120% 90% at 10% 0%, #0b1a33, transparent 60%), var(--bg);
}
.card,
.kpi,
.metric,
.lane {
  position: relative;
}
.glass:after,
.card:after,
.kpi:after,
.drawer:after,
.modal:after,
.pop:after,
.finder:after {
  content: "";
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    140deg,
    var(--edge) 0%,
    var(--edge-2) 32%,
    transparent 52%,
    var(--edge-2) 74%,
    color-mix(in oklab, var(--edge) 70%, transparent) 100%
  );
  -webkit-mask-composite: xor;
  padding: 1px;
  position: absolute;
  inset: 0;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor, source-over;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
}
.card,
.kpi,
.glass {
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, var(--edge) 60%, transparent),
    var(--shadow);
}
.card:before,
.kpi:before {
  background: linear-gradient(#ffffff6b, #ffffff14 22%, #0000 45%);
}
[data-theme="dark"] .card:before,
[data-theme="dark"] .kpi:before {
  background: linear-gradient(#ffffff12, #0000 40%);
}
.card,
.kpi {
  border-radius: var(--r-lg);
}
.side {
  background: var(--glass-hi);
  border-radius: 30px;
}
.drawer,
.modal {
  border-radius: var(--r-xl);
}
.pop {
  border-radius: 20px;
}
.finder {
  border-radius: 24px;
}
.toast {
  border-radius: 99px;
  padding-left: 18px;
}
.toast button,
.snav__item {
  border-radius: 99px;
}
.snav__item:hover {
  background: var(--card-2);
}
.side__search,
.side__me {
  border-radius: 99px;
}
.side__me {
  padding: 6px 12px 6px 6px;
}
.side .collapse {
  border-radius: 50%;
}
.btn {
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    inset 0 1px 0 color-mix(in oklab, var(--edge) 50%, transparent);
  border-radius: 99px;
  padding: 0 18px;
}
.btn--primary {
  box-shadow:
    inset 0 1px 0 #ffffff59,
    0 10px 22px -10px var(--accent-glow);
}
.btn--ghost {
  box-shadow: none;
}
.btn--sm {
  border-radius: 99px;
  padding: 0 14px;
}
.btn--lg {
  border-radius: 99px;
}
.ibtn {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow:
    inset 0 0 0 1px var(--rim),
    inset 0 1px 0 var(--edge),
    0 8px 18px -12px #0f1e3c59;
  border-radius: 50%;
}
.ibtn--flat {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  background: 0 0;
}
.ibtn--sm {
  border-radius: 50%;
}
.drawer .ibtn,
.modal .ibtn,
.pop .ibtn {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.glass-btn {
  border-radius: 50%;
}
.chip {
  border-radius: 99px;
  padding: 0 14px;
}
.input,
.select,
.textarea {
  border-radius: 14px;
}
.inwrap .input,
.side__search {
  border-radius: 99px;
}
.textarea {
  border-radius: 16px;
}
.pager__n {
  border-radius: 50%;
}
.seg {
  box-shadow: inset 0 0 0 1px var(--line);
  background: #78829624;
  border-radius: 99px;
  padding: 3px;
}
[data-theme="dark"] .seg {
  background: #ffffff14;
}
.seg button {
  border-radius: 99px;
  padding: 0 14px;
}
.seg__thumb {
  filter: drop-shadow(0 2px 6px #0f1e3c24);
  background: #fff;
}
[data-theme="dark"] .seg__thumb {
  filter: none;
  background: #fff3;
}
.switch {
  width: 46px;
  height: 28px;
  box-shadow: none;
  background: #78829647;
}
.switch i {
  width: 24px;
  height: 24px;
  top: 2px;
  left: 2px;
  box-shadow:
    0 2px 6px #00000038,
    0 0 0 0.5px #0000000a;
}
.switch[aria-checked="true"] {
  background: var(--on);
}
.check {
  border-radius: 50%;
}
.check[aria-checked="true"] {
  background: var(--accent);
}
@media (width<=760px) {
  .tabbar {
    border-radius: 99px;
    padding: 6px;
  }
  .tabbar a,
  .tabbar button {
    border-radius: 99px;
  }
  .tabbar:after {
    content: "";
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
      140deg,
      var(--edge),
      var(--edge-2) 35%,
      transparent 55%,
      var(--edge-2) 80%
    );
    -webkit-mask-composite: xor;
    padding: 1px;
    position: absolute;
    inset: 0;
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor, source-over;
    mask:
      linear-gradient(#000 0 0) content-box exclude,
      linear-gradient(#000 0 0);
  }
  .card {
    border-radius: 24px;
  }
}
.pill {
  border-radius: 99px;
}
.pill--good {
  background: var(--good-soft);
  color: var(--good);
}
:root {
  --glass: #fff6;
  --glass-hi: #ffffff80;
  --card: #ffffff80;
  --card-2: #ffffff57;
  --blur: blur(30px) saturate(200%);
  --glow:
    inset 0 0 0 1px #ffffff59, inset 0 1px 0 #fffffff2,
    inset 0 -1px 0 #ffffff40, inset 0 18px 30px -24px #ffffffe6;
  --grain: url(textures/grain.png);
  --wall: linear-gradient(140deg, #dce8f8 0%, #edf2f9 45%, #e2f1ee 100%);
  --orb-1: radial-gradient(
    circle at 32% 28%,
    #b9dcff 0%,
    #3b93ff 34%,
    #0a5ad6 68%,
    #06378f 100%
  );
  --orb-2: radial-gradient(
    circle at 30% 28%,
    #fff1cf 0%,
    #ffbf4d 40%,
    #f2861d 78%,
    #c2580b 100%
  );
  --orb-3: radial-gradient(
    circle at 34% 30%,
    #dcfbff 0%,
    #5fd6ec 38%,
    #129cb6 76%,
    #0a6b86 100%
  );
  --orb-4: radial-gradient(
    circle at 34% 30%,
    #e1fff0 0%,
    #6fe3ae 42%,
    #1fae79 80%,
    #127a55 100%
  );
  --orb-5: radial-gradient(
    circle at 30% 26%,
    #fff 0%,
    #eef4fb 30%,
    #c9d6e6 70%,
    #9fb2c9 100%
  );
  --orb-shadow: 0 40px 80px -30px #0a285a59;
}
[data-theme="dark"] {
  --glass: #ffffff12;
  --glass-hi: #ffffff1a;
  --card: #ffffff17;
  --card-2: #ffffff0d;
  --blur: blur(30px) saturate(170%) brightness(0.92);
  --glow:
    inset 0 0 0 1px #ffffff14, inset 0 1px 0 #ffffff38,
    inset 0 18px 30px -24px #ffffff2e;
  --wall: linear-gradient(140deg, #050b17 0%, #04070d 55%, #03100f 100%);
  --orb-1: radial-gradient(
    circle at 32% 28%,
    #6fb2ff 0%,
    #1471f0 34%,
    #0a3f9e 68%,
    #041d52 100%
  );
  --orb-2: radial-gradient(
    circle at 30% 28%,
    #ffd98a 0%,
    #e8932a 42%,
    #a2520c 80%,
    #5a2c05 100%
  );
  --orb-3: radial-gradient(
    circle at 34% 30%,
    #9cefff 0%,
    #23b3cf 40%,
    #0b6d86 78%,
    #04384a 100%
  );
  --orb-4: radial-gradient(
    circle at 34% 30%,
    #a6f5cf 0%,
    #2fbf85 42%,
    #137a55 80%,
    #073d2b 100%
  );
  --orb-5: radial-gradient(
    circle at 30% 26%,
    #e6edf7 0%,
    #93a3b9 35%,
    #4b5a70 75%,
    #222b38 100%
  );
  --orb-shadow: 0 40px 90px -30px #000c;
}
.bg,
[data-theme="dark"] .bg {
  background: var(--wall);
}
.bg i {
  box-shadow: var(--orb-shadow);
  border-radius: 50%;
  position: absolute;
}
.bg i:first-child {
  background: var(--orb-1);
  width: 540px;
  height: 540px;
  inset: 36% auto auto -150px;
}
.bg i:nth-child(2) {
  background: var(--orb-2);
  width: 300px;
  height: 300px;
  inset: -70px 7% auto auto;
}
.bg i:nth-child(3) {
  background: var(--orb-3);
  width: 460px;
  height: 460px;
  inset: auto -120px -140px auto;
}
.bg i:nth-child(4) {
  background: var(--orb-4);
  width: 200px;
  height: 200px;
  inset: auto auto 7% 46%;
}
.bg i:nth-child(5) {
  background: var(--orb-5);
  width: 150px;
  height: 150px;
  top: 9%;
  left: 31%;
}
[data-theme="dark"] .bg i:nth-child(2) {
  opacity: 0.8;
}
@media (width<=760px) {
  .bg i:first-child {
    width: 320px;
    height: 320px;
    top: 40%;
    left: -120px;
  }
  .bg i:nth-child(2) {
    width: 180px;
    height: 180px;
    top: 60px;
    right: -40px;
  }
  .bg i:nth-child(3) {
    width: 280px;
    height: 280px;
    bottom: -60px;
    right: -110px;
  }
  .bg i:nth-child(4) {
    width: 120px;
    height: 120px;
    bottom: 14%;
    left: 20%;
  }
  .bg i:nth-child(5) {
    width: 90px;
    height: 90px;
    top: 34%;
    left: 58%;
  }
}
.card,
.kpi,
.glass,
.side,
.tabbar,
.lane {
  background-image: var(--grain);
  background-blend-mode: soft-light;
  box-shadow: var(--glow), var(--shadow);
  background-size: 128px;
}
.card {
  background-color: var(--glass);
}
.card--well {
  background-image: none;
  background-color: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.side,
.tabbar {
  background-color: var(--glass-hi);
}
.kpi--1 {
  background-color: var(--tile-1);
}
.kpi--2 {
  background-color: var(--tile-2);
}
.kpi--3 {
  background-color: var(--tile-3);
}
.kpi--4 {
  background-color: var(--tile-4);
}
.kpi {
  background-color: var(--tile-1);
}
.glass.metric,
.lane {
  background-color: var(--glass);
}
.drawer,
.modal,
.pop,
.finder {
  box-shadow: var(--glow), var(--shadow-lg);
}
.ibtn:not(.ibtn--flat) {
  box-shadow:
    var(--glow),
    0 8px 18px -12px #0f1e3c59;
}
.ocard {
  box-shadow:
    var(--glow),
    0 8px 18px -14px #0f1e3c4d;
  background: #ffffff80;
}
[data-theme="dark"] .ocard {
  background: #ffffff12;
}
:root {
  --muted: #3f4757;
  --glass: #ffffff70;
  --accent-grad: linear-gradient(180deg, #1c87ff, #0062d6);
}
[data-theme="dark"] {
  --glass: #10141e75;
  --glass-hi: #1216218f;
  --card: #ffffff14;
  --blur: blur(30px) saturate(160%) brightness(0.62);
  --muted: #a7b1c2;
  --accent-grad: linear-gradient(180deg, #2b8fff, #0a6fe0);
}
[data-theme="dark"] .kpi {
  --tile-1: #0a46966b;
  --tile-2: #823e1a66;
  --tile-3: #0e644c6b;
  --tile-4: #78560e6b;
}
.bg i:nth-child(5) {
  top: 54%;
  left: 60%;
}
[data-theme="dark"] {
  --accent-grad: linear-gradient(180deg, #1478ea, #005ccc);
  --blur: blur(30px) saturate(150%) brightness(0.5);
  --glass: #0e121b80;
}
.snav__item[aria-current="page"] .snav__count {
  color: #fff;
  background: #00143c47;
}
:root {
  --accent-grad: linear-gradient(180deg, #066cdf, #0056c2);
}
[data-theme="dark"] {
  --muted: #b6bfcd;
  --accent-grad: linear-gradient(180deg, #0d6ad6, #0056c2);
}
@media (width<=760px) {
  .bg i:nth-child(2) {
    top: auto;
    bottom: 34%;
    right: -70px;
  }
  .bg i:nth-child(5) {
    top: 72%;
    left: 64%;
  }
}
