/* services/tracking-and-reporting/: the header's monthly report on paper with a source tag clipped to it, where the
   sees scene (out-work) sits on its picture, and the close card's corner. */

/* ---------- hero artifact: the month's report ---------- */
.tr { position: absolute; inset: 0; container-type: size; font-family: var(--font-ui); color: var(--c-ink); }
.tr__sheet { --f: 7cqw; position: absolute; left: 14%; right: 7%; top: 7%; display: grid; gap: 2.6cqh; padding: 4.4cqh 4.4cqw; background: var(--c-paper); border-radius: 2.2cqh; rotate: -1.2deg; clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%); filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--c-ink) 14%, transparent)); }
.tr__sheet::after { content: ""; position: absolute; top: 0; right: 0; width: var(--f); height: var(--f); background: var(--c-lavender-deep); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.tr__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 3cqw; padding-bottom: 2.4cqh; border-bottom: 1.5px solid var(--c-line); }
.tr__head b { display: block; font-family: var(--font-display); font-size: max(17px, 4.4cqw); font-weight: 700; letter-spacing: -.015em; line-height: 1.1; }
.tr__head small { display: block; margin-top: .4em; font-size: max(13px, 2.2cqw); color: var(--c-ink-soft); }
.tr__head strong { display: grid; justify-items: end; margin-right: 4cqw; font-family: var(--font-display); font-size: max(30px, 9cqw); font-weight: 700; line-height: .95; letter-spacing: -.03em; color: var(--c-brand-text); }
.tr__head strong small { margin-top: .5em; font-family: var(--font-ui); font-size: max(13px, 2.2cqw); font-weight: 700; letter-spacing: 0; color: var(--c-ink-soft); }
.tr__row { display: grid; grid-template-columns: 26% minmax(0, 1fr) 7%; align-items: center; gap: 2.4cqw; font-size: max(13px, 2.4cqw); font-weight: 600; }
.tr__row i { position: relative; height: 2.8cqh; border-radius: 99px; background: var(--c-lavender); overflow: hidden; }
.tr__row u { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--c-brand); }
.tr__row em { font-style: normal; font-weight: 800; text-align: right; }
.tr__tag { position: absolute; right: 7%; top: 60%; display: flex; align-items: center; gap: .55em; padding: .45em .95em .45em .7em; border-radius: 6px; background: var(--c-paper); box-shadow: inset 0 0 0 1.5px var(--c-lavender-deep), var(--shadow-m); font-size: max(13px, 2.3cqw); font-weight: 700; color: var(--c-brand-text); rotate: -8deg; }
.tr__tag::before { content: ""; width: .55em; height: .55em; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--c-lavender-deep); }
/* the phone: the cards take the lower two thirds, so the report's head stands in the top third, clear of the stop */
@container (width < 520px) {
  .tr__sheet { left: 5%; right: 16%; top: 3%; padding: 12px 14px; gap: 8px; rotate: 0deg; }
  .tr__head { padding-bottom: 8px; }
  .tr__head strong { margin-right: 10px; }
  .tr__tag { display: none; }
}

/* ---------- sees: out-work (a card up to 360 wide, its pop card below right) over the windshield's calm right ---------- */
.sees__pic--tracking-and-reporting .sees__scene { right: 18px; top: 58px; width: min(46%, 340px); }

@media (max-width: 759px) {
  .sees__pic--tracking-and-reporting { aspect-ratio: 4 / 6.2; }
  .sees__pic--tracking-and-reporting img { object-position: 27% 50%; }
  .sees__pic--tracking-and-reporting .sees__scene { left: auto; right: 12px; top: auto; bottom: 34px; width: min(86%, 320px); }
}

/* the thesis (flat paper, no gradient): the copied scene's shaded bars made flat */
html [data-scene="out-work"] .chart i { background: var(--c-brand); }
