:root{color-scheme:dark;--heatmap-bg: #121519;--heatmap-panel: #181c21;--heatmap-border: #262b32;--heatmap-text: #f3f5f7;--heatmap-muted: #a8b0bb;--heatmap-green: #00a878;--heatmap-red: #e52b4d;font-family:Arial,Microsoft YaHei,sans-serif;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--heatmap-bg);color:var(--heatmap-text)}button,select{font:inherit}.summary-shell{display:flex;min-height:100vh;flex-direction:column;padding:7px 9px 9px}.summary-header{display:flex;min-height:36px;align-items:center;justify-content:space-between;gap:12px}.summary-header h1{margin:0;font-size:16px;font-weight:600}.summary-link{color:#9eb5d0;font-size:12px;text-decoration:none;white-space:nowrap}.summary-link:hover{color:#fff;text-decoration:underline}.summary-toolbar{display:flex;min-height:39px;align-items:center;gap:14px;padding:3px 0 7px}.summary-toolbar-actions{display:flex;align-items:center;gap:10px}.action-button{height:28px;padding:0 9px;border:1px solid var(--heatmap-border);border-radius:2px;cursor:pointer;background:var(--heatmap-panel);color:var(--heatmap-text);font-size:11px}.primary-action{border-color:#343c46;background:#252c35}.primary-action:hover{background:#333c47}.action-button:disabled{cursor:wait;opacity:.6}.summary-toolbar label{display:flex;align-items:center;gap:6px;color:var(--heatmap-muted);font-size:11px}.summary-toolbar select{min-width:65px;height:28px;padding:0 6px;border:1px solid var(--heatmap-border);border-radius:2px;background:var(--heatmap-panel);color:var(--heatmap-text);font-size:11px}.summary-legend{display:grid;width:min(310px,30vw);grid-template-columns:repeat(7,1fr);margin-left:auto;color:#cad0d7;font-size:10px;text-align:center}.summary-legend span:before{display:block;height:4px;margin-bottom:3px;content:"";background:#e52b4d}.summary-legend span:nth-child(2):before{background:#a51e38}.summary-legend span:nth-child(3):before{background:#561d2a}.summary-legend span:nth-child(4):before{background:#78869a}.summary-legend span:nth-child(5):before{background:#18372f}.summary-legend span:nth-child(6):before{background:#08744f}.summary-legend span:nth-child(7):before{background:#00a878}.summary-area-note{color:var(--heatmap-muted);font-size:10px;white-space:nowrap}.summary-status{max-width:28vw;overflow:hidden;color:var(--heatmap-muted);font-size:10px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.summary-status.saved{color:#60cba4}.summary-status.warning{color:#e6bd69}.summary-status.error{color:#f0788d}.category-summary{position:relative;min-height:440px;flex:1 1 auto;overflow:hidden;background:var(--heatmap-bg)}.treemap-tile{position:absolute;top:var(--tile-y);left:var(--tile-x);display:flex;width:var(--tile-width);height:var(--tile-height);flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border:2px solid var(--heatmap-bg);border-radius:0;padding:4px;background:var(--tile-color);color:#fff;font:inherit;text-align:center}.treemap-tile:disabled{opacity:1}.treemap-tile.is-drillable{cursor:pointer}.treemap-tile.is-drillable:hover{filter:brightness(1.12)}.treemap-tile.is-drillable:focus-visible{z-index:1;outline:2px solid #fff;outline-offset:-4px}.treemap-tile strong,.treemap-change,.treemap-cap{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treemap-tile strong{font-size:15px;font-weight:600}.treemap-change{margin-top:4px;font-size:13px;font-weight:600}.treemap-cap{margin-top:3px;color:#ffffffb8;font-size:10px}.treemap-tile-medium strong{font-size:12px}.treemap-tile-medium .treemap-change{margin-top:2px;font-size:11px}.treemap-tile-medium .treemap-cap{font-size:9px}.treemap-tile-small{padding:2px}.treemap-tile-small strong{font-size:10px}.treemap-tile-small .treemap-change{margin-top:1px;font-size:9px}.treemap-tile-small .treemap-cap{display:none}.summary-empty{margin:auto;padding:24px 10px;color:var(--heatmap-muted);text-align:center;font-size:12px}.summary-empty[hidden]{display:none}@media(max-width:760px){.summary-shell{min-height:100dvh;padding:6px}.summary-header{min-height:32px}.summary-toolbar{flex-wrap:wrap;gap:8px 10px}.summary-legend{width:min(250px,52vw)}.summary-area-note{margin-left:auto}.summary-status{max-width:none;flex-basis:100%;text-align:left}.category-summary{min-height:max(520px,calc(100dvh - 105px))}.treemap-tile{border-width:1px;padding:2px}.treemap-tile strong{font-size:12px}.treemap-change,.treemap-tile-medium strong{font-size:10px}.treemap-tile-medium .treemap-change{font-size:9px}.treemap-tile-small strong,.treemap-tile-small .treemap-change{font-size:8px}}@media(max-width:420px){.summary-toolbar-actions{gap:6px}.summary-legend{width:48vw}.summary-toolbar label{gap:4px}}
