/* Invoice data entry: a paper desk with a scanner. Same order as the Yellow
   Slate experiment: heading, stats, pull line, the problem, before, now, what
   changed. Every section reads with no scroll effects; page.js adds the
   desk scene and the scan on top. Loaded after the engine and the site
   stylesheet, so site tokens win. */

:root {
  --sc-canvas: var(--bg);
  --sc-ink: var(--text);
  --sc-accent: var(--accent);
  --sc-font-display: var(--h-font);
  --sc-font-text: var(--b-font);
  --sc-font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;

  /* Before: a warm, dark desk. Now: the light of a paper sheet. */
  --desk: #15120e;
  --desk-2: #201b15;
  --desk-line: #332c23;
  --paper: #f6f2e9;
  --paper-2: #fffdf8;
  --paper-line: #e4dccb;
  --before-ink: #f2f2f2;
  --before-soft: #a39d93;                   /* 7:1 on --desk */
  --ink-soft: #5f5a52;                      /* 6:1 on --paper */
  --marker: #ffe14d;                        /* the highlighter; dark ink on it */
  /* #FD3A25 clears 5:1 on the desk but not on paper, so small accent text on
     light ground uses the deeper stop. */
  --accent-on-dark: var(--accent);
  --accent-on-light: #c8200f;

  --side-pad: clamp(24px, 5vw, 88px);
  --gap: clamp(56px, 8vh, 96px);
}

/* Owner's decision: an ordinary header at the top, not a bar that follows. */
.tf-header { position: absolute; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- layout -- */
.iv { background: var(--bg); color: var(--text); }
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--side-pad); }
.iv > .wrap + .wrap, .iv > .wrap + section, .iv > section + .wrap { margin-top: var(--gap); }
.prose > * { max-width: 46rem; }
.prose > * + * { margin-top: 18px; }
.prose p { font-size: 1.1rem; line-height: 1.7; color: var(--muted); }
.prose p strong { color: var(--text); }
.iv h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); letter-spacing: -.02em; }
.iv h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); letter-spacing: -.01em; }

/* ---------------------------------------------------------------- hero -- */
.iv-hero {
  position: relative; overflow: clip;
  padding-top: clamp(150px, 22vh, 220px); padding-bottom: 24px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy > * + * { margin-top: 20px; }
.hero-line {
  font-family: var(--h-font); font-weight: 700;
  font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4rem);
  line-height: 1.06; letter-spacing: -.03em;
  max-width: 16ch; margin: 0;
}
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; max-width: 38ch; color: var(--muted); }

/* Hero depth: the ruled ledger lags most, the invoice on the scanner bed
   less, the copy moves with the page. */
.plane { position: absolute; margin: 0; pointer-events: none; }
.plane--grid {
  inset: -340px 0 0 0; z-index: 0;   /* covers the 300px the grid lags at rate 6 */
  --grid-line: color-mix(in oklab, var(--text) 6%, transparent);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 96px 28px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 60%, #000 30%, transparent 85%);
          mask-image: radial-gradient(80% 70% at 70% 60%, #000 30%, transparent 85%);
}
.plane--mid { z-index: 1; right: max(var(--side-pad), calc((100% - 76rem) / 2 + var(--side-pad))); bottom: 30px; width: 15rem; }
.hero-paper {
  display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 6px;
  box-shadow: var(--card-shadow); transform-origin: center; rotate: -3deg;
}
.hp-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.hp-line { height: 6px; border-radius: 3px; background: var(--paper-line); }
.hp-line:nth-of-type(3) { width: 64%; }
.hp-total { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.hp-amt { width: 4rem; height: 8px; border-radius: 4px; background: var(--text); }
.hp-scan {
  position: absolute; left: 0; right: 0; top: 58%; height: 2px; background: var(--accent);
  box-shadow: 0 0 18px 4px color-mix(in oklab, var(--accent) 45%, transparent);
}

/* --------------------------------------------------------------- stats -- */
.iv > .stats { margin-top: 56px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat {
  display: flex; flex-direction: column; padding: 26px 26px 28px;
  background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--card-radius);
}
.stat-viz { height: 64px; margin-bottom: 22px; }
.estimated { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--muted); }

/* 10 hours a week: 5 working days, 2 hours each. */
.viz-days { display: flex; gap: 10px; align-items: end; }
.viz-days span { display: flex; flex-direction: column-reverse; gap: 4px; width: 26px; }
.viz-days i { height: 28px; border-radius: 4px; background: var(--accent-on-light); }

/* $5,000 a year: about 65 working days, one square each. */
.viz-workdays { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; align-content: center; max-width: 16rem; }
.viz-workdays i { aspect-ratio: 1; border-radius: 2px; background: var(--accent-on-light); }

/* 8 fields: one sheet row, 8 cells. */
.viz-fields { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; align-content: center; max-width: 16rem; }
.viz-fields i { height: 30px; border-radius: 4px; background: var(--accent-on-light); }

/* Entry: the cards rise in one after another, then each picture fills.
   Motion only; without it everything shows in its finished state. */
.iv-motion .stat { transition: opacity .7s var(--sc-ease-out, ease-out), transform .7s var(--sc-ease-out, ease-out); transition-delay: calc(var(--n) * 120ms); }
.iv-motion .stats:not(.is-in) .stat { opacity: 0; transform: translateY(28px); }
.iv-motion .stat-viz i { transition: transform .4s var(--sc-ease-out, ease-out), opacity .4s; transition-delay: calc(.45s + var(--i) * var(--step, 60ms)); transform-origin: bottom; }
.iv-motion .viz-workdays { --step: 16ms; }
.iv-motion .viz-fields { --step: 90ms; }
.iv-motion .viz-fields i { transform-origin: left; }
.iv-motion .stats:not(.is-in) .viz-days i,
.iv-motion .stats:not(.is-in) .viz-workdays i { transform: scaleY(.15); opacity: .18; }
.iv-motion .stats:not(.is-in) .viz-fields i { transform: scaleX(.1); opacity: .15; }
.stat-n {
  margin: 0; font-family: var(--h-font); font-weight: 700; color: var(--text);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat-l { margin: 8px 0 0; font-size: 1rem; color: var(--muted); }

/* ----------------------------------------------------------- pull line -- */
.quote { margin-block: 0; }
.quote p {
  margin: 0; font-family: var(--h-font); font-weight: 600; color: var(--text);
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3rem); line-height: 1.2; letter-spacing: -.025em;
  max-width: 24ch; text-wrap: balance;
}

/* -------------------------------------------------------------- before --
   The dark desk. It runs from the Before heading, through the grind, to the
   top of the turn, where it lifts to paper. */
.before {
  background: var(--desk); color: var(--before-ink);
  padding-top: var(--gap); padding-bottom: var(--gap);
}
.before h2, .before h3 { color: #fff; }
.before .prose p { color: var(--before-soft); }
.before .prose p strong { color: #fff; }
.before .cost { margin-top: var(--gap); }
.before .cost .cost-line { font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); line-height: 1.5; }

.grind { margin-top: 48px; }
.grind-stage { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.steps { margin: 20px 0 0; padding-left: 1.4em; color: var(--before-soft); font-size: 1.1rem; line-height: 1.5; }
.steps li + li { margin-top: 8px; }

.counter { margin-top: 28px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.counter-n {
  font-family: var(--sc-font-mono); font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; color: var(--accent-on-dark);
}
.counter-l { color: var(--before-soft); }
.counter-l b { color: #fff; font-variant-numeric: tabular-nums; }

.log-note { font-size: 14px; color: var(--before-soft); margin: 0 0 12px; }
.scene-stack > * + * { margin-top: 20px; }

/* The desk: 4 invoices from 4 suppliers, each with its total in a different
   place under a different name. */
.desk { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inv {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 16px;
  background: var(--paper-2); color: var(--text); border-radius: 6px;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .8);
  outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .25s;
}
.inv:nth-child(2) { rotate: 1.5deg; }
.inv:nth-child(3) { rotate: -1deg; }
.inv.is-hunt { outline-color: var(--marker); }
.inv-sup { margin: 0; font-weight: 700; font-size: 15px; }
.inv-meta { margin: 0; font-family: var(--sc-font-mono); font-size: 12px; color: var(--ink-soft); }
.inv-line { height: 5px; border-radius: 3px; background: var(--paper-line); }
.inv-line + .inv-line { width: 62%; }
.inv-total { margin: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.inv-total b { font-family: var(--sc-font-mono); }
.inv mark {
  color: var(--text); font-weight: 600; padding: 0 3px; border-radius: 2px;
  background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 0 / calc(var(--hl, 1) * 100%) 100%;
}
.pen { display: none; }

/* The sheet: the same 8 columns for every invoice. */
.sheet {
  display: flex; flex-direction: column; min-height: 0; padding: 12px 14px;
  background: var(--paper-2); color: var(--text); border-radius: 6px;
}
.sheet-head, .sheet-rows li {
  display: grid; grid-template-columns: 1.3fr 1fr .9fr .9fr 1fr .8fr 1fr .8fr; gap: 6px;
  font-size: 12px; line-height: 1.3;
}
.sheet-head { margin: 0; padding-bottom: 6px; border-bottom: 2px solid var(--text); font-weight: 700; }
.sheet-head span, .sheet-rows span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-rows { list-style: none; margin: 0; padding: 0; font-family: var(--sc-font-mono); }
.sheet-rows li { padding: 4px 0; border-bottom: 1px solid var(--paper-line); }

/* The pinned grind. Only with motion: page.js sets .iv-motion. */
.iv-motion .grind { margin-top: 0; }
.iv-motion .grind-stage {
  align-items: stretch; padding-block: clamp(56px, 10vh, 112px);
  background: var(--desk);
}
.iv-motion .grind-copy { display: flex; flex-direction: column; justify-content: center; }
.iv-motion .scene { display: flex; flex-direction: column; min-height: 0; justify-content: center; }
.iv-motion .scene-stack { display: grid; min-height: 0; }
.iv-motion .scene-stack > * { grid-area: 1 / 1; min-height: 0; margin: 0; align-self: center; will-change: transform, opacity; }
.iv-motion .sheet { align-self: stretch; max-height: 30rem; }
.iv-motion .sheet-rows { flex: 1; min-height: 0; overflow: hidden; }
.iv-motion .sheet-rows li.is-new { animation: iv-stamp 420ms var(--sc-ease-out, ease-out); }
@keyframes iv-stamp { from { background: color-mix(in oklab, var(--accent) 22%, transparent); } to { background: transparent; } }
.iv-motion .inv { will-change: transform, opacity; }
.iv-motion .pen {
  display: block; position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  width: 16px; height: 46px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(var(--marker) 0 70%, #3a3226 70%);
  box-shadow: 0 10px 18px -6px rgba(0, 0, 0, .7);
  transform-origin: 50% 100%; opacity: 0;
}
/* One step at a time. All four share one cell; page.js gives each its own
   opacity, lift and blur, and sets --sp (0 to 1) for the progress bar. */
.iv-motion .steps { display: grid; list-style: none; padding-left: 0; margin-top: 28px; }
.iv-motion .steps li {
  grid-area: 1 / 1; margin: 0; color: #fff;
  font-family: var(--h-font); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.25;
  will-change: transform, opacity, filter;
}
.iv-motion .steps li::before {
  content: "Step " counter(list-item) " of 4"; display: block; margin-bottom: 10px;
  font-family: var(--b-font); font-size: 14px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-on-dark);
}
.iv-motion .steps::after {
  content: ""; grid-area: 2 / 1; margin-top: 24px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-on-dark) calc(var(--sp, 0) * 100%), var(--desk-line) 0);
}

/* ----------------------------------------------------------------- now --
   The turn is the peak. With motion the stage starts on the dark desk with
   one invoice on it, the ground lifts to paper (--lit, 0 to 1), a scan line
   runs down the page and lifts each field into its column, then the invoice
   hands over to the billing summary. Without motion it is the finished row
   and summary. */
.now { background: var(--paper); padding-bottom: var(--gap); }
.turn-stage {
  --lit: 1;
  background: color-mix(in oklab, var(--paper) calc(var(--lit) * 100%), var(--desk));
  display: flex; align-items: center;
  padding-block: var(--gap);
}
.turn-grid { width: 100%; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.turn-now > * + * { margin-top: 16px; }
.turn-now h2 { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; letter-spacing: -.04em; }
.turn-before { display: none; }
.iv-motion .turn-copy { display: grid; }
.iv-motion .turn-copy > * { grid-area: 1 / 1; align-self: center; }
.iv-motion .turn-before {
  display: block; margin: 0; max-width: 15ch; color: #fff;
  font-family: var(--h-font); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.12;
}
.time { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-on-light); }
.turn-line { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); line-height: 1.5; color: var(--text); max-width: 26ch; }
.now .prose p { color: var(--ink-soft); }
.now > .prose { margin-top: 8px; }

.turn-objects { display: flex; flex-direction: column; gap: 18px; max-width: 36rem; }
.turn-note { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* The sheet row the fields land in. */
.row {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) repeat(6, minmax(0, 1fr)); gap: 0;
  background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 10px; overflow: hidden;
}
.row div { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; border-left: 1px solid var(--paper-line); min-width: 0; }
.row div:first-child { border-left: 0; }
.row span { font-size: 11px; font-weight: 700; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row b { font-family: var(--sc-font-mono); font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.turn-swap { display: grid; }
.turn-swap > * { grid-area: 1 / 1; align-self: start; }

/* The invoice on the scanner bed. Its 8 fields sit wherever this supplier
   put them. */
.scan-paper { display: none; }
.iv-motion .scan-paper {
  position: relative; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  padding: 22px 24px; background: var(--paper-2); color: var(--text);
  border: 1px solid var(--paper-line); border-radius: 6px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7);
  will-change: transform, opacity;
}
.sp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sp-top p { margin: 0; }
.sp-top p:first-child { font-size: 1.2rem; font-weight: 700; }
.sp-top p:last-child { font-family: var(--sc-font-mono); font-size: 13px; }
.sp-dates { margin: 0; display: flex; gap: 18px; font-family: var(--sc-font-mono); font-size: 13px; }
.sp-line { height: 6px; border-radius: 3px; background: var(--paper-line); }
.sp-line:nth-of-type(2) { width: 80%; }
.sp-line:nth-of-type(3) { width: 55%; }
.sp-sums { display: flex; flex-direction: column; gap: 4px; align-self: flex-end; min-width: 13rem; }
.sp-sums p { margin: 0; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.sp-sums .f { font-family: var(--sc-font-mono); }
.sp-total { padding-top: 6px; border-top: 1px solid var(--text); font-weight: 700; }
.sp-cur { margin: 0; font-size: 13px; color: var(--ink-soft); }
.f { border-radius: 3px; transition: background .2s, color .2s; }
.f.is-read { background: color-mix(in oklab, var(--accent) 14%, transparent); }
.scan-line { display: none; }
.iv-motion .scan-line {
  display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 20px 6px color-mix(in oklab, var(--accent) 40%, transparent);
  opacity: 0;
}

/* The billing summary. */
.email {
  background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--card-radius);
  box-shadow: var(--card-shadow); padding: 24px 28px;
}
.email-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--paper-line); }
.email-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-on-light); box-shadow: inset 0 0 0 9px #fbe3df; }
.email-from { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.email-time { margin: 0; font-size: 14px; color: var(--ink-soft); }
.email-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 0; }
.email-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.email-stats dt { font-size: 14px; color: var(--ink-soft); }
.email-stats dd {
  margin: 0; font-family: var(--h-font); font-weight: 700; color: var(--text);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); line-height: 1.1; letter-spacing: -.02em;
}
.email-for { margin: 16px 0 0; font-size: 15px; color: var(--text); }
.email-hold {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--paper-line);
  display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--text);
}
.hold-mark { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--accent-on-light); }

.iv-motion .turn-stage { height: 100svh; padding-block: 0; }
.iv-motion .turn-stage .email { opacity: 0; }

.receipt { margin: 36px 0 0; max-width: none; }
.receipt img { width: 100%; height: auto; border-radius: var(--inner-radius); }
.receipt figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }

/* --------------------------------------------------------------- close --
   The close holds: one settled screen, one button, then the footer. */
.close { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: calc(var(--gap) * 1.5); }
.close > * + * { margin-top: 18px; }
.close p { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }
.close .tf-btn { margin-top: 28px; scroll-margin-block: 30vh; }   /* keyboard focus lands it mid-screen, ring and all */
.iv .tf-btn:active { transform: translateY(0) scale(.98); filter: brightness(1.05); }

/* --------------------------------------------------------------- tablet -- */
@media (max-width: 1000px) {
  .plane--mid { display: none; }
}

/* ---------------------------------------------------------------- phone -- */
@media (max-width: 760px) {
  .logo-site { display: inline-block; padding-block: 7px; }
  .menu-toggle { padding: 14px 10px; }
  .iv-hero { padding-top: 130px; }
  .hero-line { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.5rem); max-width: 18ch; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .grind-stage, .turn-grid { grid-template-columns: 1fr; }
  .desk { gap: 10px; }
  .inv { padding: 10px 12px; gap: 6px; }
  .inv-sup { font-size: 13px; }
  .inv-meta, .inv-total { font-size: 11px; }
  .sheet { padding: 10px; }
  .sheet-head, .sheet-rows li { gap: 4px; font-size: 10px; }
  /* The pinned grind is one screen tall: the step on top, the scene below. */
  .iv-motion .grind-stage { grid-template-rows: auto 1fr; gap: 16px; padding-block: 64px 88px; }   /* ends above the site's back-to-top button */
  .iv-motion .steps { margin-top: 14px; }
  .iv-motion .steps li { font-size: 1.3rem; }
  .iv-motion .steps::after { margin-top: 14px; }
  .iv-motion .grind-copy h3 { font-size: 1.1rem; }
  .iv-motion .counter { margin-top: 12px; }
  .iv-motion .counter-n { font-size: 2.4rem; }
  .iv-motion .turn-grid { gap: 18px; }
  /* The finished turn has to fit one phone screen: 2 lines of 4 columns. */
  .turn-now h2 { font-size: 2.6rem; }
  .turn-now > * + * { margin-top: 10px; }
  .turn-line { font-size: 1.05rem; max-width: none; }
  .turn-objects { gap: 12px; }
  .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row div { padding: 7px 7px; }
  .row div:nth-child(5) { border-left: 0; }
  .row div:nth-child(n+5) { border-top: 1px solid var(--paper-line); }
  .row b { font-size: 11px; }   /* "Supplier C" fits a quarter of a 375px screen */
  .iv-motion .scan-paper { padding: 16px 18px; gap: 9px; }
  .sp-sums { min-width: 0; width: 100%; }
  .email { padding: 16px 18px; }
  .email-head { padding-bottom: 10px; }
  .email-mark { width: 26px; height: 26px; box-shadow: inset 0 0 0 7px #fbe3df; }
  .email-stats { margin-top: 12px; gap: 10px; }
  .email-stats dd { font-size: 1.05rem; }
  .email-for, .email-hold { margin-top: 10px; font-size: 14px; }
  .email-hold { padding-top: 10px; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .iv-motion .turn-before { font-size: 1.8rem; }
  .time, .email-time, .email-for { display: none; }   /* never the illustration note */
}
