/* Your targets (admin Home): one slim row of meters and taps; Details opens the week and the plan */
.tg{border:1px solid #1E2026;border-radius:14px;background:linear-gradient(180deg,#14151A,#101115);padding:12px 16px;margin:16px 0 0}
/* the bar sizes itself from the space it has (a container query), not the screen: two neat rows by default,
   one row: title, the three meters, Details and Change; on a narrow column the meters drop to their own row */
.tg{container-type:inline-size}
.tg-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"hd ms end";align-items:center;gap:12px 28px}
.tg-hd{grid-area:hd;display:flex;align-items:center;gap:10px}
.tg-hd h2{margin:0;font-size:15px;font-weight:700;letter-spacing:-.01em;white-space:nowrap}
.tg-streak{font-size:12px;font-weight:700;color:#EE2A1B;background:rgba(238,42,27,.12);padding:3px 9px;border-radius:999px;white-space:nowrap}
.tg-ms{grid-area:ms;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;min-width:0}
.tg-m{display:flex;flex-direction:column;gap:6px;min-width:0}
.tg-mt{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;min-width:0}
.tg-l{font-size:12.5px;color:#A3A7AD;font-weight:600;line-height:1.25}
.tg-n{font-size:17px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.01em;white-space:nowrap}
.tg-n small{font-size:12.5px;font-weight:600;color:#7A7F86}
.tg-bar{display:block;height:5px;border-radius:999px;background:#23262C;overflow:hidden}
.tg-bar i{display:block;height:100%;border-radius:inherit;background:#EE2A1B;transition:width .4s cubic-bezier(.2,.8,.2,1)}
.tg-m.hit .tg-bar i{background:#3DD68C}
.tg-m.hit .tg-n small{color:#3DD68C}
.tg-f{display:none;font-size:12.5px;color:#9FA3A8}
.tg.open .tg-f{display:block}
.tg-end{grid-area:end;display:flex;align-items:center;gap:14px}
.tg-more-b{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 4px;border:0;background:none;color:#C9CCD1;font:600 13px/1 inherit;font-family:inherit;cursor:pointer;white-space:nowrap}
.tg-more-b:focus-visible{outline:2px solid #EE2A1B;outline-offset:2px}
.tg-more-b svg{width:16px;height:16px;transition:transform .2s}
.tg.open .tg-more-b svg{transform:rotate(180deg)}
.tg-end .linkbtn{font-size:13px;min-height:32px}
.tg-more{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #1E2026}
.tg-more[hidden]{display:none}
.tg-week{display:flex;gap:5px;list-style:none;margin:0;padding:0}
.tg-week li{width:24px;height:24px;border-radius:7px;background:#1F2226;display:grid;place-items:center;font-size:12px;font-weight:700;color:#7A7F86}
.tg-week li.some{background:rgba(238,42,27,.18);color:#FF7360}
.tg-week li.hit{background:#3DD68C;color:#0A0A0B}
.tg-week li.fut{background:none;border:1px dashed #2A2D33}
.tg-plan{margin:0;flex:1;min-width:220px;font-size:13px;color:#B4B8BE;line-height:1.45}
.tg-plan b{color:#F2F3F4}
/* narrow (phones, or a tight column): title and Details/Change on top, the meters in a 2×2, then the buttons in a grid */
@container (max-width:719px){
 .tg-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"hd end" "ms ms";gap:12px}
 .tg-ms{gap:12px 14px}
}
@media(max-width:760px){.tg{padding:12px 14px}}
@media(pointer:coarse){