/* Part8 dashboard sheet — the variants of "Apply to jobs you liked" and "Boost your chances", each pair in one form.
   The page around them is the product's /dashboard as the local build renders it (page.html, tools/capture.js): the goals and the
   review are the product's own (round 4: the review 340 high with its stack off the card's right edge — the end of this
   file). Every part below is the goals' recipe — `.dash-goals` (one white card, the 8 % line between parts, the hover:
   the card's white to 60 %, the other parts to 50 %), `.dash-goal` (a link that lifts), `.dash-plate`,
   `.dash-goal-arrow`, `.dash-goal-l` / `-n`, `.dash-segs` — and only what differs is here (`p-*`; never `p-1` / `p-2`:
   Tailwind's padding; `.v-<variant>` on <body> for one variant's own edits). From `xl` the frame's numbers; 768–1279
   ×0.875, below 768 ×0.75. Local only. */

/* ── the tones (round 3): the product's six plate pairs — the stage badges' amber / green / blue, Auto Apply's violet,
   the quiz's Lead pink (`premium.timeline-start` on its plate) and the paywall's sixth tone teal (`premium.tone-teal`) —
   and the neutral. Which part wears which is the sheet's colour set (page.js `SETS`, `?c=`). ────────────────────────── */
.p-t-violet { background: #6736D91F; color: #6737D9; }   /* auto-apply.plate / auto-apply */
.p-t-amber { background: #FCF1E3; color: #C87A14; }      /* badge.interview-bg / -dot (the Reviewed goal) */
.p-t-green { background: #E3FCEE; color: #10A44E; }      /* badge.liked-bg / -dot (the Liked goal) */
.p-t-blue { background: #EDF2FD; color: #5A88EF; }       /* badge.applied-bg / -dot (the Applied goal) */
.p-t-pink { background: #FDECF4; color: #E15093; }       /* premium.timeline-start-plate / -start (/quiz's Lead) */
.p-t-teal { background: #E0F5F6; color: #0CA1A7; }       /* premium.tone-teal; its plate #ECFDFD is all but white on a white card (relative
                                                            luminance .96 against the others' .88–.93) — the same hue at .88 */
.p-t-ink { background: #EEF0F3; color: #0F131A; }        /* badge.neutral-bg / ink */
.p-t-empty { background: rgb(var(--brand-primary-rgb) / .15); color: var(--brand-primary); } /* the empty states' disc */
/* M6: the number in its part's colour */
.p-c-auto.p-c-auto { color: #8764D9; }                   /* dash.auto-disc */
.p-c-amber.p-c-amber { color: #C87A14; } .p-c-green.p-c-green { color: #10A44E; } .p-c-blue.p-c-blue { color: #5A88EF; }
.p-c-pink.p-c-pink { color: #E15093; } .p-c-teal.p-c-teal { color: #0CA1A7; }
.p-muted { color: #0F131A73 !important; }

/* ── the card: two parts (halves) instead of the goals' three; a row the card's width under them ─────────────────────── */
@media (min-width: 768px) {
  .dash-goals.pc-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-goals.pc-1 { grid-template-columns: minmax(0, 1fr); }
  .dash-goals .p-span { grid-column: 1 / -1; }
  .dash-goals .p-span2 { grid-column: span 2; }
  /* a part the card's width: its line on top, not on the left */
  .dash-goals > .dash-goal.p-span + .dash-goal::before, .dash-goals > .dash-goal.p-span::before,
  .dash-goals.pc-1 > .dash-goal + .dash-goal::before { top: -1px; bottom: auto; left: 0; right: 0; width: auto; height: 1px; }
  .dash-goals > .dash-goal.p-span:first-child::before { display: none; }
  /* M3b: a part the card's width FIRST, two halves under it — the line under the first, the halves' own between them */
  .dash-goals > .dash-goal.p-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #0F131A14; pointer-events: none; }
  .dash-goals > .dash-goal.p-head + .dash-goal::before { display: none; }
}
/* the same growth in pixels as a goal's (496 × 1.015): a half 1.01, the card's width 1.005 */
.dash-goals.pc-2 > a[data-settings-row] { --lift: 1.01; }
.dash-goals > a[data-settings-row].p-span, .dash-goals.pc-1 > a[data-settings-row] { --lift: 1.005; }
/* a part that is not a link (a 0, a part with buttons): no lift, and hovering it dims nothing */
@media (hover: hover) {
  .dash-goals:has(> div.dash-goal:hover) { background-color: #fff; }
  .dash-goals:has(> div.dash-goal:hover) > a.dash-goal[data-settings-row]:not(:hover) { opacity: 1; }
  .dash-goals > div.dash-goal:hover::before, .dash-goals > div.dash-goal:hover + .dash-goal::before { opacity: 1; }
  /* a link part under the pointer: the parts that are not links recede with the others */
  .dash-goals:has(> a.dash-goal:hover) > div.dash-goal { opacity: .5; transition: opacity 300ms cubic-bezier(.2, 0, 0, 1); }
}

/* the goal's label may break where the part is narrow (three columns at 768) */
.p-part .dash-goal-row { align-items: baseline; }
.p-part .dash-goal-l { min-width: 0; }
/* a muted line where the goal has its segments: 16 under (14, 12), 16/24 */
.p-foot { display: block; margin-top: 12px; font-size: 16px; line-height: 24px; color: #0F131A8C; }
@media (min-width: 768px) { .p-foot { margin-top: 14px; } }
@media (min-width: 1280px) { .p-foot { margin-top: 16px; } }
/* round 4 (owner, M1 / M5 / M5b): the CV's line right under its label — 16/22 from 1280, 16/20 at 768–1279 (its label
   and line as high as the profile's label and segments: 36 + 22 = 36 + 16 + 6; 32 + 20 = 32 + 14 + 6), 14/20 on a
   phone (his M3 phone line) */
.p-foot.p-tight { margin-top: 0; font-size: 14px; line-height: 20px; }
@media (min-width: 768px) { .p-foot.p-tight { margin-top: 0; font-size: 16px; line-height: 20px; } }
@media (min-width: 1280px) { .p-foot.p-tight { line-height: 22px; } }
/* buttons at the part's foot (M5 and the empty states): 24 under (20, 16) */
.p-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
@media (min-width: 768px) { .p-btns { margin-top: 20px; } }
@media (min-width: 1280px) { .p-btns { gap: 16px; margin-top: 24px; } }

/* round 4 (owner, M1, M3, M3b): the labels in the ink, as "My liked jobs from previous days" — the goals' too */
.v-M1 .dash-goal-l, .v-M3 .dash-goal-l, .v-M3b .dash-goal-l { color: #0F131A; }
/* round 4 (owner, M1, M5): where the CV's words are taller than the profile's, the profile's words sit at the part's
   bottom and the gap under the plate grows (16 at least, 20 from 1280) */
@media (min-width: 768px) {
  .dash-goal.p-bot > .dash-goal-g { margin-top: auto; }
  .dash-goal.p-bot > .dash-plate { margin-bottom: 16px; }
}
@media (min-width: 1280px) { .dash-goal.p-bot > .dash-plate { margin-bottom: 20px; } }

/* round 6 (owner): the empty part's buttons (Recommended · Search) in its top right corner from 768 — M1, M2, M2b, M2c —
   on the plate's middle (the plate 48 at 24: 20 for the 56-high buttons; 56 at 28: 28), the part's own inset from the
   right; under the words on a phone as before. M2 on a phone: the part's content from the top, as M2b's (12 over, 14
   under: the plate at 12, the label's line at 14) */
@media (min-width: 768px) {
  .dash-goal.p-e-tr .p-btns { position: absolute; top: 20px; right: 24px; flex-wrap: nowrap; margin-top: 0; }
}
@media (min-width: 1280px) { .dash-goal.p-e-tr .p-btns { top: 28px; right: 28px; } }
@media (max-width: 767.98px) { .v-M2 .dash-goal.p-e-tr { align-items: flex-start; padding-top: 12px; padding-bottom: 14px; } }

/* "My liked jobs from previous days" as the card's last row: the words where the plates start; the arrow its section's
   own size, 24 / 28 / 32 (round 4); 64 high (56, and 56 on a phone — round 4) */
.dash-goal.p-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px 0 24px; font-size: 16px; line-height: 24px; color: #0F131A; }
.dash-goal.p-row > svg { flex: none; width: 24px; height: 24px; color: #0F131A73; }
@media (min-width: 768px) { .dash-goal.p-row { min-height: 56px; padding: 0 24px; } .dash-goal.p-row > svg { width: 28px; height: 28px; } }
@media (min-width: 1280px) { .dash-goal.p-row { min-height: 64px; padding: 0 28px; font-size: 18px; line-height: 26px; } .dash-goal.p-row > svg { width: 32px; height: 32px; } }
.dash-goal.p-row-c { justify-content: center; gap: 10px; }

/* ── a title (round 3, the owner): Sora 600 22/28 from `xl` (20/26, 18/24), its line 4 under it — Ф2, Ф4, M6, and the
   Settings card's title in M1b / M1c / M2b / M2c ───────────────────────────────────────────────────────────────── */
.p-title { display: block; font-family: Sora, sans-serif; font-weight: 600; font-size: 18px; line-height: 24px; color: #0F131A; }
@media (min-width: 768px) { .p-title { font-size: 20px; line-height: 26px; } }
@media (min-width: 1280px) { .p-title { font-size: 22px; line-height: 28px; } }
.p-line { display: block; margin-top: 4px; font-size: 16px; line-height: 24px; color: #0F131A8C; }
@media (min-width: 1280px) { .p-line { font-size: 18px; line-height: 26px; } }

/* ── the owner's frames (Ф2, Ф4) and M6: plate · the title over its line · the gap · the number and the arrow ──────── */
.dash-goal.p-f { flex-direction: row; align-items: flex-start; gap: 0; padding: 20px; }
@media (min-width: 768px) { .dash-goal.p-f { padding: 24px; } }
@media (min-width: 1280px) { .dash-goal.p-f { padding: 28px; } }
.p-f .p-plate { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; margin-right: 15px; border-radius: 12px; }
.p-f .p-plate > svg { width: 21px; height: 21px; }
@media (min-width: 768px) { .p-f .p-plate { width: 48px; height: 48px; margin-right: 18px; border-radius: 14px; } .p-f .p-plate > svg { width: 24px; height: 24px; } }
@media (min-width: 1280px) { .p-f .p-plate { width: 56px; height: 56px; margin-right: 20px; border-radius: 16.33px; } .p-f .p-plate > svg { width: 28px; height: 28px; } }
.p-f-t { flex: 1; min-width: 0; }
/* the number and the arrow: the goals' count (Sora 600 32/36, 28/32, 24/28, the ink) and their arrow; 96 at least
   from the words (84 from `md`; a phone's half is one row of 358 — 24 there) */
.p-f-r { display: flex; flex: none; align-items: center; gap: 12px; height: 28px; margin-left: 24px; }
.p-f-n { font-family: Sora, sans-serif; font-weight: 600; font-size: 24px; line-height: 28px; color: #0F131A; white-space: nowrap; }
.p-f-arrow { display: flex; width: 24px; height: 24px; color: #0F131A73; }
.p-f-arrow > svg { width: 100%; height: 100%; }
@media (min-width: 768px) { .p-f-r { gap: 12px; height: 32px; margin-left: 84px; } .p-f-n { font-size: 28px; line-height: 32px; } .p-f-arrow { width: 28px; height: 28px; } }
@media (min-width: 1280px) { .p-f-r { gap: 14px; height: 36px; margin-left: 96px; } .p-f-n { font-size: 32px; line-height: 36px; } .p-f-arrow { width: 32px; height: 32px; } }
/* Ф2: the number on the title's line (the title 28 high, the count 36: its middle) */
.p-f2 .p-f-r { margin-top: -2px; }
@media (min-width: 768px) { .p-f2 .p-f-r { margin-top: -3px; } }
@media (min-width: 1280px) { .p-f2 .p-f-r { margin-top: -4px; } }
/* Ф2, round 4 (owner): the gap before the number 96 from 1440, 80 at 1280–1439, 56 at 1024–1279, 48 at 768–1023; a
   phone keeps its 24 (48 there would stand "Complete your profile" in three lines of 91). Ф4 the same (round 5; not M6) */
@media (min-width: 768px) { :is(.p-f2, .v-F4 .p-f4) { --f-gap: 48px; } }
@media (min-width: 1024px) { :is(.p-f2, .v-F4 .p-f4) { --f-gap: 56px; } }
@media (min-width: 1280px) { :is(.p-f2, .v-F4 .p-f4) { --f-gap: 80px; } }
@media (min-width: 1440px) { :is(.p-f2, .v-F4 .p-f4) { --f-gap: 96px; } }
@media (min-width: 768px) { :is(.p-f2, .v-F4 .p-f4) > .p-f-r { margin-left: var(--f-gap); } }
/* Ф2, round 4 (owner): below 1280 the line under the title runs on under the number — its gap measured from the arrow
   (plate | title · number · arrow over the line), so "Complete your profile" keeps its line wide */
@media (max-width: 1279.98px) {
  .dash-goal.p-f2:has(> .p-f-r) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; align-content: start; --f-arrow: 24px; --f-gap: 24px; }
  .p-f2:has(> .p-f-r) > .p-plate { grid-column: 1; grid-row: 1 / span 3; }
  .p-f2:has(> .p-f-r) > .p-f-t { display: contents; }
  .p-f2:has(> .p-f-r) .p-title { grid-column: 2; grid-row: 1; min-width: 0; }
  .p-f2:has(> .p-f-r) > .p-f-r { grid-column: 3; grid-row: 1; }
  .p-f2:has(> .p-f-r) .p-line { grid-column: 2 / 4; grid-row: 2; margin-right: calc(var(--f-arrow) + var(--f-gap)); }
  .p-f2:has(> .p-f-r) .p-btns { grid-column: 2 / 4; grid-row: 3; }
}
@media (min-width: 768px) and (max-width: 1279.98px) { .dash-goal.p-f2:has(> .p-f-r) { --f-arrow: 28px; --f-gap: 48px; } }
@media (min-width: 1024px) and (max-width: 1279.98px) { .dash-goal.p-f2:has(> .p-f-r) { --f-gap: 56px; } }
/* Ф4: 160 high, everything on the half's middle, the title 24 from the plate */
.dash-goal.p-f4 { align-items: center; min-height: 120px; padding-block: 18px; }
@media (min-width: 768px) { .dash-goal.p-f4 { min-height: 140px; padding-block: 21px; } }
@media (min-width: 1280px) { .dash-goal.p-f4 { min-height: 160px; padding-block: 24px; } }
.p-f4 .p-plate { margin-right: 18px; }
@media (min-width: 768px) { .p-f4 .p-plate { margin-right: 21px; } }
@media (min-width: 1280px) { .p-f4 .p-plate { margin-right: 24px; } }
/* the empty card's two buttons on its right (96 from the words) — under the words where the card is narrow */
.p-f-btns { display: flex; flex: none; gap: 12px; align-self: center; margin-left: 96px; }
@media (max-width: 1023.98px) {
  .dash-goal.p-f:has(> .p-f-btns), .dash-goal.p-h:has(> .p-f-btns) { flex-wrap: wrap; }
  .dash-goal > .p-f-btns { flex: 1 0 100%; flex-wrap: wrap; margin-left: 0; margin-top: 16px; }
}

/* ── M1 on a phone (round 4, owner): the count on the arrow's axis, the words without the goals' 4 on top; M2 the same
   (round 5) ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  :is(.v-M1, .v-M2) :is(#liked, #boost) .dash-goal-row { align-items: center; }
  :is(.v-M1, .v-M2) :is(#liked, #boost) .dash-goal-g { padding-top: 0; }
}

/* ── M1b / M2b: the Settings hub card's anatomy (settings-shell: the plate top-left, the arrow in the corner, the title,
   its line) on the goals' plate and rhythm — the count on the title's line ────────────────────────────────────────── */
.p-s-g { display: block; flex: 1; min-width: 0; }
.p-s-row { display: flex; align-items: baseline; gap: 8px; }
.p-s-row .p-title { flex: 1; min-width: 0; }
.p-s-row .dash-goal-n { margin-left: auto; }
@media (min-width: 768px) { .p-s .p-s-g { margin-top: 16px; } }
@media (min-width: 1280px) { .p-s .p-s-g { margin-top: 20px; } }
@media (max-width: 767.98px) { .p-s .p-s-g { padding-top: 2px; } .dash-goal.p-s { align-items: flex-start; padding-top: 12px; padding-bottom: 14px; } }
/* M1b on a phone (round 4, owner): as M1 — the count on the arrow's axis, no padding over the words; M2b the same (round 5) */
@media (max-width: 767.98px) { :is(.v-M1b, .v-M2b) .p-s-row { align-items: center; } :is(.v-M1b, .v-M2b) .p-s .p-s-g { padding-top: 0; } }

/* ── M1c / M2c (round 4, owner): the Settings card with the number left of the arrow, the two on the plate's middle in
   the top-right corner; the title and its line under the plate — a phone too. 20 / 24 / 28 in; the plate 42 / 48 / 56,
   the arrow 24 / 28 / 32, 12 (14) after the number; the title 16 (20) under the plate ──────────────────────────── */
.dash-goal.p-cc { flex-direction: column; align-items: stretch; gap: 0; padding: 20px; }
.p-cc-top { display: flex; align-items: center; gap: 16px; }
.p-cc .dash-plate { width: 42px; height: 42px; border-radius: 12px; }
.p-cc .dash-plate > svg { width: 21px; height: 21px; }
.p-cc-r { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.p-cc-r .dash-goal-n { margin-left: 0; }
.p-cc-arrow { display: flex; flex: none; width: 24px; height: 24px; color: #0F131A73; }
.p-cc-arrow > svg { width: 100%; height: 100%; }
.p-cc .p-s-g { margin-top: 16px; }
@media (min-width: 768px) {
  .dash-goal.p-cc { padding: 24px; }
  .p-cc .dash-plate { width: 48px; height: 48px; border-radius: 14px; }
  .p-cc .dash-plate > svg { width: 24px; height: 24px; }
  .p-cc-arrow { width: 28px; height: 28px; }
}
@media (min-width: 1280px) {
  .dash-goal.p-cc { padding: 28px; }
  .p-cc .dash-plate { width: 56px; height: 56px; border-radius: 16.33px; }
  .p-cc .dash-plate > svg { width: 28px; height: 28px; }
  .p-cc-r { gap: 14px; }
  .p-cc-arrow { width: 32px; height: 32px; }
  .p-cc .p-s-g { margin-top: 20px; }
}

/* ── M3 «Строка»: the goal laid on its side — plate, the label over the count, the arrow on the middle ──────────────── */
.dash-goal.p-h { flex-direction: row; align-items: center; gap: 14px; }
@media (min-width: 768px) { .dash-goal.p-h { gap: 18px; } }
@media (min-width: 1280px) { .dash-goal.p-h { gap: 20px; } }
.p-h-t { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.p-h-t .dash-goal-n { margin-left: 0; }
.p-h-sub { margin-top: 2px; }
.p-h-segs { flex: 0 1 320px; min-width: 96px; }
.p-h.p-span .p-h-segs { flex-basis: 560px; }
.p-h:has(> .p-h-segs) > .p-h-t { flex: 0 0 auto; margin-right: auto; }
.p-h-segs .dash-segs { margin-top: 0; }
.p-h-go { display: flex; flex: none; width: 24px; height: 24px; color: #0F131A73; }
.p-h-go > svg { width: 100%; height: 100%; }
@media (min-width: 768px) { .p-h-go { width: 28px; height: 28px; } }
@media (min-width: 1280px) { .p-h-go { width: 32px; height: 32px; } }
.p-h-segs-m { display: none; margin-top: 10px; }
@media (max-width: 1023.98px) { .p-h-segs { display: none; } .p-h-t .p-h-segs-m { display: block; } .p-h:has(> .p-h-segs) > .p-h-t { flex: 1 1 auto; margin-right: 0; } }
/* M3, M3b on a phone, M4 below 1024 (round 4, owner): the segments 6 under the count and 6 over the part's foot; the
   CV's lines 14/20 right under their labels. Round 5: M3 / M3b's segments so wherever they stand under the label (below
   1024); the CV's line stays a phone's */
@media (max-width: 1023.98px) {
  :is(.v-M3, .v-M3b) .p-h-t .p-h-segs-m { margin-top: 0; }
  :is(.v-M3, .v-M3b) .p-h-segs-m .dash-segs { margin-top: 6px; margin-bottom: 6px; }
}
@media (max-width: 767.98px) {
  :is(.v-M3, .v-M3b) .p-h-cv .p-h-sub { margin-top: 0; font-size: 14px; line-height: 20px; }
}
@media (max-width: 1023.98px) { .v-M4 .p-h-cv .p-h-sub { margin-top: 0; font-size: 14px; line-height: 20px; } }
/* M4 side by side 48 apart leaves a half too narrow for the segments on the row at 1024–1279: under the label there,
   6 / 6 as below 1024 */
@media (max-width: 1279.98px) {
  .v-M4 .p-h-segs { display: none; }
  .v-M4 .p-h-t .p-h-segs-m { display: block; margin-top: 0; }
  .v-M4 .p-h:has(> .p-h-segs) > .p-h-t { flex: 1 1 auto; margin-right: 0; }
  .v-M4 .p-h-segs-m .dash-segs { margin-top: 6px; margin-bottom: 6px; }
}

/* ── M4 «Список»: the two sections side by side from `lg` (48 apart, round 4), each one card of rows ───────────────── */
.p-side { display: grid; gap: 32px; }
@media (min-width: 640px) { .p-side { gap: 48px; } }
@media (min-width: 1024px) { .p-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; } }
.p-side > section { margin-top: 0; }

/* ── M5, M5b (round 4, owner): plate · the words · the buttons.
   A phone: the plate 20 from the part's left and top edges, the words beside it on its middle (the plate stays at the
   top where the words are taller), the buttons the part's width under them, 20 from its sides and foot.
   768+: the goal's anatomy, the buttons at the foot. M5b from 1280: the buttons top right (18), 96 from the words. ── */
.dash-goal.p-b { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; align-content: start; padding: 20px; } /* round 5: 16 both ways (14 + the buttons' 16 before) */
.p-b > .dash-plate { grid-column: 1; grid-row: 1; }
.dash-goal.p-b > .dash-goal-g { grid-column: 2; grid-row: 1; align-self: center; padding-top: 0; }
.p-b .dash-goal-row { align-items: center; } /* "7 of 12" on its label's middle, one line or two */
.p-b > .p-b-acts { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }
@media (max-width: 767.98px) { .p-b .dash-goal-n:not([aria-hidden]) { margin-right: 8px; } } /* round 5: the count 28 from the part's right edge */
/* the buttons share the row in two near-equal halves where both fit on one line each ("Create new" · "Upload"), one under
   the other where they do not ("Recommended" · "Search" below ~400) — never a label broken in two */
.p-b > .p-b-acts > a { flex: 1 1 0; min-width: max-content; white-space: nowrap; }
@media (min-width: 768px) {
  .dash-goal.p-b { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px; }
  .p-b > .dash-plate { align-self: flex-start; }
  .dash-goal.p-b > .dash-goal-g { align-self: stretch; margin-top: 16px; }
  .p-b .dash-goal-row { align-items: baseline; }
  .p-b > .p-b-acts { margin-top: 20px; }
  .p-b > .p-b-acts > a { flex: none; min-width: 0; }
}
@media (min-width: 1280px) {
  .dash-goal.p-b { padding: 28px; }
  .dash-goal.p-b > .dash-goal-g { margin-top: 20px; }
  .p-b > .p-b-acts { gap: 16px; margin-top: 24px; }
}
@media (min-width: 768px) { .dash-goal.p-b.p-bot > .dash-goal-g { margin-top: auto; } }
@media (min-width: 1280px) {
  .dash-goal.p-b.p-b-tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 96px; align-items: start; }
  .dash-goal.p-b.p-b-tr > .dash-plate { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .dash-goal.p-b.p-b-tr > .dash-goal-g { grid-column: 1; grid-row: 2; margin-top: 20px; }
  .dash-goal.p-b.p-b-tr.p-b-wide > .dash-goal-g { grid-column: 1 / -1; } /* the profile: "7 of 12" and the segments the part's width */
  .p-b-tr > .p-b-acts { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; flex-wrap: nowrap; align-items: stretch; margin-top: 0; }
  .p-b-tr.p-b-wide > .p-b-acts { grid-row: 1; }
  .p-b-tr > .p-b-acts > a { font-size: 18px; }
}
/* the count in M5b's button: Sora 600, a pill 28 (32) high (round 5: the outlined button again, the ink's 7 % pill) */
.p-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 9999px; background: #0F131A12; font-family: Sora, sans-serif; font-weight: 600; font-size: 15px; line-height: 1; color: #0F131A; }
@media (min-width: 1280px) { .p-chip { min-width: 32px; height: 32px; padding: 0 10px; font-size: 17px; } }
/* previous days in M5 / M5b: on a phone an outlined button the part's width, 20 from the line above and the card's
   sides and foot; from 768 the row */
.dash-goal.p-prev-b { display: block; padding: 20px; }
.p-prev-b > a { display: flex; width: 100%; }
.dash-goal.p-prev-row { display: none; }
@media (min-width: 768px) { .dash-goal.p-prev-b { display: none; } .dash-goal.p-prev-row { display: flex; } }
/* round 5 (owner): its hover quiet — no lift, no shadow, nothing else dims, the card stays white; the row alone takes the
   tracker card's hover (`surface.card-hover`, the ink 2.5 % over white — pipeline.ejs), the line over it stays. A phone's
   outlined button keeps the product's own (its outline 15 → 50 %) */
@media (hover: hover) {
  .dash-goals:has(> a.dash-goal.p-prev-row:hover) { background-color: #fff; }
  .dash-goals:has(> a.dash-goal.p-prev-row:hover) > :is(a.dash-goal[data-settings-row], div.dash-goal):not(:hover) { opacity: 1; }
  .dash-goals > a.dash-goal.p-prev-row[data-settings-row] { border-radius: 0 0 var(--dash-r) var(--dash-r); transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1); }
  .dash-goals > a.dash-goal.p-prev-row[data-settings-row]:hover { scale: none; box-shadow: none; background-color: #F9F9F9; transition-duration: 220ms, 150ms; }
  .dash-goals > a.dash-goal.p-prev-row[data-settings-row]:hover::before { opacity: 1; }
}

/* ── the review (round 4, owner): 340 high (298 = ×0.875 at 768–1279; a phone as it is); the stack longer — 720 wide,
   its left edge at 56 % of the card and its right running off the card's edge, the card clipping it — and a size up
   from 1280 (×1.125: the front card 186 high, his sketch's ~188). The stack (the top sheet to the front card's foot)
   on the card's middle: the sheets' 33 (29) over the front card padded on top. The sheets 23 / 46 in from the front
   card's left (its 4.61 / 9.25 % at 496). The text's left inset is the variant's (page.js `alignReview`). ──────── */
@media (min-width: 768px) {
  .dash-review { grid-template-columns: 56% minmax(0, 1fr); column-gap: 0; min-height: 298px; padding: 0; overflow: hidden; }
  .dash-review .dash-text { padding: 32px 32px 32px 0; }
  .dash-review .dash-right { justify-content: flex-start; align-items: center; padding: 29px 0 0; }
  .dash-review .dash-deck { flex: none; width: 720px; }
  .dash-review .dash-sheet-1 { left: 23px; right: 23px; }
  .dash-review .dash-sheet-2 { left: 46px; right: 46px; }
}
@media (min-width: 1280px) {
  .dash-review { grid-template-columns: 56% minmax(0, 1fr); column-gap: 0; min-height: 340px; padding: 0; }
  .dash-review .dash-text { padding: 32px 40px 32px 0; }
  .dash-review .dash-right { padding-top: 37px; } /* 33 × 1.125 */
  .dash-review .dash-deck { zoom: 1.125; }
}
/* round 5 (owner): M1, M1b, M1c, M2, M2b, M2c, M5, M5b — 300 high (262 = ×0.875 at 768–1279), the stack 8 from the top
   of its column instead of 37 (29) — 8 at both tiers (7 rounds to the grid's 8); the words 80 in (70; page.js) */
@media (min-width: 768px) {
  .p-rv5 .dash-review { min-height: 262px; }
  .p-rv5 .dash-review .dash-right { padding-top: 8px; }
}
@media (min-width: 1280px) { .p-rv5 .dash-review { min-height: 300px; } }
