@charset "UTF-8";
:root {
  --bg-0: #07070C;
  --bg-1: #0B0B14;
  --bg-2: #11121C;
  --ink-0: #F5F5FA;
  --ink-1: #E2E2EA;
  --ink-2: #A6A6B5;
  --ink-3: #7E7E8F;
  --ink-4: #3F3F4F;
  --line-1: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  --line-3: rgba(255, 255, 255, 0.18);
  --alt-orange: #FA6800;
  --alt-pink: #FF9EF9;
  --alt-grad: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  --env-all: #FA6800;
  --env-onchain: #FA6800;
  --env-cex: #FF9EF9;
  --env-bolsa: #38BDF8;
  --pos: #34d399;
  --neg: #fb7185;
  --warn: #fbbf24;
  --info: #38bdf8;
  --f-display: DM Sans, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: DM Mono, ui-monospace, SF Mono, Cascadia Mono, monospace;
  --f-serif: Instrument Serif, ui-serif, Georgia, serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
}

[lang="pt-BR"], html {
  font-feature-settings: "tnum", "zero", "ss01";
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local("DM Sans"), url("../fonts/dm-sans.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("DM Mono"), url("../fonts/dm-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("DM Mono"), url("../fonts/dm-mono-500.woff2") format("woff2");
}

body {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.t-display {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
}

.t-mono {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-feature-settings: "tnum","zero";
}

.t-serif {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  letter-spacing: -0.01em;
}

.muted {
  color: #A6A6B5;
}

.dim {
  color: #7E7E8F;
}

.pos {
  color: #34d399;
}

.neg {
  color: #fb7185;
}

.warn {
  color: #fbbf24;
}

.up::before {
  content: "▲ ";
  font-size: 0.7em;
}

.down::before {
  content: "▼ ";
  font-size: 0.7em;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.uc {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.k {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7E7E8F;
}

.wordmark {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 17px;
}

.wordmark .alt {
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wordmark .folio {
  color: #F5F5FA;
}

body {
  background: #07070C;
  color: #E2E2EA;
  overflow-x: hidden;
  overflow-y: auto;
}

.atmo {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(900px 600px at 8% -10%, rgba(250, 104, 0, 0.1), transparent 60%), radial-gradient(800px 500px at 100% 10%, rgba(255, 158, 249, 0.07), transparent 65%), radial-gradient(1000px 700px at 50% 110%, rgba(56, 189, 248, 0.05), transparent 60%), #07070C;
}

.atmo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(900px 700px at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(900px 700px at 50% 30%, black 30%, transparent 70%);
  opacity: 0.5;
}

.bg-mark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: 0.04;
}

.bg-mark svg {
  width: 80vmin;
  height: 80vmin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.12);
}

::-webkit-scrollbar-track {
  background: transparent;
}

.app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 232px 1fr;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
}

.col-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.scroll-y {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: visible;
  overflow-x: hidden;
}

.sb {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  padding: 22px 18px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
}

.sb__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}

.sb__logo .pill {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: #7E7E8F;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 4px;
  text-transform: uppercase;
}

.sb__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #7E7E8F;
  margin-bottom: 18px;
}

.sb__search input {
  background: transparent;
  border: 0;
  outline: 0;
  color: #E2E2EA;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  width: 100%;
}

.sb__search .kbd {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  color: #7E7E8F;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}

.sb__search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(13, 13, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.7);
}

.sb__search-results:empty {
  display: none;
}

.search-results__list {
  list-style: none;
  margin: 0;
  padding: 6px;
}

.search-results__item form {
  margin: 0;
}

.search-results__row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.search-results__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: #E2E2EA;
  text-decoration: none;
}

.search-results__btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.search-results__name {
  font-size: 13px;
  line-height: 1.2;
}

.search-results__meta {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  color: #7E7E8F;
}

.search-results__empty {
  padding: 12px;
  font-size: 12px;
  color: #7E7E8F;
}

.combobox {
  position: relative;
  width: 100%;
}

.combobox-display {
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #E2E2EA;
  font-size: 13px;
  outline: none;
}

.combobox-display:focus {
  border-color: rgba(250, 104, 0, 0.6);
}

.form-grid .combobox-display {
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: #F5F5FA;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
}

.form-grid .combobox-display:focus {
  border-color: rgba(250, 104, 0, 0.55);
  background: rgba(250, 104, 0, 0.06);
  box-shadow: 0 0 0 4px rgba(250, 104, 0, 0.1);
}

.combobox-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(13, 13, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.7);
  max-height: 240px;
  overflow-y: auto;
}

.combobox-results:empty {
  display: none;
}

.combobox-list {
  list-style: none;
  margin: 0;
  padding: 4px;
}

.combobox-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: #E2E2EA;
}

.combobox-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.combobox-item__name {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 13px;
  line-height: 1.2;
}

.combobox-item__meta {
  font-size: 10.5px;
  color: #7E7E8F;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.combobox-empty {
  padding: 10px;
  font-size: 12px;
  color: #7E7E8F;
}

.select-combo {
  position: relative;
  width: 100%;
}

.select-combo__display {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: #F5F5FA;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.select-combo__display:hover {
  border-color: rgba(250, 104, 0, 0.4);
}

.select-combo.is-open .select-combo__display, .select-combo__display:focus {
  border-color: rgba(250, 104, 0, 0.55);
  background: rgba(250, 104, 0, 0.06);
  box-shadow: 0 0 0 4px rgba(250, 104, 0, 0.1);
}

.select-combo__label.is-placeholder {
  color: #7E7E8F;
}

.select-combo__chev {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid #7E7E8F;
  border-bottom: 1.5px solid #7E7E8F;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s;
  flex-shrink: 0;
}

.select-combo.is-open .select-combo__chev {
  transform: rotate(-135deg) translateY(-2px);
}

.select-combo__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 4px;
  background: rgba(13, 13, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.7);
  max-height: 280px;
  overflow-y: auto;
}

.select-combo__list li {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #E2E2EA;
  cursor: pointer;
}

.select-combo__list li:hover {
  background: rgba(255, 255, 255, 0.05);
}

.select-combo__list li[aria-selected="true"] {
  background: rgba(250, 104, 0, 0.1);
  color: #F5F5FA;
}

.select-combo__list li.select-combo__group {
  padding: 8px 10px 4px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7E7E8F;
  cursor: default;
}

.select-combo__list li.select-combo__group:hover {
  background: none;
}

.select-combo__list li[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}

.select-combo__list li[aria-disabled="true"]:hover {
  background: none;
}

.select-combo--compact .select-combo__display {
  padding: 7px 10px;
  font-size: 13px;
  border-radius: 8px;
}

.expand-panel {
  padding: 14px 4px 4px;
}

.expand-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.expand-panel__header h4 {
  margin: 0;
  font-size: 14px;
  color: #E2E2EA;
}

.sb__group {
  margin-bottom: 18px;
}

.sb__group-title {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7E7E8F;
  padding: 0 6px;
  margin-bottom: 8px;
}

.sb__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #A6A6B5;
  cursor: pointer;
  font-size: 13.5px;
  transition: background .15s, color .15s;
}

.sb__item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #E2E2EA;
}

.sb__item.is-active {
  background: linear-gradient(90deg, rgba(250, 104, 0, 0.12), rgba(250, 104, 0, 0));
  color: #F5F5FA;
}

.sb__item.is-active::before {
  content: "";
  width: 3px;
  height: 16px;
  background: #FA6800;
  border-radius: 2px;
  margin-left: -10px;
  margin-right: 7px;
}

.sb__item .ico {
  width: 16px;
  height: 16px;
  color: currentColor;
  opacity: 0.9;
}

.sb__item .count {
  margin-left: auto;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  color: #7E7E8F;
}

.sb__client {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.sb__client .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}

.sb__client .row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sb__client .av {
  flex: 0 0 auto;
  width: 6px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
}

.sb__client .name {
  font-size: 13.5px;
  line-height: 1.1;
}

.sb__client .sub {
  font-size: 11px;
  color: #7E7E8F;
  margin-top: 2px;
}

.sb__client .row > form {
  margin-left: auto;
}

.sb__client .row > form .chev {
  margin-left: 0;
}

.sb__client .chev {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #7E7E8F;
  background: none;
  border: 0;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sb__client .chev:hover {
  color: #E2E2EA;
  background: rgba(255, 255, 255, 0.07);
}

.tb {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px 0 26px;
}

.tb__id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tb__id h1 {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.tb__spacer {
  flex: 1;
}

.tb__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tb__tools .iconbtn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  color: #A6A6B5;
  cursor: pointer;
}

.tb__tools .iconbtn:hover {
  color: #F5F5FA;
  border-color: rgba(255, 255, 255, 0.18);
}

.tb__tools .ccy {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.tb__tools .ccy button, .tb__tools .ccy a {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  line-height: 1;
  color: #7E7E8F;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.tb__tools .ccy button:hover, .tb__tools .ccy a:hover {
  color: #E2E2EA;
}

.tb__tools .ccy button.on, .tb__tools .ccy a.on {
  background: rgba(255, 255, 255, 0.08);
  color: #F5F5FA;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.tb__tools .lastup {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: flex-end;
  font-size: 10.5px;
  color: #7E7E8F;
}

.tb__tools .lastup b {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  color: #E2E2EA;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11.5px;
  color: #A6A6B5;
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FA6800;
}

.chip.chip-impersonation {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
}

@media (max-width: 900px) {
  .app {
    grid-template-columns: 1fr;
  }
  .sb {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    transform: translateX(-100%);
    transition: transform .25s ease;
    background: #0B0B14;
    z-index: 50;
  }
  .sb.is-open {
    transform: translateX(0);
  }
}

.env-rail {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 18px 26px 0 26px;
  flex-wrap: wrap;
}

.env-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: #A6A6B5;
  min-width: 0;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.env-tab .swatch {
  width: 8px;
  height: 26px;
  border-radius: 3px;
  background: var(--c, #FA6800);
  box-shadow: 0 0 16px var(--c, #FA6800);
}

.env-tab .lbl {
  font-size: 13px;
  line-height: 1.05;
  text-align: left;
}

.env-tab .lbl b {
  display: block;
  color: #F5F5FA;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.env-tab .lbl span {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  color: #7E7E8F;
  letter-spacing: 0.02em;
}

.env-tab.is-active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border-color: var(--c, #FA6800);
  box-shadow: 0 0 0 1px var(--c, #FA6800) inset, 0 30px 60px -40px var(--c, #FA6800);
}

.env-tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: var(--c, #FA6800);
  border-radius: 2px 2px 0 0;
}

.env-tab:hover {
  color: #E2E2EA;
  border-color: rgba(255, 255, 255, 0.18);
}

.env-tab .stale-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fb7185;
  box-shadow: 0 0 8px rgba(251, 113, 133, 0.65);
  animation: stale-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes stale-dot-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@media (max-width: 600px) {
  .env-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .env-tab {
    flex: 0 0 auto;
  }
}

.subtabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 14px;
}

.subtabs button,
.subtabs a {
  padding: 12px 14px;
  color: #7E7E8F;
  font-size: 13px;
  position: relative;
  text-decoration: none;
}

.subtabs button.on,
.subtabs a.on {
  color: #F5F5FA;
}

.subtabs button.on::after,
.subtabs a.on::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--c, #FA6800);
  border-radius: 2px;
}

.subtabs button:hover,
.subtabs a:hover {
  color: #E2E2EA;
}

.subtabs .grow {
  flex: 1;
}

.subtabs .right {
  display: flex;
  gap: 6px;
  padding-right: 0;
  align-items: center;
}

.cube-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  perspective: 2400px;
  perspective-origin: 50% 30%;
}

.cube {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 900ms cubic-bezier(0.83, 0, 0.17, 1);
  will-change: transform;
}

.cube-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.cube-face .pad {
  position: absolute;
  inset: 0;
  padding: 22px 26px 26px 26px;
  overflow-y: auto;
  overflow-x: hidden;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  position: relative;
}

.glass.elev {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.card {
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.card.padless {
  padding: 0;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-head h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0;
  color: #F5F5FA;
}

.card-head .seg {
  display: inline-flex;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.25);
}

.card-head .seg button, .card-head .seg a {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  line-height: 1;
  color: #7E7E8F;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.card-head .seg button:hover, .card-head .seg a:hover {
  color: #E2E2EA;
}

.card-head .seg button.on, .card-head .seg a.on {
  background: rgba(250, 104, 0, 0.18);
  color: #FA6800;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kpi {
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.kpi .lbl {
  font-size: 10.5px;
  color: #7E7E8F;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kpi .val {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: #F5F5FA;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

.kpi .val .small {
  font-size: 13px;
  color: #7E7E8F;
  margin-left: 4px;
}

.kpi .delta {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
}

.kpi .spark {
  position: absolute;
  right: 14px;
  top: 14px;
  opacity: 0.95;
}

.kpi.accent::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 60%, var(--c, #FA6800) 100%);
  opacity: 0.2;
  border-radius: inherit;
}

@media (max-width: 600px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stack-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.stack-bar > span {
  display: block;
  height: 100%;
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend .it {
  display: grid;
  grid-template-columns: 14px 1fr auto auto;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.legend .it .sw {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c);
}

.legend .it .pct {
  color: #7E7E8F;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  width: 56px;
  text-align: right;
}

.legend .it .val {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  color: #E2E2EA;
  text-align: right;
}

.legend.legend--compact .it {
  grid-template-columns: 1fr auto auto;
}

.tag {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  color: #A6A6B5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

.tag.pos {
  background: rgba(74, 222, 128, 0.1);
  color: #34d399;
  border-color: rgba(74, 222, 128, 0.25);
}

.tag.neg {
  background: rgba(251, 113, 133, 0.1);
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.25);
}

.tag.spot {
  background: rgba(34, 211, 238, 0.08);
  color: #22D3EE;
  border-color: rgba(34, 211, 238, 0.25);
}

.tag.fut {
  background: rgba(255, 122, 89, 0.08);
  color: #FFA38A;
  border-color: rgba(255, 122, 89, 0.25);
}

.tag.margin {
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.25);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #34d399;
  opacity: 0.4;
  animation: pulse 1.6s infinite ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.accounts-panel {
  overflow: visible;
}

.accounts-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accounts-panel .card-head.compact {
  margin-bottom: 8px;
}

.accounts-limit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  color: #7E7E8F;
}

.accounts-limit__bar {
  width: 92px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.accounts-limit__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.account-form-grid[data-account-type="onchain"] .field-cex,
.account-form-grid[data-account-type="onchain"] .field-bolsa {
  display: none;
}

.account-form-grid[data-account-type="onchain"][data-onchain-mode="address"] .field-onchain-manual {
  display: none;
}

.account-form-grid[data-account-type="onchain"][data-onchain-mode="manual"] .field-onchain-address {
  display: none;
}

.account-form-grid[data-account-type="exchange_cripto"] .field-onchain {
  display: none;
}

.account-form-grid[data-account-type="exchange_cripto"] .field-bolsa:not(.field-cex) {
  display: none;
}

.account-form-grid[data-account-type="bolsa"] .field-onchain {
  display: none;
}

.account-form-grid[data-account-type="bolsa"] .field-cex:not(.field-bolsa) {
  display: none;
}

.account-form-grid .field {
  margin: 0;
}

.account-form-grid .field > span:first-child {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  color: #A6A6B5;
}

.account-form-grid .span-2 {
  grid-column: 1 / -1;
}

.account-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.modal-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-form-head strong {
  display: block;
  color: #F5F5FA;
  font-size: 15px;
  margin-bottom: 4px;
}

.modal-form-head span {
  display: block;
  color: #7E7E8F;
  font-size: 12.5px;
}

.accounts-notice {
  margin: 14px 20px 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.24);
  background: rgba(52, 211, 153, 0.07);
  color: #E2E2EA;
  font-size: 12px;
}

.accounts-notice.error {
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.07);
  color: #fb7185;
}

.accounts-table .account-label {
  color: #F5F5FA;
  margin-bottom: 4px;
}

.accounts-table .account-row {
  cursor: pointer;
}

.accounts-table .account-row > td {
  transition: box-shadow 160ms ease;
}

.accounts-table .account-row.is-open {
  background: linear-gradient(90deg, rgba(250, 104, 0, 0.16) 0%, rgba(250, 104, 0, 0.05) 45%, rgba(255, 255, 255, 0) 100%);
}

.accounts-table .account-row.is-open > td {
  background: transparent;
}

.accounts-table .account-row.is-open:hover > td {
  background: transparent;
}

.accounts-table .account-row.is-open > td:first-child {
  box-shadow: inset 3px 0 0 0 #FA6800;
}

.accounts-table .account-row.is-open .account-label {
  color: #F5F5FA;
  font-weight: 600;
}

.accounts-table .account-row.is-open + .account-positions-row > td {
  box-shadow: inset 3px 0 0 0 #FA6800;
}

.accounts-table .danger {
  color: #fb7185;
}

.accounts-table .danger:hover {
  color: #fff;
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.12);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  color: #A6A6B5;
  background: rgba(255, 255, 255, 0.03);
}

.status-pill.ok {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.06);
}

.status-pill.warm {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(251, 191, 36, 0.07);
}

.status-pill.stale {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.24);
  background: rgba(251, 113, 133, 0.07);
}

.status-pill.dim {
  margin-left: 5px;
}

.accounts-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  color: #A6A6B5;
  font-size: 13px;
}

.accounts-empty__icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #1a0a00;
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  font-weight: 700;
}

.account-positions-row td {
  padding: 0;
  background: rgba(255, 255, 255, 0.01);
}

.account-positions-row:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.positions-panel {
  margin: 0;
  padding: 0 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.positions-panel.collapsed {
  display: none;
}

.positions-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.positions-panel__head strong {
  color: #F5F5FA;
  font-size: 12.5px;
  margin-right: 8px;
}

.explorer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0 12px;
}

.explorer-links a.tag {
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.explorer-links a.tag:hover {
  background: rgba(250, 104, 0, 0.18);
  color: #FA6800;
}

.explorer-links.app-links {
  padding-top: 0;
}

.tag--octav {
  background: rgba(250, 104, 0, 0.14);
  color: #FA6800;
  border-color: rgba(250, 104, 0, 0.35);
}

.evm-asset > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.evm-asset > summary::-webkit-details-marker {
  display: none;
}

.evm-asset > summary::before {
  content: "▸";
  color: #7E7E8F;
  font-size: 9px;
  transition: transform 120ms ease;
  display: inline-block;
}

.evm-asset[open] > summary::before {
  transform: rotate(90deg);
}

.evm-asset[open] > summary strong {
  color: #F5F5FA;
}

.positions-table tbody tr > td:first-child {
  transition: box-shadow 160ms ease;
}

.positions-table tbody tr:has(.evm-asset[open]) > td:first-child {
  box-shadow: inset 3px 0 0 0 #FA6800;
}

.evm-chain-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 4px 14px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.evm-chain-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: #A6A6B5;
}

.account-toggle {
  transition: transform 150ms ease;
}

.account-toggle.is-open {
  transform: rotate(180deg);
}

.position-add {
  position: relative;
}

.position-add summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.position-add summary::-webkit-details-marker {
  display: none;
}

.position-add form {
  position: absolute;
  z-index: 6;
  right: 0;
  top: calc(100% + 10px);
  width: 780px;
  max-width: calc(100vw - 64px);
  max-height: 72vh;
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(13, 13, 20, 0.98);
  box-shadow: 0 30px 80px -34px rgba(0, 0, 0, 0.8);
}

.position-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.position-form-grid .field {
  margin: 0;
}

.position-form-grid .field > span:first-child {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  color: #A6A6B5;
}

.position-form-grid .checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #A6A6B5;
  font-size: 12px;
  padding-bottom: 13px;
}

.positions-table {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.positions-empty {
  padding: 14px 0 4px;
  color: #A6A6B5;
  font-size: 12.5px;
}

@media (max-width: 760px) {
  .accounts-panel__head {
    flex-direction: column;
  }
  .account-add,
.account-add summary {
    width: 100%;
  }
  .account-add form {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 10px;
  }
  .account-form-grid {
    grid-template-columns: 1fr;
  }
  .account-form-grid .span-2 {
    grid-column: auto;
  }
  .positions-panel__head {
    align-items: flex-start;
    flex-direction: column;
  }
  .position-add,
.position-add summary {
    width: 100%;
  }
  .position-add form {
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    margin-top: 10px;
  }
  .position-form-grid {
    grid-template-columns: 1fr;
  }
}

.ov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "patrimonio performance performance" "maiores    performance performance" "resumo     resumo      teia";
  gap: 14px;
  padding-top: 4px;
}

@media (max-width: 900px) {
  .ov-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "patrimonio" "performance" "maiores" "resumo" "teia";
  }
}

.ov-card--patrimonio {
  grid-area: patrimonio;
}

.ov-card--performance {
  grid-area: performance;
}

.ov-card--maiores {
  grid-area: maiores;
}

.ov-card--resumo {
  grid-area: resumo;
}

.ov-card--teia {
  grid-area: teia;
}

.ov-radar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 4px 0;
}

.ov-radar svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.ov-radar-legend {
  margin-top: 4px;
}

.ov-radar-legend .it {
  font-size: 12px;
}

.ov-card {
  display: flex;
  flex-direction: column;
}

.ov-card .mono {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
}

.ov-mini {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #7E7E8F;
}

.ov-mini-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7E7E8F;
  margin-bottom: 8px;
}

.ov-total {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #F5F5FA;
  line-height: 1.05;
}

.ov-delta {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 12px;
  margin-top: 6px;
}

.ov-block {
  margin-top: 18px;
}

.ov-stats {
  display: flex;
  gap: 28px;
  margin-top: auto;
  padding-top: 18px;
}

.ov-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ov-stats .ov-mini-label {
  margin-bottom: 0;
}

.ov-stats .mono {
  font-size: 13px;
}

.ov-chart {
  flex: 1;
  min-height: 150px;
  display: flex;
  align-items: stretch;
}

.ov-chart .perf-chart {
  cursor: crosshair;
}

.ov-chart .perf-hover {
  pointer-events: none;
}

.ov-empty {
  margin: 0;
  padding: 28px 0;
  text-align: center;
}

.ov-list {
  display: flex;
  flex-direction: column;
}

.ov-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ov-row:last-child {
  border-bottom: 0;
}

.ov-row__id {
  min-width: 0;
}

.ov-row__name {
  font-size: 13px;
  color: #F5F5FA;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ov-row__name .tag {
  flex-shrink: 0;
  margin-bottom: 0;
}

.ov-row__sub {
  font-size: 11px;
  color: #7E7E8F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ov-row__pct {
  font-size: 11px;
  color: #7E7E8F;
  width: 52px;
  text-align: right;
}

.ov-row__val {
  font-size: 13px;
  color: #E2E2EA;
  text-align: right;
  white-space: nowrap;
}

.ov-row__delta {
  font-size: 11px;
  min-width: 64px;
  text-align: right;
  white-space: nowrap;
}

.ov-row__delta .approx {
  cursor: help;
}

.ov-card--resumo .ov-row {
  grid-template-columns: auto 1fr auto auto auto;
}

@media (max-width: 600px) {
  .ov-card--resumo .ov-row {
    grid-template-columns: auto 1fr auto auto;
  }
  .ov-card--resumo .ov-row .ov-row__pct {
    display: none;
  }
}

.ov-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ov-coin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: #F5F5FA;
  background: linear-gradient(135deg, rgba(250, 104, 0, 0.35), rgba(255, 158, 249, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ov-grid > * {
  animation: cardZoomOut 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ov-grid > *:nth-child(1) {
  animation-delay: 0ms;
}

.ov-grid > *:nth-child(2) {
  animation-delay: 90ms;
}

.ov-grid > *:nth-child(3) {
  animation-delay: 180ms;
}

.ov-grid > *:nth-child(4) {
  animation-delay: 270ms;
}

.ov-grid > *:nth-child(5) {
  animation-delay: 360ms;
}

@keyframes cardZoomOut {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.proto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 14px;
  padding-top: 4px;
}

.proto-grid > * {
  animation: cardZoomOut 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.proto-grid > *:nth-child(2) {
  animation-delay: 90ms;
}

.proto-grid > *:nth-child(3) {
  animation-delay: 180ms;
}

.proto-grid > *:nth-child(4) {
  animation-delay: 270ms;
}

@media (max-width: 900px) {
  .proto-grid {
    grid-template-columns: 1fr;
  }
}

.proto-card .card-head .tag {
  text-transform: none;
}

.proto-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.proto-total .ov-mini-label {
  margin-bottom: 0;
}

.proto-total .mono {
  font-size: 17px;
  color: #F5F5FA;
}

.lp-head {
  margin-bottom: 14px;
}

.lp-head-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-kpis {
  margin-bottom: 16px;
}

.lp-kpis .lp-inrange {
  color: #34d399;
}

.lazy-panel .lazy-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
}

.lazy-spinner {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #FA6800;
  animation: spin .8s linear infinite;
}

.lazy-title {
  font-size: 13px;
  font-weight: 600;
  color: #E2E2EA;
}

.lazy-sub {
  font-size: 11.5px;
}

.panel-refresh {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.panel-refresh .lazy-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lazy-spinner--sm {
  width: 12px;
  height: 12px;
  border-width: 1.5px;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .lp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .lp-grid {
    grid-template-columns: 1fr;
  }
}

.lp-card {
  --c: #34d399;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-card.is-out {
  --c: #fbbf24;
}

.lp-card.is-full {
  --c: #38bdf8;
}

.lp-card.is-out {
  border-color: color-mix(in srgb, #fbbf24 22%, rgba(255, 255, 255, 0.1));
}

.lp-card .lp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lp-card .lp-card-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.lp-card .lp-card-title strong {
  font-size: 14px;
  color: #F5F5FA;
  letter-spacing: -0.01em;
}

.lp-card .lp-swap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}

.lp-card .lp-swap:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.lp-card .lp-swap:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c) 60%, transparent);
  outline-offset: 1px;
}

.lp-card .lp-swap .lp-swap-icon {
  font-size: 12px;
  color: var(--c);
  transition: transform 160ms ease;
}

.lp-card .lp-swap .lp-swap-pair {
  align-items: center;
  gap: 3px;
}

.lp-card .lp-swap .lp-swap-pair .sep {
  color: #3F3F4F;
  font-style: normal;
}

.lp-card .lp-swap .lp-swap-pair .is-base {
  color: #F5F5FA;
  font-weight: 600;
}

.lp-card .lp-swap .lp-swap-pair .is-quote {
  color: #38bdf8;
  font-weight: 600;
}

.lp-card .lp-swap .lp-swap-pair {
  display: inline-flex;
}

.lp-card .lp-pair--inv,
.lp-card .lp-swap .lp-swap-pair--inv,
.lp-card .lp-range-wrap[data-variant="inverted"] {
  display: none;
}

.lp-card.is-inverted .lp-pair--base,
.lp-card.is-inverted .lp-swap .lp-swap-pair--base,
.lp-card.is-inverted .lp-range-wrap[data-variant="base"] {
  display: none;
}

.lp-card.is-inverted .lp-pair--inv {
  display: inline;
}

.lp-card.is-inverted .lp-swap .lp-swap-pair--inv {
  display: inline-flex;
}

.lp-card.is-inverted .lp-range-wrap[data-variant="inverted"] {
  display: block;
}

.lp-card.is-inverted .lp-swap .lp-swap-icon {
  transform: scaleX(-1);
}

.lp-card .lp-card-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #7E7E8F;
  text-transform: capitalize;
}

.lp-card .lp-card-sub .lp-card-value {
  margin-left: auto;
  color: #E2E2EA;
  font-size: 13px;
  text-transform: none;
}

.lp-range-note {
  font-size: 11.5px;
  padding: 14px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-range {
  --c: #34d399;
}

.lp-range.is-out {
  --c: #fbbf24;
}

.lp-range.is-estimated .lp-range-bars {
  opacity: 0.82;
}

.lp-range.is-estimated .lp-range-marker {
  background: repeating-linear-gradient(180deg, var(--c) 0 4px, transparent 4px 8px);
  box-shadow: none;
}

.lp-range .lp-range-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 10px;
}

.lp-range .lp-range-state {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.lp-range .lp-range-state.pos {
  color: #34d399;
}

.lp-range .lp-range-state.neg {
  color: #fbbf24;
}

.lp-range .lp-range-chart {
  position: relative;
  height: 76px;
  margin-top: 38px;
}

.lp-range .lp-range-band {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--c) 9%, transparent);
  border-left: 1px dashed color-mix(in srgb, var(--c) 55%, transparent);
  border-right: 1px dashed color-mix(in srgb, var(--c) 55%, transparent);
}

.lp-range .lp-range-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.lp-range .lp-range-bars .b {
  flex: 1 1 0;
  min-height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07));
}

.lp-range .lp-range-bars .b.on {
  background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 45%, transparent));
  box-shadow: 0 0 6px 0 color-mix(in srgb, var(--c) 35%, transparent);
}

.lp-range .lp-range-marker {
  position: absolute;
  top: -6px;
  bottom: 0;
  transform: translateX(-50%);
  width: 2px;
  background: var(--c);
  border-radius: 2px;
  box-shadow: 0 0 10px 0 color-mix(in srgb, var(--c) 70%, transparent);
}

.lp-range .lp-range-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
  transform: translateX(-50%);
  box-shadow: 0 0 8px 0 color-mix(in srgb, var(--c) 80%, transparent);
}

.lp-range .lp-range-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  color: #07070C;
  background: var(--c);
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.lp-range .lp-range-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--c);
}

.lp-range .lp-range-scale {
  position: relative;
  height: 40px;
  margin-top: 6px;
  font-size: 11px;
}

.lp-range.is-out .lp-range-scale {
  height: 26px;
}

.lp-range.is-estimated .lp-range-scale {
  height: 16px;
}

.lp-range .lp-range-floor,
.lp-range .lp-range-ceil {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.lp-range .lp-range-floor {
  align-items: flex-start;
}

.lp-range .lp-range-ceil {
  transform: translateX(-100%);
  align-items: flex-end;
}

.lp-range .lp-range-price {
  color: #E2E2EA;
  font-weight: 600;
}

.lp-range .lp-range-scale em {
  font-style: normal;
  font-size: 10.5px;
}

.lp-range .lp-range-scale em.pos {
  color: #34d399;
}

.lp-range .lp-range-scale em.neg {
  color: #fb7185;
}

.lp-range .lp-range-cap {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.lp-card-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-card-foot .lp-comp-bar {
  display: flex;
  height: 7px;
  margin: 7px 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.lp-card-foot .lp-comp-bar .seg:nth-child(1) {
  background: #FA6800;
}

.lp-card-foot .lp-comp-bar .seg:nth-child(2) {
  background: #38bdf8;
}

.lp-card-foot .lp-comp-bar .seg:nth-child(3) {
  background: #FF9EF9;
}

.lp-card-foot .lp-comp-bar .seg:nth-child(4) {
  background: #34d399;
}

.lp-card-foot .lp-comp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 11px;
  color: #A6A6B5;
}

.lp-card-foot .lp-comp-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lp-card-foot .lp-comp-legend .dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #3F3F4F;
}

.lp-card-foot .lp-comp-legend span:nth-child(1) .dot {
  background: #FA6800;
}

.lp-card-foot .lp-comp-legend span:nth-child(2) .dot {
  background: #38bdf8;
}

.lp-card-foot .lp-comp-legend span:nth-child(3) .dot {
  background: #FF9EF9;
}

.lp-card-foot .lp-comp-legend span:nth-child(4) .dot {
  background: #34d399;
}

.lp-card-foot .lp-fees-val {
  font-size: 15px;
  color: #F5F5FA;
  margin: 6px 0 2px;
}

.lp-card-foot .lp-fees-legs {
  font-size: 10.5px;
}

.lend-track {
  position: relative;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, color-mix(in srgb, #fb7185 62%, #3a0d14) 0%, color-mix(in srgb, #fb7185 62%, #3a0d14) 5.33%, color-mix(in srgb, #fb7185 45%, transparent) 5.33%, color-mix(in srgb, #fb7185 45%, transparent) 19.9%, color-mix(in srgb, #fbbf24 40%, transparent) 19.9%, color-mix(in srgb, #fbbf24 40%, transparent) 44.25%, color-mix(in srgb, #34d399 35%, transparent) 44.25%, color-mix(in srgb, #34d399 35%, transparent) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lend-skull {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-55%, -58%);
  font-size: 13px;
  filter: saturate(0.8);
}

.lend-axis {
  position: relative;
  height: 26px;
  margin-top: 5px;
  font-size: 10px;
  color: #7E7E8F;
}

.lend-axis .lend-axis-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
}

.lend-axis .lend-axis-tick b {
  color: #A6A6B5;
  font-weight: 600;
}

.lend-axis .lend-axis-tick i {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
}

.lend-axis .lend-axis-tick:first-child {
  transform: none;
  align-items: flex-start;
}

.lend-axis .lend-axis-tick:last-child {
  transform: translateX(-100%);
  align-items: flex-end;
}

.lend-spectrum {
  margin-bottom: 16px;
}

.lend-spectrum .lend-spectrum-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.lend-spectrum .lend-spectrum-sub {
  font-size: 10px;
  color: #7E7E8F;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lend-spectrum .lend-spectrum-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 26px;
  align-items: end;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .lend-spectrum .lend-spectrum-body {
    grid-template-columns: 1fr;
  }
}

.lend-spectrum .lend-legend {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 26px;
}

@media (max-width: 600px) {
  .lend-spectrum .lend-legend {
    padding-bottom: 0;
  }
}

.lend-spectrum .lend-legend-row {
  --c: #34d399;
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #A6A6B5;
}

.lend-spectrum .lend-legend-row[data-status="atencao"] {
  --c: #fbbf24;
}

.lend-spectrum .lend-legend-row[data-status="perigo"] {
  --c: #fb7185;
}

.lend-spectrum .lend-legend-row[data-status="liquidacao"] {
  --c: color-mix(in srgb, #fb7185 75%, #7a0a1e);
}

.lend-spectrum .lend-legend-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 6px color-mix(in srgb, var(--c) 60%, transparent);
}

.lend-spectrum .lend-legend-row .val {
  color: #A6A6B5;
  justify-self: end;
}

.lend-spectrum .lend-legend-row b {
  color: var(--c);
  min-width: 14px;
  text-align: right;
}

.lend-spectrum .lend-legend-row.is-empty {
  opacity: 0.4;
}

.lend-spectrum .lend-spectrum-chart {
  min-width: 0;
  padding: 0 4px;
}

.lend-spectrum .lend-track {
  height: 12px;
}

.lend-spectrum .lend-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 2px rgba(7, 7, 12, 0.9);
}

.lend-spectrum .lend-marker[data-status="atencao"] {
  background: #fbbf24;
}

.lend-spectrum .lend-marker[data-status="perigo"], .lend-spectrum .lend-marker[data-status="liquidacao"] {
  background: #fb7185;
}

.lend-spectrum .lend-flags {
  position: relative;
  height: 96px;
  margin-bottom: 2px;
}

.lend-spectrum .lend-flag {
  --c: #34d399;
  --stem: 16px;
  position: absolute;
  bottom: 0;
  width: 0;
}

.lend-spectrum .lend-flag[data-status="atencao"] {
  --c: #fbbf24;
}

.lend-spectrum .lend-flag[data-status="perigo"], .lend-spectrum .lend-flag[data-status="liquidacao"] {
  --c: #fb7185;
}

.lend-spectrum .lend-flag[data-lane="1"] {
  --stem: 44px;
}

.lend-spectrum .lend-flag[data-lane="2"] {
  --stem: 72px;
}

.lend-spectrum .lend-flag .lend-flag-stem {
  position: absolute;
  left: -0.75px;
  bottom: -8px;
  width: 1.5px;
  height: calc(var(--stem) + 8px);
  background: color-mix(in srgb, var(--c) 55%, transparent);
}

.lend-spectrum .lend-flag .lend-flag-box {
  position: absolute;
  bottom: var(--stem);
  transform: translateX(-50%);
  padding: 2px 8px;
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  border-radius: 7px;
  background: #0d0d14;
  font-size: 11px;
  color: #E2E2EA;
  white-space: nowrap;
}

.lend-spectrum .lend-flag .lend-flag-box b {
  color: var(--c);
  font-weight: 700;
  margin-left: 4px;
}

.lend-spectrum .lend-flag[data-align="left"] .lend-flag-box {
  transform: none;
  margin-left: -8px;
}

.lend-spectrum .lend-flag[data-align="right"] .lend-flag-box {
  transform: translateX(-100%);
  margin-left: 8px;
}

.lend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 600px) {
  .lend-grid {
    grid-template-columns: 1fr;
  }
}

.lend-card {
  --c: #34d399;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 3px solid var(--c);
}

.lend-card[data-status="atencao"] {
  --c: #fbbf24;
}

.lend-card[data-status="perigo"], .lend-card[data-status="liquidacao"] {
  --c: #fb7185;
}

.lend-card[data-status="liquidacao"] {
  border-color: color-mix(in srgb, #fb7185 35%, rgba(255, 255, 255, 0.1));
  border-left-color: #fb7185;
}

.lend-card .lend-badge {
  color: var(--c);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 12%, transparent);
}

.lend-card .lend-gauge {
  padding: 2px 2px 0;
}

.lend-card .lend-gauge-pinrow {
  position: relative;
  height: 22px;
  margin-bottom: 4px;
}

.lend-card .lend-pin {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
}

.lend-card .lend-pin .lend-pin-bubble {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: #14141d;
  background: var(--c);
  white-space: nowrap;
}

.lend-card .lend-pin-line {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2.5px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 0 1.5px rgba(7, 7, 12, 0.85);
}

.lend-card .lend-rows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .lend-card .lend-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lend-card .lend-stat {
  min-width: 0;
}

.lend-card .lend-stat + .lend-card .lend-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 10px;
}

@media (max-width: 600px) {
  .lend-card .lend-stat + .lend-card .lend-stat {
    border-left: 0;
    padding-left: 0;
  }
}

.lend-card .lend-stat-val {
  font-size: 14px;
  color: #F5F5FA;
  margin-top: 3px;
}

.lend-card .lend-stat-val.neg {
  color: #fb7185;
}

.lend-card .lend-stat-legs {
  font-size: 10.5px;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.lend-card .lend-ltv-bar {
  position: relative;
  height: 4px;
  margin-top: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.lend-card .lend-ltv-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 3px;
  background: var(--c);
}

.lend-card .lend-apy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: #E2E2EA;
}

.lend-card .lend-apy b.pos {
  color: #34d399;
}

.lend-card .lend-apy b.neg {
  color: #fb7185;
}

.tbl__empty {
  text-align: center;
  padding: 24px;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
}

.tbl th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7E7E8F;
  font-weight: 500;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: #E2E2EA;
}

.tbl tr:last-child td {
  border-bottom: 0;
}

.tbl tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.tbl .mono {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
}

.tbl .right {
  text-align: right;
}

.tbl .center {
  text-align: center;
}

.tbl .asset {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clients-table .status-col {
  width: 112px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.clients-table .aum-col {
  width: 126px;
  text-align: right;
}

.clients-table .actions-col {
  width: 104px;
  text-align: right;
}

.clients-table__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.clients-table__cell {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.clients-table__cell--center {
  justify-content: center;
}

.clients-table td.status-col .tag {
  min-width: 64px;
  justify-content: center;
  margin-bottom: 0;
}

.clients-table .env-count--onchain {
  color: #FA6800;
}

.clients-table .env-count--cex {
  color: #FF9EF9;
}

.clients-table .env-count--bolsa {
  color: #38BDF8;
}

.asset-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  color: rgba(7, 7, 12, 0.85);
  font-weight: 600;
}

.asset-ico.round {
  border-radius: 50%;
}

@media (max-width: 900px) {
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
  }
  .table-scroll > .tbl {
    width: auto;
    min-width: 100%;
    white-space: nowrap;
  }
}

.hovercard {
  position: relative;
  display: inline-flex;
  cursor: default;
  outline: none;
}

.hovercard__pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translate(-50%, -4px);
  min-width: 240px;
  max-width: 340px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #11121C;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .12s ease, transform .12s ease;
}

.hovercard:hover .hovercard__pop, .hovercard:focus-within .hovercard__pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.hovercard__title {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7E7E8F;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hovercard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
}

.hovercard__row b {
  font-weight: 600;
  white-space: nowrap;
}

.hovercard__row i {
  font-style: normal;
}

.hovercard__label {
  color: #E2E2EA;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hovercard__note {
  font-size: 10.5px;
  padding-top: 2px;
}

.zone-saudavel {
  color: #34d399;
}

.zone-atencao {
  color: #fbbf24;
}

.zone-perigo {
  color: #fb923c;
}

.zone-liquidacao {
  color: #fb7185;
}

.hf-val, .pools-val {
  font-size: 12.5px;
}

.risk-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px 0;
}

.risk-chips .chip-filter {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: #A6A6B5;
  font-size: 11.5px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.risk-chips .chip-filter:hover {
  color: #E2E2EA;
  border-color: rgba(255, 255, 255, 0.18);
}

.risk-chips .chip-filter.is-on {
  color: #FA6800;
  border-color: rgba(250, 104, 0, 0.45);
  background: rgba(250, 104, 0, 0.08);
}

.th-sort {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.th-sort:hover {
  color: #E2E2EA;
}

.th-sort.is-on {
  color: #FA6800;
}

.form-panel {
  display: block;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014)), rgba(7, 7, 12, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 28px 70px -48px rgba(0, 0, 0, 0.78);
}

.form-host {
  padding: 12px 20px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.form-grid--1 {
  grid-template-columns: 1fr;
}

.form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid .span-2 {
  grid-column: span 2;
}

.form-grid .span-3 {
  grid-column: span 3;
}

.form-grid .field:has(> small.muted) {
  align-self: start;
}

.form-grid .field:has(> small.muted) + .field {
  align-self: start;
}

.form-section {
  grid-column: 1 / -1;
  margin: 2px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.form-section > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 13px;
  list-style: none;
  cursor: pointer;
  color: #A6A6B5;
  font-size: 12.5px;
  font-weight: 600;
}

.form-section > summary::-webkit-details-marker {
  display: none;
}

.form-section > summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .16s ease;
  opacity: .74;
}

.form-section > summary:hover {
  color: #F5F5FA;
}

.form-section[open] > summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #F5F5FA;
}

.form-section[open] > summary::before {
  transform: rotate(45deg);
}

.form-section__body {
  padding: 14px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.form-help {
  grid-column: 1 / -1;
  margin: 0;
  color: #7E7E8F;
  font-size: 12px;
  line-height: 1.45;
}

.form-error,
.field .error {
  display: block;
  margin-top: 7px;
  color: #fb7185;
  font-size: 11.5px;
}

.alert {
  grid-column: 1 / -1;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #E2E2EA;
  font-size: 12.5px;
}

.alert.error {
  border-color: rgba(251, 113, 133, 0.3);
  background: rgba(251, 113, 133, 0.07);
  color: #fb7185;
}

.field {
  display: block;
  min-width: 0;
  margin: 0;
}

.field > span:first-child,
.field > label,
.field label:not(.chip) {
  display: block;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7E7E8F;
  margin-bottom: 8px;
}

.input {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.input input, .input select, .input textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  padding: 12px 14px;
  color: #F5F5FA;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  outline: none;
  appearance: none;
  transition: border-color .15s, background .15s, box-shadow .15s, color .15s;
}

.input input::placeholder, .input select::placeholder, .input textarea::placeholder {
  color: #7E7E8F;
}

.input input:disabled, .input select:disabled, .input textarea:disabled {
  cursor: not-allowed;
  color: #3F3F4F;
  background: rgba(255, 255, 255, 0.012);
  border-color: rgba(255, 255, 255, 0.06);
}

.input input:focus, .input select:focus, .input textarea:focus {
  border-color: rgba(250, 104, 0, 0.55);
  background: rgba(250, 104, 0, 0.06);
  box-shadow: 0 0 0 4px rgba(250, 104, 0, 0.1);
}

.input select {
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, #7E7E8F 50%), linear-gradient(135deg, #7E7E8F 50%, transparent 50%);
  background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.input select option {
  background: #0B0B14;
  color: #E2E2EA;
}

.input select option:checked {
  background: rgba(250, 104, 0, 0.22);
  color: #F5F5FA;
  font-weight: 600;
}

.input textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.4;
}

.input input[type="date"] {
  color-scheme: dark;
}

.input .icon-left {
  position: absolute;
  left: 14px;
  color: #7E7E8F;
  pointer-events: none;
}

.input.has-icon input {
  padding-left: 42px;
}

.input .pass-toggle {
  position: absolute;
  right: 10px;
  color: #7E7E8F;
  padding: 6px;
  border-radius: 6px;
}

.input .pass-toggle:hover {
  color: #E2E2EA;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #A6A6B5;
  font-size: 12.5px;
}

.checkline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #FA6800;
}

.cell-check input[type="checkbox"],
input[type="checkbox"]#check-all,
input[type="checkbox"].row-check {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.cell-check input[type="checkbox"]:hover,
input[type="checkbox"]#check-all:hover,
input[type="checkbox"].row-check:hover {
  border-color: rgba(250, 104, 0, 0.55);
}

.cell-check input[type="checkbox"]:focus-visible,
input[type="checkbox"]#check-all:focus-visible,
input[type="checkbox"].row-check:focus-visible {
  outline: 2px solid rgba(250, 104, 0, 0.55);
  outline-offset: 2px;
}

.cell-check input[type="checkbox"]:checked,
input[type="checkbox"]#check-all:checked,
input[type="checkbox"].row-check:checked {
  background: #FA6800;
  border-color: #FA6800;
}

.cell-check input[type="checkbox"]:checked::after,
input[type="checkbox"]#check-all:checked::after,
input[type="checkbox"].row-check:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cell-check input[type="checkbox"]:indeterminate,
input[type="checkbox"]#check-all:indeterminate,
input[type="checkbox"].row-check:indeterminate {
  background: #FA6800;
  border-color: #FA6800;
}

.cell-check input[type="checkbox"]:indeterminate::after,
input[type="checkbox"]#check-all:indeterminate::after,
input[type="checkbox"].row-check:indeterminate::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
  border-radius: 1px;
}

.triage-row-form__reason, .expand-panel form > select,
.expand-panel form > input[type="text"],
.expand-panel form > input[type="search"],
.expand-panel form > input[type="email"], .bulk-bar input[type="text"],
.bulk-bar input[type="search"], .list-filters__search, .bulk-bar select {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 12px;
  color: #F5F5FA;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  outline: none;
  appearance: none;
  transition: border-color .15s, background .15s, box-shadow .15s, color .15s;
}

.triage-row-form__reason::placeholder, .expand-panel form > select::placeholder,
.expand-panel form > input[type="text"]::placeholder,
.expand-panel form > input[type="search"]::placeholder,
.expand-panel form > input[type="email"]::placeholder, .bulk-bar input[type="text"]::placeholder,
.bulk-bar input[type="search"]::placeholder, .list-filters__search::placeholder, .bulk-bar select::placeholder {
  color: #7E7E8F;
}

.triage-row-form__reason:focus, .expand-panel form > select:focus,
.expand-panel form > input[type="text"]:focus,
.expand-panel form > input[type="search"]:focus,
.expand-panel form > input[type="email"]:focus, .bulk-bar input[type="text"]:focus,
.bulk-bar input[type="search"]:focus, .list-filters__search:focus, .bulk-bar select:focus {
  border-color: rgba(250, 104, 0, 0.55);
  background: rgba(250, 104, 0, 0.06);
  box-shadow: 0 0 0 4px rgba(250, 104, 0, 0.1);
}

.expand-panel form > select, .bulk-bar select {
  padding-right: 32px;
  background-image: linear-gradient(45deg, transparent 50%, #7E7E8F 50%), linear-gradient(135deg, #7E7E8F 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 12px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.expand-panel form > select option, .bulk-bar select option {
  background: #0B0B14;
  color: #E2E2EA;
}

.expand-panel form > select option:checked, .bulk-bar select option:checked {
  background: rgba(250, 104, 0, 0.22);
  color: #F5F5FA;
  font-weight: 600;
}

.expand-panel form > select option:hover, .bulk-bar select option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.list-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.list-filters__search {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
}

.list-filters__search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.list-filters .select-combo {
  width: auto;
  min-width: 200px;
  max-width: 280px;
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-row .chip {
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
  user-select: none;
}

.chip-row .chip input[type="checkbox"],
.chip-row .chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.chip-row .chip:hover {
  color: #E2E2EA;
}

.chip-row .chip.is-on {
  color: #fff;
  border-color: #FA6800;
  background: #FA6800;
  box-shadow: 0 0 0 1px rgba(250, 104, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.chip-row .chip.is-on .muted,
.chip-row .chip.is-on .small,
.chip-row .chip.is-on .dim {
  color: rgba(255, 255, 255, 0.85);
}

.bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)), rgba(7, 7, 12, 0.5);
}

.bulk-bar__count {
  color: #A6A6B5;
  font-size: 12.5px;
}

.bulk-bar__count b {
  color: #F5F5FA;
  font-weight: 700;
}

.bulk-bar input[type="text"],
.bulk-bar input[type="search"] {
  flex: 1;
  min-width: 200px;
}

.bulk-bar select {
  min-width: 160px;
}

.pager {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)), rgba(7, 7, 12, 0.4);
  color: #A6A6B5;
  font-size: 12.5px;
}

.pager__btn, .pager__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #A6A6B5;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 12px;
  text-decoration: none;
  transition: color .15s, background .15s, border-color .15s;
}

.pager__btn:hover, .pager__num:hover {
  color: #F5F5FA;
  border-color: rgba(250, 104, 0, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.pager__btn.is-disabled, .pager__num.is-disabled {
  color: #3F3F4F;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.06);
  cursor: not-allowed;
}

.pager__btn.is-disabled:hover, .pager__num.is-disabled:hover {
  color: #3F3F4F;
  border-color: rgba(255, 255, 255, 0.06);
  background: transparent;
}

.pager__num.is-current {
  color: #F5F5FA;
  border-color: rgba(250, 104, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), rgba(250, 104, 0, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: default;
}

.pager__gap {
  color: #7E7E8F;
  padding: 0 4px;
  user-select: none;
}

.pager__size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.pager__size label {
  color: #7E7E8F;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pager__size .select-combo {
  width: auto;
  min-width: 72px;
}

.pager__info {
  margin-left: auto;
  color: #7E7E8F;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.seg-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.seg-tabs__grow {
  flex: 1;
}

.seg-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid transparent;
  color: #7E7E8F;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.seg-tab:hover {
  color: #E2E2EA;
  background: rgba(255, 255, 255, 0.035);
}

.seg-tab:focus-visible {
  outline: 2px solid rgba(250, 104, 0, 0.55);
  outline-offset: 2px;
}

.seg-tab.is-active, .seg-tab.on, .seg-tab[aria-selected="true"] {
  color: #F5F5FA;
  border-color: rgba(250, 104, 0, 0.36);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.026)), rgba(250, 104, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 34px -28px rgba(250, 104, 0, 0.9);
}

.asset-tabs {
  display: flex;
  margin-bottom: 14px;
}

.tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.tabs button {
  padding: 8px 16px;
  border-radius: 9px;
  color: #7E7E8F;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tabs button:hover {
  color: #E2E2EA;
}

.tabs button.on {
  background: rgba(255, 255, 255, 0.07);
  color: #F5F5FA;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tabs button .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7E7E8F;
}

.tabs button.on .dot.client {
  background: #FA6800;
}

.tabs button.on .dot.staff {
  background: #FF9EF9;
}

.auth-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 11px;
  margin-bottom: 18px;
}

.auth-mode button {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #7E7E8F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s, color .15s;
}

.auth-mode button:hover {
  color: #E2E2EA;
}

.auth-mode button.on {
  background: rgba(255, 255, 255, 0.06);
  color: #F5F5FA;
}

.searchbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: #7E7E8F;
  font-size: 12px;
}

.searchbox input {
  background: transparent;
  border: 0;
  outline: 0;
  color: #E2E2EA;
  font-size: 12.5px;
  width: 160px;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.searchbox .kbd {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  color: #7E7E8F;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}

.hx-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 16px 32px;
  overflow-y: auto;
  background: rgba(7, 7, 12, 0.66);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  animation: hxModalFade .18s ease both;
  overscroll-behavior: contain;
}

.hx-modal__card {
  position: relative;
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 88px);
  max-height: calc(100dvh - 88px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), rgba(11, 11, 20, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 36px 80px -32px rgba(0, 0, 0, 0.72);
  animation: hxModalRise 0.26s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hx-modal__card--sm {
  max-width: 560px;
}

.hx-modal__card--lg {
  max-width: 1040px;
}

.hx-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 4px;
}

.hx-modal__header > div:first-child {
  min-width: 0;
}

.hx-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #F5F5FA;
  overflow-wrap: anywhere;
}

.hx-modal__subtitle {
  display: block;
  margin-top: 3px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #7E7E8F;
}

.hx-modal__intro {
  padding: 6px 24px 4px;
  color: #A6A6B5;
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0;
}

.hx-modal__intro b, .hx-modal__intro strong {
  color: #E2E2EA;
  font-weight: 600;
}

.hx-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 24px 24px;
}

.hx-modal__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: #A6A6B5;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}

.hx-modal__close:hover {
  color: #F5F5FA;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

body.modal-open {
  overflow: hidden;
}

.hx-modal__card--sticky-actions .hx-modal__body > form > .form-actions,
.hx-modal__card--sticky-actions .hx-modal__body > .form-actions {
  position: sticky;
  bottom: 0;
  margin: 16px -24px -24px;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(11, 11, 20, 0), rgba(11, 11, 20, 0.98) 24%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

@keyframes hxModalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hxModalRise {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tag-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.tag-groups__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.tag-groups__label {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7E7E8F;
}

.tag-groups .chip-row {
  gap: 4px;
}

.tag-groups .chip {
  font-size: 10.5px;
}

.form-panel .tbl--inline {
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 6px;
}

.form-panel .tbl--inline th, .form-panel .tbl--inline td {
  padding: 8px 10px;
}

.form-panel .tbl--inline th {
  background: rgba(255, 255, 255, 0.02);
  color: #7E7E8F;
}

.form-panel .tbl--inline thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

.form-panel .tbl--inline thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

.form-panel .tbl--inline tbody tr:last-child td {
  border-bottom: 0;
}

.form-panel .tbl--inline td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-panel .tbl--inline tr:hover td {
  background: transparent;
}

.form-panel .tbl--inline .iconbtn {
  width: 28px;
  height: 28px;
}

.triage-row-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.triage-row-form__class {
  gap: 4px;
}

.triage-row-form__class .chip {
  font-size: 11px;
}

.triage-row-form__bottom {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.triage-row-form__reason {
  flex: 1;
  min-width: 200px;
  font-size: 12px;
  padding: 7px 10px;
}

.contract-triage-form__adapter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contract-triage-form select {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: #F5F5FA;
  max-width: 260px;
}

.contract-triage-form select:focus {
  outline: none;
  border-color: rgba(250, 104, 0, 0.55);
  background: rgba(250, 104, 0, 0.06);
  box-shadow: 0 0 0 4px rgba(250, 104, 0, 0.1);
}

@media (max-width: 600px) {
  .form-panel {
    padding: 14px;
  }
  .form-grid,
.form-grid--2,
.form-grid--3 {
    grid-template-columns: 1fr;
  }
  .form-grid .span-2,
.form-grid .span-3,
.form-grid--2 .span-2,
.form-grid--2 .span-3,
.form-grid--3 .span-2,
.form-grid--3 .span-3 {
    grid-column: auto;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .form-actions .btn {
    width: 100%;
  }
  .hx-modal {
    align-items: flex-end;
    padding: 0;
  }
  .hx-modal__card {
    width: 100%;
    max-width: none;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 18px 18px 0 0;
  }
  .hx-modal__header {
    padding: 18px 18px 4px;
  }
  .hx-modal__intro {
    padding: 4px 18px;
  }
  .hx-modal__body {
    padding: 14px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .hx-modal input,
.hx-modal select,
.hx-modal textarea {
    font-size: 16px;
  }
  .hx-modal__card--sticky-actions .hx-modal__body > form > .form-actions,
.hx-modal__card--sticky-actions .hx-modal__body > .form-actions {
    margin: 16px -18px calc(-20px - env(safe-area-inset-bottom, 0px));
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

.link-emph {
  font-weight: 600;
  text-decoration: none;
}

.link-emph:hover, .link-emph:focus-visible {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: #A6A6B5;
  font-size: 12px;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.btn:hover {
  color: #F5F5FA;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.primary {
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  color: #1a0a00;
  border-color: transparent;
  font-weight: 700;
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.018);
  border-color: rgba(255, 255, 255, 0.1);
  color: #A6A6B5;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #F5F5FA;
}

.btn.warn {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
}

.btn.warn:hover {
  color: #ffd86b;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.14);
}

.btn.xs {
  padding: 5px 9px;
  font-size: 11px;
  border-radius: 7px;
}

.btn.danger {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.06);
}

.btn.danger:hover {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.12);
}

.btn.full {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 11px;
}

.btn .sub {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  opacity: 0.7;
  margin-left: 6px;
}

.btn:disabled,
.btn[disabled],
.btn.htmx-request {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn:focus-visible,
.iconbtn:focus-visible,
.hx-modal__close:focus-visible {
  outline: 2px solid rgba(250, 104, 0, 0.55);
  outline-offset: 2px;
}

.iconbtn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  color: #A6A6B5;
}

.iconbtn:hover {
  color: #F5F5FA;
  border-color: rgba(255, 255, 255, 0.18);
}

.iconbtn.danger {
  color: #3F3F4F;
  border-color: transparent;
  background: transparent;
  opacity: 0.45;
}

.iconbtn.danger:hover, .iconbtn.danger:focus-visible {
  opacity: 1;
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.32);
  background: rgba(251, 113, 133, 0.07);
}

@media (pointer: coarse) {
  .btn,
.ccy button,
.seg button,
.seg a,
.seg-tab,
.pager__btn,
.pager__num,
.sb__item {
    min-height: 44px;
  }
  .iconbtn,
.chev {
    min-width: 44px;
    min-height: 44px;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.hx-modal__card {
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 60px 120px -50px rgba(0, 0, 0, 0.85), 0 0 140px -54px rgba(250, 104, 0, 0.24);
}

.hx-modal__card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 104, 0, 0.6), rgba(255, 158, 249, 0.6), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.hx-modal__header {
  align-items: center;
  padding: 24px 26px 20px;
}

.hx-modal__title {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.hx-modal__subtitle {
  margin-top: 4px;
  letter-spacing: 0.01em;
}

.hx-modal__intro {
  padding: 4px 26px 6px;
}

.hx-modal__body {
  padding: 4px 26px 12px;
}

.hx-modal__avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  color: #1a0a00;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 24px -8px rgba(250, 104, 0, 0.55);
}

.hx-modal__header-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.hx-modal__header-titles {
  min-width: 0;
  flex: 1;
}

.hx-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.hx-modal__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 18px 26px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hx-modal__grow {
  flex: 1;
}

.hx-modal__note {
  margin: 0;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  color: #7E7E8F;
}

.modal-sec {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-sec:first-child {
  border-top: 0;
  padding-top: 8px;
}

.modal-sec__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.modal-sec__label h3 {
  margin: 0;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A6A6B5;
}

.modal-sec__label .count {
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  color: #7E7E8F;
}

.modal-sec__label .rule {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.role {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 18px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color .18s;
}

.role:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.role + .role {
  margin-top: 10px;
}

.role__ident {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rtag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(250, 104, 0, 0.28);
  background: rgba(250, 104, 0, 0.1);
  color: #ffb07a;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #F5F5FA;
}

.role__meta {
  margin-top: 3px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  color: #7E7E8F;
}

.role__actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.role__reports {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.role__reports .lab {
  white-space: nowrap;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7E7E8F;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: #A6A6B5;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, transform .12s;
}

.ghost-btn:hover {
  color: #F5F5FA;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.ghost-btn:active {
  transform: translateY(1px);
}

.ghost-btn.save {
  color: #9be6c4;
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.08);
}

.ghost-btn.save:hover {
  color: #c7f5e1;
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.14);
}

.ghost-btn.danger {
  color: #7E7E8F;
}

.ghost-btn.danger:hover {
  color: #ffb3bf;
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.1);
}

.grant {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(250, 104, 0, 0.18);
  background: linear-gradient(180deg, rgba(250, 104, 0, 0.05), rgba(255, 158, 249, 0.025));
}

.grant__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.grant__hint {
  margin: 0;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  color: #7E7E8F;
}

.cli-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cli {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: #E2E2EA;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 12px;
  transition: border-color .15s, background .15s;
}

.cli:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.cli__av {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1a0a00;
  font-size: 9px;
  font-weight: 700;
  background: linear-gradient(135deg, #FA6800, #FF9EF9);
}

.hx-modal__card--confirm {
  max-width: 480px;
}

.modal-confirm {
  padding: 26px 26px 8px;
}

.modal-confirm h2 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #F5F5FA;
}

.modal-confirm p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #A6A6B5;
}

.modal-confirm p .hl {
  color: #F5F5FA;
  font-weight: 600;
}

.modal-confirm__mark {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.1);
}

.modal-confirm__recap {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #A6A6B5;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 12px;
}

.modal-confirm__recap b {
  color: #F5F5FA;
  font-weight: 500;
}

.btn.solid-danger {
  background: linear-gradient(120deg, #fb7185, #f43f5e);
  color: #2a0008;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 14px 32px -16px rgba(251, 113, 133, 0.7);
}

.btn.solid-danger:hover {
  filter: brightness(1.06);
}

.basket-weight-col {
  width: 120px;
}

.basket-action-col {
  width: 40px;
}

.basket-weight-input {
  text-align: right;
}

.basket-add-row {
  margin-top: 8px;
}

@media (max-width: 600px) {
  .hx-modal__header, .hx-modal__body, .hx-modal__footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .role {
    grid-template-columns: 1fr;
  }
}

#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  width: calc(100vw - 48px);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)), rgba(11, 11, 20, 0.88);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 40px -16px rgba(0, 0, 0, 0.65);
  color: #E2E2EA;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  pointer-events: all;
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.toast.toast--in {
  transform: translateX(0);
  opacity: 1;
}

.toast.toast--out {
  transform: translateX(110%);
  opacity: 0;
  transition-duration: 0.18s;
}

.toast.toast--success {
  border-color: rgba(52, 211, 153, 0.28);
}

.toast.toast--success .toast__icon {
  color: #34d399;
}

.toast.toast--error {
  border-color: rgba(251, 113, 133, 0.32);
}

.toast.toast--error .toast__icon {
  color: #fb7185;
}

.toast.toast--warn {
  border-color: rgba(251, 191, 36, 0.28);
}

.toast.toast--warn .toast__icon {
  color: #fbbf24;
}

.toast.toast--info {
  border-color: rgba(56, 189, 248, 0.28);
}

.toast.toast--info .toast__icon {
  color: #38bdf8;
}

.toast__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

.toast__msg {
  flex: 1;
  min-width: 0;
  color: #F5F5FA;
}

.toast__dismiss {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #7E7E8F;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  margin-top: -1px;
  transition: color 0.15s ease, background 0.15s ease;
}

.toast__dismiss:hover {
  color: #E2E2EA;
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 600px) {
  #toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
}

.login-page body {
  overflow: auto;
}

.login-page .app {
  display: block;
  height: auto;
  min-height: 100vh;
}

.login-page .col-main {
  display: contents;
}

.login-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 80px 28px;
}

.login-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 36px 36px 28px 36px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 100px -30px rgba(250, 104, 0, 0.18);
  animation: cardEnter 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-card .brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}

.login-card .brand .wordmark {
  font-size: 26px;
}

.login-card .welcome {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  color: #F5F5FA;
}

.login-card .sub {
  font-size: 13.5px;
  color: #7E7E8F;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.login-card .form-body {
  animation: formSlide 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-card .footer {
  margin-top: 22px;
  text-align: center;
  font-size: 11.5px;
  color: #7E7E8F;
  line-height: 1.5;
}

.login-card .footer a {
  color: #A6A6B5;
  margin: 0 6px;
}

.login-card .footer a:hover {
  color: #E2E2EA;
}

.login-card .footer .pwd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: #7E7E8F;
}

.login-card .footer .pwd-mark {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 14px;
  color: #E2E2EA;
  text-transform: none;
}

.auth-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 11px;
  margin-bottom: 18px;
}

.auth-mode button {
  background: transparent;
  border: 0;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  color: #7E7E8F;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background .15s, color .15s;
}

.auth-mode button svg {
  flex-shrink: 0;
}

.auth-mode button:hover {
  color: #E2E2EA;
}

.auth-mode button.on {
  background: rgba(255, 255, 255, 0.06);
  color: #F5F5FA;
}

.login-submit {
  position: relative;
  min-height: 48px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  box-shadow: 0 18px 42px -24px rgba(250, 104, 0, 0.95), 0 14px 38px -28px rgba(255, 158, 249, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.login-submit #submit-label,
.login-submit .login-submit__icon,
.login-submit .login-submit__spinner {
  position: relative;
  z-index: 1;
}

.login-submit .login-submit__shine {
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.32) 45%, transparent 58%), radial-gradient(circle at 24% 0%, rgba(255, 255, 255, 0.34), transparent 30%);
  opacity: .36;
  transform: translateX(-42%);
  transition: transform .45s ease, opacity .2s ease;
  z-index: 0;
}

.login-submit .login-submit__icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(26, 10, 0, 0.12);
  margin-left: 2px;
  transition: transform .18s ease, background .18s ease;
}

.login-submit .login-submit__spinner {
  display: none;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 2px solid rgba(26, 10, 0, 0.22);
  border-top-color: #1a0a00;
  margin-left: 2px;
  animation: spin .7s linear infinite;
}

.login-submit:hover {
  transform: translateY(-1px);
  filter: saturate(1.08) brightness(1.04);
  box-shadow: 0 22px 54px -24px #fa6800, 0 18px 46px -28px #ff9ef9, inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.login-submit:hover .login-submit__shine {
  transform: translateX(42%);
  opacity: .52;
}

.login-submit:hover .login-submit__icon {
  transform: translateX(2px);
  background: rgba(26, 10, 0, 0.18);
}

.login-submit:active {
  transform: translateY(0) scale(0.99);
}

.login-submit:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.login-submit.is-loading {
  pointer-events: none;
  filter: saturate(0.92);
}

.login-submit.is-loading .login-submit__icon {
  display: none;
}

.login-submit.is-loading .login-submit__spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.sent-state {
  padding: 24px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 14px;
  text-align: center;
}

.sent-state .check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.18);
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
}

.sent-state h2 {
  margin: 0 0 6px 0;
  color: #F5F5FA;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sent-state p {
  margin: 0;
  font-size: 13px;
  color: #A6A6B5;
  line-height: 1.5;
}

.sent-state .mail-target {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  color: #F5F5FA;
  font-size: 13px;
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.sent-state .resend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  background: transparent;
  border: 0;
  color: #A6A6B5;
  font-size: 12px;
  cursor: pointer;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  padding: 0;
}

.sent-state .resend:hover {
  color: #F5F5FA;
}

.forgot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12.5px;
}

.forgot label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7E7E8F;
  cursor: pointer;
  user-select: none;
}

.forgot label input[type="checkbox"] {
  accent-color: #FA6800;
}

.forgot a {
  color: #A6A6B5;
  text-decoration: none;
}

.forgot a:hover {
  color: #F5F5FA;
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes formSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.landing-page {
  overflow-x: hidden;
  min-height: 100vh;
}

body.landing-page .app {
  display: block;
  height: auto;
  min-height: 100vh;
}

body.landing-page .atmo {
  background: radial-gradient(1100px 700px at 8% -5%, rgba(250, 104, 0, 0.2), transparent 60%), radial-gradient(900px 600px at 98% 15%, rgba(255, 158, 249, 0.13), transparent 65%), radial-gradient(1000px 700px at 50% 110%, rgba(56, 189, 248, 0.07), transparent 60%), #07070C;
}

body.landing-page .atmo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(1200px 800px at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(1200px 800px at 50% 40%, black 30%, transparent 75%);
  opacity: 0.5;
}

body.landing-page.cursor-active {
  cursor: none;
}

body.landing-page.cursor-active a, body.landing-page.cursor-active button, body.landing-page.cursor-active input {
  cursor: none;
}

body.landing-page:not(.cursor-active) .cursor-blob, body.landing-page:not(.cursor-active) .cursor-dot, body.landing-page:not(.cursor-active) .cursor-label, body.landing-page:not(.cursor-active) .cursor-trail, body.landing-page:not(.cursor-active) .spotlight {
  display: none;
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50vw) var(--my, 30vh), rgba(250, 104, 0, 0.16), transparent 55%), radial-gradient(220px circle at var(--mx, 50vw) var(--my, 30vh), rgba(255, 158, 249, 0.1), transparent 60%);
  mix-blend-mode: screen;
  transition: opacity .3s;
}

.cursor-blob {
  position: fixed;
  pointer-events: none;
  z-index: 998;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  transform: translate(-50%, -50%) scale(1);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s, opacity 0.25s;
  mix-blend-mode: difference;
  will-change: transform;
  filter: blur(0.5px);
}

.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 998;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  color: #1a0a00;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transform: translate(-50%, calc(-50% - 30px)) scale(0.6);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

body.cursor-hot .cursor-blob {
  width: 64px;
  height: 64px;
}

body.cursor-hot .cursor-label {
  opacity: 1;
  transform: translate(-50%, calc(-50% - 38px)) scale(1);
}

body.cursor-press .cursor-blob {
  width: 16px;
  height: 16px;
}

.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 997;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF9EF9;
  transform: translate(-50%, -50%);
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.bg-stair {
  position: fixed;
  right: -10vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  width: 80vmin;
  height: 80vmin;
}

.landing {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 36px;
  opacity: 0;
  animation: navIn 480ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 60ms;
}

.landing-nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.landing-nav .wordmark {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: 22px;
  line-height: 1;
}

.landing-nav .wordmark .alt {
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-nav .wordmark .folio {
  color: #F5F5FA;
}

.landing-nav .spacer {
  flex: 1;
}

.landing-nav .nav-cta {
  display: inline-flex;
  gap: 8px;
  margin-left: 10px;
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: #E2E2EA;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s;
  text-decoration: none;
}

.landing .btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.landing .btn:active {
  transform: translateY(1px);
}

.landing .btn.primary {
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  color: #1a0a00;
  border-color: transparent;
  font-weight: 700;
}

.landing .btn.primary:hover {
  filter: brightness(1.05);
}

.landing .btn.lg {
  padding: 12px 18px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 0 56px 0 56px;
  min-height: 0;
}

.hero-left > * {
  opacity: 0;
  animation: heroIn 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-left > *:nth-child(1) {
  animation-delay: 100ms;
}

.hero-left > *:nth-child(2) {
  animation-delay: 200ms;
}

.hero-left > *:nth-child(3) {
  animation-delay: 320ms;
}

.hero-left > *:nth-child(4) {
  animation-delay: 440ms;
}

.hero-left > *:nth-child(5) {
  animation-delay: 560ms;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  color: #A6A6B5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing .tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: landing-pulse 2s infinite ease-out;
}

@keyframes landing-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  }
  80% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

h1.headline {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  font-size: clamp(56px, 7.5vw, 116px);
  line-height: 0.92;
  margin: 0 0 28px 0;
  color: #F5F5FA;
}

.reveal-line {
  overflow: hidden;
  display: block;
  line-height: 0.92;
}

.morph {
  display: inline-block;
  position: relative;
  vertical-align: top;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.morph-ghost {
  display: inline-block;
  visibility: hidden;
  pointer-events: none;
  font: inherit;
  letter-spacing: inherit;
}

.morph .slot {
  position: absolute;
  inset: 0;
  display: inline-block;
  transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1), transform 380ms cubic-bezier(0.83, 0, 0.17, 1), filter 380ms ease;
}

.morph.swap-out .slot {
  opacity: 0;
  transform: translateY(-0.32em) skewY(-2deg);
  filter: blur(8px);
}

.morph.swap-in .slot {
  opacity: 0;
  transform: translateY(0.32em) skewY(2deg);
  filter: blur(8px);
}

.morph.eth .slot {
  color: #FA6800;
}

.morph.petr .slot {
  background: linear-gradient(120deg, #FF9EF9 0%, #FA6800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.morph.serif {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}

.morph.serif .slot {
  background: linear-gradient(120deg, #FFFFFF 0%, #E2E2EA 60%, #A6A6B5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.morph-dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  vertical-align: 4%;
  background: linear-gradient(120deg, #FA6800 0%, #FF9EF9 100%);
  margin-left: 0.05em;
}

p.sub {
  font-size: 17px;
  color: #A6A6B5;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 0 30px 0;
  letter-spacing: -0.005em;
}

p.sub b {
  color: #F5F5FA;
  font-weight: 600;
}

p.sub a {
  color: #F5F5FA;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(250, 104, 0, 0.55);
  text-underline-offset: 4px;
}

p.sub a:hover {
  color: #FA6800;
}

.cta-row {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.cta-row .meta {
  margin-left: 14px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 11px;
  color: #7E7E8F;
  letter-spacing: 0.06em;
}

.stack-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.stack-meta .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11.5px;
  color: #A6A6B5;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  height: auto;
}

.stack-meta .chip b {
  color: #F5F5FA;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-weight: 500;
}

.tilt-wrap {
  transform-style: preserve-3d;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.preview {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 50px 80px -40px rgba(0, 0, 0, 0.7), 0 0 120px -30px rgba(250, 104, 0, 0.15);
  animation: previewIn 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 250ms;
}

@keyframes previewIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.float-note {
  position: absolute;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10.5px;
  color: #7E7E8F;
  letter-spacing: 0.06em;
  background: rgba(7, 7, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.float-note::before {
  content: "";
  position: absolute;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.float-note.n1 {
  top: 36px;
  right: -28%;
}

.float-note.n1::before {
  left: -42px;
  top: 50%;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.float-note.n2 {
  top: 50%;
  left: -34%;
  transform: translateY(-50%);
}

.float-note.n2::before {
  right: -38px;
  top: 50%;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.float-note.n3 {
  bottom: 30px;
  right: -32%;
}

.float-note.n3::before {
  left: -38px;
  top: 50%;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.float-note.n4 {
  top: -22px;
  left: 20px;
}

.float-note.n4 b {
  color: #F5F5FA;
  font-weight: 500;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.preview-head .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-head .avs {
  display: flex;
}

.preview-head .av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #07070C;
  margin-left: -7px;
}

.preview-head .av:nth-child(1) {
  margin-left: 0;
  background: linear-gradient(135deg, #FA6800, #FF9EF9);
}

.preview-head .av:nth-child(2) {
  background: linear-gradient(135deg, #FF9EF9, #38BDF8);
}

.preview-head .av:nth-child(3) {
  background: linear-gradient(135deg, #38BDF8, #34D399);
}

.preview-head .client {
  font-size: 12.5px;
  color: #F5F5FA;
  font-weight: 500;
}

.preview-head .client small {
  display: block;
  color: #7E7E8F;
  font-size: 10.5px;
  margin-top: 1px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  letter-spacing: 0.04em;
}

.preview-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  color: #34d399;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preview-head .live .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: landing-pulse 2s infinite ease-out;
}

.preview .net-worth {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 38px;
  font-weight: 500;
  color: #F5F5FA;
  letter-spacing: -0.025em;
  margin: 6px 0 4px 0;
}

.preview .delta {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 12px;
  color: #34d399;
  margin-bottom: 18px;
}

.preview .delta .meta {
  color: #7E7E8F;
  margin-left: 8px;
}

.mini-chart-wrap {
  margin: 0 -10px 16px -10px;
  position: relative;
}

.mini-chart-wrap svg {
  display: block;
  width: 100%;
  height: 80px;
}

.envs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.envs .env-row {
  display: grid;
  grid-template-columns: 12px 1fr auto auto;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.envs .env-row .sw {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.envs .env-row .name {
  color: #E2E2EA;
}

.envs .env-row .name .meta {
  display: block;
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 10px;
  color: #7E7E8F;
  letter-spacing: 0.04em;
  margin-top: 1px;
}

.envs .env-row .pct {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  color: #7E7E8F;
  font-size: 11px;
  width: 50px;
  text-align: right;
}

.envs .env-row .val {
  font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  color: #F5F5FA;
  font-size: 12px;
  text-align: right;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 36px;
  }
  .float-note {
    display: none;
  }
  h1.headline {
    font-size: clamp(48px, 9vw, 84px);
  }
  .preview {
    max-width: 540px;
  }
}

.num-sub {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  transform: translateY(0.34em);
  font-feature-settings: "tnum";
}

.grid {
  display: grid;
  gap: 14px;
}

.row {
  display: flex;
  gap: 14px;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gap-sm {
  gap: 8px;
}

.gap-lg {
  gap: 18px;
}
