/* V5.2 — readable reports, classic/season separation and Flask-style cost matrix. */
[hidden]{display:none!important}
body[data-style=default] .theme-bg{display:none!important}body[data-style=default][data-mode=light] .workspace,body[data-style=default][data-mode=light] .content{background:#edf3fa!important}body[data-style=default][data-mode=light] :is(.sidebar,.topbar,.panel,.legacy-chart,.legacy-cost-section){background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.season-background-v52{background:transparent!important}body.season-background-v52 .theme-bg{display:block!important}body.season-background-v52 .theme-bg>img{width:100%;height:100%;object-fit:cover;animation:season-v52-drift 18s ease-in-out infinite alternate}.season-background-v52 .theme-bg:after{background:rgba(244,248,252,.32)!important}.season-background-v52[data-mode=dark] .theme-bg:after{background:rgba(10,15,24,.6)!important}.season-background-v52[data-mode=light] :is(.sidebar,.topbar,.panel,.legacy-chart,.legacy-cost-section,.usage-year-donut-card,.usage-year-scroll,.daily-v45-scroll){background:rgba(255,255,255,.83)!important;-webkit-backdrop-filter:blur(14px) saturate(120%)!important;backdrop-filter:blur(14px) saturate(120%)!important}@keyframes season-v52-drift{from{transform:scale(1.01) translate3d(-.25%,0,0)}to{transform:scale(1.045) translate3d(.35%,-.35%,0)}}
body[data-style=spring]{--accent:#278b69;--accent-soft:#e7f5ee}body[data-style=summer]{--accent:#207d82;--accent-soft:#e2f5f5}body[data-style=autumn]{--accent:#a86027;--accent-soft:#faeddf}body[data-style=winter]{--accent:#4879ae;--accent-soft:#e7f0fb}
body[data-style=qingxiao] .workspace,body[data-style=qingxiao] .content{background:transparent!important}body[data-style=qingxiao] :is(.sidebar,.topbar,.panel,.legacy-chart,.legacy-cost-section,.usage-year-donut-card,.usage-year-scroll,.daily-v45-scroll,.top-popover,dialog){background:color-mix(in srgb,var(--surface) 88%,transparent)!important;border-color:rgba(255,255,255,.46)!important;-webkit-backdrop-filter:blur(30px) saturate(175%)!important;backdrop-filter:blur(30px) saturate(175%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 16px 44px rgba(18,43,67,.13)!important}
.usage-v52-controls{display:flex;align-items:center;gap:8px;margin:0 0 9px;padding:7px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.72)}.usage-v52-controls label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800}.usage-v52-controls input,.usage-v52-controls select{height:34px;padding:5px 8px}.usage-v52-controls select{min-width:260px}.usage-v52-controls .grow{flex:1}.usage-v52-controls small{margin-left:auto}.usage-year-v47 .usage-year-heading{display:none}.usage-year-compare{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.usage-year-compare h3{margin:0;color:#173b79;font-size:14px}.usage-year-compare span{padding:5px 9px;border-radius:999px;background:#e9f3fb;color:#24558c;font-size:9px;font-weight:850}.usage-compare-up{color:#0b8b57!important}.usage-compare-down{color:#c33a52!important}.usage-compare-flat{color:#64748b!important}.usage-year-table .compare-cell{font-weight:850;white-space:nowrap}
.legacy-calendar{max-height:520px!important;overflow:auto!important}.legacy-calendar table{width:100%!important;min-width:1040px!important;table-layout:fixed!important}.legacy-calendar th:first-child,.legacy-calendar td:first-child{width:220px!important;min-width:220px!important}.legacy-calendar .legacy-week-head,.legacy-calendar tbody td:not(:first-child){width:auto!important;min-width:64px!important;max-width:none!important}.legacy-calendar .legacy-month-group{font-size:14px!important}.legacy-calendar .legacy-week-head b{font-size:10px}.legacy-calendar .legacy-week-head small{font-size:7px}.legacy-calendar .legacy-heat{height:28px;line-height:28px;font-size:9px}.legacy-calendar [hidden]{display:none!important}
.cost-v52{display:grid;gap:10px}.cost-v52-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:#fff}.cost-v52-header h2{margin:0;color:#123881;font-size:14px}.cost-v52-period{display:flex;align-items:center;gap:7px}.cost-v52-period input{height:32px;padding:5px 8px}.cost-v52-tabs{display:flex;gap:6px;padding:5px;border:1px solid var(--line);border-radius:10px;background:#fff}.cost-v52-tabs button{height:33px;padding:5px 13px}.cost-v52-tabs button.active{background:#173f94;color:#fff}.cost-v52-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}.cost-v52-tools input{height:32px;width:260px}.cost-v52-tools .rule{margin-left:auto;padding:5px 9px;border-radius:999px;background:#f2f6fb;font-size:9px;font-weight:800}.cost-v52-table{overflow:auto;max-height:62vh;border:1px solid #bfcde0;border-radius:9px;background:#fff}.cost-v52-table table{min-width:max-content;width:100%;font-size:10px}.cost-v52-table th,.cost-v52-table td{padding:7px 8px;border-right:1px solid #cbd7e7;border-bottom:1px solid #cbd7e7;text-align:center}.cost-v52-table th{background:#e9eff8!important;color:#092f81!important;font-size:9px}.cost-v52-table td:first-child,.cost-v52-table td:nth-child(2),.cost-v52-table td:nth-child(3){text-align:left}.cost-v52-table .device-name{min-width:210px}.cost-v52-table .device-name b{display:block}.cost-v52-table .device-name select{width:100%;height:27px;margin-top:4px;padding:2px 5px;font-size:9px}.cost-v52-table .dept-use{min-width:84px}.cost-v52-table .dept-use small{font-size:7px}.cost-v52-table input[type=checkbox]{width:15px;height:15px}.cost-v52-table .dept-actions{display:flex;align-items:center;justify-content:center;gap:2px}.cost-v52-table .dept-actions button{height:20px;padding:0 3px;border:0;background:transparent;font-size:9px}.cost-v52-empty{padding:24px!important;text-align:center!important;color:var(--muted)}
@media(max-width:1350px){.usage-v52-controls select{min-width:210px}.legacy-calendar table{min-width:940px!important}.legacy-calendar th:first-child,.legacy-calendar td:first-child{width:190px!important;min-width:190px!important}.usage-year-donut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-v52-table{max-height:68vh}.cost-v52-table th,.cost-v52-table td{padding:6px}}
@media(max-width:800px){.usage-v52-controls,.cost-v52-header{align-items:flex-start;flex-direction:column}.usage-v52-controls select{width:100%;min-width:0}.usage-v52-controls small{margin-left:0}.cost-v52-period{flex-wrap:wrap}.cost-v52-tools .rule{margin-left:0}.legacy-calendar table{min-width:900px!important}}
@media(prefers-reduced-motion:reduce){.season-background-v52 .theme-bg>img{animation:none}}
