body{margin:0;padding:6px 8px;font:12px/1.3 -apple-system,"Hiragino Sans","Yu Gothic",sans-serif;color:#222;background:#fff}
#list{display:grid;grid-template-columns:minmax(0,7em) 1fr;gap:2px 6px;align-items:center}
#list hr{grid-column:1/-1;width:100%;border:0;border-top:1px solid #e6e4de;margin:3px 0}
.name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.track{height:4px;background:#f0efeb;border-radius:2px}
.fill{height:4px;border-radius:2px;background:#B4B2A9;min-width:3px}
.fill.idle{background:transparent;min-width:0}
.fill.none,.fill.few{background:#E8B22A}
.fill.over{background:#D85A30}
.empty{grid-column:1/-1;margin:0;color:#888}
.tools{display:flex;gap:6px;margin-top:6px}
.tools button{flex:1;font-size:11px;padding:2px 0;border:1px solid #ccc;border-radius:4px;background:#fafafa;cursor:pointer}
.tools button.primary{background:#222;color:#fff;border-color:#222}
#detail{margin-top:8px;border-top:1px solid #eee;padding-top:6px}
h3{font-size:11px;color:#888;margin:4px 0 2px;font-weight:500}
dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:0 8px;font-size:11px}
dt{color:#888}
dd{margin:0;word-break:break-all}
#log{font-size:10px;color:#555;padding-left:16px;max-height:160px;overflow:auto}
