#analytics-panel,#hyper-panel,#analytics-basic-panel{min-width:0}
.ha-nav-full{display:none}.ha-nav-short{display:inline}
#hyper-panel{--ha-border:#e2e7f1;--ha-muted:#586579;font-size:14px;line-height:1.5;color:#172147}
#analytics-panel [hidden]{display:none!important}
#hyper-panel button,#hyper-panel input,#hyper-panel select{font:inherit}
#hyper-panel button{cursor:pointer}
#hyper-panel button:disabled{opacity:.5;cursor:wait}
#hyper-panel :is(button,input,select,a):focus-visible{outline:3px solid #2451ff;outline-offset:3px}
.ha-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.ha-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:600;color:#2451ff;text-transform:uppercase;margin-bottom:6px}
#hyper-panel h2{font-size:25px;letter-spacing:-.045em;line-height:1.2}
.ha-badge{display:inline-block;padding:5px 10px;border-radius:20px;background:#ecf1ff;color:#264ba7;font-size:10px;font-weight:600;letter-spacing:.04em}
.ha-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#hyper-panel .ha-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border:1px solid var(--ha-border);border-radius:12px;background:white;color:#172147;text-decoration:none;font-size:12px;font-weight:600}
#hyper-panel .ha-button.primary{background:#2451ff;color:white;border-color:#2451ff;width:auto;margin:0}
#hyper-panel select,#hyper-panel input:not([type=range]):not([type=file]){max-width:100%;width:100%;border:1px solid #c9d2e3;border-radius:10px;background:white;color:#172147;padding:11px 12px;min-height:44px;font-size:14px}
#hyper-panel input[type=file]{width:100%;max-width:100%;min-width:0;font-size:12px}
#hyper-panel .ha-toolbar select{width:auto;font-size:12px;min-height:42px}
.ha-note{font-size:11px;color:var(--ha-muted);line-height:1.6;margin:12px 0 18px}
.ha-sections{display:flex;gap:6px;overflow-x:auto;padding:3px 2px 12px;margin:0 0 16px;scrollbar-width:thin}
#hyper-panel .ha-section-button{white-space:nowrap;padding:10px 14px;border-radius:11px;border:0;background:#f0f3f9;color:#586579;font-size:12px}
#hyper-panel .ha-section-button[aria-pressed=true]{background:#172147;color:white}
.ha-premium-label{font-size:9px;font-weight:600;opacity:.75;margin-left:3px;text-transform:uppercase}
.ha-hero{border-radius:24px;background:radial-gradient(ellipse at 95% 0,#345cc0 0,transparent 60%),#172147;color:white;padding:26px;margin-bottom:18px;overflow:hidden}
.ha-hero-label{color:#c8d5f5;font-size:12px;margin-bottom:10px}
.ha-hero-value{font-size:clamp(32px,4vw,46px);letter-spacing:-.05em;font-weight:600;line-height:1.15;overflow-wrap:anywhere}
.ha-hero p{color:#d5dff5;font-size:12px;margin:12px 0 0}
.ha-hero-row{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;flex-wrap:wrap}
.ha-today{border-left:1px solid #ffffff33;padding-left:20px;min-width:150px}
.ha-today strong{display:block;font-size:24px;color:#71efc2}
.ha-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.ha-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.ha-card{padding:20px;border:1px solid var(--ha-border);border-radius:20px;background:#fff;min-width:0}
.ha-card h3{font-size:14px;letter-spacing:-.02em;margin:0 0 12px;font-weight:600}
.ha-card.wide{grid-column:1/-1}
.ha-stat-label{font-size:11px;color:var(--ha-muted)}
.ha-stat-value{font-size:25px;font-weight:600;letter-spacing:-.04em;line-height:1.3;margin:7px 0;overflow-wrap:anywhere}
.ha-small{font-size:11px;color:var(--ha-muted);line-height:1.6}
.ha-change{font-size:11px;color:#12704d}.ha-change.down{color:#9e492c}
.ha-chart{width:100%;height:auto;display:block;margin:14px 0}
.ha-chart text{font-family:inherit;font-size:10px;fill:#586579}
.ha-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--ha-muted);margin-bottom:12px}
.ha-legend span::before{content:'';display:inline-block;width:14px;height:3px;background:#2451ff;vertical-align:middle;margin-right:6px}
.ha-legend span.previous::before{background:#a6b4d5}
.ha-table-wrap{overflow-x:auto;max-width:100%}
.ha-table{width:100%;border-collapse:collapse;font-size:11px}
.ha-table th{text-align:left;color:var(--ha-muted);font-weight:500;padding:10px 8px;white-space:nowrap}
.ha-table td{border-top:1px solid #eef1f7;padding:11px 8px;white-space:nowrap}
.ha-table td:first-child{white-space:normal;overflow-wrap:anywhere;min-width:80px;max-width:220px}
.ha-table th:not(:first-child),.ha-table td:not(:first-child){text-align:right}
#hyper-panel summary{cursor:pointer;font-size:12px;color:#2451ff;padding:10px 0}
.ha-actions{display:grid;gap:10px}
.ha-action{padding:15px;border-radius:14px;background:#f5f7fc;border-left:3px solid #8fa7e5}
.ha-action.watch{background:#fff8f1;border-left-color:#dc9357}.ha-action.good{background:#effbf6;border-left-color:#28b985}
.ha-action strong{font-size:12px;display:block;margin-bottom:6px}.ha-action p{font-size:11px;color:var(--ha-muted);line-height:1.6}
.ha-bars{display:grid;gap:14px}.ha-bar-top{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:5px}.ha-bar-top span:first-child{overflow-wrap:anywhere}.ha-track{height:7px;border-radius:8px;background:#edf1fa;overflow:hidden}.ha-fill{height:100%;border-radius:8px;background:#4773ff;min-width:0}
.ha-heatmap{display:grid;grid-template-columns:30px repeat(24,minmax(14px,1fr));gap:3px;min-width:570px;font-size:9px;align-items:center}
.ha-heatmap .ha-cell{height:22px;border-radius:4px;background:rgba(36,81,255,var(--intensity));border:0}
.ha-heatmap .ha-cell:focus{outline-offset:0!important}.ha-heat-detail{min-height:32px;font-size:11px;margin-top:12px;color:var(--ha-muted)}
.ha-empty{padding:22px;border:1px dashed #b7c6e0;background:#f8faff;border-radius:16px;color:var(--ha-muted);font-size:12px;line-height:1.7}
.ha-empty strong{display:block;color:#172147;margin-bottom:8px;font-size:14px}
.ha-progress{height:12px;border-radius:8px;background:#eaf0fc;overflow:hidden;margin:16px 0}.ha-progress span{display:block;height:100%;background:#2451ff;border-radius:8px}
.ha-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ha-field label{font-size:11px;color:#43506a;margin-bottom:6px}.ha-field.wide{grid-column:1/-1}.ha-field input[type=range]{width:100%;accent-color:#2451ff;min-height:30px}
.ha-status{font-size:12px;line-height:1.7;padding:12px 0;overflow-wrap:anywhere}.ha-error{color:#ae322f}.ha-success{color:#12704d}
.ha-lock{padding:32px 22px;border-radius:24px;background:#f2f5ff;text-align:center}.ha-lock h3{font-size:25px;letter-spacing:-.04em;margin:12px 0}.ha-lock p{font-size:13px;color:#586579;line-height:1.7;margin-bottom:20px}.ha-lock ul{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:12px;list-style:none;padding:0;margin:26px 0;font-size:12px}.ha-lock li::before{content:'✓';color:#158465;margin-right:7px}
.ha-loading{padding:45px 15px;text-align:center;color:#586579;font-size:13px}
.ha-subtitle{font-size:12px;color:#586579;margin:8px 0 0}.ha-inline-number{font-size:20px;color:#2451ff;font-weight:600}
.ha-controls-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}
@media(max-width:899px),(max-height:599px){#hyper-panel .ha-grid.four{grid-template-columns:1fr 1fr}#hyper-panel .ha-grid:not(.four){grid-template-columns:1fr}.ha-card{padding:17px}.ha-top h2{font-size:24px}.ha-hero{padding:22px}.ha-fields{grid-template-columns:1fr}.ha-lock ul{grid-template-columns:1fr}.ha-today{border-left:0;padding-left:0}.tabs .tab{font-size:9px}.ha-toolbar{width:100%}.ha-toolbar select{flex:1}}
@media(min-width:900px) and (min-height:600px){.ha-nav-full{display:inline}.ha-nav-short{display:none}body:has(#analytics-panel.active){--win:min(1240px,calc(100vw - 64px))}body:has(#panel-merchant.active > #merchant-app.active) #analytics-panel{padding:88px 30px 40px}}
@media print{body:has(#analytics-panel.active){display:block!important;padding:0!important;background:white!important}body:has(#analytics-panel.active)::before,body:has(#analytics-panel.active)>header,body:has(#analytics-panel.active) .tabs,.ha-toolbar,.ha-sections,.ha-controls-line,.ha-no-print{display:none!important}body:has(#analytics-panel.active) .card{display:block!important;max-width:none!important;width:100%!important;padding:0!important;box-shadow:none!important;background:white!important}body:has(#analytics-panel.active) #merchant-app{display:block!important}body:has(#analytics-panel.active) #analytics-panel{display:block!important;padding:0!important}.ha-card,.ha-hero{break-inside:avoid}.ha-grid.four{grid-template-columns:repeat(4,1fr)}.ha-grid{grid-template-columns:1fr}.ha-hero{background:white!important;color:#172147;border:1px solid #c9d2e3}.ha-hero p,.ha-hero-label,.ha-today strong{color:#172147}.ha-note{margin:8px 0}}
