/* node_modules/@fontsource-variable/onest/index.css */
@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/onest-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0460-052F,
    U+1C80-1C8A,
    U+20B4,
    U+2DE0-2DFF,
    U+A640-A69F,
    U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/onest-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0301,
    U+0400-045F,
    U+0490-0491,
    U+04B0-04B1,
    U+2116;
}
@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/onest-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/onest-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}

/* src/styles.scss */
:root {
  color-scheme: light;
  --font-family-base:
    "Onest Variable",
    "Onest",
    ui-sans-serif,
    system-ui,
    sans-serif;
  --font-size-page-title: clamp(1.2rem, 1.65vw, 1.55rem);
  --font-size-section-title: 1rem;
  --font-size-card-title: 0.9rem;
  --font-size-metric: clamp(1.25rem, 1.8vw, 1.65rem);
  --font-size-body: 0.83rem;
  --font-size-body-compact: 0.72rem;
  --font-size-table: var(--font-size-body-compact);
  --font-size-label: 0.72rem;
  --font-size-meta: 0.65rem;
  --font-size-eyebrow: 0.66rem;
  --font-size-metric-compact: 1.08rem;
  --line-height-body: 1.5;
  --font-weight-heading: 650;
  --control-height: 44px;
  --control-font-size: 0.83rem;
  --control-radius: 12px;
  --control-padding-inline: 14px;
  --font-weight-page-title: 690;
  --letter-spacing-page-title: -0.05em;
  --line-height-page-title: 1.24;
  --color-accent: #d85b0b;
  --color-accent-hover: #b94706;
  --color-accent-soft: #fff2df;
  --color-accent-contrast: #ffffff;
  --color-accent-rgb: 216 91 11;
  --color-secondary: #f08a1c;
  --color-brand-gold: #ffd45f;
  --color-brand-orange: #ff6513;
  --gradient-brand:
    linear-gradient(
      145deg,
      #ffd45f 0%,
      #ffad35 45%,
      #ff6513 100%);
  --gradient-action:
    linear-gradient(
      118deg,
      #c94c08 0%,
      #e96c0c 54%,
      #f08a1c 100%);
  --color-canvas: #f4f7fc;
  --color-canvas-muted: #eef3fa;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;
  --color-surface-soft: #f7f9fd;
  --color-surface-glass: rgb(255 255 255 / 78%);
  --color-text: #172033;
  --color-text-muted: #68738a;
  --color-text-subtle: #9099ab;
  --color-border: #e3e8f2;
  --color-border-strong: #d3daea;
  --color-danger: #c83d54;
  --color-danger-soft: #fff0f2;
  --color-success: #14845d;
  --color-success-soft: #e9f8f2;
  --color-info: #3569b8;
  --color-info-soft: #edf4ff;
  --color-review: #7058b5;
  --color-review-soft: #f3efff;
  --color-skeleton-base: #e9eef6;
  --color-skeleton-highlight: #f8faff;
  --shadow-shell: 0 28px 70px rgb(31 48 88 / 12%), 0 4px 18px rgb(31 48 88 / 5%);
  --shadow-card: 0 18px 48px rgb(32 47 80 / 8%), 0 2px 8px rgb(32 47 80 / 4%);
  --shadow-control: 0 1px 2px rgb(20 34 66 / 3%);
  --shadow-button: 0 12px 24px rgb(var(--color-accent-rgb) / 22%);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-shell: 34px;
  --transition-fast: 160ms ease;
  --transition-base: 240ms ease;
}
@media (max-width: 640px) {
  :root {
    --font-size-page-title: 1.5rem;
    --font-size-section-title: 1.125rem;
    --font-size-card-title: 1rem;
    --font-size-metric: clamp(1.625rem, 7vw, 2rem);
    --font-size-metric-compact: 1.375rem;
    --font-size-body: 0.9375rem;
    --font-size-body-compact: 0.875rem;
    --font-size-label: 0.875rem;
    --font-size-meta: 0.75rem;
    --font-size-eyebrow: 0.75rem;
    --control-font-size: 0.875rem;
  }
}
:root[data-theme=dark] {
  color-scheme: dark;
  --color-accent: #ff8a2b;
  --color-accent-hover: #ffae52;
  --color-accent-soft: #3b2519;
  --color-accent-contrast: #ffffff;
  --color-accent-rgb: 255 138 43;
  --color-secondary: #f3a43a;
  --color-brand-gold: #ffdb74;
  --color-brand-orange: #ff7523;
  --gradient-brand:
    linear-gradient(
      145deg,
      #ffdb74 0%,
      #ffad40 45%,
      #ff6c1c 100%);
  --gradient-action:
    linear-gradient(
      118deg,
      #cc500b 0%,
      #e86a10 54%,
      #ed841e 100%);
  --color-canvas: #0c1220;
  --color-canvas-muted: #101827;
  --color-surface: #151d2c;
  --color-surface-elevated: #182233;
  --color-surface-soft: #111928;
  --color-surface-glass: rgb(21 29 44 / 82%);
  --color-text: #f3f6fc;
  --color-text-muted: #aab5c9;
  --color-text-subtle: #78849a;
  --color-border: #283449;
  --color-border-strong: #344258;
  --color-danger: #ff8192;
  --color-danger-soft: #3a202a;
  --color-success: #65d4ad;
  --color-success-soft: #17352f;
  --color-info: #79a9ff;
  --color-info-soft: #182945;
  --color-review: #b7a5ff;
  --color-review-soft: #292442;
  --color-skeleton-base: #222d40;
  --color-skeleton-highlight: #303d53;
  --shadow-shell: 0 34px 80px rgb(0 0 0 / 32%), 0 5px 20px rgb(0 0 0 / 16%);
  --shadow-card: 0 18px 50px rgb(0 0 0 / 20%), 0 2px 10px rgb(0 0 0 / 12%);
  --shadow-control: 0 1px 2px rgb(0 0 0 / 14%);
  --shadow-button: 0 14px 28px rgb(var(--color-accent-rgb) / 18%);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  min-height: 100%;
  background: var(--color-canvas);
  font-family: var(--font-family-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  min-height: 100%;
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-text);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  border: 0;
}
::selection {
  background: rgb(var(--color-accent-rgb)/22%);
}
:focus-visible {
  outline: 3px solid rgb(var(--color-accent-rgb)/28%);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.auth-page {
  display: flex;
  width: 100%;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 42px 0;
}
.auth-card {
  width: 100%;
  animation: auth-card-in 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.auth-card__eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auth-card h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.14;
}
.auth-card__intro {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.auth-form {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}
.auth-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 32px;
}
.auth-form__span-full {
  grid-column: 1/-1;
}
.field {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
}
.field > .field__error,
.field > .field__hint {
  position: absolute;
  z-index: 1;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
}
.field__label,
.field__label-row {
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 620;
}
.field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.field__control {
  position: relative;
}
.field__icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--color-text-subtle);
  pointer-events: none;
  transform: translateY(-50%);
  transition: color var(--transition-fast);
}
.field__input {
  width: 100%;
  height: var(--form-control-height, 52px);
  border: 1px solid var(--color-border);
  border-radius: var(--form-control-radius, var(--radius-md));
  background: var(--color-surface-soft);
  box-shadow: var(--shadow-control);
  color: var(--color-text);
  font-size: var(--form-control-font-size, 0.92rem);
  outline: none;
  padding: 0 15px;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}
.field__input--with-icon {
  padding-left: 46px;
}
.field__input--with-action {
  padding-right: 50px;
}
.field__input::placeholder {
  color: var(--color-text-subtle);
}
.field__input:hover {
  border-color: var(--color-border-strong);
}
.field__input:focus {
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgb(var(--color-accent-rgb)/11%);
}
.field__control:focus-within .field__icon {
  color: var(--color-accent);
}
.field__input[aria-invalid=true] {
  border-color: var(--color-danger);
  background: var(--color-danger-soft);
}
.field__action {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.field__action:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.field__action svg {
  width: 18px;
  height: 18px;
}
.field__error {
  margin: 0;
  color: var(--color-danger);
  font-size: 0.75rem;
  line-height: 1.4;
}
.text-link {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 640;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.text-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.55;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--color-accent);
}
.button-primary {
  display: inline-flex;
  min-height: var(--form-control-height, 52px);
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--form-control-radius, var(--radius-md));
  background: var(--gradient-action);
  box-shadow: var(--shadow-button);
  color: #ffffff;
  cursor: pointer;
  font-size: var(--form-control-font-size, 0.9rem);
  font-weight: 680;
  letter-spacing: -0.01em;
  padding: 0 22px;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
}
.button-primary:hover {
  filter: saturate(1.08) brightness(1.03);
  transform: translateY(-1px);
}
.button-primary:active {
  transform: translateY(0);
}
.button-primary:disabled {
  cursor: wait;
  opacity: 0.65;
}
.auth-status {
  border: 1px solid color-mix(in srgb, var(--color-success) 20%, transparent);
  border-radius: var(--radius-sm);
  margin: 0;
  background: var(--color-success-soft);
  color: var(--color-success);
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 11px 13px;
}
.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid var(--color-border);
  margin-top: 28px;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  padding-top: 24px;
  text-align: center;
}
@keyframes auth-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 720px) {
  .auth-page {
    align-items: flex-start;
    padding: 30px 22px 38px;
  }
  .auth-form__grid {
    grid-template-columns: 1fr;
  }
  .auth-form__span-full {
    grid-column: auto;
  }
  .auth-page .field__input {
    font-size: max(1rem, var(--form-control-font-size, 1rem));
  }
}
@media (max-width: 420px) {
  .auth-page {
    padding-inline: 18px;
  }
  .auth-card h1 {
    font-size: 1.7rem;
  }
  .auth-form {
    margin-top: 27px;
  }
}
.skeleton {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-skeleton-base);
  color: transparent;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.skeleton::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      transparent 20%,
      var(--color-skeleton-highlight) 48%,
      transparent 76%);
  content: "";
  transform: translateX(-110%);
  animation: skeleton-shimmer 1.55s ease-in-out infinite;
}
.skeleton--text {
  height: 12px;
  border-radius: 999px;
}
.skeleton--control {
  height: 52px;
  border-radius: var(--radius-md);
}
.skeleton--button {
  height: 40px;
  border-radius: 12px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}
@keyframes skeleton-shimmer {
  to {
    transform: translateX(110%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton::after {
    display: none;
  }
}
.skeleton-lines {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 0.625rem;
}
.skeleton-line--short {
  width: 48%;
}
.skeleton-line--medium {
  width: 72%;
}
.skeleton-line--title {
  width: min(75%, 16rem);
  height: 1.25rem;
}
.skeleton-line--metric {
  width: min(62%, 8rem);
  height: 1.625rem;
}
.skeleton-avatar {
  flex: none;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
}
.skeleton-avatar--small {
  width: 2.25rem;
}
.skeleton-identity {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.skeleton-identity > .skeleton-lines {
  flex: 1;
}
.skeleton-form-field {
  display: grid;
  gap: 0.5rem;
}
.skeleton-form-field .skeleton--control {
  height: var(--control-height, 44px);
}
.skeleton-panel {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 1rem;
  padding: var(--skeleton-panel-padding, 1rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.skeleton-layout {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.skeleton-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}
.skeleton-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.skeleton-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 0.875rem;
}
.skeleton-chart {
  display: flex;
  height: clamp(10rem, 24vw, 15rem);
  align-items: end;
  justify-content: space-around;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  background:
    repeating-linear-gradient(
      to top,
      transparent 0 calc(25% - 1px),
      var(--color-border) calc(25% - 1px) 25%);
  padding-inline: 0.625rem;
}
.skeleton-chart > .skeleton {
  flex: 1;
  max-width: 2rem;
  height: 38%;
}
.skeleton-chart > .skeleton:nth-child(3n+2) {
  height: 58%;
}
.skeleton-chart > .skeleton:nth-child(3n) {
  height: 45%;
}
.skeleton-tree {
  min-height: 20rem;
  justify-items: center;
}
.skeleton-tree__tools {
  display: flex;
  justify-self: start;
  gap: 0.625rem;
}
.skeleton-tree__tools .skeleton {
  width: 2.75rem;
}
.skeleton-tree__branch {
  position: relative;
  width: min(17rem, 100%);
}
.skeleton-tree__branch::after {
  position: absolute;
  inset: 100% auto -1rem 50%;
  border-left: 1px solid var(--color-border);
  content: "";
}
.skeleton-tree__children {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 36rem);
  gap: 1rem;
}
.skeleton-tree__children::before {
  position: absolute;
  inset: 0 25% auto;
  border-top: 1px solid var(--color-border);
  content: "";
}
@media (max-width: 720px) {
  .skeleton-detail-grid,
  .skeleton-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .skeleton-tree__children .skeleton-panel {
    padding: 0.625rem;
  }
}
.skeleton-kaspi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}
.skeleton-kaspi__qr {
  width: clamp(4rem, 16vw, 7.5rem);
  aspect-ratio: 1;
}
:root {
  --motion-duration-enter: 240ms;
  --motion-duration-exit: 160ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html:has(.cabinet-shell) {
  scrollbar-gutter: stable;
}
:is(.cabinet-shell, app-confirmation-dialog, app-marketing-structure-page) dialog {
  opacity: 0;
  scale: 0.985;
  transition:
    opacity var(--motion-duration-exit) ease,
    scale var(--motion-duration-exit) var(--motion-ease),
    display var(--motion-duration-exit) allow-discrete,
    overlay var(--motion-duration-exit) allow-discrete;
}
:is(.cabinet-shell, app-confirmation-dialog, app-marketing-structure-page) dialog[open] {
  opacity: 1;
  scale: 1;
  transition-duration: var(--motion-duration-enter);
}
:is(.cabinet-shell, app-confirmation-dialog, app-marketing-structure-page) dialog::backdrop {
  opacity: 0;
  transition:
    opacity var(--motion-duration-exit) ease,
    display var(--motion-duration-exit) allow-discrete,
    overlay var(--motion-duration-exit) allow-discrete;
}
:is(.cabinet-shell, app-confirmation-dialog, app-marketing-structure-page) dialog[open]::backdrop {
  opacity: 1;
}
@starting-style {
  :is(.cabinet-shell, app-confirmation-dialog, app-marketing-structure-page) dialog[open] {
    opacity: 0;
    scale: 0.985;
  }
  :is(.cabinet-shell, app-confirmation-dialog, app-marketing-structure-page) dialog[open]::backdrop {
    opacity: 0;
  }
}
.cabinet-content > router-outlet + * {
  animation: ui-fade-in var(--motion-duration-enter) ease;
}
.ui-panel-enter {
  animation: ui-panel-in var(--motion-duration-enter) var(--motion-ease);
}
.ui-panel-leave {
  pointer-events: none;
  animation: ui-panel-out var(--motion-duration-exit) ease both;
}
.ui-fade-enter {
  animation: ui-fade-in var(--motion-duration-enter) ease;
}
.ui-overlay-leave {
  pointer-events: none;
  animation: ui-fade-out var(--motion-duration-exit) ease both;
}
.ui-overlay-leave:has(> dialog) {
  display: block;
  position: fixed;
  width: 0;
  height: 0;
}
.ui-overlay-leave dialog[open] {
  animation: ui-fade-out var(--motion-duration-exit) ease both;
}
.cabinet-shell :is(.modal-backdrop, .withdrawal-detail-backdrop, .review-backdrop) {
  animation: ui-fade-in var(--motion-duration-enter) ease;
}
.cabinet-shell :is(.modal-backdrop, .withdrawal-detail-backdrop, .review-backdrop).ui-overlay-leave {
  animation: ui-fade-out var(--motion-duration-exit) ease both;
}
.cabinet-shell :is(.modal-backdrop, .withdrawal-detail-backdrop, .review-backdrop) > [role=dialog] {
  animation: ui-panel-in var(--motion-duration-enter) var(--motion-ease);
}
.cabinet-shell :where(button, a, input, textarea, select) {
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}
.cabinet-shell :is(.profile-panel, .canvas-popover, .bank-notice, .wallet-amount) {
  animation: ui-panel-in var(--motion-duration-enter) var(--motion-ease);
}
@keyframes ui-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ui-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes ui-panel-in {
  from {
    opacity: 0;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes ui-panel-out {
  from {
    opacity: 1;
    translate: 0 0;
  }
  to {
    opacity: 0;
    translate: 0 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-duration-enter: 0.01ms;
    --motion-duration-exit: 0.01ms;
  }
  :is(.cabinet-shell, app-confirmation-dialog, app-marketing-structure-page) dialog {
    scale: 1;
  }
}
.cart-flyer {
  position: fixed;
  z-index: 2147483646;
  width: 48px;
  height: 48px;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 15px;
  background: var(--gradient-brand) center/cover no-repeat;
  box-shadow: 0 14px 30px rgb(var(--color-accent-rgb)/35%);
}
.floating-cart {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 19px;
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 16px 36px rgb(var(--color-accent-rgb)/35%);
  text-decoration: none;
}
.floating-cart svg {
  width: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.floating-cart > span {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid var(--color-surface);
  border-radius: 999px;
  color: #fff;
  background: var(--color-danger);
  font-size: 11px;
  font-weight: 850;
}
.floating-cart--pulse {
  animation: cart-pulse 620ms cubic-bezier(0.2, 0.8, 0.25, 1);
}
@keyframes cart-pulse {
  40% {
    transform: scale(1.14) rotate(-5deg);
  }
  70% {
    transform: scale(0.96) rotate(2deg);
  }
}
@media (max-width: 580px) {
  .floating-cart {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    border-radius: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating-cart {
    animation: none;
  }
}
.required-marker {
  color: var(--color-danger, #d92d4f);
  font-weight: 700;
  margin-inline-start: 0.2rem;
}
.product-dialog__details {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.product-dialog__details details {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-soft);
}
.product-dialog__details summary {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: 0.64rem;
  font-weight: 720;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.product-dialog__details summary::-webkit-details-marker {
  display: none;
}
.product-dialog__details summary::after {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.5px solid var(--color-text-subtle);
  border-bottom: 1.5px solid var(--color-text-subtle);
  content: "";
  transform: rotate(45deg) translate(-2px, 2px);
  transition: transform var(--transition-fast);
}
.product-dialog__details details[open] {
  border-color: color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
}
.product-dialog__details details[open] summary::after {
  transform: rotate(225deg) translate(-2px, 2px);
}
.product-dialog__details summary:focus-visible {
  outline: 2px solid rgb(var(--color-accent-rgb)/32%);
  outline-offset: -2px;
}
.product-dialog__details p {
  max-height: 220px;
  overflow-y: auto;
  margin: 0 13px;
  padding: 11px 0 13px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-family-base);
  font-size: 0.61rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
.structure-node__identity .structure-node__uuid {
  margin-top: 0;
  padding-right: 27px;
  color: var(--color-text-subtle);
}
.structure-node__copy {
  position: absolute;
  z-index: 2;
  top: 45px;
  right: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
  border-radius: 7px;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent-soft) 70%, var(--color-surface));
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}
.structure-node__copy:hover,
.structure-node__copy:focus-visible {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  outline: none;
  transform: translateY(-1px);
}
.structure-node__copy svg,
.member-details__uuid button svg {
  width: 13px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
.structure-node--extra {
  border-color: color-mix(in srgb, var(--color-accent) 58%, var(--color-border));
  box-shadow: 0 16px 38px rgba(28, 43, 73, 0.1), inset 0 3px 0 color-mix(in srgb, var(--color-accent) 78%, transparent);
}
.structure-node__extra {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 11px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: #fff;
  background: var(--color-accent);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-accent) 28%, transparent);
  font-size: 0.45rem;
  font-weight: 840;
  letter-spacing: 0.035em;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.structure-node__extra.structure-node__debt {
  color: var(--color-text);
  border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 16%, var(--color-surface-elevated));
  font-size: var(--font-size-meta);
  letter-spacing: 0;
}
.structure-node__extra svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.1;
}
.member-extra-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 32%, var(--color-border));
  border-radius: 13px;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent-soft) 68%, var(--color-surface));
}
.member-extra-note__icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--color-surface);
}
.member-extra-note__icon svg {
  width: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.member-extra-note > span:last-child {
  display: grid;
  gap: 3px;
}
.member-extra-note strong {
  color: var(--color-text);
  font-size: 0.61rem;
}
.member-extra-note small {
  color: var(--color-text-muted);
  font-size: 0.5rem;
  line-height: 1.45;
}
.member-details dd.member-details__uuid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-wrap: normal;
}
.member-details__uuid > span {
  overflow-wrap: anywhere;
}
.member-details__uuid button {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, var(--color-border));
  border-radius: 8px;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  font: inherit;
  font-size: 0.5rem;
  font-weight: 720;
  cursor: pointer;
}
.structure-activity-stack {
  position: absolute;
  z-index: 26;
  top: 66px;
  right: 14px;
  display: grid;
  width: min(320px, 100% - 28px);
  max-height: calc(100% - 82px);
  gap: 0;
  pointer-events: auto;
  isolation: isolate;
  transition: gap 280ms ease;
}
.structure-activity-event {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 42%, var(--color-border));
  border-radius: 15px;
  background: color-mix(in srgb, var(--color-surface-elevated) 94%, transparent);
  box-shadow: 0 18px 45px rgba(15, 25, 44, 0.18), 0 0 0 3px color-mix(in srgb, var(--color-accent) 8%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  outline: none;
  transition:
    margin-top 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  animation: structure-activity-event-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.structure-activity-event + .structure-activity-event {
  margin-top: -69px;
}
.structure-activity-event:first-child {
  z-index: 4;
}
.structure-activity-stack:not(:hover):not(:focus-within) .structure-activity-event:nth-child(2) {
  z-index: 3;
  opacity: 0.92;
  transform: translateY(8px) scale(0.975);
}
.structure-activity-stack:not(:hover):not(:focus-within) .structure-activity-event:nth-child(3) {
  z-index: 2;
  opacity: 0.78;
  transform: translateY(16px) scale(0.95);
}
.structure-activity-stack:not(:hover):not(:focus-within) .structure-activity-event:nth-child(n+4) {
  z-index: 1;
  opacity: 0;
  transform: translateY(22px) scale(0.93);
}
.structure-activity-stack:hover,
.structure-activity-stack:focus-within {
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.structure-activity-stack:hover .structure-activity-event,
.structure-activity-stack:focus-within .structure-activity-event {
  margin-top: 0;
  opacity: 1;
  transform: none;
}
.structure-activity-event:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 20%, transparent), 0 18px 45px rgba(15, 25, 44, 0.18);
}
.structure-activity-event[data-tone=success] {
  border-color: color-mix(in srgb, var(--color-success) 45%, var(--color-border));
  box-shadow: 0 18px 45px rgba(15, 25, 44, 0.18), 0 0 0 3px color-mix(in srgb, var(--color-success) 9%, transparent);
}
.structure-activity-event__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 26%, transparent);
  animation: structure-activity-pulse 1.1s ease-in-out infinite;
}
.structure-activity-event[data-tone=success] .structure-activity-event__icon {
  color: var(--color-success);
  background: var(--color-success-soft);
  animation: none;
}
.structure-activity-event[data-tone=danger] {
  border-color: color-mix(in srgb, var(--color-danger) 45%, var(--color-border));
}
.structure-activity-event[data-tone=danger] .structure-activity-event__icon {
  color: var(--color-danger);
  background: var(--color-danger-soft);
  animation: none;
}
.structure-activity-event[data-tone=neutral] .structure-activity-event__icon {
  color: var(--color-text-muted);
  background: var(--color-surface-soft);
  animation: none;
}
.structure-activity-event__icon svg {
  width: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.structure-activity-event__body {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.structure-activity-event__body small {
  color: var(--color-accent);
  font-size: 0.48rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.structure-activity-event[data-tone=success] .structure-activity-event__body small {
  color: var(--color-success);
}
.structure-activity-event[data-tone=danger] .structure-activity-event__body small {
  color: var(--color-danger);
}
.structure-activity-event__body strong {
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.structure-activity-event__body > span {
  color: var(--color-text-muted);
  font-size: 0.54rem;
  font-weight: 620;
}
.structure-activity-event__dismiss {
  display: grid;
  width: 28px;
  height: 28px;
  align-self: start;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--color-text-subtle);
  background: transparent;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}
.structure-activity-event__dismiss:hover,
.structure-activity-event__dismiss:focus-visible {
  border-color: var(--color-border);
  color: var(--color-accent);
  background: var(--color-accent-soft);
  outline: none;
  transform: translateY(-1px);
}
.structure-activity-event__dismiss svg {
  width: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}
.pv-value--rolling {
  display: inline-block;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  animation: pv-value-roll 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.canvas-help {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.canvas-help__trigger {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-accent) 34%, var(--color-border));
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent-soft) 68%, var(--color-surface-elevated));
  color: var(--color-accent);
  font: inherit;
  font-size: 0.5rem;
  font-weight: 800;
  cursor: help;
  box-shadow: 0 7px 18px rgba(28, 43, 73, 0.09);
}
.canvas-help__trigger:hover,
.canvas-help__trigger:focus-visible {
  border-color: var(--color-accent);
  outline: none;
  background: var(--color-accent);
  color: white;
  transform: translateY(-1px);
}
.canvas-help__tooltip {
  position: absolute;
  z-index: 50;
  top: calc(100% + 9px);
  left: 50%;
  width: min(270px, 100vw - 38px);
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 24%, var(--color-border));
  border-radius: 11px;
  background: color-mix(in srgb, var(--color-surface-elevated) 97%, transparent);
  box-shadow: 0 14px 36px rgba(15, 25, 44, 0.18);
  color: var(--color-text);
  font-size: 0.49rem;
  font-weight: 560;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.canvas-help__tooltip::before {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 9px;
  height: 9px;
  border-top: 1px solid color-mix(in srgb, var(--color-accent) 24%, var(--color-border));
  border-left: 1px solid color-mix(in srgb, var(--color-accent) 24%, var(--color-border));
  background: var(--color-surface-elevated);
  content: "";
  transform: rotate(45deg);
}
.canvas-help:hover .canvas-help__tooltip,
.canvas-help:focus-within .canvas-help__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.structure-node__increment {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 2px 0;
  color: var(--color-success);
  animation: structure-volume-increment 600ms ease-out both;
}
.structure-node__increment > span {
  font-size: 0.38rem;
  font-weight: 800;
}
.structure-node__increment strong {
  overflow: hidden;
  color: currentColor;
  font-size: 0.49rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.structure-node__increment strong::before,
.binary-leg__increment strong::before {
  content: "+";
}
.binary-leg__increment {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 0;
  color: var(--color-success);
  animation: structure-volume-increment 600ms ease-out both;
  white-space: nowrap;
}
.binary-leg__increment > span {
  font-size: 0.46rem;
  font-weight: 850;
  line-height: 1;
}
.binary-leg__increment strong {
  overflow: hidden;
  color: currentColor;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
}
@media (max-width: 520px) {
  .binary-leg__increment {
    padding-block: 3px;
  }
}
@keyframes structure-volume-increment {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.9);
  }
}
@keyframes pv-value-roll {
  35% {
    filter: drop-shadow(0 0 7px color-mix(in srgb, var(--color-accent) 38%, transparent));
    transform: translateY(-2px) scale(1.035);
  }
}
@keyframes structure-activity-event-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
}
@keyframes structure-activity-pulse {
  55% {
    box-shadow: 0 0 0 8px transparent;
  }
}
@media (max-width: 700px) {
  .structure-activity-stack {
    top: 116px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100% - 130px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .structure-activity-event,
  .structure-activity-event__icon {
    animation: none;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
