/* ══════════════════════════════════════════════════════════════
   setmode brand tokens
   Source of truth: microsite/brand.html Section 05 · Visual System
   Served at: setmode.io/brand/brand.css
   ══════════════════════════════════════════════════════════════ */

:root {
  --canvas: #F8F5F0;
  --surface: #FFFFFF;
  --surface-alt: #F0EDE6;
  --surface-hi: #FFFFFF;
  --border: #D9D5CD;
  --divider: #E8E5DE;

  --text: #2C2824;
  --text-2: #6B6560;
  --text-3: #6B635B;

  --mulberry: #70384E;
  --mulberry-tint: #EEE7EA;
  --mulberry-hover: #5C2E40;

  --sage: #4E6E4A;
  --clay: #855B4B;
  --slate: #4F5E68;
  --pewter: #7A7670;

  --sage-deep: #4C644A;
  --clay-deep: #735245;
  --slate-deep: #48535B;

  --sage-tint: #EDF0EC;
  --clay-tint: #F3EDEB;
  --slate-tint: #ECEEEF;

  --state-complete: #347048;
  --state-upcoming: #BDB8B0;

  --dark-ground: #242628;
  --dark-border: #3A3C42;
  --dark-divider: #353840;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Extended palette — used by document blocks and print contexts.
     Document templates may override these in their own :root for
     exact print-palette values. */
  --text-secondary: #4A4A4A;
  --text-muted: #8A8A8A;
  --alt-row: #F9F9F9;
  --amber: #B88B27;
}

/* ══════════════════════════════════════════════════════════════
   Global resets and base typography
   ══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 2rem; }

h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.4;
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}
h3:first-child, h3.no-top { margin-top: 0; }

h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

p { margin-bottom: 1.25rem; max-width: 720px; }
p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   Reading system layout
   ══════════════════════════════════════════════════════════════ */

.rs-main {
  margin-left: 0;
  min-height: 100vh;
  position: relative;
}
.rs-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 100vh;
  background: var(--canvas);
  z-index: 200;
  padding: 25.5px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.rs-sidebar.visible {
  opacity: 1;
  pointer-events: auto;
}
.rs-sidebar-logo {
  display: block;
  padding: 8.5px 25.5px;
  margin-bottom: 16px;
  text-decoration: none;
}
.rs-sidebar-logo span {
  font-family: 'Gelasio', Georgia, serif;
  font-weight: 500;
  font-size: 14px;
  color: #9A9490;
}
.rs-sidebar-nav {
  list-style: none;
  flex: 1;
}
.rs-sidebar-nav li {
  margin-bottom: 2px;
}
.rs-sidebar-nav a {
  display: block;
  padding: 8.5px 25.5px;
  font-size: 13.6px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
  line-height: 1.4;
}
.rs-sidebar-nav a:hover {
  color: var(--text);
}
.rs-sidebar-nav a.active {
  color: var(--mulberry);
  border-left-color: var(--mulberry);
  font-weight: 600;
}
.rs-sidebar-num {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  opacity: 0.6;
  margin-right: 6px;
}
.rs-sidebar-version {
  margin-top: auto;
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ── Sticky header ── */
.rs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  z-index: 150;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.rs-header.visible {
  opacity: 1;
  pointer-events: auto;
}
.rs-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.rs-header-logo span {
  font-family: 'Gelasio', Georgia, serif;
  font-weight: 500;
  font-size: 13px;
  color: #9A9490;
}
.rs-header-chapter {
  margin-left: 20px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-3);
}
.rs-header-chapter::before {
  content: '·';
  margin-right: 10px;
  color: var(--border);
}

/* ── Progress bar ── */
.rs-progress {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--divider);
  z-index: 151;
  opacity: 0;
  transition: opacity 200ms ease;
}
.rs-progress.visible { opacity: 1; }
.rs-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--mulberry);
  transition: width 80ms linear;
}

/* ── Cover ── */
.rs-cover {
  padding: var(--space-3xl) 2rem var(--space-2xl);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.rs-cover-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.rs-cover-logo span {
  font-family: 'Gelasio', Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  color: #9A9490;
}
.rs-cover h1 {
  font-family: 'Gelasio', Georgia, serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.rs-cover p {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.rs-cover-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ── Wide breakout ── */
.rs-wide {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  max-width: calc(100vw - 4rem);
  box-sizing: border-box;
  padding: 0 2rem;
}

/* ══════════════════════════════════════════════════════════════
   Sections, typography, prose elements
   ══════════════════════════════════════════════════════════════ */

section { padding: var(--space-3xl) 0; }
section.alt { background: var(--surface-alt); }

h2.section-title {
  font-family: 'Gelasio', Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.section-num {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mulberry);
  display: block;
  margin-bottom: 8px;
}
.section-lead {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 680px;
  margin-bottom: var(--space-xl);
  line-height: 1.65;
}

blockquote {
  border-left: 3px solid var(--mulberry);
  padding-left: 20px;
  margin: var(--space-lg) 0;
  font-family: 'Gelasio', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-2);
  font-style: italic;
  max-width: 640px;
}

.note {
  font-size: 13px;
  color: var(--text-2);
  padding-left: 16px;
  border-left: 2px solid var(--divider);
}

/* ══════════════════════════════════════════════════════════════
   Grids and cards
   ══════════════════════════════════════════════════════════════ */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-md); }

.card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 20px;
}
.card h4 { margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-2); }
.card-phase { border-left: 3px solid; border-radius: 0 8px 8px 0; }
.card-accent {
  background: var(--mulberry-tint);
  border-color: rgba(112,56,78,0.15);
}
.card-stat { text-align: center; padding: 24px 20px; }
.card-stat .num {
  font-weight: 600; font-size: 28px;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.card-stat .label {
  font-size: 11px; font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 24px;
}
.value-card .value-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mulberry);
  margin-bottom: 8px;
}
.value-card h4 {
  font-family: 'Gelasio', Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 12px;
}
.value-card p { font-size: 14px; color: var(--text-2); }
.value-card .test {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-3);
  font-style: italic;
  border-top: 1px solid var(--divider);
  padding-top: 12px;
}

/* ══════════════════════════════════════════════════════════════
   Colour swatches, register strips, type specimens
   ══════════════════════════════════════════════════════════════ */

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.swatch {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  overflow: hidden;
}
.swatch-colour {
  height: 64px;
  display: flex;
  align-items: flex-end;
  padding: 8px 12px;
}
.swatch-colour .hex {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  padding: 2px 6px; border-radius: 3px;
  background: rgba(255,255,255,0.85);
  color: var(--text);
}
.swatch-colour.dk .hex {
  background: rgba(0,0,0,0.35);
  color: #fff;
}
.swatch-info { padding: 10px 12px; }
.swatch-info .token { font-size: 12px; font-weight: 500; }
.swatch-info .name { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.swatch-info .char { font-size: 11px; color: var(--text-3); margin-top: 3px; font-style: italic; }

.register-row { display: flex; gap: 2px; margin-bottom: var(--space-md); border-radius: 8px; overflow: hidden; }
.register-cell { flex: 1; padding: 14px; min-height: 64px; }
.register-cell .rlabel { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 3px; }
.register-cell .rval { font-size: 12px; font-variant-numeric: tabular-nums; }

.type-specimen {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: baseline;
  gap: var(--space-xl);
}
.type-specimen .rendered { flex: 1; min-width: 0; }
.type-specimen .spec { flex: 0 0 220px; font-size: 12px; color: var(--text-3); line-height: 1.7; }
.type-specimen .spec strong { color: var(--text-2); font-weight: 500; }

/* ══════════════════════════════════════════════════════════════
   Buttons, tags, links, tables
   ══════════════════════════════════════════════════════════════ */

.btn-primary {
  display: inline-block; background: var(--mulberry); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px;
  padding: 10px 24px; border-radius: 6px; border: none; cursor: pointer; text-decoration: none;
}
.btn-secondary {
  display: inline-block; background: transparent; color: var(--text);
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 13px;
  padding: 10px 24px; border-radius: 6px; border: 1.5px solid var(--border); cursor: pointer; text-decoration: none;
}
.btn-ghost {
  display: inline-block; background: none; border: none;
  color: var(--mulberry); font-family: 'Inter', sans-serif; font-weight: 500; font-size: 13px;
  text-decoration: underline; text-decoration-color: rgba(112,56,78,0.3);
  text-underline-offset: 3px; cursor: pointer;
}
.btn-compact {
  display: inline-block; background: var(--mulberry); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 11px;
  padding: 5px 14px; border-radius: 6px; border: none; cursor: pointer; text-decoration: none;
}

.tag { display: inline-block; font-family: 'Inter', sans-serif; border-radius: 4px; }
.tag-solid { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 5px; color: #fff; }
.tag-tint { font-size: 10px; font-weight: 600; padding: 3px 8px; }
.tag-status { font-size: 10px; font-weight: 600; padding: 3px 8px; display: inline-flex; align-items: center; gap: 5px; }
.tag-status .dot { width: 6px; height: 6px; border-radius: 50%; }
.tag-role { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.tag-outline { font-size: 10px; font-weight: 600; padding: 3px 8px; background: transparent; border: 1.5px solid; }
.tag-brand { font-size: 10px; font-weight: 600; padding: 3px 8px; background: var(--mulberry); color: #fff; border-radius: 4px; }

a.link { color: var(--mulberry); text-decoration: underline; text-decoration-color: rgba(112,56,78,0.3); text-underline-offset: 3px; }
a.link:hover { text-decoration-color: var(--mulberry); }

.brand-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; margin-bottom: var(--space-xl); }
.brand-table th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: 0.03em; color: var(--text-3); text-transform: uppercase; padding: 8px 12px; border-bottom: 2px solid var(--border); }
.brand-table td { padding: 10px 12px; border-bottom: 1px solid var(--divider); color: var(--text-2); vertical-align: top; }
.brand-table td:first-child { color: var(--text); font-weight: 500; }
.colour-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* ══════════════════════════════════════════════════════════════
   Demo boxes, spacing demo, alt strip
   ══════════════════════════════════════════════════════════════ */

.demo-row { display: flex; gap: var(--space-lg); align-items: flex-start; flex-wrap: wrap; margin-bottom: var(--space-xl); }
.demo-box { background: var(--surface); border: 1px solid var(--divider); border-radius: 8px; padding: var(--space-lg); }
.demo-label { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--space-md); }

.spacing-demo { display: flex; gap: 12px; align-items: flex-end; margin-bottom: var(--space-xl); }
.spacing-block { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.spacing-block .bar { background: var(--mulberry-tint); border: 1px solid rgba(112,56,78,0.15); width: 48px; border-radius: 4px; }
.spacing-block .lbl { font-size: 10px; font-weight: 600; color: var(--text-3); }
.spacing-block .val { font-size: 10px; color: var(--text-3); font-variant-numeric: tabular-nums; }

.section-alt-strip { display: flex; border-radius: 8px; overflow: hidden; margin-bottom: var(--space-xl); border: 1px solid var(--divider); }
.section-alt-strip > div { flex: 1; padding: 16px 12px; text-align: center; font-size: 12px; font-weight: 500; color: var(--text-2); }

/* ══════════════════════════════════════════════════════════════
   Vocab, banned, nav sim, dark ground, sim frame, do/don't, motion, forms
   ══════════════════════════════════════════════════════════════ */

.vocab-item { padding: 12px 0; border-bottom: 1px solid var(--divider); }
.vocab-item:last-child { border-bottom: none; }
.vocab-term { font-weight: 600; font-size: 0.85rem; margin-bottom: 3px; }
.vocab-def { font-size: 0.82rem; color: var(--text-2); max-width: 640px; }
.vocab-never { font-size: 12px; color: var(--mulberry); margin-top: 3px; }

.banned-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.banned-item { display: flex; padding: 8px 12px; border-bottom: 1px solid var(--divider); font-size: 13px; }
.banned-item .bad { flex: 1; color: var(--text-3); text-decoration: line-through; }
.banned-item .good { flex: 1; color: var(--text); font-weight: 500; }

.nav-sim {
  display: flex; align-items: center; height: 64px;
  background: rgba(248,245,240,0.95); backdrop-filter: blur(12px);
  border: 1px solid var(--divider); border-radius: 8px;
  padding: 0 2rem; gap: 1.75rem;
}
.nav-sim .logo { font-family: 'Gelasio', Georgia, serif; font-weight: 500; font-size: 18px; color: #9A9490; margin-right: auto; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-sim .nlink { font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.nav-sim .nlink.active { color: var(--text); border-bottom: 2px solid var(--mulberry); padding-bottom: 2px; }

.dark-ground { background: var(--dark-ground); color: var(--canvas); border-radius: 8px; padding: var(--space-xl); }
.dark-ground h3 { color: var(--canvas); margin-top: 0; }
.dark-ground .secondary { color: #9A9490; }
.dark-ground .muted { color: var(--text-3); }
.dark-ground a { color: var(--canvas); text-decoration: underline; text-decoration-color: rgba(248,245,240,0.3); text-underline-offset: 3px; }
.dark-ground a:hover { text-decoration-color: var(--canvas); }

.sim-frame {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: var(--space-xl);
}
.sim-bar {
  background: var(--surface-alt);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-bar .dots { display: flex; gap: 5px; }
.sim-bar .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.sim-body { padding: 0; }

.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.do-card, .dont-card { border-radius: 8px; padding: 20px; }
.do-card { background: rgba(61,122,86,0.06); border: 1px solid rgba(61,122,86,0.15); }
.dont-card { background: rgba(112,56,78,0.04); border: 1px solid rgba(112,56,78,0.12); }
.do-card .label { color: var(--state-complete); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.dont-card .label { color: var(--mulberry); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.do-card p, .dont-card p { font-size: 13px; color: var(--text-2); }

.motion-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-md); }
.motion-card { background: var(--surface); border: 1px solid var(--divider); border-radius: 8px; padding: 16px; }
.motion-card .interaction { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.motion-card .behaviour { color: var(--text-2); font-size: 12px; }

.form-input {
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px 16px; width: 100%; max-width: 320px; outline: none;
}
.form-input:focus { border-color: var(--mulberry); }
.form-input::placeholder { color: var(--text-3); }

/* ══════════════════════════════════════════════════════════════
   Responsive + print
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .rs-sidebar { display: none; }
  .rs-wide {
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
    padding: 0;
  }
}
@media (max-width: 768px) {
  body { font-size: 1rem; line-height: 1.6; }
  .wrap { padding: 0 1.25rem; }
  h2.section-title { font-size: 1.6rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .type-specimen { flex-direction: column; gap: var(--space-md); }
  .type-specimen .spec { flex: none; }
  .do-dont { grid-template-columns: 1fr; }
  .demo-row { flex-direction: column; }
  .banned-grid { grid-template-columns: 1fr; }
  .nav-sim { gap: 1rem; padding: 0 1rem; }
  section { padding: var(--space-2xl) 0; }
  .rs-cover { padding: var(--space-2xl) 1.25rem var(--space-xl); }
  .rs-cover h1 { font-size: 2rem; }
}

@media print {
  .rs-sidebar, .rs-header, .rs-progress { display: none !important; }
  .rs-wide { position: static; left: auto; transform: none; width: 100%; max-width: 100%; }
  section { break-inside: avoid; page-break-inside: avoid; }
}

/* ══════════════════════════════════════════════════════════════
   A4 Landscape Document Layout (Standard)
   One slide container for every branded deck — reports,
   presentations, module decks, anything else. Content recipes
   (the block library plugged into each slot) vary between
   document types; the container spec does not.

   Padding: 48 / 72 / 60 / 72 (top / right / bottom / left)
   Footer offset: 28px from bottom, aligned to side padding
   Body-level rules scoped behind body.slide-doc so the
   microsite (no slide-doc class) is unaffected. Host document
   still owns @page and the Century Gothic font-family.

   To use: <body class="slide-doc"> in the template/shell.
   ══════════════════════════════════════════════════════════════ */

body.slide-doc {
  background: #E0E0E0;
  padding: 36px 0;
}

.slide {
  width: 297mm;
  height: 210mm;
  position: relative;
  page-break-after: always;
  overflow: hidden;
  padding: 48px 72px 60px 72px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.slide:last-child { page-break-after: auto; }
body.slide-doc .slide { background: white; box-shadow: 0 2px 16px rgba(0,0,0,0.10); margin-bottom: 32px; }

/* ── Utility bar (screen-only, hidden when printed) ── */
.utility-bar {
  position: fixed; top: 16px; right: 24px;
  display: flex; gap: 8px; z-index: 100;
  opacity: 0.35; transition: opacity 200ms ease;
}
.utility-bar:hover { opacity: 1; }
.util-btn {
  font-family: 'Century Gothic', 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--text); background: white; border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 4px; cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
  display: flex; align-items: center; gap: 6px;
}
.util-btn:hover { background: var(--surface); border-color: var(--mulberry); color: var(--text); }
.util-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── Footer (slide bottom) ── */
.footer {
  position: absolute;
  bottom: 28px;
  left: 72px;
  right: 72px;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 0.5px solid var(--divider);
}
.footer-text { font-size: 9px; color: var(--text-muted); letter-spacing: 0.03em; }
.footer-page { font-size: 9px; color: var(--text-muted); font-weight: 500; }

@media print {
  body.slide-doc { background: white; margin: 0; padding: 0; }
  body.slide-doc .slide { width: 297mm; height: 210mm; margin: 0; box-shadow: none; }
  body.slide-doc .utility-bar { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   Brand book — Layouts section preview
   These helpers render the shell's labelled diagram on the
   brand book page itself. Not used by documents.
   ══════════════════════════════════════════════════════════════ */

.layout-shell-demo {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 297 / 210;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin: var(--space-lg) 0 var(--space-xl);
}
.layout-shell-safe {
  position: absolute;
  top: 6.05%;
  right: 6.41%;
  bottom: 7.56%;
  left: 6.41%;
  border: 1px dashed var(--mulberry);
  border-radius: 2px;
  opacity: 0.5;
  background: var(--mulberry-tint);
}
.layout-shell-footer {
  position: absolute;
  bottom: 3.53%;
  left: 6.41%;
  right: 6.41%;
  padding-top: 6px;
  border-top: 0.5px solid var(--mulberry);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--mulberry);
  opacity: 0.75;
}
/* (.layout-label* classes removed — labels were overlapping the safe-zone dashes.
   The spec table below the demo carries the exact numbers.) */
