/* Owner statistics, matching topy-design-reference/Stats.dc.html */
.stwrap{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;padding-top:28px;padding-bottom:64px}
.stside{flex:1 1 260px;max-width:290px;min-width:230px;display:flex;flex-direction:column;gap:16px}
.stcard{padding:14px;display:flex;flex-direction:column;gap:12px}
.stsite{position:relative;display:flex;align-items:center;gap:12px;padding:8px;border-radius:12px;background:var(--bg);border:1px solid var(--border);color:var(--ink)}
.stlogo{width:40px;height:40px;border-radius:10px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px;flex:0 0 auto}
.stsite-t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}.stsite-t b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stsite-t span{font-size:12px;color:var(--subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stsw{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ststat{display:flex;align-items:center;gap:8px;padding:0 4px;font-size:13px;color:var(--muted)}.ststat span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stmenu{padding:8px;display:flex;flex-direction:column;gap:2px}
.stmenu .gh{padding:8px 10px 6px;font-size:11px;font-weight:700;color:var(--subtle);letter-spacing:.6px}
.stmenu .sep{height:1px;background:var(--soft);margin:8px 4px 4px}
.stmenu a,.stlinks a{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 10px;border-radius:10px;font-size:14px;color:var(--ink)}
.stmenu a svg,.stlinks a svg{color:var(--subtle)}.stmenu a span:first-of-type,.stlinks a>span:first-of-type{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stmenu a:hover,.stlinks a:hover{background:var(--bg);text-decoration:none;color:var(--ink)}
.stmenu a.on{color:var(--accent-h);background:var(--accent-s);font-weight:600}.stmenu a.on svg{color:var(--accent-h)}
.newb{font-size:11px;font-weight:700;color:var(--accent-h);background:var(--accent-s2);padding:2px 8px;border-radius:999px}.rowflex .newb{background:var(--accent-s);padding:3px 8px}
.stlinks{gap:4px}.vtag{font-size:12px;font-weight:600;color:var(--accent-h);background:var(--accent-s);padding:2px 9px;border-radius:999px}
.stmain{flex:999 1 640px;min-width:0;display:flex;flex-direction:column;gap:24px}
.stmain section[id],.stmain div[id]{scroll-margin-top:16px}
.sthead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.sthead h1{font-size:30px}
.stper{display:flex;flex-wrap:wrap;gap:8px;font-size:14px}
.stper a{padding:9px 14px;border-radius:8px;border:1px solid var(--border);background:#fff;color:var(--muted)}.stper a:hover{text-decoration:none;color:var(--ink)}
.stper a.on{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:500}.stper a.csv{border-color:var(--accent);color:var(--accent-h);font-weight:500}
.strow{display:flex;flex-wrap:wrap;gap:16px}
.stk{flex:1 1 200px;border-radius:12px;padding:18px}.stk-s{flex:1 1 170px}.stk-wide{flex:2 1 320px;display:flex;flex-direction:column;gap:10px}
.kl{font-size:13px;color:var(--muted)}.kv{font-size:26px;font-weight:700;margin-top:6px;font-variant-numeric:tabular-nums}.kv span{font-size:14px;color:var(--muted);font-weight:500}
.kd{font-size:13px;font-weight:600;margin-top:4px}
.kl2{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted);flex-wrap:wrap}.kl3{display:flex;justify-content:space-between;font-size:14px}
.splitbar{display:block;width:100%;height:12px;border-radius:6px;overflow:hidden}
.visopts{display:flex;flex-wrap:wrap;gap:12px}
.visopt{flex:1 1 220px;display:flex;align-items:flex-start;gap:12px;padding:16px;border-radius:12px;cursor:pointer;text-align:left;border:2px solid var(--border);background:#fff;color:var(--ink);font:inherit}
.visopt.on{border-color:var(--accent);background:var(--accent-s)}.visopt svg{color:var(--subtle);flex:0 0 auto}.visopt.on svg{color:var(--accent)}
.visopt>span{display:flex;flex-direction:column;gap:2px}.visopt b{font-size:15px}.visopt>span>span{font-size:13px;line-height:1.5;color:var(--muted)}
.visinfo{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding-top:14px;border-top:1px solid var(--soft);font-size:14px;color:var(--muted)}.visinfo code{font-family:ui-monospace,Menlo,monospace;color:var(--ink)}
.strt{border-radius:12px;padding:16px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px}.rt-a{display:flex;align-items:center;gap:10px;font-weight:600}.rt-a .livedot{margin:0}
.legend2{display:flex;gap:18px;font-size:13px;color:var(--muted)}.legend2 span{display:flex;align-items:center;gap:6px}.lg{display:inline-block;width:14px;height:3px}.lg-blue{background:var(--accent)}.lg-dark{background:var(--ink)}
.strow2{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}.strow2.top{align-items:flex-start}
.w520{flex:1 1 520px}.w380{flex:1 1 380px}.w560{flex:1 1 560px;min-width:0}.w360{flex:1 1 360px;min-width:0}.strow2>.panel{display:flex;flex-direction:column;gap:14px}.strow2>.panel h2{margin:0}
.strow3{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}.strow3>.panel{flex:1 1 300px;display:flex;flex-direction:column;gap:14px}.strow3>.panel h2{margin:0}.strow3 h3{margin:8px 0 0;font-size:15px;font-weight:600;color:var(--muted)}
.bl{display:flex;flex-direction:column;gap:5px}.bl-t{display:flex;justify-content:space-between;gap:8px;font-size:14px}.bl-t b{font-weight:600;font-variant-numeric:tabular-nums}
.bl progress{display:block;width:100%;height:8px;border:0;border-radius:4px;background:var(--soft);overflow:hidden;-webkit-appearance:none;appearance:none}
.bl progress::-webkit-progress-bar{background:var(--soft);border-radius:4px}.pg-blue::-webkit-progress-value{background:var(--accent);border-radius:4px}.pg-dark::-webkit-progress-value{background:var(--ink);border-radius:4px}
.pg-blue::-moz-progress-bar{background:var(--accent);border-radius:4px}.pg-dark::-moz-progress-bar{background:var(--ink);border-radius:4px}
.lr{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--soft);font-size:14px}.strow3 .lr{padding:2px 0;border:0}.lr b{font-weight:600;font-variant-numeric:tabular-nums}
.ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.blue{color:var(--accent-h)}
.gt{display:grid;grid-template-columns:minmax(0,1fr) 80px 70px;gap:0 10px;padding:6px 0;border-bottom:1px solid var(--border);font-size:12px;font-weight:700;color:var(--muted)}
.gt.gt2{grid-template-columns:minmax(0,1fr) 90px}.gt.gr{padding:10px 0;border-bottom:1px solid var(--soft);font-size:14px;font-weight:400;color:var(--ink);font-variant-numeric:tabular-nums}.gt.gr b{font-weight:600}
.heat2{min-width:560px;display:flex;flex-direction:column;gap:3px}.hrow{display:flex;align-items:center;gap:3px}.hd{width:28px;font-size:12px;color:var(--muted);flex:0 0 auto}
.hc{flex:1 1 0;height:20px;border-radius:3px;background:var(--accent)}
.ho0{opacity:.06}.ho1{opacity:.14}.ho2{opacity:.24}.ho3{opacity:.34}.ho4{opacity:.45}.ho5{opacity:.56}.ho6{opacity:.67}.ho7{opacity:.78}.ho8{opacity:.89}.ho9{opacity:1}
.hlab{display:flex;padding-left:31px;font-size:11px;color:var(--muted);justify-content:space-between}
.tg{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--soft)}.tg>span:first-child{display:flex;flex-direction:column}.tg b{font-size:14px}.tg>span>span{font-size:13px;color:var(--muted)}
.tg-col{flex-direction:column;align-items:stretch}.tg-col>span:first-child{margin-bottom:6px}
.switch2{width:40px;height:24px;border-radius:12px;background:#CBD5E1;display:flex;align-items:center;justify-content:flex-start;padding:0 3px;border:0;cursor:pointer;flex:0 0 auto}.switch2>span{width:18px;height:18px;border-radius:50%;background:#fff;display:block}
.switch2.on{background:var(--accent);justify-content:flex-end}.switch2.off{opacity:.6;cursor:not-allowed}
@media (max-width:767px){.stside{max-width:none;flex-basis:100%}.stmain{flex-basis:100%}.sthead h1{font-size:24px}}
.rowflex{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.rowflex h2{margin:0}.rowflex2{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hist{list-style:none;margin:0;padding:0}.hist li{padding:8px 0;border-bottom:1px solid var(--soft);font-size:14px}
.phead2{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.phead2 h2{margin:0}.strow2>.panel>.phead2{margin-bottom:0}

/* section pages: full lists, custom period, mobile menu */
.stcustom{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px}
.stcustom label{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
.stcustom input[type=date]{min-height:40px;padding:0 10px;border:1px solid #CBD5E1;border-radius:8px;background:#fff;color:var(--ink);font:inherit}
.stcustom .btn{min-height:40px}
.lt td,.lt th{white-space:nowrap}.lt td.ell{max-width:340px;overflow:hidden;text-overflow:ellipsis}
.lt-bar{min-width:140px}.lt-bar progress{width:90px;height:8px;vertical-align:middle;margin-right:8px;appearance:none;border:0;border-radius:4px;background:var(--soft)}
.lt-bar progress::-webkit-progress-bar{background:var(--soft);border-radius:4px}
.lt td.r.up{color:var(--up)}.lt td.r.down{color:var(--down)}.lt td.r.flat{color:var(--subtle)}
.lt-total{margin:12px 0 0}
.panel .pager{padding:14px 0 0;background:transparent}
@media (max-width:767px){
  .stmenu{flex-direction:row;overflow-x:auto;gap:6px;padding:8px}.stmenu .gh,.stmenu .sep{display:none}.stmenu a{flex:0 0 auto;min-height:40px;white-space:nowrap}
  .stlinks{flex-direction:row;flex-wrap:wrap}.stcustom{flex-direction:column;align-items:stretch}.lt td.ell{max-width:200px}
}
