:root,html[data-style=dashbook]{color-scheme:light;--bg: #eef1f8;--bg-accent: #d9e0f2;--ink: #14203a;--panel: #ffffff;--header: #0d1f6b;--header-2: #1a35b0;--header-3: #2552ff;--line: #d5dbe8;--ok: #2552ff;--hype-hot: #ff7a18;--hype-gold: #ffd166;--status-accent: #8aa8ff;--status-pill: #c5d0ff;--warn: #b45309;--err: #be123c;--page-pad: 24px}html[data-style=dark]{color-scheme:dark;--bg: #0b1020;--bg-accent: #1a2340;--ink: #e8ecf8;--panel: #151c31;--header: #070d1f;--header-2: #101a38;--header-3: #1a2a5c;--line: #2a3555;--ok: #4d7cff;--hype-hot: #ff7a18;--hype-gold: #ffd166;--status-accent: #8aa8ff;--status-pill: #a8bfff;--warn: #f59e0b;--err: #fb7185}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;overflow:hidden}body{font-family:IBM Plex Sans,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--ink);background:radial-gradient(1200px 500px at 10% -10%,var(--bg-accent) 0%,transparent 55%),radial-gradient(900px 400px at 100% 0%,var(--bg-accent) 0%,transparent 50%),var(--bg)}.app-shell{height:100%;display:flex;flex-direction:column;overflow:hidden}.page-width{width:100%;max-width:none;margin:0 auto;padding-left:var(--page-pad);padding-right:var(--page-pad);box-sizing:border-box}.status-bar{flex-shrink:0;min-height:44px;background:linear-gradient(120deg,var(--header) 0%,var(--header-2) 55%,var(--header-3) 100%);border-bottom:1px solid rgba(255,255,255,.08)}.status-bar__inner{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}.status-bar__brand{display:flex;flex-direction:row;align-items:baseline;gap:8px;min-width:0;max-width:min(560px,100%)}.status-bar__title{color:#fff;font-size:16px;font-weight:650;letter-spacing:.01em;white-space:nowrap}.status-bar__sep{color:#ffffff59}.status-bar__book{color:#ffffffc7!important;font-size:14px;min-width:0}.status-bar__meta{color:#ffffffe6}.status-metric{font-size:13px;color:#ffffffc7}.status-metric strong{color:#fff;font-variant-numeric:tabular-nums}.status-anim-check{color:#ffffffe0;font-size:13px}.status-anim-check .ant-checkbox-inner{background:transparent;border-color:#ffffff8c}.status-anim-check .ant-checkbox-checked .ant-checkbox-inner{background:var(--status-accent);border-color:var(--status-accent)}.status-anim-check span{color:#ffffffe0}.status-pill{display:inline-flex;align-items:center;font-size:13px;font-weight:600}.status-pill--loading{color:var(--status-pill);animation:pulse 1.2s ease-in-out infinite}.status-pill--ok{color:var(--status-pill)}.status-pill--error{color:#fecaca}@keyframes pulse{0%,to{opacity:1}50%{opacity:.55}}.app-main{flex:1;min-height:0;display:flex;flex-direction:column;padding-top:12px;padding-bottom:12px;overflow:hidden}.app-loading{flex:1;display:grid;place-items:center}.home-main{display:flex;align-items:center;justify-content:center}.book-search{width:min(560px,100%);text-align:center;padding:24px 0 48px}.book-search__title{margin-bottom:4px!important}.book-search__hint{margin-bottom:20px!important}.book-search__input{width:100%;text-align:left}.book-search__option{display:flex;flex-direction:column;gap:2px;padding:2px 0}.book-search__option-title{font-weight:600}.book-search__option-slug{font-size:12px;opacity:.65}.dashboard{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}.dashboard__kpis,.dashboard__packs{flex-shrink:0}.dashboard__packs{max-height:28vh;overflow:auto}.dashboard__charts{flex:1;min-height:240px;display:flex;flex-direction:column}.kpi-card,.panel-card{background:var(--panel);border:1px solid var(--line);box-shadow:0 1px #14231a0a}.packs-card .ant-card-head{min-height:36px;padding:0 12px}.packs-card .ant-card-head-title{padding:8px 0;font-size:14px}.packs-card .ant-card-body{padding:4px 8px 8px}.packs-card .ant-table-thead>tr>th,.packs-card .ant-table-tbody>tr>td{padding:4px 8px!important;font-size:13px}.packs-card .ant-table-tbody>tr>td{line-height:1.25}.kpi-card .ant-statistic-title{color:#5b6b61}.kpi-card .ant-statistic-content{font-variant-numeric:tabular-nums}.dashboard__kpis,.dashboard__charts,.dashboard__packs{width:100%}.dashboard__kpis .ant-row{width:100%;margin-left:0!important;margin-right:0!important}.dashboard__kpis .ant-col{padding-left:6px!important;padding-right:6px!important}.dashboard__kpis .ant-col:first-child{padding-left:0!important}.dashboard__kpis .ant-col:last-child{padding-right:0!important}.charts-row{flex:1;min-height:0;width:100%;height:100%;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;align-items:stretch}.charts-row__col{display:flex;min-width:0;min-height:0;height:100%}.dashboard__packs .packs-card{width:100%}.equal-height-card{width:100%;height:100%;min-height:0;display:flex;flex-direction:column}.equal-height-card .ant-card-head{flex-shrink:0;min-height:40px}.equal-height-card .ant-card-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.sales-chart-card__body{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.sales-chart-card__filters{flex-shrink:0}.sales-chart-card__plot{flex:1;min-height:0;width:100%}.kpi-card .ant-card-body{padding:10px 12px!important}.kpi-card .ant-statistic-content{font-size:22px!important}.alerts-card .ant-card-body{padding-top:8px;padding-bottom:8px}.hype-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;background:color-mix(in srgb,var(--ok) 16%,transparent);color:var(--ok);font-size:12px;font-weight:650;letter-spacing:.01em;white-space:nowrap}.hype-train{position:relative;flex-shrink:0;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid var(--line);overflow:hidden}.hype-train__detail{display:block;margin-top:4px;font-size:12px}.hype-sparks,.hype-page-sparks{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.hype-page-sparks{z-index:4}.hype-spark{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--hype-gold, #ffd166);box-shadow:0 0 8px var(--hype-hot, #ff7a18);opacity:0}.hype-page-sparks .hype-spark{width:7px;height:7px;box-shadow:0 0 12px var(--hype-hot, #ff7a18)}html[data-hype-anim=on] .app-shell{position:relative;overflow:hidden}html[data-hype-anim=on] .app-shell[data-hype-level="1"],html[data-hype-anim=on] .app-shell[data-hype-level="2"],html[data-hype-anim=on] .app-shell[data-hype-level="3"],html[data-hype-anim=on] .app-shell[data-hype-level="4"],html[data-hype-anim=on] .app-shell[data-hype-level="5"],html[data-hype-anim=on] .app-shell[data-hype-level="6"],html[data-hype-anim=on] .app-shell[data-hype-level="7"],html[data-hype-anim=on] .app-shell[data-hype-level="8"],html[data-hype-anim=on] .app-shell[data-hype-level="9"],html[data-hype-anim=on] .app-shell[data-hype-level="10"]{background:radial-gradient(900px 420px at 12% 0%,color-mix(in srgb,var(--ok) 22%,transparent),transparent 55%),radial-gradient(700px 380px at 92% 8%,color-mix(in srgb,var(--hype-hot) 16%,transparent),transparent 50%),transparent}html[data-hype-anim=on] .app-shell[data-hype-level="1"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="2"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="3"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="4"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="5"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="6"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="7"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="8"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="9"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .hype-badge{box-shadow:0 0 10px color-mix(in srgb,var(--ok) 45%,transparent)}html[data-hype-anim=on] .app-shell[data-hype-level="3"] .panel-card,html[data-hype-anim=on] .app-shell[data-hype-level="3"] .kpi-card,html[data-hype-anim=on] .app-shell[data-hype-level="4"] .panel-card,html[data-hype-anim=on] .app-shell[data-hype-level="4"] .kpi-card{animation:hype-panel-pulse 2.2s ease-in-out infinite}html[data-hype-anim=on] .app-shell[data-hype-level="3"] .status-bar,html[data-hype-anim=on] .app-shell[data-hype-level="4"] .status-bar,html[data-hype-anim=on] .app-shell[data-hype-level="5"] .status-bar,html[data-hype-anim=on] .app-shell[data-hype-level="6"] .status-bar,html[data-hype-anim=on] .app-shell[data-hype-level="7"] .status-bar,html[data-hype-anim=on] .app-shell[data-hype-level="8"] .status-bar,html[data-hype-anim=on] .app-shell[data-hype-level="9"] .status-bar,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .status-bar{box-shadow:0 0 0 1px color-mix(in srgb,var(--hype-gold) 18%,transparent),0 8px 28px color-mix(in srgb,var(--ok) 22%,transparent)}html[data-hype-anim=on] .app-shell[data-hype-level="3"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="4"] .hype-badge{animation:hype-badge-pulse 1.8s ease-in-out infinite}html[data-hype-anim=on] .app-shell[data-hype-level="5"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="6"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="7"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="8"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="9"] .hype-badge,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .hype-badge{animation:hype-badge-pulse 1.4s ease-in-out infinite}html[data-hype-anim=on] .app-shell[data-hype-level="3"] .hype-train .ant-progress-bg,html[data-hype-anim=on] .app-shell[data-hype-level="4"] .hype-train .ant-progress-bg,html[data-hype-anim=on] .app-shell[data-hype-level="5"] .hype-train .ant-progress-bg,html[data-hype-anim=on] .app-shell[data-hype-level="6"] .hype-train .ant-progress-bg,html[data-hype-anim=on] .app-shell[data-hype-level="7"] .hype-train .ant-progress-bg,html[data-hype-anim=on] .app-shell[data-hype-level="8"] .hype-train .ant-progress-bg,html[data-hype-anim=on] .app-shell[data-hype-level="9"] .hype-train .ant-progress-bg,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .hype-train .ant-progress-bg{animation:hype-bar-pulse 1.8s ease-in-out infinite}html[data-hype-anim=on] .app-shell[data-hype-level="5"] .panel-card,html[data-hype-anim=on] .app-shell[data-hype-level="5"] .kpi-card,html[data-hype-anim=on] .app-shell[data-hype-level="6"] .panel-card,html[data-hype-anim=on] .app-shell[data-hype-level="6"] .kpi-card{position:relative;border-color:transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(120deg,var(--ok),var(--hype-hot),var(--hype-gold),var(--ok)) border-box;border:2px solid transparent;animation:hype-border-spin 4s linear infinite;background-size:100% 100%,200% 200%;box-shadow:0 0 14px color-mix(in srgb,var(--ok) 18%,transparent)}html[data-hype-anim=on] .app-shell[data-hype-level="5"] .alerts-card,html[data-hype-anim=on] .app-shell[data-hype-level="6"] .alerts-card{box-shadow:0 0 18px color-mix(in srgb,var(--hype-hot) 22%,transparent)}html[data-hype-anim=on] .app-shell[data-hype-level="7"] .hype-sparks .hype-spark,html[data-hype-anim=on] .app-shell[data-hype-level="7"] .hype-page-sparks .hype-spark,html[data-hype-anim=on] .app-shell[data-hype-level="8"] .hype-sparks .hype-spark,html[data-hype-anim=on] .app-shell[data-hype-level="8"] .hype-page-sparks .hype-spark{animation:hype-spark-fly 2.4s ease-in-out infinite}html[data-hype-anim=on] .app-shell[data-hype-level="7"] .panel-card,html[data-hype-anim=on] .app-shell[data-hype-level="7"] .kpi-card,html[data-hype-anim=on] .app-shell[data-hype-level="8"] .panel-card,html[data-hype-anim=on] .app-shell[data-hype-level="8"] .kpi-card{position:relative;border-color:transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(120deg,var(--ok),var(--hype-hot),var(--hype-gold),var(--ok)) border-box;border:2px solid transparent;animation:hype-border-spin 3s linear infinite;background-size:100% 100%,200% 200%;box-shadow:0 0 24px color-mix(in srgb,var(--ok) 28%,transparent)}html[data-hype-anim=on] .app-shell[data-hype-level="7"],html[data-hype-anim=on] .app-shell[data-hype-level="8"]{background:radial-gradient(1000px 480px at 10% -5%,color-mix(in srgb,var(--ok) 30%,transparent),transparent 55%),radial-gradient(820px 420px at 95% 5%,color-mix(in srgb,var(--hype-hot) 24%,transparent),transparent 52%),radial-gradient(600px 300px at 50% 100%,color-mix(in srgb,var(--hype-gold) 12%,transparent),transparent 55%),transparent}html[data-hype-anim=on] .app-shell[data-hype-level="9"] .panel-card,html[data-hype-anim=on] .app-shell[data-hype-level="9"] .kpi-card,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .panel-card,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .kpi-card{position:relative;overflow:hidden;border-color:transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(120deg,var(--ok),var(--hype-hot),var(--hype-gold),#fff,var(--ok)) border-box;border:2px solid transparent;animation:hype-border-spin 2.2s linear infinite;background-size:100% 100%,220% 220%;box-shadow:0 0 28px color-mix(in srgb,var(--ok) 40%,transparent),0 0 48px color-mix(in srgb,var(--hype-hot) 28%,transparent)}html[data-hype-anim=on] .app-shell[data-hype-level="9"] .panel-card:after,html[data-hype-anim=on] .app-shell[data-hype-level="9"] .kpi-card:after,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .panel-card:after,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .kpi-card:after,html[data-hype-anim=on] .app-shell[data-hype-level="9"] .hype-train:after,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .hype-train:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,transparent 30%,color-mix(in srgb,var(--hype-gold) 45%,transparent) 50%,transparent 70%);transform:translate(-120%);animation:hype-shine-sweep 2.4s ease-in-out infinite;pointer-events:none;z-index:1}html[data-hype-anim=on] .app-shell[data-hype-level="9"] .hype-sparks .hype-spark,html[data-hype-anim=on] .app-shell[data-hype-level="9"] .hype-page-sparks .hype-spark,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .hype-sparks .hype-spark,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .hype-page-sparks .hype-spark{animation:hype-spark-fly 1.6s ease-in-out infinite}html[data-hype-anim=on] .app-shell[data-hype-level="9"],html[data-hype-anim=on] .app-shell[data-hype-level="10"]{background:radial-gradient(1100px 520px at 8% -8%,color-mix(in srgb,var(--ok) 38%,transparent),transparent 55%),radial-gradient(900px 460px at 100% 0%,color-mix(in srgb,var(--hype-hot) 32%,transparent),transparent 50%),radial-gradient(700px 360px at 50% 110%,color-mix(in srgb,var(--hype-gold) 18%,transparent),transparent 55%),transparent}html[data-hype-anim=on] .app-shell[data-hype-level="9"]:before,html[data-hype-anim=on] .app-shell[data-hype-level="10"]:before{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;box-shadow:inset 0 0 140px color-mix(in srgb,var(--ok) 40%,transparent);animation:hype-vignette 2.8s ease-in-out infinite}html[data-hype-anim=on] .app-shell[data-hype-level="9"] .status-bar,html[data-hype-anim=on] .app-shell[data-hype-level="10"] .status-bar{box-shadow:0 0 0 1px color-mix(in srgb,var(--hype-gold) 35%,transparent),0 10px 36px color-mix(in srgb,var(--hype-hot) 30%,transparent),0 0 40px color-mix(in srgb,var(--ok) 25%,transparent)}html[data-hype-anim=on] .app-shell.hype-level-up .panel-card,html[data-hype-anim=on] .app-shell.hype-level-up .kpi-card{animation:hype-level-up-burst 10s ease-out 1}html[data-hype-anim=on] .app-shell.hype-level-up .hype-badge{animation:hype-level-up-badge 10s ease-out 1}html[data-hype-anim=on] .app-shell.hype-level-up:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--hype-gold) 55%,transparent),color-mix(in srgb,var(--ok) 25%,transparent) 40%,transparent 70%);animation:hype-level-up-flash 10s ease-out 1}.hype-spark:nth-child(1){left:8%;top:70%;animation-delay:0s}.hype-spark:nth-child(2){left:22%;top:40%;animation-delay:.25s}.hype-spark:nth-child(3){left:38%;top:75%;animation-delay:.5s}.hype-spark:nth-child(4){left:55%;top:35%;animation-delay:.75s}.hype-spark:nth-child(5){left:70%;top:65%;animation-delay:1s}.hype-spark:nth-child(6){left:84%;top:45%;animation-delay:1.2s}.hype-spark:nth-child(7){left:15%;top:20%;animation-delay:.35s}.hype-spark:nth-child(8){left:48%;top:15%;animation-delay:.9s}.hype-spark:nth-child(9){left:62%;top:80%;animation-delay:1.1s}.hype-spark:nth-child(10){left:90%;top:25%;animation-delay:.6s}.hype-spark:nth-child(11){left:30%;top:55%;animation-delay:.15s}.hype-spark:nth-child(12){left:78%;top:12%;animation-delay:1.35s}@keyframes hype-badge-pulse{0%,to{box-shadow:0 0 8px color-mix(in srgb,var(--ok) 35%,transparent);transform:scale(1)}50%{box-shadow:0 0 18px color-mix(in srgb,var(--hype-hot) 55%,transparent);transform:scale(1.04)}}@keyframes hype-panel-pulse{0%,to{box-shadow:0 1px #14231a0a,0 0 0 transparent}50%{box-shadow:0 1px #14231a0a,0 0 18px color-mix(in srgb,var(--ok) 22%,transparent),0 0 32px color-mix(in srgb,var(--hype-hot) 12%,transparent)}}@keyframes hype-bar-pulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.35)}}@keyframes hype-border-spin{0%{background-position:0% 50%,0% 50%}to{background-position:0% 50%,100% 50%}}@keyframes hype-spark-fly{0%{opacity:0;transform:translateY(8px) scale(.6)}20%{opacity:1}80%{opacity:.85}to{opacity:0;transform:translateY(-18px) scale(1.1)}}@keyframes hype-shine-sweep{0%{transform:translate(-120%)}to{transform:translate(120%)}}@keyframes hype-vignette{0%,to{opacity:.45}50%{opacity:.85}}@keyframes hype-level-up-flash{0%{opacity:0}8%{opacity:1}35%{opacity:.55}to{opacity:0}}@keyframes hype-level-up-burst{0%{transform:scale(1);box-shadow:0 0 0 transparent}10%{transform:scale(1.02);box-shadow:0 0 40px color-mix(in srgb,var(--hype-gold) 70%,transparent),0 0 80px color-mix(in srgb,var(--ok) 50%,transparent)}40%{transform:scale(1.01);box-shadow:0 0 28px color-mix(in srgb,var(--hype-hot) 45%,transparent),0 0 56px color-mix(in srgb,var(--ok) 35%,transparent)}to{transform:scale(1);box-shadow:0 0 0 transparent}}@keyframes hype-level-up-badge{0%{transform:scale(1)}12%{transform:scale(1.2);box-shadow:0 0 24px var(--hype-gold)}50%{transform:scale(1.08)}to{transform:scale(1)}}.alerts-list{flex:1;min-height:0;overflow:auto}.alert-item{display:block!important;padding:10px 0!important;border-block-end:1px solid var(--line)!important}.alert-item__row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.alert-item__time{min-width:42px;font-variant-numeric:tabular-nums;color:var(--ok)}.alert-item__name{flex:1;min-width:100px}.alert-item__price{font-weight:600;font-variant-numeric:tabular-nums}.alert-item__packs{display:block;margin-top:2px;margin-left:52px;font-size:12px}@media (max-width: 768px){html,body,#root{height:auto;overflow:auto}.app-shell{height:auto;min-height:100vh;overflow:visible}.app-main,.dashboard{overflow:visible}.dashboard__charts{min-height:420px}.charts-row{grid-template-columns:1fr;height:auto}.equal-height-card{height:420px}:root{--page-pad: 14px}.alert-item__packs{margin-left:0}}.login-page{align-items:center;justify-content:center}.login-page__main{width:min(420px,calc(100% - 32px));margin:auto;padding:24px 0}.login-card__hint{margin-top:0}.status-metric--email{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
