/* html, body overscroll override */
html, body {
    overscroll-behavior: none !important;
    overflow: hidden !important;
}

body.stats-modal-open {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.screen-stats {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    z-index: 990; /* below bottom-nav (1000) */
    
    /* Frosted glass background matching notification sheet */
    backdrop-filter: blur(45px) saturate(140%);
    -webkit-backdrop-filter: blur(45px) saturate(140%);
    background: rgba(8, 20, 42, 0.65);
    border-radius: 0;
    border: none;
    overscroll-behavior: none;
}

.screen-stats.is-active {
    display: flex !important;
    animation: statsScreenFadeIn 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes statsScreenFadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 15px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.stats-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Manrope", sans-serif;
    padding-top: env(safe-area-inset-top);
    touch-action: pan-y;
}

/* Time of day theme variations matching notifications sheet */
.screen-stats.time-morning {
    background: linear-gradient(135deg, rgba(215, 235, 255, 0.16) 0%, rgba(195, 220, 255, 0.12) 100%) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 20px 40px rgba(180, 215, 255, 0.08),
        0 15px 50px rgba(5, 20, 40, 0.25) !important;
}

.screen-stats.time-day {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.11) 100%) !important;
}

.screen-stats.time-evening {
    background: linear-gradient(135deg, rgba(255, 232, 215, 0.18) 0%, rgba(255, 220, 195, 0.12) 100%) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 20px 40px rgba(255, 200, 175, 0.08),
        0 15px 50px rgba(25, 15, 5, 0.25) !important;
}

.screen-stats.time-night {
    background: linear-gradient(135deg, rgba(12, 22, 38, 0.5) 0%, rgba(9, 14, 24, 0.45) 100%) !important;
    backdrop-filter: blur(60px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(60px) saturate(125%) !important;
}


/* drag handle */
.stats-modal-drag-handle {
    display: none;
}

/* Header */
.stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: transparent;
    flex-shrink: 0;
}

.stats-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.stats-back-btn,
.stats-calendar-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 150ms, transform 100ms var(--ios-ease);
}

.stats-back-btn:active,
.stats-calendar-btn:active {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(0.94);
}

.stats-back-btn svg {
    width: 22px;
    height: 22px;
}

.stats-calendar-btn svg {
    width: 18px;
    height: 18px;
}

/* Scroll Area */
.stats-scroll-content {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 16px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y !important;
}

.stats-scroll-content::-webkit-scrollbar {
    display: none;
}

/* Segmented Control */
.stats-segmented-control-wrapper {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 2px;
    flex-shrink: 0;
}

.stats-segmented-control {
    position: relative;
    display: flex;
    width: 100%;
}

.stats-segment-capsule {
    position: absolute;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    top: 0;
    left: 0;
    transition: transform 320ms cubic-bezier(0.2, 0.95, 0.22, 1), width 320ms cubic-bezier(0.2, 0.95, 0.22, 1);
    box-sizing: border-box;
}

.stats-segment-btn {
    position: relative;
    flex: 1;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 600;
    padding: 8px 0;
    cursor: pointer;
    z-index: 2;
    transition: color 240ms;
}

.stats-segment-btn.is-active {
    color: #ffffff;
}

/* Date Navigation */
.stats-date-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 8px 12px;
    flex-shrink: 0;
}

.stats-current-date {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.stats-date-arrow {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 150ms, color 150ms;
}

.stats-date-arrow:active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.stats-date-arrow svg {
    width: 20px;
    height: 20px;
}

/* Cards Base */
.stats-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.14),
        rgba(138, 181, 255, 0.07)
    );
    backdrop-filter: blur(28px) saturate(155%);
    -webkit-backdrop-filter: blur(28px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(6, 18, 40, 0.18),
        0 14px 40px rgba(0, 0, 0, 0.22);
    border-radius: 28px;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 150ms var(--ios-ease);
}

.stats-card:active {
    transform: scale(0.985);
}

/* Cascade items initial state */
.stats-cascade-item {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 400ms var(--ios-ease), transform 400ms var(--ios-ease);
}

.stats-cascade-item.is-animating {
    opacity: 1;
    transform: translateY(0);
}

/* Revenue Card (Main) */
.stats-main-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    ) !important;
    background-color: rgba(6, 18, 40, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.stats-main-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.stats-main-card-header-left {
    flex-grow: 1;
    min-width: 0;
}

.stats-main-card-header-right {
    flex-shrink: 0;
}

.stats-main-card-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 2px;
}

.stats-main-card-top {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stats-main-card-value-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.stats-main-card-value {
    font-size: clamp(28px, 8vw, 36px);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.stats-main-card-trend {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 12px;
    font-weight: 600;
    gap: 4px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    height: 24px;
    box-sizing: border-box;
    transition: none;
}

.stats-main-card-trend.is-interactive {
    transition: 
        width 0.32s cubic-bezier(0.4, 0, 0.2, 1), 
        height 0.32s cubic-bezier(0.4, 0, 0.2, 1), 
        padding 0.32s cubic-bezier(0.4, 0, 0.2, 1), 
        border-radius 0.32s cubic-bezier(0.4, 0, 0.2, 1), 
        background-color 0.32s ease, 
        border-color 0.32s ease, 
        color 0.32s ease;
}

.stats-main-card-trend svg,
.stats-main-card-trend .trend-value,
.stats-main-card-trend .trend-label {
    opacity: 1;
    transform: scale(1);
}

.stats-main-card-trend.is-interactive svg,
.stats-main-card-trend.is-interactive .trend-value,
.stats-main-card-trend.is-interactive .trend-label {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.stats-main-card-trend .trend-collapsed-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    opacity: 0;
    font-size: 13px;
    font-weight: 700;
    transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.stats-main-card-trend.trend-collapsed {
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.stats-main-card-trend.trend-collapsed svg,
.stats-main-card-trend.trend-collapsed .trend-value,
.stats-main-card-trend.trend-collapsed .trend-label {
    opacity: 0 !important;
    transform: scale(0.5) !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.stats-main-card-trend.trend-collapsed .trend-collapsed-icon {
    width: 24px !important;
    height: 24px !important;
    opacity: 1 !important;
}

.stats-main-card-trend.positive {
    color: #34d399; /* Спокойный мятный */
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.15);
}

.stats-main-card-trend.negative {
    color: #ffb3c1; /* Светлый нежно-розовый для читаемости на теплом фоне */
    background: rgba(244, 63, 94, 0.24);
    border-color: rgba(244, 63, 94, 0.35);
}

.stats-main-card-trend svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.stats-completed-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* SVG Chart */
.stats-chart-container {
    position: relative;
    height: 160px;
    margin-top: 8px;
    margin-right: 36px; /* Зазор справа под Y-ось */
}

.stats-svg-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.stats-chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.stats-chart-area {
    opacity: 0;
    transition: opacity 600ms ease;
}

.stats-chart-area.is-loaded {
    opacity: 1;
}

.stats-chart-y-axis {
    position: absolute;
    right: -36px;
    top: 0;
    bottom: 0;
    width: 30px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    line-height: 1;
}

.stats-chart-y-axis span {
    position: absolute;
    left: 0;
    transform: translateY(-50%);
}

.stats-chart-y-axis span:nth-child(1) { top: 0%; }
.stats-chart-y-axis span:nth-child(2) { top: 25%; }
.stats-chart-y-axis span:nth-child(3) { top: 50%; }
.stats-chart-y-axis span:nth-child(4) { top: 75%; }
.stats-chart-y-axis span:nth-child(5) { top: 100%; }

.stats-chart-x-axis {
    display: flex;
    justify-content: space-between;
    padding: 2px 36px 0 0; /* Согласование с отступом Y-оси */
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

/* Chart Tooltip */
.stats-chart-tooltip {
    position: absolute;
    background: rgba(15, 32, 67, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    margin-top: -12px;
    left: 0;
    top: 0;
}

.stats-chart-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: rgba(15, 32, 67, 0.85) transparent;
    display: block;
    width: 0;
}

.tooltip-time {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.tooltip-value {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

/* Mini Cards Grid */
.stats-mini-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stats-mini-card {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 72px;
}

.stats-mini-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stats-mini-card-icon.color-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.stats-mini-card-icon.color-green {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.stats-mini-card-icon.color-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.stats-mini-card-icon.color-coral {
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
}

.stats-mini-card-icon svg {
    width: 18px;
    height: 18px;
}

.stats-mini-card-info {
    display: flex;
    flex-direction: column;
}

.stats-mini-card-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2px;
}

.stats-mini-card-value {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stats-mini-card-desc,
.stats-mini-card-trend {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.stats-mini-card-trend.positive {
    color: #34d399;
}

.stats-mini-card-trend.negative {
    color: #fb7185;
}

/* Services Card */
.stats-services-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stats-services-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.stats-services-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.stats-services-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.42);
}

.stats-services-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stats-service-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stats-service-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-service-name {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    min-width: 0;
    margin-right: 12px;
}

.stats-service-stats {
    display: flex;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

.stats-service-sum {
    color: #ffffff;
    white-space: nowrap;
}

.stats-service-pct {
    color: rgba(255, 255, 255, 0.45);
    width: 32px;
    text-align: right;
    white-space: nowrap;
}

.stats-progress-bar-bg {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.stats-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    width: 0;
    transition: width 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Empty States */
.stats-chart-empty-state,
.stats-service-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
}

.stats-chart-empty-state {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 5;
    padding: 20px;
}

.stats-service-empty-state {
    padding: 28px 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    width: 100%;
}

/* Safe Bottom */
.stats-safe-bottom {
    height: calc(env(safe-area-inset-bottom) + 90px);
    min-height: 100px;
    flex-shrink: 0;
}

/* Slide animations for swipe gestures */
@keyframes statsChartSlideInRight {
    from { opacity: 0; transform: translate3d(16px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes statsChartSlideInLeft {
    from { opacity: 0; transform: translate3d(-16px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.stats-chart-container.slide-left .stats-svg-chart {
    animation: statsChartSlideInRight 320ms cubic-bezier(0.2, 0.95, 0.22, 1) forwards;
}

.stats-chart-container.slide-right .stats-svg-chart {
    animation: statsChartSlideInLeft 320ms cubic-bezier(0.2, 0.95, 0.22, 1) forwards;
}

/* HTML Interactive marker (perfect circles) */
.stats-chart-interactive-marker {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 10;
}

.stats-chart-interactive-point-glow {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #3b82f6;
    opacity: 0.25;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.stats-chart-interactive-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Отключение обводки области заливки графика */
.stats-chart-area {
    stroke: none !important;
    fill: url(#statsChartGradient) !important;
}

/* Стили вкладки Прогноза */
.stats-forecast-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stats-forecast-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stats-forecast-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 14px;
    transition: background 200ms ease, border-color 200ms ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stats-forecast-item:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.stats-forecast-client-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
    margin-right: 12px;
}

.stats-forecast-client-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stats-forecast-client-phone {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.stats-forecast-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    min-width: 120px;
}

.stats-forecast-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

/* Различные типы прогнозов */
.stats-forecast-badge.type-overdue {
    background: rgba(244, 63, 94, 0.16);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #f43f5e;
}

.stats-forecast-badge.type-expected {
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.stats-forecast-badge.type-scheduled {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.stats-forecast-badge.type-insufficient {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

.stats-forecast-desc {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    text-align: right;
}

.stats-forecast-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.stats-forecast-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    border-radius: 50%;
    cursor: pointer;
    transition: background 150ms, transform 100ms;
    flex-shrink: 0;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.1);
}

.stats-forecast-wa-btn:active {
    background: rgba(37, 211, 102, 0.3);
    transform: scale(0.92);
}

.stats-forecast-wa-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.stats-forecast-empty {
    padding: 32px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 500;
}
