@layer pages {
  .statify-v2 .v2-home {
    width: 100%;
    max-width: none;
    min-height: calc(100dvh - 64px);
    margin-inline: 0;
    overflow-x: clip;
    padding: 28px var(--v2-page-gutter) 104px;
    background: var(--v2-surface-overview-canvas);
  }

  .statify-v2 .v2-home .v2-page-stack { gap: var(--v2-section-gap); }
  .statify-v2 .v2-home .v2-numeric { white-space: nowrap; }

  /* One store result: operational first, closed finance as a quieter inspection layer. */
  .statify-v2 .v2-home-results__surface {
    display: grid;
    grid-template-columns: minmax(0, 72fr) minmax(300px, 28fr);
    overflow: hidden;
    border: 1px solid var(--v2-border-default);
    border-radius: var(--v2-radius-elevated);
    background: var(--v2-surface-card);
  }

  .statify-v2 .v2-home-result {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .statify-v2 .v2-home-result--operational { gap: 16px; padding: 20px 24px 18px; }
  .statify-v2 .v2-home-result--closed { padding: 20px 22px 18px; border-left: 1px solid var(--v2-border-subtle); }
  .statify-v2 .v2-home-result.is-loading { opacity: .72; transition: opacity var(--v2-duration-fast) var(--v2-ease-standard); }

  .statify-v2 .v2-home-result__head,
  .statify-v2 .v2-home-finance-side__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--v2-space-12);
  }

  .statify-v2 .v2-home-result-title {
    min-width: 0;
    color: var(--v2-text-primary);
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: -.008em;
    font-weight: 600;
  }

  .statify-v2 .v2-home-result__heading { min-width: 0; flex: 1 1 360px; display: grid; gap: 4px; }
  .statify-v2 .v2-home-result__heading p { margin: 0; color: var(--v2-text-muted); font-size: 11px; line-height: 1.35; font-variant-numeric: tabular-nums; }
  .statify-v2 .v2-home-period-controls {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--v2-space-8);
  }

  .statify-v2 .v2-home-period-segmented { flex: 0 0 auto; }
  .statify-v2 .v2-home-period-reset,
  .statify-v2 .v2-home-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .statify-v2 .v2-home-period-reset { font-size: 12px; font-weight: 400; }
  .statify-v2 .v2-home-period-selected {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding-inline: var(--v2-space-8);
    border: 1px solid var(--v2-border-default);
    border-radius: var(--v2-radius-control);
    color: var(--v2-text-secondary);
    background: var(--v2-surface-section);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .statify-v2 .v2-home-custom-period {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--v2-space-8);
  }

  .statify-v2 .v2-home-custom-period[hidden] { display: none; }
  .statify-v2 .v2-home-custom-period label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--v2-space-4);
    color: var(--v2-text-muted);
    font-size: 12px;
  }

  .statify-v2 .v2-home-custom-period .v2-input { width: 132px; min-height: 36px; }
  .statify-v2 .v2-home-custom-period .v2-button { min-height: 36px; }

  .statify-v2 .v2-home-operational-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr)) minmax(190px, 1.22fr) repeat(3, minmax(120px, 1fr));
  }

  .statify-v2 .v2-home-operational-metric {
    min-width: 0;
    min-height: 78px;
    display: grid;
    grid-template-rows: auto minmax(30px, auto) auto;
    align-content: center;
    gap: var(--v2-space-2);
    padding: var(--v2-space-4) 14px;
    border-left: 1px solid var(--v2-border-subtle);
    text-align: center;
  }

  .statify-v2 .v2-home-operational-metric:first-child { padding-left: 0; border-left: 0; }
  .statify-v2 .v2-home-operational-metric:last-child { padding-right: 0; }
  .statify-v2 .v2-home-operational-metric > span,
  .statify-v2 .v2-home-operational-metric > small {
    min-width: 0;
    color: var(--v2-text-muted);
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .statify-v2 .v2-home-operational-metric__value {
    min-width: 0;
    display: grid;
    grid-template-rows: 22px 12px;
    align-content: start;
    justify-items: center;
    gap: 1px;
  }

  .statify-v2 .v2-home-delta-slot { min-width: 0; min-height: 12px; display: grid; place-items: center; line-height: 12px; }

  .statify-v2 .v2-home-operational-metric strong {
    min-width: 0;
    display: inline-flex;
    align-items: baseline;
    gap: var(--v2-space-4);
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -.01em;
    font-weight: 600;
    white-space: nowrap;
  }

  .statify-v2 .v2-home-operational-metric--profit strong {
    font-size: 20px;
    line-height: 1.1;
  }

  .statify-v2 .v2-home-operational-metric strong i {
    color: var(--v2-text-muted);
    font-style: normal;
    font-weight: 400;
  }

  .statify-v2 .v2-home-delta { display: inline-flex; font-size: 10px; line-height: 1.2; font-weight: 500; }
  .statify-v2 .v2-home-delta[data-tone="positive"] { color: var(--v2-status-success); }
  .statify-v2 .v2-home-delta[data-tone="negative"] { color: var(--v2-financial-negative); opacity: .72; }
  .statify-v2 .v2-home-operational-metric__secondary { display: flex; align-items: baseline; justify-content: center; gap: var(--v2-space-4); }

  .statify-v2 .v2-home-finance-side {
    height: 100%;
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    gap: 8px;
  }

  .statify-v2 .v2-home-finance-side__heading { min-width: 0; display: grid; gap: 4px; }
  .statify-v2 .v2-home-finance-period-picker { flex: 0 0 auto; }
  .statify-v2 .v2-home-finance-period-trigger {
    min-width: 104px;
    height: 28px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v2-space-6);
    padding: 0 9px;
    border: 1px solid var(--v2-border-default);
    border-radius: 8px;
    color: var(--v2-text-secondary);
    background: var(--v2-surface-card);
    font: inherit;
    font-size: 9.5px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color var(--v2-duration-fast) var(--v2-ease-standard), background-color var(--v2-duration-fast) var(--v2-ease-standard), box-shadow var(--v2-duration-fast) var(--v2-ease-standard);
  }
  .statify-v2 .v2-home-finance-period-trigger:hover { border-color: var(--v2-border-strong); background: var(--v2-surface-hover); }
  .statify-v2 .v2-home-finance-period-trigger[aria-expanded="true"] { border-color: var(--v2-action-primary); box-shadow: 0 0 0 3px var(--v2-focus-ring); }
  .statify-v2 .v2-home-finance-period-trigger__icon { width: 12px; height: 12px; display: grid; place-items: center; transition: transform var(--v2-duration-fast) var(--v2-ease-standard); }
  .statify-v2 .v2-home-finance-period-trigger[aria-expanded="true"] .v2-home-finance-period-trigger__icon { transform: rotate(180deg); }
  .statify-v2 .v2-home-finance-period-menu {
    width: min(304px, calc(100vw - 32px));
    max-width: min(304px, calc(100vw - 32px));
    max-height: min(416px, calc(100dvh - 32px));
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  .statify-v2 .v2-home-finance-period-menu__section { display: grid; gap: var(--v2-space-6); }
  .statify-v2 .v2-home-finance-period-menu__section + .v2-home-finance-period-menu__section { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .v2-home-finance-period-menu__label { color: var(--v2-text-muted); font-size: 9px; line-height: 1.2; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
  .statify-v2 .v2-home-finance-period-menu__weeks,
  .statify-v2 .v2-home-finance-period-menu__months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .statify-v2 .v2-home-finance-period-menu__option {
    min-width: 0;
    min-height: 26px;
    padding: 0 7px;
    overflow: hidden;
    border: 1px solid var(--v2-border-subtle);
    border-radius: 7px;
    color: var(--v2-text-secondary);
    background: var(--v2-surface-section);
    font: inherit;
    font-size: 10px;
    font-weight: 500;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--v2-duration-fast) var(--v2-ease-standard), border-color var(--v2-duration-fast) var(--v2-ease-standard), background-color var(--v2-duration-fast) var(--v2-ease-standard);
  }
  .statify-v2 .v2-home-finance-period-menu__option:hover { border-color: var(--v2-border-strong); color: var(--v2-text-primary); background: var(--v2-surface-hover); }
  .statify-v2 .v2-home-finance-period-menu__option[aria-pressed="true"] { border-color: var(--v2-action-primary); color: #fff !important; background: var(--v2-action-primary); font-weight: 600; }
  .statify-v2 .v2-home-finance-side__meta,
  .statify-v2 .v2-home-finance-side__status,
  .statify-v2 .v2-home-finance-side__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--v2-space-8);
  }

  .statify-v2 .v2-home-finance-side__period { color: var(--v2-text-muted); font-size: 11px; line-height: 1.35; }
  .statify-v2 .v2-home-finance-side__status { color: var(--v2-text-muted); font-size: 9px; line-height: 1; }
  .statify-v2 .v2-home-finance-side__status .v2-status { min-height: 20px; gap: 4px; padding: 1px 7px; font-size: 10px; line-height: 1; }
  .statify-v2 .v2-home-finance-side__status .v2-status::before { width: 5px; height: 5px; }
  .statify-v2 .v2-home-finance-side__period { margin: 0; }
  .statify-v2 .v2-home-finance-side__value {
    grid-area: value;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -.012em;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .statify-v2 .v2-home-finance-side__result-row { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "value actions" "status status"; align-content: center; align-items: center; gap: 16px 18px; transform: translateY(6px); }
  .statify-v2 .v2-home-finance-side__result-row > .v2-home-finance-side__status { grid-area: status; justify-self: start; }
  .statify-v2 .v2-home-finance-side__actions { grid-area: actions; justify-self: end; gap: 12px; margin-top: 0; }
  .statify-v2 .v2-home-finance-side__action {
    min-height: 18px;
    display: inline-grid;
    grid-template-columns: auto 8px;
    align-items: center;
    gap: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 7px;
    line-height: 1;
    font-weight: 400;
    white-space: nowrap;
  }
  .statify-v2 .v2-home-finance-side__action .v2-icon { width: 8px; height: 8px; display: block; }

  .statify-v2 .v2-home-finance-side__action--quiet { color: var(--v2-text-secondary); }
  .statify-v2 .v2-home-finance-warning-trigger { cursor: pointer; }
  .statify-v2 .v2-home-closed-unavailable { padding: 0; }

  /* Today remains a compact live layer, not a second dashboard. */
  .statify-v2 .v2-home-today { min-width: 0; }
  .statify-v2 .v2-home-today__actions,
  .statify-v2 .v2-home-orders__total {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--v2-space-8) var(--v2-space-12);
  }

  .statify-v2 .v2-home-orders__total { color: var(--v2-text-secondary); font-size: 13px; }
  .statify-v2 .v2-home-orders__total .v2-freshness { min-height: 20px; gap: var(--v2-space-4); padding: 1px var(--v2-space-6); font-size: 10px; }
  .statify-v2 .v2-home-orders__total .v2-freshness::before { width: 6px; height: 6px; }
  .statify-v2 .v2-home-filters {
    display: flex;
    align-items: flex-start;
    gap: var(--v2-space-8);
    max-width: 100%;
    padding-bottom: var(--v2-space-4);
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
  }

  .statify-v2 .v2-home-filters::-webkit-scrollbar { display: none; }
  .statify-v2 .v2-home-filters:has(.v2-home-filter-group[open]) { overflow: visible; }
  .statify-v2 .v2-home-filters > .v2-filter-chip,
  .statify-v2 .v2-home-filter-group > summary { min-height: 30px; padding-inline: 10px; }
  .statify-v2 .v2-home-filters > .v2-filter-chip { display: inline-flex; align-items: center; gap: var(--v2-space-4); }
  .statify-v2 .v2-home-filter-group { position: relative; flex: 0 0 auto; }
  .statify-v2 .v2-home-filter-group > summary {
    display: inline-flex;
    align-items: center;
    gap: var(--v2-space-6);
    cursor: pointer;
    list-style: none;
  }

  .statify-v2 .v2-home-filter-group > summary::-webkit-details-marker { display: none; }
  .statify-v2 .v2-home-filter-group > summary .v2-icon { width: 14px; height: 14px; transition: transform var(--v2-duration-fast) var(--v2-ease-standard); }
  .statify-v2 .v2-home-filter-group[open] > summary .v2-icon { transform: rotate(180deg); }
  .statify-v2 .v2-home-filter-group.is-selected > summary {
    color: var(--v2-action-primary);
    border-color: color-mix(in srgb, var(--v2-action-primary) 35%, var(--v2-border-default));
    background: var(--v2-action-soft);
  }

  .statify-v2 .v2-home-filter-count { color: var(--v2-text-muted); font-variant-numeric: tabular-nums; font-weight: 500; }
  .statify-v2 .v2-home-filter-menu {
    position: absolute;
    z-index: var(--v2-z-popover);
    top: calc(100% + var(--v2-space-6));
    left: 0;
    width: max-content;
    min-width: 240px;
    max-width: min(360px, calc(100vw - 32px));
    max-height: min(360px, 60dvh);
    padding: var(--v2-space-8);
    overflow-y: auto;
    border: 1px solid var(--v2-border-default);
    border-radius: var(--v2-radius-object);
    background: var(--v2-surface-elevated);
    box-shadow: var(--v2-shadow-floating);
  }

  .statify-v2 .v2-home-filter-menu button {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v2-space-16);
    padding: var(--v2-space-8) var(--v2-space-12);
    border: 0;
    border-radius: var(--v2-radius-control);
    color: var(--v2-text-secondary);
    background: transparent;
    text-align: left;
  }

  .statify-v2 .v2-home-filter-menu button:hover,
  .statify-v2 .v2-home-filter-menu button:focus-visible { color: var(--v2-text-primary); background: var(--v2-surface-hover); }
  .statify-v2 .v2-home-filter-menu button[aria-checked="true"] { color: var(--v2-action-primary); background: var(--v2-action-soft); }
  .statify-v2 .v2-home-orders {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 300px;
    gap: var(--v2-space-12);
    max-width: 100%;
    padding-bottom: var(--v2-space-8);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-gutter: stable;
  }

  .statify-v2 .v2-home-orders > .v2-skeleton { min-width: 44%; }
  .statify-v2 .v2-home-order,
  .statify-v2 .v2-home-order-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--v2-space-12);
    padding: 12px 14px;
    border: 1px solid var(--v2-border-default);
    border-radius: var(--v2-radius-object);
    background: var(--v2-surface-card);
  }

  .statify-v2 .v2-home-order { scroll-snap-align: start; }
  .statify-v2 .v2-home-order.is-cancelled,
  .statify-v2 .v2-home-order-row.is-cancelled { background: var(--v2-status-danger-soft); }
  .statify-v2 .v2-home-order__image {
    width: 48px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: var(--v2-radius-control);
    color: var(--v2-text-muted);
    background: var(--v2-surface-section);
  }

  .statify-v2 .v2-home-order__image img { width: 100%; height: 100%; object-fit: cover; }
  .statify-v2 .v2-home-order__main { min-width: 0; display: grid; gap: var(--v2-space-2); }
  .statify-v2 .v2-home-order__main time,
  .statify-v2 .v2-home-order__main span { color: var(--v2-text-muted); font-size: 12px; }
  .statify-v2 .v2-home-order__main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
  .statify-v2 .v2-home-order__result { display: grid; justify-items: end; gap: var(--v2-space-8); white-space: nowrap; }
  .statify-v2 .v2-home-orders__more { margin-top: var(--v2-space-8); }

  /* Canonical owners remain named by their real semantics. */
  .statify-v2 .v2-home-lower {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(420px, 1.45fr) minmax(320px, 1fr);
    overflow: hidden;
    border: 1px solid var(--v2-border-default);
    border-radius: var(--v2-radius-elevated);
    background: var(--v2-surface-card);
  }

  .statify-v2 .v2-home-lower-block {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: var(--v2-space-16);
    padding: 22px 24px;
    border-left: 1px solid var(--v2-border-default);
  }

  .statify-v2 .v2-home-lower-block:first-child { border-left: 0; }
  .statify-v2 .v2-home-lower-block > header {
    min-height: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--v2-space-12);
  }

  .statify-v2 .v2-home-lower-block > header > div { display: grid; gap: var(--v2-space-4); }
  .statify-v2 .v2-home-lower-block > header p,
  .statify-v2 .v2-home-lower-block > header span { color: var(--v2-text-secondary); font-size: 12px; }
  .statify-v2 .v2-home-action-list,
  .statify-v2 .v2-home-activity-list { display: grid; }
  .statify-v2 .v2-home-action-list { max-height: 340px; overflow: auto; }
  .statify-v2 .v2-home-action,
  .statify-v2 .v2-home-activity-item {
    min-width: 0;
    min-height: 54px;
    color: var(--v2-text-primary);
    text-decoration: none;
    border-top: 1px solid var(--v2-border-subtle);
  }

  .statify-v2 .v2-home-action:first-child,
  .statify-v2 .v2-home-activity-item:first-child { border-top: 0; }
  .statify-v2 .v2-home-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v2-space-12);
  }

  .statify-v2 .v2-home-action > span:first-child,
  .statify-v2 .v2-home-activity-item__content { min-width: 0; display: grid; gap: var(--v2-space-2); }
  .statify-v2 .v2-home-action strong,
  .statify-v2 .v2-home-activity-item__content strong { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
  .statify-v2 .v2-home-action small,
  .statify-v2 .v2-home-activity-item__content small,
  .statify-v2 .v2-home-activity-item time { color: var(--v2-text-secondary); font-size: 12px; }
  .statify-v2 .v2-home-action:hover,
  .statify-v2 .v2-home-activity-item:hover { color: var(--v2-action-primary); }
  .statify-v2 .v2-home-activity-item {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: var(--v2-space-12);
  }

  .statify-v2 .v2-home-activity-item__marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--v2-text-muted);
  }

  .statify-v2 .v2-home-activity-item__marker[data-tone="success"] { background: var(--v2-status-success); }
  .statify-v2 .v2-home-activity-item__marker[data-tone="warning"] { background: var(--v2-status-warning); }
  .statify-v2 .v2-home-activity-item__marker[data-tone="info"] { background: var(--v2-status-info); }
  .statify-v2 .v2-home-activity__actions {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--v2-space-8);
    border-top: 1px solid var(--v2-border-subtle);
    color: var(--v2-text-muted);
    font-size: 12px;
  }

  .statify-v2 .v2-home-activity__actions .v2-link { border: 0; background: transparent; cursor: pointer; }
  .statify-v2 .v2-home-state {
    min-height: 64px;
    display: flex;
    align-items: flex-start;
    gap: var(--v2-space-12);
    color: var(--v2-text-secondary);
  }

  .statify-v2 .v2-home-state strong { display: block; margin-bottom: var(--v2-space-4); color: var(--v2-text-primary); }
  .statify-v2 .v2-home-state p { font-size: 13px; }

  .statify-v2 .customer-feedback-widget { min-width: 0; min-height: 0; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--v2-space-12); }
  .statify-v2 .customer-workspace-overview { min-width: 0; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v2-space-12); }
  .statify-v2 .customer-workspace-actions { min-width: 0; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v2-space-12); }
  .statify-v2 .customer-feedback-widget__modules { width: calc(33.333333% - var(--v2-space-8)); min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 0; border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); background: var(--v2-surface-card); overflow: hidden; }
  .statify-v2 .customer-feedback-widget__tabs { min-width: 0; min-height: 30px; display: flex; align-items: stretch; gap: 4px; padding: 3px 6px; border-bottom: 1px solid var(--v2-border-subtle); background: var(--v2-surface-section); overflow-x: auto; }
  .statify-v2 .customer-feedback-widget__tabs button { min-width: 0; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border: 1px solid transparent; border-radius: 7px; color: var(--v2-text-secondary); background: transparent; font: inherit; font-size: 11px; font-weight: 500; white-space: nowrap; cursor: pointer; }
  .statify-v2 .customer-feedback-widget__tab-badge { min-width: 16px; height: 16px; display: inline-grid; place-items: center; padding: 0 4px; border-radius: 999px; color: var(--v2-action-primary); background: var(--v2-surface-selected); font-size: 10px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
  .statify-v2 .customer-feedback-widget__tabs button:hover { color: var(--v2-action-primary); background: var(--v2-surface-hover); }
  .statify-v2 .customer-feedback-widget__tabs button[aria-selected="true"] { border-color: var(--v2-border-subtle); color: var(--v2-text-primary); background: var(--v2-surface-card); font-weight: 600; }
  .statify-v2 .customer-feedback-widget__tabs button:focus-visible { outline: 2px solid var(--v2-action-primary); outline-offset: -2px; }
  .statify-v2 .customer-workspace-action { min-width: 0; display: grid; grid-template-columns: 32px minmax(0,1fr) 16px; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); color: var(--v2-text-primary); background: linear-gradient(135deg, var(--v2-surface-card), var(--v2-surface-section)); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: border-color var(--v2-duration-fast) var(--v2-ease-standard), transform var(--v2-duration-fast) var(--v2-ease-standard), box-shadow var(--v2-duration-fast) var(--v2-ease-standard); }
  .statify-v2 .customer-workspace-action:hover { border-color: var(--v2-action-primary); box-shadow: 0 8px 20px rgb(21 92 107 / 9%); transform: translateY(-1px); }
  .statify-v2 .customer-workspace-action--control { border-color: color-mix(in srgb, var(--v2-status-success) 25%, var(--v2-border-subtle)); background: linear-gradient(135deg, color-mix(in srgb, var(--v2-status-success) 7%, var(--v2-surface-card)), color-mix(in srgb, var(--v2-action-primary) 5%, var(--v2-surface-section))); }
  .statify-v2 .customer-workspace-action--control .customer-workspace-action__icon { color: color-mix(in srgb, var(--v2-status-success) 72%, var(--v2-action-primary)); background: color-mix(in srgb, var(--v2-status-success) 11%, var(--v2-surface-card)); }
  .statify-v2 .customer-workspace-action__icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--v2-action-primary); background: var(--v2-surface-selected); font-size: 11px; font-weight: 700; }
  .statify-v2 .customer-workspace-action > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
  .statify-v2 .customer-workspace-action strong,
  .statify-v2 .customer-workspace-action small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-workspace-action strong { font-size: 12px; line-height: 1.25; }
  .statify-v2 .customer-workspace-action small { color: var(--v2-text-muted); font-size: 8px; line-height: 1.25; }
  .statify-v2 .customer-workspace-action__arrow { color: var(--v2-text-muted); }
  .statify-v2 .customer-workspace-overview .customer-workspace-actions { grid-template-columns: minmax(0, 1fr); grid-template-rows: 30px; align-content: start; gap: 2px; }
  .statify-v2 .customer-workspace-overview .customer-workspace-action--control { display: none; }
  .statify-v2 .customer-workspace-overview .customer-workspace-action { min-height: 0; grid-template-columns: 21px minmax(0,1fr) 10px; gap: 7px; padding: 2px 6px; border-color: transparent; border-radius: 7px; background: transparent; box-shadow: none; }
  .statify-v2 .customer-workspace-overview .customer-workspace-action:hover { border-color: var(--v2-border-subtle); background: var(--v2-surface-hover); box-shadow: none; transform: none; }
  .statify-v2 .customer-workspace-overview .customer-workspace-action--control { border-color: transparent; background: transparent; }
  .statify-v2 .customer-workspace-overview .customer-workspace-action__icon { width: 21px; height: 21px; border-radius: 7px; font-size: 7px; }
  .statify-v2 .customer-workspace-overview .customer-workspace-action strong { overflow: hidden; font-size: 11px; line-height: 1.1; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-workspace-overview .customer-workspace-action__arrow { width: 9px; height: 9px; display: grid; place-items: center; }
  .statify-v2 .customer-workspace-overview .customer-workspace-action__arrow.v2-icon,
  .statify-v2 .customer-workspace-overview .customer-workspace-action__arrow .v2-icon,
  .statify-v2 .customer-workspace-overview .customer-workspace-action__arrow svg { width: 9px; height: 9px; }
  .statify-v2 .store-health { grid-column: 2 / 4; min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(158px,.7fr) minmax(240px,1.3fr); align-items: stretch; gap: 12px; padding: 8px 12px; border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); background: linear-gradient(135deg, var(--v2-surface-card), color-mix(in srgb, var(--v2-action-primary) 2.5%, var(--v2-surface-section))); }
  .statify-v2 .store-health--loading { align-content: center; }
  .statify-v2 .store-health__summary { min-width: 0; display: grid; grid-template-rows: auto 1fr; gap: 4px; }
  .statify-v2 .store-health__head h3 { margin: 0; color: var(--v2-text-primary); font-size: 12px; line-height: 1.15; font-weight: 600; }
  .statify-v2 .store-health__head p { margin: 2px 0 0; color: var(--v2-text-muted); font-size: 8px; line-height: 1.2; }
  .statify-v2 .store-health__values { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: 10px; }
  .statify-v2 .store-health__values > span { min-width: 0; display: grid; gap: 1px; }
  .statify-v2 .store-health__values small { color: var(--v2-text-secondary); font-size: 9px; line-height: 1.15; font-weight: 600; }
  .statify-v2 .store-health__values strong,
  .statify-v2 .store-health__values b { overflow: hidden; color: var(--v2-text-primary); font-size: 17px; line-height: 1; font-weight: 600; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .statify-v2 .store-health[data-tone="positive"] .store-health__values strong,
  .statify-v2 .store-health[data-tone="positive"] .store-health__values b { color: color-mix(in srgb, var(--v2-status-success) 82%, var(--v2-text-primary)); }
  .statify-v2 .store-health[data-tone="negative"] .store-health__values strong,
  .statify-v2 .store-health[data-tone="negative"] .store-health__values b { color: color-mix(in srgb, var(--v2-financial-negative) 78%, var(--v2-text-primary)); }
  .statify-v2 .store-health__visual { min-width: 0; display: grid; align-content: center; gap: 5px; }
  .statify-v2 .store-health__goal { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--v2-text-muted); font-size: 8px; line-height: 1.2; }
  .statify-v2 .store-health__rail { position: relative; height: 10px; margin: 15px 5px 5px; border: 1px solid color-mix(in srgb, var(--v2-border-strong) 74%, transparent); border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--v2-status-danger) 24%, var(--v2-surface-card)) 0%, color-mix(in srgb, var(--v2-status-danger) 9%, var(--v2-surface-card)) 42%, var(--v2-surface-card) 50%, color-mix(in srgb, var(--v2-status-success) 9%, var(--v2-surface-card)) 58%, color-mix(in srgb, var(--v2-status-success) 24%, var(--v2-surface-card)) 100%); box-shadow: inset 0 1px 2px rgb(15 35 42 / 6%); }
  .statify-v2 .store-health__current-label { position: absolute; bottom: 14px; left: var(--store-health-current); color: var(--v2-text-secondary); font-size: 8px; line-height: 1; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
  .statify-v2 .store-health__zero,
  .statify-v2 .store-health__target { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--v2-text-muted); }
  .statify-v2 .store-health__zero { left: 50%; width: 2px; background: var(--v2-text-secondary); opacity: .74; transform: translateX(-50%); }
  .statify-v2 .store-health__zero span { position: absolute; top: 15px; left: 50%; color: var(--v2-text-secondary); font-size: 8px; line-height: 1; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
  .statify-v2 .store-health__target { left: var(--store-health-target); background: var(--v2-action-primary); opacity: .62; }
  .statify-v2 .store-health__marker { position: absolute; top: 50%; left: var(--store-health-current); width: 13px; height: 13px; border: 3px solid var(--v2-surface-card); border-radius: 50%; background: var(--v2-text-muted); box-shadow: 0 1px 4px rgb(15 35 42 / 22%); transform: translate(-50%,-50%); }
  .statify-v2 .store-health[data-tone="positive"] .store-health__marker { background: color-mix(in srgb, var(--v2-status-success) 78%, var(--v2-action-primary)); }
  .statify-v2 .store-health[data-tone="negative"] .store-health__marker { background: color-mix(in srgb, var(--v2-financial-negative) 72%, var(--v2-text-secondary)); }
  .statify-v2 .store-health__goal { min-height: 16px; justify-content: flex-start; gap: 12px; padding-top: 3px; font-size: 9px; }
  .statify-v2 .store-health__goal > span:first-child { color: var(--v2-text-secondary); font-weight: 600; }
  .statify-v2 .store-health__goal a { display: inline-flex; align-items: center; gap: 4px; color: var(--v2-action-primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .statify-v2 .store-health__goal a:hover { text-decoration: underline; }
  .statify-v2 .store-health__unavailable { grid-column: 1 / -1; align-self: center; color: var(--v2-text-muted); font-size: 10px; line-height: 1.35; }
  .statify-v2 .customer-feedback-widget__module { min-width: 0; min-height: 0; display: grid; align-content: space-between; gap: var(--v2-space-12); padding: var(--v2-space-12); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); background: var(--v2-surface-card); }
  .statify-v2 .customer-feedback-widget__module:not(.customer-feedback-widget__module--analytics) { grid-template-rows: auto minmax(0, 1fr); align-content: stretch; }
  .statify-v2 .customer-feedback-widget__modules > .customer-feedback-widget__module { padding: 7px 12px; gap: 5px; border: 0; border-radius: 0; background: transparent; }
  .statify-v2 .customer-feedback-widget__modules .customer-feedback-widget__communication-summary { min-height: 0; }
  .statify-v2 .customer-feedback-widget__title-static, .statify-v2 .customer-feedback-widget__title-action { width: 100%; min-width: 0; height: 18px; min-height: 18px; display: flex; align-items: center; color: var(--v2-text-primary); }
  .statify-v2 .customer-feedback-widget__title-action { justify-content: space-between; gap: var(--v2-space-8); padding: 0; border: 0; border-radius: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
  .statify-v2 .customer-feedback-widget__title-action:hover { color: var(--v2-action-primary); }
  .statify-v2 .customer-feedback-widget__title-copy { min-width: 0; display: flex; align-items: center; gap: var(--v2-space-6); }
  .statify-v2 .customer-feedback-widget__heading { min-width: 0; overflow: hidden; font-family: inherit; font-size: 13px; line-height: 1.2; font-weight: 600; font-style: normal; letter-spacing: normal; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-feedback-widget__title-static--reviews { justify-content: space-between; gap: var(--v2-space-8); }
  .statify-v2 .customer-feedback-widget__title-static--reviews > .customer-feedback-widget__title-action { width: auto; flex: 0 1 auto; }
  .statify-v2 .customer-feedback-widget__controls { min-width: 0; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: flex-end; gap: var(--v2-space-8); margin-left: auto; }
  .statify-v2 .customer-feedback-widget__approval-action { padding: 0; border: 0; color: var(--v2-action-primary); background: transparent; font: inherit; font-size: 7px; line-height: 1.2; font-weight: 500; white-space: nowrap; cursor: pointer; }
  .statify-v2 .customer-feedback-widget__approval-action:hover { color: var(--v2-text-primary); }
  .statify-v2 .customer-feedback-widget__approval-action:focus-visible { outline: 2px solid var(--v2-action-primary); outline-offset: 2px; }
  .statify-v2 .customer-feedback-widget__mode-action { min-width: 0; padding: 0; border: 0; border-radius: 0; color: var(--v2-text-muted); background: transparent; font: inherit; font-size: 8px; line-height: 1.2; font-weight: 400; white-space: nowrap; cursor: pointer; }
  .statify-v2 .customer-feedback-widget__mode-action [data-customer-feedback-mode-label] { display: inline-block; padding-bottom: 2px; border-bottom: 1px solid var(--v2-border-strong); transform: scale(.75); transform-origin: right center; }
  .statify-v2 .customer-feedback-widget__mode-action:hover { color: var(--v2-action-primary); }
  .statify-v2 .customer-feedback-widget__mode-action:hover [data-customer-feedback-mode-label] { border-bottom-color: var(--v2-action-primary); }
  .statify-v2 .customer-feedback-widget__mode-action:focus-visible { outline: 2px solid var(--v2-action-primary); outline-offset: 2px; }
  .statify-v2 .customer-feedback-widget__toggle { flex: 0 0 auto; padding: 0; cursor: pointer; }
  .statify-v2 .customer-feedback-widget__toggle .v2-toggle__track { width: 27px; height: 16px; }
  .statify-v2 .customer-feedback-widget__toggle .v2-toggle__thumb { width: 10px; height: 10px; }
  .statify-v2 .customer-feedback-widget__toggle[aria-checked="true"] .v2-toggle__thumb { transform: translateX(11px); }
  .statify-v2 .customer-returns-how-it-works { padding: 10px 20px; border-bottom: 1px solid var(--v2-border-subtle); color: var(--v2-text-secondary); font-size: 12px; line-height: 1.45; }
  .statify-v2 .customer-returns-how-it-works [data-customer-returns-freshness] { display: block; margin-top: 4px; color: var(--v2-text-tertiary); }
  .statify-v2 .customer-feedback-widget__title-action .v2-icon { flex: 0 0 auto; }
  .statify-v2 .customer-feedback-widget__metrics { min-width: 0; align-self: center; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; text-align: center; }
  .statify-v2 .customer-feedback-widget__metrics > button,
  .statify-v2 .customer-feedback-widget__communication-summary > button { min-width: 0; padding: 2px 4px; border: 0; border-radius: 6px; color: inherit; background: transparent; font: inherit; cursor: pointer; }
  .statify-v2 .customer-feedback-widget__metrics > button { display: grid; justify-items: center; gap: 2px; text-align: center; }
  .statify-v2 .customer-feedback-widget__metrics > button:hover,
  .statify-v2 .customer-feedback-widget__communication-summary > button:hover { background: var(--v2-surface-hover); }
  .statify-v2 .customer-feedback-widget__metrics > button:focus-visible,
  .statify-v2 .customer-feedback-widget__communication-summary > button:focus-visible { outline: 2px solid var(--v2-action-primary); outline-offset: -2px; }
  .statify-v2 .customer-feedback-widget__metrics small { overflow: hidden; color: var(--v2-text-muted); font-size: 8px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-feedback-widget__metrics b { font-size: 14px; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .statify-v2 .customer-feedback-widget__analytics { min-width: 0; color: var(--v2-text-secondary); font-size: 11px; line-height: 1.25; }
  .statify-v2 .customer-feedback-widget__analytics span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .statify-v2 .portfolio-modal { width: min(1540px, calc(100vw - 32px)); max-width: none; height: min(900px, calc(100dvh - 32px)); padding: 0; overflow: hidden; }
  .statify-v2 .portfolio-modal[open] { display: grid; grid-template-rows: auto 52px auto minmax(0,1fr); }
  .statify-v2 .portfolio-modal__header { padding: 14px 20px; }
  .statify-v2 .portfolio-modal__header > div:first-child { min-width: 0; display: grid; gap: 3px; }
  .statify-v2 .portfolio-modal__header [data-tone="danger"] { color: var(--v2-financial-negative); }
  .statify-v2 .portfolio-modal__header-actions { display: flex; align-items: center; gap: var(--v2-space-8); }
  .statify-v2 .portfolio-export-icon { font-size: 17px; line-height: 1; }
  .statify-v2 .portfolio-modal__tabs { display: flex; align-items: end; gap: 24px; padding: 0 20px; border-bottom: 1px solid var(--v2-border-subtle); }
  .statify-v2 .portfolio-modal__tabs button { height: 52px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; color: var(--v2-text-muted); background: transparent; font: inherit; font-size: 14px; cursor: pointer; }
  .statify-v2 .portfolio-modal__tabs button[aria-selected="true"] { border-bottom-color: var(--v2-action-primary); color: var(--v2-text-primary); font-weight: 600; }
  .statify-v2 .portfolio-modal__controls { display: grid; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--v2-border-subtle); background: var(--v2-surface-section); }
  .statify-v2 .portfolio-toolbar { display: grid; grid-template-columns: auto minmax(220px,1fr) auto auto; align-items: center; gap: 10px; }
  .statify-v2 .portfolio-subtoolbar { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .statify-v2 .portfolio-segmented,
  .statify-v2 .portfolio-filter-chips { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--v2-border-subtle); border-radius: 10px; background: var(--v2-surface-card); }
  .statify-v2 .portfolio-segmented button,
  .statify-v2 .portfolio-filter-chips button { min-height: 30px; padding: 5px 9px; border: 0; border-radius: 7px; color: var(--v2-text-secondary); background: transparent; font: inherit; font-size: 11px; white-space: nowrap; cursor: pointer; }
  .statify-v2 .portfolio-segmented button[aria-pressed="true"],
  .statify-v2 .portfolio-filter-chips button[aria-pressed="true"] { color: var(--v2-text-primary); background: var(--v2-surface-selected); box-shadow: 0 1px 3px rgb(20 46 53 / 9%); font-weight: 600; }
  .statify-v2 .portfolio-filter-chips [data-portfolio-filter="A"] { color: #267154; background: #edf8f2; }
  .statify-v2 .portfolio-filter-chips [data-portfolio-filter="B"] { color: #356b9a; background: #eef5fc; }
  .statify-v2 .portfolio-filter-chips [data-portfolio-filter="C"] { color: #9a641d; background: #fff6e6; }
  .statify-v2 .portfolio-filter-chips [data-portfolio-filter="A"][aria-pressed="true"] { background: #dcefe5; box-shadow: inset 0 0 0 1px #acd4be; }
  .statify-v2 .portfolio-filter-chips [data-portfolio-filter="B"][aria-pressed="true"] { background: #dceaf8; box-shadow: inset 0 0 0 1px #b2cee8; }
  .statify-v2 .portfolio-filter-chips [data-portfolio-filter="C"][aria-pressed="true"] { background: #fcebc9; box-shadow: inset 0 0 0 1px #e8ca8b; }
  .statify-v2 .portfolio-segmented button:disabled { cursor: not-allowed; opacity: .42; }
  .statify-v2 .portfolio-search { min-width: 0; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--v2-border-default); border-radius: 9px; background: var(--v2-surface-card); }
  .statify-v2 .portfolio-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--v2-text-primary); background: transparent; font: inherit; font-size: 12px; }
  .statify-v2 .portfolio-seasonality { display: inline-flex; align-items: center; gap: 6px; color: var(--v2-text-secondary); font-size: 11px; white-space: nowrap; }
  .statify-v2 .portfolio-metric { display: flex; align-items: center; gap: 8px; color: var(--v2-text-muted); font-size: 10px; }
  .statify-v2 .portfolio-modal__body { min-height: 0; overflow: auto; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-modal { --bg: var(--v2-surface-page); --bg2: var(--v2-surface-card); --bg3: var(--v2-surface-section); --text: var(--v2-text-primary); --text2: var(--v2-text-secondary); --text3: var(--v2-text-muted); --border: var(--v2-border-subtle); --border2: var(--v2-border-default); --accent: var(--v2-action-primary); --green: var(--v2-status-success); --green-bg: var(--v2-status-success-soft); --red: var(--v2-financial-negative); --red-bg: var(--v2-status-danger-soft); --yellow: var(--v2-status-warning); --yellow-bg: var(--v2-status-warning-soft); --font-body: 'Golos Text', sans-serif; --font-display: 'Golos Text', sans-serif; }
  .statify-v2 .analytics-report-modal[open] { display: grid; grid-template-rows: auto 52px auto minmax(0,1fr); }
  .statify-v2 .analytics-report-modal__tabs { min-width: 0; overflow-x: auto; }
  .statify-v2 .analytics-report-modal__tabs button { white-space: nowrap; }
  .statify-v2 .analytics-report-modal .sig-sales-sku-photo-btn { display: inline-flex; flex: 0 0 auto; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
  .statify-v2 .analytics-report-modal :is(.sig-imt-photo, .analytics-adv-campaign-photo, .portfolio-product img, .wb-miss-photo) { cursor: zoom-in; }
  .statify-v2 .analytics-report-modal__controls { position: relative; min-height: 58px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 9px 20px; border-bottom: 1px solid var(--v2-border-subtle); background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-modal[data-report-refreshing="true"] .analytics-report-modal__controls::after { position: absolute; bottom: -1px; left: 0; width: 30%; height: 2px; border-radius: 2px; background: var(--v2-action-primary); opacity: .7; animation: analytics-report-refresh 1.2s ease-in-out infinite alternate; content: ''; }
  @keyframes analytics-report-refresh { to { transform: translateX(233%); } }
  @media (prefers-reduced-motion: reduce) { .statify-v2 .analytics-report-modal[data-report-refreshing="true"] .analytics-report-modal__controls::after { width: 100%; animation: none; } }
  .statify-v2 .analytics-report-modal__controls[hidden],
  .statify-v2 .analytics-report-period-reset[hidden] { display: none; }
  .statify-v2 .analytics-report-modal [data-portfolio-controls][hidden],
  .statify-v2 .analytics-report-modal [data-portfolio-body][hidden],
  .statify-v2 .analytics-report-modal [data-report-analytics-body][hidden],
  .statify-v2 .analytics-report-modal [data-portfolio-export][hidden],
  .statify-v2 .analytics-report-modal [data-portfolio-period-caption][hidden],
  .statify-v2 .analytics-report-modal [data-report-analytics-caption][hidden] { display: none; }
  .statify-v2 .analytics-report-period-reset { flex: 0 0 auto; font-size: 12px; }
  .statify-v2 .analytics-report-custom-period { display: flex; align-items: center; gap: 8px; }
  .statify-v2 .analytics-report-custom-period[hidden] { display: none; }
  .statify-v2 .analytics-report-custom-period label { display: flex; align-items: center; gap: 5px; color: var(--v2-text-muted); font-size: 11px; }
  .statify-v2 .analytics-report-custom-period input { height: 32px; padding: 0 7px; border: 1px solid var(--v2-border-default); border-radius: 7px; color: var(--v2-text-primary); background: var(--v2-surface-card); font: inherit; font-size: 11px; }
  .statify-v2 .analytics-report-custom-period button { width: 32px; height: 32px; border: 1px solid var(--v2-border-default); border-radius: 7px; color: var(--v2-action-primary); background: var(--v2-surface-card); cursor: pointer; }
  .statify-v2 .analytics-report-modal__body { min-height: 0; overflow: auto; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-workspace { min-width: 980px; padding: 16px 20px 24px; }
  .statify-v2 .analytics-report-stage { display: none !important; }
  .statify-v2 .analytics-report-subnav { min-height: 48px; display: flex; align-items: center; margin-bottom: 10px; padding: 7px 10px; border: 1px solid var(--v2-border-subtle); border-radius: 11px; background: var(--v2-surface-card); }
  .statify-v2 .analytics-report-subnav[hidden] { display: none; }
  .statify-v2 .analytics-report-subnav .sig-sales-tabs { width: fit-content; display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 0; border-radius: 9px; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-subnav .sig-sales-tab { min-height: 30px; padding: 5px 11px; border: 0; border-radius: 7px; color: var(--v2-text-secondary); background: transparent; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
  .statify-v2 .analytics-report-subnav .sig-sales-tab.active { color: var(--v2-action-primary); background: var(--v2-surface-card); box-shadow: 0 1px 2px rgba(15,35,42,.08); }
  .statify-v2 .analytics-report-content { min-height: 360px; transition: opacity 180ms ease; }
  .statify-v2 .analytics-report-modal[data-report-refreshing="true"] .analytics-report-content { opacity: .86; }
  .statify-v2 .analytics-report-panel { display: block; overflow: hidden; border: 1px solid var(--v2-border-subtle); border-radius: 12px; background: var(--v2-surface-card); box-shadow: 0 1px 2px rgba(15,35,42,.06); }
  .statify-v2 .analytics-report-panel > .sig-sales-tabs,
  .statify-v2 .analytics-report-panel > .fin-tab-bar { min-height: 50px; display: flex; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--v2-border-subtle); background: var(--v2-surface-card); }
  .statify-v2 .analytics-report-panel .sig-sales-tabs,
  .statify-v2 .analytics-report-panel .sig-stock-tabs,
  .statify-v2 .analytics-report-panel .fin-tabs { width: fit-content; display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 0; border-radius: 9px; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel .sig-sales-tab,
  .statify-v2 .analytics-report-panel .sig-stock-tab,
  .statify-v2 .analytics-report-panel .fin-tab-btn { min-height: 30px; padding: 5px 11px; border: 0; border-radius: 7px; color: var(--v2-text-secondary); background: transparent; font-size: 11px; font-weight: 600; box-shadow: none; }
  .statify-v2 .analytics-report-panel .sig-sales-tab.active,
  .statify-v2 .analytics-report-panel .sig-stock-tab.active,
  .statify-v2 .analytics-report-panel .sig-stock-tab[aria-selected="true"],
  .statify-v2 .analytics-report-panel .fin-tab-btn.active,
  .statify-v2 .analytics-report-panel .fin-tab-btn[aria-selected="true"] { color: var(--v2-action-primary); border: 0; background: var(--v2-surface-card); box-shadow: 0 1px 2px rgba(15,35,42,.08); }
  .statify-v2 .analytics-report-panel .sig-stock-tab-bar { min-height: 50px; padding: 6px 12px; gap: 8px; border-bottom: 1px solid var(--v2-border-subtle); background: var(--v2-surface-card); }
  .statify-v2 .analytics-report-panel .sig-stock-tabs { flex-shrink: 0; }
  .statify-v2 .analytics-report-panel .sig-sales-panel { display: none; }
  .statify-v2 .analytics-report-panel .sig-sales-panel.active { display: block; }
  .statify-v2 .analytics-report-panel .sig-widget-head { display: none; }
  .statify-v2 .analytics-report-panel .sig-table th.num,
  .statify-v2 .analytics-report-panel .sig-table td.num { text-align: center; }
  .statify-v2 .analytics-report-panel .sig-table .sig-th-inner { justify-content: center; }

  /* Analytics: finance uses the same calm semantic change markers as advertising. */
  .statify-v2 .analytics-report-panel[data-report-section="finance"] .sig-sales-arrow { width: 16px; height: 16px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: var(--v2-text-muted); background: var(--v2-surface-muted); font-size: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="finance"] .sig-sales-compare.pos .sig-sales-arrow,
  .statify-v2 .analytics-report-panel[data-report-section="finance"] .sig-sales-compare.pos .sig-sales-change { color: var(--v2-status-success); }
  .statify-v2 .analytics-report-panel[data-report-section="finance"] .sig-sales-compare.pos .sig-sales-arrow { background: var(--v2-status-success-soft); }
  .statify-v2 .analytics-report-panel[data-report-section="finance"] .sig-sales-compare.neg .sig-sales-arrow,
  .statify-v2 .analytics-report-panel[data-report-section="finance"] .sig-sales-compare.neg .sig-sales-change { color: var(--v2-financial-negative); }
  .statify-v2 .analytics-report-panel[data-report-section="finance"] .sig-sales-compare.neg .sig-sales-arrow { background: var(--v2-status-danger-soft); }

  /* Analytics: orders and sales use the native report reading scale. */
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-table-wrap { padding: 16px; overflow: visible; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-shop-table,
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-shop-table tbody { width: 100%; min-width: 0; display: block; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-shop-table thead { display: none; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-shop-table tbody { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-shop-table tr { min-width: 0; display: grid; grid-template-columns: minmax(150px,1fr) minmax(0,1.25fr); align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--v2-border-subtle); border-radius: 10px; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-shop-table td { min-width: 0; padding: 0; border: 0; color: var(--v2-text-secondary); font-size: 12px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-shop-table td:first-child { width: auto; color: var(--v2-text-primary); font-weight: 600; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-toolbar { min-height: 54px; padding: 10px 14px; border-bottom: 1px solid var(--v2-border-subtle); background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-scroll { max-width: 100%; max-height: 500px; margin: 0; overflow: auto; border: 0; border-radius: 0; background: var(--v2-surface-card); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-imt-table { min-width: 1608px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-sku-table { min-width: 1462px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .analytics-sales-col-identity { width: 294px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .analytics-sales-col-metric { width: 146px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .analytics-sales-row { display: table-row; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table th,
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table td { box-sizing: border-box; height: 72px; padding: 10px 12px; border-bottom: 1px solid var(--v2-border-subtle); color: var(--v2-text-secondary); background: var(--v2-surface-card); vertical-align: middle; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table thead th { position: sticky; z-index: 4; top: 0; height: 42px; padding-top: 8px; padding-bottom: 8px; color: var(--v2-text-muted); background: var(--v2-surface-section); font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table th.num,
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table td.num { width: 146px; min-width: 146px; text-align: center; white-space: normal; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table .sig-sales-identity-th,
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table .sig-sales-identity-cell { position: sticky; z-index: 3; left: 0; width: 294px; min-width: 294px; max-width: 294px; text-align: left; box-shadow: 1px 0 0 var(--v2-border-subtle); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table .sig-sales-identity-th { z-index: 5; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table .analytics-sales-metric { display: table-cell; width: 146px; min-width: 146px; padding: 10px 14px; border-left: 0; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-grid-table tbody tr:hover td { background: var(--v2-surface-hover); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-identity-inner { width: 100%; min-width: 0; display: flex; align-items: center; gap: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-identity-inner .sig-imt-photo { width: 44px; height: 52px; border: 1px solid var(--v2-border-subtle); border-radius: 8px; object-fit: contain; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-imt-title-text { color: var(--v2-text-primary); font-size: 11px; font-weight: 600; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-imt-compose { max-width: 205px; margin-top: 3px; color: var(--v2-text-muted); font-size: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--v2-text-secondary); font-size: 11px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact { width: max-content; max-width: 100%; min-width: 0; display: grid; grid-template-columns: 16px max-content; grid-auto-rows: auto; align-items: center; justify-content: center; gap: 2px 6px; margin-inline: auto; text-align: left; white-space: normal; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact .sig-sales-arrow { grid-column: 1; grid-row: 1; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact .sig-sales-cur { grid-column: 2; grid-row: 1; white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact .sig-sales-sep { display: none; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact .sig-sales-prev { grid-column: 2; grid-row: 2; white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact .sig-sales-prev::before { content: 'было '; font-weight: 400; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact .sig-sales-change { grid-column: 2; grid-row: 3; text-align: left; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact.no-prev .sig-sales-cur,
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.compact.no-prev .sig-sales-note { grid-column: 1 / -1; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-arrow { width: 16px; height: 16px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: var(--v2-text-muted); background: var(--v2-surface-muted); font-size: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-cur { color: var(--v2-text-primary); font-weight: 700; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-prev,
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-sep { color: var(--v2-text-muted); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-change { flex-basis: 100%; color: var(--v2-text-muted); font-size: 10px; font-weight: 600; text-align: center; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.pos .sig-sales-arrow,
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.pos .sig-sales-change { color: var(--v2-status-success); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.pos .sig-sales-arrow { background: var(--v2-status-success-soft); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.neg .sig-sales-arrow,
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.neg .sig-sales-change { color: var(--v2-financial-negative); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-compare.neg .sig-sales-arrow { background: var(--v2-status-danger-soft); }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-note { color: var(--v2-text-muted); font-size: 10px; font-weight: 500; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-return-label { display: grid; gap: 4px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-return-value { display: grid; justify-items: center; gap: 4px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-return-details summary { width: fit-content; color: var(--v2-action-primary); font-size: 10px; font-weight: 600; cursor: pointer; list-style: none; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-return-details > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 10px; margin-top: 6px; color: var(--v2-text-muted); font-size: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-imt-details-btn { margin: 0; color: var(--v2-action-primary); border-color: var(--v2-border-default); background: var(--v2-surface-card); }
  @media (max-width: 920px) {
    .statify-v2 .analytics-report-panel[data-report-section="sales"] .sig-sales-shop-table tbody { grid-template-columns: 1fr; }
  }

  /* Analytics: advertising follows the same report grammar, while campaign rows stay wide. */
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-table-wrap { padding: 16px; overflow: visible; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-shop-table,
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-shop-table tbody { width: 100%; min-width: 0; display: block; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-shop-table thead { display: none; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-shop-table tbody { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-shop-table tr { min-width: 0; display: grid; grid-template-columns: minmax(150px,1fr) minmax(0,1.25fr); align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--v2-border-subtle); border-radius: 10px; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-shop-table td { min-width: 0; padding: 0; border: 0; color: var(--v2-text-secondary); font-size: 12px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-shop-table td:first-child { width: auto; color: var(--v2-text-primary); font-weight: 600; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-filters { min-height: 54px; padding: 10px 14px; border-bottom: 1px solid var(--v2-border-subtle); background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-table-scroll { max-width: 100%; max-height: 500px; overflow: auto; background: var(--v2-surface-card); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-sticky-heading { position: sticky; z-index: 12; top: 0; left: 0; box-sizing: border-box; width: 300px; height: 42px; display: flex; align-items: center; margin-bottom: -42px; padding: 10px 12px; color: var(--v2-text-muted); background: var(--v2-surface-section); box-shadow: 1px 0 0 var(--v2-border-subtle), 0 1px 0 var(--v2-border-subtle); font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; pointer-events: none; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-compare-table { width: max-content; min-width: 2030px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-col-campaign { width: 300px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-col-status { width: 110px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-col-type { width: 100px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-col-metric { width: 152px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-compare-table th,
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-compare-table td { box-sizing: border-box; height: 72px; padding: 10px 12px; border-bottom: 1px solid var(--v2-border-subtle); color: var(--v2-text-secondary); background: var(--v2-surface-card); vertical-align: middle; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-compare-table thead th { position: sticky; z-index: 4; top: 0; height: 42px; color: var(--v2-text-muted); background: var(--v2-surface-section); font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-campaign-head,
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-campaign-cell { position: sticky; left: 0; width: 300px; min-width: 300px; max-width: 300px; text-align: left; box-shadow: 1px 0 0 var(--v2-border-subtle); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-campaign-head { z-index: 7; top: 0; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-campaign-cell { z-index: 3; background: var(--v2-surface-card); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-compare-table tbody tr:hover .sig-adv-campaign-cell { background: var(--v2-surface-hover); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-compare-table th.num,
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-compare-table td.num { width: 152px; min-width: 152px; text-align: center; white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-compare-table tbody tr:hover td { background: var(--v2-surface-hover); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-campaign-identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-campaign-photo { width: 44px; height: 52px; display: block; flex: 0 0 auto; border: 1px solid var(--v2-border-subtle); border-radius: 8px; object-fit: contain; background: var(--v2-surface-section); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-campaign-photo--empty { background: var(--v2-surface-muted); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .analytics-adv-campaign-copy { min-width: 0; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-camp-name { max-width: 220px; margin: 0; color: var(--v2-text-primary); font-size: 11px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-camp-id { color: var(--v2-text-muted); font-size: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px 4px; color: var(--v2-text-secondary); font-size: 11px; font-weight: 600; line-height: 1.25; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.compact { width: max-content; max-width: 100%; display: grid; grid-template-columns: 16px max-content max-content max-content; grid-template-rows: auto auto; align-items: center; justify-content: center; column-gap: 4px; row-gap: 3px; margin-inline: auto; text-align: center; white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.compact .sig-sales-arrow { grid-column: 1; grid-row: 1; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.compact .sig-sales-cur { grid-column: 2; grid-row: 1; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.compact .sig-sales-sep { grid-column: 3; grid-row: 1; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.compact .sig-sales-prev { grid-column: 4; grid-row: 1; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.compact .sig-sales-change { grid-column: 2 / 5; grid-row: 2; text-align: center; white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.compact .sig-sales-note { grid-column: 2 / 5; grid-row: 2; white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-arrow { width: 16px; height: 16px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: var(--v2-text-muted); background: var(--v2-surface-muted); font-size: 10px; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-cur { color: var(--v2-text-primary); font-weight: 700; white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-prev,
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-sep { color: var(--v2-text-muted); white-space: nowrap; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-change { flex-basis: 100%; color: var(--v2-text-muted); font-size: 10px; font-weight: 600; text-align: center; }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.pos .sig-sales-arrow,
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.pos .sig-sales-change { color: var(--v2-status-success); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.pos .sig-sales-arrow { background: var(--v2-status-success-soft); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.neg .sig-sales-arrow,
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.neg .sig-sales-change { color: var(--v2-financial-negative); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-compare.neg .sig-sales-arrow { background: var(--v2-status-danger-soft); }
  .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-sales-note { color: var(--v2-text-muted); font-size: 10px; font-weight: 500; }
  @media (max-width: 920px) {
    .statify-v2 .analytics-report-panel[data-report-section="adv"] .sig-adv-shop-table tbody { grid-template-columns: 1fr; }
  }
  .statify-v2 .ov-info-pop,
  .statify-v2 .sig-stock-qtip-pop,
  .statify-v2 .sku-tip-popup,
  .statify-v2 .sales-sku-photo-modal { --bg: var(--v2-surface-page); --bg2: var(--v2-surface-card); --bg3: var(--v2-surface-section); --text: var(--v2-text-primary); --text2: var(--v2-text-secondary); --text3: var(--v2-text-muted); --border: var(--v2-border-subtle); --border2: var(--v2-border-default); --accent: var(--v2-action-primary); }
  .statify-v2 .portfolio-modal__loading,
  .statify-v2 .portfolio-modal__empty { min-height: 280px; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--v2-text-secondary); text-align: center; }
  .statify-v2 .portfolio-modal__empty span { color: var(--v2-text-muted); font-size: 12px; }
  .statify-v2 .portfolio-table-wrap { min-width: 1120px; margin: 16px 20px 24px; overflow: hidden; border: 1px solid var(--v2-border-subtle); border-radius: 12px; background: var(--v2-surface-card); }
  .statify-v2 .portfolio-table-wrap--matrix { margin-top: 12px; }
  .statify-v2 .portfolio-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; }
  .statify-v2 .portfolio-table th { position: sticky; z-index: 2; top: 0; padding: 0; border-bottom: 1px solid var(--v2-border-default); color: var(--v2-text-muted); background: var(--v2-surface-card); text-align: right; white-space: nowrap; }
  .statify-v2 .portfolio-table th:first-child { left: 0; z-index: 3; text-align: left; }
  .statify-v2 .portfolio-table th button { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: flex-end; gap: 5px; padding: 0 12px; border: 0; color: inherit; background: transparent; font: inherit; font-size: 10px; text-transform: uppercase; cursor: pointer; }
  .statify-v2 .portfolio-table th:first-child button { justify-content: flex-start; }
  .statify-v2 .portfolio-table th button[aria-pressed="true"] { color: var(--v2-action-primary); }
  .statify-v2 .portfolio-table td { height: 70px; padding: 9px 12px; border-bottom: 1px solid var(--v2-border-subtle); color: var(--v2-text-secondary); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .statify-v2 .portfolio-table tbody tr:last-child td { border-bottom: 0; }
  .statify-v2 .portfolio-table td:first-child { position: sticky; z-index: 1; left: 0; min-width: 330px; background: var(--v2-surface-card); text-align: left; }
  .statify-v2 .portfolio-table tbody tr:hover td { background: var(--v2-surface-hover); }
  .statify-v2 .portfolio-table .is-number { color: var(--v2-text-primary); font-weight: 600; }
  .statify-v2 .portfolio-table .is-negative { color: var(--v2-financial-negative); }
  .statify-v2 .portfolio-table .is-positive { color: var(--v2-status-success); }
  .statify-v2 .portfolio-product { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 10px; }
  .statify-v2 .portfolio-product img,
  .statify-v2 .portfolio-product__placeholder { width: 44px; height: 52px; display: grid; place-items: center; border: 1px solid var(--v2-border-subtle); border-radius: 8px; background: var(--v2-surface-section); object-fit: contain; }
  .statify-v2 .portfolio-product > span:last-child { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 8px; align-items: center; }
  .statify-v2 .portfolio-product strong,
  .statify-v2 .portfolio-product small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .portfolio-product strong { color: var(--v2-text-primary); font-size: 12px; }
  .statify-v2 .portfolio-product small { grid-column: 1; color: var(--v2-text-muted); font-size: 10px; }
  .statify-v2 .portfolio-product em { grid-column: 2; grid-row: 1 / 3; min-width: 25px; min-height: 25px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; color: var(--v2-text-secondary); background: var(--v2-surface-muted); font-size: 10px; font-style: normal; font-weight: 700; }
  .statify-v2 .portfolio-product em[data-abc-class="A"] { color: #267154; border-color: #acd4be; background: #dcefe5; }
  .statify-v2 .portfolio-product em[data-abc-class="B"] { color: #356b9a; border-color: #b2cee8; background: #dceaf8; }
  .statify-v2 .portfolio-product em[data-abc-class="C"] { color: #9a641d; border-color: #e8ca8b; background: #fcebc9; }
  .statify-v2 .portfolio-product em[data-abc-class="loss"] { color: var(--v2-financial-negative); background: var(--v2-status-danger-soft); }
  .statify-v2 .portfolio-share { min-width: 64px; display: inline-grid; gap: 5px; }
  .statify-v2 .portfolio-share i { width: 100%; height: 3px; display: block; overflow: hidden; border-radius: 3px; background: var(--v2-surface-muted); }
  .statify-v2 .portfolio-share i::before { width: var(--share); height: 100%; display: block; border-radius: inherit; background: var(--v2-action-primary); content: ''; }
  .statify-v2 .portfolio-matrix-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 16px 20px 0; }
  .statify-v2 .portfolio-segment-card { min-width: 0; min-height: 92px; display: flex; align-items: stretch; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--v2-border-subtle); border-radius: 12px; color: var(--v2-text-primary); background: var(--v2-surface-card); font: inherit; text-align: left; cursor: pointer; }
  .statify-v2 .portfolio-segment-card[aria-pressed="true"] { border-color: var(--v2-action-primary); box-shadow: inset 0 0 0 1px var(--v2-action-primary); }
  .statify-v2 .portfolio-segment-card > span { min-width: 0; display: grid; align-content: space-between; gap: 5px; }
  .statify-v2 .portfolio-segment-card > span:last-child { justify-items: end; text-align: right; }
  .statify-v2 .portfolio-segment-card strong { font-size: 12px; }
  .statify-v2 .portfolio-segment-card b { color: var(--v2-action-primary); font-size: 20px; }
  .statify-v2 .portfolio-segment-card small { color: var(--v2-text-muted); font-size: 9px; line-height: 1.35; }

  .statify-v2 .customer-feedback-modal { width: min(960px, calc(100vw - 32px)); height: min(710px, calc(100dvh - 32px)); max-width: none; padding: 0; overflow: hidden; }
  .statify-v2 .customer-feedback-modal[open] { display: grid; grid-template-rows: auto auto minmax(0, 1fr); animation: ui-next-dialog-in var(--v2-duration-normal) var(--v2-ease-enter) both; }
  .statify-v2 .customer-returns-modal[open] { grid-template-rows: auto auto auto minmax(0, 1fr); }
  .statify-v2 .customer-feedback-modal[open]::backdrop { animation: ui-next-backdrop-in var(--v2-duration-normal) var(--v2-ease-enter) both; }
  .statify-v2 .customer-feedback-modal__header-actions { display: flex; align-items: center; gap: var(--v2-space-8); }
  .statify-v2 .customer-feedback-modal__filters { min-height: 48px; display: flex; align-items: center; padding: var(--v2-space-8) var(--v2-space-20); border-bottom: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-communication-modal[open] { grid-template-rows: auto minmax(0, 1fr); }
  .statify-v2 .customer-communication-modal__main { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .statify-v2 .customer-communication-modal__main[hidden] { display: none; }
  .statify-v2 .customer-communication-modal__tabs { min-height: 48px; display: flex; align-items: end; gap: var(--v2-space-20); padding: 0 var(--v2-space-20); border-bottom: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-communication-modal__tabs button { min-height: 48px; padding: 0 0 1px; border: 0; border-bottom: 2px solid transparent; color: var(--v2-text-muted); background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
  .statify-v2 .customer-communication-modal__tabs button[aria-selected="true"] { border-bottom-color: var(--v2-action-primary); color: var(--v2-text-primary); font-weight: 600; }
  .statify-v2 .customer-communication-modal__tabs button:hover { color: var(--v2-action-primary); }
  .statify-v2 .customer-communication-modal__tabs button:focus-visible { outline: 2px solid var(--v2-action-primary); outline-offset: 2px; }
  .statify-v2 .customer-communication-modal__workspace { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .statify-v2 .customer-communication-modal__workspace[hidden], .statify-v2 .customer-communication-modal__chats[hidden] { display: none; }
  .statify-v2 .customer-communication-modal__chats { min-height: 0; display: grid; }
  .statify-v2 .customer-feedback-widget__communication-summary { min-height: 42px; display: grid; align-content: center; gap: var(--v2-space-6); color: var(--v2-text-secondary); font-size: 9px; }
  .statify-v2 .customer-feedback-widget__communication-summary > button { display: flex; align-items: baseline; justify-content: space-between; gap: var(--v2-space-8); text-align: left; }
  .statify-v2 .customer-feedback-widget__communication-summary > button > span:last-child { color: var(--v2-text-muted); white-space: nowrap; }
  .statify-v2 .customer-feedback-widget__communication-summary b { color: var(--v2-text-primary); font-size: 12px; font-variant-numeric: tabular-nums; }
  .statify-v2 .customer-returns-confirmation-modal { width: min(560px, calc(100vw - 32px)); padding: 0; overflow: hidden; }
  .statify-v2 .customer-returns-confirmation-modal[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .statify-v2 .customer-returns-confirmation { display: grid; gap: var(--v2-space-16); padding: var(--v2-space-20); }
  .statify-v2 .customer-returns-confirmation__summary { display: grid; gap: var(--v2-space-8); padding: var(--v2-space-12); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); background: var(--v2-surface-section); }
  .statify-v2 .customer-returns-confirmation__summary strong { font-size: 14px; }
  .statify-v2 .customer-returns-confirmation__summary p { margin: 0; color: var(--v2-text-secondary); line-height: 1.5; white-space: pre-wrap; }
  .statify-v2 .customer-returns-confirmation__actions { display: flex; justify-content: flex-end; gap: var(--v2-space-8); }
  .statify-v2 .customer-return-dates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--v2-space-8); margin-top: var(--v2-space-16); }
  .statify-v2 .customer-return-dates > span { min-width: 0; display: grid; gap: var(--v2-space-2); padding: var(--v2-space-8); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); }
  .statify-v2 .customer-return-dates small { color: var(--v2-text-muted); font-size: 10px; }
  .statify-v2 .customer-return-dates strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-return-gallery { display: flex; flex-wrap: wrap; gap: var(--v2-space-8); }
  .statify-v2 .customer-return-gallery a { width: 86px; height: 108px; display: block; overflow: hidden; border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); background: var(--v2-surface-section); }
  .statify-v2 .customer-return-gallery img { width: 100%; height: 100%; object-fit: cover; }
  .statify-v2 .customer-return-actions { display: grid; gap: var(--v2-space-8); margin-top: var(--v2-space-20); padding-top: var(--v2-space-16); border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-return-actions h4 { margin: 0; font-size: 13px; }
  .statify-v2 .customer-return-action { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: var(--v2-space-12); padding: var(--v2-space-12); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); }
  .statify-v2 .customer-return-action > div { min-width: 0; display: grid; gap: var(--v2-space-4); }
  .statify-v2 .customer-return-action p { margin: 0; color: var(--v2-text-secondary); font-size: 11px; line-height: 1.4; }
  .statify-v2 .customer-return-action textarea { grid-column: 1 / -1; min-height: 76px; padding: var(--v2-space-8) var(--v2-space-12); resize: vertical; }
  .statify-v2 .customer-return-deadline { display: flex; align-items: center; justify-content: space-between; gap: var(--v2-space-12); margin-top: var(--v2-space-12); color: var(--v2-text-secondary); font-size: 11px; }
  .statify-v2 .customer-return-chat { margin-top: var(--v2-space-12); }
  .statify-v2 .customer-communication-modal__chats .v2-home-state .v2-button { margin-top: var(--v2-space-12); }
  .statify-v2 .customer-chat-body { min-height: 0; }
  .statify-v2 .customer-chat-list__avatar { width: 44px; height: 44px; display: grid; place-items: center; align-self: start; border-radius: 50%; color: var(--v2-text-secondary); background: var(--v2-surface-muted); }
  .statify-v2 .customer-chat-list__item { grid-template-columns: 44px minmax(0,1fr) 18px; }
  .statify-v2 .customer-chat-detail { grid-template-rows: auto minmax(0,1fr) auto; }
  .statify-v2 .customer-chat-detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--v2-space-16); padding-bottom: var(--v2-space-12); border-bottom: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-chat-detail__head h3 { margin: 0; font-size: 14px; }
  .statify-v2 .customer-chat-detail__head p { margin: var(--v2-space-2) 0 0; color: var(--v2-text-muted); font-size: 11px; }
  .statify-v2 .customer-chat-history { min-height: 0; display: flex; flex-direction: column; gap: var(--v2-space-8); overflow-y: auto; padding: var(--v2-space-16) 0; }
  .statify-v2 .customer-chat-message { max-width: 78%; display: flex; }
  .statify-v2 .customer-chat-message[data-sender="SELLER"] { align-self: flex-end; justify-content: flex-end; }
  .statify-v2 .customer-chat-message > div { display: grid; gap: var(--v2-space-4); padding: var(--v2-space-8) var(--v2-space-12); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); background: var(--v2-surface-section); }
  .statify-v2 .customer-chat-message[data-sender="SELLER"] > div { background: var(--v2-surface-muted); }
  .statify-v2 .customer-chat-message p { margin: 0; color: var(--v2-text-primary); font-size: 12px; line-height: 1.45; white-space: pre-wrap; }
  .statify-v2 .customer-chat-message time { color: var(--v2-text-muted); font-size: 9px; text-align: right; }
  .statify-v2 .customer-chat-message__attachment { font-size: 10px; }
  .statify-v2 .customer-chat-composer { display: grid; gap: var(--v2-space-8); padding-top: var(--v2-space-12); border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-chat-composer textarea { min-height: 72px; resize: vertical; }
  .statify-v2 .customer-questions-visibility { display: grid; gap: var(--v2-space-8); }
  .statify-v2 .customer-questions-visibility legend { margin-bottom: var(--v2-space-6); color: var(--v2-text-secondary); font-size: 11px; }
  .statify-v2 .customer-questions-visibility__choices { display: flex; flex-wrap: wrap; gap: var(--v2-space-8); }
  .statify-v2 .customer-questions-visibility label { display: inline-flex; align-items: center; gap: var(--v2-space-6); padding: var(--v2-space-8) var(--v2-space-12); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); cursor: pointer; }
  .statify-v2 .customer-questions-visibility label:has(input:checked) { border-color: var(--v2-border-strong); background: var(--v2-surface-hover); }
  .statify-v2 .customer-feedback-filters { max-width: 100%; flex-wrap: wrap; }
  .statify-v2 .customer-feedback-filters button span { font-variant-numeric: tabular-nums; }
  .statify-v2 .customer-feedback-modal__body { min-height: 0; display: grid; grid-template-columns: minmax(300px, 36%) minmax(0, 64%); overflow: hidden; }
  .statify-v2 .customer-feedback-modal__body.is-empty { display: block; }
  .statify-v2 .customer-feedback-modal__body.is-empty .customer-feedback-list { height: 100%; border-right: 0; }
  .statify-v2 .customer-feedback-modal__body.is-empty .customer-feedback-empty { min-height: 100%; }
  .statify-v2 .customer-feedback-modal__body.is-empty .customer-feedback-detail { display: none; }
  .statify-v2 .customer-feedback-list, .statify-v2 .customer-feedback-detail { opacity: 1; transition: opacity var(--v2-duration-fast) var(--v2-ease-enter); }
  .statify-v2 .customer-feedback-modal__body.is-updating > .customer-feedback-list,
  .statify-v2 .customer-feedback-modal__body.is-updating > .customer-feedback-detail,
  .statify-v2 .customer-feedback-detail.is-updating { opacity: .58; }
  .statify-v2 .customer-feedback-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border-right: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-feedback-list__item { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) 18px; align-items: start; gap: var(--v2-space-12); padding: var(--v2-space-12) var(--v2-space-16); border: 0; border-bottom: 1px solid var(--v2-border-subtle); color: var(--v2-text-primary); background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background-color var(--v2-duration-fast) var(--v2-ease-standard), box-shadow var(--v2-duration-fast) var(--v2-ease-standard); }
  .statify-v2 .customer-feedback-list__item:hover, .statify-v2 .customer-feedback-list__item.is-selected { background: var(--v2-surface-hover); }
  .statify-v2 .customer-feedback-list__photo { width: 48px; height: 60px; display: block; border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); background: var(--v2-surface-section); object-fit: contain; }
  .statify-v2 .customer-feedback-list__copy { min-width: 0; display: grid; align-content: start; gap: var(--v2-space-4); }
  .statify-v2 .customer-feedback-list__copy strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-feedback-list__context { min-width: 0; display: flex; gap: var(--v2-space-4); overflow: hidden; color: var(--v2-text-muted); font-size: 10px; white-space: nowrap; }
  .statify-v2 .customer-feedback-list__copy p { display: -webkit-box; margin: 1px 0 0; overflow: hidden; color: var(--v2-text-secondary); font-size: 12px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .statify-v2 .customer-feedback-list__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--v2-space-8); margin-top: 2px; }
  .statify-v2 .customer-feedback-list__state { overflow: hidden; color: var(--v2-text-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-feedback-list__state[data-tone="success"] { color: var(--v2-status-success); }
  .statify-v2 .customer-feedback-list__state[data-tone="warning"] { color: var(--v2-status-warning); }
  .statify-v2 .customer-feedback-list__state[data-tone="danger"] { color: var(--v2-status-danger); }
  .statify-v2 .customer-feedback-list__arrow { align-self: center; color: var(--v2-text-muted); }
  .statify-v2 .customer-feedback-list__more { display: flex; justify-content: center; padding: var(--v2-space-12); }
  .statify-v2 .customer-feedback-stars { color: var(--v2-status-warning); font-size: 12px; letter-spacing: .04em; white-space: nowrap; }
  .statify-v2 .customer-feedback-empty { min-height: 260px; display: grid; place-items: center; align-content: center; gap: var(--v2-space-8); padding: var(--v2-space-24); color: var(--v2-text-secondary); text-align: center; }
  .statify-v2 .customer-feedback-empty strong { color: var(--v2-text-primary); font-size: 16px; }
  .statify-v2 .customer-feedback-empty p { margin: 0 0 var(--v2-space-8); font-size: 13px; }
  .statify-v2 .customer-feedback-empty__icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: var(--v2-space-4); border-radius: var(--v2-radius-pill); color: var(--v2-status-success); background: var(--v2-status-success-soft); }
  .statify-v2 .customer-feedback-detail { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: var(--v2-space-24); }
  .statify-v2 .customer-feedback-detail__back { display: none; margin: calc(-1 * var(--v2-space-8)) 0 var(--v2-space-8) calc(-1 * var(--v2-space-12)); }
  .statify-v2 .customer-feedback-detail__head { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: start; gap: var(--v2-space-12); padding-bottom: var(--v2-space-16); border-bottom: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-feedback-detail__photo { width: 58px; height: 72px; display: block; border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); background: var(--v2-surface-section); object-fit: contain; }
  .statify-v2 .customer-feedback-detail__identity { min-width: 0; }
  .statify-v2 .customer-feedback-detail__head h3 { margin: 0; font-size: 17px; line-height: 1.3; }
  .statify-v2 .customer-feedback-detail__head p { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v2-space-4); margin: 5px 0 0; color: var(--v2-text-muted); font-size: 11px; }
  .statify-v2 .customer-feedback-detail__section { margin-top: var(--v2-space-20); }
  .statify-v2 .customer-feedback-detail__section h4 { margin: 0 0 var(--v2-space-8); color: var(--v2-text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
  .statify-v2 .customer-feedback-detail__section p { margin: 0 0 var(--v2-space-8); line-height: 1.55; white-space: pre-wrap; }
  .statify-v2 .customer-feedback-answer { padding-top: var(--v2-space-4); }
  .statify-v2 .customer-feedback-answer small { color: var(--v2-text-muted); font-size: 11px; }
  .statify-v2 .customer-feedback-reply-start { display: flex; justify-content: flex-end; margin-top: var(--v2-space-20); padding-top: var(--v2-space-16); border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-feedback-composer { display: grid; gap: var(--v2-space-12); margin-top: var(--v2-space-20); padding-top: var(--v2-space-16); border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-feedback-composer textarea { width: 100%; min-height: 132px; padding: var(--v2-space-12); resize: vertical; line-height: 1.5; }
  .statify-v2 .customer-feedback-composer__meta, .statify-v2 .customer-feedback-composer__actions { display: flex; align-items: center; justify-content: space-between; gap: var(--v2-space-8); }
  .statify-v2 .customer-feedback-composer__meta { color: var(--v2-text-muted); font-size: 10px; }
  .statify-v2 .customer-feedback-composer__actions { justify-content: flex-end; }
  .statify-v2 .customer-feedback-confirmation { display: grid; gap: var(--v2-space-12); margin-top: var(--v2-space-16); padding-top: var(--v2-space-16); border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-feedback-confirmation pre { max-height: 180px; margin: 0; overflow: auto; font: inherit; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
  .statify-v2 .customer-feedback-inline-status { display: grid; gap: var(--v2-space-2); margin-top: var(--v2-space-12); color: var(--v2-text-secondary); font-size: 12px; }
  .statify-v2 .customer-feedback-inline-status strong { color: var(--v2-text-primary); }
  .statify-v2 .customer-feedback-approval { display: grid; gap: var(--v2-space-12); margin-top: var(--v2-space-20); padding-top: var(--v2-space-16); border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-feedback-approval > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: var(--v2-space-8); }
  .statify-v2 .customer-feedback-approval > div:first-child span { color: var(--v2-text-muted); font-size: 10px; }
  .statify-v2 .customer-feedback-approval p { margin: 0; padding: var(--v2-space-12); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); background: var(--v2-surface-section); line-height: 1.5; white-space: pre-wrap; }
  .statify-v2 .customer-feedback-approval textarea { min-height: 124px; padding: var(--v2-space-12); line-height: 1.5; resize: vertical; }

  .statify-v2 .customer-feedback-modal[data-view="settings"] .customer-feedback-modal__filters,
  .statify-v2 .customer-feedback-modal[data-view="settings"] .customer-feedback-modal__body { display: none; }
  .statify-v2 .customer-feedback-settings-view:not([hidden]) { min-height: 0; grid-row: 2 / 4; display: grid; align-content: start; gap: var(--v2-space-12); padding: var(--v2-space-20); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  .statify-v2 .customer-communication-modal .customer-question-settings-view:not([hidden]) { grid-row: 2; }
  .statify-v2 .customer-feedback-settings-activation { display: flex; align-items: center; justify-content: space-between; gap: var(--v2-space-16); padding-bottom: var(--v2-space-16); border-bottom: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-feedback-settings-activation > div { min-width: 0; display: grid; gap: var(--v2-space-4); }
  .statify-v2 .customer-feedback-settings-activation h3 { margin: 0; font-size: 14px; font-weight: 600; }
  .statify-v2 .customer-feedback-settings-activation strong { color: var(--v2-text-secondary); font-size: 12px; }
  .statify-v2 .customer-feedback-settings-activation p { margin: 0; color: var(--v2-text-muted); font-size: 12px; line-height: 1.45; }
  .statify-v2 .customer-feedback-settings-activation .v2-button { flex: 0 0 auto; }
  .statify-v2 .customer-feedback-settings-ratings { display: grid; gap: var(--v2-space-8); }
  .statify-v2 .customer-feedback-settings-rating { overflow: hidden; border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); }
  .statify-v2 .customer-feedback-settings-rating__summary { width: 100%; min-height: 48px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: var(--v2-space-12); padding: var(--v2-space-8) var(--v2-space-12); border: 0; color: var(--v2-text-primary); background: transparent; text-align: left; cursor: pointer; }
  .statify-v2 .customer-feedback-settings-rating__summary:hover { background: var(--v2-surface-hover); }
  .statify-v2 .customer-feedback-settings-rating__summary strong { font-size: 15px; }
  .statify-v2 .customer-feedback-settings-rating__summary > span:nth-child(2) { overflow: hidden; color: var(--v2-text-secondary); font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-feedback-settings-rating__summary > [data-v2-icon] { transition: transform 160ms ease; }
  .statify-v2 .customer-feedback-settings-rating[data-expanded="true"] .customer-feedback-settings-rating__summary > [data-v2-icon] { transform: rotate(90deg); }
  .statify-v2 .customer-feedback-settings-rating__panel { display: grid; gap: var(--v2-space-16); padding: var(--v2-space-4) var(--v2-space-12) var(--v2-space-16) 68px; }
  .statify-v2 .customer-feedback-settings-rating__panel[hidden] { display: none; }
  .statify-v2 .customer-feedback-settings-rating fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
  .statify-v2 .customer-feedback-settings-rating legend { margin-bottom: var(--v2-space-6); color: var(--v2-text-secondary); font-size: 11px; }
  .statify-v2 .customer-feedback-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v2-space-6) var(--v2-space-8); }
  .statify-v2 .customer-feedback-choice { min-width: 0; min-height: 36px; display: flex; align-items: flex-start; gap: var(--v2-space-6); padding: var(--v2-space-8); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); color: var(--v2-text-primary); font-size: 12px; cursor: pointer; }
  .statify-v2 .customer-feedback-choice:has(input:checked) { border-color: var(--v2-border-strong); background: var(--v2-surface-hover); }
  .statify-v2 .customer-feedback-choice input { width: 14px; height: 14px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--v2-text-primary); }
  .statify-v2 .customer-feedback-choice__copy { min-width: 0; display: grid; gap: var(--v2-space-2); }
  .statify-v2 .customer-feedback-choice__copy > span { font-weight: 500; }
  .statify-v2 .customer-feedback-choice__copy small { color: var(--v2-text-muted); font-size: 11px; line-height: 1.4; }
  .statify-v2 .customer-feedback-settings-publication { margin-top: 0 !important; }
  .statify-v2 .customer-feedback-settings-templates, .statify-v2 .customer-feedback-settings-assistant { display: grid; gap: var(--v2-space-8); }
  .statify-v2 .customer-feedback-settings-templates[hidden], .statify-v2 .customer-feedback-settings-assistant[hidden] { display: none; }
  .statify-v2 .customer-feedback-settings-templates h3, .statify-v2 .customer-feedback-settings-assistant h3 { margin: 0; font-size: 12px; font-weight: 600; }
  .statify-v2 .customer-feedback-settings-template { display: grid; grid-template-columns: 78px minmax(0, 1fr) 36px; align-items: start; gap: var(--v2-space-8); }
  .statify-v2 .customer-feedback-settings-template__enabled { min-height: 36px; display: flex; align-items: center; gap: var(--v2-space-4); color: var(--v2-text-secondary); font-size: 11px; }
  .statify-v2 .customer-feedback-settings-template textarea { min-height: 68px; padding: var(--v2-space-8) var(--v2-space-12); line-height: 1.4; resize: vertical; }
  .statify-v2 .customer-feedback-settings-name { display: flex; align-items: center; gap: var(--v2-space-6); color: var(--v2-text-secondary); font-size: 12px; cursor: pointer; }
  .statify-v2 .customer-feedback-settings-name input { width: 14px; height: 14px; margin: 0; accent-color: var(--v2-text-primary); }
  .statify-v2 .customer-feedback-settings-name-preview,
  .statify-v2 .customer-feedback-settings-rotation,
  .statify-v2 .customer-feedback-settings-limit,
  .statify-v2 .customer-feedback-settings-template-message { margin: 0; color: var(--v2-text-muted); font-size: 11px; line-height: 1.45; }
  .statify-v2 .customer-feedback-settings-name-preview[hidden],
  .statify-v2 .customer-feedback-settings-limit[hidden],
  .statify-v2 .customer-feedback-settings-template-message[hidden] { display: none; }
  .statify-v2 .customer-feedback-settings-template-actions { display: flex; flex-wrap: wrap; gap: var(--v2-space-8); }
  .statify-v2 .customer-feedback-settings-assistant p,
  .statify-v2 .customer-feedback-settings-assistant-delivery p { margin: 0; color: var(--v2-text-secondary); font-size: 12px; line-height: 1.5; }
  .statify-v2 .customer-feedback-settings-assistant .customer-feedback-settings-assistant__quiet { color: var(--v2-text-muted); font-size: 11px; }
  .statify-v2 .customer-feedback-settings-assistant-delivery { display: grid; justify-items: start; gap: var(--v2-space-4); padding: var(--v2-space-8) var(--v2-space-12); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); }
  .statify-v2 .customer-feedback-settings-assistant-delivery[hidden] { display: none; }
  .statify-v2 .customer-feedback-settings-assistant-delivery strong { color: var(--v2-text-primary); font-size: 12px; font-weight: 600; }
  .statify-v2 .customer-feedback-settings-assistant-delivery .v2-link { margin-top: var(--v2-space-2); font-size: 11px; }
  .statify-v2 .customer-feedback-settings-actions { position: sticky; bottom: calc(-1 * var(--v2-space-20)); display: flex; justify-content: flex-end; gap: var(--v2-space-8); margin: 0 calc(-1 * var(--v2-space-20)) calc(-1 * var(--v2-space-20)); padding: var(--v2-space-16) var(--v2-space-20); border-top: 1px solid var(--v2-border-subtle); background: var(--v2-surface-card); }
  .statify-v2 .customer-question-settings-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v2-space-16); padding-top: var(--v2-space-4); }
  .statify-v2 .customer-question-settings-options .customer-feedback-choice-grid { grid-template-columns: minmax(0, 1fr); gap: var(--v2-space-8); }
  .statify-v2 .customer-communication-channels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--v2-space-12); }
  .statify-v2 .customer-communication-channel { display: grid; align-content: start; gap: var(--v2-space-12); padding: var(--v2-space-16); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); }
  .statify-v2 .customer-communication-channel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--v2-space-12); }
  .statify-v2 .customer-communication-channel__head h3 { margin: 0; font-size: 13px; }
  .statify-v2 .customer-communication-channel__head p { margin: var(--v2-space-2) 0 0; color: var(--v2-text-muted); font-size: 10px; line-height: 1.4; }
  .statify-v2 .customer-communication-channel__publication { margin: 0; padding: 0; border: 0; }
  .statify-v2 .customer-communication-channel__publication legend { margin-bottom: var(--v2-space-6); color: var(--v2-text-secondary); font-size: 11px; }
  .statify-v2 .customer-question-settings-options fieldset { min-width: 0; display: grid; grid-template-rows: auto 1fr; margin: 0; padding: 0; border: 0; }
  .statify-v2 .customer-question-settings-options legend { margin-bottom: var(--v2-space-6); color: var(--v2-text-secondary); font-size: 11px; }
  .statify-v2 .customer-communication-channel .customer-feedback-choice { min-height: 40px; align-items: center; padding: var(--v2-space-8) var(--v2-space-12); font-size: 11px; line-height: 1.25; }
  .statify-v2 .customer-question-assistant-explainer,
  .statify-v2 .customer-question-assistant-rules,
  .statify-v2 .customer-question-presets-intro { display: grid; gap: var(--v2-space-8); }
  .statify-v2 .customer-question-assistant-explainer h3,
  .statify-v2 .customer-question-assistant-rules h3,
  .statify-v2 .customer-question-presets-intro h3 { margin: 0; color: var(--v2-text-primary); font-size: 12px; font-weight: 600; }
  .statify-v2 .customer-question-assistant-explainer dl { display: grid; margin: 0; }
  .statify-v2 .customer-question-assistant-explainer dl > div { display: grid; grid-template-columns: minmax(140px, .38fr) minmax(0, 1fr); gap: var(--v2-space-12); padding: var(--v2-space-8) 0; border-bottom: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-question-assistant-explainer dl > div:first-child { border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .customer-question-assistant-explainer dt { color: var(--v2-text-primary); font-size: 11px; font-weight: 600; }
  .statify-v2 .customer-question-assistant-explainer dd { margin: 0; color: var(--v2-text-secondary); font-size: 11px; line-height: 1.45; }
  .statify-v2 .customer-question-assistant-rules { padding: var(--v2-space-12); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-control); background: var(--v2-surface-muted); }
  .statify-v2 .customer-question-assistant-rules ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v2-space-6) var(--v2-space-16); margin: 0; padding-left: 18px; color: var(--v2-text-secondary); font-size: 11px; line-height: 1.4; }
  .statify-v2 .customer-question-presets-intro p { margin: 0; color: var(--v2-text-muted); font-size: 11px; line-height: 1.45; }
  .statify-v2 .customer-question-preset .customer-feedback-settings-rating__summary { grid-template-columns: minmax(0, 1fr) 18px; }
  .statify-v2 .customer-question-preset .customer-feedback-settings-rating__summary > span:first-child { min-width: 0; display: grid; gap: var(--v2-space-2); }
  .statify-v2 .customer-question-preset .customer-feedback-settings-rating__summary strong { font-size: 13px; font-weight: 600; }
  .statify-v2 .customer-question-preset .customer-feedback-settings-rating__summary small { overflow: hidden; color: var(--v2-text-muted); font-size: 11px; font-weight: 400; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .customer-question-preset .customer-feedback-settings-rating__panel { padding-left: var(--v2-space-12); }
  .statify-v2 .customer-question-preset .customer-feedback-settings-rating__panel label { display: grid; gap: var(--v2-space-6); color: var(--v2-text-secondary); font-size: 11px; }
  .statify-v2 .customer-question-preset textarea { min-height: 88px; padding: var(--v2-space-12); line-height: 1.45; resize: vertical; }
  .statify-v2 .customer-question-seller-clarification { display: grid; gap: var(--v2-space-12); padding: var(--v2-space-16); border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); background: var(--v2-surface-muted); }
  .statify-v2 .customer-question-seller-clarification > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: var(--v2-space-12); }
  .statify-v2 .customer-question-seller-clarification strong { font-size: 13px; }
  .statify-v2 .customer-question-seller-clarification > div:first-child span { color: var(--v2-text-muted); font-size: 11px; }
  .statify-v2 .customer-question-seller-clarification p { margin: 0; color: var(--v2-text-primary); font-size: 13px; line-height: 1.45; }
  .statify-v2 .customer-question-seller-clarification label { display: grid; gap: var(--v2-space-6); color: var(--v2-text-secondary); font-size: 11px; }
  .statify-v2 .customer-question-seller-clarification textarea { min-height: 76px; resize: vertical; }

  /* Shared modal inspection grammar. */
  .statify-v2 .v2-home-modal--wide { width: min(900px, calc(100vw - 32px)); }
  .statify-v2 #v2-home-finance-modal,
  .statify-v2 #v2-home-activity-modal,
  .statify-v2 #v2-home-finance-warnings-modal,
  .statify-v2 #v2-home-compare-modal,
  .statify-v2 #v2-home-report-modal,
  .statify-v2 #v2-home-orders-modal {
    max-height: calc(100dvh - 24px);
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .statify-v2 #v2-home-finance-modal[open],
  .statify-v2 #v2-home-activity-modal[open],
  .statify-v2 #v2-home-finance-warnings-modal[open],
  .statify-v2 #v2-home-compare-modal[open],
  .statify-v2 #v2-home-report-modal[open],
  .statify-v2 #v2-home-orders-modal[open] { display: grid; }
  .statify-v2 #v2-home-finance-modal .v2-modal__body,
  .statify-v2 #v2-home-activity-modal .v2-modal__body,
  .statify-v2 #v2-home-finance-warnings-modal .v2-modal__body,
  .statify-v2 #v2-home-compare-modal .v2-modal__body,
  .statify-v2 #v2-home-report-modal .v2-modal__body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .statify-v2 #v2-home-finance-warnings-modal { width: min(660px, calc(100vw - 32px)); }
  .statify-v2 .v2-home-result__summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--v2-space-20);
    padding-block: var(--v2-space-8);
  }

  .statify-v2 .v2-home-result__summary-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .statify-v2 .v2-home-result__summary-value {
    display: block;
    margin-top: var(--v2-space-12);
    line-height: 1.1;
  }

  .statify-v2 .v2-home-result__period { display: grid; justify-items: end; gap: var(--v2-space-4); color: var(--v2-text-secondary); font-size: 12px; text-align: right; }
  .statify-v2 .v2-home-result__period b { color: var(--v2-text-primary); font-size: 13px; }
  .statify-v2 .v2-home-metrics,
  .statify-v2 .v2-home-documents,
  .statify-v2 .v2-home-warning-products,
  .statify-v2 .v2-home-orders-list { display: grid; }
  .statify-v2 .v2-home-metric,
  .statify-v2 .v2-home-report-row,
  .statify-v2 .v2-home-warning-row {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v2-space-12);
    border-bottom: 1px solid var(--v2-border-subtle);
    font-size: 13px;
  }

  .statify-v2 .v2-home-metric > span { display: inline-flex; align-items: center; gap: var(--v2-space-6); color: var(--v2-text-secondary); }
  .statify-v2 .v2-home-metric strong,
  .statify-v2 .v2-home-report-row b { flex: 0 0 auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .statify-v2 .v2-home-info {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--v2-border-default);
    border-radius: 50%;
    color: var(--v2-text-muted);
    background: transparent;
    font-size: 11px;
    font-weight: 600;
  }

  .statify-v2 .v2-home-finance-modal__documents { margin-top: var(--v2-space-20); }
  .statify-v2 .v2-home-finance-modal__documents > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v2-space-12);
    margin-bottom: var(--v2-space-8);
  }

  .statify-v2 .v2-home-documents { gap: var(--v2-space-4); margin-bottom: var(--v2-space-12); }
  .statify-v2 .v2-home-document {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v2-space-12);
    padding: var(--v2-space-8) var(--v2-space-12);
    border: 0;
    border-radius: var(--v2-radius-control);
    color: var(--v2-text-primary);
    background: var(--v2-surface-section);
    text-align: left;
  }

  .statify-v2 .v2-home-document:hover { background: var(--v2-surface-hover); }
  .statify-v2 .v2-home-document:disabled { opacity: .62; cursor: default; }
  .statify-v2 .v2-home-document > span:first-child { display: grid; gap: var(--v2-space-2); }
  .statify-v2 .v2-home-document small { color: var(--v2-text-muted); }

  .statify-v2 .v2-home-warning-group + .v2-home-warning-group { margin-top: var(--v2-space-20); }
  .statify-v2 .v2-home-warning-group > h3,
  .statify-v2 .v2-home-report-breakdown > h3,
  .statify-v2 .v2-home-report-deductions h4 {
    margin-bottom: var(--v2-space-8);
    color: var(--v2-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .statify-v2 .v2-home-warning-row .v2-link,
  .statify-v2 .v2-home-warning-product > .v2-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: var(--v2-space-4); text-decoration: none; }
  .statify-v2 .v2-home-warning-product {
    min-height: 68px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--v2-space-12);
    padding-block: var(--v2-space-8);
    border-bottom: 1px solid var(--v2-border-subtle);
  }

  .statify-v2 .v2-home-warning-product > img,
  .statify-v2 .v2-home-warning-product__photo { width: 40px; height: 48px; display: block; border-radius: var(--v2-radius-control); background: var(--v2-surface-section); object-fit: cover; }
  .statify-v2 .v2-home-warning-product > div { min-width: 0; display: grid; gap: var(--v2-space-2); }
  .statify-v2 .v2-home-warning-product strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
  .statify-v2 .v2-home-warning-product small,
  .statify-v2 .v2-home-warning-product > div > span { color: var(--v2-text-muted); font-size: 12px; }

  .statify-v2 .v2-home-history-group,
  .statify-v2 .v2-home-report-tech { border-block: 1px solid var(--v2-border-subtle); }
  .statify-v2 .v2-home-history-group + .v2-home-history-group { border-top: 0; }
  .statify-v2 .v2-home-history-group > summary,
  .statify-v2 .v2-home-report-tech > summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: var(--v2-space-8);
    cursor: pointer;
    list-style: none;
    color: var(--v2-text-secondary);
    font-weight: 500;
  }

  .statify-v2 .v2-home-history-group > summary::-webkit-details-marker,
  .statify-v2 .v2-home-report-tech > summary::-webkit-details-marker,
  .statify-v2 .v2-home-report-group > summary::-webkit-details-marker { display: none; }
  .statify-v2 .v2-home-history-group > summary .v2-icon,
  .statify-v2 .v2-home-report-tech > summary .v2-icon { margin-left: auto; transition: transform var(--v2-duration-fast) var(--v2-ease-standard); }
  .statify-v2 .v2-home-history-group[open] > summary .v2-icon { transform: rotate(180deg); }
  .statify-v2 .v2-home-report-tech[open] > summary .v2-icon { transform: rotate(90deg); }
  .statify-v2 .v2-home-history-group > .v2-home-activity-list { margin-bottom: var(--v2-space-12); padding-left: var(--v2-space-12); }

  .statify-v2 .v2-home-compare-period {
    margin-bottom: var(--v2-space-12);
    padding: var(--v2-space-8) var(--v2-space-12);
    border-radius: var(--v2-radius-control);
    background: var(--v2-surface-section);
    font-size: 12px;
    font-weight: 600;
  }

  .statify-v2 .v2-home-compare-summary,
  .statify-v2 .v2-home-compare-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v2-space-12); }
  .statify-v2 .v2-home-compare-summary { gap: var(--v2-space-16); margin-bottom: var(--v2-space-20); }
  .statify-v2 .v2-home-compare-summary section,
  .statify-v2 .v2-home-compare-breakdown-column {
    min-width: 0;
    padding: var(--v2-space-12);
    border: 1px solid var(--v2-border-default);
    border-radius: var(--v2-radius-object);
    background: var(--v2-surface-card);
  }

  .statify-v2 .v2-home-compare-summary section { display: flex; flex-direction: column; }
  .statify-v2 .v2-home-compare-summary__head { display: grid; gap: var(--v2-space-2); }
  .statify-v2 .v2-home-compare-summary span,
  .statify-v2 .v2-home-compare-summary small { color: var(--v2-text-secondary); }
  .statify-v2 .v2-home-compare-summary__value { display: block; margin-top: var(--v2-space-8); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .statify-v2 .v2-home-compare-summary__details { margin-top: var(--v2-space-12); border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .v2-home-compare-summary__details .v2-home-metric { min-height: 32px; }
  .statify-v2 #v2-home-compare-modal .v2-table-shell { overflow-x: auto; overflow-y: hidden; scrollbar-gutter: auto; }
  .statify-v2 .v2-home-compare-table { min-width: 760px; }
  .statify-v2 .v2-home-compare-table th:first-child { width: 43%; }
  .statify-v2 .v2-home-compare-table th,
  .statify-v2 .v2-home-compare-table td { padding-block: var(--v2-space-8); font-size: 12px; }
  .statify-v2 .v2-home-compare-expand {
    display: inline-flex;
    align-items: center;
    gap: var(--v2-space-4);
    margin-left: var(--v2-space-4);
    padding: 2px 0;
    border: 0;
    color: var(--v2-action-primary);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
    text-underline-offset: 3px;
  }
  .statify-v2 .v2-home-compare-expand:hover { text-decoration-color: currentColor; }
  .statify-v2 .v2-home-compare-expand .v2-icon { width: 14px; height: 14px; }
  .statify-v2 .v2-home-compare-expand[aria-expanded="true"] .v2-icon { transform: rotate(180deg); }
  .statify-v2 .v2-home-compare-breakdown-row > td { padding: var(--v2-space-12); background: var(--v2-surface-section); }
  .statify-v2 .v2-home-compare-breakdown-column > strong { display: block; margin-bottom: var(--v2-space-8); font-size: 12px; }
  .statify-v2 .v2-home-compare-breakdown-item,
  .statify-v2 .v2-home-compare-breakdown-column summary,
  .statify-v2 .v2-home-compare-breakdown-details > div {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v2-space-8);
    border-bottom: 1px solid var(--v2-border-subtle);
    font-size: 12px;
  }

  .statify-v2 .v2-home-compare-breakdown-column summary { cursor: pointer; }
  .statify-v2 .v2-home-compare-breakdown-details { padding-left: var(--v2-space-8); }
  .statify-v2 .v2-home-compare-breakdown-details p,
  .statify-v2 .v2-home-report-tech > div > p { margin-block: var(--v2-space-8); color: var(--v2-text-muted); font-size: 12px; }
  .statify-v2 .v2-home-modal-note,
  .statify-v2 .v2-home-report-lead { margin-block: var(--v2-space-16); color: var(--v2-text-secondary); font-size: 12px; }
  .statify-v2 .v2-home-report-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v2-space-8); margin-bottom: var(--v2-space-20); }
  .statify-v2 .v2-home-report-summary section {
    display: grid;
    gap: var(--v2-space-4);
    padding: var(--v2-space-12);
    border: 1px solid var(--v2-border-default);
    border-radius: var(--v2-radius-object);
    background: var(--v2-surface-card);
  }

  .statify-v2 .v2-home-report-summary span { color: var(--v2-text-muted); font-size: 12px; text-transform: uppercase; }
  .statify-v2 .v2-home-report-summary strong { font-size: 18px; font-variant-numeric: tabular-nums; }
  .statify-v2 .v2-home-report-alert { margin-bottom: var(--v2-space-12); padding: var(--v2-space-8) var(--v2-space-12); border: 1px solid var(--v2-status-warning-border); border-radius: var(--v2-radius-control); color: var(--v2-text-secondary); background: var(--v2-status-warning-soft); font-size: 12px; }
  .statify-v2 .v2-home-report-group {
    margin-bottom: var(--v2-space-8);
    overflow: hidden;
    border: 1px solid var(--v2-border-default);
    border-radius: var(--v2-radius-object);
    background: var(--v2-surface-section);
  }

  .statify-v2 .v2-home-report-group--income { border-left: 3px solid var(--v2-status-success); }
  .statify-v2 .v2-home-report-group--deductions { border-left: 3px solid var(--v2-action-primary); }
  .statify-v2 .v2-home-report-group > header,
  .statify-v2 .v2-home-report-group > summary {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v2-space-12);
    padding: var(--v2-space-8) var(--v2-space-12);
    cursor: pointer;
    list-style: none;
  }

  .statify-v2 .v2-home-report-group > header > span,
  .statify-v2 .v2-home-report-group > summary > span { display: grid; gap: var(--v2-space-2); }
  .statify-v2 .v2-home-report-group > header small,
  .statify-v2 .v2-home-report-group > summary small,
  .statify-v2 .v2-home-report-row small { display: block; color: var(--v2-text-muted); font-size: 12px; }
  .statify-v2 .v2-home-report-group > header + div,
  .statify-v2 .v2-home-report-deductions { padding: var(--v2-space-12); background: var(--v2-surface-card); }
  .statify-v2 .v2-home-report-deductions { border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .v2-home-report-deductions > p:first-child { margin-bottom: var(--v2-space-12); color: var(--v2-text-secondary); font-size: 12px; line-height: 1.55; }
  .statify-v2 .v2-home-report-other { margin-top: var(--v2-space-12); padding: var(--v2-space-8); border: 1px solid var(--v2-status-danger-border); border-radius: var(--v2-radius-object); background: var(--v2-status-danger-soft); }
  .statify-v2 .v2-home-report-tech { margin-top: var(--v2-space-16); }
  .statify-v2 .v2-home-report-table { min-width: 1040px; }
  .statify-v2 .v2-home-report-table td small { display: block; color: var(--v2-text-muted); font-size: 12px; }
  .statify-v2 .v2-home-report-archive { display: grid; gap: var(--v2-space-12); }
  .statify-v2 .v2-home-report-month { overflow: hidden; border: 1px solid var(--v2-border-subtle); border-radius: var(--v2-radius-object); background: var(--v2-surface-card); }
  .statify-v2 .v2-home-report-month > summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: var(--v2-space-12); padding: var(--v2-space-12) var(--v2-space-16); cursor: pointer; list-style: none; }
  .statify-v2 .v2-home-report-month > summary::-webkit-details-marker { display: none; }
  .statify-v2 .v2-home-report-month > summary > span:first-child { min-width: 0; display: grid; gap: var(--v2-space-2); }
  .statify-v2 .v2-home-report-month > summary strong { font-size: 14px; font-weight: 600; }
  .statify-v2 .v2-home-report-month > summary small { color: var(--v2-text-muted); font-size: 11px; }
  .statify-v2 .v2-home-report-month > summary > [data-v2-icon] { flex: 0 0 auto; transition: transform var(--v2-duration-fast) var(--v2-ease-standard); }
  .statify-v2 .v2-home-report-month[open] > summary > [data-v2-icon] { transform: rotate(180deg); }
  .statify-v2 .v2-home-report-month__periods { border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .v2-home-report-period { display: grid; grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr); align-items: start; gap: var(--v2-space-16); padding: var(--v2-space-12) var(--v2-space-16); }
  .statify-v2 .v2-home-report-period + .v2-home-report-period { border-top: 1px solid var(--v2-border-subtle); }
  .statify-v2 .v2-home-report-period > header { min-width: 0; display: grid; gap: var(--v2-space-2); padding-top: var(--v2-space-8); }
  .statify-v2 .v2-home-report-period > header strong { font-size: 12px; font-weight: 600; }
  .statify-v2 .v2-home-report-period > header small { color: var(--v2-text-muted); font-size: 11px; }
  .statify-v2 .v2-home-report-period__documents { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v2-space-8); }
  .statify-v2 .v2-home-report-period .v2-home-document { min-height: 44px; }
  .statify-v2 .v2-home-orders-modal .v2-modal__body { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--v2-space-16); overflow: hidden; }
  .statify-v2 .v2-home-orders-list { min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: var(--v2-space-8); padding-right: var(--v2-space-4); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  .statify-v2 .v2-home-photo-modal { width: min(720px, calc(100vw - 20px)); max-width: none; height: auto; max-height: calc(100dvh - 20px); padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: var(--v2-surface-card); box-shadow: var(--v2-shadow-floating); }
  .statify-v2 .v2-home-photo-modal__panel { max-height: calc(100dvh - 20px); display: flex; flex-direction: column; }
  .statify-v2 .v2-home-photo-modal header { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--v2-space-16); padding: 0 22px; border-bottom: 1px solid var(--v2-border-subtle); }
  .statify-v2 .v2-home-photo-modal header div { min-width: 0; }
  .statify-v2 .v2-home-photo-modal header strong { display: block; overflow: hidden; font-size: 14px; line-height: 1.3; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .statify-v2 .v2-home-photo-modal header button { flex: 0 0 auto; }
  .statify-v2 .v2-home-photo-modal__stage { height: min(760px, calc(100dvh - 76px)); min-height: 0; flex: 0 1 auto; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: var(--v2-space-12); padding: 20px var(--v2-space-16); background: var(--v2-surface-section); }
  .statify-v2 .v2-home-photo-modal__stage img { display: block; width: auto; max-width: 100%; height: auto; min-height: 0; max-height: 100%; justify-self: center; border-radius: var(--v2-radius-object); object-fit: contain; }
}

@media (max-width: 1360px) {
  @layer pages {
    .statify-v2 .v2-home-results__surface { grid-template-columns: minmax(0, 68fr) minmax(300px, 32fr); }
    .statify-v2 .v2-home-operational-grid { grid-template-columns: repeat(3, minmax(120px, 1fr)); row-gap: var(--v2-space-6); }
    .statify-v2 .v2-home-operational-metric:nth-child(4) { border-left: 0; }
    .statify-v2 .v2-home-lower { grid-template-columns: 1fr 1.4fr; }
    .statify-v2 .v2-home-lower-block--attention { grid-column: 1 / -1; border-top: 1px solid var(--v2-border-default); border-left: 0; }
  }
}

@media (max-width: 900px) {
  @layer pages {
    .statify-v2 .portfolio-toolbar { grid-template-columns: 1fr 1fr; }
    .statify-v2 .portfolio-search { grid-column: 1 / -1; grid-row: 1; }
    .statify-v2 .portfolio-periods { overflow-x: auto; }
    .statify-v2 .portfolio-subtoolbar { align-items: stretch; flex-direction: column; }
    .statify-v2 .portfolio-filter-chips { max-width: 100%; overflow-x: auto; }
    .statify-v2 .portfolio-metric { align-items: flex-start; flex-direction: column; }
    .statify-v2 .portfolio-metric .portfolio-segmented { max-width: 100%; overflow-x: auto; }
    .statify-v2 .portfolio-matrix-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .statify-v2 .v2-home-results__surface { grid-template-columns: 1fr; }
    .statify-v2 .v2-home-result--closed { border-top: 1px solid var(--v2-border-default); border-left: 0; }
    .statify-v2 .v2-home-result__head { align-items: flex-start; display: grid; }
    .statify-v2 .v2-home-period-controls { justify-content: flex-start; }
    .statify-v2 .v2-home-operational-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .statify-v2 .v2-home-operational-metric { padding: var(--v2-space-8) var(--v2-space-12); border-top: 1px solid var(--v2-border-subtle); }
    .statify-v2 .v2-home-operational-metric:nth-child(odd) { padding-left: 0; border-left: 0; }
    .statify-v2 .v2-home-operational-metric:nth-child(even) { padding-right: 0; }
    .statify-v2 .v2-home-operational-metric:nth-child(4) { border-left: 1px solid var(--v2-border-subtle); }
    .statify-v2 .v2-home-operational-metric:first-child,
    .statify-v2 .v2-home-operational-metric:nth-child(2) { border-top: 0; }
    .statify-v2 .v2-home-finance-side__head { align-items: flex-start; }
    .statify-v2 .v2-home-lower { grid-template-columns: 1fr; }
    .statify-v2 .v2-home-lower-block:nth-child(n) { grid-column: auto; border-top: 1px solid var(--v2-border-default); border-left: 0; }
    .statify-v2 .v2-home-lower-block:first-child { border-top: 0; }
    .statify-v2 .v2-home-compare-summary,
    .statify-v2 .v2-home-compare-breakdown { grid-template-columns: 1fr; }
  }
}

@media (max-width: 700px) {
  @layer pages {
    .statify-v2 .v2-home-finance-period-menu__months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .statify-v2 .customer-workspace-overview { grid-template-columns: 1fr; }
    .statify-v2 .customer-feedback-widget__modules { width: 100%; }
    .statify-v2 .store-health { grid-column: auto; grid-template-columns: 1fr; gap: 14px; padding: 14px; }
    .statify-v2 .store-health__visual { min-height: 62px; }
    .statify-v2 .portfolio-modal { width: 100%; height: 94dvh; max-height: 94dvh; }
    .statify-v2 .portfolio-modal__header { padding: 12px 14px; }
    .statify-v2 .portfolio-modal__header-actions .v2-button { width: 38px; min-width: 38px; padding: 0; }
    .statify-v2 .portfolio-modal__header-actions .v2-button__label { display: none; }
    .statify-v2 .portfolio-modal__tabs,
    .statify-v2 .portfolio-modal__controls { padding-inline: 14px; }
    .statify-v2 .portfolio-toolbar { grid-template-columns: 1fr; }
    .statify-v2 .portfolio-search,
    .statify-v2 .portfolio-periods { grid-column: 1; grid-row: auto; }
    .statify-v2 .portfolio-seasonality { justify-self: start; }
    .statify-v2 .portfolio-table-wrap { margin-inline: 14px; }
    .statify-v2 .portfolio-matrix-cards { grid-template-columns: 1fr; margin-inline: 14px; }
    .statify-v2 .customer-feedback-modal { width: 100%; height: 92dvh; max-height: 92dvh; }
    .statify-v2 .customer-feedback-modal .v2-modal__header { padding: var(--v2-space-12) var(--v2-space-16); }
    .statify-v2 .customer-feedback-modal__filters { padding: var(--v2-space-8) var(--v2-space-16); }
    .statify-v2 .customer-feedback-filters { width: 100%; }
    .statify-v2 .customer-feedback-filters button { flex: 1 1 auto; }
    .statify-v2 .customer-feedback-modal__body { height: auto; min-height: 0; display: block; }
    .statify-v2 .customer-feedback-modal__body[data-mobile-view="list"] .customer-feedback-detail,
    .statify-v2 .customer-feedback-modal__body[data-mobile-view="detail"] .customer-feedback-list { display: none; }
    .statify-v2 .customer-feedback-list { height: 100%; border-right: 0; }
    .statify-v2 .customer-feedback-list__item.is-selected { box-shadow: none; }
    .statify-v2 .customer-feedback-detail { padding: var(--v2-space-16); }
    .statify-v2 .customer-return-dates { grid-template-columns: 1fr; }
    .statify-v2 .customer-return-action { grid-template-columns: 1fr; }
    .statify-v2 .customer-return-action .v2-button { width: 100%; }
    .statify-v2 .customer-returns-confirmation__actions { align-items: stretch; flex-direction: column-reverse; }
    .statify-v2 .customer-returns-confirmation__actions .v2-button { width: 100%; }
    .statify-v2 .customer-feedback-detail__back { display: inline-flex; }
    .statify-v2 .customer-feedback-detail__head { grid-template-columns: 52px minmax(0, 1fr); }
    .statify-v2 .customer-feedback-detail__head > .v2-status { grid-column: 2; justify-self: start; }
    .statify-v2 .customer-feedback-detail__photo { width: 52px; height: 64px; }
    .statify-v2 .customer-feedback-reply-start { justify-content: stretch; }
    .statify-v2 .customer-feedback-reply-start .v2-button { width: 100%; }
    .statify-v2 .customer-feedback-composer__actions { align-items: stretch; flex-direction: column-reverse; }
    .statify-v2 .customer-feedback-composer__actions .v2-button { width: 100%; }
    .statify-v2 .customer-feedback-modal__header-actions .v2-button { min-width: 0; padding-inline: var(--v2-space-8); }
    .statify-v2 .customer-feedback-settings-view:not([hidden]) { padding: var(--v2-space-16); }
    .statify-v2 .customer-feedback-settings-activation { align-items: stretch; flex-direction: column; }
    .statify-v2 .customer-feedback-settings-activation .v2-button { align-self: flex-start; }
    .statify-v2 .customer-feedback-settings-rating__summary { grid-template-columns: 36px minmax(0, 1fr) 18px; gap: var(--v2-space-8); }
    .statify-v2 .customer-feedback-settings-rating__panel { padding-left: var(--v2-space-12); }
    .statify-v2 .customer-feedback-choice-grid { grid-template-columns: 1fr; }
    .statify-v2 .customer-feedback-settings-template { grid-template-columns: 1fr 36px; }
    .statify-v2 .customer-feedback-settings-template__enabled { grid-column: 1 / -1; min-height: auto; }
    .statify-v2 .customer-feedback-settings-template-actions { align-items: stretch; flex-direction: column; }
    .statify-v2 .customer-feedback-settings-template-actions .v2-button { width: 100%; }
    .statify-v2 .customer-question-settings-options { grid-template-columns: 1fr; }
    .statify-v2 .customer-communication-channels { grid-template-columns: 1fr; }
    .statify-v2 .customer-chat-message { max-width: 92%; }
    .statify-v2 .customer-question-assistant-explainer dl > div { grid-template-columns: 1fr; gap: var(--v2-space-4); }
    .statify-v2 .customer-question-assistant-rules ul { grid-template-columns: 1fr; }
    .statify-v2 .customer-question-seller-clarification > div:first-child { align-items: flex-start; flex-direction: column; gap: var(--v2-space-4); }
    .statify-v2 .customer-feedback-settings-actions { align-items: stretch; flex-direction: column; margin-inline: calc(-1 * var(--v2-space-16)); padding-inline: var(--v2-space-16); }
    .statify-v2 .v2-home { min-height: calc(100dvh - 60px); padding: 20px 16px 104px; }
    .statify-v2 .v2-home-result--operational,
    .statify-v2 .v2-home-result--closed,
    .statify-v2 .v2-home-lower-block { padding: 18px 16px; }
    .statify-v2 .v2-home-result--operational { gap: var(--v2-space-16); }
    .statify-v2 .v2-home-result__head .v2-home-result-title { flex-basis: auto; }
    .statify-v2 .v2-home-period-controls { width: 100%; }
    .statify-v2 .v2-home-period-segmented { max-width: 100%; overflow-x: auto; }
    .statify-v2 .v2-home-period-segmented button { min-height: 36px; }
    .statify-v2 .v2-home-custom-period { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .statify-v2 .v2-home-custom-period label { display: grid; }
    .statify-v2 .v2-home-custom-period .v2-input { width: 100%; }
    .statify-v2 .v2-home-custom-period .v2-button { grid-column: 1 / -1; }
    .statify-v2 .v2-home-operational-metric { min-height: 96px; }
    .statify-v2 .v2-home-operational-metric--profit strong { font-size: 22px; }
    .statify-v2 .v2-home-today .v2-section__head { align-items: flex-start; }
    .statify-v2 .v2-home-today__actions,
    .statify-v2 .v2-home-orders__total { justify-content: flex-start; }
    .statify-v2 .v2-home-filter-group:not(:first-of-type) > .v2-home-filter-menu { right: 0; left: auto; }
    .statify-v2 .v2-home-orders { grid-auto-columns: minmax(288px, 88vw); }
    .statify-v2 .v2-home-activity-item { grid-template-columns: 12px minmax(0, 1fr) 18px; }
    .statify-v2 .v2-home-activity-item time { display: none; }
    .statify-v2 .v2-home-report-summary { grid-template-columns: 1fr; }
    .statify-v2 .v2-home-report-period { grid-template-columns: 1fr; gap: var(--v2-space-8); }
    .statify-v2 .v2-home-report-period > header { padding-top: 0; }
    .statify-v2 .v2-home-report-period__documents { grid-template-columns: 1fr; }
    .statify-v2 .v2-home-orders-list { grid-template-columns: 1fr; }
    .statify-v2 .v2-home-order-row { grid-template-columns: 48px minmax(0, 1fr); }
    .statify-v2 .v2-home-order-row .v2-home-order__result { grid-column: 2; grid-auto-flow: column; align-items: center; justify-items: start; }
  }
}
