/* CrewPlan — Plaquette entreprise 13 pages A4 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0A0F16;
  --ink-2: #121A24;
  --ink-light: #15202E;
  --muted: #5A6676;
  --muted-on-dark: #9AA6B5;
  --paper: #F6F4EF;
  --paper-2: #FFFFFF;
  --line: #E2DDD4;
  --line-dark: rgba(255, 255, 255, 0.1);
  --gold: #D4A017;
  --gold-soft: #F3E2A8;
  --teal: #1F8A70;
  --teal-soft: #D5F0E6;
  --coral: #C45C3E;
  --coral-soft: #F6D9CF;
  --page-w: 794px;
  --page-h: 1123px;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Manrope, system-ui, sans-serif;
  background: #D8D6D0;
  color: var(--ink-light);
  -webkit-font-smoothing: antialiased;
  padding: 40px 20px 80px;
  line-height: 1.5;
}

body.print-mode {
  background: #fff;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: Syne, sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--ink);
  font-weight: 800;
}

/* —— Toolbar —— */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: var(--page-w);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(10, 15, 22, 0.25);
}
.toolbar-meta { font-size: 0.78rem; color: var(--muted-on-dark); }
.toolbar-meta strong { color: #fff; font-weight: 700; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar a, .toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.toolbar .primary {
  background: var(--gold-soft);
  color: #1A1400;
  border-color: transparent;
}
.toolbar .nav-page {
  min-width: 72px;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.quick-nav {
  max-width: var(--page-w);
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.quick-nav a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}
.quick-nav a:hover { color: var(--ink); border-color: var(--ink-light); }

/* —— Page shell —— */
.page {
  width: var(--page-w);
  min-height: var(--page-h);
  height: var(--page-h);
  margin: 0 auto 40px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 48px rgba(10, 15, 22, 0.18);
  scroll-margin-top: 80px;
}

.pfoot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 52px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.pfoot.dark { background: var(--ink-2); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); }
.pfoot.light { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); }

.logo-mark { height: 28px; width: auto; display: block; }

.kicker {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

/* —— Shared nav bar —— */
.lpage-nav {
  padding: 26px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  flex-shrink: 0;
}
.section-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lpage-body {
  padding: 32px 52px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.section-title {
  font-size: 1.75rem;
  margin-bottom: 10px;
  max-width: 20ch;
}
.section-sub {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 52ch;
  margin-bottom: 22px;
}

/* ========== PAGE 01 COVER ========== */
.cover {
  background:
    radial-gradient(ellipse 70% 55% at 88% 10%, rgba(212, 160, 23, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 6% 90%, rgba(31, 138, 112, 0.12), transparent 50%),
    linear-gradient(165deg, #0A0F16 0%, #121A24 48%, #0E1620 100%);
  color: #fff;
}
.cover-nav {
  padding: 28px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-dark);
  flex-shrink: 0;
}
.cover-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.cover-brand .logo-mark {
  height: 36px;
  width: auto;
  max-width: none;
  align-self: flex-start;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.cover-brand-meta {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.cover-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.cover-hero {
  flex: 1;
  padding: 36px 52px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  min-height: 0;
}
.cover-copy { max-width: 32rem; }
.cover h1 {
  color: #fff;
  font-size: 2.35rem;
  margin-bottom: 14px;
  max-width: 16ch;
}
.cover-lead {
  color: var(--muted-on-dark);
  font-size: 0.95rem;
  max-width: 46ch;
  line-height: 1.55;
}
.cover .product-frame {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.cover-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.42fr 0.78fr;
  gap: 12px;
}
.cover-stage .product-frame {
  height: 100%;
  min-height: 0;
}
.cover-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.aside-card {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
}
.aside-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
}
.aside-pill {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.punch-list, .setup-list {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
  justify-content: space-evenly;
}
.punch-list li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  grid-template-areas: "av name state" "av time state";
  column-gap: 8px;
  row-gap: 1px;
  align-items: center;
}
.punch-list .av { grid-area: av; }
.punch-name {
  grid-area: name;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}
.punch-time {
  grid-area: time;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted-on-dark);
  font-variant-numeric: tabular-nums;
}
.punch-state {
  grid-area: state;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 6px;
  border-radius: 999px;
}
.punch-state.on { background: rgba(31,138,112,0.28); color: #D5F0E6; }
.punch-state.done { background: rgba(255,255,255,0.08); color: #d5dbe3; }
.punch-state.wait { background: rgba(212,160,23,0.16); color: var(--gold-soft); }
.setup-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}
.setup-list b {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
}
.setup-list span {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--muted-on-dark);
  text-align: right;
}
.cover .pf-body {
  flex: 1;
  min-height: 240px;
}
.cover .day { min-height: 100px; }

.product-frame {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.product-frame.light {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(10, 15, 22, 0.08);
}
.pf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.66rem;
  color: var(--muted-on-dark);
  font-weight: 600;
}
.product-frame.light .pf-top {
  background: var(--paper);
  border-bottom-color: var(--line);
  color: var(--muted);
}
.pf-dots { display: flex; gap: 5px; }
.pf-dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.product-frame.light .pf-dots i { background: #C8C3BA; }
.pf-body { display: grid; grid-template-columns: 92px 1fr; min-height: 200px; }
.pf-side {
  padding: 12px 10px;
  border-right: 1px solid var(--line-dark);
  font-size: 0.6rem;
  color: var(--muted-on-dark);
}
.product-frame.light .pf-side {
  border-right-color: var(--line);
  color: var(--muted);
  background: #FAF9F6;
}
.pf-side b {
  display: block;
  color: #fff;
  font-size: 0.62rem;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-frame.light .pf-side b { color: var(--ink); }
.pf-nav {
  padding: 6px 8px;
  border-radius: 7px;
  margin-bottom: 3px;
}
.pf-nav.on {
  background: rgba(31, 138, 112, 0.22);
  color: #D5F0E6;
  font-weight: 700;
}
.product-frame.light .pf-nav.on {
  background: var(--teal-soft);
  color: var(--teal);
}
.pf-main { padding: 12px 14px; }
.pf-week {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.7rem;
  color: #fff;
}
.product-frame.light .pf-week { color: var(--ink); }
.pf-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.56rem;
  font-weight: 800;
}
.grid-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.day {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  padding: 6px 5px;
  min-height: 88px;
}
.product-frame.light .day {
  background: var(--paper);
  border-color: var(--line);
}
.day em {
  display: block;
  font-style: normal;
  font-size: 0.54rem;
  color: var(--muted-on-dark);
  margin-bottom: 5px;
  font-weight: 700;
}
.product-frame.light .day em { color: var(--muted); }
.shift {
  display: block;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 3px 4px;
  border-radius: 4px;
  margin-bottom: 3px;
  line-height: 1.25;
}
.shift.s { background: rgba(31,138,112,0.25); color: #BFE9DA; }
.shift.k { background: rgba(212,160,23,0.22); color: #F3E2A8; }
.shift.b { background: rgba(196,92,62,0.22); color: #F6D9CF; }
.product-frame.light .shift.s { background: #D5F0E6; color: #0F5C4A; }
.product-frame.light .shift.k { background: #F3E2A8; color: #6B5208; }
.product-frame.light .shift.b { background: #F6D9CF; color: #8B3A28; }

.cover-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line-dark);
}
.cover-identity {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  line-height: 1.6;
}
.cover-identity strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

/* ========== PAGE 02 TOC ========== */
.toc-intro {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 48ch;
  margin-bottom: 32px;
  line-height: 1.55;
}
.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: space-between;
  gap: 0 48px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  flex: 1;
}
.toc-list li {
  border-bottom: 1px solid var(--line);
}
.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
}
.toc-list .n {
  font-family: Syne, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 1.6rem;
}
.toc-list .t {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.toc-list .p {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
#p02 .toc-intro { margin-bottom: 18px; }
#p02 .toc-list {
  gap: 10px 12px;
  border-top: 0;
  margin-top: 0;
  align-content: stretch;
  grid-template-rows: repeat(6, 1fr);
}
#p02 .toc-list li {
  border-bottom: 0;
  min-height: 0;
  display: flex;
}
#p02 .toc-list a {
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  min-width: 0;
}
#p02 .toc-list .c-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
#p02 .toc-list .c-ico svg { width: 18px; height: 18px; }
#p02 .toc-list .n { line-height: 1; flex-shrink: 0; }
#p02 .toc-list .t { flex: 1; min-width: 0; line-height: 1.2; }
#p02 .toc-list .p { flex-shrink: 0; }

/* ========== PAGE 03 SCHEMA ========== */
.hub-schema {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
}
.hub-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.hub-col h3 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: Manrope, sans-serif;
  font-weight: 800;
}
.hub-col ul {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hub-col li {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(226,221,212,0.7);
  color: var(--ink-light);
}
.hub-col li:last-child { border-bottom: 0; }
.hub-center {
  width: 132px;
  height: 132px;
  align-self: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 32px rgba(10,15,22,0.2);
  position: relative;
}
.hub-center::before,
.hub-center::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--gold);
}
.hub-center::before { left: -18px; }
.hub-center::after { right: -18px; }
.hub-center strong {
  font-family: Syne, sans-serif;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}
.hub-center span {
  font-size: 0.58rem;
  color: var(--muted-on-dark);
  margin-top: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hub-caption {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 28px;
  line-height: 1.5;
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  background: #fff;
  text-align: center;
}
.trio-card .num {
  font-family: Syne, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.trio-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.trio-card p {
  font-size: 0.78rem;
  color: var(--muted);
}
#p03 .hub-schema {
  flex: 1;
  min-height: 0;
  margin-bottom: 16px;
}
#p03 .hub-col {
  min-height: 0;
  padding: 16px 14px 12px;
}
#p03 .hub-col h3 { margin-bottom: 10px; }
#p03 .hub-col ul {
  gap: 8px;
  justify-content: stretch;
}
#p03 .hub-col li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
#p03 .hub-col li:last-child { border-bottom: 1px solid var(--line); }
#p03 .hub-col li .c-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}
#p03 .hub-col li .c-ico svg { width: 16px; height: 16px; }
#p03 .hub-caption { margin-bottom: 18px; }
#p03 .trio-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 14px 14px;
}
#p03 .trio-card .c-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}
#p03 .trio-card .c-ico svg { width: 20px; height: 20px; }
#p03 .trio-card .num { margin-bottom: 2px; }
#p03 .trio-card h4 { margin-bottom: 3px; }
#p03 .trio-card p { font-size: 0.78rem; line-height: 1.35; }

/* ========== PAGE 04 PLANNING ========== */
.mock-wrap {
  position: relative;
  margin-bottom: 20px;
  flex: 1;
}
.mock-wrap .product-frame { height: 100%; }
.anno-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.anno {
  border-top: 2px solid var(--gold);
  padding-top: 10px;
}
.anno .n {
  font-family: Syne, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}
.anno p {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-light);
  line-height: 1.35;
}
.callout {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
#p04 .anno-grid {
  gap: 10px;
  margin-top: 14px;
}
#p04 .anno {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 12px 12px 14px;
  min-width: 0;
}
#p04 .anno .c-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
#p04 .anno .c-ico svg { width: 18px; height: 18px; }
#p04 .anno-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  width: 100%;
}
#p04 .anno .n {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 0.66rem;
}
#p04 .anno p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
#p04 .callout { margin-top: 12px; }

/* ========== PAGE 05 DISPO ========== */
.flow-v {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 22px;
  flex-wrap: nowrap;
}
.flow-v .node {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.flow-v .node.hi {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.flow-v .node.end {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.flow-v .arr {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.9rem;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  background: var(--paper);
}
.card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  color: var(--teal);
}
.card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.cal-mock {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin-top: 28px;
}
.cal-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}
.cal-cell {
  background: #fff;
  min-height: 64px;
  padding: 8px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
}
.cal-cell .d { display: block; margin-bottom: 4px; color: var(--ink); }
.cal-cell .tag {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.52rem;
  font-weight: 800;
}
.tag.ok { background: var(--teal-soft); color: var(--teal); }
.tag.off { background: var(--coral-soft); color: var(--coral); }
.tag.rest { background: #EEEAE3; color: var(--muted); }

/* ========== PAGE 06 CONSTRAINTS ========== */
.chain {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.chain-step {
  flex: 1;
  padding: 18px 12px;
  text-align: center;
  background: var(--paper);
  border-right: 1px solid var(--line);
  position: relative;
}
.chain-step:last-child {
  border-right: 0;
  background: var(--ink);
  color: #fff;
}
.chain-step:last-child strong,
.chain-step:last-child span { color: #fff; }
.chain-step strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--ink);
}
.chain-step span {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
}
.chain-step .arrow {
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  font-size: 0;
}
.chain-step:last-child .arrow { display: none; }
.constraint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
  flex: 1;
  align-content: space-between;
}
.constraint-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
.c-ico {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-ico svg {
  width: 24px;
  height: 24px;
  display: block;
}
.c-copy { min-width: 0; }
.constraint-item strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.c-copy span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.encart {
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F3FBF8 0%, #fff 100%);
  border: 1px solid #C5E8DB;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-light);
}

/* ========== PAGE 07 TEAMS ========== */
.roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
  flex: 1;
  align-content: space-between;
}
.role {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--paper);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
.role .lbl {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.role h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.role p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.role-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.role-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.role-points li {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  line-height: 1.3;
}
.info-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px;
  background: var(--ink);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.info-flow .box {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.info-flow .box.core {
  background: var(--gold-soft);
  color: #1A1400;
  border-color: transparent;
}
.info-flow .sep {
  color: var(--gold);
  font-weight: 800;
}
.info-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ========== PAGE 08 ETABS ========== */
.etab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex: 1;
  align-content: start;
}
.etab {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px;
  background: var(--paper);
  display: flex;
  gap: 12px;
  align-items: center;
}
.etab .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Syne, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.etab h3 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.etab p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ========== PAGE 09 DEPLOY ========== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.tl-step {
  position: relative;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid var(--line);
}
.tl-step:last-child { border-bottom: 0; }
.tl-step::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper-2);
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-step .n {
  font-family: Syne, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.tl-step h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
}
.tl-step p {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ========== PAGE 10 PILOTAGE ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex: 1;
}
.col-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.col-block.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.col-block h3 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  color: var(--teal);
}
.col-block.dark h3 { color: var(--gold-soft); }
.metric {
  padding: 12px 0;
  border-bottom: 1px solid rgba(226,221,212,0.8);
}
.col-block.dark .metric { border-bottom-color: var(--line-dark); }
.metric:last-child { border-bottom: 0; }
.metric strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}
.col-block.dark .metric strong { color: #fff; }
.m-copy span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.col-block.dark .m-copy span { color: var(--muted-on-dark); }
#p10 .col-block { min-height: 0; padding: 18px 18px 10px; }
#p10 .col-block h3 { margin-bottom: 8px; }
#p10 .metric {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 8px 0;
}
#p10 .metric .c-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
#p10 .metric .c-ico svg { width: 22px; height: 22px; }
#p10 .col-block.dark .c-ico {
  background: rgba(255,255,255,0.08);
  color: var(--gold-soft);
}
#p10 .m-copy { min-width: 0; }
#p10 .metric strong { font-size: 0.98rem; margin-bottom: 4px; }
#p10 .m-copy span { font-size: 0.84rem; line-height: 1.35; }

/* ========== PAGE 11 CASES ========== */
.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  flex: 1;
  align-content: space-between;
}
.case {
  display: grid;
  grid-template-columns: 156px 1fr 1fr 1fr;
  gap: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px;
  background: var(--paper);
  align-items: center;
}
.case > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-id {
  font-family: Syne, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.case-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.case-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.case-col h4 {
  font-size: 0.72rem;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0;
}
.case-col p, .case-col ul {
  font-size: 1.02rem;
  color: var(--ink-light);
  line-height: 1.5;
  font-weight: 600;
}
.case-col ul { list-style: none; }
.case-col li {
  padding: 6px 0 6px 14px;
  position: relative;
}
.case-col li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.cases-note {
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
}
#p12 .cases {
  grid-template-rows: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
#p12 .case {
  min-height: 0;
  align-items: stretch;
  grid-template-columns: 188px 1fr 1fr 1fr;
  gap: 14px 16px;
  padding: 16px 16px;
}
#p12 .case-id-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
#p12 .case-id-block .c-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
}
#p12 .case-id-block .c-ico svg { width: 22px; height: 22px; }
#p12 .case-id { font-size: 0.72rem; margin-bottom: 4px; }
#p12 .case-title { font-size: 1.05rem; }
#p12 .case-col {
  min-height: 0;
  justify-content: flex-start;
  gap: 8px;
}
#p12 .case-body {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  line-height: 1.35;
}
#p12 .case-points {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  margin: 0;
}
#p12 .case-points li {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
#p12 .case-points li::before { content: none; }
#p12 .cases-note { margin-top: 12px; }

/* ========== PAGE 11 APPLICATION MOBILE ========== */
#p11 .section-title { max-width: 18ch; }
#p11 .section-sub { margin-bottom: 16px; max-width: 46ch; }
#p11 .phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  min-height: 0;
  align-items: stretch;
}
#p11 .phone-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  margin: 0;
}
#p11 .phone {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  color: #f8fafc;
  border-radius: 28px;
  border: 7px solid #0A0F16;
  box-shadow: 0 16px 40px rgba(10, 15, 22, 0.16);
  overflow: hidden;
}
#p11 .phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 8px;
  font-size: 0.62rem;
  color: #94a3b8;
}
#p11 .ph-logo {
  font-family: Syne, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  font-size: 0.78rem;
}
#p11 .ph-export {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 3px 8px;
  color: #e2e8f0;
  font-weight: 700;
}
#p11 .phone-screen {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 2px 12px 8px;
  overflow: hidden;
}
#p11 .ph-clock {
  font-family: Syne, sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  text-align: center;
}
#p11 .ph-date {
  text-align: center;
  color: #94a3b8;
  font-size: 0.68rem;
  text-transform: capitalize;
  margin-bottom: 2px;
}
#p11 .ph-emp,
#p11 .ph-status {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
}
#p11 .ph-emp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
}
#p11 .ph-emp > b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6366f1;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
#p11 .ph-emp span { font-size: 0.78rem; font-weight: 700; line-height: 1.15; }
#p11 .ph-emp small { display: block; color: #94a3b8; font-weight: 600; font-size: 0.62rem; }
#p11 .ph-status { padding: 8px 10px; text-align: center; }
#p11 .ph-status p {
  color: #94a3b8;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#p11 .ph-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
#p11 .ph-status strong { display: block; margin-top: 3px; font-size: 0.78rem; }
#p11 .ph-btn {
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 8px 8px;
  color: #fff;
}
#p11 .ph-btn.pause { background: linear-gradient(135deg, #f59e0b, #d97706); }
#p11 .ph-btn.out { background: #ef4444; }
#p11 .ph-week {
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
#p11 .ph-hist {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  align-items: center;
  font-size: 0.64rem;
  color: #cbd5e1;
}
#p11 .ph-hist em { font-style: normal; color: #22c55e; font-weight: 700; }
#p11 .ph-hist em.now { color: #818cf8; }
#p11 .ph-weeknav {
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: center;
  text-align: center;
  gap: 4px;
}
#p11 .ph-weeknav > span { color: #94a3b8; font-size: 1rem; }
#p11 .ph-weeknav b { display: block; font-size: 0.82rem; }
#p11 .ph-weeknav small { color: #94a3b8; font-size: 0.62rem; }
#p11 .ph-sums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
#p11 .ph-sums span {
  background: #1e293b;
  border-radius: 10px;
  text-align: center;
  padding: 6px 4px 5px;
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}
#p11 .ph-sums b {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.1;
}
#p11 .ph-day {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
#p11 .ph-day > div:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
}
#p11 .ph-day small { color: #94a3b8; font-size: 0.6rem; }
#p11 .ph-day i {
  margin-left: auto;
  font-style: normal;
  font-size: 0.52rem;
  font-weight: 800;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 99px;
  padding: 1px 6px;
}
#p11 .ph-day.today { border-color: #6366f1; box-shadow: 0 0 0 1px #6366f1; }
#p11 .ph-day.rest { opacity: 0.62; }
#p11 .shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
}
#p11 .shift span { min-width: 0; }
#p11 .shift small { display: block; }
#p11 .shift em { font-style: normal; font-weight: 800; font-size: 0.68rem; white-space: nowrap; }
#p11 .off { font-size: 0.64rem; color: #94a3b8; font-style: italic; }
#p11 .phone-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: #0f172a;
}
#p11 .phone-nav span {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 8px 4px 9px;
}
#p11 .phone-nav .on { color: #fff; }
#p11 .phone-nav .on::before {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: #6366f1;
  margin: 0 auto 4px;
}
#p11 figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F3FBF8 0%, #fff 100%);
  border: 1px solid #C5E8DB;
}
#p11 figcaption strong {
  font-family: Syne, sans-serif;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
#p11 figcaption span {
  color: var(--ink-light);
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
}

/* ========== PAGE 12 CTA ========== */
.finale {
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(212,160,23,0.14), transparent 50%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(31,138,112,0.1), transparent 50%),
    linear-gradient(165deg, #0A0F16 0%, #121A24 55%, #0E1620 100%);
  color: #fff;
}
.finale .lpage-nav {
  background: transparent;
  border-bottom-color: var(--line-dark);
}
.finale .section-tag { color: var(--muted-on-dark); }
.finale-body {
  flex: 1;
  padding: 56px 52px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.finale h1 {
  color: #fff;
  font-size: 2.8rem;
  max-width: 14ch;
  margin-bottom: 16px;
}
.finale-sub {
  color: var(--muted-on-dark);
  font-size: 1.1rem;
  max-width: 28ch;
  margin-bottom: 40px;
  font-weight: 500;
}
.finale-brand {
  margin-bottom: 36px;
}
.finale-brand .name {
  font-family: Syne, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.finale-brand p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  max-width: 36ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
}
.btn-cta.primary {
  background: var(--gold-soft);
  color: #1A1400;
}
.btn-cta.ghost {
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.finale-url {
  font-family: Syne, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.finale-url a {
  color: inherit;
  text-decoration: none;
}
.finale-close {
  color: var(--muted-on-dark);
  font-size: 0.88rem;
  max-width: 40ch;
}

/* ========== Planning table (readable at A4) ========== */
.pf-main:has(.plan) {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
}
.plan-row {
  display: grid;
  grid-template-columns: 88px repeat(7, 1fr);
  gap: 5px;
  align-items: stretch;
  flex: 1;
}
.plan-row.head {
  flex: 0 0 auto;
  align-items: end;
}
.plan-row.head span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  padding: 0 2px 4px;
}
.product-frame.light .plan-row.head span { color: var(--muted); }
.who {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.product-frame.light .who { color: var(--ink); }
.who i {
  font-style: normal;
  font-weight: 600;
  font-size: 0.58rem;
  color: var(--muted-on-dark);
}
.product-frame.light .who i { color: var(--muted); }
.cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  min-height: 34px;
}
.cell.s { background: rgba(31,138,112,0.28); color: #D5F0E6; }
.cell.k { background: rgba(212,160,23,0.24); color: #F3E2A8; }
.cell.b { background: rgba(196,92,62,0.24); color: #F6D9CF; }
.cell.off {
  background: transparent;
  color: rgba(255,255,255,0.28);
  border: 1px dashed rgba(255,255,255,0.12);
  font-weight: 600;
}
.product-frame.light .cell.s { background: #D5F0E6; color: #0F5C4A; }
.product-frame.light .cell.k { background: #F3E2A8; color: #6B5208; }
.product-frame.light .cell.b { background: #F6D9CF; color: #8B3A28; }
.product-frame.light .cell.off {
  color: #B7B1A6;
  border-color: var(--line);
  background: transparent;
}
.plan-app .plan-row { grid-template-columns: 96px repeat(7, 1fr); align-items: center; }
.plan-band {
  flex: 0 0 auto;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 2px 0;
}
.plan-band.svc { color: #c4b5fd; }
.plan-band.kitch { color: #fdba74; }
.plan-band.bar { color: #67e8f9; }
.plan-app .who {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
}
.who-txt { display: flex; flex-direction: column; min-width: 0; }
.av {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: 800;
  color: #0A0F16;
  flex-shrink: 0;
  letter-spacing: 0;
}
.av.svc { background: #a78bfa; }
.av.kitch { background: #f97316; color: #fff; }
.av.bar { background: #22d3ee; }
.shift {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  width: 100%;
  min-height: 28px;
  border-radius: 8px;
  padding: 3px 5px 3px 7px;
  border-left: 3px solid transparent;
  line-height: 1.1;
}
.shift b {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0;
}
.shift em {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.shift.svc { background: rgba(167,139,250,0.18); border-left-color: #a78bfa; color: #ede9fe; }
.shift.kitch { background: rgba(249,115,22,0.18); border-left-color: #f97316; color: #ffedd5; }
.shift.bar { background: rgba(34,211,238,0.16); border-left-color: #22d3ee; color: #cffafe; }
.shift.rest {
  align-items: center;
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.16);
  border-left-width: 1px;
  color: rgba(255,255,255,0.4);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 4px;
}
.product-frame.light .pf-main:has(.plan-app) {
  background: #121A24;
}
.product-frame.light .plan-app .plan-row.head span,
.product-frame.light .plan-app .who,
.product-frame.light .plan-app .who i { color: #e8edf4; }
.product-frame.light .plan-app .who i { color: #9AA6B5; }
.cover .product-frame { display: flex; flex-direction: column; }
.mock-wrap .product-frame { display: flex; flex-direction: column; height: 100%; }

.lpage-body > .hub-schema,
.lpage-body > .constraint-grid,
.lpage-body > .roles,
.lpage-body > .etab-grid,
.lpage-body > .timeline,
.lpage-body > .two-col,
.lpage-body > .mock-wrap,
.lpage-body > .phones {
  flex: 1;
}
.constraint-grid,
.etab-grid,
.roles,
.cases {
  align-content: stretch;
  min-height: 0;
}
.etab-grid { grid-template-rows: repeat(4, 1fr); }
#p08 .etab {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 14px 12px;
  min-height: 0;
}
#p08 .etab-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
#p08 .etab .c-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}
#p08 .etab .c-ico svg { width: 20px; height: 20px; }
#p08 .etab h3 {
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.15;
}
#p08 .etab-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
}
#p08 .etab-points li {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  line-height: 1.25;
}
#p07 .roles { grid-template-rows: 1fr 1fr; }
#p07 .encart { margin-top: 14px; }
#p07 .role {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  padding: 22px 20px 18px;
  min-height: 0;
}
#p07 .role h3 { margin-bottom: 0; font-size: 1.18rem; }
#p07 .role .c-ico { width: 56px; height: 56px; }
.timeline {
  justify-content: space-between;
  min-height: 0;
}
#p09 .timeline {
  padding-left: 0;
  gap: 10px;
  margin-bottom: 14px;
  justify-content: stretch;
}
#p09 .timeline::before { display: none; }
#p09 .tl-step {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: stretch;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
#p09 .tl-step::before { display: none; }
#p09 .step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
#p09 .step-head > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
#p09 .tl-step .n {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.68rem;
  line-height: 1;
}
#p09 .tl-step .c-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
#p09 .tl-step h3 {
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}
#p09 .step-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
#p09 .step-points li {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  line-height: 1.25;
}
#p09 .encart { margin-top: 0; }
#p06 .encart { margin-top: 18px; }
.cal-mock {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.cal-grid { flex: 1; }
#p05 .cards-3 { margin-bottom: 0; gap: 12px; }
#p05 .card {
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: #fff;
}
#p05 .card .c-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
#p05 .card .c-ico svg { width: 22px; height: 22px; }
#p05 .card .c-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
#p05 .card .c-copy span {
  font-size: 0.84rem;
  line-height: 1.4;
}
#p05 .cal-mock {
  flex: 1;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#p05 .profiles {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
#p05 .profile {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 12px 14px 14px;
  gap: 8px;
}
#p05 .profile + .profile { border-left: 1px solid var(--line); }
#p05 .profile-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
#p05 .profile-head strong {
  display: block;
  font-size: 0.86rem;
  color: var(--ink);
}
#p05 .profile-head span:last-child {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
}
#p05 .rest-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
#p05 .rest-line > span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
#p05 .day-chips { display: flex; gap: 4px; flex: 1; }
#p05 .day-chips i {
  flex: 1;
  text-align: center;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 4px 0;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
#p05 .day-chips i.on {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}
#p05 .slot-days {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#p05 .slot-day {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
#p05 .slot-day b {
  width: 68px;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ink);
}
#p05 .chip {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
#p05 .chip.on {
  background: rgba(99, 102, 241, 0.12);
  border-color: #818cf8;
  color: #4338ca;
}
#p05 .chip.dispo.on {
  background: rgba(16, 185, 129, 0.14);
  border-color: #34d399;
  color: #047857;
}
#p05 .chip.rest {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}
#p05 .off-line {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
}
#p05 .off-line strong {
  color: var(--ink);
  font-weight: 800;
}
.avail {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 8px;
  padding: 12px 14px 16px;
}
.avail-row {
  display: grid;
  grid-template-columns: 78px repeat(7, 1fr);
  gap: 6px;
  align-items: stretch;
  flex: 1;
}
.avail-row.head {
  flex: 0 0 auto;
  align-items: end;
}
.avail-row.head span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 2px 2px;
}
.avail .who {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}
.avail .who i {
  font-style: normal;
  font-weight: 600;
  font-size: 0.62rem;
  color: var(--muted);
}
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  padding: 6px 4px;
}
.pill.ok { background: var(--teal-soft); color: #0F5C4A; }
.pill.off { background: var(--coral-soft); color: #8B3A28; }
.pill.rest { background: #EEEAE3; color: var(--muted); }

/* ========== PRINT ========== */
@page { size: A4; margin: 0; }

@media print {
  html, body {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 210mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .toolbar, .quick-nav { display: none !important; }
  .page {
    box-shadow: none !important;
    margin: 0 !important;
    width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    max-height: 297mm !important;
    overflow: hidden !important;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
  }
  .page:last-child { page-break-after: auto; break-after: auto; }
}

/* ========== RESPONSIVE (écran uniquement : le PDF reste en grille A4) ========== */
@media screen and (max-width: 860px) {
  body { padding: 16px 12px 48px; }
  .page {
    width: 100%;
    min-height: 0;
    height: auto;
  }
  .cover-hero, .lpage-body, .finale-body,
  .cover-nav, .lpage-nav, .pfoot {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hub-schema,
  .trio,
  .cards-3,
  .constraint-grid,
  .roles,
  .etab-grid,
  .two-col,
  .anno-grid,
  .toc-list,
  .pf-body,
  .grid-days,
  .chain {
    grid-template-columns: 1fr;
    display: grid;
  }
  .chain { gap: 8px; border: 0; }
  .chain-step {
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .chain-step .arrow { display: none; }
  .hub-center { margin: 8px auto; width: 100px; height: 100px; }
  .hub-center::before, .hub-center::after { display: none; }
  .flow-v { flex-direction: column; }
  .flow-v .arr { transform: rotate(90deg); }
  .pf-side { display: none; }
  .pf-body { grid-template-columns: 1fr; }
  .grid-days { grid-template-columns: repeat(4, 1fr); }
  .case {
    grid-template-columns: 1fr;
  }
  .info-flow { flex-direction: column; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .cover h1 { font-size: 1.9rem; max-width: none; }
  .finale h1 { font-size: 2rem; max-width: none; }
  .section-title { max-width: none; }
}
