/* The board as squares (PROTOTYPE, public/grid.js). The Level 10 Scorecard's look (.l10-n): white card, hairline, 14 px
   radius, small uppercase name, one big number. Phone first: 2 across; 3 on a tablet; 4 on a computer. */
:root{
  /* style tokens (25 Nov token pass): each holds EXACTLY the literal it replaced; a direction changes values here. */
  --grid-ink-white-50:#fff;
  --grid-line-blue-400:#4a7bd0;
  --grid-ink-blue-200:#c9d2e0;
  --grid-bg-blue-400:#2f63d6;
  --grid-gq-ghost-bg:rgba(47,99,214,.10);
  --grid-gq-sizes-line:#3c4b63;
  --grid-fill-blue-200:#9fc1ff;
  --grid-gq-drag-shadow:rgba(20,26,36,.28);
  --grid-gq-drop-shadow:rgba(47,99,214,.25);
  /* radius, shadow and font, as found */
  --grid-radius-10:10px;
  --grid-radius-9:9px;
  --grid-radius-8:8px;
  --grid-radius-18:18px;
  --grid-radius-pill:50%;
  --grid-radius-5:5px;
  --grid-radius-3:3px;
}
.gq-on .fold-all{display:none}
.gq-on .edit-me{margin:0}
.gq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:158px;grid-auto-flow:row;gap:10px;margin:10px 0 0}
@media (min-width:700px){.gq-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:170px}}
@media (min-width:1100px){.gq-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:176px;gap:12px}}
.gq{grid-column:span var(--w);grid-row:span var(--h);position:relative;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
@media (max-width:699px){.gq[data-w="3"],.gq[data-w="4"]{grid-column:span 2}}
@media (min-width:700px) and (max-width:1099px){.gq[data-w="4"]{grid-column:span 3}}
.gq-in{position:absolute;inset:0;padding:12px 14px;overflow:hidden}
.gq-full{min-width:0}
/* a section inside a square: no second card, no fold chevron, the title as the square's name */
.gq .fold{margin:0}.gq .fold-h{margin:0 0 6px}.gq .fold-btn{pointer-events:none;min-height:0;padding:0}.gq .fold-btn .chev{display:none}
.gq .fold-s b{font-size:24px}
.gq .card{border:0;padding:0;background:none;box-shadow:none}
.gq-full > .halves{display:block}
/* goals: the board's own navy goal tile, one per square */
.gq-goal{background:var(--navy);border-color:var(--navy);color:var(--grid-ink-white-50)}
.gq-hero{margin:0;padding:0;background:none}.gq-hero .hero-row{padding:0;overflow:visible;display:block}
.gq-hero .gt{max-width:none;background:none;padding:0}
.gq-goal .gt-v{font-size:34px}
/* meters and tiles: the square is the card */
.gq-one{display:block}.gq-one .mtr{border:0;padding:0;background:none;min-height:0}
.gq-tile .ct{border:0;padding:0;background:none;box-shadow:none}
/* compact: the second lines go, the name / number / bar stay */
.gq.compact .gt-src,.gq.compact .gt-split,.gq.compact .gt-ua,.gq.compact .note,.gq.compact .wk-note,.gq.compact .ct-sub,.gq.compact .ct-mine,.gq.compact .mtr-n,.gq.compact .info{display:none!important}
.gq.tight .gt-src,.gq.tight .gt-split,.gq.tight .gt-ua,.gq.tight .pace,.gq.tight .info{display:none!important}
.gq.tight .gt-v{font-size:26px}
/* the face: the section's own headline numbers; the whole square opens it */
.gq-face{display:none;position:absolute;inset:0;width:100%;text-align:left;border:0;background:none;padding:12px 14px;color:var(--ink);cursor:pointer;font:inherit}
.gq.faced .gq-full{display:none}.gq.faced .gq-face{display:block}
.gq-face:hover{background:var(--soft)}
.gq-face:focus-visible{outline:3px solid var(--grid-line-blue-400);outline-offset:-3px}
.gq-f{display:flex;flex-direction:column;height:100%;gap:6px}
.gq-fh{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.gq-fh .fold-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gq-open{font-size:12px;font-weight:700;color:var(--link,var(--navy));white-space:nowrap}
.gq-ft .gq-open{position:absolute;top:12px;right:14px}
.gq-sts{display:flex;flex-wrap:wrap;gap:4px 16px;align-content:flex-start;flex:1;min-height:0;overflow:hidden}
.gq-st{font-size:13px;color:var(--muted);line-height:1.25}
.gq-st b{font-size:26px;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.gq-st small{font-size:12px;color:var(--faint)}
.gq-st-t{font-size:15px;color:var(--ink)}
.gq[data-h="2"] .gq-st b,.gq[data-h="3"] .gq-st b{font-size:34px}
.gq[data-h="2"] .gq-sts,.gq[data-h="3"] .gq-sts{flex-direction:column;gap:10px}
.gq-stamp{font-size:11px;color:var(--faint);line-height:1.3}
.gq-stamp .age{font-size:11px}
/* editing: the same squares with handles */
.gq-edit .gq{border:1.5px dashed var(--faint)}
.gq-edit .gq.lk{border-style:solid;border-color:var(--navy)}
.gq-edit .gq-in{top:46px;bottom:46px;opacity:.5;pointer-events:none}
.gq-edit .gq-face{pointer-events:none}
.gq-ed{position:absolute;top:0;left:0;right:0;height:46px;display:flex;align-items:center;gap:6px;padding:4px 6px 0;z-index:2;color:var(--ink)}
.gq-goal .gq-ed{color:var(--grid-ink-white-50)}
.gq-grip,.gq-eye,.gq-lk{width:40px;height:40px;flex:0 0 40px;border:0;border-radius:var(--grid-radius-10);background:var(--soft);color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:grab;padding:0}
.gq-goal .gq-grip,.gq-goal .gq-lk{background:var(--navy-2)}
.gq-grip svg{width:20px;height:20px;fill:currentColor}
.gq-eye svg,.gq-lk svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.gq-eye{cursor:pointer;margin-left:auto}.gq-lk{margin-left:auto;background:none;cursor:default}
.gq-name{font-size:13px;font-weight:700;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gq-sizes{position:absolute;left:6px;bottom:6px;right:44px;display:flex;gap:4px;z-index:2}
.gq-sizes button{flex:0 1 54px;min-width:0;height:38px;border:1px solid var(--line);border-radius:var(--grid-radius-9);background:var(--card);color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;cursor:pointer;padding:0}
.gq-sizes button b{font-size:13px}.gq-sizes button small{font-size:10px;color:var(--muted)}
.gq-sizes button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:var(--grid-ink-white-50)}.gq-sizes button[aria-pressed="true"] small{color:var(--grid-ink-blue-200)}
.gq-sizes button:disabled{opacity:.35;cursor:not-allowed;text-decoration:line-through}
.gq-rs{position:absolute;right:4px;bottom:4px;width:40px;height:40px;border:0;background:none;color:var(--muted);cursor:nwse-resize;z-index:2;padding:0;display:flex;align-items:flex-end;justify-content:flex-end}
.gq-rs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4}
.gq-goal .gq-rs{color:var(--grid-ink-blue-200)}
.gq.off{opacity:.45}
.gq.sizing{overflow:visible;z-index:6;border-color:var(--grid-bg-blue-400);border-style:solid}
.gq-ghost{position:absolute;left:-1.5px;top:-1.5px;border:2.5px dashed var(--grid-bg-blue-400);background:var(--grid-gq-ghost-bg);border-radius:var(--radius);pointer-events:none;z-index:7}
.gq-ghost::after{content:attr(data-l);position:absolute;right:10px;bottom:10px;background:var(--grid-bg-blue-400);color:var(--grid-ink-white-50);font-weight:800;font-size:15px;padding:4px 10px;border-radius:var(--grid-radius-8)}
@media (max-width:699px){.gq-sizes button small{display:none}.gq-sizes button{height:34px}}
/* the sheet: on a computer it is a centred panel wide enough for the section as the board draws it today */
.gq-sheet{padding:16px 18px 24px}
@media (min-width:860px){dialog.gq-sheet{max-width:min(1100px,94vw);margin:auto;border-radius:var(--grid-radius-18)}}
.gq-sheet .fold{margin:0}.gq-sheet .gq-full > .fold > .fold-h .chev{display:none}
.gq.compact .mtr-note,.gq.compact .mtr-go,.gq.compact .mt-key,.gq.compact .mt-scale{display:none!important}
.gq.tight .mtr-note,.gq.tight .mtr-go,.gq.tight .mt-key,.gq.tight .mt-scale,.gq.tight .mtr-bs{display:none!important}
.gq-arw{align-self:center;color:var(--faint);font-size:18px}
.gq-note{font-size:12px;color:var(--muted)}
.gq-rows{min-height:0;overflow:hidden;flex:1}
.gq-rows ul{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-direction:column}
.gq-rows li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid var(--soft);font-size:13px}
.gq-rows li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gq-rows li small{white-space:nowrap;color:var(--muted)}
.gq-rh{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}
.gq[data-h="1"] .gq-rows,.gq[data-h="1"] .gq-note{display:none}
.gq[data-h="2"] .gq-sts:has(+ .gq-rows),.gq[data-h="2"] .gq-sts:has(+ .gq-note + .gq-rows){flex:0 0 auto;flex-direction:row;gap:4px 16px}
.gq[data-h="2"] .gq-sts:has(+ .gq-rows) b{font-size:28px}
.gq-on .edit-me .btn{min-height:38px}
/* a records-only face (no count): its newest lines, as many whole lines as the square holds */
.gq-sts:empty{display:none}
.gq[data-base="clients"] .gq-rows,.gq[data-base="contracts"] .gq-rows,.gq[data-base="clients"] .gq-note,.gq[data-base="contracts"] .gq-note{display:block}
.gq[data-base="clients"][data-h="1"] .gq-rows li:nth-child(n+3),.gq[data-base="contracts"][data-h="1"] .gq-rows li:nth-child(n+3){display:none}
.gq-cut{display:none!important}
.gq-stamp .age-w{display:flex;flex-wrap:wrap;gap:0 8px;white-space:normal}
.gq-fh .fold-t{white-space:normal;overflow:visible}
.gq-ft{padding-bottom:0}.gq-ft .gq-open{top:auto;bottom:10px;right:14px}.gq-ft .gq-stamp{padding-right:60px}
.gq-more{display:none;position:absolute;right:8px;bottom:8px;border:0;border-radius:var(--grid-radius-9);padding:6px 10px;font:700 12px var(--font);background:var(--soft);color:var(--link,var(--navy));cursor:pointer}
.gq-goal .gq-more{background:var(--navy-2);color:var(--grid-ink-white-50)}
.gq.more .gq-more{display:block}
.gq-edit .gq-more{display:none!important}
@media (max-width:699px){
  .gq-open .w{display:none}.gq-open{font-size:18px;line-height:1}
  .gq-in,.gq-face{padding:10px 11px}
  .gq-st b{font-size:22px}
  .gq.tight .mt-goal{font-size:0}.gq.tight .mt-goal .mt-pct{font-size:13px}
  .gq-goal .gt-v{font-size:28px}.gq-goal .gt-v small{display:block;font-size:12px}
}
.gq-more{top:8px;bottom:auto;right:8px;width:30px;height:30px;padding:0;font-size:18px;line-height:30px;text-align:center;border-radius:var(--grid-radius-pill)}
.gq-edit .gq-stamp,.gq-edit .gq-rows,.gq-edit .gq-note{display:none!important}
.gq-sheet .gq-full{padding-top:40px}
dialog.gq-sheet{padding:12px 18px 24px}
.gq-goal .gq-sizes button[aria-pressed="true"]{background:var(--grid-ink-white-50);border-color:var(--grid-ink-white-50);color:var(--navy)}.gq-goal .gq-sizes button[aria-pressed="true"] small{color:var(--muted)}
.gq-goal .gq-sizes button:not([aria-pressed="true"]){background:var(--navy-2);border-color:var(--grid-gq-sizes-line);color:var(--grid-ink-white-50)}.gq-goal .gq-sizes button:not([aria-pressed="true"]) small{color:var(--grid-ink-blue-200)}
.gq.more .gt-name{padding-right:34px}
@media (max-width:699px){.gq-goal .gt-v{font-size:25px}.gq-goal .gt-v small{display:inline;font-size:11px}.gq-goal .gt-name{font-size:12px}.gq.tight .mt-goal{margin:0}}
@media (max-width:699px){.gq[data-base="clients"][data-h="1"] .gq-rows li:nth-child(n+2),.gq[data-base="contracts"][data-h="1"] .gq-rows li:nth-child(n+2){display:none}}

/* 16 Nov polish. Crown "Leads by source": the bars stay in a narrow square (label, bar, count; no spare column). */
.gq .fn{grid-template-columns:minmax(0,1fr) minmax(56px,38%) auto;gap:8px;font-size:13px}
.gq .fn .fn-sp{display:none}
.gq.compact .fn-bar{display:block!important}
/* Number squares: the name clears the › button. */
.gq-num .mb-h{padding-right:38px}
.gq-num .mb-h h3{overflow-wrap:anywhere}
/* "This week": the weekly score as a line. */
.gq-spark{display:block;width:100%;max-width:320px;height:auto;margin:6px 0 2px}
.gq-spark path{fill:none;stroke:var(--navy-2);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.gq-spark circle{fill:var(--navy-2)}
.gq-spark-g{stroke:var(--green);stroke-width:1;stroke-dasharray:3 3}
.gq-spark text{font-size:10px;fill:var(--muted)}
:root[data-theme="dark"] .gq-spark path{stroke:var(--grid-fill-blue-200)}:root[data-theme="dark"] .gq-spark circle{fill:var(--grid-fill-blue-200)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gq-spark path{stroke:var(--grid-fill-blue-200)}:root:not([data-theme="light"]) .gq-spark circle{fill:var(--grid-fill-blue-200)}}
.gq-rows li.gq-bar{display:grid;grid-template-columns:minmax(0,1fr) 38% auto;gap:8px;align-items:center}
.gq-rows li.gq-bar i{display:block;height:10px;border-radius:var(--grid-radius-5);background:linear-gradient(90deg,var(--navy-2) var(--p),var(--soft) var(--p))}
:root[data-theme="dark"] .gq-rows li.gq-bar i{background:linear-gradient(90deg,var(--grid-fill-blue-200) var(--p),var(--soft) var(--p))}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gq-rows li.gq-bar i{background:linear-gradient(90deg,var(--grid-fill-blue-200) var(--p),var(--soft) var(--p))}}
.gq-part .gc{border:0;padding:0;background:none;box-shadow:none}
.gq-part .gc-top{padding-right:40px}
/* Game squares (16 Nov): the longer notes live in the › sheet; the square keeps the number, the bar and one line of meaning. */
.gq-part .gc-none,.gq-part .gk-spark .gc-sub{display:none}
.gq-part .gc-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gq-part .gk-wk{height:36px}
/* A number square always offers › (its "Edit this number" / "Change goal" and the "i" are in that sheet now). */
.gq.gq-number .gq-more{display:block}
.gq-edit .gq.gq-number .gq-more{display:none!important}
.gq-num .info{display:none}
/* the goal's note (e.g. "lowered 16 Nov on her card") is in the › sheet; on the square it pushed the week bars out */
.gq-num .mb-stats small{display:none}
/* the to-do square keeps its "Proposal · …" line at any height (17 Nov) */
.gq[data-base="lists"] .gq-note{display:block}.gq[data-base="me"] .gq-note{display:block}
.gq[data-base="everything"] .gq-sts{flex:0 0 auto}.gq[data-base="everything"] .gq-rows li{padding:5px 0}
/* 17 Nov (her go): on a phone her game square is too narrow for name and level side by side (they overlapped at 390).
   The level drops under the name, left-aligned, so nothing overlaps. */
@media (max-width:600px){.gq-part .gc-top{flex-wrap:wrap;row-gap:6px}.gq-part .gc-who{flex:1 1 0}.gq-part .gc-lv{flex:1 0 100%;max-width:none;align-items:flex-start;text-align:left}}

/* 18 Nov fix (her words: "will move but not where I want it to go"). No dense packing: the squares stand in the order she
   saved, left to right, top to bottom (a square too wide for the end of a row leaves that space empty rather than
   letting a later square jump ahead of it). While she drags, nothing in the grid moves: the square stays in place,
   dimmed; a copy follows the pointer; a blue bar shows where it will land. A finger on the grip drags (no page scroll). */
.gq-grip,.gq-rs{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.gq-grip:focus-visible{outline:3px solid var(--grid-line-blue-400);outline-offset:1px}
body.gq-dragging{-webkit-user-select:none;user-select:none;cursor:grabbing}
.gq.gq-src{opacity:.35;border-style:dashed}
.gq.gq-target{box-shadow:0 0 0 2px var(--grid-bg-blue-400)}
.gq-drag{position:fixed;z-index:60;pointer-events:none;margin:0;opacity:.92;box-shadow:0 18px 44px var(--grid-gq-drag-shadow);will-change:transform}
.gq-drop{position:fixed;z-index:61;background:var(--grid-bg-blue-400);border-radius:var(--grid-radius-3);pointer-events:none;box-shadow:0 0 0 3px var(--grid-gq-drop-shadow)}
.gq-drop[hidden]{display:none}
.gq-mv{position:absolute;inset:0;z-index:4;background:var(--card);color:var(--ink);display:flex;flex-direction:column;gap:6px;padding:8px}
.gq-mv-h{display:flex;align-items:center;justify-content:space-between;font-size:13px}
.gq-mv-x{width:36px;height:36px;border:0;border-radius:var(--grid-radius-10);background:var(--soft);color:inherit;font-size:20px;line-height:1;cursor:pointer}
.gq-mv-b{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex:1;min-height:0}
.gq-mv-b button{min-height:36px;border:1px solid var(--line);border-radius:var(--grid-radius-10);background:var(--soft);color:var(--ink);font:700 13px var(--font);display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;padding:0 6px}
.gq-mv-b button span{font-size:16px}
.gq-mv-b button:focus-visible,.gq-mv-x:focus-visible{outline:3px solid var(--grid-line-blue-400);outline-offset:1px}
.gq-mv-b button.gq-mv-no{opacity:.4}
/* Density pass (her words 18 Nov: "I don't like all of the dead space on the numbers ... it should just be a heading or small
   line of what it is and then the number"). Outside "Edit my board" the grid runs on half rows: every square spans twice its
   height (the same pixels as before), and a SHORT square (grid.js fit(): a one-high number square whose heading and number
   fit whole) spans one. The edit grid keeps whole rows, so moving and resizing read the same cells as before. */
.gq-grid:not(.gq-edit){grid-auto-rows:78px}
@media (min-width:700px){.gq-grid:not(.gq-edit){grid-auto-rows:80px}}
@media (min-width:1100px){.gq-grid:not(.gq-edit){grid-auto-rows:86px}}
.gq-grid:not(.gq-edit) > .gq[data-h="1"]{grid-row:span 2}
.gq-grid:not(.gq-edit) > .gq[data-h="2"]{grid-row:span 4}
.gq-grid:not(.gq-edit) > .gq[data-h="3"]{grid-row:span 6}
.gq-grid:not(.gq-edit) > .gq.short{grid-row:span 1}
.gq.short .gq-in,.gq.short .gq-face{padding:8px 12px}
/* the › on a short square (goals included: their pace words and key are in the sheet it opens): a 44px target in the corner,
   the 30px circle drawn inside it */
.gq.short .gq-more{display:block;top:0;right:0;width:44px;height:44px;padding:0;background:none;border-radius:0;color:transparent;font-size:0}
.gq.short .gq-more::after{content:"›";position:absolute;top:7px;right:7px;width:30px;height:30px;border-radius:var(--grid-radius-pill);background:var(--soft);line-height:29px;text-align:center;color:var(--link,var(--navy));font-size:18px;font-weight:700}
.gq-goal.short .gq-more::after{background:var(--navy-2);color:var(--grid-ink-white-50)}
.gq-edit .gq.short .gq-more{display:none!important}
/* a Mine number: its name, then the number (colour = pace) and the change; one small goal line when it fits, else none */
.gq-number.short .gq-num .mb-h{padding-right:30px}
.gq-number.short .gq-num .mb-h h3{font-size:14px;line-height:1.2}
.gq-number.short .gq-num .mb-big{margin:1px 0 0;gap:8px}
.gq-number.short .gq-num .big-v{font-size:28px;line-height:1.05}
.gq-number.short .gq-num .chart,.gq-number.short .gq-num .chart-empty{display:none}
.gq-number.short .gq-num .mb-stats{margin:3px 0 0;flex-wrap:nowrap;white-space:nowrap;line-height:1.3}
.gq-number.short .gq-num .mb-stats > span:not(:first-child):not(.pace-t){display:none}
.gq-number.bare .gq-num .mb-stats{display:none}
/* a goal: its name, the number with its pace mark, the bar */
.gq-goal.short .gq-hero .gt{flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px 8px}
.gq-goal.short .gt-name{flex:1 0 100%;font-size:13px;line-height:1.25;padding-right:30px;min-height:0}
.gq-goal.short .gt-name .mark{height:16px;width:16px;padding:1px}
.gq.short .info{display:none}
.gq-goal.short .gt-v{font-size:26px;line-height:1.1}
.gq-goal.short .gt-v small{font-size:12px}
.gq-goal.short .mt-goal{font-size:0;margin:0}.gq-goal.short .mt-goal .mt-pct{font-size:12.5px;padding:1px 7px}
.gq-goal.short .mt-top,.gq-goal.short .mt-scale,.gq-goal.short .mt-key,.gq-goal.short .gt-split,.gq-goal.short .gt-ua,.gq-goal.short .gt-src,.gq-goal.short .gt-lock,.gq-goal.short .mt .pace{display:none!important}
.gq-goal.short .mt-bar,.gq-goal.short .thermo{flex:1 0 100%;height:8px;margin:4px 0 2px}
.gq-goal.short .mt-bar b.pace-l{top:-3px;bottom:-3px}
.gq-goal.short .pace{flex:1 0 100%;font-size:12px;line-height:1.3}
.gq-goal.bare .mt-bar,.gq-goal.bare .thermo{display:none}
/* a section's face: the heading line, then its numbers; the "checked" time stays (red when late), "changed" goes to the sheet */
.gq.short .gq-f{gap:2px}
.gq.short .gq-fh{line-height:1.25}.gq.short .gq-fh .fold-t{font-size:12px;line-height:1.25;letter-spacing:.05em}.gq.short .gq-open{font-size:12px;line-height:1.25}
.gq.short .gq-sts{gap:0 14px;flex:0 0 auto}
.gq.short .gq-st{line-height:1.15;font-size:12.5px}
.gq.short .gq-st b{font-size:22px;line-height:1.1}
.gq.short .gq-note{line-height:1.25}
.gq.short .gq-stamp{line-height:1.2;margin-top:auto}.gq.short .gq-stamp .age.chg,.gq.short .gq-stamp .age:not(.late){display:none}
/* a narrow square (a phone's two-across, ~176px; or ~160px) — judged by the square's own width, not the screen */
.gq-grid:not(.gq-edit) > .gq{container:gq / inline-size}
@container gq (max-width:220px){.gq.short .gq-in,.gq.short .gq-face{padding:7px 10px}.gq-number.short .gq-num .mb-h{padding-right:28px}.gq-number.short .gq-num .mb-h h3{font-size:12px;line-height:1.2}.gq-number.short .gq-num .big-v{font-size:26px}
  .gq.short .gq-st b{font-size:20px}.gq-goal.short .gt-name{font-size:12px}.gq-goal.short .gt-v{font-size:22px}.gq.short .gq-fh{line-height:15px}.gq.short .gq-open{font-size:18px;line-height:15px}
  .gq-stamp .age{white-space:normal}.gq-number.short .gq-num .mb-stats .pace-t{display:none}}

/* 25 Nov: the marketing calendar's summary face (board.js mcFace). Small = the one line + overdue; Wide = today + scheduled + overdue;
   Large (two or more high) adds the next seven days. The square shrinks to its content (grid.js fitFx), so no empty band. */
.gq-fx{gap:8px}
.mcf{display:flex;flex-direction:column;gap:8px;min-height:0}
.mcf-sm{font-size:15px;color:var(--ink)}
.mcf-sm b{font-size:22px}
.mcf-od{font-size:14px;color:var(--muted)}.mcf-od b{font-size:18px}
.mcf-h{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:2px 0 4px}
.mcf-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.mcf-l li{display:flex;align-items:center;gap:8px;padding:5px 0;border-top:1px solid var(--soft);font-size:14px;min-width:0}
.mcf-l li:first-child{border-top:0}
.mcf-n{flex:1 1 8em;min-width:6em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
/* 26 Nov: a row names its brands ("· Crown, Elevate, ACR +2"). The brand names are never cut: when the row is too narrow they
   drop to a second line (and wrap there); the title keeps its ellipsis. */
.mcf-l li.mcf-r{flex-wrap:wrap;row-gap:0}
.mcf-l li.mcf-r .mcf-n{flex:0 1 auto}
.mcf-l li.mcf-r small{margin-left:auto}
.mcf-chips{display:inline-flex;gap:2px;flex:none}
.mcf-br{flex:0 1 auto;max-width:100%;white-space:normal;color:var(--muted);font-size:13px}
.mcf-l small{color:var(--muted);white-space:nowrap;font-size:12px;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.mcf-none{margin:0;font-size:14px;color:var(--muted)}
.mcf-wk{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:4px 12px}
.mcf-wk li{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:13px;padding:3px 0}
.mcf-dots{display:flex;gap:2px;flex-wrap:wrap}
.gq[data-w="1"] .mcf-today,.gq[data-w="1"] .mcf-next,.gq[data-w="1"] .mcf-week{display:none}
.gq:not([data-w="1"]) .mcf-sm{display:none}
.gq[data-h="1"] .mcf-week{display:none}
/* Small calendar square: one grid row is the floor (176 px on a computer), so its one line is set large enough to fill it. */
.gq[data-w="1"] .mcf-sm{font-size:17px;line-height:1.55}
.gq[data-w="1"] .mcf-sm b{font-size:32px;line-height:1.1}
.gq[data-w="1"] .mcf-od{font-size:16px}.gq[data-w="1"] .mcf-od b{font-size:22px}
.gq[data-w="1"] .mcf-sm{display:flex;flex-direction:column;gap:2px}.gq[data-w="1"] .mcf-sep{display:none}
.mcf-wd{white-space:nowrap;font-weight:600}

/* 25 Nov fix: show only what fits. The overdue cue rides in the heading (always seen); rows past the bottom are hidden and
   counted ("+N more") by grid.js trimFx, never clipped. */
.mcf-cut{display:none!important}
.mcf-moreln{font-size:13px;color:var(--muted);padding:5px 0;border-top:1px solid var(--soft);list-style:none}
.gq-fx .gq-fh{align-items:center}
.gq-fx .gq-fh .fold-t{flex:1;min-width:0}
.gq-fh .mcf-od{white-space:nowrap;font-size:13px;color:var(--muted)}.gq-fh .mcf-od b{font-size:15px}
.gq[data-w="1"] .mcf-sm{font-size:15px;line-height:1.3;gap:0}
.gq[data-w="1"] .mcf-sm b{font-size:26px;line-height:1.15}
.gq[data-w="1"] .mcf-sl{font-size:13px;color:var(--muted)}
.gq[data-w="1"] .gq-fh .mcf-od b{font-size:15px}
@media (min-width:1100px){.gq[data-w="1"] .mcf-sm{font-size:16px;line-height:1.4}.gq[data-w="1"] .mcf-sm b{font-size:30px}}
/* 26 Nov: on a 1-wide square the overdue cue is the third line of the face, not squeezed beside a wrapped title; a one-high
   wide square on a computer sets to-post and scheduled side by side so both show rows. */
.gq[data-w="1"] .gq-fh .mcf-od{display:none}
.gq:not([data-w="1"]) .mcf-sod{display:none}
.gq[data-w="1"] .mcf-sod{font-size:14px;color:var(--muted);line-height:1.3;margin-top:2px}.gq[data-w="1"] .mcf-sod b{font-size:18px}
@media (min-width:768px){.gq[data-h="1"]:not([data-w="1"]) .mcf{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:22px;align-items:start}}
@media (max-width:767px){.gq[data-w="1"] .mcf-sm{font-size:14px;line-height:1.2}.gq[data-w="1"] .mcf-sm b{font-size:23px;line-height:1.1}
  .gq[data-w="1"] .mcf-sl{font-size:12px}.gq[data-w="1"] .mcf-sod{font-size:13px;margin-top:1px}.gq[data-w="1"] .mcf-sod b{font-size:16px}}
.mcf-hn{color:inherit}
.mcf-wk{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.mcf-wk li{justify-content:flex-start;gap:8px}.mcf-wk .mcf-dots{flex-wrap:nowrap}
