/* SpacedCube: progress view and charts. */
.progress { display: grid; gap: 16px; }
.progress .toolbar { margin: 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { display: grid; gap: 2px; }
.tile span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tile b { font-family: var(--font-display); font-stretch: 110%; font-size: 34px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile b em { font-style: normal; font-size: 18px; color: var(--muted); font-weight: 600; }
.tile small { color: var(--muted); font-size: 13px; }
.charts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chartcard .sub { margin: 2px 0 8px; color: var(--muted); font-size: 13px; }
.chartwrap { position: relative; }
.chart { display: block; overflow: visible; max-width: 100%; }
.chart .gl { stroke: var(--line); stroke-width: 1; }
.chart .tk { fill: var(--muted); font-size: 11px; font-family: var(--font-body); font-variant-numeric: tabular-nums; }
.chart .hl { fill: var(--ink); opacity: .06; }
.tip {
  position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 8px 10px; font-size: 12px; min-width: 140px; z-index: 2;
}
.tip .tg { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tip .sw { width: 9px; height: 9px; border-radius: 2px; display: inline-block; margin-right: 6px; }
details.card summary { cursor: pointer; font-weight: 500; }
.tablewrap { overflow-x: auto; margin-top: 10px; }
.tablewrap table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.tablewrap th, .tablewrap td { text-align: right; padding: 5px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tablewrap th:first-child, .tablewrap td:first-child { text-align: left; }
.tablewrap tbody th { font-weight: 500; color: var(--ink); }
.tablewrap th { color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .charts2 { grid-template-columns: 1fr; } .tiles { grid-template-columns: 1fr 1fr 1fr; } .tile b { font-size: 26px; } }

