/*
 * P25 Pantoufle — Governance-family separator rhythm lab — 2026-09-09
 * G1/G2/G3. Draft-only, query-gated through mev_p25_r.
 * Source grammar: P03 governance family — rows, inset verticals, doctrinal dissolves.
 * Hard invariants: 880px, no photography, no image motion, no displaced H2.
 */

body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3){
  --p25-gov-rule:#000;
  --p25-gov-rule-soft:rgba(0,0,0,.38);
  --p25-gov-red:#FD0600;
}

/* Shared reset: titles stay on the canonical axis; prose keeps the full available field. */
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-inner{display:block!important}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-h2,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-prose,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-shazam,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-dayparts,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-dayparts-coda,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-takeaway,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-quote{width:100%!important;max-width:880px!important;margin-left:0!important;margin-right:0!important}

body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-prose p,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-takeaway p{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}

/* Shared doctrinal field inherited from P02/P03 jurisprudence. */
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-keyline,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-thesis,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-pivot{
  position:relative;
  box-sizing:border-box;
  width:100%!important;
  max-width:880px!important;
  margin:52px 0!important;
  padding:16px 0!important;
  border:0!important;
  background:linear-gradient(to right,var(--p25-grey) 0%,#f5f6ef 8%,var(--p25-beige) 14%,var(--p25-beige) 86%,#f5f6ef 92%,var(--p25-grey) 100%);
  font-family:'General Sans',sans-serif!important;
  font-size:1.18rem!important;
  font-weight:400!important;
  line-height:1.48!important;
  letter-spacing:0!important;
}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-section--beige .mev-p25-lab-keyline,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-section--beige .mev-p25-lab-thesis,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-section--beige .mev-p25-lab-pivot{
  background:linear-gradient(to right,var(--p25-beige) 0%,#f1f2e9 8%,var(--p25-grey) 14%,var(--p25-grey) 86%,#f1f2e9 92%,var(--p25-beige) 100%);
}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-keyline::before,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-keyline::after,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-thesis::before,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-thesis::after,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-pivot::before,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-pivot::after{
  content:'';
  position:absolute;
  left:0;right:0;
  height:1px;
  background:linear-gradient(to right,rgba(253,6,0,0) 0%,rgba(253,6,0,.42) 8%,var(--p25-gov-red) 14%,var(--p25-gov-red) 86%,rgba(253,6,0,.42) 92%,rgba(253,6,0,0) 100%);
}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-keyline::before,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-thesis::before,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-pivot::before{top:0}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-keyline::after,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-thesis::after,
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-pivot::after{bottom:0}

/* Final documentary links: integrated into the last movement, no arrow, no autonomous section. */
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-resources-inline{
  width:100%;max-width:880px;
  margin:54px 0 0;
  border-top:1px solid var(--p25-gov-rule);
}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-resource{
  display:grid!important;
  grid-template-columns:120px minmax(0,1fr)!important;
  gap:24px!important;
  align-items:baseline!important;
  padding:15px 0!important;
  border:0!important;
  border-bottom:1px solid var(--p25-gov-rule-soft)!important;
  color:#000!important;
  text-decoration:none!important;
}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-resource:last-child{border-bottom:0!important}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-resource__label{font-family:'Karrik',sans-serif;font-size:.95rem;font-weight:400;letter-spacing:0;text-transform:none}
body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-resource__title{font-family:'General Sans',sans-serif;font-size:1rem;font-weight:400;line-height:1.5;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}

/* ==================================================================
 * G1 — PULSATION SOBRE
 * Governance cycle-row logic: continuous horizontals + inset verticals.
 * ================================================================== */
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin:56px 0!important;
  padding:0!important;
  border-top:1px solid var(--p25-gov-rule)!important;
  border-bottom:1px solid var(--p25-gov-rule)!important;
}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p{position:relative;margin:0!important;padding:25px 28px!important;font-weight:400!important}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p[data-mev-beat="1"]{grid-column:1/-1;padding-left:0!important;padding-right:0!important;border-bottom:1px solid var(--p25-gov-rule-soft)}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p[data-mev-beat="2"]{padding-left:0!important}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p[data-mev-beat="3"]{padding-right:0!important;padding-left:29px!important}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p[data-mev-beat="3"]::before{content:'';position:absolute;left:0;top:17px;bottom:17px;width:1px;background:var(--p25-gov-rule-soft)}

body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-dayparts{display:block;margin-top:38px;border-top:1px solid var(--p25-gov-rule);border-bottom:1px solid var(--p25-gov-rule)}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-daypart{position:relative;display:grid;grid-template-columns:190px minmax(0,1fr);gap:34px;padding:28px 0;border:0;border-bottom:1px solid var(--p25-gov-rule-soft)}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-daypart:last-child{border-bottom:0}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-daypart::after{content:'';position:absolute;left:190px;top:19px;bottom:19px;width:1px;background:var(--p25-gov-rule-soft)}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-daypart h3{margin:0!important;padding-right:24px;font-family:'Karrik',sans-serif;font-size:1.55rem;font-weight:400!important;line-height:1.08}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-daypart p{margin:0!important;padding-left:0}
body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-quote{margin:56px 0!important;padding:38px 0!important;border-top:1px solid var(--p25-gov-rule)!important;border-bottom:1px solid var(--p25-gov-rule)!important}

/* ==================================================================
 * G2 — SUSPENSION / RELANCE
 * Fewer rules. A rule creates a pause, then a short inset vertical restarts the phrase.
 * ================================================================== */
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam{
  position:relative;
  display:block;
  margin:62px 0!important;
  padding:32px 0 34px!important;
  border-top:1px solid var(--p25-gov-rule)!important;
  border-bottom:1px solid var(--p25-gov-rule)!important;
}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p{font-weight:400!important}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p[data-mev-beat="1"]{margin:0 0 31px!important;max-width:none!important}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p[data-mev-beat="2"],
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p[data-mev-beat="3"]{position:relative;margin:0 0 14px 34px!important;padding-left:24px;max-width:650px}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p[data-mev-beat="3"]{margin-bottom:0!important}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p[data-mev-beat="2"]::before,
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p[data-mev-beat="3"]::before{content:'';position:absolute;left:0;top:4px;bottom:4px;width:2px;background:var(--p25-gov-red)}

body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-dayparts{display:block;margin-top:44px;border-top:1px solid var(--p25-gov-rule)}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-daypart{position:relative;padding:30px 0 31px 222px!important;border:0!important;border-bottom:1px solid var(--p25-gov-rule-soft)!important}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-daypart:last-child{border-bottom:1px solid var(--p25-gov-rule)!important}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-daypart h3{position:absolute;left:0;top:29px;width:188px;margin:0!important;padding-right:26px;font-family:'Karrik',sans-serif;font-size:1.48rem;font-weight:400!important;line-height:1.08}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-daypart h3::after{content:'';position:absolute;right:0;top:-8px;height:calc(100% + 16px);width:1px;background:var(--p25-gov-rule-soft)}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-daypart p{margin:0!important}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-quote{position:relative;margin:62px 0!important;padding:42px 34px!important;border:0!important}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-quote::before,
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-quote::after{content:'';position:absolute;left:0;right:0;height:1px;background:linear-gradient(to right,#000 0%,#000 82%,transparent 100%)}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-quote::before{top:0}
body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-quote::after{bottom:0}

/* ==================================================================
 * G3 — TENUE LONGUE
 * Long horizontal measures carry each sequence; internal verticals only mark sub-beats.
 * ================================================================== */
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(0,.7fr) minmax(0,.8fr);
  gap:0;
  margin:58px 0!important;
  padding:0!important;
  border:0!important;
}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam::before,
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam::after{content:'';position:absolute;left:0;right:0;height:1px;background:var(--p25-gov-rule)}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam::before{top:0}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam::after{bottom:0}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam p{position:relative;margin:0!important;padding:30px 24px!important;font-weight:400!important;align-self:center}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam p:first-child{padding-left:0!important}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam p:last-child{padding-right:0!important}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam p+ p::before{content:'';position:absolute;left:0;top:20px;bottom:20px;width:1px;background:var(--p25-gov-rule-soft)}

body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-dayparts{display:block;margin-top:42px;border-top:1px solid var(--p25-gov-rule);border-bottom:1px solid var(--p25-gov-rule)}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-daypart{position:relative;display:grid;grid-template-columns:170px minmax(0,1fr);gap:38px;padding:34px 0;border:0;border-bottom:1px solid var(--p25-gov-rule-soft)}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-daypart:last-child{border-bottom:0}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-daypart::before{content:'';position:absolute;left:170px;top:24px;bottom:24px;width:1px;background:var(--p25-gov-rule-soft)}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-daypart h3{margin:0!important;padding-right:24px;font-family:'Karrik',sans-serif;font-size:1.55rem;font-weight:400!important;line-height:1.08}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-daypart p{margin:0!important}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-quote{margin:64px 0!important;padding:46px 0!important;border-top:1px solid var(--p25-gov-rule)!important;border-bottom:1px solid var(--p25-gov-rule)!important}
body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-quote p{font-size:clamp(1.85rem,3vw,2.45rem)!important;font-weight:400!important;line-height:1.14!important}

@media(max-width:900px){
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-keyline,
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-thesis,
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-pivot{margin:40px 0!important;padding:13px 0!important;font-size:1rem!important}
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-resources-inline{margin-top:42px}
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-resource{grid-template-columns:1fr!important;gap:2px!important;padding:14px 0!important}
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g2,.mev-p25-g3) #post-330 .mev-p25-lab-resource__label{font-size:.9rem}

  body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam,
  body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam{display:block}
  body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p[data-mev-beat="1"]{border-bottom:1px solid var(--p25-gov-rule-soft)}
  body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p[data-mev-beat="2"],
  body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p[data-mev-beat="3"],
  body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam p{padding:20px 0!important}
  body.mev-p25-h0.mev-p25-g1 #post-330 .mev-p25-shazam p[data-mev-beat="3"]::before,
  body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam p+ p::before{display:none}
  body.mev-p25-h0.mev-p25-g3 #post-330 .mev-p25-shazam p+ p{border-top:1px solid var(--p25-gov-rule-soft)}

  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g3) #post-330 .mev-p25-daypart{display:block;padding:24px 0}
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g3) #post-330 .mev-p25-daypart::before,
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g3) #post-330 .mev-p25-daypart::after{display:none}
  body.mev-p25-h0:is(.mev-p25-g1,.mev-p25-g3) #post-330 .mev-p25-daypart h3{padding:0;margin-bottom:12px!important;font-size:1.4rem}

  body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-daypart{padding:24px 0!important}
  body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-daypart h3{position:relative;left:auto;top:auto;width:auto;padding:0;margin-bottom:12px!important;font-size:1.4rem}
  body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-daypart h3::after{display:none}
  body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p[data-mev-beat="2"],
  body.mev-p25-h0.mev-p25-g2 #post-330 .mev-p25-shazam p[data-mev-beat="3"]{margin-left:12px!important;padding-left:18px}
}
