/* PW-195: phone folds for the long pages (builds, wins, teardown). Same pattern as .mm-fold on industry-map:
   a native details element, closed on phones, always visible from 760px up (summary hidden). No new look.
   Motion: the chevron turns with transform only, none under prefers-reduced-motion. */
.lp-fold{margin:12px 0 24px;min-width:0;max-width:100%}
.lp-fold>summary{display:block;position:relative;min-height:44px;box-sizing:border-box;padding:11px 32px 11px 4px;line-height:22px;cursor:pointer;font-weight:600;font-size:15px;list-style:none;border-top:1px solid var(--line,#e5e5e5);border-bottom:1px solid var(--line,#e5e5e5);-webkit-tap-highlight-color:transparent}
.lp-hide{display:none}
/* PW-310: summary is a block so the state word and the label are one inline phrase with one normal space and wrap under the state word. The chevron is absolutely placed at the right edge (padding-right reserves its room). */
.lp-fold[open]>summary .lp-show{display:none}
.lp-fold[open]>summary .lp-hide{display:inline}
.lp-fold>summary::-webkit-details-marker{display:none}
.lp-fold>summary::after{content:"";box-sizing:content-box;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s ease;position:absolute;right:8px;top:50%;margin-top:-6px}
.lp-fold[open]>summary::after{transform:rotate(-135deg)}
.lp-fold>summary:focus-visible{outline:2px solid var(--fairway,#0a7a3c);outline-offset:2px;border-radius:6px}
@media (prefers-reduced-motion:reduce){.lp-fold>summary::after{transition:none}}
/* Folds that sit inside a grid (a wins entry): take the full row, tight margins, the photo strip keeps its own top rule. */
.entry>.lp-fold{grid-column:1/-1;margin:0}
.entry>.lp-fold>summary{border-top:1px solid var(--line,#e5e5e5);border-bottom:0;padding:11px 36px 11px 16px}
.entry>.lp-fold>summary::after{right:20px}
.entry>.lp-fold[open]>summary{border-bottom:1px solid var(--line,#e5e5e5)}
@media (max-width:759.98px){.entry>.lp-fold>.event-photos,.entry>.lp-fold>.trip-gallery{border-top:0}}
/* Bullets folded inside an entry body. */
.entry-body>.lp-fold{margin:8px 0 12px}
/* Build groups: the fold wraps the card grid under the group head. */
.build-group>.lp-fold{margin:0}
.build-group>.lp-fold>summary{margin-bottom:0}
.build-group>.lp-fold[open]>summary{margin-bottom:16px}
/* Teardown tables. */
.mm-issue .lp-fold{margin:12px 0 24px}
@supports selector(::details-content){
  @media (min-width:760px){
    .lp-fold,.entry>.lp-fold,.entry-body>.lp-fold{margin:0}
    .mm-issue .lp-fold{margin:0}
    .lp-fold>summary{display:none}
    .lp-fold::details-content{content-visibility:visible}
  }
}
@media print{
  .lp-fold>summary{display:none}
  .lp-fold::details-content{content-visibility:visible}
}
/* PW-380: on phones the Deal facts and Valuation tables stack each row as a block: label, then value, then source or basis.
   Scoped by the wrap's aria-label so the football-field and comps tables keep their own layout. Header row stays in the
   accessibility tree (visually hidden, not display:none). From 560px up nothing changes. */
@media (max-width:559.98px){
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]){overflow-x:visible}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) .t-table{min-width:0;display:block}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) :is(tbody,tr,th[scope="row"],td){display:block;min-width:0;max-width:100%;box-sizing:border-box}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) caption{display:block}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) tbody tr{border-bottom:1px solid var(--line);padding-bottom:8px}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) tbody tr:last-child{border-bottom:0;padding-bottom:0}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) th[scope="row"]{border-block:0;padding:10px 16px 2px}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) td{padding:2px 16px;border-bottom:0;text-align:left;overflow-wrap:anywhere}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) td:last-child{font-size:13px;color:var(--ink-muted)}
  .t-table-wrap:is([aria-label^="Deal facts"],[aria-label^="Valuation of the Triton"]) tbody tr:hover{background:none}
}
/* PW-402: on phones the Precedent and Public peers cards were one field per row (2,688px and 1,529px). Lay each card out as a
   two-column grid, two fields per line (Target and Date, Acquirer and Price, Multiple and Source). Same markup, same data-label
   captions, role=table semantics untouched. From 640px up the normal table is unchanged (the base stack lives in the page style
   at max-width:639.98px, so this block uses the same cutoff). */
@media (max-width:639.98px){
  .comps-wrap:is([aria-label^="Precedent transactions"],[aria-label^="Public peers"]) .comps tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:0 0 8px;padding-bottom:4px}
  .comps-wrap:is([aria-label^="Precedent transactions"],[aria-label^="Public peers"]) .comps :is(th,td){padding:6px 12px 2px;border-bottom:0;min-width:0;box-shadow:none}
  .comps-wrap:is([aria-label^="Precedent transactions"],[aria-label^="Public peers"]) .comps :is(th,td)::before{margin-bottom:1px}
}
/* PW-432: print the comps tables at page width. Cells wrap, the pinned first column stops sticking, the swipe hint is dropped. */
@media print{
  .comps-wrap{overflow:visible!important;border:0!important}
  .comps{min-width:0!important;width:100%!important;table-layout:auto;font-size:8pt!important}
  .comps :is(th,td){white-space:normal!important;overflow-wrap:break-word;padding:3pt 4pt!important;font-size:8pt!important;position:static!important;box-shadow:none!important}
  .comps-hint{display:none!important}
}
