/* ═════════════════════════════════════════════════════════════════════════════════════
   THE INBOX, AS DRAWN (step 16 part 3, R-644; the drawing: docs/design/pace-look-preview.html → Inbox). NEW PACE ONLY: every rule
   starts with html[data-new-pace]. Files: public/js/99o-inbox-drawn.js (the conversation's head, About this person, the reply box,
   the chip), public/js/99b-inbox-reader.js (the chips row), 47's regions unchanged (#mb-tabs, #mb-toolbar, #mb-bulk, #mb-panes …).
   The page: one row of chips with the mailbox's search and tools at its right, then ONE card: the conversations · the open
   conversation · About this person (three panes when the card is wide enough — a container query, so a folded menu counts too;
   narrower, About sits behind its button under the heading; below 960px 47 shows the list OR the conversation, with Back).
   Words inside #content take the new look's ink (new-pace-look.css restates --text… there), so var(--text) here is the frost ink.
   Guard: test/inbox-drawn-smoke.mjs.
   ═════════════════════════════════════════════════════════════════════════════════════ */

/* ── the page: chips at the left, the mailbox's tools at the right (under the chips when the page is too narrow for both — a
      container query, so a folded menu counts), the card under them ── */
html[data-new-pace] #mb-root{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr);column-gap:var(--np-space-4);
  height:100%;min-height:0;padding:var(--np-space-1) 0 var(--np-space-5);container:ibx-root / inline-size}
html[data-new-pace] #mb-tabs{grid-column:1;grid-row:1;min-width:0;align-self:center}
html[data-new-pace] #mb-toolbar{grid-column:2;grid-row:1;min-width:0;align-self:center}
html[data-new-pace] #mb-bulk{grid-column:1 / -1;grid-row:3;min-width:0}
html[data-new-pace] #mb-panes{grid-column:1 / -1;grid-row:4;min-height:0;margin-top:var(--np-space-3_5);container:ibx-panes / inline-size;
  background:var(--card);border:1px solid var(--glass-brd);border-radius:var(--np-round-xl);overflow:hidden}
@container ibx-root (max-width:1090px){
  html[data-new-pace] #mb-tabs{grid-column:1 / -1}
  html[data-new-pace] #mb-toolbar{grid-column:1 / -1;grid-row:2;margin-top:var(--np-space-2_5)}
  html[data-new-pace] #mb-toolbar .tbar{justify-content:flex-start}
}
@container ibx-root (min-width:1091px) and (max-width:1200px){   /* D-0457: "Needs a reply 0" is wider than "Unread 3" — the search gives the room, so chips and tools stay one line (narrower: they take turns, above) */
  html[data-new-pace] #mb-root #mb-toolbar .tbar-search input{width:236px}
}
@container ibx-root (max-width:1320px){   /* several email IDs: their picker needs the room */
  html[data-new-pace] #mb-root:has(#mb-toolbar select[onchange^="mbSelectAccount"]) > #mb-tabs{grid-column:1 / -1}
  html[data-new-pace] #mb-root:has(#mb-toolbar select[onchange^="mbSelectAccount"]) > #mb-toolbar{grid-column:1 / -1;grid-row:2;margin-top:var(--np-space-2_5)}
  html[data-new-pace] #mb-root:has(#mb-toolbar select[onchange^="mbSelectAccount"]) > #mb-toolbar .tbar{justify-content:flex-start}
}

/* ── the chips (99b): the pressed one in the person's colour; More is a chip that opens a menu; Select shows the tick boxes ── */
html[data-new-pace] #mb-tabs .mb-ftabs,html[data-new-pace] .ibx-nobox-tabs.mb-ftabs{display:flex;flex-wrap:wrap;align-items:center;gap:var(--np-space-2);padding:0;border:0}
html[data-new-pace] #mb-tabs .mb-ftab,html[data-new-pace] .ibx-nobox-tabs .mb-ftab{min-height:var(--np-h-control);padding:0 var(--np-space-4);border-radius:var(--np-round-pill);border:1px solid var(--fx-glass-edge);background:var(--fx-glass);box-shadow:var(--fx-glass-sh);
  color:var(--text);font:600 var(--np-text-lg)/1 var(--font);cursor:pointer;display:inline-flex;align-items:center;gap:var(--np-space-1_5);list-style:none;
  transition:transform .15s var(--quick),background-color .15s var(--quick)}
html[data-new-pace] #mb-tabs .mb-ftab:active,html[data-new-pace] .ibx-nobox-tabs .mb-ftab:active{transform:scale(.96)}
html[data-new-pace] #mb-tabs .mb-ftab-n,html[data-new-pace] .ibx-nobox-tabs .mb-ftab-n{font-weight:700;color:var(--text2)}
html[data-new-pace] #mb-tabs .mb-ftab.on{background:var(--fx-main);border-color:transparent;box-shadow:var(--fx-main-sh);color:var(--fx-on-main)}
html[data-new-pace] #mb-tabs .mb-ftab.on .mb-ftab-n{color:var(--fx-on-main)}
html[data-new-pace] #mb-tabs .mb-select-btn{margin-left:var(--np-space-1)}
html[data-new-pace] #mb-tabs .mb-select-btn[aria-pressed="true"]{border-color:var(--accent);color:var(--accent)}
html[data-new-pace] #mb-tabs .mb-ftab-more .mb-more-menu{top:calc(100% + 6px);min-width:220px;padding:var(--np-space-1_5);border:0;border-radius:var(--np-round-xl);background:var(--card-solid);box-shadow:var(--fx-float);z-index:40}
html[data-new-pace] #mb-tabs .mb-more-item{min-height:var(--np-h-control);padding:0 var(--np-space-3);border-radius:var(--np-round-md);color:var(--text);font:500 var(--np-text-lg)/1.2 var(--font)}
html[data-new-pace] #mb-tabs .mb-more-item.on{color:var(--accent);font-weight:700}
html[data-new-pace] #mb-tabs .mb-more-sep{margin:var(--np-space-1_5) var(--np-space-1_5) var(--np-space-0_5);padding:var(--np-space-2) var(--np-space-1_5) var(--np-space-1);border-top:1px solid var(--line);font:700 var(--np-text-sm)/1.3 var(--font);color:var(--text3)}

/* ── the mailbox's own tools, quiet, at the right of the chips: search, clear, refresh, conversations, which email ID ── */
html[data-new-pace] #mb-toolbar .tbar{padding:0;gap:var(--np-space-2);background:transparent;border:0;flex-wrap:wrap;justify-content:flex-end}
html[data-new-pace] #mb-toolbar .tbar-search input{width:280px;height:var(--np-h-control);padding:0 var(--np-space-3) 0 var(--np-space-9);border-radius:var(--np-round-lg);border:1px solid var(--border2);background:var(--fx-glass);
  color:var(--text);font:400 var(--np-text-lg)/1 var(--font)}
html[data-new-pace] #mb-toolbar .tbar-search svg{left:12px;width:18px;height:18px;color:var(--text3)}
html[data-new-pace] #mb-toolbar .tbar-ico{width:44px;height:var(--np-h-control);border-radius:var(--np-round-lg);color:var(--text2)}
html[data-new-pace] #mb-toolbar .tbar-sep,html[data-new-pace] #mb-toolbar .tbar-ico.off{display:none}
html[data-new-pace] #mb-toolbar .tbar-right > .fs-13{display:none}   /* one mailbox: its address is on the reply box ("From …") and in the reply window */
html[data-new-pace] #mb-toolbar .tbar-right{gap:var(--np-space-2);margin-left:0}
html[data-new-pace] #mb-toolbar .tbar-right .seq-sel{min-height:var(--np-h-control);border-radius:var(--np-round-lg);font:500 var(--np-text-lg)/1.2 var(--font);color:var(--text)}
html[data-new-pace] #mb-toolbar .mb-switch{min-height:var(--np-h-control);font:500 var(--np-text-md)/1 var(--font);color:var(--text2)}
html[data-new-pace] #mb-toolbar .tbar-right .btn-primary[onclick="mbCompose()"]{display:none}   /* the page's "New email" is the frame's one main action (99l) */
@media (hover:hover) and (pointer:fine){ html[data-new-pace] #mb-toolbar .tbar-ico:hover{background:var(--hover);color:var(--text)} }

/* ── the bulk bar, under the chips while something is ticked ── */
html[data-new-pace] #mb-bulk .mb-bulk{margin-top:var(--np-space-3);padding:var(--np-space-2) var(--np-space-3);border:1px solid var(--glass-brd);border-radius:var(--np-round-lg);background:var(--card);color:var(--text)}
html[data-new-pace] #mb-bulk .mb-bulk .btn{min-height:var(--np-h-control-sm)}

/* ── the conversations: no pictures and no tick boxes (Select shows them); the name, a chip, the time; the subject; one line ── */
html[data-new-pace] #mb-list{background:transparent;border-right:1px solid var(--line)}
@media (min-width:1280px){ html[data-new-pace] #mb-list,html[data-new-pace] #mb-list.wide{width:var(--mb-list-w,330px);flex:none} }
/* Waiting to go and Draft are lists of their own (47's sections): they take the whole card; there is nothing to read beside them */
html[data-new-pace] #mb-list.wide:has(.mb-sec-h){width:auto;flex:1 1 auto;border-right:0}
html[data-new-pace] #mb-panes:has(#mb-list .mb-sec-h) > #mb-read{display:none}
html[data-new-pace] #mb-list .mb-row{gap:var(--np-space-2_5);padding:var(--np-space-3_5) var(--np-space-4_5);border-left:0;border-bottom:1px solid var(--line);background:transparent;transition:background-color .15s var(--quick)}
html[data-new-pace] #mb-list .mb-row:hover{background:transparent}   /* not a hover effect: it cancels ui.css's row hover, which a touch screen would otherwise keep after a tap; the real hover is gated below */
html[data-new-pace] #mb-list .mb-row.on{background:var(--sel)}
@media (hover:hover) and (pointer:fine){ html[data-new-pace] #mb-list .mb-row:not(.on):hover{background:var(--hover)} }
html[data-new-pace] #mb-list .mb-row .av{display:none}
html[data-new-pace] #mb-root .mb-chk,html[data-new-pace] #mb-root .mb-selhead{display:none}
html[data-new-pace] #mb-root:has(.mb-select-btn[aria-pressed="true"]) .mb-chk,html[data-new-pace] #mb-root:has(.mb-select-btn[aria-pressed="true"]) .mb-selhead{display:flex}
html[data-new-pace] #mb-list .mb-chk input{width:20px;height:20px;accent-color:var(--accent)}
html[data-new-pace] #mb-list .mb-selhead{padding:var(--np-space-2_5) var(--np-space-4_5);font:500 var(--np-text-md)/1.3 var(--font);color:var(--text2);background:var(--card-solid)}
html[data-new-pace] #mb-list .mb-row-t{align-items:center;gap:var(--np-space-2)}
html[data-new-pace] #mb-list .mb-who{flex:0 1 auto;font:500 var(--np-text-lg)/1.35 var(--font);color:var(--text)}
html[data-new-pace] #mb-list .mb-row.unread .mb-who{font-weight:700;color:var(--text)}
html[data-new-pace] #mb-list .mb-count{font:600 var(--np-text-sm)/1 var(--font);color:var(--text3)}
html[data-new-pace] #mb-list .mb-when{margin-left:auto;font:400 var(--np-text-md)/1.35 var(--font);color:var(--text3)}
html[data-new-pace] #mb-list .mb-subj{margin-top:var(--np-space-0_5);font:400 var(--np-text-md)/1.4 var(--font);color:var(--text)}
html[data-new-pace] #mb-list .mb-row.unread .mb-subj{font-weight:600;color:var(--text)}
html[data-new-pace] #mb-list .mb-prev{margin-top:1px;font:400 var(--np-text-md)/1.4 var(--font);color:var(--text2)}
html[data-new-pace] #mb-list .mb-you{color:var(--text);font-weight:600}
html[data-new-pace] #mb-list .mb-draft-tag{font:700 var(--np-text-sm)/1.3 var(--font);color:var(--fx-red)}
html[data-new-pace] #mb-list .pill{padding:1px 9px;border:0;border-radius:var(--np-round-pill);font:600 var(--np-text-sm)/1.5 var(--font);color:var(--text2);background:color-mix(in srgb,var(--text3) 14%,transparent)}
/* the day headings say the day in plain type (no small capitals) */
html[data-new-pace] #mb-list .mb-day{padding:var(--np-space-2_5) var(--np-space-4_5) var(--np-space-1_5);text-transform:none;letter-spacing:0;font:700 var(--np-text-sm)/1.3 var(--font);color:var(--text2);background:var(--card-solid)}
html[data-new-pace] #mb-list .dt-empty:not(.c-red){color:var(--text2)}   /* calm grey for "nothing here" … */
html[data-new-pace] #mb-list .dt-empty.c-red{color:var(--fx-red)}            /* … an error (47's c-red) is red: theme.css's .dt-empty grey would win otherwise */

/* ── the chip: Client (a person on a lead) blue, Candidate green ── */
html[data-new-pace] .ibx-crm{flex:none;display:inline-flex;align-items:center;padding:1px 9px;border-radius:var(--np-round-pill);font:700 var(--np-text-sm)/1.5 var(--font);cursor:pointer;white-space:nowrap}
html[data-new-pace] .ibx-crm.is-client{color:var(--fx-teal);background:color-mix(in srgb,var(--fx-teal) 15%,transparent)}
html[data-new-pace] .ibx-crm.is-cand{color:var(--fx-green);background:color-mix(in srgb,var(--fx-green) 15%,transparent)}

/* ── the open conversation: its subject as the heading, More at its right; the messages; the reply box at the foot ── */
html[data-new-pace] #mb-read{background:transparent;min-width:0}
html[data-new-pace] #mb-read .mb-head{padding:0;border:0;background:transparent}
html[data-new-pace] .ibx-th-head{display:flex;align-items:flex-start;gap:var(--np-space-2_5);min-width:0;padding:var(--np-space-5) var(--np-space-6) var(--np-space-2)}
html[data-new-pace] .ibx-back{display:none;flex:none;min-height:var(--np-h-control);padding:0 var(--np-space-3_5) 0 var(--np-space-2);align-items:center;gap:var(--np-space-1)}
html[data-new-pace] .ibx-back svg{width:18px;height:18px}
html[data-new-pace] .ibx-th-main{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--np-space-3);align-items:start}
html[data-new-pace] .ibx-th-main > *{grid-column:1;min-width:0}
html[data-new-pace] .ibx-th-main > .mb-acts{grid-column:2;grid-row:1;margin-top:0}
html[data-new-pace] .ibx-th-main .mb-title{font:700 var(--np-text-2xl)/1.3 var(--font);color:var(--text);flex-wrap:wrap}
html[data-new-pace] .ibx-th-main .mb-title .pill{padding:1px 9px;border:0;border-radius:var(--np-round-pill);font:600 var(--np-text-sm)/1.5 var(--font);color:var(--text2);background:color-mix(in srgb,var(--text3) 14%,transparent)}
html[data-new-pace] .ibx-th-main .kebab{display:none}           /* close: the list is beside it on a laptop, Back on a phone */
html[data-new-pace] .ibx-th-main .mb-slim-reply{display:none}   /* Reply is the box at the foot of the conversation */
html[data-new-pace] .ibx-th-main .mb-acts .btn{min-height:var(--np-h-control);padding:0 var(--np-space-3_5)}
html[data-new-pace] .ibx-th-main .mb-more-menu{left:auto;right:0;min-width:200px;padding:var(--np-space-1_5);border:0;border-radius:var(--np-round-xl);background:var(--card-solid);box-shadow:var(--fx-float)}
html[data-new-pace] .ibx-th-main .mb-more-item{min-height:var(--np-h-control);padding:0 var(--np-space-3);border-radius:var(--np-round-md);font:500 var(--np-text-lg)/1.2 var(--font);color:var(--text)}
html[data-new-pace] .ibx-th-main .mb-more-item.danger{color:var(--fx-red)}
html[data-new-pace] #mb-read .mb-thread{padding:var(--np-space-1_5) var(--np-space-6) var(--np-space-3)}
html[data-new-pace] #mb-read .mb-msg{margin-bottom:var(--np-space-3_5);background:transparent;border:1px solid var(--line);border-radius:var(--np-round-lg);box-shadow:none}
html[data-new-pace] #mb-read .mb-msg.mine{background:color-mix(in srgb,var(--text3) 8%,transparent)}
html[data-new-pace] #mb-read .mb-msg .av{display:none}
html[data-new-pace] #mb-read .mb-msg-h{gap:var(--np-space-2);padding:var(--np-space-3_5) var(--np-space-4) var(--np-space-2_5)}
html[data-new-pace] #mb-read .mb-msg.open .mb-msg-h{border-bottom:0}
/* the open message's header in two lines, as drawn ("Dana Whitfield · Today, 7:05 AM"): who and their address; to whom, and when
   (the time moves under them when the two do not fit — a phone). Its Client / Candidate chip is in the row of the list and in
   About, so it is not repeated here (the email keeps the room). */
html[data-new-pace] #mb-read .mb-msg.open .mb-msg-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--np-space-0_5) var(--np-space-3);padding:var(--np-space-3) var(--np-space-4) var(--np-space-2)}
html[data-new-pace] #mb-read .mb-msg.open .mb-msg-b{display:contents}
html[data-new-pace] #mb-read .mb-msg.open .mb-from{flex:1 1 100%;min-width:0}
html[data-new-pace] #mb-read .mb-msg.open .mb-from .ibx-crm{display:none}
html[data-new-pace] #mb-read .mb-msg.open .mb-to{flex:1 1 auto;margin-top:0;min-width:0;overflow-wrap:break-word}
html[data-new-pace] #mb-read .mb-msg.open .mb-msg-when{flex:none;margin-left:auto}
html[data-new-pace] #mb-read .mb-from{font:700 var(--np-text-md)/1.4 var(--font);color:var(--text)}
html[data-new-pace] #mb-read .mb-from span.addr,html[data-new-pace] #mb-read .mb-to{font:400 var(--np-text-md)/1.4 var(--font);color:var(--text2)}
html[data-new-pace] #mb-read .mb-msg-when{font:400 var(--np-text-md)/1.4 var(--font);color:var(--text2)}
html[data-new-pace] #mb-read .mb-collapsed{margin-top:var(--np-space-1);font:400 var(--np-text-md)/1.45 var(--font);color:var(--text2);white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}
html[data-new-pace] #mb-read .mb-msg-foot{display:none}   /* Reply · Reply all · Forward are in the reply box */
html[data-new-pace] #mb-read .mb-body{border-top:1px solid var(--line)}
html[data-new-pace] .mb-empty{color:var(--text2);font:400 var(--np-text-lg)/1.4 var(--font)}
/* the reply box: it opens 47's reply window (Send, Schedule, Save draft, the signature, the files are there). It is compact, so the
   email keeps the room: the field and Reply on one row; Reply all · Forward · Attach files, smaller, with "From …" under them.
   It follows the last message, as drawn. Only on a tall laptop screen (961px wide or more AND 901px tall or more) does it stay at the
   foot of the pane while a long conversation scrolls under it — on a shorter screen or a phone it would cover the email. */
html[data-new-pace] #mb-read #mb-comp:has(.ibx-reply){padding-top:var(--np-space-0_5)}
@media (min-width:961px) and (min-height:901px){
  html[data-new-pace] #mb-read #mb-comp:has(.ibx-reply){position:sticky;bottom:-12px;z-index:2;margin:0 -24px -12px;padding:var(--np-space-2) var(--np-space-6) var(--np-space-3);
    background:linear-gradient(to bottom,transparent,var(--card-solid) 10px)}
}
html[data-new-pace] .ibx-reply{display:flex;flex-direction:column;gap:var(--np-space-1_5);padding:var(--np-space-1_5) var(--np-space-2) var(--np-space-2) var(--np-space-3_5);border:1px solid var(--border2);border-radius:var(--np-round-xl);background:var(--fx-glass)}
html[data-new-pace] .ibx-reply-top{display:flex;align-items:center;gap:var(--np-space-2);min-width:0}
html[data-new-pace] .ibx-reply-field{flex:1;min-width:0;min-height:var(--np-h-control);padding:var(--np-space-0_5) var(--np-space-0_5);border:0;background:transparent;text-align:left;cursor:text;
  display:flex;flex-direction:column;justify-content:center;gap:1px;color:var(--text3);font:400 var(--np-text-lg)/1.3 var(--font)}
html[data-new-pace] .ibx-ph{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-new-pace] .ibx-from{font:400 var(--np-text-sm)/1.3 var(--font);color:var(--text2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-new-pace] .ibx-reply-go{flex:none;min-height:var(--np-h-control);padding:0 var(--np-space-4_5);display:inline-flex;align-items:center;gap:var(--np-space-1_5);font-size:var(--np-text-lg)}
html[data-new-pace] .ibx-reply-go svg{width:16px;height:16px}
html[data-new-pace] .ibx-reply-acts{display:flex;flex-wrap:wrap;align-items:center;gap:var(--np-space-1) var(--np-space-1_5);padding-top:var(--np-space-1_5);border-top:1px solid var(--line)}
html[data-new-pace] .ibx-reply-acts .btn{min-height:36px;padding:0 var(--np-space-3);display:inline-flex;align-items:center;font-size:var(--np-text-md)}
/* Type in place (D-0465): the box under the conversation keeps what is typed; Send hands it to the Inbox's own reply. */
html[data-new-pace] .ibx-reply .ibx-inline-body,html[data-new-pace] .ibx-reply .ibx-inline-body:focus{box-shadow:none;border:0;border-radius:0}   /* the box's own ring is the focus ring (below) — no second one inside */
html[data-new-pace] .ibx-inline-body{flex:1 1 230px;min-width:200px;height:var(--np-h-control);min-height:var(--np-h-control);max-height:40vh;resize:none;padding:var(--np-space-2_5) var(--np-space-0_5);border:0;background:transparent;color:var(--text);
  font:400 var(--np-text-lg)/1.45 var(--font);outline:none;overflow:hidden}
html[data-new-pace] .ibx-inline-body::placeholder{color:var(--text3)}
html[data-new-pace] .ibx-inline-body:placeholder-shown:not(:focus){white-space:nowrap;text-overflow:ellipsis}   /* the hint on one line, never a clipped second one */
html[data-new-pace] .ibx-reply.is-inline .ibx-reply-top{align-items:flex-end}
/* While it is being written in, the box opens up (and back down when it is left empty). */
html[data-new-pace] .ibx-inline-body:focus,html[data-new-pace] .ibx-inline-body:not(:placeholder-shown){flex-basis:100%;height:112px;resize:vertical;overflow:auto}
/* …and then the words get the box's whole width: From and Send move to a line under them, at the right */
html[data-new-pace] .ibx-reply.is-inline .ibx-reply-top:has(.ibx-inline-body:focus),html[data-new-pace] .ibx-reply.is-inline .ibx-reply-top:has(.ibx-inline-body:not(:placeholder-shown)){flex-wrap:wrap;justify-content:flex-end}
html[data-new-pace] .ibx-reply.is-inline:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-l)}
html[data-new-pace] .ibx-reply-row{display:flex;flex-wrap:nowrap;align-items:center;gap:var(--np-space-1_5);padding-top:var(--np-space-1_5);border-top:1px solid var(--line);overflow-x:auto;scrollbar-width:none}   /* one row: on a narrow pane it scrolls in its own strip */
html[data-new-pace] .ibx-reply-row>.btn{flex:none}
html[data-new-pace] .ibx-reply-row .btn{min-height:36px;padding:0 var(--np-space-3);display:inline-flex;align-items:center;font-size:var(--np-text-md)}
html[data-new-pace] .ibx-open-win{flex:none;width:var(--np-h-control);min-height:var(--np-h-control);padding:0;display:inline-flex;align-items:center;justify-content:center}
html[data-new-pace] .ibx-reply.is-inline .ibx-reply-top>.ibx-from{flex:0 1 auto;min-width:0;max-width:34%;align-self:center;padding-bottom:0}
/* Attach profiles: find a candidate, attach their résumé (D-0465) */
html[data-new-pace] .ibx-prof{display:flex;flex-direction:column;gap:var(--np-space-1_5);padding-top:var(--np-space-2);border-top:1px solid var(--line)}
html[data-new-pace] .ibx-prof-top{display:flex;gap:var(--np-space-2);align-items:center}
html[data-new-pace] .ibx-prof-top input{flex:1;min-width:0;min-height:var(--np-h-control-sm);padding:0 var(--np-space-3);border:1px solid var(--border2);border-radius:var(--np-round-md);background:var(--card-solid);color:var(--text);font:400 var(--np-text-md)/1.3 var(--font)}
html[data-new-pace] .ibx-prof-list{display:flex;flex-direction:column;max-height:240px;overflow:auto}
html[data-new-pace] .ibx-prof-row{display:flex;align-items:center;gap:var(--np-space-2);padding:var(--np-space-1_5) var(--np-space-0_5);border-bottom:1px solid var(--line)}
html[data-new-pace] .ibx-prof-row:last-child{border-bottom:0}
html[data-new-pace] .ibx-prof-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--np-space-0_5)}
html[data-new-pace] .ibx-prof-who>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-new-pace] .ibx-prof-note{padding:var(--np-space-2) var(--np-space-0_5);font:400 var(--np-text-sm)/1.4 var(--font);color:var(--text3)}
/* My Profile: How you reply in the Inbox */
html[data-new-pace] .ibx-pref-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--np-space-2)}
html[data-new-pace] .ibx-pref-opt{display:flex;flex-direction:column;align-items:flex-start;gap:var(--np-space-0_5);min-height:var(--np-h-control);padding:var(--np-space-2_5) var(--np-space-3_5);text-align:left;
  border:1px solid var(--border2);border-radius:var(--np-round-lg);background:transparent;color:var(--text);cursor:pointer}
html[data-new-pace] .ibx-pref-opt.is-on{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-l)}

/* ── About this person: who, the lead or the job, the actions ── */
html[data-new-pace] .ibx-about{min-width:0;padding:0 var(--np-space-6) var(--np-space-3)}
html[data-new-pace] .ibx-about-btn{min-height:var(--np-h-control);padding:0 var(--np-space-3_5)}
html[data-new-pace] .ibx-about-body{display:none;flex-direction:column;gap:var(--np-space-3_5);padding-top:var(--np-space-3_5)}
html[data-new-pace] .ibx-about.is-open .ibx-about-body{display:flex}
html[data-new-pace] .ibx-who{display:flex;align-items:center;gap:var(--np-space-3);min-width:0}
html[data-new-pace] .ibx-av{flex:none;width:44px;height:var(--np-h-control);border-radius:var(--np-round-pill);display:grid;place-items:center;font:700 var(--np-text-lg)/1 var(--font);
  color:var(--fx-teal);background:color-mix(in srgb,var(--fx-teal) 15%,transparent)}
html[data-new-pace] .ibx-tx{min-width:0}
html[data-new-pace] .ibx-tx b{display:block;font:700 var(--np-text-body)/1.35 var(--font);color:var(--text);overflow-wrap:anywhere}
html[data-new-pace] .ibx-tx small{display:block;font:400 var(--np-text-md)/1.4 var(--font);color:var(--text2);overflow-wrap:anywhere}
html[data-new-pace] .ibx-lbl{margin-bottom:var(--np-space-1_5);font:700 var(--np-text-sm)/1.3 var(--font);color:var(--text2)}
html[data-new-pace] .ibx-item + .ibx-item{margin-top:var(--np-space-2_5)}
html[data-new-pace] .ibx-item b,html[data-new-pace] .ibx-link{font:700 var(--np-text-body)/1.35 var(--font);color:var(--text);text-decoration:none}
@media (hover:hover) and (pointer:fine){ html[data-new-pace] .ibx-link:hover{color:var(--accent);text-decoration:underline} }
html[data-new-pace] .ibx-hint{margin:var(--np-space-0_5) 0 0;font:400 var(--np-text-md)/1.45 var(--font);color:var(--text2)}
html[data-new-pace] .ibx-hint:empty{display:none}
html[data-new-pace] .ibx-acts{display:flex;flex-direction:column;gap:var(--np-space-2)}
html[data-new-pace] .ibx-acts .btn{width:100%;min-height:var(--np-h-control);justify-content:center;font-size:var(--np-text-lg)}
html[data-new-pace] .ibx-done{padding:var(--np-space-2) 0;font:600 var(--np-text-md)/1.3 var(--font);color:var(--fx-green)}
html[data-new-pace] .ibx-st{display:inline-flex;align-items:center;padding:1px 9px;border-radius:var(--np-round-pill);font:700 var(--np-text-sm)/1.5 var(--font);white-space:nowrap;
  color:var(--text2);background:color-mix(in srgb,var(--text3) 14%,transparent)}
html[data-new-pace] .ibx-st.ibx-blue{color:var(--fx-teal);background:color-mix(in srgb,var(--fx-teal) 15%,transparent)}
html[data-new-pace] .ibx-st.ibx-green{color:var(--fx-green);background:color-mix(in srgb,var(--fx-green) 15%,transparent)}
html[data-new-pace] .ibx-st.ibx-amber{color:var(--fx-amber);background:color-mix(in srgb,var(--fx-amber) 16%,transparent)}
html[data-new-pace] .ibx-st.ibx-red{color:var(--fx-red);background:color-mix(in srgb,var(--fx-red) 14%,transparent)}
html[data-new-pace] .ibx-st.ibx-violet{color:var(--fx-purple);background:color-mix(in srgb,var(--fx-purple) 15%,transparent)}

/* ── a wide card: three panes — the conversation's heading and messages in the middle, About in its own column at the right ── */
@container ibx-panes (min-width:940px){
  html[data-new-pace] #mb-read[data-shape="msg"]:has(.ibx-head){display:grid;grid-template-columns:minmax(0,1fr) clamp(240px,27%,280px);grid-template-rows:auto minmax(0,1fr)}
  html[data-new-pace] #mb-read[data-shape="msg"]:has(.ibx-head) > #mb-head,html[data-new-pace] .ibx-head{display:contents}
  html[data-new-pace] .ibx-head > .ibx-th-head{grid-column:1;grid-row:1}
  html[data-new-pace] #mb-read[data-shape="msg"]:has(.ibx-head) > #mb-thread{grid-column:1;grid-row:2;min-width:0;min-height:0}
  html[data-new-pace] .ibx-head > .ibx-about{grid-column:2;grid-row:1 / span 2;min-height:0;overflow-y:auto;padding:var(--np-space-5);border-left:1px solid var(--line)}
  html[data-new-pace] .ibx-about-btn{display:none}
  html[data-new-pace] .ibx-about-body{display:flex;padding-top:0}
}

/* ── a phone (47 shows the list OR the conversation below 960px): Back beside the heading; everything reflows, nothing scrolls sideways ── */
/* D-0455 (owner, 18 Nov: "the reading window of the email is very small compared to Gmail or Outlook"): below 1280px wide the list and
   the conversation take turns, as on a phone (47's .reading, ui.css's 960px rule, carried up to 1280 here) — an open conversation has the
   whole width, with Back; from 1280px they sit side by side, the list at its own width (330px, or where the person dragged it) */
@media (min-width:961px) and (max-width:1279px){
  html[data-new-pace] .mb-resize{display:none}
  html[data-new-pace] #mb-list,html[data-new-pace] #mb-list.wide{width:100%;min-width:0;flex:1 1 auto;border-right:0}
  html[data-new-pace] #mb-panes:not(.reading) > #mb-read{display:none}   /* the reader keeps its own layout (its About column) when shown */
  html[data-new-pace] #mb-panes.reading > #mb-list{display:none}
  html[data-new-pace] .ibx-back{display:inline-flex}
}
@media (max-width:960px){
  /* the heading as rows: Back and the subject; the labels; More and "About Dana ▾"; About, when opened, across the width */
  html[data-new-pace] .ibx-head{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"back title" "labels labels" "acts about" "body body";
    gap:0 var(--np-space-2_5);align-items:center;padding:var(--np-space-3) var(--np-space-4) var(--np-space-1_5)}   /* no row gap: an empty row (no labels, About shut) must cost nothing; the rows space themselves */
  html[data-new-pace] .ibx-th-head,html[data-new-pace] .ibx-th-main,html[data-new-pace] .ibx-about{display:contents}
  html[data-new-pace] .ibx-back{display:inline-flex;grid-area:back}
  html[data-new-pace] .ibx-th-main > :first-child{grid-area:title}
  html[data-new-pace] .ibx-th-main > :not(:first-child):not(.mb-acts){grid-area:labels;margin-top:var(--np-space-2)}
  html[data-new-pace] .ibx-th-main > .mb-acts{grid-area:acts;margin-top:var(--np-space-2)}
  html[data-new-pace] .ibx-about-btn{grid-area:about;justify-self:start;margin-top:var(--np-space-2)}
  html[data-new-pace] .ibx-about-body{grid-area:body;padding-top:var(--np-space-3_5)}
  html[data-new-pace] .ibx-th-main .mb-title{font-size:var(--np-text-xl)}
  html[data-new-pace] #mb-read .mb-thread{padding:var(--np-space-1_5) var(--np-space-4) var(--np-space-4)}
  /* the open conversation has the screen: the chips and tools come back with Back */
  html[data-new-pace] #mb-root:has(#mb-panes.reading) > #mb-tabs,html[data-new-pace] #mb-root:has(#mb-panes.reading) > #mb-toolbar{display:none}
  html[data-new-pace] #mb-root:has(#mb-panes.reading) > #mb-panes{margin-top:0}
}
@media (max-width:860px){
  html[data-new-pace] #mb-root{padding-bottom:var(--np-space-3)}
  html[data-new-pace] #mb-panes{margin-top:var(--np-space-2_5)}
  html[data-new-pace] #mb-toolbar .tbar-search{flex:1 1 180px;min-width:0}
  html[data-new-pace] #mb-toolbar .tbar-search input{width:100%}
  html[data-new-pace] #mb-toolbar .tbar-right{width:auto;flex-wrap:wrap}
  html[data-new-pace] #mb-list .mb-row{padding:var(--np-space-3) var(--np-space-4)}
  html[data-new-pace] #mb-tabs .mb-ftabs{gap:var(--np-space-1_5)}
  html[data-new-pace] #mb-tabs .mb-ftab{padding:0 var(--np-space-3)}
  html[data-new-pace] .ibx-reply-acts .btn{min-height:var(--np-h-control)}   /* a finger's size on a phone */
  html[data-new-pace] .ibx-reply-row .btn{min-height:var(--np-h-control)}
  html[data-new-pace] .ibx-reply.is-inline .ibx-reply-top>.ibx-open-win{display:none}   /* …and Attach files opens the window, with the words */
  html[data-new-pace] .ibx-inline-body{min-width:0;flex-basis:0}
  html[data-new-pace] .ibx-reply.is-inline .ibx-reply-top>.ibx-from{display:none}   /* on a phone: the writing gets the width; the mailbox is the one the conversation came to, and the window shows it */
  /* every field and menu a finger uses is 16px on a phone (mobile.css: a smaller one makes the phone zoom in) */
  html[data-new-pace] #mb-toolbar .tbar-search input,html[data-new-pace] #mb-toolbar .seq-sel,html[data-new-pace] #mb-root select,html[data-new-pace] #mb-root input{font-size:var(--np-text-body)}
}

/* MOVE TO (R-1030, 99zzzc): each folder in the window carries a small folder mark before its name */
html[data-new-pace] .mb-mv .mb-lm-name svg{width:var(--np-space-4);height:var(--np-space-4);vertical-align:-3px;margin-right:var(--np-space-2);color:var(--text3)}
