:root{--bg:#f5f6f8;--panel:#fff;--panel-2:#f8fafc;--ink:#202a39;--muted:#647286;--line:#e5e9ef;--blue:#368bba;--blue-strong:#1776a7;--shadow:0 3px 16px rgba(25,44,70,.035);--radius:16px}
html,body,button,input,textarea,select{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.012em}body{font-size:14px;-webkit-font-smoothing:antialiased}b,strong{font-weight:600}button{font-weight:600!important}.sidebar{width:240px;background:#172537;box-shadow:none;border-right:1px solid #24344a}.mainArea{margin-left:240px}.appBrand b{font-size:19px;line-height:1.3;font-weight:650}.appBrand{padding:24px 20px}.appBrand small{font-size:12px;color:#afbdcc}.storeMini{margin:4px 16px 20px;border:1px solid #334255;background:#203044;border-radius:12px;padding:14px;gap:12px}.storeMiniLogo{width:40px;height:40px;border-radius:11px;font-size:15px;background:#3b5269}.storeMini b{font-size:13px;font-weight:600}.storeMini small{font-size:10px;letter-spacing:.1em}.nav{padding:0 12px}.navBtn{min-height:46px;padding:10px 12px;border-radius:10px;font-size:13px;gap:12px;margin:3px 0}.navBtn.active{background:#2c4c63;border-left-color:#68c2e9}.navGlyph{background:transparent;width:24px;height:26px}.navIcon{width:23px;height:23px}.navGroupLabel{padding:20px 13px 8px;font-size:10px;letter-spacing:.12em;color:#a2b3c6}.logoutBtn{margin:20px 16px;font-size:13px;background:#223247;border:1px solid #3a485d;border-radius:10px}.topbar{background:#fff;color:var(--ink);border-bottom:1px solid var(--line);height:66px;padding:0 30px;box-shadow:none}.topBrand b{font-size:15px;font-weight:600}.topBrand .centralLogo{width:33px;height:33px}.version{background:#eff4f8;color:#53667b;font-size:11px;border:1px solid #e0e7ef}.pageWrap{padding:28px 30px;max-width:1600px;margin:auto}.pageHeader{gap:16px;margin-bottom:25px}.pageHeader h1{font-size:27px;font-weight:650;letter-spacing:-.035em;margin-bottom:6px}.pageHeader p{font-size:14px;line-height:1.6;color:var(--muted);max-width:750px}.pageIcon{width:54px;height:54px;border-radius:15px;background:#e8f2f8;color:#287ca9;box-shadow:none}.pageIcon .uiIcon{width:27px;height:27px}.panel,.marketCard,.filterBar{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px}.panel{padding:24px}.panelTitle{gap:12px}.panelTitle>span{background:#edf4f9;color:#427c9b;width:38px;height:38px;border-radius:10px;display:grid;place-items:center}.panelTitle h2,.stepPanelHead h2{font-size:17px;font-weight:650}.panelTitle p,.stepPanelHead p{font-size:13px;line-height:1.6}.panelTitle{margin-bottom:20px}input:not([type=checkbox]):not([type=radio]),textarea,select{background:#fff;border:1px solid #d8e0e9;border-radius:10px;padding:12px 13px;min-height:43px;font-size:14px;color:var(--ink);font-weight:400;box-shadow:none}input::placeholder,textarea::placeholder{font-weight:400;color:#78869a}label{font-size:13px;font-weight:500}.btn{min-height:42px;padding:10px 16px;border-radius:10px;font-size:13px;box-shadow:none}.btn.primary,.btn.blue{background:#247fac}.btn.soft{background:#f1f5f8;color:#365672;border:1px solid #e0e7ee}.btn:disabled{opacity:.6;cursor:default}:focus-visible{outline:3px solid #72b9e8;outline-offset:3px}.metric{padding:22px;border:1px solid var(--line);border-top:3px solid #4198db;box-shadow:var(--shadow)}.metric b{font-size:32px;font-weight:650;letter-spacing:-.035em}.metric small{font-size:11px;letter-spacing:.035em;font-weight:600}.marketGrid{gap:22px;align-items:start}.marketCard{padding:24px;border-top:3px solid var(--line)}.marketHead{gap:13px;flex-wrap:wrap}.marketHead h2{font-size:20px;font-weight:650}.marketHead p{font-size:12px}.marketLogo{width:56px;height:56px;border-radius:12px;background:#fff!important;border:1px solid var(--line);box-shadow:none;overflow:hidden;display:grid;place-items:center;flex-shrink:0}.marketLogo img{position:static!important;width:42px!important;height:42px!important;object-fit:contain;filter:none!important}.marketFallback{display:none!important}.marketLogo.logoUnavailable{display:none}.marketFields{gap:15px}.marketFields label{line-height:1.55}.marketHelp{background:#f5f8fb;font-size:13px;line-height:1.65;border-radius:10px;color:#53647a}.safetyHelp{background:#f7f9fb;border-left:3px solid #a8c7db}.marketActions{border-top:1px solid var(--line);padding-top:18px;gap:8px}.marketActions .btn{flex:1}.badge{font-size:10px;letter-spacing:0;font-weight:600}.helpDetails{border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:12px 14px;color:#54667b;font-size:13px;line-height:1.65}.helpDetails summary{cursor:pointer;color:#2b526d;font-weight:600}.helpDetails ol{padding-left:20px}.helpDetails li{margin:6px 0}.notice{font-size:13px;line-height:1.6;border-radius:10px;padding:14px 16px}.notice.error{background:#fff0f2;color:#ac2848}.secretField{position:relative;display:flex;align-items:stretch;width:100%}.secretField input,.secretField textarea{width:100%;padding-right:49px!important}.secretToggle{position:absolute;right:5px;top:5px;width:36px;height:34px;display:grid;place-items:center;background:transparent;border:0;color:#57728b;border-radius:7px}.secretToggle:hover{background:#eef3f8}.secretToggle[aria-pressed=true]{color:#087bb4;background:#e9f5fc}.maskedSecret{-webkit-text-security:disc}.uiIcon{vertical-align:middle;flex-shrink:0}.rankItem{gap:12px;border:1px solid var(--line);padding:14px;margin-bottom:9px;border-radius:11px}.rankItem b{font-size:14px}.rankItem small{font-size:11px;line-height:1.6}.rankItem.excluded{background:#fafbfc}.rankScope{display:inline-block;font-size:10px!important;padding:3px 7px;background:#edf2f7;color:#56667c;border-radius:5px;margin-top:6px}.rankingList{max-height:510px;overflow:auto}.historyItem{padding:20px;border-radius:13px}.historyHead b{font-size:15px;font-weight:600}.historyLinks small{font-size:12px}.historyHead{gap:10px}.historyItem p{font-size:12px}.historyHead time{font-size:11px;white-space:nowrap}.narrowPanel{max-width:none}.intervalCard{max-width:760px}.intervalValue input{font-size:26px!important;font-weight:600!important;width:110px!important}.intervalValue{gap:12px}.ruleToggle small{line-height:1.6}.fieldHint{display:block;color:var(--muted);font-weight:400;font-size:12px;line-height:1.6;margin:6px 0 12px}.queueToolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.queueToolbar .btn{flex:1}.footer{font-size:11px;color:#7a8798}.chartBox{min-height:260px}.summaryCard b{font-weight:650}.dangerZone{margin-top:32px;background:#fff}.helpGrid b{font-size:14px}.helpGrid span{line-height:1.6}.empty{font-size:13px;color:#6b7a8e;padding:28px 12px}
@media(min-width:1250px){#view-analytics .grid2{grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr)}}
@media(max-width:1050px){.marketGrid{grid-template-columns:1fr}.pageWrap{padding:24px}.marketHead .badge{margin-left:auto}}
@media(max-width:840px){.sidebar{width:240px}.mainArea{margin-left:0}.pageWrap{padding:20px 16px}.topbar{padding:0 16px}.pageHeader h1{font-size:23px}.pageHeader p{font-size:13px}.panel,.marketCard{padding:18px}.pageHeader{flex-wrap:wrap}.pageHeader>.btn{margin-left:0}.metricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.filterBar{flex-wrap:wrap}.filterBar select{width:100%}.marketHead h2{font-size:19px}.historyHead{align-items:flex-start;flex-direction:column}.marketActions{flex-wrap:wrap}.topBrand b{font-size:13px}.marketToggleRow b,.ruleToggle b{font-size:14px}.secretField{min-width:0}.rankItem b{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
