/* PN-LI-SHARE — the "Post to LinkedIn" doors (pn-li-share.js). CEO 2026-09-26.
   pn-ds.css forces `html:not(#pn-ds-never)` !important button skins and strips background-image,
   so everything here is background-color + border, at a specificity that out-ranks it, and this
   sheet loads after pn-ds.css / pn-pitchflow. */

/* the glyph sits in line with a label in every door */
html:not(#pn-ds-never) body .pn-li-glyph{ flex:0 0 auto; display:inline-block; vertical-align:-3px; }

/* ── 1 · MASTHEAD: a circular "in" beside the Leadership Board chip, same height/border rhythm
   as the mail/burger circles (pn-masthead-20260912.css) ── */
html:not(#pn-ds-never) body .appbar #pnLiMastBtn.pn-li-mast{
  flex:0 0 auto !important; margin-left:0 !important;
  width:var(--tb-h,40px) !important; height:var(--tb-h,40px) !important; min-height:var(--tb-h,40px) !important;
  padding:0 !important; border-radius:var(--tb-r,999px) !important; box-sizing:border-box;
  border:var(--tb-bw,1px) solid color-mix(in srgb, var(--label,#fff) 14%, transparent) !important;
  background-color:var(--card,#1b2230) !important; background-image:none !important;
  color:var(--label2,#e8ecf4) !important; cursor:pointer;
  display:inline-flex !important; align-items:center; justify-content:center;
}
html:not(#pn-ds-never) body .appbar #pnLiMastBtn.pn-li-mast:hover,
html:not(#pn-ds-never) body .appbar #pnLiMastBtn.pn-li-mast:focus-visible{
  border-color:#0A66C2 !important; color:#FFFFFF !important; background-color:#0A66C2 !important;
}
html:not(#pn-ds-never) body .appbar #pnLiMastBtn.pn-li-mast[aria-busy="true"]{ opacity:.6; }

/* ── 2 · THE MONEY CARD after a pitch — always a dark card, so the ink is pinned light ── */
html:not(#pn-ds-never) body .pn-money .pn-money-share{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
html:not(#pn-ds-never) body .pn-money .pn-money-share .pn-money-li{
  display:inline-flex !important; align-items:center; gap:8px; min-height:40px;
  padding:0 16px !important; cursor:pointer;
  background-color:rgba(255,255,255,.06) !important; background-image:none !important;
  border:1px solid rgba(255,255,255,.4) !important; color:#FFFFFF !important;
  font:700 13px/1 IS,Inter,sans-serif !important; text-transform:none !important; letter-spacing:0 !important;
}
html:not(#pn-ds-never) body .pn-money .pn-money-share .pn-money-li *{ color:#FFFFFF !important; }
html:not(#pn-ds-never) body .pn-money .pn-money-share .pn-money-li:hover{ background-color:#0A66C2 !important; border-color:#0A66C2 !important; }

/* ── 3 · LEADERSHIP BOARD window title bar: a compact "in Post" before CLOSE ── */
html:not(#pn-ds-never) body .pnl-win .lg-titlebar .pnl-li-tb{
  display:inline-flex !important; align-items:center; gap:6px; min-height:30px !important; height:30px;
  padding:0 10px !important; margin-left:auto; margin-right:8px; border-radius:6px !important; cursor:pointer;
  font:700 11px/1 'JetBrains Mono',ui-monospace,monospace !important; letter-spacing:.12em !important; text-transform:uppercase;
  background-color:#0A66C2 !important; background-image:none !important; border:0 !important; color:#FFFFFF !important;
}
html:not(#pn-ds-never) body .pnl-win .lg-titlebar .pnl-li-tb *{ color:#FFFFFF !important; }
html:not(#pn-ds-never) body .pnl-win .lg-titlebar .pnl-li-tb .pn-li-glyph{ width:13px; height:13px; vertical-align:0; }
html:not(#pn-ds-never) body .pnl-win .lg-titlebar .pnl-li-tb + .pnl-x{ margin-left:0 !important; }
@media (max-width:480px){
  html:not(#pn-ds-never) body .pnl-win .lg-titlebar .pnl-li-tb > span{ display:none; }
  html:not(#pn-ds-never) body .pnl-win .lg-titlebar .pnl-li-tb{ width:34px; height:34px; min-height:34px !important; padding:0 !important; justify-content:center; margin-right:6px; flex:0 0 auto; }
  html:not(#pn-ds-never) body .pnl-win .lg-titlebar .pnl-li-tb .pn-li-glyph{ width:16px; height:16px; }
}

/* the Thursday line under the board's action bar */
html:not(#pn-ds-never) body .pnl-win .pnl-pubnote{ display:block; margin:-8px 0 16px; font:600 11px/1.4 'JetBrains Mono',ui-monospace,monospace; letter-spacing:.08em; opacity:.75; }

/* the masthead door stands down whenever the bar has no spare room (see pn-li-share.js place()) */
html:not(#pn-ds-never) body .appbar #pnLiMastBtn.pn-li-mast.is-off{ display:none !important; }
