/* ============================================================================
   THE INBOX'S LEAD PANEL FOLDS AWAY (owner, 18 Nov 2026, D-0478-1: "an option to minimize the lead detail window like the side bar,
   with a little arrow … a translucent circle and arrow"). NEW PACE ONLY; the wide reader only (np-inbox.css's three panes, a card at
   least 940px wide). Script: public/js/99zzi-inbox-about-fold.js. Guard: test/inbox-drawn-smoke.mjs.
     · the handle: a see-through circle with an arrow on the line between the email and the panel, half-way down — › folds the panel
       to the right, ‹ brings it back;
     · folded: the panel keeps a thin strip with its edge line (the handle sits on it), and the email takes the room.
   ============================================================================ */
html[data-new-pace] .ibx-fold{display:none}
@container ibx-panes (min-width:940px){
  html[data-new-pace] #mb-read[data-shape="msg"]:has(.ibx-head){transition:grid-template-columns .22s ease}
  html[data-new-pace] #mb-read[data-shape="msg"]:has(.ibx-about[data-fold="folded"]){grid-template-columns:minmax(0,1fr) var(--np-space-5)}
  html[data-new-pace] .ibx-head > .ibx-about[data-fold="folded"]{padding:0;overflow:hidden}
  html[data-new-pace] .ibx-about[data-fold="folded"] .ibx-about-body{display:none}
  html[data-new-pace] .ibx-head > .ibx-fold{display:grid;place-items:center;position:relative;z-index:4;grid-column:2;grid-row:1 / span 2;align-self:center;justify-self:start;
    width:var(--np-space-8);height:var(--np-space-8);margin:0;padding:0;transform:translateX(-50%);border-radius:50%;border:1px solid var(--border2);
    background:color-mix(in srgb,var(--card-solid) 55%,transparent);backdrop-filter:blur(var(--np-space-1_5));-webkit-backdrop-filter:blur(var(--np-space-1_5));
    color:var(--text2);box-shadow:var(--sh1,none);cursor:pointer}
  html[data-new-pace] .ibx-fold > span::before{content:'\203A';font:600 var(--np-text-2xl)/1 var(--font)}
  html[data-new-pace] .ibx-fold[aria-expanded="false"] > span::before{content:'\2039'}
  html[data-new-pace] .ibx-fold:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
}
@media (hover:hover) and (pointer:fine){ html[data-new-pace] .ibx-fold:hover{color:var(--text);border-color:var(--accent)} }
