/* ---------- THE ONE SIZE SCALE (task rows, calendar entries, free-time slots) ----------
   The only place the level table lives. A level N is declared by the task list's [data-z],
   the grid's drawn data-zoom, its live data-cal-zoom (the [data-view] form outranks the drawn
   level so a drag previews) and the free-time grid's data-cal-zoom. Level 1 is also the default
   with no attribute (:where keeps its specificity at zero). Sizes are the type scale
   11,12,13,14,16,18; no level goes under 11px. Load before alt-tasks.css and the grid sheets. */
:where(#altList, .a-cg, .a-cfree),
[data-z="1"], .a-cg[data-zoom="1"], [data-cal-zoom="1"] .a-cg[data-view], .a-cfree[data-cal-zoom="1"]{
  --z-p:13px; --z-s:12px; --z-c:11px; --z-row:44px; --z-row1:36px; --z-pad:7px;
  --z-tl:1; --z-dl:1; --z-ctl:1;
}
[data-z="2"], .a-cg[data-zoom="2"], [data-cal-zoom="2"] .a-cg[data-view], .a-cfree[data-cal-zoom="2"]{
  --z-p:14px; --z-s:12px; --z-c:11px; --z-row:48px; --z-row1:40px; --z-pad:9px;
  --z-tl:1; --z-dl:1; --z-ctl:2;
}
[data-z="3"], .a-cg[data-zoom="3"], [data-cal-zoom="3"] .a-cg[data-view], .a-cfree[data-cal-zoom="3"]{
  --z-p:14px; --z-s:13px; --z-c:12px; --z-row:52px; --z-row1:44px; --z-pad:10px;
  --z-tl:2; --z-dl:2; --z-ctl:2;
}
[data-z="4"], .a-cg[data-zoom="4"], [data-cal-zoom="4"] .a-cg[data-view], .a-cfree[data-cal-zoom="4"]{
  --z-p:16px; --z-s:13px; --z-c:12px; --z-row:56px; --z-row1:48px; --z-pad:12px;
  --z-tl:2; --z-dl:2; --z-ctl:2;
}
[data-z="5"], .a-cg[data-zoom="5"], [data-cal-zoom="5"] .a-cg[data-view], .a-cfree[data-cal-zoom="5"]{
  --z-p:18px; --z-s:14px; --z-c:13px; --z-row:60px; --z-row1:52px; --z-pad:14px;
  --z-tl:3; --z-dl:3; --z-ctl:3;
}
