:root{color-scheme:dark;--bg:#080b12;--line:rgba(255,255,255,.08);--muted:#8991a3;--text:#f5f7fb;--blue:#63d3ff;--violet:#9a7cff;--green:#75f0bd}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,"SF Pro Display","PingFang SC",system-ui,sans-serif;min-height:100vh}.ambient{position:fixed;border-radius:50%;filter:blur(120px);opacity:.14;pointer-events:none}.ambient-one{width:420px;height:420px;background:#1aa9ff;top:-250px;right:5%}.ambient-two{width:400px;height:400px;background:#7145ff;bottom:-280px;left:-120px}main{position:relative;width:min(980px,calc(100% - 32px));margin:auto;padding:42px 0 64px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.identity{display:flex;align-items:center;gap:13px}.usage-icon{width:47px;height:47px;filter:drop-shadow(0 8px 18px rgba(72,144,255,.2))}.usage-icon svg{display:block;width:100%}h1{font-size:29px;letter-spacing:-.05em;line-height:1;margin:3px 0 6px}h2{font-size:17px;margin:4px 0 0;letter-spacing:-.02em}.eyebrow{font-size:9px;letter-spacing:.2em;color:#6c768d;margin:0;font-weight:700}.subtitle{color:var(--muted);margin:0;font-size:12px}.sync{display:flex;gap:8px;align-items:center;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.025)}.sync>span{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 14px var(--green)}.sync div{display:flex;flex-direction:column}.sync small,.metric-row small{font-size:9px;color:var(--muted)}.sync strong{font-size:11px;margin-top:2px}.limits{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.limit-card,.panel,.summary-strip{border:1px solid var(--line);background:linear-gradient(145deg,rgba(25,31,46,.87),rgba(13,17,27,.82));backdrop-filter:blur(18px);border-radius:17px;box-shadow:0 18px 45px rgba(0,0,0,.16)}.limit-card{padding:17px 19px}.limit-head,.limit-foot{display:flex;justify-content:space-between;align-items:center}.limit-head span{font-size:12px;font-weight:600}.limit-head b{font-size:23px;letter-spacing:-.05em}.progress{height:4px;background:rgba(255,255,255,.07);border-radius:8px;margin:15px 0 9px;overflow:hidden}.progress i{display:block;height:100%;width:0;border-radius:8px;transition:width .7s ease}.accent-blue .progress i{background:linear-gradient(90deg,#238dff,var(--blue));box-shadow:0 0 14px var(--blue)}.accent-violet .progress i{background:linear-gradient(90deg,#6d4dff,#ba7bff);box-shadow:0 0 14px #9a7cff}.limit-foot{font-size:10px;color:var(--muted)}.limit-foot strong{color:#c5cada;font-weight:500}.summary-strip{display:grid;grid-template-columns:repeat(5,1fr);margin-bottom:12px;padding:14px 0}.summary-strip>div{padding:0 15px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:4px}.summary-strip>div:first-child{border:0}.summary-strip strong{font-size:20px;letter-spacing:-.05em;white-space:nowrap}.summary-strip span{font-size:10px;color:var(--muted)}.panel{padding:21px}.panel-heading{display:flex;align-items:center;justify-content:space-between}.activity-panel{margin-bottom:12px}.activity-caption{font-size:10px;color:var(--muted)}.activity-map{display:grid;grid-template-rows:repeat(7,10px);grid-auto-flow:column;grid-auto-columns:10px;gap:4px;margin-top:19px;overflow:hidden}.heat{display:block;width:10px;height:10px;border-radius:3px;background:rgba(255,255,255,.055)}.heat.l1{background:#174f85}.heat.l2{background:#217bca}.heat.l3{background:#35a6ff}.heat.l4{background:#83d8ff}.activity-scale{display:flex;justify-content:flex-end;gap:4px;align-items:center;margin-top:11px;color:var(--muted);font-size:9px}.activity-scale i{height:8px;width:8px;border-radius:2px;background:rgba(255,255,255,.055)}.activity-scale i:nth-of-type(2){background:#217bca}.activity-scale i:nth-of-type(3){background:#35a6ff}.activity-scale i:nth-of-type(4){background:#83d8ff}.usage-panel{margin-bottom:12px}.panel-heading nav{display:flex;padding:3px;background:rgba(255,255,255,.04);border-radius:9px}.panel-heading button{border:0;background:transparent;color:var(--muted);padding:5px 10px;border-radius:6px;cursor:pointer;font-size:11px}.panel-heading button.active{background:rgba(255,255,255,.09);color:#fff}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:17px 0 14px;padding:12px 0}.metric-row>div{display:grid;grid-template-columns:auto 1fr;gap:2px 7px;padding-left:15px;border-left:1px solid var(--line)}.metric-row>div:first-child{padding-left:0;border:0}.metric-row small{grid-column:1/-1}.metric-row strong{font-size:20px;letter-spacing:-.04em}.metric-row em{font-style:normal;color:var(--muted);font-size:10px;align-self:end;padding-bottom:3px}.chart{height:150px;display:flex;align-items:flex-end;gap:6px;padding-top:12px;overflow:hidden}.bar-wrap{min-width:8px;flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.bar-stack{width:100%;max-width:30px;min-height:2px;border-radius:4px 4px 2px 2px;overflow:hidden;display:flex;flex-direction:column-reverse;transition:height .5s ease}.bar-segment.input{background:linear-gradient(180deg,#3298e8,#1f5e9b)}.bar-segment.output{background:#9a7cff}.bar-segment.reason{background:#75f0bd}.bar-wrap label{font-size:8px;color:#626b7e;white-space:nowrap}.legend{display:flex;justify-content:center;gap:16px;margin-top:10px;color:var(--muted);font-size:9px}.legend i,.breakdown-list i{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:5px}.input-dot{background:#3298e8}.output-dot{background:#9a7cff}.reason-dot{background:#75f0bd}.bottom-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:12px}.donut{width:135px;height:135px;border-radius:50%;margin:18px auto 16px;display:grid;place-items:center;background:conic-gradient(var(--blue) 0 80%,var(--violet) 80% 95%,var(--green) 95%);position:relative}.donut:after{content:"";position:absolute;width:92px;height:92px;background:#111622;border-radius:50%}.donut>div{z-index:1;text-align:center;display:flex;flex-direction:column}.donut strong{font-size:18px}.donut small{color:var(--muted);font-size:8px;margin-top:2px}.breakdown-list{display:grid;gap:8px}.breakdown-list>div{display:grid;grid-template-columns:1fr auto;color:var(--muted);font-size:10px}.breakdown-list strong{color:#dbe0ec}.calendar-head>div:last-child{display:flex;align-items:center;gap:7px}.calendar-head button{font-size:16px;padding:2px 7px}.calendar-head strong{min-width:82px;text-align:center;font-size:11px}.weekdays,.calendar{display:grid;grid-template-columns:repeat(7,1fr)}.weekdays{margin-top:15px;color:#616b7f;text-align:center;font-size:8px}.calendar{margin-top:5px;gap:3px}.day{aspect-ratio:1.35;min-height:28px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:9px;color:#a2aabd;position:relative;border:1px solid transparent}.day.muted{opacity:.16}.day.today{border-color:rgba(99,211,255,.35);color:var(--blue)}.day.reset{background:linear-gradient(135deg,rgba(154,124,255,.3),rgba(99,211,255,.16));border-color:rgba(176,139,255,.55);color:#fff;font-weight:700}.day.reset:after{content:"重置";position:absolute;font-size:5px;bottom:1px;color:#d7c8ff}.calendar-note{display:flex;align-items:center;gap:7px;margin-top:10px;padding:8px 9px;background:rgba(154,124,255,.07);border-radius:7px;font-size:9px;color:var(--muted)}.calendar-note i{width:6px;height:6px;border-radius:2px;background:var(--violet)}.error{padding:25px;text-align:center;color:#ff9caa}@media(max-width:760px){main{width:min(100% - 22px,980px);padding-top:28px}header{align-items:flex-start;gap:16px;flex-direction:column}.limits,.bottom-grid{grid-template-columns:1fr}.summary-strip{grid-template-columns:repeat(2,1fr);gap:12px}.summary-strip>div:nth-child(3){border-left:0}.summary-strip strong{font-size:18px}.panel-heading{align-items:flex-start;gap:12px;flex-direction:column}.activity-map{grid-template-rows:repeat(7,8px);grid-auto-columns:8px;gap:3px}.heat{width:8px;height:8px}.metric-row{gap:7px}.metric-row>div{padding-left:8px}.metric-row strong{font-size:16px}.chart{gap:4px}.bar-wrap label{font-size:7px}.calendar-head{flex-direction:row;align-items:center}}
 .header-actions{display:flex;align-items:center;gap:8px}.date-switcher{display:flex;align-items:center;gap:4px;padding:6px 7px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.025)}.date-switcher button{border:0;background:transparent;color:#bac3d6;font-size:18px;line-height:1;padding:2px 5px;cursor:pointer}.date-switcher button:disabled{opacity:.25;cursor:default}.date-switcher label{display:flex;flex-direction:column;gap:1px}.date-switcher small{font-size:8px;color:var(--muted)}.date-switcher input{width:96px;border:0;background:transparent;color:#e7ebf4;font:500 11px Inter,"PingFang SC",sans-serif;outline:none;color-scheme:dark}.usage-icon{display:grid;place-items:center;border-radius:14px;background:#fff;filter:none}.usage-icon img{width:29px;height:29px;display:block;filter:invert(1)}.limits{gap:0;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,rgba(25,31,46,.87),rgba(13,17,27,.82));box-shadow:0 14px 35px rgba(0,0,0,.14);overflow:hidden}.limit-card{padding:11px 16px;border:0;border-radius:0;box-shadow:none;background:transparent}.limit-card+.limit-card{border-left:1px solid var(--line)}.limit-head b{font-size:19px}.progress{margin:8px 0 6px}.limit-foot{font-size:9px}.activity-months{display:grid;grid-template-columns:repeat(52,10px);gap:4px;margin-top:17px;height:11px;overflow:hidden;color:#697489;font-size:8px}.activity-months span{white-space:nowrap}.activity-map{margin-top:4px}@media(max-width:760px){.header-actions{width:100%;justify-content:space-between}.activity-months{grid-template-columns:repeat(52,8px);gap:3px}.limits{grid-template-columns:1fr 1fr}.limit-card{padding:10px 11px}.limit-foot strong{font-size:8px}}

.usage-icon img{filter:none}
.theme-toggle{width:31px;height:31px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.04);color:var(--text);font-size:16px;cursor:pointer}.range-description{margin:5px 0 0;color:var(--muted);font-size:10px}.usage-panel .panel-heading{align-items:flex-start}:root{--bg:#f6f7f9;--line:rgba(20,27,40,.11);--muted:#697386;--text:#171b24}body{background:var(--bg)}.ambient{opacity:.07}.limit-card,.panel,.summary-strip{background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(244,246,250,.93));box-shadow:0 15px 34px rgba(19,28,43,.07)}.limits{background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,246,250,.95));box-shadow:0 12px 30px rgba(19,28,43,.06)}.sync,.date-switcher{background:rgba(255,255,255,.75)}.theme-toggle{background:#fff}.donut:after{background:#f9fafb}.day{color:#596276}.day.muted{opacity:.28}.activity-scale i:first-of-type,.heat{background:#e8ecf2}.calendar-note{background:rgba(112,88,255,.07)}body[data-theme="dark"]{--bg:#080b12;--line:rgba(255,255,255,.08);--muted:#8991a3;--text:#f5f7fb}body[data-theme="dark"] .ambient{opacity:.14}body[data-theme="dark"] .limit-card,body[data-theme="dark"] .panel,body[data-theme="dark"] .summary-strip{background:linear-gradient(145deg,rgba(25,31,46,.87),rgba(13,17,27,.82));box-shadow:0 18px 45px rgba(0,0,0,.16)}body[data-theme="dark"] .limits{background:linear-gradient(145deg,rgba(25,31,46,.87),rgba(13,17,27,.82));box-shadow:0 14px 35px rgba(0,0,0,.14)}body[data-theme="dark"] .sync,body[data-theme="dark"] .date-switcher,body[data-theme="dark"] .theme-toggle{background:rgba(255,255,255,.025)}body[data-theme="dark"] .donut:after{background:#111622}body[data-theme="dark"] .day{color:#a2aabd}body[data-theme="dark"] .day.muted{opacity:.16}body[data-theme="dark"] .heat{background:rgba(255,255,255,.055)}

:root{color-scheme:light}body[data-theme="dark"]{color-scheme:dark}

header{align-items:flex-start}.header-left{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.header-actions{margin-top:1px}.day.reset:after{content:"计划"}.day.observed-reset{background:rgba(255,170,72,.17);border-color:rgba(255,170,72,.68);color:#d9811f;font-weight:700}.day.observed-reset:after{content:"检测";position:absolute;font-size:5px;bottom:1px;color:#c46e14}@media(max-width:760px){header{align-items:flex-start}.header-left{width:100%}}
