/* Brandlit /account — pixel alignment fix (template cards + filming MIC meter)
   Owner: mobile grok bot · 2026-10-05
   Load LAST on /account head (after account-chrome-taps.css).
   Scope: body:has(#workspace-main) only. */

/* ——— Templates: subtitle p had margin-left:4px → Δ4 vs h2 / .button-row ——— */
body:has(#workspace-main) .template-catalog article > p,
body:has(#workspace-main) .template-catalog article p {
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
  padding-left: 0 !important;
}

/* Keep title, subtitle, and button row on the same content left edge */
body:has(#workspace-main) .template-catalog article > h2,
body:has(#workspace-main) .template-catalog article > .button-row {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* ——— Filming MIC column: justify-items:center offset the 5px bar by ~4.7px
   vs full-width MIC/output labels. Left-align stack so edges match. ——— */
body:has(#workspace-main) .film-audio-meter {
  justify-items: start !important;
  justify-content: start !important;
  width: max-content !important;
}

body:has(#workspace-main) .film-audio-meter > div,
body:has(#workspace-main) .film-audio-meter > span,
body:has(#workspace-main) .film-audio-meter > output,
body:has(#workspace-main) .film-audio-meter #film-db {
  justify-self: start !important;
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
  text-align: left !important;
}

/* ——— 2026-10-05 20:15 · Utah recheck-2000 `account-filming|misaligned-edges` (7 pairs, Δ9.3–12 at every width) ——— */
/* (a) MIC meter is an inset HUD at left:12px inside .film-stage; every sibling box starts at 0.
       Move the box edge to 0 and keep the visual inset as padding → content stays at +12, box edge Δ0. */
body:has(#workspace-main) .film-stage > .film-audio-meter {
  left: 0 !important;
  padding-left: 12px !important;
  box-sizing: content-box !important;
}
/* (b) Empty-state title and line are centred at their own widths (241 vs 260 → Δ9.3).
       Give both the same centred column so the left edges match. */
body:has(#workspace-main) #film-empty > h2,
body:has(#workspace-main) #film-empty > p {
  width: min(100%, 28rem) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
/* (c) Skip link parks at top:-60px / left:12px, still within 20px of the viewport → counted vs header/shell at 0.
       Park it fully off-screen until focused; focus position is unchanged. */
body:has(#workspace-main) a.skip:not(:focus):not(:focus-visible) {
  top: -200px !important;
}
