/**
 * Copyright 2026 Cubesob Demo Template.
 * Theme Name: Tifol
 * Theme Type: E-commerce Store
 * 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: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gap: 18px;
  --maxw: 1480px;
  --bg: #f7f6f2;
  --card: #fdfdfb;
  --card-2: #f0efea;
  --card-3: #e5e4de;
  --ink: #161a19;
  --ink-2: #353b3a;
  --muted: #5f6665;
  --line: #161a1914;
  --line-2: #161a1926;
  --shadow: 0 1px 2px #161a190a, 0 10px 26px -18px #161a1938;
  --shadow-lg: 0 2px 6px #161a1912, 0 28px 60px -24px #161a1952;
  --accent: #0b7a73;
  --accent-ink: #fff;
  --accent-hi: #08665f;
  --accent-soft: #0b7a731a;
  --accent-text: #08665f;
  --sig: #0b7a73;
  --sig-text: #08665f;
  --sig-soft: #0b7a731c;
  --data: #0b7a73;
  --now: #e2603a;
  --gold: #f08a5d;
  --gold-soft: #f08a5d33;
  --rim: #161a1924;
  --good: #1e7548;
  --warn: #8a5600;
  --bad: #b42318;
  --info: #2c5d87;
  --good-soft: #1e75481c;
  --warn-soft: #d696142b;
  --bad-soft: #b4231817;
  --info-soft: #2c5d871a;
  --tile-1: #ffe2d1;
  --tile-2: #d8ecee;
  --tile-3: #fbeaa8;
  --tile-4: #e9e8e3;
  --tile-ink: #161a19;
  --tile-muted: #161a19a8;
  --t1: #f6e6db;
  --t2: #e1ece8;
  --t3: #f6edd0;
  --t4: #f6e3e1;
  --t5: #ebeae5;
  --t6: #dfeaf0;
  --mono-ink: #17181c;
  --on-photo: #fff;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #111514;
  --card: #191e1d;
  --card-2: #151a19;
  --card-3: #262c2b;
  --ink: #eef1f0;
  --ink-2: #d1d6d5;
  --muted: #9fa8a6;
  --line: #eef1f014;
  --line-2: #eef1f029;
  --shadow: 0 1px 2px #0000004d, 0 12px 30px -16px #0009;
  --shadow-lg: 0 2px 6px #0006, 0 30px 70px -24px #000c;
  --accent: #3cc2b5;
  --accent-ink: #05201d;
  --accent-hi: #5fd3c7;
  --accent-soft: #3cc2b521;
  --accent-text: #6fd6cb;
  --sig: #3cc2b5;
  --sig-text: #6fd6cb;
  --sig-soft: #3cc2b526;
  --data: #3cc2b5;
  --now: #f08a5d;
  --gold: #f4a07a;
  --gold-soft: #f4a07a29;
  --rim: #ffffff29;
  --good: #6fcb95;
  --warn: #e8b85e;
  --bad: #f38a7e;
  --info: #8fb9e0;
  --good-soft: #6fcb9524;
  --warn-soft: #e8b85e24;
  --bad-soft: #f38a7e24;
  --info-soft: #8fb9e021;
  --tile-1: #3a2a21;
  --tile-2: #1b2f30;
  --tile-3: #353019;
  --tile-4: #222726;
  --tile-ink: #eef1f0;
  --tile-muted: #eef1f0ad;
  --t1: #2a2521;
  --t2: #1f2826;
  --t3: #2b2719;
  --t4: #2c2322;
  --t5: #252725;
  --t6: #1e262b;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}
.tint-1 {
  background: var(--t1);
}
.tint-2 {
  background: var(--t2);
}
.tint-3 {
  background: var(--t3);
}
.tint-4 {
  background: var(--t4);
}
.tint-5 {
  background: var(--t5);
}
.tint-6 {
  background: var(--t6);
}
*,
: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;
}
html.is-record:not(.is-started) .app {
  visibility: hidden;
}
.app {
  grid-template-columns: var(--side-w) minmax(0, 1fr);
  --side-w: 252px;
  min-height: 100dvh;
  display: grid;
}
.col {
  flex-direction: column;
  min-width: 0;
  display: flex;
}
.main {
  width: 100%;
  max-width: calc(var(--maxw) + 64px);
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin: 0 auto;
  padding: 4px 32px 56px;
  display: flex;
}
.view {
  flex: 1;
  min-width: 0;
}
html,
body,
.main {
  overflow-x: clip;
}
.brand {
  align-items: center;
  gap: 10px;
  display: inline-flex;
}
.brand b {
  letter-spacing: -0.02em;
  font-size: 21px;
  font-weight: 700;
}
.brand b u {
  text-decoration: none;
  position: relative;
}
.brand b u:after {
  content: "";
  background: var(--accent);
  border-radius: 3px;
  height: 3px;
  position: absolute;
  bottom: -5px;
  left: -2px;
  right: -2px;
}
.brand--sm b {
  font-size: var(--fs-xl);
}
.mark {
  background: var(--accent);
  width: 36px;
  height: 36px;
  color: var(--accent-ink);
  box-shadow: 0 8px 16px -10px var(--accent);
  border-radius: 11px;
  flex: none;
  place-items: center;
  display: grid;
}
.mark svg {
  stroke-width: 2px;
  width: 21px;
  height: 21px;
}
.mark--lg {
  border-radius: 16px;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
}
.mark--lg svg {
  width: 28px;
  height: 28px;
}
.side {
  z-index: 31;
  background: var(--bg);
  border-right: 1px solid var(--line);
  scrollbar-width: none;
  flex-direction: column;
  gap: 6px;
  height: 100dvh;
  padding: 26px 18px 18px;
  display: flex;
  position: sticky;
  top: 0;
  overflow-y: auto;
}
.side::-webkit-scrollbar {
  display: none;
}
.side > .brand {
  margin-bottom: 30px;
  padding: 0 8px;
}
.snav {
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  display: flex;
  position: relative;
}
.snav__pill {
  background: var(--accent);
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(
    0 8px 12px color-mix(in oklab, var(--accent) 30%, transparent)
  );
  position: absolute;
  inset: 0;
}
.snav__item {
  z-index: 1;
  height: 46px;
  font-size: var(--fs-md);
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-weight: 600;
  display: flex;
  position: relative;
}
.snav__item:hover {
  color: var(--ink);
  background: var(--card-2);
}
.snav__item[aria-current="page"] {
  color: var(--accent-ink);
  background: 0 0;
}
.snav__item > .ico {
  width: 19px;
  height: 19px;
  color: var(--muted);
}
.snav__item[aria-current="page"] > .ico {
  color: currentColor;
}
.snav__label {
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}
.snav__item[aria-current="page"] .nav__count {
  background: var(--accent-ink);
  color: var(--accent);
}
.nav__count {
  min-width: 20px;
  height: 20px;
  font-size: var(--fs-2xs);
  background: var(--accent-soft);
  color: var(--accent-text);
  border-radius: 99px;
  place-items: center;
  padding: 0 6px;
  font-weight: 700;
  display: inline-grid;
}
.side__group {
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 2px;
  padding: 16px 0 14px;
  display: flex;
}
.side__head {
  font-size: var(--fs-xs);
  color: var(--muted);
  padding: 0 14px 8px;
  font-weight: 600;
}
.side__head b {
  color: var(--ink);
  margin-left: 2px;
  font-weight: 700;
}
.side__quick {
  height: 38px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-align: left;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-weight: 600;
  display: flex;
}
.side__quick:hover {
  background: var(--card-2);
  color: var(--ink);
}
.side__plus {
  background: var(--card);
  width: 26px;
  height: 26px;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: 8px;
  flex: none;
  place-items: center;
  display: grid;
}
.side__order {
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 14px;
  display: flex;
}
.side__order:hover {
  background: var(--card-2);
}
.side__thumb {
  border-radius: 9px;
  flex: none;
  width: 32px;
  height: 32px;
}
.side__thumb .photo__miss {
  font-size: 0;
}
.side__otext {
  min-width: 0;
  line-height: 1.25;
}
.side__otext b {
  font-size: var(--fs-sm);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  display: block;
  overflow: hidden;
}
.side__otext small {
  font-size: var(--fs-2xs);
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
  display: block;
}
.side__all {
  font-size: var(--fs-xs);
  color: var(--muted);
  padding: 6px 14px 0;
  font-weight: 600;
}
.side__all:hover {
  color: var(--accent-text);
}
.side__foot {
  background: var(--bg);
  flex-direction: column;
  gap: 2px;
  margin: auto -18px -18px;
  padding: 12px 18px 18px;
  display: flex;
  position: sticky;
  bottom: -18px;
}
@media (height<=860px) and (width>=761px) {
  .side__group--orders {
    display: none;
  }
}
.side__link {
  height: 40px;
  font-size: var(--fs-md);
  color: var(--ink-2);
  text-align: left;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-weight: 600;
  display: flex;
}
.side__link:hover {
  background: var(--card-2);
  color: var(--ink);
}
.side__link .ico {
  width: 19px;
  height: 19px;
  color: var(--muted);
}
.top {
  z-index: 30;
  background: var(--bg);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 0 32px;
  display: grid;
  position: sticky;
  top: 0;
}
.top:after {
  content: "";
  background: var(--line);
  opacity: 0;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.top.is-stuck:after {
  opacity: 1;
}
.top__left {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}
.top__right {
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}
.top .top__menu,
.top__brand,
.top__title {
  display: none;
}
.figure {
  align-items: center;
  gap: 12px;
  display: flex;
}
.figure > b {
  font-size: var(--fs-display);
  letter-spacing: -0.03em;
  min-width: 1.2ch;
  font-weight: 600;
  line-height: 1;
}
.figure > span {
  border-left: 1px solid var(--line-2);
  flex-direction: column;
  padding-left: 12px;
  line-height: 1.2;
  display: flex;
}
.figure > span > span {
  font-size: var(--fs-md);
  font-weight: 600;
}
.figure small {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 500;
}
.sides {
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 99px;
  flex: none;
  padding: 5px;
  display: inline-flex;
  position: relative;
}
.sides__thumb {
  background: var(--card);
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 1px 1px #161a190f) drop-shadow(0 6px 12px #161a191a);
  position: absolute;
  inset: 0;
}
[data-theme="dark"] .sides__thumb {
  background: var(--card-3);
  filter: none;
}
.sides a {
  z-index: 1;
  height: 40px;
  font-size: var(--fs-md);
  color: var(--muted);
  border-radius: 99px;
  align-items: center;
  padding: 0 22px;
  font-weight: 600;
  display: inline-flex;
  position: relative;
}
.sides a:hover,
.sides a[aria-current] {
  color: var(--ink);
}
.cartpill {
  background: var(--card);
  height: 46px;
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow);
  font-size: var(--fs-md);
  color: var(--ink);
  border-radius: 99px;
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 16px;
  font-weight: 600;
  display: inline-flex;
  position: relative;
}
.cartpill:hover {
  background: var(--card-2);
}
.cartpill > .ico {
  width: 18px;
  height: 18px;
}
.cartpill__label {
  padding-right: 6px;
}
.cartpill__pics {
  display: flex;
}
.cartpill__pic {
  width: 30px;
  height: 30px;
  box-shadow: 0 0 0 2px var(--card);
  border-radius: 50%;
}
.cartpill__pic + .cartpill__pic {
  margin-left: -9px;
}
.cartpill__pic .photo__miss {
  font-size: 0;
}
.cartpill .ibtn__badge {
  top: -4px;
  right: -2px;
}
.cartpill:not(:has(.cartpill__pics)) {
  padding-right: 18px;
}
.me {
  text-align: left;
  color: var(--ink);
  border-radius: 99px;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  display: flex;
}
.me:hover {
  background: var(--card-2);
}
.me .av {
  width: 40px;
  height: 40px;
}
.me__name {
  font-size: var(--fs-md);
  white-space: nowrap;
  font-weight: 600;
}
.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: 14px;
  display: flex;
}
.allpages__sides {
  display: flex;
}
.allpages__sides button {
  flex: 1;
  justify-content: center;
  height: 40px;
}
.allpages__list {
  flex-direction: column;
  gap: 2px;
  display: flex;
}
.allpages__area {
  border-radius: 14px;
}
.allpages__area.is-on {
  background: var(--card-2);
}
.allpages__head {
  min-height: 52px;
  font-weight: 600;
  font-size: var(--fs-lg);
  -webkit-tap-highlight-color: transparent;
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  display: flex;
}
.allpages__head:active {
  background: var(--card-2);
}
.allpages__head b {
  flex: 1;
  font-weight: 600;
}
.allpages__head > svg {
  color: var(--muted);
  flex: none;
}
.allpages__ico {
  background: var(--card-2);
  width: 34px;
  height: 34px;
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}
.allpages__area.is-on .allpages__ico {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.allpages__subs {
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  gap: 6px;
  padding: 0 10px 12px 56px;
  scroll-padding-inline: 56px;
  display: flex;
  overflow-x: auto;
}
.allpages__subs::-webkit-scrollbar {
  display: none;
}
.allpages__subs a {
  background: var(--card);
  height: 36px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: 10px;
  flex: none;
  align-items: center;
  padding: 0 14px;
  font-weight: 600;
  display: inline-flex;
}
.allpages__subs a[aria-current="page"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.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--plain {
  background: var(--card-2);
  color: var(--ink);
}
.crumbs {
  min-width: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  display: flex;
}
.crumbs a:hover {
  color: var(--ink);
}
.crumbs b {
  color: var(--ink);
  text-overflow: ellipsis;
  font-weight: 600;
  overflow: hidden;
}
.crumbs svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.top .top__menu {
  display: none;
}
.top__spacer {
  flex: 1;
}
.top__title {
  display: none;
}
.searchpill {
  background: var(--card);
  width: min(380px, 28vw);
  height: 44px;
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow);
  color: var(--muted);
  font-size: var(--fs-md);
  border-radius: 99px;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
  padding: 0 8px 0 14px;
  font-weight: 500;
  display: flex;
}
.searchpill:hover {
  color: var(--ink);
}
.searchpill > span:not(.kbd) {
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}
.searchpill .kbd {
  border-radius: 99px;
}
.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: 44px;
  height: 44px;
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow);
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
  position: relative;
}
.ibtn:hover {
  background: var(--card-2);
}
.ibtn--flat {
  box-shadow: none;
  background: 0 0;
  border-radius: 12px;
}
.ibtn--flat:hover {
  background: var(--card-2);
}
.ibtn--sm {
  border-radius: 10px;
  width: 34px;
  height: 34px;
}
.ibtn--lg {
  width: 52px;
  height: 52px;
}
.ibtn__badge {
  background: var(--accent);
  min-width: 18px;
  height: 18px;
  color: var(--accent-ink);
  box-shadow: 0 0 0 2px var(--bg);
  border-radius: 99px;
  place-items: center;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  position: absolute;
  top: 2px;
  right: 0;
}
.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:hover {
  background: var(--card-2);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 16px -8px var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hi);
}
.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--1 {
  background: var(--tile-1);
}
.kpi--2 {
  background: var(--tile-2);
}
.kpi--3 {
  background: var(--tile-3);
}
.kpi--4 {
  background: var(--tile-4);
}
.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--good {
  background: var(--good-soft);
  color: var(--good);
}
.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: 10px;
}
.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;
}
.thumb--cover img {
  object-fit: cover;
  padding: 0;
}
.thumb--sm {
  border-radius: 8px;
  width: 30px;
  height: 30px;
}
.thumb--lg {
  border-radius: 14px;
  width: 56px;
  height: 56px;
}
.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;
}
[data-theme="dark"] .seg__thumb {
  background: var(--card-3);
}
.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 .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;
}
[data-theme="dark"] .scrim {
  background: #0000008c;
}
.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;
}
[data-theme="dark"] .toast button {
  background: #0000001a;
}
.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) 78%, 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 {
  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-out {
  background: var(--out);
}
.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;
}
.amt.is-in {
  color: var(--good);
}
.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;
}
@media (width<=1279px) {
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .me__name,
  .cartpill__label {
    display: none;
  }
  .me {
    padding: 4px;
  }
  .figure > b {
    font-size: var(--fs-4xl);
  }
}
@media (width<=1099px) {
  .app {
    --side-w: 80px;
  }
  .side {
    align-items: center;
    padding: 22px 12px 16px;
  }
  .side > .brand {
    margin-bottom: 24px;
    padding: 0;
  }
  .side > .brand b,
  .snav__label,
  .snav .nav__count,
  .side__group,
  .side__link span {
    display: none;
  }
  .snav {
    width: 100%;
  }
  .snav__item {
    justify-content: center;
    padding: 0;
  }
  .side__foot {
    width: auto;
    margin: auto -12px -16px;
    padding: 12px 12px 16px;
  }
  .side__link {
    justify-content: center;
    gap: 0;
    padding: 0;
    font-size: 0;
  }
  .figure > b {
    font-size: var(--fs-3xl);
  }
  .sides a {
    padding: 0 16px;
  }
}
@media (width<=999px) {
  .main {
    padding: 4px 18px 44px;
  }
  .top {
    min-height: 72px;
    padding: 0 18px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
}
@media (width<=760px) {
  :root {
    --gap: 12px;
  }
  .app {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    display: none;
  }
  :root {
    --tab-gap: max(8px, calc(env(safe-area-inset-bottom) - 14px));
  }
  .main {
    padding: 4px 14px calc(var(--tab-gap) + 92px);
  }
  .top {
    padding: 0 10px 0 6px;
    padding-top: env(safe-area-inset-top);
    gap: 6px;
    min-height: 60px;
    display: flex;
  }
  .top__left {
    flex: 1;
    gap: 6px;
  }
  .top > .sides,
  .me,
  .top__new,
  .figure {
    display: none !important;
  }
  .top .top__menu,
  .top__brand {
    display: inline-flex;
  }
  .top__brand .mark {
    width: 34px;
    height: 34px;
  }
  .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;
  }
  .ibtn {
    width: 40px;
    height: 40px;
  }
  .cartpill {
    width: 40px;
    height: 40px;
    box-shadow: none;
    background: 0 0;
    justify-content: center;
    padding: 0;
  }
  .cartpill__pics {
    display: none;
  }
  .tabbar {
    z-index: 40;
    left: 10px;
    right: 10px;
    bottom: var(--tab-gap);
    background: var(--card);
    box-shadow:
      var(--shadow-lg),
      inset 0 0 0 1px var(--line-2);
    border-radius: 22px;
    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);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    transition:
      color 0.2s,
      transform 0.18s ease-out;
    display: flex;
    position: relative;
  }
  .tabbar a:active,
  .tabbar button:active {
    transform: scale(0.92);
  }
  .tabbar .ibtn__badge {
    box-shadow: 0 0 0 2px var(--card);
    top: 4px;
    right: calc(50% - 22px);
  }
  .tabbar .is-on {
    color: var(--accent-ink);
  }
  .tabbar .is-on .ibtn__badge {
    background: var(--accent-ink);
    color: var(--accent);
  }
  .tabbar__pill {
    background: var(--accent);
    pointer-events: none;
    width: calc(20% - 2.4px);
    transform: translateX(calc(var(--i, 0) * 100%));
    will-change: transform;
    border-radius: 16px;
    transition: transform 0.34s cubic-bezier(0.25, 1.1, 0.4, 1);
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
  }
  .phead {
    margin: 6px 0 16px;
  }
  .phead__actions {
    width: 100%;
  }
  .card {
    border-radius: 18px;
    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;
  }
  .kpi__foot .spark {
    width: 56px;
    height: 26px;
    position: absolute;
    top: 40px;
    right: 12px;
  }
  .kpi__foot {
    align-items: center;
  }
  .kpi__note {
    min-width: 0;
    line-height: 1.25;
  }
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }
  .drawer {
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-height: 92dvh;
    inset: auto 0 0;
  }
  .modal-wrap {
    place-items: end stretch;
    padding: 0;
  }
  .modal {
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-height: 92dvh;
  }
  .modal--wide {
    width: 100%;
  }
  .toasts {
    bottom: calc(var(--tab-gap) + 82px);
  }
  .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;
  }
}
@media (height<=620px) and (width>=761px) {
  .top {
    min-height: 66px;
  }
  .snav__item {
    height: 38px;
  }
  .side > .brand {
    margin-bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  :before,
  :after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
.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) {
  .top {
    padding-top: calc(10px + env(safe-area-inset-top));
  }
  .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;
  }
  .nav__item {
    min-height: 44px;
  }
  .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;
  }
  .tabbar__pill {
    width: calc(20% - 1.6px);
    top: 4px;
    bottom: 4px;
    left: 4px;
  }
  .drawer,
  .modal {
    max-height: 96dvh;
  }
}
.photo {
  background: var(--card-2);
  display: block;
  position: relative;
  overflow: hidden;
}
.photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.photo--contain img {
  object-fit: contain;
}
.photo__miss {
  text-align: center;
  font-size: var(--fs-2xs);
  color: var(--muted);
  word-break: break-all;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px;
  font-weight: 600;
  line-height: 1.25;
  display: flex;
  position: absolute;
  inset: 0;
}
.photo__miss .ico {
  opacity: 0.55;
}
.adv-tip {
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}
.adv-tip .ico {
  color: var(--accent);
  flex: none;
}
.advtag {
  background: var(--accent-soft);
  height: 20px;
  color: var(--accent-text);
  font-size: var(--fs-2xs);
  vertical-align: middle;
  border-radius: 99px;
  align-items: center;
  gap: 4px;
  padding: 0 7px 0 5px;
  font-weight: 700;
  display: inline-flex;
}
.advtag .ico {
  width: 13px;
  height: 13px;
}
.co-line__pic {
  border-radius: 10px;
  flex: none;
  width: 44px;
  height: 55px;
}
.select--sm {
  width: auto;
  min-width: 82px;
  height: 36px;
  font-size: var(--fs-md);
  border-radius: 10px;
}
.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;
}
.thumb {
  background: var(--card-2);
  border-radius: 11px;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
  overflow: hidden;
}
.thumb img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  padding: 3px;
}
.thumb--xl {
  aspect-ratio: 1;
  border-radius: 16px;
  width: 100%;
  height: auto;
}
.thumb--xl img {
  padding: 12%;
}
.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;
  }
}
.kpis--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.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:not(:has(> td.m-sub)) {
    grid-template-areas: "main end" "main tag";
  }
  .table--stack td.m-one .cell__text small {
    display: none;
  }
  .table--stack tr:has(> td.m-one) > td.m-sub {
    padding-left: 36px !important;
  }
  .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;
  }
}
