/* NPP Pipeline app: the page around the blocks (the blocks style themselves) */
html { background: #0c0f1d; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0c0f1d; color: #fff; font-family: Figtree, "Helvetica Neue", Arial, sans-serif; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; overscroll-behavior-y: none; }
/* the brand fonts on the website come from Squarespace; here close free stand-ins */
#npp-pc, #npp-sales, #npp-vr, #npp-hd, #npp-iw, #npp-gear, .npl, #npl-admin, #npl-pill, .apanel { --display: "Bebas Neue", balboa, Impact, sans-serif; --body: Figtree, sofia-pro, "Helvetica Neue", Arial, sans-serif; --b: Figtree, sofia-pro, "Helvetica Neue", Arial, sans-serif; }
.sqs-layout, .sqs-block, .sqs-block-content { margin: 0; padding: 0; }
/* no website header above it: a little less room at the top, the notch respected */
.app-in #npp-gear .top, .app-in #npp-hd .top, .app-in #npp-iw .top, .app-in .hero { padding-top: 22px !important; }
body.app { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
/* inside a tab of the app: the page's own big title + the sign-in chip are already above */
html.emb #npp-gear .top .kick, html.emb #npp-gear .top h1, html.emb #npp-hd .hero .k, html.emb #npp-hd .hero h1, html.emb #npp-hd .hero .lead, html.emb #npp-hd .foot, html.emb #npl-pill { display: none !important; }
html.emb #npp-gear .top, html.emb #npp-hd .hero { padding-top: 14px !important; }
html.emb body { min-height: 0; }
.gate { min-height: 100vh; display: grid; place-content: center; gap: 16px; text-align: center; padding: 24px; font: 600 16px Figtree, Arial, sans-serif; color: rgba(255,255,255,.8); }
.gate img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto; }
.gate a { display: inline-block; margin: 0 auto; padding: 12px 22px; border-radius: 999px; background: #29abe2; color: #fff; text-decoration: none; font-weight: 800; }


/* pages shown inside the app: the same calmer type, their own sign-in chip + person switch tucked away */
html.emb #npp-gear *, html.emb #npp-hd *, html.emb #npp-vr *, html.emb #npp-iw * { text-transform: none !important; letter-spacing: normal !important; }
html.emb, html.emb body { background: transparent !important; }
html.emb #npp-gear .top-btns [data-who], html.emb #npp-gear .top::before { display: none !important; }
html.emb #npp-gear .top { padding-bottom: 8px !important; } html.emb #npp-gear .btn { font-size: 14px; font-weight: 700; }
html.emb #npp-gear .g-sec h3 { font-size: 16px !important; font-weight: 800 !important; color: #fff !important; } html.emb #npp-gear .g-row { min-height: 58px; border-radius: 16px !important; }
html.emb #npp-gear input, html.emb #npp-gear select, html.emb #npp-gear textarea, html.emb #npp-hd input, html.emb #npp-vr input, html.emb #npp-vr textarea { font-size: 16px !important; }
/* a review inside the app: the video stays up top, the notes list right under it, the note box after */
@media (max-width: 899px) {
  html.emb #npp-vr .main.ua-on { display: block !important; }
  html.emb #npp-vr .main.ua-on .vid { position: sticky; top: 0; z-index: 30; background: #0c0f1d; padding-bottom: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
  html.emb #npp-vr .main.ua-on .under { margin: 10px 0; }
  html.emb #npp-vr .main.ua-on .side { display: flex; flex-direction: column; border-radius: 18px; }
  html.emb #npp-vr .main.ua-on .side .side-h { order: 1; } html.emb #npp-vr .main.ua-on .side .list { order: 2; max-height: none; } html.emb #npp-vr .main.ua-on .side .comp { order: 3; border-top: 1px solid rgba(255,255,255,.1); }
  html.emb #npp-vr .list .n { cursor: pointer; padding-top: 12px; padding-bottom: 12px; } html.emb #npp-vr .list .n .n-a button { min-height: 38px; }
}

@media (max-width: 700px) { html.emb #npp-gear .top-btns { flex-wrap: nowrap !important; gap: 6px !important; width: 100%; } html.emb #npp-gear .top-btns .btn { flex: 1 1 auto; justify-content: center; padding: 10px 10px !important; font-size: 13.5px !important; white-space: nowrap; min-height: 42px; } }
html.emb #npp-gear .top-row > div:first-child { display: none; }
html.emb #ui-bk { padding-top: 14px; }

@media (min-width: 900px) { html.emb #ui-bk { padding-left: 48px; padding-right: 48px; max-width: 840px; } }

@media (max-width: 899px) {
  html.emb #npp-vr .main.ua-on .under { margin: 8px 0 10px; } html.emb #npp-vr .main.ua-on .tcol h1 { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; } html.emb #npp-vr .main.ua-on .tcol .sub { justify-content: flex-start; font-size: 13px; margin-top: 2px; } html.emb #npp-vr .main.ua-on .trow { text-align: left; }
  html.emb #npp-vr .main.ua-on .dcol { margin-top: 8px; } html.emb #npp-vr .main.ua-on .tools { display: flex; flex-wrap: nowrap; gap: 6px; } html.emb #npp-vr .main.ua-on .howb { flex: 1 1 0; min-width: 0; height: 38px; padding: 0 8px; } html.emb #npp-vr .main.ua-on .howb b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
  html.emb #npp-vr .main.ua-on .side .decbar { order: 4; }
}

html.emb #npp-vr .decbar::before { text-transform: none !important; letter-spacing: normal !important; font-size: 13.5px !important; color: #fff !important; }

/* a tall (vertical) video, or a short screen: the video scrolls with the page so the notes keep their room */
@media (max-width: 899px) { html.emb #npp-vr .main.ua-on.tall .vid { position: static; box-shadow: none; } }
@media (max-width: 899px) and (max-height: 560px) { html.emb #npp-vr .main.ua-on .vid { position: static; box-shadow: none; } }

/* NPP Pipeline app v1.4 · the app frame: page name on top, a bottom bar (a side bar on big screens), slide-up sheets */
:root {
  --sat: env(safe-area-inset-top, 0px); --sab: min(env(safe-area-inset-bottom, 0px), 40px); --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px);
  --u-top: 52px; --u-bar: 58px; --u-sidew: 0px; --u-dock: 0px;
  --u-a: #29abe2; --u-a2: #8fd9f7; --u-bg: #0c0f1d; --u-bg2: #121829; --u-card: #151c31; --u-card2: #1b233b;
  --u-line: rgba(255,255,255,.09); --u-line2: rgba(255,255,255,.16); --u-dim: rgba(255,255,255,.62); --u-faint: rgba(255,255,255,.4);
  --u-ok: #3ccf86; --u-warn: #ffb648; --u-bad: #ff6b6b; --u-f: Figtree, sofia-pro, "Helvetica Neue", Arial, sans-serif;
}
html[data-npp-mode="sales"] { --u-a: #2fbf7f; --u-a2: #8ff0bd; --u-bg: #0a100e; --u-bg2: #0f1815; --u-card: #121c18; --u-card2: #18251f; }

html.shell { scroll-padding-top: calc(var(--sat) + var(--u-top) + 10px); }
html.shell, html.shell body { background: var(--u-bg) !important; overflow-x: clip; max-width: 100%; }
html.shell * { -webkit-tap-highlight-color: transparent; }
html.shell body { padding-top: calc(var(--sat) + var(--u-top)); padding-bottom: calc(var(--sab) + var(--u-bar) + 20px); padding-left: calc(var(--sal) + var(--u-sidew)); padding-right: calc(var(--sar) + var(--u-dock)); transition: padding-right .2s; }
html.shell #npp-pc, html.shell #npp-sales { overflow-x: clip; max-width: 100%; background: transparent !important; min-height: 0 !important; }
/* the website's own header, tab rows and floating buttons step aside */
html.shell #npp-pc > .top, html.shell #npp-pc > .bar, html.shell #npp-pc > .appsub, html.shell #npp-pc > .bar2, html.shell #npp-sales > .top, html.shell #npp-sales > .bar, html.shell #nc .nc-fab, html.shell #npl-pill:not(:has(.npl-va)) { display: none !important; }
html.shell #npl-pill:has(.npl-va) { bottom: calc(var(--sab) + var(--u-bar) + 12px) !important; left: calc(var(--u-sidew) + 10px) !important; z-index: 9001 !important; }
html.shell #npp-pc .main { padding-top: 8px !important; padding-bottom: 0 !important; }
html.shell #npp-sales .main { padding-top: 8px !important; padding-bottom: 0 !important; }
html.shell #npp-pc .wrap, html.shell #npp-sales .wrap { padding-left: 14px; padding-right: 14px; }
html.shell[data-npp-mode="sales"] #npp-sales, html.shell[data-npp-mode="sales"] #npp-pc { --navy: #0a100e; --navy-2: #111a17; --navy-3: #18251f; --card: #121c18; --card-2: #16221d; --accent: #2fbf7f; --accent-2: #8ff0bd; }
html.shell[data-npp-mode="sales"] #npp-sales .top::before { display: none; }

/* ---------- top: the page's name ---------- */
#ui-top { position: fixed; z-index: 9000; top: 0; left: var(--u-sidew); right: var(--u-dock); height: calc(var(--sat) + var(--u-top)); box-sizing: border-box; padding: var(--sat) calc(var(--sar) + 8px) 0 calc(var(--sal) + 12px); display: flex; align-items: center; gap: 4px; background: rgba(12,15,29,.86); background: color-mix(in srgb, var(--u-bg) 86%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid transparent; transition: border-color .2s, right .2s; font-family: var(--u-f); color: #fff; }
html.ui-scrolled #ui-top { border-bottom-color: var(--u-line); }
#ui-top button { font-family: var(--u-f); cursor: pointer; }
#ui-top .ui-back { flex: none; width: 40px; height: 40px; margin-left: -6px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #fff; }
#ui-top .ui-back[hidden] { display: none; }
#ui-top .ui-title { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; padding: 8px 4px; border: 0; background: none; color: #fff; font: 800 21px/1.15 var(--u-f); letter-spacing: -.012em; text-align: left; }
#ui-top .ui-title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
#ui-top .ui-title svg { flex: none; opacity: .55; margin-top: 2px; } #ui-top .ui-title:not(.pick) { cursor: default; } #ui-top .ui-title:not(.pick) svg { display: none; }
#ui-top .ui-tag { flex: none; margin-left: 4px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--u-a) 18%, transparent); color: var(--u-a2); font: 700 11.5px/1 var(--u-f); letter-spacing: .02em; }
#ui-top .ui-sp { flex: 1; }
#ui-top .ui-ib { position: relative; flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #fff; }
#ui-top .ui-ib:active, #ui-top .ui-back:active { background: rgba(255,255,255,.1); }
#ui-top .ui-ib i { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #ff5a5f; border: 2px solid var(--u-bg); } #ui-top .ui-ib i[hidden] { display: none; }
#ui-top .ui-off { flex: none; padding: 4px 9px; border-radius: 999px; background: rgba(255,182,72,.16); color: var(--u-warn); font: 700 11.5px/1 var(--u-f); } #ui-top .ui-off[hidden] { display: none; }

/* ---------- bottom bar (phones) ---------- */
#ui-bar { position: fixed; z-index: 9000; left: 0; right: 0; bottom: 0; height: calc(var(--sab) + var(--u-bar)); box-sizing: border-box; padding: 0 calc(var(--sar) + 4px) var(--sab) calc(var(--sal) + 4px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; background: rgba(18,24,41,.94); background: color-mix(in srgb, var(--u-bg2) 93%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-top: 1px solid var(--u-line); font-family: var(--u-f); transition: transform .22s ease; }
#ui-bar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; height: 50px; padding: 0 2px; border: 0; background: none; color: var(--u-dim); font: 600 10.5px/1 var(--u-f); cursor: pointer; min-width: 0; }
#ui-bar button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui-bar button.on { color: var(--u-a2); } #ui-bar button.on svg { stroke-width: 2.3; }
#ui-bar button:active { transform: scale(.94); }
#ui-bar .ui-plus { justify-self: center; width: 52px; height: 52px; border-radius: 50%; background: var(--u-a); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.4), 0 0 0 5px var(--u-bg2); transform: translateY(-12px); }
#ui-bar .ui-plus:active { transform: translateY(-12px) scale(.93); }
#ui-bar em, #ui-side em { position: absolute; top: 1px; left: calc(50% + 5px); min-width: 17px; height: 17px; box-sizing: border-box; padding: 0 5px; border-radius: 9px; background: #ff5a5f; color: #fff; font: 800 10.5px/17px var(--u-f); font-style: normal; text-align: center; }
#ui-bar em[hidden], #ui-side em[hidden], #ui-bar i.dot[hidden] { display: none; }
#ui-bar i.dot { position: absolute; top: 5px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: #ff5a5f; }
html.ui-kb #ui-bar, html.ui-cover #ui-bar { transform: translateY(115%); }
#ui-side { display: none; }

/* ---------- big screens: a side bar on the left, chat can sit open on the right ---------- */
@media (min-width: 900px) {
  :root { --u-sidew: 236px; --u-bar: 0px; --u-top: 60px; }
  #ui-bar { display: none; }
  html.shell body { padding-bottom: 28px; }
  html.shell.nc-on { --u-dock: 392px; }
  #ui-side { display: flex; flex-direction: column; gap: 2px; position: fixed; z-index: 9000; top: 0; bottom: 0; left: 0; width: var(--u-sidew); box-sizing: border-box; padding: 14px 10px 12px; background: var(--u-bg2); border-right: 1px solid var(--u-line); overflow-y: auto; scrollbar-width: thin; font-family: var(--u-f); color: #fff; }
  #ui-side .us-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 12px; font: 800 16px/1.1 var(--u-f); } #ui-side .us-brand img { width: 34px; height: 34px; border-radius: 9px; } #ui-side .us-brand small { display: block; margin-top: 3px; color: var(--u-a2); font: 700 11.5px/1 var(--u-f); }
  #ui-side .us-new { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 2px 10px; height: 42px; border: 0; border-radius: 12px; background: var(--u-a); color: #fff; font: 800 14px var(--u-f); cursor: pointer; }
  #ui-side h6 { margin: 12px 10px 4px; color: var(--u-faint); font: 700 11.5px/1 var(--u-f); }
  #ui-side .us-i { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--u-dim); font: 600 14px var(--u-f); text-align: left; cursor: pointer; }
  #ui-side .us-i:hover { background: rgba(255,255,255,.05); color: #fff; } #ui-side .us-i.on { background: color-mix(in srgb, var(--u-a) 16%, transparent); color: #fff; } #ui-side .us-i.on svg { color: var(--u-a2); }
  #ui-side .us-i span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #ui-side .us-i em { position: static; }
  #ui-side .us-sp { flex: 1; min-height: 10px; }
  #ui-side .us-me { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 8px; border: 1px solid var(--u-line); border-radius: 14px; background: rgba(255,255,255,.03); color: #fff; font: 700 14px var(--u-f); text-align: left; cursor: pointer; }
  #ui-side .us-me small { display: block; color: var(--u-dim); font: 500 12px var(--u-f); }
  #ui-top { padding-left: 26px; padding-right: 18px; } #ui-top .ui-title { font-size: 24px; }
  html.shell #npp-pc .wrap, html.shell #npp-sales .wrap { padding-left: 26px; padding-right: 26px; max-width: 1500px; }
}

/* ---------- sheets: slide up from the bottom (a centered box on big screens) ---------- */
.ui-shw { position: fixed; inset: 0; z-index: 2147482500; display: flex; align-items: flex-end; justify-content: center; background: rgba(4,6,14,.62); opacity: 0; transition: opacity .2s; font-family: var(--u-f); color: #fff; -webkit-user-select: none; user-select: none; }
.ui-shw.on { opacity: 1; }
.ui-sh { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - var(--sat) - 28px); box-sizing: border-box; display: flex; flex-direction: column; background: var(--u-bg2); border: 1px solid var(--u-line2); border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.5); transform: translateY(104%); transition: transform .28s cubic-bezier(.2,.85,.25,1); will-change: transform; }
.ui-shw.on .ui-sh { transform: none; } .ui-sh.drag { transition: none; }
.ui-sh input, .ui-sh textarea { -webkit-user-select: text; user-select: text; }
.ui-grab { flex: none; height: 24px; display: grid; place-items: center; touch-action: none; cursor: grab; } .ui-grab::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.26); }
.ui-sh-h { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 18px 10px; touch-action: none; }
.ui-sh-h h3 { flex: 1; min-width: 0; margin: 0; font: 800 20px/1.2 var(--u-f); letter-spacing: -.01em; color: #fff; } .ui-sh-h h3 small { display: block; margin-top: 3px; color: var(--u-dim); font: 500 13.5px/1.3 var(--u-f); letter-spacing: 0; }
.ui-x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.ui-sh-b { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 16px calc(var(--sab) + 18px); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ui-sh-f { flex: none; display: flex; gap: 10px; padding: 12px 16px calc(var(--sab) + 12px); border-top: 1px solid var(--u-line); background: var(--u-bg2); border-radius: 0; }
.ui-sh.has-f .ui-sh-b { padding-bottom: 14px; }
.ui-sh.full { max-width: none; max-height: none; height: 100dvh; border: 0; border-radius: 0; padding-top: var(--sat); }
.ui-sh.full .ui-grab { display: none; } .ui-sh.full .ui-sh-h { padding-top: 10px; }
html.ui-kbv .ui-sh { max-height: calc(var(--vvh, 100dvh) - var(--sat) - 8px); } html.ui-kbv .ui-shw { align-items: flex-start; padding-top: calc(var(--sat) + 8px); height: var(--vvh, 100dvh); } html.ui-kbv .ui-sh { border-radius: 24px; margin-top: auto; }
@media (min-width: 900px) {
  .ui-shw { align-items: center; padding: 24px; box-sizing: border-box; }
  .ui-sh { border-radius: 22px; border-bottom: 1px solid var(--u-line2); transform: translateY(16px) scale(.98); max-height: min(780px, calc(100vh - 48px)); }
  .ui-sh.full { height: min(860px, calc(100vh - 48px)); max-width: 760px; border: 1px solid var(--u-line2); border-radius: 22px; padding-top: 0; }
  .ui-grab { height: 16px; } .ui-grab::before { display: none; }
  .ui-sh.wide { max-width: 760px; }
}
/* buttons + rows used inside sheets */
.ui-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--u-line2); border-radius: 14px; background: rgba(255,255,255,.05); color: #fff; font: 700 15px var(--u-f); cursor: pointer; text-decoration: none; box-sizing: border-box; }
.ui-btn.pri { background: var(--u-a); border-color: var(--u-a); } .ui-btn.red { color: var(--u-bad); border-color: rgba(255,107,107,.4); } .ui-btn.sm { flex: none; min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; } .ui-btn:active { transform: scale(.97); } .ui-btn[disabled] { opacity: .45; }
.ui-list { display: grid; gap: 2px; margin: 0 -6px; }
.ui-li { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 54px; box-sizing: border-box; padding: 8px 10px; border: 0; border-radius: 14px; background: none; color: #fff; font: 600 16px/1.25 var(--u-f); text-align: left; cursor: pointer; text-decoration: none; }
.ui-li:active { background: rgba(255,255,255,.07); } .ui-li > svg, .ui-li > .ui-ico { flex: none; color: var(--u-a2); }
.ui-li > span { flex: 1; min-width: 0; } .ui-li small { display: block; margin-top: 2px; color: var(--u-dim); font: 500 13px/1.3 var(--u-f); } .ui-li.red, .ui-li.red > svg { color: var(--u-bad); }
.ui-li .ui-chk { flex: none; color: var(--u-a2); } .ui-li em { flex: none; font-style: normal; color: var(--u-dim); font-size: 13.5px; }
.ui-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--u-a) 15%, transparent); }
.ui-sec { margin: 16px 2px 8px; color: var(--u-dim); font: 700 13px/1 var(--u-f); } .ui-sec:first-child { margin-top: 4px; }
.ui-in { display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1px solid var(--u-line2); border-radius: 14px; background: rgba(0,0,0,.25); color: #fff; font: 500 16px/1.35 var(--u-f); outline: 0; -webkit-appearance: none; appearance: none; }
.ui-in:focus { border-color: var(--u-a); } textarea.ui-in { resize: none; } select.ui-in { background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.ui-lab { display: block; margin: 14px 2px 6px; color: var(--u-dim); font: 700 13px/1 var(--u-f); }
.ui-seg { display: flex; padding: 3px; border-radius: 13px; background: rgba(255,255,255,.07); } .ui-seg button { flex: 1; min-height: 38px; border: 0; border-radius: 10px; background: none; color: var(--u-dim); font: 700 14px var(--u-f); cursor: pointer; } .ui-seg button.on { background: var(--u-a); color: #fff; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 8px; } .ui-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid var(--u-line2); border-radius: 999px; background: rgba(255,255,255,.04); color: #fff; font: 600 14px var(--u-f); cursor: pointer; white-space: nowrap; } .ui-chip.on { background: var(--u-a); border-color: var(--u-a); } .ui-chip:active { transform: scale(.96); }
.ui-sw { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 4px; color: #fff; font: 600 15.5px var(--u-f); cursor: pointer; } .ui-sw span { flex: 1; } .ui-sw small { display: block; color: var(--u-dim); font: 500 13px var(--u-f); margin-top: 2px; }
.ui-sw i { flex: none; position: relative; width: 46px; height: 28px; border-radius: 99px; background: rgba(255,255,255,.18); transition: background .15s; } .ui-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; } .ui-sw.on i { background: var(--u-a); } .ui-sw.on i::after { transform: translateX(18px); }
.ui-empty { display: grid; justify-items: center; gap: 12px; padding: 34px 20px; text-align: center; color: var(--u-dim); font: 500 15px/1.4 var(--u-f); } .ui-empty svg { opacity: .5; } .ui-empty b { color: #fff; font-size: 16px; } .ui-empty .ui-btn { flex: none; }
.ui-av { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #5d6478 center / cover; color: #fff; font: 800 14px/1 var(--u-f); font-style: normal; } .ui-av.s { width: 26px; height: 26px; font-size: 10.5px; } .ui-av.l { width: 64px; height: 64px; font-size: 22px; }
.ui-lg { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--c, #2a3350) center / contain no-repeat; color: #fff; font: 800 13px/1 var(--u-f); font-style: normal; overflow: hidden; } .ui-lg.s { width: 26px; height: 26px; border-radius: 8px; font-size: 10px; } .ui-lg.l { width: 56px; height: 56px; border-radius: 15px; font-size: 18px; } .ui-lg img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

/* ---------- the Menu ---------- */
.ui-menu .ui-sh-b { padding-top: 0; }
.um-me { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid var(--u-line); border-radius: 18px; background: var(--u-card); color: #fff; font: 800 17px/1.2 var(--u-f); text-align: left; cursor: pointer; }
.um-me span { flex: 1; min-width: 0; } .um-me small { display: block; margin-top: 3px; color: var(--u-dim); font: 500 13.5px var(--u-f); } .um-me > svg { color: var(--u-faint); }
.um-side { margin-bottom: 12px; }
.um-find { position: relative; margin-bottom: 6px; } .um-find svg { position: absolute; left: 14px; top: 14px; color: var(--u-faint); pointer-events: none; } .um-find .ui-in { padding-left: 44px; border-radius: 999px; background: rgba(255,255,255,.06); border-color: transparent; }
.um-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; } .um-row::-webkit-scrollbar { display: none; }
.um-rc { flex: none; display: inline-flex; align-items: center; gap: 9px; max-width: 220px; min-height: 46px; padding: 5px 14px 5px 6px; border: 1px solid var(--u-line); border-radius: 999px; background: var(--u-card); color: #fff; font: 600 14px/1.2 var(--u-f); cursor: pointer; text-align: left; }
.um-rc span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .um-rc small { display: block; color: var(--u-dim); font: 500 12px var(--u-f); overflow: hidden; text-overflow: ellipsis; }
.um-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.um-t { position: relative; display: grid; justify-items: center; align-content: center; gap: 9px; min-height: 92px; padding: 12px 6px; border: 1px solid var(--u-line); border-radius: 18px; background: var(--u-card); color: #fff; font: 600 13.5px/1.2 var(--u-f); text-align: center; cursor: pointer; }
.um-t:active { transform: scale(.96); background: var(--u-card2); } .um-t.on { border-color: color-mix(in srgb, var(--u-a) 60%, transparent); background: color-mix(in srgb, var(--u-a) 12%, var(--u-card)); }
.um-t svg { color: var(--u-a2); } .um-t em { position: absolute; top: 8px; right: 8px; min-width: 20px; height: 20px; box-sizing: border-box; padding: 0 6px; border-radius: 10px; background: #ff5a5f; color: #fff; font: 800 11.5px/20px var(--u-f); font-style: normal; }
.um-t i.dot { position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--u-a); }
.um-t .um-star { position: absolute; top: 2px; left: 2px; width: 36px; height: 36px; display: none; place-items: center; border: 0; background: none; color: var(--u-faint); } .um-t .um-star.on { color: #ffcf4d; } .um-t .um-star.on svg { fill: #ffcf4d; color: #ffcf4d; }
.ui-menu.edit .um-t .um-star { display: grid; } .ui-menu.edit .um-t em, .ui-menu.edit .um-t i.dot { display: none; }
.um-hint { margin: 10px 4px 0; color: var(--u-dim); font: 500 13px/1.4 var(--u-f); }
.um-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .um-foot .ui-btn { flex: 1 1 40%; min-height: 44px; font-size: 14px; }
.um-ver { margin: 14px 0 0; text-align: center; color: var(--u-faint); font: 500 12.5px var(--u-f); }
.um-res .ui-li { min-height: 56px; }
@media (min-width: 900px) { .um-g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- ＋ : everything you can add ---------- */
.ui-plusg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; padding: 6px 0 4px; }
.ui-pb { display: grid; justify-items: center; gap: 9px; padding: 4px 2px; border: 0; background: none; color: #fff; font: 600 13.5px/1.2 var(--u-f); text-align: center; cursor: pointer; }
.ui-pb i { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--u-a) 16%, var(--u-card)); color: var(--u-a2); border: 1px solid color-mix(in srgb, var(--u-a) 30%, transparent); transition: transform .12s; }
.ui-pb:active i { transform: scale(.92); } .ui-pb.pri i { background: var(--u-a); color: #fff; }
@media (min-width: 900px) { .ui-plusg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- opening screen ---------- */
#ui-splash { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; background: #0c0f1d; transition: opacity .35s ease, visibility .35s; }
#ui-splash img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: uiPulse 1.6s ease-in-out infinite; }
#ui-splash.out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes uiPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes uiIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes uiUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes uiFade { from { opacity: 0; } to { opacity: 1; } }
html.shell .ui-anim { animation: uiIn .22s ease both; }
@media (prefers-reduced-motion: reduce) { html.shell .ui-anim, .ui-sh, .ui-shw { animation: none !important; transition: none !important; } }

/* ---------- toasts sit above the bottom bar ---------- */
html.shell #npp-pc .toast, html.shell #npp-sales .toast, .ui-toast { bottom: calc(var(--sab) + var(--u-bar) + 14px) !important; z-index: 2147482600 !important; }
html.ui-kb #npp-pc .toast, html.ui-kb #npp-sales .toast, html.ui-kb .ui-toast { bottom: 14px !important; }
.ui-toast { position: fixed; left: 50%; transform: translate(-50%, 20px); max-width: calc(100vw - 28px); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #232c47; border: 1px solid var(--u-line2); color: #fff; font: 600 14.5px/1.3 var(--u-f); box-shadow: 0 14px 40px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.ui-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } .ui-toast.bad { background: #4a1f29; }
.ui-toast button { flex: none; border: 0; background: none; color: var(--u-a2); font: 800 14.5px var(--u-f); cursor: pointer; padding: 4px 2px; }

/* ---------- first-time tips ---------- */
.ui-tip { position: fixed; z-index: 2147482400; left: 12px; right: 12px; bottom: calc(var(--sab) + var(--u-bar) + 14px); max-width: 460px; margin: 0 auto; padding: 14px 14px 12px; border-radius: 18px; background: #1d2a4d; border: 1px solid color-mix(in srgb, var(--u-a) 50%, transparent); box-shadow: 0 18px 50px rgba(0,0,0,.55); color: #fff; font: 500 14.5px/1.4 var(--u-f); animation: uiIn .25s ease both; }
.ui-tip b { display: block; margin-bottom: 6px; font: 800 15px var(--u-f); } .ui-tip ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 4px; } .ui-tip div { display: flex; justify-content: flex-end; margin-top: 8px; } .ui-tip button { border: 0; border-radius: 10px; background: var(--u-a); color: #fff; font: 800 14px var(--u-f); padding: 9px 16px; cursor: pointer; }
@media (min-width: 900px) { .ui-tip { left: calc(var(--u-sidew) + 24px); right: auto; bottom: 24px; margin: 0; } }

/* ---------- keyboard helper (Done + next field) on devices that don't bring their own ---------- */
#ui-kbar { position: fixed; z-index: 2147482700; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 6px; height: 44px; padding: 0 8px; background: #1b2238; border-top: 1px solid var(--u-line2); font-family: var(--u-f); }
#ui-kbar.on { display: flex; } #ui-kbar button { height: 36px; min-width: 40px; border: 0; border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; font: 700 14px var(--u-f); } #ui-kbar span { flex: 1; } #ui-kbar .done { padding: 0 16px; background: var(--u-a); }
/* the pages' own toasts: same look as the app's; above a sheet they move to the top */
html.shell #npp-pc .toast { left: 50% !important; right: auto !important; transform: translate(-50%, 20px); max-width: calc(100vw - 28px); width: max-content; display: flex; align-items: center; gap: 12px; padding: 12px 16px !important; border-radius: 14px !important; background: #232c47 !important; border: 1px solid var(--u-line2) !important; color: #fff !important; font: 600 14.5px/1.3 var(--u-f) !important; box-shadow: 0 14px 40px rgba(0,0,0,.5) !important; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
html.shell #npp-pc .toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } html.shell #npp-pc .toast.bad { background: #4a1f29 !important; }
html.shell #npp-pc .toast .undo { flex: none; border: 0 !important; background: none !important; color: var(--u-a2) !important; font: 800 14.5px var(--u-f) !important; padding: 4px 2px !important; }
html.ui-sheet .ui-toast, html.ui-sheet #npp-pc .toast, html.shell:has(#npp-pc .modal.open) #npp-pc .toast, html.shell:has(#npp-pc .modal.open) .ui-toast, html.shell:has(#npp-pc .drawer.open) #npp-pc .toast, html.shell:has(#npp-pc .drawer.open) .ui-toast { bottom: auto !important; top: calc(var(--sat) + 10px); }
html.ui-select .ui-tip, html.ui-sheet .ui-tip { display: none; }

#ui-top .ui-ib em { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; box-sizing: border-box; padding: 0 5px; border-radius: 9px; background: var(--u-a); color: #fff; font: 800 11px/18px var(--u-f); font-style: normal; text-align: center; }
/* pages inside the app (Gear, Drive backups): edge to edge, no frame around them */
html.shell #npp-pc .appf { position: fixed; z-index: 4; margin: 0; top: calc(var(--sat) + var(--u-top)); bottom: calc(var(--sab) + var(--u-bar)); left: calc(var(--sal) + var(--u-sidew)); right: calc(var(--sar) + var(--u-dock)); background: var(--u-bg); } html.shell #npp-pc .appf iframe { display: block; width: 100%; height: 100% !important; min-height: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent; }
html.shell.ui-kb #npp-pc .appf { bottom: 0; }
html.shell #npp-apanel { z-index: 99999; } html.shell #npp-apanel .ap-bar { padding-top: calc(var(--sat) + 8px); }
.ui-tip { font-size: 13.5px; padding: 12px 14px 10px; } .ui-tip b { font-size: 14.5px; margin-bottom: 4px; } .ui-tip ul { gap: 3px; } .ui-tip div { margin-top: 4px; } .ui-tip button { padding: 8px 14px; font-size: 13.5px; }

/* tips: a small card with an x, never over a sheet, a chat, a review or a project page */
.ui-tip { padding: 11px 44px 11px 14px; font-size: 13.5px; line-height: 1.35; } .ui-tip b { font-size: 14px; margin-bottom: 3px; } .ui-tip ul { gap: 2px; padding-left: 16px; }
.ui-tip > button { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
html.ap-on .ui-tip, html.nc-in .ui-tip, html.ui-cover .ui-tip, html.ui-kb .ui-tip, html:has(#npp-pc .drawer.open) .ui-tip, html:has(#npp-pc .modal.open) .ui-tip, html:has(#npp-sales .modal.open) .ui-tip { display: none; }

/* ---------- Admin panel on a phone: people as a list, one person's switches as a page ---------- */
.ua-bar { display: none; }
@media (max-width: 899px) {
  html.shell #npl-admin > .npl-adm { display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--u-bg); font-family: var(--u-f); }
  html.shell .npl-adm .ua-bar { position: sticky; top: 0; z-index: 5; display: block; flex: none; box-sizing: border-box; padding: var(--sat) 0 0; background: rgba(12,15,29,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--u-line); }
  html.shell .npl-adm .ua-b1 { display: flex; align-items: center; gap: 2px; height: 52px; padding: 0 10px 0 4px; }
  html.shell .npl-adm .ua-jump { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; } html.shell .npl-adm .ua-jump::-webkit-scrollbar { display: none; }
  html.shell .npl-adm .ua-jump button { flex: none; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--u-line2); background: rgba(255,255,255,.04); color: #fff; font: 600 13.5px var(--u-f); white-space: nowrap; }
  html.shell .npl-adm .npl-cl .npl-sw { min-height: 48px; }
  html.shell .npl-adm .ua-bar b { font: 800 19px var(--u-f); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.shell .npl-adm .ua-bar .ui-ib { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; }
  html.shell .npl-adm .npl-adm-h { padding: 12px 14px 2px; border: 0; }
  html.shell .npl-adm .npl-adm-h h2, html.shell .npl-adm .npl-adm-h .npl-x, html.shell .npl-adm .npl-backpp { display: none !important; }
  html.shell .npl-adm .npl-adm-h p { margin: 0 0 4px; font-size: 13.5px; line-height: 1.4; }
  html.shell .npl-adm .npl-cal { margin-top: 10px; border-radius: 16px; font-size: 13.5px; } html.shell .npl-adm .npl-cal button { min-height: 38px; padding: 6px 14px; font-size: 13px; }
  html.shell .npl-adm .npl-adm-g { display: block; }
  html.shell .npl-adm .npl-ppl { display: grid; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; gap: 8px; padding: 12px 14px calc(var(--sab) + 28px); border: 0; overflow: visible; }
  html.shell .npl-adm .npl-ppl > button { min-height: 62px; padding: 10px 12px; border-radius: 16px; background: var(--u-card); border: 1px solid var(--u-line) !important; font-family: var(--u-f); }
  html.shell .npl-adm .npl-ppl > button[data-npl-who]::after { content: ''; flex: none; width: 9px; height: 9px; margin: 0 6px 0 auto; border-right: 2px solid var(--u-faint); border-bottom: 2px solid var(--u-faint); transform: rotate(-45deg); }
  html.shell .npl-adm .npl-ppl > button > span { min-width: 0; } html.shell .npl-adm .npl-ppl b { font-size: 16px; } html.shell .npl-adm .npl-ppl small { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.shell .npl-adm .npl-ppl i { width: 42px; height: 42px; font-size: 14px; }
  html.shell .npl-adm .npl-addbtn { order: 99; justify-content: center; min-height: 52px !important; background: transparent !important; border: 1px dashed var(--u-line2) !important; font-size: 15px; }
  html.shell .npl-adm .npl-add { order: 99; padding: 14px; border-radius: 16px; gap: 8px; } html.shell .npl-adm .npl-add input { min-height: 46px; font-size: 16px; } html.shell .npl-adm .npl-add button { min-height: 44px; font-size: 14px; }
  html.shell .npl-adm .npl-ed { display: none; }
  /* one person */
  html.shell.ua-adm-p #npl-admin > .npl-adm { display: flex; flex-direction: column; overflow: hidden; }
  html.shell.ua-adm-p .npl-adm .npl-adm-h, html.shell.ua-adm-p .npl-adm .npl-ppl { display: none; }
  html.shell.ua-adm-p .npl-adm .npl-adm-g { flex: 1; min-height: 0; display: block; }
  html.shell.ua-adm-p .npl-adm .npl-ed { display: block; height: 100%; box-sizing: border-box; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 12px 14px calc(var(--sab) + 40px); }
  html.shell .npl-adm .npl-h3 h3 { font-size: 0; margin: 0; } html.shell .npl-adm .npl-h3 h3 small { font-size: 14.5px; font-weight: 600; } html.shell .npl-adm .npl-ed > h3 { display: none; }
  html.shell .npl-adm .npl-vabtn { min-height: 42px; padding: 9px 18px; font-size: 14px; }
  html.shell .npl-adm .npl-ed section { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--u-card); border: 1px solid var(--u-line); }
  html.shell .npl-adm .npl-ed h4 { margin: 0 0 8px; font-size: 15px !important; font-weight: 800; color: #fff; } html.shell .npl-adm .npl-ed h4 em { font-size: 13px; font-weight: 500; }
  html.shell .npl-adm .npl-note { font-size: 13.5px; }
  html.shell .npl-adm .npl-seg { display: flex; flex-wrap: nowrap; width: 100%; box-sizing: border-box; border-radius: 14px; } html.shell .npl-adm .npl-seg button { flex: 1 1 0; min-width: 0; min-height: 42px; padding: 8px 6px; border-radius: 11px; font-size: 14px; }
  html.shell .npl-adm .npl-sws { gap: 0; margin-top: 6px; } html.shell .npl-adm .npl-sws.two, html.shell .npl-adm .npl-cl { grid-template-columns: minmax(0, 1fr); } html.shell .npl-adm .npl-cl { max-height: none; overflow: visible; gap: 0; }
  html.shell .npl-adm .npl-sw { flex-direction: row-reverse; justify-content: space-between; gap: 14px; min-height: 56px; padding: 8px 0; border-radius: 0; border-top: 1px solid var(--u-line); } html.shell .npl-adm .npl-sw:hover { background: none; }
  html.shell .npl-adm .npl-sws > .npl-sw:first-child, html.shell .npl-adm .npl-cl > .npl-sw:first-child, html.shell .npl-adm h4 + .npl-sw, html.shell .npl-adm .npl-sg + .npl-sw { border-top: 0; }
  html.shell .npl-adm .npl-sw > span { flex: 1; min-width: 0; } html.shell .npl-adm .npl-sw span b { font-size: 16px; } html.shell .npl-adm .npl-sw span small { font-size: 13px; line-height: 1.35; margin-top: 1px; }
  html.shell .npl-adm .npl-sw > i { width: 52px; height: 32px; } html.shell .npl-adm .npl-sw > i::after { width: 26px; height: 26px; } html.shell .npl-adm .npl-sw input:checked + i::after { transform: translateX(20px); }
  html.shell .npl-adm .npl-sg { margin: 14px 0 0; font-size: 13px; font-weight: 800; color: var(--u-dim); }
  html.shell .npl-adm .npl-pinrow { gap: 10px; font-size: 14px; } html.shell .npl-adm .npl-pinrow input, html.shell .npl-adm .npl-crow input { min-height: 46px; font-size: 16px; } html.shell .npl-adm .npl-pinrow button, html.shell .npl-adm .npl-crow button, html.shell .npl-adm .npl-lkc label, html.shell .npl-adm .npl-lkc button { min-height: 44px; padding: 8px 16px; font-size: 14px; }
  html.shell .npl-adm .npl-pinrow > span { flex: 1 1 100%; } html.shell .npl-adm .npl-pinrow input { flex: 1; min-width: 0; width: auto; }
  html.shell .npl-adm .npl-tkc { font-size: 16px; }
}

/* a soft dot = something there changed since you last looked (a red number or dot = it needs you) */
#ui-bar i.dot.soft { background: var(--u-a); } #ui-side .us-i i.dot { flex: none; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--u-a); }

.ui-more { margin-top: 6px; border-top: 1px solid var(--u-line); } .ui-more > summary { list-style: none; display: flex; align-items: center; min-height: 48px; color: var(--u-a2); font: 700 15px var(--u-f); cursor: pointer; } .ui-more > summary::-webkit-details-marker { display: none; }
.ui-more > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); } .ui-more[open] > summary::after { transform: rotate(-135deg); }

/* friendly empty pages: a soft card with a small picture, a short line and what to do next */
html.shell #npp-pc .main .empty, html.shell #npp-sales .empty:not(.sm) { padding: 30px 22px 28px !important; border: 0 !important; border-radius: 22px; background: var(--u-card); color: var(--u-dim); font: 500 15px/1.45 var(--u-f); text-align: center; }
html.shell #npp-pc .main .empty::before, html.shell #npp-sales .empty:not(.sm)::before { content: ''; display: block; width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 17px; background: color-mix(in srgb, var(--u-a) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.85' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13h5l1.500 3h5l1.500-3h5'/%3E%3Cpath d='M5.500 5h13L21 13v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-5l2.500-8Z'/%3E%3C/svg%3E") center / 27px no-repeat; }
html.shell #npp-pc .main .empty b, html.shell #npp-sales .empty:not(.sm) b { display: block; margin-bottom: 5px; font: 800 17px/1.3 var(--u-f); color: #fff; }
html.shell #npp-pc .main .nores, html.shell #npp-sales .empty.sm { padding: 16px 12px; border-radius: 14px; background: rgba(255,255,255,.03); color: var(--u-dim); font: 500 14.5px/1.4 var(--u-f); text-align: center; }

/* a client's logo tile: white behind a color logo, dark behind an all-white one (as set on the client), its own zoom + place */
.ui-lg.has { position: relative; background: #fff; } .ui-lg.has.bg-d { background: #0c0f1d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); } .ui-lg.has.bg-c { background: var(--c, #2a3350); }
.ui-lg.has img { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; padding: 10%; object-fit: contain; background: none; transform-origin: center; }
.ui-lg.xs { width: 20px; height: 20px; border-radius: 6px; font-size: 8.5px; }
/* the pages stretch themselves to the window's full width on the website; inside the app's frame they stay between the side bar and the chat */
html.shell #npp-pc, html.shell #npp-sales { width: auto !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* placeholder rows while something loads (a page inside the app, the chat list) */
.ui-sk { position: absolute; z-index: 1; top: 16px; left: 14px; right: 14px; display: grid; gap: 10px; pointer-events: none; } .ui-sk.st { position: static; margin: 18px 14px; }
.ui-sk i { display: block; height: 64px; border-radius: 16px; background: var(--u-card); animation: uiSk .9s ease-in-out infinite alternate; } .ui-sk i.t { height: 42px; width: 62%; border-radius: 999px; }
.ui-sk i:nth-child(2) { animation-delay: .08s; } .ui-sk i:nth-child(3) { animation-delay: .16s; } .ui-sk i:nth-child(4) { animation-delay: .24s; } .ui-sk i:nth-child(5) { animation-delay: .32s; } .ui-sk i:nth-child(6) { animation-delay: .4s; }
@keyframes uiSk { from { opacity: .35; } to { opacity: .95; } } @media (prefers-reduced-motion: reduce) { .ui-sk i { animation: none; opacity: .6; } }
html.shell #npp-pc .appf iframe { transition: opacity .2s; } html.shell #npp-pc .appf.ui-loadf iframe { opacity: 0; }
@media (min-width: 900px) { .ui-sk { top: 22px; left: 26px; right: 26px; max-width: 900px; } }
/* v1.5: drag to rearrange (Menu tiles, the Add grid) */
.re-on .um-t, .re-on .ui-pb { touch-action: none; user-select: none; -webkit-user-select: none; animation: re-wig .9s ease-in-out infinite alternate; cursor: grab; }
.re-on .um-t:nth-child(2n), .re-on .ui-pb:nth-child(2n) { animation-delay: -.45s; }
.re-drag { animation: none !important; transform: scale(1.07) !important; z-index: 3; opacity: .92; box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.ui-pb.re-drag { box-shadow: none; }
@keyframes re-wig { from { transform: rotate(-1.1deg); } to { transform: rotate(1.1deg); } }
@media (prefers-reduced-motion: reduce) { .re-on .um-t, .re-on .ui-pb { animation: none; } }

/* NPP Pipeline app v1.4 · the Projects side, restyled for the app (the page's own styles stay underneath) */

/* ---------- cleaner type: sentence case, no spaced-out capitals ---------- */
html.shell #npp-pc *, html.shell #npp-sales *, html.shell .npl-adm *, html.shell #npp-apanel * { text-transform: none !important; letter-spacing: normal !important; }
html.shell #npp-pc .btn, html.shell #npp-sales .btn { font-weight: 700; font-size: 14px; }
html.shell #npp-pc .btn.sm, html.shell #npp-sales .btn.sm { font-size: 13.5px; }
html.shell #npp-pc .btn:active, html.shell #npp-sales .btn:active { transform: scale(.97); }
html.shell #npp-pc .lab, html.shell #npp-pc .fld > label, html.shell #npp-pc .ds-h h4 { font-size: 13px !important; font-weight: 700 !important; color: var(--u-dim) !important; }
html.shell #npp-pc .ds-h h4 { font-size: 16px !important; color: #fff !important; font-weight: 800 !important; }
html.shell #npp-pc .hint { font-size: 12.5px; }
html.shell #npp-pc .empty, html.shell #npp-pc .w0 { font-size: 14px !important; color: var(--u-dim) !important; }

/* ---------- the wall ---------- */
html.shell #npp-pc .wall-h, html.shell #npp-pc .wall-qa { display: none !important; }
html.shell #npp-pc .wc { padding: 14px 14px 10px; border-radius: 20px; border-color: var(--u-line); background: var(--u-card); margin-bottom: 12px; overflow: clip; }
html.shell #npp-pc .wc > h3 { position: sticky; top: calc(var(--sat) + var(--u-top) - 1px); z-index: 4; margin: -14px -14px 6px; padding: 13px 14px 9px; min-height: 22px; background: var(--u-card); border-radius: 20px 20px 0 0; font-size: 16px !important; font-weight: 800 !important; color: #fff !important; cursor: pointer; -webkit-user-select: none; user-select: none; }
html.shell #npp-pc .wc > h3 svg { width: 18px; height: 18px; color: var(--u-a2); flex: none; }
html.shell #npp-pc .wc > h3 em { font-size: 12.5px; font-weight: 700; padding: 2px 9px; }
html.shell #npp-pc .wc > h3::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--u-faint); border-bottom: 2px solid var(--u-faint); transform: rotate(45deg) translateY(-2px); transition: transform .18s; flex: none; }
html.shell #npp-pc .wc.ui-fold > h3 { margin-bottom: -10px; border-radius: 20px; } html.shell #npp-pc .wc.ui-fold > h3::after { transform: rotate(-45deg); }
html.shell #npp-pc .wc.ui-fold > :not(h3) { display: none !important; }
html.shell #npp-pc .wc .wk { margin: 14px 0 4px; font-size: 13px !important; font-weight: 700; color: var(--u-dim); }
html.shell #npp-pc .wc.ui-new > h3::before { content: ""; order: 5; width: 9px; height: 9px; border-radius: 50%; background: var(--u-a); flex: none; }
@media (max-width: 899px) {
  html.shell #npp-pc .wall-sum, html.shell #npp-pc .wstrip { display: none !important; }
  html.shell #npp-pc .wall-g2 { display: block !important; }
  html.shell #npp-pc .tk-add2 { display: none !important; }
  html.shell #npp-pc .tk-add:focus-within { border-radius: 14px !important; }
}
/* tasks: thumb-sized rows */
html.shell #npp-pc .tk-add { border-radius: 14px; background: rgba(0,0,0,.24); border-color: var(--u-line2); }
html.shell #npp-pc .tk-add1 { height: 50px; } html.shell #npp-pc .tk-add1 input { font-size: 16px !important; }
html.shell #npp-pc .tk { position: relative; align-items: flex-start; gap: 12px; min-height: 50px; padding: 11px 2px; border-radius: 14px; background: var(--u-card); -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
html.shell #npp-pc .tk + .tk { border-top: 1px solid var(--u-line); border-radius: 0; }
html.shell #npp-pc .tkc { width: 26px; height: 26px; margin-top: 1px; border-width: 2px; } html.shell #npp-pc .tkc svg { width: 14px; height: 14px; } html.shell #npp-pc .tkc::after { inset: -11px; }
html.shell #npp-pc .tk .tk-t { font-size: 15.5px; line-height: 1.3; font-weight: 600; }
html.shell #npp-pc .tk .tk-xs { gap: 6px; margin-top: 5px; } html.shell #npp-pc .tk .tkx { font-size: 12.5px; }
html.shell #npp-pc .tk.ui-held, html.shell #npp-pc .ui-held { background: var(--u-card2) !important; transform: scale(.985); transition: transform .12s; }
html.shell #npp-pc .tk .ui-grip { position: absolute; right: -6px; top: 6px; width: 34px; height: 38px; display: grid; place-items: center; color: var(--u-faint); touch-action: none; cursor: grab; }
html.shell #npp-pc .wall .tk:not(.done), html.shell #npp-pc .main .tk:not(.done) { padding-right: 30px; }
html.shell #npp-pc .tk.done .ui-grip, html.shell #npp-pc .drawer .tk .ui-grip { display: none; }
html.shell #npp-pc .tk.ui-drag { z-index: 6; background: var(--u-card2); box-shadow: 0 12px 34px rgba(0,0,0,.5); border-radius: 14px; border-top-color: transparent; }
html.shell #npp-pc .tk .ui-tkchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--u-dim); font: 600 12.5px/1.3 var(--u-f); }
html.shell #npp-pc .tk .ui-tkchip svg { width: 13px; height: 13px; } html.shell #npp-pc .tk .ui-tkchip.all { color: var(--u-ok); }
html.shell #npp-pc .tk .ui-dot { position: absolute; top: 8px; left: -7px; width: 8px; height: 8px; border-radius: 50%; background: var(--u-a); }
html.shell #npp-pc .tk-ed { min-height: 46px; align-items: center; } html.shell #npp-pc .tk-ed .tk-edn { font-size: 14.5px; }
/* swipe */
.ui-swbg { position: absolute; z-index: 1; display: flex; align-items: center; color: #fff; font: 800 14px var(--u-f); border-radius: 14px; pointer-events: none; }
.ui-swbg span { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; transition: transform .12s; } .ui-swbg.l { justify-content: flex-end; } .ui-swbg.go span { transform: scale(1.12); }
/* select several */
html.ui-select #npp-pc .tk .tkc { border-radius: 8px; } html.ui-select #npp-pc .tk.ui-on .tkc { background: var(--u-a); border-color: var(--u-a); color: #fff; }
html.ui-select #npp-pc .tk .ui-grip { visibility: hidden; }
#ui-selbar { position: fixed; z-index: 9002; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px calc(var(--sar) + 12px) calc(var(--sab) + 10px) calc(var(--sal) + 14px); background: var(--u-bg2); border-top: 1px solid var(--u-line2); font: 700 15px var(--u-f); color: #fff; animation: uiUp .2s ease; }
#ui-selbar b { flex: 1; min-width: 0; } #ui-selbar .ui-btn { flex: none; min-height: 44px; padding: 0 14px; }
@media (min-width: 900px) { #ui-selbar { left: var(--u-sidew); } }

/* ---------- the app's own wall sections: needs you · the next 7 days · pinned ---------- */
.uw { font-family: var(--u-f); color: #fff; margin: 0 0 12px; }
.uw-h { display: flex; align-items: center; gap: 8px; margin: 4px 2px 8px; font: 800 16px var(--u-f); } .uw-h em { font-style: normal; padding: 2px 9px; border-radius: 999px; background: rgba(255,107,107,.2); color: #ffb3b3; font-size: 12.5px; }
.uw-need { display: grid; gap: 8px; }
.uw-n { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; box-sizing: border-box; padding: 9px 12px; border: 1px solid var(--u-line); border-left: 4px solid var(--u-warn); border-radius: 16px; background: var(--u-card); color: #fff; font: 600 15px/1.3 var(--u-f); text-align: left; cursor: pointer; }
.uw-n.bad { border-left-color: var(--u-bad); } .uw-n.info { border-left-color: var(--u-a); } .uw-n span { flex: 1; min-width: 0; } .uw-n small { display: block; margin-top: 2px; color: var(--u-dim); font: 500 13px/1.3 var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .uw-n > svg { flex: none; color: var(--u-faint); }
.uw-n:active { background: var(--u-card2); }
.uw-ok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(60,207,134,.09); border: 1px solid rgba(60,207,134,.22); color: #b9f3d6; font: 600 14.5px var(--u-f); } .uw-ok svg { flex: none; }
.uw-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.uw-d { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 0 9px; min-height: 68px; border: 1px solid var(--u-line); border-radius: 15px; background: var(--u-card); color: #fff; font-family: var(--u-f); cursor: pointer; }
.uw-d small { color: var(--u-dim); font: 600 11.5px/1 var(--u-f); } .uw-d b { font: 800 18px/1.1 var(--u-f); } .uw-d.now { background: var(--u-a); border-color: var(--u-a); } .uw-d.now small { color: rgba(255,255,255,.9); } .uw-d.wknd:not(.now) { background: transparent; } .uw-d.off:not(.now) b { color: var(--u-faint); }
.uw-d i { display: flex; gap: 3px; height: 7px; align-items: center; } .uw-d i u { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--u-a2)); text-decoration: none; } .uw-d i u.sh { border-radius: 2px; background: #ffcf4d; } .uw-d i u.dk { background: rgba(255,255,255,.55); } .uw-d i u.due { background: var(--u-bad); } .uw-d i u.out { background: #9aa3ba; border-radius: 2px; } .uw-d.now i u.dk { background: #fff; }
.uw-d:active { transform: scale(.95); }
.uw-pins { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 2px; } .uw-pins::-webkit-scrollbar { display: none; }
.uw-pin { flex: none; display: inline-flex; align-items: center; gap: 9px; max-width: 230px; min-height: 48px; padding: 5px 14px 5px 6px; border: 1px solid var(--u-line); border-radius: 999px; background: var(--u-card); color: #fff; font: 700 14px/1.2 var(--u-f); text-align: left; cursor: pointer; }
.uw-pin span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .uw-pin small { display: block; color: var(--u-dim); font: 500 12px var(--u-f); overflow: hidden; text-overflow: ellipsis; }
/* a day's list (sheet) */
.ud-i { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 4px; border-bottom: 1px solid var(--u-line); color: #fff; font: 600 15px/1.3 var(--u-f); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; }
.ud-i:last-child { border-bottom: 0; } .ud-i span { flex: 1; min-width: 0; } .ud-i small { display: block; margin-top: 2px; color: var(--u-dim); font: 500 13px var(--u-f); } .ud-i > i.ui-ico { --u-a: var(--c, #29abe2); }
.ud-i em { flex: none; font-style: normal; color: var(--u-dim); font-size: 13px; }

/* ---------- filter chips on the long lists ---------- */
.ui-fchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 12px; padding: 2px 14px; position: sticky; top: calc(var(--sat) + var(--u-top)); z-index: 5; background: var(--u-bg); } .ui-fchips::-webkit-scrollbar { display: none; }
.ui-fchips .ui-chip { flex: none; min-height: 36px; font-size: 13.5px; } .ui-fchips .ui-chip em { font-style: normal; opacity: .7; }
html.shell .ui-fhide { display: none !important; }

/* ---------- the pages' own pop-ups: bottom sheets on phones, Save always in reach ---------- */
@media (max-width: 899px) {
  html.shell #npp-pc .modal { padding: calc(var(--sat) + 12px) 0 0 !important; display: none; flex-direction: column; justify-content: flex-end; align-items: stretch !important; place-items: unset !important; overflow: hidden !important; background: rgba(4,6,14,.62); }
  html.shell #npp-pc .modal.open { display: flex !important; animation: uiFade .18s ease; }
  html.shell #npp-pc .modal > .mbox { position: relative; width: 100% !important; max-width: 100% !important; margin: 0 !important; box-sizing: border-box; max-height: calc(100dvh - var(--sat) - 12px) !important; border-radius: 24px 24px 0 0 !important; border-bottom: 0 !important; padding: 30px 16px calc(var(--sab) + 16px) !important; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; animation: uiUp .28s cubic-bezier(.2,.85,.25,1); background: var(--u-bg2); }
  html.shell #npp-pc .modal > .mbox::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255,255,255,.26); }
  html.shell #npp-pc .modal > .mbox.gpk, html.shell #npp-pc .modal > .mbox.gcl { max-height: none !important; height: calc(100dvh - var(--sat) - 12px) !important; padding-bottom: 0 !important; }
  html.shell #npp-pc .mbox * { max-width: 100%; box-sizing: border-box; }
  html.shell #npp-pc .mbox h4 { font-size: 20px !important; font-weight: 800 !important; padding-right: 0; }
  html.shell #npp-pc .mbox > .sub, html.shell #npp-pc .mbox > div > .sub { font-size: 14px; color: var(--u-dim); }
  /* Save / Cancel: pinned to the bottom of the sheet */
  html.shell #npp-pc .modal > .mbox:not(.gpk):not(.gcl) > .row:last-child, html.shell #npp-pc .modal > .mbox:not(.gpk):not(.gcl) > div:not(.row) > .row:last-child, html.shell #npp-pc .modal > .mbox > form > .row:last-child { position: sticky; bottom: calc(-1 * (var(--sab) + 16px)); z-index: 3; display: flex; gap: 10px; margin: 16px -16px calc(-1 * (var(--sab) + 16px)); padding: 12px 16px calc(var(--sab) + 12px); background: var(--u-bg2); border-top: 1px solid var(--u-line); }
  html.shell #npp-pc .modal > .mbox .row:last-child > .btn { flex: 1; min-height: 48px; justify-content: center; border-radius: 14px; font-size: 15px; }
  html.shell #npp-pc .modal > .mbox:not(.gpk):not(.gcl) > .row:last-child, html.shell #npp-pc .modal > .mbox:not(.gpk):not(.gcl) > div:not(.row) > .row:last-child, html.shell #npp-pc .modal > .mbox > form > .row:last-child { width: auto !important; max-width: none !important; box-sizing: border-box; }
  html.ui-kbv #npp-pc .modal > .mbox { max-height: calc(var(--vvh, 100dvh) - var(--sat) - 12px) !important; }
  html.ui-kbv #npp-pc .modal { height: var(--vvh, 100dvh); }
  /* little pop-overs become sheets too */
  html.shell #npp-pc .pop { position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box; max-height: 76dvh; overflow-y: auto; border-radius: 24px 24px 0 0 !important; padding: 26px 16px calc(var(--sab) + 16px) !important; background: var(--u-bg2) !important; border: 1px solid var(--u-line2) !important; border-bottom: 0 !important; box-shadow: 0 -20px 60px rgba(0,0,0,.6), 0 0 0 100vmax rgba(4,6,14,.55) !important; animation: uiUp .24s cubic-bezier(.2,.85,.25,1); transform: none !important; }
  html.shell #npp-pc .pop::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255,255,255,.26); }
  html.shell #npp-pc .pop button, html.shell #npp-pc .pop .opt { min-height: 46px; font-size: 15px; }
}
html.shell input[type="date"], html.shell input[type="time"], html.shell input[type="datetime-local"], html.shell input[type="month"] { -webkit-appearance: none; appearance: none; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; text-align: left; }
html.shell input::-webkit-date-and-time-value { text-align: left; }
html.shell #npp-pc input, html.shell #npp-pc select, html.shell #npp-pc textarea, html.shell #npp-sales input, html.shell #npp-sales select, html.shell #npp-sales textarea { font-size: 16px; }   /* iPhones zoom the page in on anything smaller */

/* ---------- a project opens as its own page (phones) ---------- */
@media (max-width: 899px) {
  html.shell #npp-pc .scrim { display: none !important; }
  html.shell #npp-pc .drawer { top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; height: auto !important; max-width: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; transform: translateX(100%) !important; opacity: 1 !important; transition: transform .26s cubic-bezier(.2,.85,.25,1) !important; background: var(--u-bg) !important; }
  html.shell #npp-pc .drawer.open { transform: none !important; }
  html.shell #npp-pc .drawer .dh { padding-top: calc(var(--sat) + 8px) !important; background: var(--u-bg) !important; border-bottom: 1px solid var(--u-line); }
}

/* ---------- a task, opened ---------- */
.ui-task .ut-top { display: flex; align-items: flex-start; gap: 12px; }
.ui-task .ut-done { flex: none; width: 34px; height: 34px; margin-top: 8px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; background: none; color: transparent; cursor: pointer; }
.ui-task .ut-done.on { background: var(--u-ok); border-color: var(--u-ok); color: #0c0f1d; }
.ui-task textarea.ui-in { font-weight: 600; }
.ui-task .ut-by { margin: 8px 2px 0; color: var(--u-dim); font: 500 13px var(--u-f); }
.ui-task .ut-und { display: flex; align-items: center; gap: 7px; margin: 8px 2px 0; color: var(--u-a2); font: 700 13.5px var(--u-f); } .ui-task .ut-und[hidden] { display: none; }
.ui-task .ut-cl { display: grid; gap: 2px; border: 1px solid var(--u-line); border-radius: 14px; padding: 4px 6px; background: rgba(0,0,0,.18); }
.ui-task .ut-ck { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.ui-task .ut-ck > button:first-child, .ui-task .ut-ck > span { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.3); border-radius: 8px; background: none; color: transparent; cursor: pointer; padding: 0; }
.ui-task .ut-ck.add > span { border-style: dashed; color: var(--u-faint); }
.ui-task .ut-ck.on > button:first-child { background: var(--u-a); border-color: var(--u-a); color: #fff; } .ui-task .ut-ck.on .ut-ci { text-decoration: line-through; color: var(--u-dim); }
.ui-task .ut-ci { flex: 1; min-width: 0; height: 40px; border: 0; background: none; color: #fff; font: 500 16px var(--u-f); outline: 0; }
.ui-task .ut-cx { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--u-faint); cursor: pointer; }
.ui-task .ut-more { margin-top: 14px; border-top: 1px solid var(--u-line); } .ui-task .ut-more > summary { list-style: none; display: flex; align-items: center; min-height: 48px; color: var(--u-a2); font: 700 15px var(--u-f); cursor: pointer; } .ui-task .ut-more > summary::-webkit-details-marker { display: none; }
.ui-task .ut-more > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; } .ui-task .ut-more[open] > summary::after { transform: rotate(-135deg); }
.ui-task .ui-sw { margin-top: 8px; }

/* ---------- Schedule on a phone ---------- */
.usc { font-family: var(--u-f); color: #fff; }
.usc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .usc-top .ui-seg { flex: 1; max-width: 220px; } .usc-top .ui-chip { margin-left: auto; padding: 0 12px 0 5px; }
.usc-nav { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; } .usc-nav b { flex: 1; text-align: center; font: 800 17px var(--u-f); } .usc-nav .ui-chip { min-height: 34px; }
.usc-wk .uw-d.tdy:not(.now) b { color: var(--u-a2); } .usc-wk .uw-d.tdy:not(.now) { border-color: color-mix(in srgb, var(--u-a) 55%, transparent); }
.usc-dh { display: flex; align-items: center; gap: 8px; margin: 16px 2px 6px; } .usc-dh b { font: 800 18px var(--u-f); } .usc-dh small { flex: 1; color: var(--u-dim); font: 500 13.5px var(--u-f); }
.usc-day { border: 1px solid var(--u-line); border-radius: 18px; background: var(--u-card); padding: 2px 12px; min-height: 80px; }
.ui-sh .usc-day { border: 0; background: none; padding: 0; }
.usc-hol { display: flex; align-items: center; gap: 8px; padding: 10px 2px; color: var(--u-warn); font: 700 14px var(--u-f); border-bottom: 1px solid var(--u-line); }
.usc-p { padding: 8px 0 2px; border-bottom: 1px solid var(--u-line); } .usc-p:last-child { border-bottom: 0; }
.usc-ph { display: flex; align-items: center; gap: 8px; padding: 4px 0; } .usc-ph b { font: 700 15px var(--u-f); } .usc-ph small { margin-left: auto; color: var(--u-dim); font: 500 13px var(--u-f); }
.usc-p .ud-i { padding-left: 34px; min-height: 48px; } .usc-p .ud-i .ui-ico, .usc-p .ud-i .ui-lg { width: 32px; height: 32px; border-radius: 10px; font-size: 11px; }
.ucal { border: 1px solid var(--u-line); border-radius: 16px; overflow: hidden; background: var(--u-card); }
.ucal-h { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 8px 0 6px; color: var(--u-dim); font: 700 12px var(--u-f); text-align: center; border-bottom: 1px solid var(--u-line); }
.ucal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ucal-d { display: flex; flex-direction: column; align-items: stretch; gap: 2px; min-height: calc((100dvh - var(--sat) - var(--sab) - var(--u-top) - var(--u-bar) - 190px) / 6); min-width: 0; padding: 4px 1px 3px; border: 0; border-right: 1px solid var(--u-line); border-bottom: 1px solid var(--u-line); background: none; color: #fff; font-family: var(--u-f); cursor: pointer; overflow: hidden; text-align: left; }
.ucal-d:nth-child(7n) { border-right: 0; } .ucal-d.wknd { background: rgba(255,255,255,.018); } .ucal-d.oth b { color: var(--u-faint); } .ucal-d.oth span { opacity: .55; }
.ucal-d b { align-self: center; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 600 12.5px var(--u-f); } .ucal-d.now b { background: var(--u-a); color: #fff; font-weight: 800; }
.ucal-d span { display: block; height: 16px; padding: 0 3px; border-radius: 4px; background: var(--c, #3b6fd9); color: #fff; font: 600 10px/16px var(--u-f); white-space: nowrap; overflow: hidden; }
.ucal-d span.sh { background: #f0b429; color: #1c1503; } .ucal-d span.due { background: none; box-shadow: inset 0 0 0 1px var(--u-bad); color: #ffb3b3; } .ucal-d span.out { background: #4b556e; } .ucal-d span.hol { background: none; color: var(--u-warn); } .ucal-d span.tk2 { background: rgba(255,255,255,.1); color: var(--u-dim); } .ucal-d span.mt { background: #6c5ce7; }
.ucal-d small { padding: 0 3px; color: var(--u-dim); font: 600 10px var(--u-f); } .ucal-d:active { background: rgba(255,255,255,.06); }

/* ---------- a shoot day ---------- */
.ui-shoot .ui-sh-h h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .ui-shoot .ui-sh-h h3 small { flex: 1 1 100%; margin: 0; }
.ush-when { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--u-line); } .ush-when > svg { flex: none; color: var(--u-a2); } .ush-when span { flex: 1; min-width: 0; } .ush-when b { display: block; font: 700 15.5px/1.3 var(--u-f); } .ush-when small { display: block; margin-top: 2px; color: var(--u-dim); font: 500 13.5px/1.3 var(--u-f); }
.ush-wx { padding: 12px 14px; margin: 12px 0 4px; border-radius: 16px; background: linear-gradient(135deg, rgba(41,171,226,.16), rgba(41,171,226,.05)); border: 1px solid rgba(41,171,226,.25); } .ush-wx b { display: flex; align-items: center; gap: 8px; font: 800 16px var(--u-f); } .ush-wx small { display: block; margin-top: 4px; color: var(--u-dim); font: 500 13.5px/1.4 var(--u-f); }
.ush-dim { color: var(--u-dim); font: 500 14px var(--u-f); margin: 0; } .ush-txt { margin: 0; color: rgba(255,255,255,.88); font: 500 15px/1.5 var(--u-f); white-space: pre-wrap; }
.ush-acts { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; padding: 14px 0 4px !important; } .ush-acts .ui-pb i { width: 54px; height: 54px; } .ush-acts .ui-pb { font-size: 12.5px; }
.ush-crew { display: flex; flex-wrap: wrap; gap: 10px 16px; } .ush-crew span { display: grid; justify-items: center; gap: 3px; min-width: 56px; } .ush-crew b { font: 700 13.5px var(--u-f); } .ush-crew small { color: var(--u-dim); font: 500 12px var(--u-f); }
.ush-gear { display: flex; flex-wrap: wrap; gap: 6px; } .ush-gear span { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.07); font: 600 13.5px var(--u-f); } .ush-gear span.out { background: rgba(60,207,134,.16); color: #b9f3d6; }
html.shell #npp-pc .scards .sc { cursor: pointer; }

/* ---------- the project board ---------- */
.ubd { font-family: var(--u-f); color: #fff; } .ubd-tabs { margin-bottom: 10px; }
.ubd-h { display: flex; align-items: baseline; gap: 8px; margin: 2px 2px 10px; } .ubd-h b { font: 800 19px var(--u-f); } .ubd-h small { color: var(--u-dim); font: 500 13.5px var(--u-f); }
.ubd-c { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 76px; margin-bottom: 8px; padding: 12px; border: 1px solid var(--u-line); border-radius: 18px; background: var(--u-card); color: #fff; font-family: var(--u-f); text-align: left; cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.ubd-c:active, .ubd-c.ui-held { background: var(--u-card2); transform: scale(.985); } .ubd-c > span { flex: 1; min-width: 0; } .ubd-c b { display: block; font: 700 16px/1.25 var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ubd-c small { display: block; margin-top: 2px; color: var(--u-dim); font: 500 13.5px var(--u-f); }
.ubd-c em { display: flex; align-items: center; gap: 5px; margin-top: 7px; font-style: normal; } .ubd-c em u { margin-right: auto; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--u-dim); font: 600 12.5px var(--u-f); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ubd-c em u.over { background: rgba(255,107,107,.18); color: #ffb3b3; } .ubd-c em u.today, .ubd-c em u.soon { background: rgba(255,182,72,.16); color: #ffd79a; }
.ubd-c .ui-av.s + .ui-av.s { margin-left: -9px; box-shadow: 0 0 0 2px var(--u-card); }
.ubd-hint { margin: 10px 0 0; text-align: center; color: var(--u-faint); font: 500 12.5px var(--u-f); }
.ubd-all { display: flex; gap: 14px; overflow-x: auto; align-items: flex-start; padding-bottom: 12px; } .ubd-all .ubd-col { flex: 0 0 290px; padding: 12px; border-radius: 20px; background: rgba(255,255,255,.025); border: 1px solid var(--u-line); } .ubd-all .ubd-c { background: var(--u-card); }
.ui-ring { flex: none; }

/* ---------- the Today board ---------- */
.utd-l { display: grid; gap: 8px; }
.utd-r { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 62px; padding: 10px 12px; border: 1px solid var(--u-line); border-radius: 16px; background: var(--u-card); color: #fff; font-family: var(--u-f); text-align: left; cursor: pointer; }
.utd-r > span { flex: 1; min-width: 0; } .utd-r b { font: 700 15.5px var(--u-f); } .utd-r b i { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--u-a) 22%, transparent); color: var(--u-a2); font: 700 11.5px var(--u-f); font-style: normal; }
.utd-r em { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; font-style: normal; } .utd-r em u { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c, #8fd9f7) 24%, transparent); color: #fff; font: 600 12.5px var(--u-f); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.utd-r em u.sh { background: rgba(240,180,41,.2); color: #ffd98a; } .utd-r em u.out { background: rgba(255,255,255,.1); color: var(--u-dim); } .utd-r em u.open { background: none; padding-left: 0; color: var(--u-faint); }
.utd-r > small { flex: none; text-align: right; color: var(--u-dim); font: 600 12.5px/1.4 var(--u-f); }
@media (min-width: 900px) { .utd-l { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } .uw-wk { max-width: 620px; } .uw-need { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }

/* ---------- list polish ---------- */
.ui-pl { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; margin: 0 6px; } .ui-pl i { width: 14px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.14); } .ui-pl i.on { background: color-mix(in srgb, var(--u-a) 55%, transparent); } .ui-pl i.cur { background: var(--u-a); box-shadow: 0 0 0 2px color-mix(in srgb, var(--u-a) 25%, transparent); }
html.shell #npp-pc .rv-m .ui-pl { display: flex; margin: 8px 0 2px; } html.shell #npp-pc .rv-m .ui-pl i { flex: 1; max-width: 46px; height: 6px; }
html.shell #npp-pc .wbx-b .ui-pl { order: 2; }
html.shell #npp-pc .prog.ui-rg { display: flex; align-items: center; gap: 8px; } html.shell #npp-pc .prog.ui-rg > i { display: none; } html.shell #npp-pc .prog.ui-rg span { font-size: 12.5px; color: var(--u-dim); }
html.shell #npp-pc .rv-v.ui-th { background-size: cover !important; background-position: center !important; }
html.shell #npp-pc .cut-h .ui-cth { flex: none; width: 58px; height: 34px; border-radius: 8px; background: #000 center / cover; margin-right: 4px; }
html.shell #npp-pc .cut-h .ui-pl { margin-left: auto; }
html.shell #npp-pc .ui-lg.s { vertical-align: middle; margin-right: 4px; }
@media (max-width: 899px) {
  html.shell #npp-pc .pj { border-radius: 20px; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 14px 14px 14px 10px; align-items: start; } html.shell #npp-pc .pj .grip { display: none; }
  html.shell #npp-pc .pj > .mv { grid-column: 1; grid-row: 1 / span 2; align-self: center; } html.shell #npp-pc .pj > .pj-m { grid-column: 2; grid-row: 1; min-width: 0; } html.shell #npp-pc .pj > .pj-r { grid-column: 2; grid-row: 2; justify-content: space-between; min-width: 0; }
  html.shell #npp-pc .pj .mv button { width: 34px; height: 34px; } html.shell #npp-pc .pj .pj-c { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13.5px; } html.shell #npp-pc .pj .pj-t { font-size: 18px; line-height: 1.25; }
  html.shell #npp-pc .sec-t { font-size: 13px !important; color: var(--u-dim) !important; font-weight: 700 !important; }
  html.shell #npp-pc .sec-t span { display: none; }
}

/* ---------- a project's own page ---------- */
.uqa { display: flex; align-items: flex-start; gap: 4px; padding: 14px 0 6px; overflow-x: auto; scrollbar-width: none; font-family: var(--u-f); } .uqa::-webkit-scrollbar { display: none; }
.uqa-b { flex: none; display: grid; justify-items: center; gap: 6px; width: 59px; border: 0; background: none; color: #fff; font: 600 12.5px var(--u-f); cursor: pointer; padding: 0; }
.uqa-b i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--cc, var(--u-a)) 18%, var(--u-card)); border: 1px solid var(--u-line2); color: #fff; } .uqa-b.on i { background: var(--u-a); border-color: var(--u-a); } .uqa-b:active i { transform: scale(.93); }
.uqa-r { margin-left: auto; flex: none; display: grid; justify-items: center; gap: 4px; padding: 3px 4px 0 8px; } .uqa-r small { color: var(--u-dim); font: 600 12px var(--u-f); white-space: nowrap; }
.utabs { position: sticky; top: 0; z-index: 6; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 10px; padding: 8px 16px; background: var(--u-bg); border-bottom: 1px solid var(--u-line); } .utabs::-webkit-scrollbar { display: none; } .utabs .ui-chip { flex: none; min-height: 36px; font-size: 13.5px; }
.utl-l { position: relative; display: grid; gap: 0; padding: 4px 0 4px 6px; }
.utl-i { position: relative; display: flex; gap: 14px; padding: 0 0 16px 0; } .utl-i:last-child { padding-bottom: 2px; }
.utl-i::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: -2px; width: 2px; background: rgba(255,255,255,.12); } .utl-i:last-child::before { display: none; } .utl-i.done::before { background: color-mix(in srgb, var(--u-ok) 55%, transparent); }
.utl-i i { position: relative; flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); background: var(--u-bg); box-sizing: border-box; } .utl-i.done i { background: var(--u-ok); border-color: var(--u-ok); } .utl-i.next i { border-color: var(--u-a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--u-a) 25%, transparent); } .utl-i.sh i { border-radius: 4px; }
.utl-i span { flex: 1; min-width: 0; } .utl-i b { display: block; font: 700 14.5px/1.3 var(--u-f); color: #fff; } .utl-i:not(.done):not(.next) b { color: rgba(255,255,255,.75); } .utl-i small { display: block; margin-top: 1px; color: var(--u-dim); font: 500 13px var(--u-f); }
@media (max-width: 899px) {
  html.shell #npp-pc .drawer .dh-top { gap: 10px; } html.shell #npp-pc .drawer .dh-top .x { order: -1; width: 40px; height: 40px; font-size: 0 !important; background: none; border: 0; } html.shell #npp-pc .drawer .dh-top .x::before { content: ""; display: block; width: 11px; height: 11px; margin: 0 auto; border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff; transform: rotate(45deg) translate(2px, -2px); }
  html.shell #npp-pc .drawer .db { padding-left: 16px !important; padding-right: 16px !important; padding-bottom: calc(var(--sab) + 110px) !important; }
}

/* Drive backups: a light for each copy */
.ubk { padding: 0 14px; } .ubk-r { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 62px; margin-bottom: 8px; padding: 10px 12px; border: 1px solid var(--u-line); border-left: 4px solid var(--u-ok); border-radius: 16px; background: var(--u-card); color: #fff; font-family: var(--u-f); text-align: left; cursor: pointer; }
.ubk-r.r { border-left-color: var(--u-bad); } .ubk-r.y { border-left-color: var(--u-warn); } .ubk-r > span { flex: 1; min-width: 0; } .ubk-r b { display: block; font: 700 15px/1.25 var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ubk-r small { display: block; margin-top: 2px; color: var(--u-dim); font: 500 13px var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ubk-r em { flex: none; display: grid; grid-template-columns: auto auto; align-items: center; gap: 3px 6px; font-style: normal; color: var(--u-dim); font: 600 12px var(--u-f); } .ubk-r em i { width: 11px; height: 11px; border-radius: 50%; background: var(--u-bad); } .ubk-r em i.g { background: var(--u-ok); }
.ubk-ok summary { list-style: none; padding: 8px 2px 10px; color: var(--u-dim); font: 700 13.5px var(--u-f); cursor: pointer; } .ubk-ok summary::-webkit-details-marker { display: none; }
@media (min-width: 900px) { .ubk { padding: 0 26px; max-width: 760px; } }

/* the Team page's own fold-away cards (closed until tapped): the same arrow as every other card */
@media (max-width: 900px) {
  html.shell #npp-pc .wc.tw-fold > h3 { padding-right: 14px; } html.shell #npp-pc .wc.tw-fold > h3::after { position: static; margin: 0 0 0 auto; width: 9px; height: 9px; border-radius: 0; background: none; border-right: 2px solid var(--u-faint); border-bottom: 2px solid var(--u-faint); transform: rotate(-45deg); }
  html.shell #npp-pc .wc.tw-fold.open > h3::after { transform: rotate(45deg) translateY(-2px); } html.shell #npp-pc .wc.tw-fold:not(.open) > h3 { margin-bottom: -10px; }
}
/* Edits: the client's logo beside the edit's name */
html.shell #npp-pc .rv-t.ui-rvt { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; text-align: left; } html.shell #npp-pc .rv-t.ui-rvt > .ui-lg { grid-row: 1 / span 2; width: 36px; height: 36px; margin: 0; border-radius: 10px; font-size: 12px; }

html.shell #npp-pc .tkbar { display: block; } html.shell #npp-pc .tkbar h3 { margin: 0 0 10px; font: 800 19px var(--u-f); } html.shell #npp-pc .tkbar .utw { margin-bottom: 4px; }

/* Social: Approvals | 245 Miles review */
html.shell #npp-pc .usoc { margin: 4px 14px 12px; position: relative; z-index: 6; }
html.shell[data-usoc="a"] #npp-pc .socf { display: none !important; }
html.shell[data-usoc="f"] #npp-pc .main > .wrap, html.shell #npp-pc .usoc[hidden] { display: none !important; }
html.shell[data-usoc="f"] #npp-pc .socf { position: fixed; z-index: 4; margin: 0; top: calc(var(--sat) + var(--u-top) + 62px); bottom: calc(var(--sab) + var(--u-bar)); left: calc(var(--sal) + var(--u-sidew)); right: calc(var(--sar) + var(--u-dock)); background: var(--u-bg); }
html.shell[data-usoc="f"] #npp-pc .socf > .sec-t { display: none !important; } html.shell[data-usoc="f"] #npp-pc .socf iframe { display: block; width: 100%; height: 100% !important; min-height: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
@media (min-width: 900px) { html.shell #npp-pc .usoc { max-width: 420px; margin-left: 26px; } }

.ubd-all .ubd-col { flex: 0 0 300px; width: 300px; min-width: 0; box-sizing: border-box; } .ubd-all .ubd-c { min-width: 0; } .ubd-all .ubd-c > span { min-width: 0; } .ubd-all .ubd-c b { white-space: normal; overflow-wrap: anywhere; }
/* the wall's two columns: even halves when there isn't much room (a tablet on its side, or chat open beside the page) */
@media (min-width: 900px) and (max-width: 1179px) { html.shell #npp-pc .wall-g2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
@media (min-width: 900px) and (max-width: 1699px) { html.shell.nc-on #npp-pc .wall-g2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
/* the project page's quick actions always fit the row (the ring keeps its place at the end) */
.uqa { gap: 2px; } .uqa-b { flex: 1 1 0; width: auto; min-width: 50px; max-width: 76px; } .uqa-r { padding: 3px 0 0 4px; }
/* the Team page on a phone or a tablet: every block the full width (it was hugging the left on wider screens) */
@media (max-width: 900px) { html.shell #npp-pc .wall.team { align-items: stretch; } html.shell #npp-pc .wall.team > * { max-width: none; } }

/* NPP Pipeline app v1.4 · the Sales side, restyled for the app */
html.shell #npp-sales #sp-stats, html.shell #npp-sales #sp-gd, html.shell #npp-sales .top .gdrow { display: none !important; }
html.shell #npp-sales .card { border-radius: 20px; border-color: var(--u-line); }
html.shell #npp-sales .card-h h3 { font-size: 16px !important; font-weight: 800 !important; color: #fff !important; white-space: nowrap; }
html.shell #npp-sales .card-h h3 em { font-size: 12.5px; }
html.shell #npp-sales .tool h2 { font-size: 20px !important; }
html.shell #npp-sales .tool .muted, html.shell #npp-sales .card-h .hint { font-size: 13px; }
html.shell #npp-sales .btn.sm { min-height: 38px; }
html.shell #npp-sales .back { display: none !important; }   /* the arrow is in the app's top bar */

/* numbers as cards you swipe through (Money, Invoices, a client, Insights) */
html.shell #npp-sales .kpis, html.shell #npp-sales .ixk { display: flex !important; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -14px 14px; padding: 2px 14px 4px; }
html.shell #npp-sales .kpis::-webkit-scrollbar, html.shell #npp-sales .ixk::-webkit-scrollbar { display: none; }
html.shell #npp-sales .kpis .kpi, html.shell #npp-sales .ixk .ixk-t { flex: 0 0 auto; min-width: 148px; max-width: 220px; scroll-snap-align: start; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--u-line); background: var(--u-card); text-align: left; }
html.shell #npp-sales .kpis .kpi small, html.shell #npp-sales .ixk .ixk-t small { display: block; font-size: 13px !important; font-weight: 600; color: var(--u-dim); }
html.shell #npp-sales .kpis .kpi b, html.shell #npp-sales .ixk .ixk-t b { display: block; margin: 6px 0 4px; font-size: 26px !important; font-weight: 800; line-height: 1.05; color: #fff; }
html.shell #npp-sales .kpis .kpi em { display: block; font-style: normal; font-size: 12.5px; color: var(--u-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.shell #npp-sales .ixk .ixk-t.on { border-color: var(--u-a); background: color-mix(in srgb, var(--u-a) 14%, var(--u-card)); }
@media (min-width: 900px) { html.shell #npp-sales .kpis, html.shell #npp-sales .ixk { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; } }

@media (max-width: 899px) {
  html.shell #npp-sales .tool { gap: 8px; } html.shell #npp-sales .tool .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; } html.shell #npp-sales .tool .chips::-webkit-scrollbar { display: none; } html.shell #npp-sales .tool .chips .chip { flex: none; min-height: 38px; }
  html.shell #npp-sales #sp-main > .tool .hint, html.shell #npp-sales #sp-main > .tool .muted, html.shell #npp-sales #sp-main .card-h .hint, html.shell #npp-sales #sp-main > p.hint { display: none !important; }
  html.shell #npp-sales .cols { display: block !important; } html.shell #npp-sales .ntop { display: block !important; } html.shell #npp-sales .ntop > div { margin-bottom: 12px; }
  /* pop-ups slide up; Save stays in reach */
  html.shell #npp-sales .modal { padding: calc(var(--sat) + 12px) 0 0 !important; flex-direction: column; justify-content: flex-end; align-items: stretch !important; overflow: hidden !important; background: rgba(4,6,14,.62) !important; }
  html.shell #npp-sales .modal.open { display: flex !important; animation: uiFade .18s ease; }
  html.shell #npp-sales .modal > .mbox { position: relative; width: 100% !important; max-width: 100% !important; min-height: 0 !important; margin: 0 !important; box-sizing: border-box; max-height: calc(100dvh - var(--sat) - 12px) !important; border: 1px solid var(--u-line2) !important; border-bottom: 0 !important; border-radius: 24px 24px 0 0 !important; padding: 30px 16px calc(var(--sab) + 16px) !important; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--u-bg2) !important; animation: uiUp .28s cubic-bezier(.2,.85,.25,1); }
  html.shell #npp-sales .modal > .mbox::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255,255,255,.26); }
  html.shell #npp-sales .mbox > .x { top: 18px !important; right: 12px !important; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 0; }
  html.shell #npp-sales .mbox * { max-width: 100%; box-sizing: border-box; } html.shell #npp-sales .mbox h4 { font-size: 20px !important; font-weight: 800 !important; padding-right: 44px; }
  html.shell #npp-sales .mbox > p.sub { display: none; }
  html.shell #npp-sales .mbox .mfoot { position: sticky; bottom: calc(-1 * (var(--sab) + 16px)); z-index: 3; margin: 16px -16px calc(-1 * (var(--sab) + 16px)); padding: 12px 16px calc(var(--sab) + 12px); background: var(--u-bg2); border-top: 1px solid var(--u-line); flex-wrap: nowrap; width: auto !important; max-width: none !important; box-sizing: border-box; }
  html.shell #npp-sales .mbox .mfoot .btn { flex: 1; min-height: 48px; justify-content: center; border-radius: 14px; font-size: 15px; } html.shell #npp-sales .mbox .mfoot .grow { display: none; }
  html.ui-kbv #npp-sales .modal { height: var(--vvh, 100dvh); } html.ui-kbv #npp-sales .modal > .mbox { max-height: calc(var(--vvh, 100dvh) - var(--sat) - 12px) !important; }
  html.shell #npp-sales .form > *, html.shell #npp-sales .fld { min-width: 0; }
}
html.shell #npp-sales .toast { left: 50% !important; right: auto !important; transform: translateX(-50%); border-radius: 14px !important; max-width: calc(100vw - 28px); }
.ui-more { margin-top: 6px; border-top: 1px solid var(--u-line); } .ui-more > summary { list-style: none; display: flex; align-items: center; min-height: 48px; color: var(--u-a2); font: 700 15px var(--u-f); cursor: pointer; } .ui-more > summary::-webkit-details-marker { display: none; }
.ui-more > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); } .ui-more[open] > summary::after { transform: rotate(-135deg); }

/* ---------- the deal board: one stage per screen ---------- */
.usb-tabs .ui-chip em, .uq-steps .ui-chip em { font-style: normal; opacity: .7; }
@media (max-width: 899px) {
  html.shell #npp-sales .board { display: flex !important; gap: 0 !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -14px; padding: 0 !important; -webkit-overflow-scrolling: touch; }
  html.shell #npp-sales .board::-webkit-scrollbar { display: none; }
  html.shell #npp-sales .board .bcol { flex: 0 0 100% !important; width: 100% !important; max-width: none !important; min-width: 0 !important; scroll-snap-align: start; scroll-snap-stop: always; box-sizing: border-box; padding: 4px 14px 20px !important; border: 0 !important; background: none !important; min-height: 46vh; }
  html.shell #npp-sales .board .bcol-h { padding: 4px 2px 12px !important; } html.shell #npp-sales .board .bcol-h b { font-size: 20px !important; font-weight: 800; } html.shell #npp-sales .board .bcol-h small { font-size: 13.5px !important; color: var(--u-dim); }
  html.shell #npp-sales .board .dc { width: 100%; border-radius: 18px !important; padding: 14px !important; margin-bottom: 10px; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  html.shell #npp-sales .board .dc .dc-t { font-size: 17px !important; } html.shell #npp-sales .board .dc.ui-held { transform: scale(.985); }
  html.shell #npp-sales #sp-main > p.hint:last-child { display: none; }
}

/* ---------- a client's page ---------- */
html.shell #npp-sales .ch { border-radius: 22px; }
.ucl-x { margin-top: 8px; } .ucl-fu { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--u-a) 16%, transparent); color: var(--u-a2); font: 600 13px/1.3 var(--u-f); } .ucl-fu.late { background: rgba(255,107,107,.16); color: #ffb3b3; } .ucl-fu.none { background: rgba(255,255,255,.06); color: var(--u-dim); }
html.shell #npp-sales .logo.ucl-lg { cursor: pointer; position: relative; } html.shell #npp-sales .logo.ucl-lg::after { content: "＋"; position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--u-a); color: #fff; font: 800 14px/1 var(--u-f); box-shadow: 0 0 0 2px var(--u-bg); }
@media (max-width: 899px) {
  html.shell #npp-sales .ch { display: block !important; padding: 16px !important; } html.shell #npp-sales .ch > .logo { float: left; margin: 0 14px 6px 0; } html.shell #npp-sales .ch h2 { font-size: 22px !important; }
  html.shell #npp-sales .ch .ch-a { clear: both; display: flex !important; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 2px 16px; } html.shell #npp-sales .ch .ch-a::-webkit-scrollbar { display: none; } html.shell #npp-sales .ch .ch-a .btn { flex: none; min-height: 42px; border-radius: 999px; }
  html.shell #npp-sales .stabs { position: sticky; top: calc(var(--sat) + var(--u-top)); z-index: 5; display: flex !important; flex-wrap: nowrap !important; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 12px; padding: 8px 14px; background: var(--u-bg); border: 0 !important; } html.shell #npp-sales .stabs::-webkit-scrollbar { display: none; }
  html.shell #npp-sales .stabs button { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px !important; border: 1px solid var(--u-line2) !important; background: rgba(255,255,255,.04) !important; color: #fff !important; font: 600 14px var(--u-f) !important; } html.shell #npp-sales .stabs button.on { background: var(--u-a) !important; border-color: var(--u-a) !important; }
}

/* ---------- notes as a feed, with reactions ---------- */
html.shell #npp-sales .note1 { border-radius: 18px; } html.shell #npp-sales .note1 .n1-m b { font-size: 15.5px; } html.shell #npp-sales .note1 .n1-b { font-size: 15px; line-height: 1.45; }
#npp-sales .n1-x { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#npp-sales .n1-x .rx { min-height: 32px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2, rgba(255,255,255,.16)); background: rgba(255,255,255,.04); color: #fff; font: 600 13.5px var(--b, inherit); cursor: pointer; }
#npp-sales .n1-x .rx.on { border-color: var(--accent, #2fbf7f); background: color-mix(in srgb, var(--accent, #2fbf7f) 20%, transparent); } #npp-sales .n1-x .rx.add { color: rgba(255,255,255,.6); } #npp-sales .n1-x .rx.pk { font-size: 17px; padding: 0 9px; }
html.shell #npp-sales .npost textarea { font-size: 16px; }

/* ---------- invoices + lists as rows ---------- */
@media (max-width: 899px) {
  html.shell #npp-sales .tbl.stack tr { position: relative; border-radius: 18px !important; margin-bottom: 8px; background: var(--u-card); border: 1px solid var(--u-line); padding: 12px 14px !important; }
  html.shell #npp-sales .tbl.stack tr.ui-pay { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  html.shell #npp-sales .tbl.stack td b { font-size: 15.5px; } html.shell #npp-sales .card.scroll-x:has(.tbl.stack) { background: none !important; border: 0 !important; padding: 0 !important; }
  html.shell #npp-sales .kgrid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 10px; } html.shell #npp-sales .kc { border-radius: 18px; padding: 14px; }
  html.shell #npp-sales .kc .kc-d a { display: flex; align-items: center; gap: 8px; min-height: 42px; font-size: 15px; } html.shell #npp-sales .kc .kc-h b { font-size: 16px; }
  html.shell #npp-sales .li, html.shell #npp-sales .fu { min-height: 52px; }
}

/* ---------- a quote in steps ---------- */
.uq-bar { position: fixed; z-index: 9001; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px calc(var(--sar) + 12px) calc(var(--sab) + 10px) calc(var(--sal) + 16px); background: var(--u-bg2); border-top: 1px solid var(--u-line2); font-family: var(--u-f); color: #fff; }
.uq-bar span { flex: 1; min-width: 0; } .uq-bar small { display: block; color: var(--u-dim); font: 600 12px var(--u-f); } .uq-bar b { display: block; font: 800 20px/1.1 var(--u-f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .uq-bar .ui-btn { flex: none; min-height: 44px; }
html.shell:has(.uq-bar) #ui-bar { display: none; } html.ui-kb .uq-bar { display: none; }
@media (max-width: 899px) {
  html.shell #npp-sales #sp-doc[data-ustep] { display: block !important; }
  html.shell #npp-sales #sp-doc[data-ustep] [data-us] { display: none !important; }
  html.shell #npp-sales #sp-doc[data-ustep="0"] [data-us="0"], html.shell #npp-sales #sp-doc[data-ustep="1"] [data-us="1"], html.shell #npp-sales #sp-doc[data-ustep="2"] [data-us="2"], html.shell #npp-sales #sp-doc[data-ustep="3"] [data-us="3"], html.shell #npp-sales #sp-doc[data-ustep="4"] [data-us="4"], html.shell #npp-sales #sp-doc[data-ustep="5"] [data-us="5"] { display: block !important; }
  html.shell #npp-sales #sp-doc[data-ustep] > div { display: block !important; width: auto !important; }
  html.shell:has(.uq-bar) #npp-sales .doc-h .btn { display: none; } html.shell:has(.uq-bar) #npp-sales .doc-h { margin-bottom: 6px; }
  html.shell #npp-sales .ql-sec .ql-sh { font-size: 18px !important; font-weight: 800 !important; }
}
/* a logo from the phone */
.ulg-b { display: grid; place-items: center; padding: 6px 0 14px; } .ulg-b canvas { width: min(260px, 70vw); height: auto; aspect-ratio: 1; border-radius: 50%; background: #fff; touch-action: none; cursor: grab; box-shadow: 0 0 0 3px var(--u-a); }
.ulg-z { width: 100%; accent-color: var(--u-a); height: 36px; }

/* Money: numbers you can tap; Insights: quick views folded */
html.shell #npp-sales .kpis .kpi[data-ubk] { cursor: pointer; -webkit-tap-highlight-color: transparent; position: relative; } html.shell #npp-sales .kpis .kpi[data-ubk]::after { content: ''; position: absolute; top: 14px; right: 12px; width: 7px; height: 7px; border-right: 2px solid var(--u-faint); border-bottom: 2px solid var(--u-faint); transform: rotate(-45deg); } html.shell #npp-sales .kpis .kpi[data-ubk]:active { transform: scale(.98); }
html.shell #npp-sales .card svg rect[data-tip] { cursor: pointer; }
.ubh-v { flex: none; margin-left: 8px; font: 800 15px var(--u-f); color: #fff; } .ubh-v.lost { color: var(--u-faint); text-decoration: line-through; }
html.shell #npp-sales .ixq .chips.ui-clamp { max-height: 114px; overflow: hidden; } html.shell #npp-sales .ixq .ui-ixm { display: block; width: 100%; min-height: 44px; margin-top: 8px; border: 0; border-top: 1px solid var(--u-line); background: none; color: var(--u-a2); font: 700 14.5px var(--u-f); cursor: pointer; }

/* Insights on a phone: the chart first, then the boxes that change it */
@media (max-width: 899px) {
  html.shell #npp-sales .ixb { display: flex; flex-direction: column; }
  html.shell #npp-sales .ixb > .ixhead { order: -2; border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
  html.shell #npp-sales .ixb > .ixctl { order: 10; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--u-line); } html.shell #npp-sales .ixb > .ixct { order: 11; }
}
/* Settings › People on a phone: the buttons under the person, not beside */
@media (max-width: 899px) {
  html.shell #npp-sales .pcard { grid-template-columns: 40px minmax(0, 1fr) !important; gap: 10px 14px; align-items: start; } html.shell #npp-sales .pcard > .row { grid-column: 1 / -1; }
  html.shell #npp-sales .set .tool > .grow { flex: 1 1 100%; min-width: 0; } html.shell #npp-sales .set .tool > .grow h3 { margin: 0 0 4px; }
}
html.shell #npp-sales .set .scroll-x .tbl td.hint { min-width: 230px; } html.shell #npp-sales .set .scroll-x .tbl td:not(.hint) { white-space: nowrap; }
html.shell #npp-sales .cols3 > .card, html.shell #npp-sales .cols2 > .card { margin-top: 0 !important; }
/* Money: the period chips in one row you can slide */
@media (max-width: 899px) { html.shell #npp-sales .tool > .chips:has([data-x="moneyf"]) { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; padding-bottom: 2px; } html.shell #npp-sales .tool > .chips:has([data-x="moneyf"])::-webkit-scrollbar { display: none; } html.shell #npp-sales .tool > .chips:has([data-x="moneyf"]) .chip { flex: none; } }

/* NPP Pipeline app · chat (v1.4) */
#nc { font-family: var(--u-f); color: #fff; }
#nc * { box-sizing: border-box; } #nc button { font-family: inherit; color: inherit; cursor: pointer; }
#nc .nc-panel { position: fixed; z-index: 9500; top: 0; left: 0; right: 0; bottom: calc(var(--sab) + var(--u-bar)); padding-top: var(--sat); display: flex; flex-direction: column; background: var(--u-bg); animation: uiFade .16s ease; }
#nc .nc-panel[hidden] { display: none; }
html.nc-in #nc .nc-panel { bottom: 0; padding-bottom: var(--sab); }
html.ui-kbv.nc-in #nc .nc-panel { height: var(--vvh, 100dvh); bottom: auto; padding-bottom: 0; }
@media (min-width: 900px) {
  #nc .nc-panel { left: auto; width: 392px; bottom: 0; padding-bottom: 0; border-left: 1px solid var(--u-line); background: var(--u-bg2); animation: none; }
}
/* header */
#nc .nc-h { flex: none; display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 4px 8px 4px 14px; }
#nc .nc-t { font: 800 21px/1.1 var(--u-f); letter-spacing: -.012em; } #nc .nc-g { flex: 1; }
#nc .nc-side { font-style: normal; margin-left: 6px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--u-a) 18%, transparent); color: var(--u-a2); font: 700 11.5px/1 var(--u-f); }
#nc .nc-ib { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; } #nc .nc-ib:active { background: rgba(255,255,255,.1); }
#nc .nc-hl { flex: none; border: 0; background: none; padding: 0; display: grid; } #nc .nc-hn { flex: 1; min-width: 0; display: grid; gap: 1px; border: 0; background: none; padding: 2px 4px; text-align: left; }
#nc .nc-hn b { font: 800 16.5px/1.2 var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-hn small { color: var(--u-dim); font: 500 12.5px var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#nc .nc-h:has(.nc-hn) { padding-left: 4px; border-bottom: 1px solid var(--u-line); }
@media (max-width: 899px) { #nc .nc-x { display: none; } }
#nc .nc-find { flex: none; display: flex; gap: 8px; padding: 4px 14px 10px; } #nc .nc-find input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; background: rgba(255,255,255,.07); color: #fff; font: 500 16px var(--u-f); outline: 0; -webkit-appearance: none; }
#nc .nc-find button { border: 0; background: none; color: var(--u-a2); font: 700 15px var(--u-f); padding: 0 4px; }
/* list */
#nc .nc-list, #nc .nc-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
#nc .nc-faces { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 6px 10px 12px; } #nc .nc-faces::-webkit-scrollbar { display: none; }
#nc .nc-face { position: relative; flex: none; display: grid; justify-items: center; gap: 6px; width: 68px; padding: 4px 0; border: 0; background: none; font: 600 12.5px var(--u-f); color: var(--u-dim); }
#nc .nc-face span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-face.un span { color: #fff; font-weight: 800; }
#nc .nc-face em { position: absolute; top: 2px; right: 8px; width: 14px; height: 14px; border-radius: 50%; background: #ff5a5f; border: 2.5px solid var(--u-bg); }
#nc .nc-face:active .nc-av { transform: scale(.94); }
#nc .nc-av { position: relative; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 800 15px/1 var(--u-f); font-style: normal; color: #fff; background-size: cover; background-position: center; }
#nc .nc-av.f { width: 54px; height: 54px; font-size: 18px; transition: transform .12s; } #nc .nc-av.m { width: 30px; height: 30px; font-size: 11px; align-self: flex-end; } #nc .nc-av.xs { width: 18px; height: 18px; font-size: 8px; } #nc .nc-av.l { width: 76px; height: 76px; font-size: 26px; }
#nc .nc-av.on::after, .nc-info .nc-av.on::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 9px; min-height: 9px; border-radius: 50%; background: var(--u-ok); box-shadow: 0 0 0 2.5px var(--u-bg); }
#nc .nc-av.ch { background: color-mix(in srgb, var(--u-a) 18%, var(--u-card)); color: var(--u-a2); }
#nc .nc-av.grp { background: none; } #nc .nc-av.grp .nc-av { position: absolute; width: 28px; height: 28px; font-size: 10.5px; box-shadow: 0 0 0 2px var(--u-bg); } #nc .nc-av.grp .nc-av:first-child { left: 0; top: 0; } #nc .nc-av.grp .nc-av:last-child { right: 0; bottom: 0; }
#nc .nc-lg { flex: none; display: grid; } #nc .nc-lg .ui-lg { width: 44px; height: 44px; border-radius: 13px; } #nc .nc-lg.l .ui-lg { width: 76px; height: 76px; border-radius: 20px; font-size: 24px; } #nc .nc-hl .ui-lg, #nc .nc-hl .nc-av { width: 38px; height: 38px; font-size: 13px; }
.nc-info .nc-av, .nc-info .nc-lg { position: relative; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 800 14px/1 var(--u-f); font-style: normal; color: #fff; background-size: cover; background-position: center; } .nc-info .nc-lg { border-radius: 0; width: auto; height: auto; }
.nc-info .nci-top { display: grid; justify-items: center; padding: 6px 0 4px; } .nc-info .nci-top .nc-av { width: 76px; height: 76px; font-size: 26px; } .nc-info .nci-top .nc-av.ch { background: color-mix(in srgb, var(--u-a) 18%, var(--u-card)); color: var(--u-a2); } .nc-info .nci-top .ui-lg { width: 76px; height: 76px; border-radius: 20px; font-size: 24px; }
.nc-info .nci-top .nc-av.grp .nc-av { position: absolute; width: 46px; height: 46px; } .nc-info .nci-top .nc-av.grp .nc-av:first-child { left: 0; top: 0; } .nc-info .nci-top .nc-av.grp .nc-av:last-child { right: 0; bottom: 0; }
.nc-info .nci-acts { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 12px; } .nc-info .nci-acts .ui-pb i { width: 54px; height: 54px; }
.nc-info .nci-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; } .nc-info .nci-g button { aspect-ratio: 1; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; } .nc-info .nci-g img { width: 100%; height: 100%; object-fit: cover; display: block; }
#nc .nc-sec { padding: 14px 16px 4px; font: 700 13px var(--u-f); color: var(--u-dim); }
#nc .nc-row { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 9px 14px; border: 0; background: var(--u-bg); text-align: left; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media (min-width: 900px) { #nc .nc-row { background: var(--u-bg2); } #nc .nc-face em, #nc .nc-av.on::after { border-color: var(--u-bg2); box-shadow: 0 0 0 2.5px var(--u-bg2); } }
#nc .nc-row:active, #nc .nc-row.ui-held { background: rgba(255,255,255,.06); }
#nc .nc-rm { flex: 1; min-width: 0; } #nc .nc-rm b { display: block; font: 600 16px/1.25 var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-row.un .nc-rm b { font-weight: 800; }
#nc .nc-rm b .st { font-style: normal; color: #ffcf4d; font-size: 13px; } #nc .nc-rm b svg { vertical-align: -1px; opacity: .55; }
#nc .nc-rm small { display: block; margin-top: 2px; color: var(--u-dim); font: 500 13.5px/1.3 var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-rm small em { font-style: normal; color: rgba(255,255,255,.78); } #nc .nc-row.un .nc-rm small { color: rgba(255,255,255,.85); }
#nc .dr { color: #ffb86b; font-style: normal; }
#nc .nc-r { flex: none; display: grid; justify-items: end; gap: 6px; } #nc .nc-r small { color: var(--u-dim); font: 500 12px var(--u-f); } #nc .nc-r em { width: 11px; height: 11px; border-radius: 50%; background: var(--u-a); }
#nc .nc-fin summary { list-style: none; padding: 14px 16px 8px; color: var(--u-dim); font: 700 13px var(--u-f); cursor: pointer; } #nc .nc-fin summary::-webkit-details-marker { display: none; }
#nc .nc-other { margin: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); color: var(--u-dim); font: 500 13px var(--u-f); }
/* a conversation */
#nc .nc-pins:empty { display: none; } #nc .nc-pin { display: flex; gap: 8px; align-items: center; padding: 7px 12px; background: rgba(245,185,66,.1); border-bottom: 1px solid var(--u-line); font: 500 13px var(--u-f); } #nc .nc-pin span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-pin button { border: 0; background: none; padding: 4px; opacity: .6; } #nc .nc-pin svg { flex: none; color: #f5b942; }
#nc .nc-body { padding: 8px 10px 6px; }
#nc .nc-day { display: flex; justify-content: center; margin: 14px 0 8px; } #nc .nc-day span { padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--u-dim); font: 700 12px var(--u-f); }
#nc .nc-new { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: #ff8589; font: 800 12px var(--u-f); } #nc .nc-new::before, #nc .nc-new::after { content: ""; flex: 1; height: 1px; background: rgba(255,90,95,.45); }
#nc .nc-sys { text-align: center; color: var(--u-dim); font: 500 12.5px var(--u-f); padding: 8px 14px; }
#nc .nc-m { position: relative; display: flex; align-items: flex-end; gap: 8px; margin-top: 10px; padding-right: 30px; -webkit-touch-callout: none; } #nc .nc-m.join { margin-top: 3px; }
#nc .nc-m.me { flex-direction: row-reverse; padding-right: 0; padding-left: 30px; }
#nc .nc-sp { flex: none; width: 30px; }
#nc .nc-b { min-width: 0; max-width: 82%; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; } #nc .nc-m.me .nc-b { align-items: flex-end; }
#nc .nc-who { margin: 0 0 1px 12px; color: var(--u-dim); font: 700 12px var(--u-f); }
#nc .nc-bb { max-width: 100%; padding: 9px 13px; border-radius: 19px; background: var(--u-card2); font: 500 15.5px/1.4 var(--u-f); word-break: break-word; overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; }
#nc .nc-m.me .nc-bb { background: var(--u-a); color: #fff; } #nc .nc-m:not(.me) .nc-bb { border-bottom-left-radius: 6px; } #nc .nc-m.me .nc-bb { border-bottom-right-radius: 6px; }
#nc .nc-bb a { color: #bfe8fb; text-decoration: underline; } #nc .nc-m.me .nc-bb a { color: #fff; } #nc .nc-bb .ed { opacity: .65; font-size: 11.5px; } #nc .nc-bb.gone { background: none; border: 1px dashed var(--u-line2); color: var(--u-dim); font-style: italic; }
#nc .nc-m.flash .nc-bb, #nc .nc-m.flash .nc-lc { box-shadow: 0 0 0 3px #ffcf4d; transition: box-shadow .2s; }
#nc .nc-at { font-weight: 800; } #nc .nc-at.me { background: rgba(245,185,66,.3); color: #ffe2a3; border-radius: 5px; padding: 0 3px; }
#nc .nc-q { display: block; max-width: 100%; padding: 6px 10px; border: 0; border-left: 3px solid var(--u-a2); border-radius: 10px; background: rgba(255,255,255,.06); color: var(--u-dim); font: 500 13px/1.3 var(--u-f); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-q b { display: block; color: #fff; font-size: 12px; }
#nc .nc-fw { color: var(--u-dim); font: 500 12px var(--u-f); margin: 0 6px; }
#nc .nc-tm { margin: 1px 8px 0; color: var(--u-faint); font: 500 11px var(--u-f); }
#nc .nc-imgs { display: grid; gap: 3px; max-width: 260px; border-radius: 16px; overflow: hidden; } #nc .nc-imgs.n2, #nc .nc-imgs.n3, #nc .nc-imgs.n4 { grid-template-columns: 1fr 1fr; }
#nc .nc-img { display: block; border: 0; padding: 0; background: #000; cursor: pointer; } #nc .nc-img img { display: block; width: 100%; max-height: 300px; object-fit: cover; } #nc .nc-imgs:not(.n1) .nc-img img { aspect-ratio: 1; height: auto; }
#nc .nc-file { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 10px 13px; border-radius: 14px; border: 1px solid var(--u-line2); background: var(--u-card); color: #fff !important; text-decoration: none; font: 600 14px var(--u-f); } #nc .nc-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-file svg { flex: none; color: var(--u-a2); }
#nc .nc-lc { display: flex; align-items: center; gap: 11px; width: 250px; max-width: 100%; padding: 9px 11px; border-radius: 16px; border: 1px solid var(--u-line2); background: var(--u-card); text-align: left; }
#nc .nc-lc .ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--u-a) 18%, transparent); color: var(--u-a2); font-style: normal; } #nc .nc-lc.vm .ic { background: #000; color: #fff; }
#nc .nc-lc span { flex: 1; min-width: 0; } #nc .nc-lc b { display: block; font: 700 14.5px/1.25 var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-lc small { display: block; color: var(--u-dim); font: 500 12.5px var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-lc > svg { flex: none; color: var(--u-faint); }
#nc .nc-vm { display: block; width: 270px; max-width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; background: #000; }
#nc .nc-re { display: flex; flex-wrap: wrap; gap: 4px; } #nc .nc-re button, #nc .nc-th { border: 1px solid var(--u-line2); background: var(--u-card); border-radius: 999px; padding: 3px 9px; font: 600 13px var(--u-f); } #nc .nc-re button.on { border-color: var(--u-a); background: color-mix(in srgb, var(--u-a) 22%, var(--u-card)); }
#nc .nc-th { color: var(--u-a2); }
#nc .nc-poll { width: 250px; max-width: 100%; display: grid; gap: 6px; padding: 12px; border-radius: 16px; background: var(--u-card); border: 1px solid var(--u-line2); } #nc .nc-poll b { font: 700 15px var(--u-f); }
#nc .nc-poll button { position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 8px; min-height: 40px; align-items: center; padding: 0 11px; border-radius: 11px; border: 1px solid var(--u-line2); background: none; font: 600 14px var(--u-f); } #nc .nc-poll button.on { border-color: var(--u-a); }
#nc .nc-poll i { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--u-a) 24%, transparent); } #nc .nc-poll span, #nc .nc-poll em { position: relative; font-style: normal; } #nc .nc-poll em { color: var(--u-dim); font-size: 12.5px; }
#nc .nc-dd { position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 28px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: var(--u-faint); opacity: 0; } #nc .nc-m.me .nc-dd { right: auto; left: 0; }
#nc .nc-m:hover .nc-dd, #nc .nc-dd:focus-visible { opacity: 1; } @media (pointer: coarse) { #nc .nc-dd { display: none; } #nc .nc-m { padding-right: 0; } #nc .nc-m.me { padding-left: 0; } }
#nc .nc-jump { position: absolute; right: 14px; bottom: 118px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--u-line2); border-radius: 50%; background: var(--u-card2); box-shadow: 0 8px 22px rgba(0,0,0,.45); } #nc .nc-jump[hidden] { display: none; }
#nc .nc-foot { flex: none; display: flex; justify-content: space-between; align-items: center; min-height: 20px; padding: 0 14px; font: 500 12px var(--u-f); color: var(--u-dim); } #nc .nc-seen { margin-left: auto; display: flex; align-items: center; gap: 3px; } #nc .nc-seen small { margin-right: 3px; }
#nc .nc-ups { flex: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; } #nc .nc-up { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 6px; padding: 5px 6px 5px 11px; border-radius: 999px; background: var(--u-card2); font: 600 12.5px var(--u-f); } #nc .nc-up.bad { background: #4a1f29; } #nc .nc-up button { border: 0; background: rgba(255,255,255,.1); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
/* the message box */
#nc .nc-comp { position: relative; flex: none; padding: 6px 10px 10px; }
#nc .nc-rq { display: flex; align-items: center; gap: 8px; margin: 0 2px 8px; padding: 7px 8px 7px 12px; border-left: 3px solid var(--u-a2); border-radius: 10px; background: rgba(255,255,255,.06); } #nc .nc-rq[hidden] { display: none; } #nc .nc-rq span { flex: 1; min-width: 0; color: var(--u-dim); font: 500 13px/1.3 var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #nc .nc-rq b { display: block; color: #fff; font-size: 12px; } #nc .nc-rq button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
#nc .nc-in { display: flex; gap: 8px; align-items: flex-end; }
#nc .nc-plus { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.09); }
#nc .nc-in textarea { flex: 1; min-width: 0; height: 44px; max-height: 140px; resize: none; padding: 11px 16px; border-radius: 22px; border: 1px solid var(--u-line2); background: rgba(0,0,0,.25); color: #fff; font: 500 16px/1.3 var(--u-f); outline: 0; white-space: pre-wrap; overflow-y: auto; -webkit-appearance: none; }
#nc .nc-in textarea::placeholder { color: var(--u-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #nc .nc-in textarea:focus { border-color: var(--u-a); }
#nc .nc-send { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--u-a); color: #fff; } #nc .nc-send:active, #nc .nc-plus:active { transform: scale(.93); }
#nc .nc-ment { position: absolute; left: 10px; bottom: 100%; display: flex; gap: 4px; padding: 6px; background: var(--u-card2); border: 1px solid var(--u-line2); border-radius: 14px; } #nc .nc-ment[hidden] { display: none; } #nc .nc-ment button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(255,255,255,.07); border-radius: 999px; padding: 6px 11px; font: 600 13.5px var(--u-f); }
#nc .nc-rec { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px; background: var(--u-bg); } #nc .nc-rec > i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #ff5a5f; animation: uiPulse 1s infinite; } #nc .nc-rec b { flex: none; font: 700 15px var(--u-f); min-width: 38px; }
#nc .nc-rec button { flex: none; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.09); font: 700 14px var(--u-f); } #nc .nc-rec .go { background: var(--u-a); }
#nc .nc-wv { flex: 1; min-width: 0; height: 30px; display: flex; align-items: center; gap: 2px; overflow: hidden; } #nc .nc-wv i { flex: 1; max-width: 4px; min-width: 2px; border-radius: 2px; background: rgba(255,255,255,.4); } #nc .nc-wv i.pl { background: #fff; } #nc .nc-wv.live { justify-content: flex-end; } #nc .nc-wv.live i { flex: none; width: 3px; background: #ff8589; }
#nc .nc-vo { display: flex; align-items: center; gap: 8px; width: 250px; max-width: 100%; padding: 8px 10px; border-radius: 19px; background: var(--u-card2); } #nc .nc-m.me .nc-vo { background: var(--u-a); }
#nc .nc-vo > button:first-child { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); } #nc .nc-vo small { flex: none; min-width: 30px; font: 600 12px var(--u-f); opacity: .85; } #nc .nc-vo .sp { flex: none; border: 0; border-radius: 999px; background: rgba(0,0,0,.22); padding: 4px 8px; font: 800 11.5px var(--u-f); } #nc .nc-vo .nc-wv { cursor: pointer; }
/* sheets inside chat */
#nc .nc-sheet { position: absolute; inset: 0; z-index: 8; display: flex; align-items: flex-end; background: rgba(4,6,14,.6); animation: uiFade .16s ease; }
#nc .nc-sh { position: relative; width: 100%; max-height: 88%; overflow-y: auto; display: grid; gap: 4px; padding: 26px 14px calc(var(--sab) + 14px); background: var(--u-bg2); border: 1px solid var(--u-line2); border-bottom: 0; border-radius: 24px 24px 0 0; animation: uiUp .26s cubic-bezier(.2,.85,.25,1); }
#nc .nc-gr { position: absolute; top: 0; left: 0; right: 0; height: 24px; touch-action: none; } #nc .nc-gr::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255,255,255,.26); }
#nc .nc-sh h5 { margin: 0 4px 6px; font: 800 18px var(--u-f); color: #fff; touch-action: none; }
#nc .nc-sh > button { display: flex; align-items: center; gap: 13px; min-height: 52px; text-align: left; padding: 6px 10px; border-radius: 14px; border: 0; background: none; font: 600 16px var(--u-f); } #nc .nc-sh > button:active { background: rgba(255,255,255,.07); } #nc .nc-sh > button > svg { flex: none; color: var(--u-a2); } #nc .nc-sh > button small { display: block; color: var(--u-dim); font: 500 13px var(--u-f); }
#nc .nc-sh > .x { justify-content: center; color: var(--u-dim); } #nc .nc-sh > .go { justify-content: center; background: var(--u-a); font-weight: 800; margin-top: 6px; min-height: 48px; }
#nc .nc-emo { display: flex; justify-content: space-between; margin-bottom: 6px; } #nc .nc-emo button { border: 0; background: rgba(255,255,255,.07); border-radius: 50%; width: 48px; height: 48px; font-size: 23px; }
#nc .nc-sb { margin: 2px 6px 6px; color: var(--u-dim); font: 500 13px var(--u-f); }
#nc .nc-i { width: 100%; min-height: 48px; padding: 12px 14px; margin-bottom: 6px; border-radius: 14px; border: 1px solid var(--u-line2); background: rgba(0,0,0,.25); color: #fff; font: 500 16px var(--u-f); outline: 0; -webkit-appearance: none; appearance: none; }
#nc .nc-ppl { display: grid; gap: 4px; max-height: 46vh; overflow-y: auto; } #nc .nc-ppl button { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 10px; border-radius: 14px; border: 1.5px solid transparent; background: rgba(255,255,255,.04); font: 600 16px var(--u-f); text-align: left; } #nc .nc-ppl button.on { border-color: var(--u-a); background: color-mix(in srgb, var(--u-a) 16%, transparent); }
/* a photo, full screen */
.nc-view { position: fixed; inset: 0; z-index: 2147482800; display: flex; flex-direction: column; background: #000; color: #fff; font-family: var(--u-f); animation: uiFade .16s ease; }
.nc-view .nv-h { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(var(--sat) + 8px) 12px 8px; } .nc-view .nv-h button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.nc-view .nv-h span { flex: 1; } .nc-view .nv-h b { display: block; font: 700 15px var(--u-f); } .nc-view .nv-h small { color: rgba(255,255,255,.65); font: 500 12.5px var(--u-f); } .nc-view .nv-h em { font-style: normal; color: rgba(255,255,255,.65); font: 600 13px var(--u-f); }
.nc-view .nv-b { flex: 1; min-height: 0; display: grid; place-items: center; padding: 4px; } .nc-view .nv-b img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nc-view .nv-n { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; } .nc-view .nv-n.l { left: 10px; } .nc-view .nv-n.r { right: 10px; } @media (pointer: coarse) { .nc-view .nv-n { display: none; } }
.nc-view .nv-f { flex: none; display: flex; gap: 10px; padding: 10px 14px calc(var(--sab) + 12px); } .nc-view .nv-f .ui-btn { background: rgba(255,255,255,.12); border-color: transparent; }
#npp-pc .dsc { margin-left: auto; margin-right: 8px; }

/* NPP Pipeline app v1.5 */
/* pages slide like an app */
@keyframes v5Fwd { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes v5Back { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
html.shell .ui-anim { animation: v5Fwd .24s cubic-bezier(.2,.8,.2,1) both; }
html.shell[data-v5-dir="back"] .ui-anim { animation-name: v5Back; }
@media (max-width: 899px) { html.shell #npp-pc .drawer { transition: transform .28s cubic-bezier(.2,.8,.2,1) !important; } }
@media (prefers-reduced-motion: reduce) { html.shell .ui-anim { animation: none !important; } }
/* pull down */
#v5-pull { position: fixed; z-index: 8990; left: 50%; top: calc(var(--sat) + var(--u-top)); transform: translate(-50%, -60px); display: none; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: #1d2742; border: 1px solid var(--u-line2); box-shadow: 0 10px 30px rgba(0,0,0,.45); color: #fff; font: 600 13.5px var(--u-f); white-space: nowrap; pointer-events: none; }
#v5-pull.on { display: flex; } #v5-pull img { width: 30px; height: 30px; border-radius: 50%; } #v5-pull span:empty { display: none; } #v5-pull:has(span:empty) { padding-right: 7px; }
#v5-pull.go { transition: transform .2s; } #v5-pull.go img { animation: v5Spin .8s linear infinite; }
@keyframes v5Spin { to { transform: rotate(360deg); } }
/* jump back */
#v5-back { position: fixed; z-index: 8995; left: calc(var(--sal) + var(--u-sidew) + 12px); bottom: calc(var(--sab) + var(--u-bar) + 14px); display: inline-flex; align-items: center; gap: 6px; max-width: 62vw; min-height: 40px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid var(--u-line2); background: #232c47; color: #fff; font: 600 14px var(--u-f); box-shadow: 0 10px 30px rgba(0,0,0,.45); opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; cursor: pointer; }
#v5-back.on { opacity: 1; transform: none; } #v5-back span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #v5-back[hidden] { display: none; }
html.ui-kb #v5-back, html.ui-sheet #v5-back, html.nc-on #v5-back { display: none; }
/* bigger close + back buttons */
.ui-x { width: 44px; height: 44px; } .ui-x svg { width: 22px; height: 22px; }
html.shell #npp-pc .drawer .dh .x, html.shell #npp-pc .modal .mbox [data-mx].x, html.shell #npp-sales .modal .mbox [data-x="mclose"].x { min-width: 44px; min-height: 44px; font-size: 20px; display: inline-grid; place-items: center; border-radius: 50%; }
#ui-top .ui-back { width: 46px; height: 46px; } #ui-top .ui-ib { width: 44px; height: 44px; }
/* one Filter button */
@media (max-width: 899px) {
  html.shell #npp-sales .tool.v5-ft > .chips, html.shell #npp-sales .tool.v5-ft > select, html.shell #npp-sales .tool.v5-ft > label.ck { display: none !important; }
  html.shell #npp-sales .tool.v5-ft { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  html.shell #npp-sales .tool.v5-ft > input.in { flex: 1 1 140px; min-width: 0; order: 2; } html.shell #npp-sales .tool.v5-ft > .v5-fb { order: 3; flex: none; } html.shell #npp-sales .tool.v5-ft > .seg { order: 1; flex: 1 1 100%; } html.shell #npp-sales .tool.v5-ft > .grow { display: none; }
  /* the ＋ button already adds these */
  html.shell #npp-sales .tool > .btn.pri[data-x^="new"], html.shell #npp-sales .tool > .btn.pri[data-x="contactnew"] { display: none !important; }
}
.v5-fb em, .v5-fg .ui-chip em { font: 700 12px var(--u-f); font-style: normal; opacity: .8; } .v5-fb.on em { background: #fff; color: #111; border-radius: 9px; padding: 1px 6px; opacity: 1; }
.v5-fg { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 14px; border-bottom: 1px solid var(--u-line); margin-bottom: 12px; } .v5-fg:last-child { border: 0; }
.v5-fck { width: 100%; border: 0; background: none; text-align: left; }
/* show more */
.v5-hid { display: none !important; }
.v5-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 8px; border: 1px dashed var(--u-line2); border-radius: 14px; background: none; color: var(--u-a2); font: 600 14px var(--u-f); cursor: pointer; grid-column: 1 / -1; }
/* A–Z */
#v5-az { position: fixed; z-index: 8980; right: 1px; top: calc(var(--sat) + var(--u-top) + 8px); bottom: calc(var(--sab) + var(--u-bar) + 8px); width: 22px; display: grid; grid-template-rows: repeat(27, 1fr); align-items: center; justify-items: center; touch-action: none; user-select: none; -webkit-user-select: none; }
#v5-az[hidden] { display: none; } #v5-az i { font: 700 10.5px var(--u-f); font-style: normal; color: var(--u-a2); } #v5-az i.off { color: var(--u-faint); opacity: .5; }
#v5-azb { position: fixed; z-index: 8981; right: 34px; top: 45%; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: #232c47; color: #fff; font: 800 30px var(--u-f); opacity: 0; transition: opacity .15s; pointer-events: none; } #v5-azb.on { opacity: 1; }
html.shell:has(#v5-az:not([hidden])) #npp-sales #sp-main { padding-right: 18px; }
.v5-kbd { flex: none; min-width: 54px; text-align: center; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid var(--u-line2); font: 700 13px ui-monospace, monospace; }
.v5-sb { margin-left: auto; } #ui-top .v5-sb + .ui-acts { margin-left: 0; }
/* project page: one section per screen */
html.shell #npp-pc .drawer .db[data-v5tab] > *:not(.v5-on) { display: none !important; }
html.shell #npp-pc .drawer .utabs { position: sticky; top: 0; z-index: 3; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; background: var(--u-bg); }
html.shell #npp-pc .drawer .utabs::-webkit-scrollbar { display: none; }
html.shell #npp-pc .drawer.v5-d .dh-top .logo.v5-lg { width: 58px !important; height: 58px !important; min-width: 58px; border-radius: 16px; font-size: 20px; }
.v5-rare { margin-top: 18px; } .v5-rare-b { padding-top: 8px; display: grid; gap: 14px; } .v5-danger { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; border-top: 1px solid var(--u-line); }
.v5-pg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } @media (min-width: 900px) { .v5-pg { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.v5-ph { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--u-card2); cursor: pointer; display: grid; place-items: center; color: #fff; text-decoration: none; }
.v5-ph img { width: 100%; height: 100%; object-fit: cover; display: block; } .v5-ph em { position: absolute; right: 5px; bottom: 5px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--u-a); color: #fff; }
.v5-ph.vid small { position: absolute; left: 6px; right: 6px; bottom: 5px; font: 600 11px var(--u-f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--u-dim); }
.v5-none { margin: 4px 2px 10px; color: var(--u-dim); font: 500 14px/1.4 var(--u-f); } .v5-bts-h { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v5-sec .ui-li .ui-btn.sm { flex: none; }
/* new project in steps */
html.shell #npp-pc .mbox.v5-steps[data-v5step="1"] > [data-v5s="2"], html.shell #npp-pc .mbox.v5-steps[data-v5step="1"] > [data-v5s="3"], html.shell #npp-pc .mbox.v5-steps[data-v5step="2"] > [data-v5s="1"], html.shell #npp-pc .mbox.v5-steps[data-v5step="2"] > [data-v5s="3"], html.shell #npp-pc .mbox.v5-steps[data-v5step="3"] > [data-v5s="1"], html.shell #npp-pc .mbox.v5-steps[data-v5step="3"] > [data-v5s="2"] { display: none !important; }
html.shell #npp-pc .mbox.v5-steps:not([data-v5step="3"]) > [data-v5s="f"] { display: none !important; }
.v5-stepnav { display: flex; align-items: center; gap: 10px; margin-top: 18px; } .v5-dots { display: flex; gap: 6px; margin-right: auto; } .v5-dots i { width: 22px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.16); } .v5-dots i.on { background: var(--u-a); }
.v5-stepnav .ui-btn[hidden] { display: none; }
/* board drag */
.v5-dragging { opacity: .45; } .ubd-col.v5-over { outline: 2px dashed var(--u-a); outline-offset: -3px; border-radius: 16px; background: color-mix(in srgb, var(--u-a) 7%, transparent); } [data-v5card] { cursor: grab; }
/* peek */
.v5-peek { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 0 10px; border-radius: 16px; background: var(--u-card); border: 1px solid var(--u-line); }
.v5-peek > div { flex: 1; min-width: 0; } .v5-peek b { display: block; font: 700 16px/1.25 var(--u-f); color: #fff; } .v5-peek small { display: block; color: var(--u-dim); font: 500 13px var(--u-f); margin-top: 2px; } .v5-peek p { margin: 6px 0 0; color: var(--u-a2); font: 600 13px/1.35 var(--u-f); }
/* photo viewer: zoom, notes copies */
.v5-view .nv-b { overflow: hidden; touch-action: none; } .v5-pz { position: relative; display: inline-block; line-height: 0; transform-origin: center; will-change: transform; }
.v5-pz img.main { min-width: 60px; min-height: 60px; max-width: calc(100vw - 8px); max-height: calc(100dvh - 190px); object-fit: contain; display: block; user-select: none; -webkit-user-select: none; } .v5-pz img.ov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.v5-view.zoomed .nv-n { display: none; } .v5-nts { flex: none; display: flex; justify-content: center; gap: 6px; padding: 2px 12px 8px; overflow-x: auto; }
.v5-nts button { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: none; color: #fff; font: 600 13.5px var(--u-f); white-space: nowrap; } .v5-nts button.on { background: #fff; color: #000; border-color: #fff; }
.v5-view .nv-f { flex-wrap: wrap; } .v5-view .nv-f .ui-btn { flex: 1 1 auto; justify-content: center; }
#nc .nc-img { position: relative; } #nc .nc-img img.ov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#nc .nc-img.mk em { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.66); color: #fff; font: 700 11px var(--u-f); font-style: normal; }
/* mark-up pad */
.v5-mk { position: fixed; inset: 0; z-index: 2147482900; display: flex; flex-direction: column; background: #000; color: #fff; font-family: var(--u-f); }
.v5-mk .mk-h { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(var(--sat) + 8px) 12px 8px; } .v5-mk .mk-h b { flex: 1; text-align: center; font: 700 16px var(--u-f); } .v5-mk .mk-h .ui-btn { min-height: 40px; }
.v5-mk .mk-h .ui-btn:not(.pri) { background: rgba(255,255,255,.12); border-color: transparent; } .v5-mk .ui-btn[disabled] { opacity: .45; }
.v5-mk .mk-b { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; } .v5-mk .mk-st { position: relative; touch-action: none; }
.v5-mk .mk-st img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-select: none; pointer-events: none; } .v5-mk canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.v5-mk .mk-t { flex: none; padding: 8px 10px calc(var(--sab) + 10px); display: grid; gap: 10px; }
.v5-mk .mk-tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .v5-mk .mk-tools button { display: grid; justify-items: center; gap: 3px; min-height: 52px; padding: 6px 2px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font: 600 11.5px var(--u-f); } .v5-mk .mk-tools button.on { background: var(--u-a); }
.v5-mk .mk-cols { display: flex; justify-content: center; gap: 14px; } .v5-mk .mk-cols button { width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.3); } .v5-mk .mk-cols button.on { border-color: #000; box-shadow: 0 0 0 3px #fff; }
.v5-mk .mk-txt { position: absolute; left: 12px; right: 12px; top: calc(var(--sat) + 70px); max-width: 420px; margin: 0 auto; padding: 12px; border-radius: 16px; background: #1d2742; border: 1px solid var(--u-line2); display: grid; gap: 10px; z-index: 2; }
.v5-mk .mk-txt textarea { width: 100%; box-sizing: border-box; border-radius: 10px; border: 1px solid var(--u-line2); background: #0c0f1d; color: #fff; font: 500 16px var(--u-f); padding: 10px; resize: none; } .v5-mk .mk-txt div { display: flex; justify-content: flex-end; gap: 8px; }
/* chat: Updates, drop */
#nc .nc-upd { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--u-line2); background: none; color: var(--u-a2); font: 600 12.5px var(--u-f); cursor: pointer; } #nc .nc-upd em { font-style: normal; opacity: .8; }
#nc .nc-updl { display: grid; gap: 2px; max-height: 50vh; overflow-y: auto; margin-bottom: 8px; } #nc .nc-updl div { display: grid; gap: 2px; padding: 9px 4px; border-bottom: 1px solid var(--u-line); } #nc .nc-updl span { font: 500 14.5px/1.35 var(--u-f); color: #fff; } #nc .nc-updl small { color: var(--u-dim); font: 500 12px var(--u-f); }
#nc .nc-panel.nc-drop { outline: 3px dashed var(--u-a); outline-offset: -6px; }
/* money tools */
.ui-lab { display: block; margin: 14px 2px 6px; color: var(--u-dim); font: 600 13px var(--u-f); } .ui-in.bad, .v5-paid.bad { outline: 2px solid #ff5a5f; outline-offset: 1px; border-radius: 12px; }
.v5-snap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 86px; border: 1.5px dashed var(--u-line2); border-radius: 16px; background: var(--u-card) center / cover no-repeat; color: var(--u-a2); font: 600 15px var(--u-f); cursor: pointer; } .v5-snap.has { border-style: solid; color: #fff; }
.v5-paid { display: grid; grid-template-columns: 1fr 1fr; } .v5-paid button { white-space: normal; line-height: 1.2; min-height: 46px; }
.v5-pp { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer; min-height: 48px; } .v5-pp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v5-money { display: grid; gap: 14px; margin-bottom: 18px; } .v5-card { padding: 14px; border-radius: 18px; background: var(--u-card); border: 1px solid var(--u-line); min-width: 0; }
.v5-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .v5-card-h h3 { margin: 0; font: 700 17px var(--u-f); color: #fff; } .v5-card-h b { font: 800 20px var(--u-f); color: #fff; }
.v5-w { width: 100%; justify-content: center; margin-top: 10px; } .v5-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; } .v5-2 > * { min-width: 0; } .v5-2 .ui-btn { justify-content: center; }
.v5-amt { flex: none; font: 700 15px var(--u-f); color: #fff; } .v5-st { flex: none; font: 700 11px var(--u-f); font-style: normal; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--u-dim); margin-left: 6px; } .v5-st.new { background: rgba(255,207,77,.16); color: #ffcf4d; } .v5-st.mid { background: rgba(41,171,226,.18); color: #8fd9f7; } .v5-st.ok { background: rgba(60,207,134,.16); color: #3ccf86; }
.v5-money .ui-li > span { min-width: 0; } .v5-money .ui-li > span, .v5-money .ui-li small { overflow: hidden; text-overflow: ellipsis; }
.v5-ln { display: grid; grid-template-columns: minmax(0, 1fr) 52px 88px auto; gap: 6px; margin-bottom: 8px; align-items: center; } .v5-ln .ui-in { min-width: 0; padding-left: 10px; padding-right: 10px; } .v5-ln .q, .v5-ln .r { text-align: right; } .v5-ln .ui-x { width: 34px; height: 34px; }
.v5-tot { display: grid; margin-right: auto; } .v5-tot small { color: var(--u-dim); font: 600 12px var(--u-f); } .v5-tot b { font: 800 20px var(--u-f); color: #fff; }
.v5-dup { width: 100%; justify-content: center; margin-bottom: 4px; } .v5-lnk { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--u-a2); font: 600 14px var(--u-f); cursor: pointer; }
.v5-pay { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--u-line); } .v5-pay:first-of-type { border-top: 0; }
.v5-pay-m b { display: block; font: 700 15px/1.25 var(--u-f); color: #fff; overflow: hidden; text-overflow: ellipsis; } .v5-pay-m small { color: var(--u-dim); font: 500 13px var(--u-f); } .v5-pay-a { text-align: right; display: grid; justify-items: end; gap: 4px; } .v5-pay-a b { font: 800 16px var(--u-f); color: #fff; }
.v5-pay-b { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.v5-costs { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; margin: 4px 0 10px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--u-line); background: var(--u-card); color: #fff; font: 600 14.5px var(--u-f); cursor: pointer; } .v5-costs span { flex: 1; text-align: left; } .v5-costs small { color: var(--u-dim); }
@media (min-width: 900px) { .v5-money { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .v5-paypg > .v5-card:first-child { grid-column: 1 / -1; } }
/* trash, feedback, lock, tour */
.v5-trash .ui-li .ui-btn { flex: none; } .v5-trash .ui-li .ui-x { width: 36px; height: 36px; margin-left: 6px; }
.v5-fbk { display: grid; grid-template-columns: repeat(3, 1fr); } .v5-fbk button { white-space: normal; line-height: 1.15; min-height: 44px; font-size: 13.5px; }
.v5-fbp { display: grid; gap: 10px; } .v5-fb { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; border-radius: 16px; background: var(--u-card); border: 1px solid var(--u-line); } .v5-fb.done { opacity: .6; margin-top: 10px; }
.v5-fb b { font: 700 15px var(--u-f); color: #fff; } .v5-fb p { margin: 4px 0 6px; font: 500 15px/1.45 var(--u-f); color: #fff; white-space: pre-wrap; overflow-wrap: anywhere; } .v5-fb small { color: var(--u-dim); font: 500 12.5px var(--u-f); }
#v5-lock { position: fixed; inset: 0; z-index: 2147483000; display: grid; align-content: center; justify-items: center; gap: 16px; background: #0c0f1d; color: #fff; font-family: var(--u-f); } #v5-lock img { width: 96px; height: 96px; border-radius: 24px; } #v5-lock b { font: 700 19px var(--u-f); } #v5-lock .ui-btn { min-width: 180px; justify-content: center; }
html.v5-locked body > *:not(#v5-lock) { visibility: hidden !important; }
.v5-pin { letter-spacing: .5em; font-size: 22px !important; text-align: center; }
.v5-tr { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 8px 6px 4px; } .v5-tr > i { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--u-a) 18%, var(--u-card)); color: var(--u-a2); } .v5-tr b { font: 800 21px var(--u-f); color: #fff; } .v5-tr p { margin: 0; max-width: 320px; color: var(--u-dim); font: 500 15.5px/1.45 var(--u-f); } .v5-tr .v5-dots { margin: 8px 0 0; }
/* partners (team side) */
.v5-pt { display: grid; gap: 12px; } .v5-ptc { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 18px; border: 1px solid var(--u-line); background: var(--u-card); color: #fff; text-align: left; cursor: pointer; } .v5-ptc.off { opacity: .6; }
.v5-ptl { display: flex; flex: none; } .v5-ptl .ui-lg + .ui-lg { margin-left: -12px; } .v5-ptm { flex: 1; min-width: 0; display: grid; gap: 2px; } .v5-ptm b { font: 700 16.5px var(--u-f); } .v5-ptm small { color: var(--u-dim); font: 500 13px var(--u-f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v5-ptc em { flex: none; min-width: 24px; height: 24px; padding: 0 7px; box-sizing: border-box; border-radius: 12px; background: #ff5a5f; color: #fff; font: 800 12.5px/24px var(--u-f); font-style: normal; text-align: center; }
.v5-ptt { position: sticky; top: 0; z-index: 2; background: var(--u-bg2); padding: 4px 0 10px; margin-bottom: 4px; }
.v5-pch { display: grid; gap: 10px; align-content: end; min-height: 40vh; } .v5-pm { max-width: 86%; justify-self: start; } .v5-pm.me { justify-self: end; text-align: right; } .v5-pm small { color: var(--u-dim); font: 500 12px var(--u-f); } .v5-pm p { margin: 3px 0 0; display: inline-block; text-align: left; padding: 10px 13px; border-radius: 16px; background: var(--u-card2); color: #fff; font: 500 15.5px/1.4 var(--u-f); white-space: pre-wrap; overflow-wrap: anywhere; } .v5-pm.me p { background: var(--u-a); } .v5-pm.pa p { background: #2b2440; border: 1px solid #5b4b8a; }
.v5-pcomp { display: flex; gap: 8px; width: 100%; align-items: flex-end; } .v5-pcomp textarea { flex: 1; min-width: 0; resize: none; max-height: 140px; } .v5-pcomp .ui-btn { flex: none; width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; }
.v5-upd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--u-line); } .v5-upd:first-child, .v5-card-h + .v5-upd { border-top: 0; }
.v5-upd b { font: 700 14.5px var(--u-f); color: #fff; } .v5-upd p { margin: 4px 0; font: 500 15px/1.45 var(--u-f); color: #fff; white-space: pre-wrap; overflow-wrap: anywhere; } .v5-upd a { color: var(--u-a2); font: 600 13.5px var(--u-f); overflow-wrap: anywhere; } .v5-upd small { display: block; margin-top: 3px; color: var(--u-dim); font: 500 12.5px var(--u-f); } .v5-upd.ok small { color: #3ccf86; }
.v5-upd-b { display: flex; gap: 6px; align-items: center; } .v5-upd-b .ui-x { width: 34px; height: 34px; }
/* demo profile */
#v5-demo { position: fixed; z-index: 9600; top: calc(var(--sat) + 6px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 14px; border-radius: 999px; background: #ffcf4d; color: #1a1300; font: 700 13px var(--u-f); box-shadow: 0 8px 24px rgba(0,0,0,.45); white-space: nowrap; } #v5-demo button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: #1a1300; color: #fff; font: 700 12.5px var(--u-f); cursor: pointer; }
html.demo #ui-bar [data-ui="chat"], html.demo #ui-side [data-ui="chat"], html.demo #ui-top [data-ui="bell"], html.demo #nc, html.demo .uqa-b[data-uqa="chat"], html.demo #npl-pill { display: none !important; } html.demo #ui-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } html.demo #ui-top .ui-title { max-width: 34vw; }
html.demo #npp-sales, html.demo #npp-pc .srow { display: none !important; }
/* Sales: private numbers */
html.v5-priv #npp-sales .v5-n { filter: blur(7px); user-select: none; -webkit-user-select: none; cursor: pointer; transition: filter .15s; } html.v5-priv #npp-sales input.v5-n { color: transparent; text-shadow: 0 0 9px rgba(255,255,255,.7); filter: none; }
html.v5-priv #npp-sales svg text.v5-n { filter: blur(5px); }
#v5-eye { margin-left: auto; } #v5-eye + .v5-sb { margin-left: 0; } #v5-eye.on { color: var(--u-a2); } #v5-eye[hidden] { display: none; }
/* Sales: calmer wall */
html.shell #npp-sales .card.v5-fc > .card-h { cursor: pointer; position: relative; padding-right: 26px; } html.shell #npp-sales .card.v5-fc > .card-h::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--u-dim); border-bottom: 2px solid var(--u-dim); transform: rotate(45deg); transition: transform .15s; }
html.shell #npp-sales .card.v5-shut > .card-h::after { transform: rotate(-45deg); margin-top: -4px; } html.shell #npp-sales .card.v5-shut > *:not(.card-h) { display: none !important; } html.shell #npp-sales .card.v5-shut > .card-h { margin-bottom: 0; }
/* Sales: settings as a list */
@media (max-width: 899px) {
  html.shell #npp-sales .set.v5-setl > *:not(.snav) { display: none !important; } html.shell #npp-sales .set.v5-setl > .snav { display: grid !important; grid-template-columns: 1fr; gap: 0; overflow: visible; border: 1px solid var(--u-line); border-radius: 18px; background: var(--u-card); padding: 4px 0; }
  html.shell #npp-sales .set.v5-setl > .snav button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--u-line); border-radius: 0; background: none !important; color: #fff; font: 600 16px var(--u-f); text-align: left; white-space: normal; } html.shell #npp-sales .set.v5-setl > .snav button:last-child { border-bottom: 0; }
  html.shell #npp-sales .set.v5-setl > .snav button::after { content: "›"; color: var(--u-dim); font-size: 22px; } html.shell #npp-sales .set.v5-seto > .snav { display: none !important; }
  html.shell #npp-sales .tool > .btn.pri[data-h$="/new"] { display: none !important; }
}
.v5-qi { margin: 0 0 12px; }
.v5-nx { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--u-line2); color: var(--u-a2); font: 600 12px var(--u-f); cursor: pointer; width: max-content; }
/* celebration */
.v5-conf { position: fixed; inset: 0; z-index: 2147483100; pointer-events: none; overflow: hidden; display: grid; place-items: center; transition: opacity .6s; } .v5-conf.out { opacity: 0; }
.v5-conf i { position: absolute; top: -20px; width: 9px; height: 15px; border-radius: 2px; animation: v5Fall linear both; } @keyframes v5Fall { to { top: 110%; transform: rotate(720deg) translateX(40px); } }
.v5-conf b { padding: 16px 26px; border-radius: 20px; background: rgba(18,28,24,.94); border: 1px solid #2fbf7f; color: #fff; font: 800 22px var(--u-f); text-align: center; max-width: 86vw; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: v5Pop .5s cubic-bezier(.2,1.4,.4,1) both; } @keyframes v5Pop { from { transform: scale(.6); opacity: 0; } }
.v5-reqp .v5-upd:first-of-type { border-top: 0; }
/* shoots / edits / gear extras */
.v5-locs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 4px; } .v5-locs small { flex: 1 1 100%; color: var(--u-dim); font: 600 12px var(--u-f); } .v5-locs .ui-chip { min-height: 34px; padding: 0 11px; font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.v5-gl, .v5-rs { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--u-f); color: var(--u-dim); white-space: nowrap; } .v5-gl i, .v5-rs i { width: 9px; height: 9px; border-radius: 50%; background: #5d6478; flex: none; }
.v5-gl.ok i, .v5-rs.ok i { background: #3ccf86; } .v5-gl.mid i, .v5-rs.mid i { background: #ffcf4d; } .v5-gl.bad i, .v5-rs.bad i { background: #ff5a5f; } .v5-rs.wait i { background: var(--u-a); } .v5-gl.ok, .v5-rs.ok { color: #3ccf86; } .v5-gl.bad, .v5-rs.bad { color: #ff8a8e; }
html.shell #npp-pc .rv .rv-v { position: relative; } .v5-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); padding: 3px 10px; border: 2.5px solid #3ccf86; border-radius: 8px; color: #3ccf86; background: rgba(8,20,14,.72); font: 800 12px var(--u-f); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; white-space: nowrap; }
.v5-cutbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 4px; } .v5-cutbar .v5-rs { margin-right: auto; }
.v5-cli { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--u-line); background: none; color: #fff; text-align: left; cursor: pointer; } .v5-cli .bx { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--u-line2); display: grid; place-items: center; } .v5-cli.done .bx { background: #3ccf86; border-color: #3ccf86; color: #06140d; }
.v5-cli em { font: 700 13px ui-monospace, monospace; font-style: normal; color: var(--u-a2); padding-top: 3px; } .v5-cli span { font: 500 15px/1.4 var(--u-f); overflow-wrap: anywhere; } .v5-cli small { display: block; color: var(--u-dim); font: 500 12.5px var(--u-f); margin-top: 2px; } .v5-cli.done span { opacity: .55; text-decoration: line-through; }
.v5-shx { display: grid; gap: 10px; margin: 4px 0 8px; } .v5-shx .v5-2 { margin-top: 0; } .ui-li.red [data-cis] { color: #ff8a8e; }
html.shell #npp-sales .tool .v5-fb { min-height: 42px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--u-line2); background: rgba(255,255,255,.04); color: #fff; font: 600 14px var(--u-f); display: inline-flex; align-items: center; gap: 7px; width: auto; } html.shell #npp-sales .tool .v5-fb.on { background: var(--u-a); border-color: var(--u-a); }

/* NPP Pipeline app · v1.6 */
/* ---------- keyboard: every full-screen layer follows the visible part of the screen ---------- */
html { --vvt: 0px; --kbh: 0px; }
html.ui-kbv .ui-shw,
html.ui-kbv #npp-pc .modal, html.ui-kbv #npp-sales .modal,
html.ui-kbv #npl-admin > .npl-adm,
html.ui-kbv #nc .nc-panel,
html.ui-kbv.shell #npp-pc .drawer,
html.ui-kbv .v5-mk, html.ui-kbv .nc-view { top: var(--vvt) !important; bottom: auto !important; height: var(--vvh, 100dvh) !important; max-height: var(--vvh, 100dvh) !important; }
html.ui-kbv #nc .nc-panel { padding-bottom: 0 !important; }
html.ui-kbv #ui-top, html.ui-kbv #v5-demo { transform: translateY(var(--vvt)); }
html.ui-kbv #ui-bar, html.ui-kbv #v5-back, html.ui-kbv #ui-selbar, html.ui-kbv .uq-bar, html.ui-kbv .ui-tip { display: none !important; }
html.ui-kbv body.app-pipe { padding-bottom: var(--kbh); }
/* sheets: sit right on the keyboard, never taller than what's visible, never under the clock */
html.ui-kbv .ui-shw { align-items: flex-end; padding-top: calc(var(--sat) + 8px); box-sizing: border-box; }
html.ui-kbv .ui-sh { max-height: calc(var(--vvh, 100dvh) - var(--sat) - 8px); margin-top: auto; border-radius: 24px 24px 0 0; }
html.ui-kbv .ui-sh.full { height: 100%; max-height: 100%; } html.ui-kbv .ui-shw:has(> .ui-sh.full) { padding-top: 0; }
html.ui-kbv .ui-sh-b { padding-bottom: 14px; } html.ui-kbv .ui-sh-f { padding-bottom: 10px; }
html.ui-kbv #npp-pc .modal > .mbox, html.ui-kbv #npp-sales .modal > .mbox { max-height: calc(var(--vvh, 100dvh) - var(--sat) - 12px) !important; }
/* boxes scroll clear of the top bar and the keys */
input, textarea, [contenteditable] { scroll-margin-top: calc(var(--sat) + var(--u-top, 56px) + 16px); scroll-margin-bottom: 24px; }
input.v6-dots { -webkit-text-security: disc; }
/* chat: header stays, messages stay, the box sits on the keys */
html.ui-kbv #nc .nc-h { flex: none; }
html.ui-kbv #nc .nc-comp { padding-bottom: 8px; }
#nc .nc-body { overscroll-behavior: contain; }

/* ---------- pages, not pop-ups ---------- */
.v6-pgh { display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 6; margin: 0 -16px 10px; padding: 6px 12px 8px 6px; background: var(--u-bg, #0c0f1d); border-bottom: 1px solid var(--u-line, rgba(255,255,255,.1)); }
.v6-pgh b { flex: 1; min-width: 0; font: 800 18px/1.2 var(--u-f); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v6-bk { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.v6-sv { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--u-dim, rgba(255,255,255,.6)); font: 600 12px/1 var(--u-f); } .v6-sv i { width: 7px; height: 7px; border-radius: 50%; background: #35d07f; }
.v6-hide { display: none !important; }
html.shell .modal.v6-pg > .mbox > .x, html.shell .modal.v6-pg > .mbox::before { display: none !important; }
html.shell .modal.v6-pg > .mbox > h2:first-of-type, html.shell .modal.v6-pg > .mbox > h3:first-of-type, html.shell .modal.v6-pg > .mbox > h4:first-of-type, html.shell .modal.v6-pg > .mbox > .v6-pgh + h2, html.shell .modal.v6-pg > .mbox > .v6-pgh + h3, html.shell .modal.v6-pg > .mbox > .v6-pgh + h4 { display: none; }
html.shell .modal.v6-pg .mfoot.v6-ft, html.shell .modal.v6-pg .row.v6-ft { position: static !important; display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; margin: 28px 0 0 !important; padding: 16px 0 6px !important; border-top: 1px solid var(--u-line, rgba(255,255,255,.1)); background: none !important; box-shadow: none !important; }
html.shell .modal.v6-pg .v6-ft .grow { display: none; }
html.shell .modal.v6-pg .v6-ft .v6-low { min-height: 40px !important; padding: 6px 8px !important; border: 0 !important; background: none !important; box-shadow: none !important; font: 600 13.5px/1.2 var(--u-f) !important; color: var(--u-dim, rgba(255,255,255,.62)) !important; flex: none !important; }
html.shell .modal.v6-pg .v6-ft .v6-low.danger, html.shell .modal.v6-pg .v6-ft .v6-low.del { color: #ff8f8f !important; }
html.shell .modal.v6-pg .v6-ft .v6-low svg { width: 15px; height: 15px; margin-right: 5px; vertical-align: -2px; }
@media (max-width: 899px) {
  html.shell #npp-pc .modal.v6-pg, html.shell #npp-sales .modal.v6-pg { padding: 0 !important; background: var(--u-bg, #0c0f1d) !important; justify-content: flex-start; }
  html.shell #npp-pc .modal.v6-pg > .mbox, html.shell #npp-sales .modal.v6-pg > .mbox { flex: 1; height: 100% !important; max-height: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: var(--sat) 16px calc(var(--sab) + 24px) !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--u-bg, #0c0f1d) !important; animation: v6In .22s cubic-bezier(.2,.85,.25,1); }
  html.shell .modal.v6-pg > .mbox > .v6-pgh { top: calc(-1 * var(--sat)); margin-top: calc(-1 * var(--sat)); padding-top: calc(var(--sat) + 6px); }
  html.ui-kbv.shell .modal.v6-pg > .mbox { max-height: none !important; padding-bottom: 24px !important; }
}
@keyframes v6In { from { transform: translateX(26px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (min-width: 900px) {
  html.shell #npp-pc .modal.v6-pg, html.shell #npp-sales .modal.v6-pg { display: none; padding: 0 !important; align-items: stretch !important; place-items: unset !important; justify-content: flex-end !important; background: rgba(4,6,14,.28) !important; overflow: hidden !important; }
  html.shell #npp-pc .modal.v6-pg.open, html.shell #npp-sales .modal.v6-pg.open { display: flex !important; flex-direction: row; }
  html.shell #npp-pc .modal.v6-pg > .mbox, html.shell #npp-sales .modal.v6-pg > .mbox { width: min(720px, 56vw) !important; max-width: none !important; height: 100vh !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; border: 0 !important; border-left: 1px solid var(--u-line2, rgba(255,255,255,.16)) !important; overflow-y: auto !important; padding: 0 22px 28px !important; box-sizing: border-box; animation: v6In .2s ease; }
  .v6-pgh { margin: 0 -22px 14px; padding: 12px 16px 12px 10px; }
  .ui-shw.v6-sidew { align-items: stretch; justify-content: flex-end; padding: 0; background: rgba(4,6,14,.28); }
  .ui-shw.v6-sidew .ui-sh { width: min(720px, 56vw); max-width: none; height: 100vh; max-height: none; border-radius: 0; border: 0; border-left: 1px solid var(--u-line2); transform: translateX(30px); }
  .ui-shw.v6-sidew.on .ui-sh { transform: none; }
}
/* a back arrow sits top-left on every full sheet */
.ui-sh.full .ui-sh-h .ui-x[aria-label="Back"] { width: 44px; height: 44px; margin-left: -8px; background: transparent; }
.v6-del { margin: 30px 0 4px; padding-top: 16px; border-top: 1px solid var(--u-line); text-align: center; }
.v6-del button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 10px; border: 0; background: none; color: #ff8f8f; font: 600 13.5px/1.2 var(--u-f); cursor: pointer; }
/* documents inside the app */
.ui-sh.v6-doc .ui-sh-b { padding: 0; background: #fff; } .v6-dochost { min-height: 100%; background: #fff; color: #111; } .v6-dochost iframe { display: block; width: 100%; height: calc(100dvh - var(--sat) - 64px); border: 0; background: #fff; }
.v6-doca { display: inline-flex; gap: 6px; flex: none; } .v6-doca .ui-btn { min-height: 36px; padding: 0 12px; }
@media print {
  html.v6-printing body > *:not(.v6-docw) { display: none !important; }
  html.v6-printing .ui-shw.v6-docw { position: static !important; display: block !important; background: #fff !important; opacity: 1 !important; height: auto !important; }
  html.v6-printing .ui-sh.v6-doc { position: static !important; display: block !important; height: auto !important; max-height: none !important; max-width: none !important; width: auto !important; transform: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; background: #fff !important; }
  html.v6-printing .ui-sh.v6-doc .ui-sh-h, html.v6-printing .ui-grab { display: none !important; }
  html.v6-printing .ui-sh.v6-doc .ui-sh-b { overflow: visible !important; height: auto !important; }
  html.v6-printing, html.v6-printing body { background: #fff !important; height: auto !important; overflow: visible !important; }
}

/* ---------- project page top ---------- */
html.shell #npp-pc .drawer::before { display: none !important; }
html.shell #npp-pc .drawer.v6-d .dh-top { display: flex; align-items: flex-start; gap: 10px; flex-wrap: nowrap; }
html.shell #npp-pc .drawer.v6-d .dh-top .logo { flex: none; cursor: pointer; }
.v6-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.v6-ht .v6-cn { max-width: 100%; padding: 0; border: 0; background: none; color: var(--u-a2, #8fd6f5); font: 700 13.5px/1.25 var(--u-f); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
html.shell #npp-pc .drawer.v6-d .v6-ht input.title { width: 100% !important; min-width: 0; margin: 0 !important; padding: 2px 0 !important; font-size: 19px !important; line-height: 1.2 !important; }
html.shell #npp-pc .drawer.v6-d .v6-ht .pill.qs { margin: 2px 0 0 !important; }
html.shell #npp-pc .drawer .dh { padding-bottom: 8px !important; }
/* the tab bar is solid and nothing shows above it */
html.shell #npp-pc .drawer .db { padding-top: 0 !important; }
html.shell #npp-pc .drawer .utabs { top: 0 !important; z-index: 8 !important; margin-top: 0 !important; margin-left: -16px; margin-right: -16px; padding: 8px 16px !important; background: var(--u-bg) !important; box-shadow: 0 -14px 0 var(--u-bg), 0 1px 0 var(--u-line); }
html.shell #npp-pc .drawer .uqa { padding-top: 12px; }
.v6-p { margin: 4px 2px 0; color: var(--u-dim); font: 500 15px/1.45 var(--u-f); }

/* ---------- bubble rows -> one dropdown ---------- */
.chips.v6-dd { display: block !important; } .chips.v6-dd > .chip { display: none !important; }
.v6-ddb { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; max-width: 100%; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--u-line2, rgba(255,255,255,.18)); background: var(--u-card, #151b30); color: #fff; font: 700 14.5px/1 var(--u-f); cursor: pointer; }
.v6-ddb span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .v6-ddb svg { flex: none; transform: rotate(90deg); opacity: .7; } .v6-ddb.none { color: var(--u-dim); }
.v6-ddb > i, .v6-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.v6-ddl .ui-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; text-align: left; } .v6-ddl .ui-row span { flex: 1; } .v6-ddl .ui-row.on { color: var(--u-a2); }
/* refresh: just the spinning tree */
#v5-pull { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; } #v5-pull span { display: none !important; } #v5-pull img { width: 38px !important; height: 38px !important; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
/* no service: a dot by the bell */
html.shell #npp-pc .offb.nosvc { display: none !important; }
#v6-svc { flex: none; width: 30px; height: 44px; padding: 0; border: 0; background: none; position: relative; cursor: pointer; } #v6-svc::before { content: ""; position: absolute; left: 9px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: #ffb454; box-shadow: 0 0 0 4px rgba(255,180,84,.2); }
/* every button's words sit in the middle */
.ui-btn, #npp-pc .btn, #npp-sales .btn, .npl button, .npl-adm button:not(.npl-p):not(.npl-row), #nc button.nc-btn { justify-content: center; text-align: center; }
.npl-adm .npl-add button, .npl-adm form button { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
/* project round buttons: one line each, the row slides */
.uqa { overflow-x: auto; gap: 4px !important; } .uqa-b { flex: none !important; width: 62px !important; max-width: none !important; white-space: nowrap; font-size: 12px !important; } .uqa-r { position: sticky; right: 0; background: linear-gradient(90deg, transparent, var(--u-bg) 30%); padding-left: 16px !important; }
/* Sales client top: "Sales team" on its own line so the people and + Tag share a row */
#npp-sales .ch-m .steam { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; } #npp-sales .ch-m .steam .steam-l { flex-basis: 100%; }
/* the last row of any list clears the bottom bar; no dead gap after it */
html.shell body.app-pipe #npp-pc .main > .wrap > :last-child, html.shell #npp-sales #sp-main > :last-child { margin-bottom: 0 !important; }
html.shell #nc .nc-list { padding-bottom: 28px; }
/* a phone turned sideways: cards keep their words on full lines, buttons wrap under */
@media (max-height: 520px) and (min-width: 600px) {
  html.shell #npp-pc .main .card, html.shell #npp-pc .main .pj, html.shell #npp-pc .main .cmp { flex-wrap: wrap; }
  html.shell #npp-pc .main .cmp > div:not(.inl-f):not(.acts), html.shell #npp-pc .main .pj > div:first-of-type { min-width: 240px; flex: 1 1 240px; }
  #v5-back { bottom: calc(var(--sab) + 8px); opacity: .92; }
  .ui-sh { max-height: calc(100dvh - 8px); }
}
html.shell #npp-pc .done-row { flex-wrap: wrap; } html.shell #npp-pc .done-row .dr-m { flex: 1 1 220px; min-width: min(220px, 60%); } html.shell #npp-pc .done-row .dr-m small, html.shell #npp-pc .done-row .dr-m small span { display: inline; } html.shell #npp-pc .done-row .acts2 { flex-wrap: wrap; justify-content: flex-end; }

/* ---------- chat (v1.6) ---------- */
#nc .nc-m, #nc .nc-bb, #nc .nc-row { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* team chats: the NPP tree in its circle */
.v6-tree { width: 74%; height: 74%; display: block; }
#nc .nc-av.ch { display: grid; place-items: center; color: #fff; background: #29abe2; }
#nc .nc-av.tc-general { background: #fff; color: #1f6fb5; } #nc .nc-av.tc-general .v6-tree .ring { color: #29abe2; fill: #29abe2; }
#nc .nc-av.tc-gear { background: #1f7fd1; color: #fff; }
#nc .nc-av.tc-backups { background: #23262e; color: #fff; }
#nc .nc-av.tc-social { background: linear-gradient(160deg, #ffb347 0%, #ff6a5c 48%, #b83a8e 100%); color: #fff; }
#nc .nc-av.tc-sales { background: #1f9d63; color: #fff; }
#nc .nc-face.tc span { max-width: 62px; }
#nc .nc-face.tc:first-of-type, #nc .nc-face.tc { margin-left: 2px; }
/* list */
#nc .nc-sub { font-style: normal; color: var(--u-a2); } #nc .nc-row.sl .nc-sub { color: #6fe0a8; }
#nc .nc-donem { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--u-dim); font: 600 11px/1 var(--u-f); }
#nc .nc-lg { position: relative; } #nc .nc-usd { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #1f9d63; color: #fff; font: 800 11px/1 var(--u-f); font-style: normal; border: 2px solid var(--u-bg); }
#nc .nc-fold { margin: 6px 0 0; border-top: 1px solid var(--u-line); } #nc .nc-fold > summary { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 16px; list-style: none; cursor: pointer; font: 700 15px var(--u-f); color: #fff; } #nc .nc-fold > summary::-webkit-details-marker { display: none; }
#nc .nc-fold > summary em { font-style: normal; color: var(--u-dim); font-weight: 600; } #nc .nc-fold > summary svg { margin-left: auto; transition: transform .18s; opacity: .7; } #nc .nc-fold[open] > summary svg { transform: rotate(90deg); }
#nc .nc-row.lock { display: flex; align-items: center; gap: 12px; padding: 9px 14px; } #nc .nc-row.lock .nc-lg, #nc .nc-row.lock .nc-rm { filter: blur(3.5px); opacity: .7; pointer-events: none; }
#nc .nc-req { flex: none; margin-left: auto; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--u-line2); background: var(--u-card); color: #fff; font: 700 12.5px var(--u-f); } #nc .nc-req:disabled { opacity: .5; }
#nc .nc-list.sl { background: linear-gradient(rgba(31,157,99,.07), rgba(31,157,99,.07)); }
/* the Projects | Sales switch */
.v6-sw { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); gap: 2px; }
.v6-sw button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.7); font: 700 12.5px/1 var(--u-f); cursor: pointer; }
.v6-sw button.on { background: #29abe2; color: #fff; } .v6-sw button.sl.on { background: #1f9d63; }
#nc .v6-sw { margin: 0 14px 8px; align-self: flex-start; } #ui-top .v6-sw { margin: 0 4px 0 8px; } #ui-top .v6-sw button { min-height: 30px; padding: 0 10px; font-size: 12px; }
.ui-btn.v6-sl { background: #1f9d63 !important; border-color: #1f9d63 !important; }
/* inside a chat */
#nc .nc-strip { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: #1f6fb5; color: #fff; font: 600 12.5px/1.2 var(--u-f); } #nc .nc-strip b { font-weight: 800; letter-spacing: .08em; } #nc .nc-strip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .92; }
#nc .nc-strip.sl { background: #1f9d63; } #nc .nc-strip[hidden], #nc .nc-donebar[hidden], #nc .nc-tagf[hidden] { display: none; }
#nc .nc-panel.sl .nc-body { background: linear-gradient(rgba(31,157,99,.08), rgba(31,157,99,.08)); }
#nc .nc-panel.sl .nc-comp textarea { background: rgba(31,157,99,.16); border-color: rgba(111,224,168,.5); } #nc .nc-panel.sl .nc-send { background: #1f9d63; }
#nc .nc-donebar { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(53,208,127,.12); color: #8be8b7; font: 600 13px var(--u-f); } #nc .nc-donebar span { flex: 1; } #nc .nc-donebar button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(139,232,183,.5); background: none; color: #fff; font: 700 12.5px var(--u-f); }
#nc .nc-tagf { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--u-line); color: var(--u-a2); font: 600 13px var(--u-f); } #nc .nc-tagf form { flex: 1; } #nc .nc-tagf input { width: 100%; height: 38px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--u-line2); background: var(--u-card); color: #fff; font: 500 16px var(--u-f); } #nc .nc-tagf button { border: 0; background: none; color: #fff; font: 700 13.5px var(--u-f); min-height: 36px; padding: 0 6px; } #nc .nc-tagf span { flex: 1; }
#nc .nc-h .nc-ib.on { color: #ffb454; }
#nc button.nc-sys, #nc .nc-sys { display: block; width: 100%; border: 0; background: none; text-align: center; color: var(--u-dim); font: 500 12.5px/1.35 var(--u-f); padding: 7px 18px; } #nc button.nc-sys.go { cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
#nc .nc-sys.done { display: flex; justify-content: center; align-items: center; gap: 6px; color: #8be8b7; }
#nc .nc-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--u-line2); background: none; color: var(--u-a2); font: 600 11.5px var(--u-f); }
/* press and hold: every option at once */
#nc .nc-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 4px; margin: 8px 0 4px; }
#nc .nc-sh .nc-acts button { display: grid; justify-items: center; gap: 5px; min-height: 60px; padding: 8px 2px; border: 0; border-radius: 14px; background: rgba(255,255,255,.06); color: #fff; font: 600 11.5px/1.1 var(--u-f); text-align: center; } #nc .nc-sh .nc-acts button span { display: block; }
#nc .nc-sh .nc-acts button[data-nc="m-del"] { color: #ff8f8f; }
/* attachments: a small preview with its own send arrow */
#nc .nc-ups { gap: 8px; padding: 4px 12px 0; }
#nc .nc-up2 { position: relative; display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 6px; border-radius: 12px; overflow: visible; background: var(--u-card2, #1c2440); border: 1px solid var(--u-line2); }
#nc .nc-up2 img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; } #nc .nc-up2 i { color: var(--u-a2); } #nc .nc-up2 small { position: absolute; left: 4px; right: 4px; bottom: 4px; font: 600 9.5px/1.1 var(--u-f); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
#nc .nc-up2 em { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 11px; background: rgba(4,6,14,.55); color: #fff; font: 700 12px var(--u-f); font-style: normal; } #nc .nc-up2.bad em { color: #ff8f8f; font-size: 10px; padding: 2px; text-align: center; }
#nc .nc-up2 .x, #nc .nc-up2 .go { position: absolute; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--u-bg); padding: 0; color: #fff; } #nc .nc-up2 .x { top: -7px; left: -7px; background: #4b556e; } #nc .nc-up2 .go { right: -7px; bottom: -7px; background: var(--u-a, #29abe2); }
#nc .nc-up.tg { color: var(--u-a2); }
#nc .nc-nm > b { display: block; margin: 12px 2px 6px; color: var(--u-dim); font: 700 12px var(--u-f); letter-spacing: .04em; text-transform: uppercase; } #nc .nc-nm { max-height: 56vh; overflow-y: auto; } #nc .nc-nm .nc-ppl button small { display: block; color: var(--u-dim); font-weight: 500; }
#nc .nc-rvl { max-height: 52vh; overflow-y: auto; display: grid; gap: 4px; } #nc .nc-rvl button { display: flex; align-items: center; gap: 10px; text-align: left; } #nc .nc-rvl small { display: block; color: var(--u-dim); font-weight: 500; }
/* review card */
#nc .nc-lc.rv { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; } #nc .nc-lc .nc-rvb { grid-column: 1 / -1; min-height: 36px; border-radius: 10px; background: var(--u-a); color: #fff; font: 700 13px var(--u-f); display: grid; place-items: center; }
/* a computer: chat stays up; pin it to a side */
#v6-ncmini { display: none; }
@media (min-width: 900px) {
  html.shell[data-ncpin="left"].nc-on { --u-dock: 0px; } html.shell[data-ncpin="left"].nc-on body { padding-left: calc(var(--sal) + 392px); padding-right: calc(var(--sar) + var(--u-sidew)); }
  html[data-ncpin="left"] #nc .nc-panel { left: 0; right: auto; border-left: 0; border-right: 1px solid var(--u-line); } html[data-ncpin="left"].nc-on #ui-side { left: auto; right: 0; border-right: 0; border-left: 1px solid var(--u-line); } html[data-ncpin="left"].nc-on #ui-top { left: 392px; right: var(--u-sidew); }
  html.shell[data-ncpin="top"].nc-on, html.shell[data-ncpin="bottom"].nc-on { --u-dock: 0px; }
  html[data-ncpin="top"] #nc .nc-panel, html[data-ncpin="bottom"] #nc .nc-panel { left: var(--u-sidew); right: 0; width: auto; height: 300px; border-left: 0; }
  html[data-ncpin="top"] #nc .nc-panel { top: calc(var(--sat) + var(--u-top)); bottom: auto; border-bottom: 1px solid var(--u-line); } html.shell[data-ncpin="top"].nc-on body { padding-top: calc(var(--sat) + var(--u-top) + 300px); }
  html[data-ncpin="bottom"] #nc .nc-panel { top: auto; bottom: 0; border-top: 1px solid var(--u-line); } html.shell[data-ncpin="bottom"].nc-on body { padding-bottom: 320px; }
  html.nc-mini #nc .nc-panel { display: none !important; } html.shell.nc-mini.nc-on { --u-dock: 0px; } html.shell.nc-mini.nc-on body { padding-left: calc(var(--sal) + var(--u-sidew)); padding-right: var(--sar); padding-top: calc(var(--sat) + var(--u-top)); }
  html.nc-mini #v6-ncmini { position: fixed; z-index: 9400; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--u-line2); background: var(--u-a, #29abe2); color: #fff; font: 700 14px var(--u-f); box-shadow: 0 10px 30px rgba(0,0,0,.45); cursor: pointer; } #v6-ncmini em { font-style: normal; min-width: 20px; padding: 2px 6px; border-radius: 999px; background: #ff5d5d; font-size: 12px; }
  /* chat in its own window: the list on the left, the open chat on the right */
  html.nc-win #ui-top, html.nc-win #ui-side, html.nc-win #ui-bar, html.nc-win .sqs-layout, html.nc-win #v6-ncmini, html.nc-win .nc-dk { display: none !important; } html.nc-win body { padding: 0 !important; }
  html.nc-win #nc .nc-panel { left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important; width: auto !important; height: auto !important; border: 0; display: flex !important; }
}
@media (max-width: 899px) { #nc .nc-dk { display: none; } }
#nc .nc-hl .nc-usd { display: none; } #nc .nc-strip { min-height: 30px; font-size: 13px; }

/* ---------- Tools, App insights ---------- */
.v6-tg { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-bottom: 6px; }
.v6-tl { display: grid; justify-items: center; align-content: start; gap: 8px; min-height: 96px; padding: 12px 6px; border-radius: 16px; border: 1px solid var(--u-line); background: var(--u-card); color: #fff; text-decoration: none; font: 600 12.5px/1.2 var(--u-f); text-align: center; cursor: pointer; }
.v6-tl i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--u-a) 20%, transparent); color: var(--u-a2); }
.v6-kg { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } .v6-k { padding: 12px 14px; border-radius: 16px; background: var(--u-card); border: 1px solid var(--u-line); } .v6-k small { display: block; color: var(--u-dim); font: 600 12.5px var(--u-f); } .v6-k b { display: block; margin-top: 4px; font: 800 24px/1.1 var(--u-f); color: #fff; } .v6-k em { display: block; margin-top: 2px; font-style: normal; color: var(--u-dim); font: 500 12px var(--u-f); }
.v6-tb { border-radius: 14px; border: 1px solid var(--u-line); overflow-x: auto; } .v6-tb > div { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 6px; padding: 10px 12px; font: 500 13.5px var(--u-f); color: #fff; min-width: 380px; } .v6-tb > div + div { border-top: 1px solid var(--u-line); } .v6-tb .hd { color: var(--u-dim); font-weight: 700; font-size: 12px; }
.um-sw { margin: 2px 0 10px; }

/* ---------- logo crop tool ---------- */
.v6-cv { display: grid; place-items: center; padding: 6px 0 10px; } .v6-cv canvas { width: min(300px, 78vw); height: min(300px, 78vw); border-radius: 22px; border: 1px solid var(--u-line2); background: repeating-conic-gradient(#3a4057 0 25%, #2b3046 0 50%) 0 0/16px 16px; touch-action: none; }
.v6-z { width: 100%; margin: 4px 0 10px; } .v6-ct, .v6-bg { display: flex; gap: 8px; flex-wrap: wrap; } .v6-ct button, .v6-bg button { flex: 1 1 0; min-width: 84px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; border: 1px solid var(--u-line2); background: var(--u-card); color: #fff; font: 600 13px var(--u-f); cursor: pointer; }
.v6-bg button i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); } .v6-bg button.on { border-color: var(--u-a); box-shadow: 0 0 0 1px var(--u-a) inset; }
#npp-pc .v6-lgup { margin-top: 8px; }

html.shell .modal.v6-pg .row.v6-ft { position: static !important; bottom: auto !important; width: auto !important; }
.v6-lgrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
/* BTS: pick, star, send, delete */
.v5-ph.v6-star::after { content: "★"; position: absolute; left: 6px; top: 4px; color: #ffcc4d; font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.7); } .v5-ph { position: relative; }
.v6-selon .v5-ph.v6-on { outline: 3px solid var(--u-a); outline-offset: -3px; } .v6-selon .v5-ph.v6-on::before { content: "✓"; position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--u-a); color: #fff; font: 800 13px var(--u-f); z-index: 1; }
.v6-selbar { position: sticky; bottom: calc(var(--sab) + 70px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding: 10px 12px; border-radius: 16px; background: #1d2742; border: 1px solid var(--u-line2); box-shadow: 0 10px 30px rgba(0,0,0,.45); font: 600 13px var(--u-f); color: #fff; } .v6-selbar span { flex: 1; }
.v6-selbar button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--u-line2); background: var(--u-card); color: #fff; font: 700 13px var(--u-f); } .v6-selbar button:disabled { opacity: .4; } .v6-selbar button.red { color: #ff8f8f; }
.v6-chl { max-height: 44vh; overflow-y: auto; } .v6-chl .ui-li.on { outline: 2px solid var(--u-a); outline-offset: -2px; }
/* switches */
.v6-tr { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 2px; border-bottom: 1px solid var(--u-line); color: #fff; font: 600 15px/1.25 var(--u-f); cursor: pointer; } .v6-tr span { flex: 1; min-width: 0; } .v6-tr small { display: block; margin-top: 2px; color: var(--u-dim); font: 500 12.5px var(--u-f); }
.v6-tr input { position: absolute; opacity: 0; pointer-events: none; } .v6-tr i { flex: none; position: relative; width: 50px; height: 30px; border-radius: 999px; background: rgba(255,255,255,.16); transition: background .15s; } .v6-tr i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; }
.v6-tr input:checked + i { background: var(--u-a, #29abe2); } .v6-tr.sl input:checked + i { background: #1f9d63; } .v6-tr input:checked + i::after { transform: translateX(20px); }
.v6-cas .npl-btn, #npl-admin [data-v6ca] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: 700 14px Figtree, Arial, sans-serif; cursor: pointer; }
.ui-shw:has(.v6-ca) { z-index: 2147483647; }

/* ---------- Social ---------- */
.so-acc { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 10px; } .so-acc::-webkit-scrollbar { display: none; }
.so-acc button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--u-line2); background: var(--u-card); color: #fff; font: 700 14px var(--u-f); cursor: pointer; } .so-acc button.on { border-color: var(--u-a); box-shadow: 0 0 0 1px var(--u-a) inset; } .so-acc button.add { padding-left: 12px; color: var(--u-dim); }
.so-acc em { font-style: normal; min-width: 20px; padding: 2px 6px; border-radius: 999px; background: #ffb454; color: #1a1205; font-size: 12px; text-align: center; }
.so-f { margin-bottom: 10px; } .so-new { width: 100%; margin: 2px 0 12px; } .so-err { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,143,143,.12); color: #ffb3b3; font: 500 13px var(--u-f); }
.so-c { display: flex; gap: 12px; width: 100%; margin: 0 0 8px; padding: 10px; border-radius: 16px; border: 1px solid var(--u-line); background: var(--u-card); color: #fff; text-align: left; cursor: pointer; font-family: var(--u-f); }
.so-th { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #1c2440; color: var(--u-a2); } .so-th img { width: 100%; height: 100%; object-fit: cover; }
.so-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .so-m b { font: 700 15px/1.25 var(--u-f); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .so-m small { color: var(--u-dim); font: 500 12.5px/1.3 var(--u-f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-r { display: flex; align-items: center; gap: 10px; margin-top: auto; } .so-r i { display: inline-flex; align-items: center; gap: 3px; font-style: normal; color: var(--u-dim); font: 600 12px var(--u-f); }
.so-st { font-style: normal; padding: 3px 9px; border-radius: 999px; font: 700 11.5px/1.2 var(--u-f); background: rgba(255,255,255,.1); color: #fff; } .so-st.amb { background: rgba(255,180,84,.2); color: #ffc878; } .so-st.red { background: rgba(255,120,120,.18); color: #ff9c9c; } .so-st.grn { background: rgba(53,208,127,.18); color: #7fe3b0; } .so-st.blu { background: rgba(41,171,226,.2); color: #8fd6f5; } .so-st.dim { color: var(--u-dim); }
.so-md { display: grid; gap: 8px; } .so-im { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 14px; background: #000; } .so-vm { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; } .so-vm iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.so-lk { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--u-line2); color: var(--u-a2); text-decoration: none; font: 600 14px var(--u-f); } .so-lk span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-row { display: flex; align-items: center; gap: 10px; margin: 12px 0 6px; color: #fff; font: 600 14px var(--u-f); } .so-pl { display: flex; flex-wrap: wrap; gap: 6px; } .so-pl i { font-style: normal; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--u-line2); color: var(--u-dim); font: 600 12px var(--u-f); }
.so-post .ui-sec, .so-ed .ui-sec { display: flex; align-items: center; } .so-cp { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--u-a2); font: 700 12.5px var(--u-f); min-height: 32px; cursor: pointer; }
.so-cap { padding: 12px 14px; border-radius: 14px; background: var(--u-card); border: 1px solid var(--u-line); color: #fff; font: 500 15px/1.5 var(--u-f); overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; }
.so-fl > div { padding: 8px 0; border-bottom: 1px solid var(--u-line); } .so-fl small { display: block; color: var(--u-dim); font: 600 12px var(--u-f); } .so-fl span { color: #fff; font: 500 14.5px/1.45 var(--u-f); overflow-wrap: anywhere; }
.so-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; } .so-acts .ui-btn { flex: 1 1 130px; } .so-acts.mk .ui-btn { flex: 0 1 auto; } .ui-btn.ok { background: #1f9d63; border-color: #1f9d63; color: #fff; }
.so-cm > div { padding: 10px 12px; margin-bottom: 6px; border-radius: 12px; background: var(--u-card); border: 1px solid var(--u-line); } .so-cm > div.ch { border-color: rgba(255,120,120,.5); } .so-cm > div.ok { border-color: rgba(53,208,127,.5); } .so-cm b { font: 700 13.5px var(--u-f); color: #fff; } .so-cm small { margin-left: 8px; color: var(--u-dim); font: 500 12px var(--u-f); } .so-cm p { margin: 4px 0 0; color: #fff; font: 500 14.5px/1.45 var(--u-f); overflow-wrap: anywhere; }
.so-cf { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; } .so-cf textarea { flex: 1; min-height: 44px; }
.so-pp { display: flex; flex-wrap: wrap; gap: 6px; } .so-ml { display: grid; gap: 6px; } .so-mi { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: var(--u-card); border: 1px solid var(--u-line); color: #fff; font: 500 13px var(--u-f); } .so-mi img, .so-mi i { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; display: grid; place-items: center; background: #1c2440; color: var(--u-a2); } .so-mi span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .so-mi button { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.so-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.so-tg { display: flex; gap: 8px; flex-wrap: wrap; } .so-tg a, .so-tg span { position: relative; display: block; width: 104px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #1c2440; text-decoration: none; } .so-tg a.on, .so-tg.ed span:first-child { border-color: var(--u-a); } .so-tg img { display: block; width: 100%; height: 72px; object-fit: cover; } .so-tg small { display: block; padding: 4px 6px; color: var(--u-dim); font: 600 11px var(--u-f); text-align: center; }
.so-tg.ed span > button:not(.mk) { position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(4,6,14,.7); color: #fff; } .so-tg.ed .mk { display: block; width: 100%; padding: 5px 2px; border: 0; background: none; color: var(--u-a2); font: 700 11px var(--u-f); }
#nc .nc-lc .nc-rvs { color: var(--u-a2); } #nc .nc-lc .nc-rvb { flex: none; display: inline-flex; align-items: center; gap: 5px; font-style: normal; min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--u-a); color: #fff; font: 700 12px var(--u-f); }
#nc .nc-wl { display: none; }
@media (min-width: 700px) { html.nc-win #nc { position: fixed; inset: 0; display: flex; } html.nc-win #nc .nc-wl { display: flex; flex-direction: column; flex: none; width: 340px; border-right: 1px solid var(--u-line); background: var(--u-bg2); overflow: hidden; } html.nc-win #nc .nc-wl .nc-list { flex: 1; overflow-y: auto; }
  html.nc-win #nc .nc-panel { position: relative !important; flex: 1; min-width: 0; display: flex !important; } html.nc-win #nc .nc-panel .nc-h [data-nc="back"] { display: none; } }
@media (max-width: 899px) { html.nc-on .ui-tip { display: none !important; } }
html.shell #npp-pc .drawer .uqa { padding-bottom: 12px !important; min-height: 86px; box-sizing: content-box; } html.shell #npp-pc .drawer .uqa-b { line-height: 1.25; align-content: start; } .uqa-r { background: var(--u-bg) !important; box-shadow: -14px 0 12px var(--u-bg); }

/* NPP Pipeline app · v1.7 · speed, the keyboard on a real iPhone, pages that open properly */

/* ---------- speed ---------- */
#v7-bar { position: fixed; z-index: 2147483640; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; opacity: 0; transition: opacity .2s; overflow: hidden; }
#v7-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--u-a, #29abe2), transparent); }
html.v7-net #v7-bar { opacity: 1; } html.v7-net #v7-bar::before { animation: v7run 1.1s linear infinite; }
@keyframes v7run { to { left: 100%; } }
@keyframes v7spin { to { transform: rotate(360deg); } }
.v7-spin { display: inline-block; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: v7spin .7s linear infinite; vertical-align: -3px; }
.ui-btn.v7-busy { opacity: 1 !important; }
/* every button answers the finger at once */
@media (pointer: coarse) {
  html.shell button:active, html.shell .btn:active, html.shell .ui-btn:active, html.shell .ui-li:active, html.shell .ui-chip:active, html.shell [data-x]:active, html.shell [data-open]:active, html.shell [data-so]:active, html.shell .nc-row:active, html.shell .chip:active, html.shell .pill:active, html.shell a.btn:active, html.shell summary:active { opacity: .58; transition: none !important; }
  html.shell #ui-bar button:active { opacity: .5; transform: scale(.94); }
}
.so-upd { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 500 12.5px var(--u-f); color: var(--u-dim); } .so-upd[hidden] { display: none; }
.so-upd i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); border-top-color: var(--u-a, #29abe2); animation: v7spin .7s linear infinite; }
.appf iframe, .socf iframe { background: #0c0f1d; }
.ui-toast button { white-space: nowrap; }

/* ---------- the keyboard ---------- */
/* iOS 26's bar above the keys is see-through: whatever sits under the sheet used to show through it. Each layer now carries its own colour down behind the keyboard. */
/* (a shadow the same height as the layer, placed right under it, then one more: no gap, and enough for a tall keyboard) */
html.ui-kbv .ui-shw { box-shadow: 0 var(--vvh, 50vh) 0 0 var(--u-bg2, #121829), 0 calc(var(--vvh, 50vh) * 2) 0 0 var(--u-bg2, #121829); }
html.ui-kbv #npp-pc .modal, html.ui-kbv #npp-sales .modal, html.ui-kbv #npl-admin > .npl-adm, html.ui-kbv #nc .nc-panel, html.ui-kbv.shell #npp-pc .drawer, html.ui-kbv .v5-mk, html.ui-kbv .nc-view { box-shadow: 0 var(--vvh, 50vh) 0 0 var(--u-bg, #0c0f1d), 0 calc(var(--vvh, 50vh) * 2) 0 0 var(--u-bg, #0c0f1d); }
/* and with a chat open on a phone, the page underneath is not drawn at all while typing: nothing is there to show through */
@media (max-width: 899px) {
  /* v1.7 (2): on a phone Chat is a page by itself, not a layer over another page. While Chat is up the Projects / Sales page and the top bar
     are not there at all (no layout, no paint, nothing to scroll or show through); chat.js puts the page back where it was on the way out. */
  html.nc-on #npp-pc > .main, html.nc-on #npp-sales .main, html.nc-on #ui-top { display: none !important; }
  html.nc-in #ui-bar { display: none !important; }   /* an open conversation is the whole screen */
}
/* a long form's Cancel / Save row steps aside while the keyboard is up (it sat on top of the boxes) */
html.ui-kbv .ui-sh.v7-nofoot > .ui-sh-f { display: none; }
html.ui-kbv.shell #npp-sales .mbox .mfoot, html.ui-kbv.shell #npp-pc .modal .mbox > .row:last-child { position: static !important; margin-bottom: 0 !important; padding-bottom: 12px !important; }
html.ui-kbv.shell #npp-sales .mbox, html.ui-kbv.shell #npp-pc .modal > .mbox { padding-bottom: 14px !important; }
/* the PIN pad */
#v7-pad { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483647; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px max(14px, calc(50vw - 210px)) calc(var(--sab) + 12px); box-sizing: border-box; background: var(--u-bg2, #121829); border-top: 1px solid var(--u-line, rgba(255,255,255,.1)); -webkit-user-select: none; user-select: none; touch-action: manipulation; }
html.v7-pad #v7-pad { display: grid; }
#v7-pad button { height: 54px; border: 0; border-radius: 14px; background: rgba(255,255,255,.09); color: #fff; font: 600 24px/1 var(--u-f, system-ui); display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
#v7-pad button.s { background: none; font-size: 14px; font-weight: 600; color: var(--u-dim, #9aa4bd); }
#v7-pad button.on, #v7-pad button:active { background: rgba(255,255,255,.26); opacity: 1 !important; }
html.v7-pad .ui-shw, html.v7-pad #npp-pc .modal, html.v7-pad #npp-sales .modal, html.v7-pad .npl, html.v7-pad #v5-lock { padding-bottom: var(--padh, 280px) !important; box-sizing: border-box !important; }
html.v7-pad .ui-sh { max-height: calc(100dvh - var(--sat) - 20px - var(--padh, 280px)); } html.v7-pad .ui-sh-f { padding-bottom: 12px; }
html.v7-pad #ui-bar, html.v7-pad #v5-back { display: none !important; }
/* the keyboard test page */
.v7-ktp { margin: 12px 0; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); font: 500 11.5px/1.5 ui-monospace, Menlo, monospace; white-space: pre-wrap; word-break: break-word; -webkit-user-select: text; user-select: text; color: #dfe6f5; }
.v7-ktl { position: fixed; left: 0; right: 0; height: 3px; z-index: 5; pointer-events: none; } .v7-ktl.a { bottom: 0; background: #29abe2; } .v7-ktl.b { background: #3ccf86; }

/* ---------- pages + documents ---------- */
.v7-bk { position: absolute; left: 10px; top: 12px; z-index: 4; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center; justify-content: center; }
html.shell .modal > .mbox.v7-hb { position: relative; }
html.shell .modal > .mbox.v7-hb > h2, html.shell .modal > .mbox.v7-hb > h3, html.shell .modal > .mbox.v7-hb > h4 { padding-left: 46px !important; padding-right: 6px !important; min-height: 34px; }
html.shell .modal > .mbox.v7-hb > h4 + .sub, html.shell .modal > .mbox.v7-hb > h3 + .sub { padding-left: 46px; }
html.shell #npp-sales .modal > .mbox.v7-hb > .x { display: none !important; }
/* the document page: paper documents fit the screen like a PDF */
.ui-sh.v7-doc .ui-sh-b { background: #2a2f3d; } .ui-sh.v7-doc .v7-dochost { background: transparent; min-height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; }
.v7-pgw { margin: 0 auto; overflow: hidden; background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.4); } .v7-pg { width: 816px; background: #fff; transform-origin: 0 0; } .v7-pg.flow { width: auto; min-height: 100%; }
.v7-dochost.zoom .v7-pgw { margin: 0; }
.v7-zh { margin: 10px 0 18px; text-align: center; font: 500 12.5px var(--u-f); color: #9aa4bd; }
.v7-dw { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 46vh; padding: 0 24px; text-align: center; font: 500 15px/1.4 var(--u-f); color: #cfd6e6; } .v7-dw.bad { color: #ffb4b4; }
@media print { html.v6-printing .v7-pgw { width: auto !important; height: auto !important; overflow: visible !important; box-shadow: none !important; } html.v6-printing .v7-pg { transform: none !important; width: auto !important; } html.v6-printing .v7-zh { display: none !important; } }

/* ---------- smaller fixes ---------- */
#nc .nc-lb { display: block; margin: 10px 2px 4px; font: 600 12.5px var(--u-f); color: var(--u-dim); } #nc .nc-lb small { font-weight: 500; opacity: .8; }
#nc input.nc-i[type=date] { min-height: 44px; -webkit-appearance: none; appearance: none; }
/* the client page's five buttons fit one row */
@media (max-width: 760px) { html.shell #npp-sales .ch-a.v7-five { display: flex; flex-wrap: nowrap; gap: 6px; } html.shell #npp-sales .ch-a.v7-five > .btn { flex: 1 1 0; min-width: 0; padding: 0 6px !important; justify-content: center; white-space: nowrap; } html.shell #npp-sales .ch-a.v7-five > .btn svg { display: none; } html.shell #npp-sales .ch-a.v7-five > .btn.v5-hid { display: none !important; } }
/* Videos tab: an edit with a thumbnail squeezed its own name into a 22px column (one word per line) */
html.shell #npp-pc .cut-h.v4:has(> .ui-cth) { grid-template-columns: 58px 22px 26px minmax(0, 1fr) auto; }
html.shell #npp-pc .cut-h.v4 > .ui-cth { margin-right: 0; align-self: start; }
@media (max-width: 760px) { html.shell #npp-pc .cut-h.v4:has(> .ui-cth) { grid-template-columns: 58px 22px 26px minmax(0, 1fr); } html.shell #npp-pc .cut-h.v4:has(> .ui-cth) .cut-dls { grid-column: 2 / -1; } }

/* v1.7 (2): the bar's + stands a little above the bar; the chat page sat over its top edge */
@media (max-width: 899px) { html.nc-on:not(.nc-in) #ui-bar { z-index: 9501; } }
/* v1.7 (2): a solid sheet behind the iPhone keyboard, whatever is open: its glass shows the app through it, and that must never be another page */
#v7-cur { display: none; position: fixed; z-index: 2147483000; left: 0; right: 0; top: calc(var(--vvt, 0px) + var(--vvh, 100vh)); height: 120vh; background: var(--u-bg, #0c0f1d); pointer-events: none; }
html.ui-kbv.v7-ios #v7-cur { display: block; }

/* v1.7 (3): until a logo has loaded, its tile is the client's color with the initials (not an empty white square) */
.ui-lg.has:not(.ld) { background: var(--c, #2a3350); box-shadow: none; }
.ui-lg.has:not(.ld)::before { content: attr(data-i); }
.ui-lg.has:not(.ld) img { opacity: 0; }

/* v1.72: the strip under the bottom bar. Installed on an iPhone (status bar drawn over the app), the phone makes the page one status
   bar shorter than the screen, so everything pinned to the bottom floats that far up. 1) the standard cure: a page a status bar
   taller than the screen makes the phone use all of it. 2) if a strip is still measured (v7-fix.js, --lvb), the bar and Chat reach down over it. */
@media (display-mode: standalone) { html { min-height: calc(100% + env(safe-area-inset-top, 0px)); } }
html.v7-lvb:not(.ui-kbv) #ui-bar { bottom: calc(0px - var(--lvb, 0px)); }
@media (max-width: 899px) {
  html.v7-lvb:not(.ui-kbv) #nc .nc-panel { bottom: calc(var(--sab) + var(--u-bar) - var(--lvb, 0px)); }
  html.v7-lvb.nc-in:not(.ui-kbv) #nc .nc-panel { bottom: calc(0px - var(--lvb, 0px)); }
  html.v7-lvb:not(.ui-kbv) .ui-shw { bottom: calc(0px - var(--lvb, 0px)); }
}

/* ===== v1.8 ===== */
/* loading = the Northern Pine logo turning, with the word Loading (no bars, no grey boxes) */
.v8-load, .ui-sk.st { display: grid !important; justify-items: center; align-content: center; gap: 14px; min-height: 46vh; padding: 30px 16px; color: var(--u-dim, #9aa6c4); font: 700 15px var(--u-f, system-ui); letter-spacing: .02em; }
.ui-sk.st > i { display: none !important; }
:root { --v8-tree: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 fill=%22%23ffffff%22 viewBox=%22620 88 680 728%22%3E %3Cg class=%22ring%22%3E %3Cpath d=%22M 725.45 698.87 C 670.89 641.08 637.42 563.14 637.42 477.39 C 637.42 307.73 768.37 168.65 934.71 155.71 C 936.32 155.58 937.94 155.48 939.56 155.38 C 940.71 151.90 941.82 148.37 942.92 144.82 C 941.34 144.90 939.77 144.98 938.20 145.08 C 764.48 156.36 627.07 300.83 627.07 477.39 C 627.07 566.31 661.92 647.08 718.71 706.81 C 720.96 704.22 723.21 701.58 725.45 698.87%22/%3E %3Cpath d=%22M 983.10 155.55 C 984.64 155.66 986.18 155.76 987.72 155.89 C 1152.98 169.91 1282.75 308.5 1282.75 477.39 C 1282.75 560.86 1251.05 636.93 1199.03 694.22 C 1201.14 696.92 1203.30 699.66 1205.53 702.44 C 1259.90 643.17 1293.10 564.16 1293.10 477.39 C 1293.10 301.54 1156.80 157.53 984.08 145.23 C 982.57 145.12 981.05 145.03 979.54 144.95 C 980.67 148.40 981.85 151.94 983.10 155.55%22/%3E %3Cpath d=%22M 1160.39 730.35 C 1105.36 773.98 1035.77 800.05 960.08 800.05 C 884.45 800.05 814.89 774.02 759.88 730.43 L 748.77 734.77 C 806.26 782.03 879.86 810.40 960.08 810.40 C 1040.35 810.40 1113.98 782.00 1171.48 734.70 Z%22/%3E %3C/g%3E %3Cg class=%22tm%22%3E%3Cpath transform=%22translate%281275.00 185.32%29%22 d=%22M 2.32 0 L 4.14 0 L 4.14 -6.15 L 6.32 -6.15 L 6.32 -7.60 L 0.17 -7.60 L 0.17 -6.15 L 2.32 -6.15 Z M 2.32 0%22/%3E%3Cpath transform=%22translate%281281.45 185.32%29%22 d=%22M 7.65 0 L 9.42 0 L 8.98 -7.60 L 6.62 -7.60 L 5.78 -5.07 C 5.51 -4.23 5.23 -3.21 5.01 -2.34 L 4.98 -2.34 C 4.79 -3.23 4.54 -4.18 4.31 -5.06 L 3.51 -7.60 L 1.10 -7.60 L 0.60 0 L 2.28 0 L 2.42 -2.89 C 2.48 -3.82 2.51 -5.01 2.56 -6.03 L 2.57 -6.03 C 2.78 -5.04 3.04 -3.95 3.31 -3.06 L 4.15 -0.12 L 5.57 -0.12 L 6.54 -3.09 C 6.85 -3.98 7.18 -5.06 7.43 -6.03 L 7.46 -6.03 C 7.46 -4.93 7.5 -3.82 7.54 -2.90 Z M 7.65 0%22/%3E%3Cpath d=%22M 1283.01 193.55 C 1276.18 193.55 1270.65 188.29 1270.65 181.80 C 1270.65 175.30 1276.18 170.04 1283.01 170.04 C 1289.84 170.04 1295.37 175.30 1295.37 181.80 C 1295.37 188.29 1289.84 193.55 1283.01 193.55 M 1283.01 168.76 C 1275.44 168.76 1269.30 174.60 1269.30 181.80 C 1269.30 189 1275.44 194.83 1283.01 194.83 C 1290.58 194.83 1296.72 189 1296.72 181.80 C 1296.72 174.60 1290.58 168.76 1283.01 168.76%22/%3E%3C/g%3E %3Cpath class=%22tier t1%22 d=%22M 960.37 567.64 L 773.92 635.03 C 773.92 635.03 746.43 694.89 671.50 760.07 L 960.15 647.44 L 1252.78 761.84 C 1252.78 761.84 1197.58 708.08 1152.02 634.59 Z%22/%3E %3Cpath class=%22tier t2%22 d=%22M 960 442.16 L 829.35 495.62 C 829.35 495.62 818.26 536.16 730.03 620.84 L 960 537.04 L 1189.82 620.84 C 1189.82 620.84 1143.26 575.17 1092.72 497.58 Z%22/%3E %3Cpath class=%22tier t3%22 d=%22M 960.15 337.52 L 857.28 378.75 C 857.28 378.75 856.84 403.58 779.69 482.95 L 960.15 412.01 L 1141.05 482.95 C 1141.05 482.95 1090.94 438.17 1064.78 378.75 Z%22/%3E %3Cpath class=%22tier t4%22 d=%22M 960.08 93.66 C 960.08 93.66 936.20 242.19 827.57 357.91 L 960 307.37 L 1092.72 357.91 C 1092.72 357.91 1010.57 284.75 960.08 93.66 Z%22/%3E %3C/svg%3E"); }
.v8-tree, .ui-sk.st::before { content: ''; display: block; width: 84px; height: 90px; background: var(--v8-tree) center / contain no-repeat; animation: v8Turn 1.5s linear infinite; }
@keyframes v8Turn { from { transform: perspective(400px) rotateY(0); } to { transform: perspective(400px) rotateY(360deg); } }
.ui-sk.st::after { content: 'Loading'; }
#ui-splash { grid-auto-flow: row; align-content: center; justify-items: center; gap: 20px; }
#ui-splash .v8-tree { width: 112px; height: 120px; }
#ui-splash span { color: #9aa6c4; font: 700 16px Figtree, system-ui, sans-serif; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .v8-tree, .ui-sk.st::before { animation-duration: 4s; } }

/* feels like an app: a double tap never zooms the page (pinching a photo in the viewer still works) */
:where(*) { touch-action: manipulation; }

/* chat: the strip under the header is a button; a client's chat also offers its project chats */
#nc .nc-strip { padding: 0; gap: 0; }
#nc .nc-stb { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 14px; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
#nc .nc-stb svg { flex: none; opacity: .8; } #nc .nc-stb span { flex: 0 1 auto; }
#nc .nc-stp { flex: none; display: inline-flex; align-items: center; gap: 5px; margin: 3px 8px 3px 0; padding: 4px 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; font: 700 12px var(--u-f); white-space: nowrap; }
#nc .nc-pcl { max-height: 52vh; overflow-y: auto; margin: 0 -6px; } #nc .nc-pcl .nc-row { width: 100%; }
/* pins */
#nc .nc-pin { padding: 0 6px 0 0; gap: 2px; } #nc .nc-pin .nc-pgo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 9px 6px 9px 12px; opacity: 1; color: inherit; font: inherit; text-align: left; }
#nc .nc-pin .nc-pgo span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#nc button.nc-pall { width: 100%; padding: 9px 12px; gap: 8px; border: 0; border-bottom: 1px solid var(--u-line); color: inherit; opacity: 1; text-align: left; font: 700 13px var(--u-f); } #nc .nc-pall > svg:last-child { transition: transform .15s; } #nc .nc-pall.on > svg:last-child { transform: rotate(180deg); }
#nc .nc-pinl { max-height: 44vh; overflow-y: auto; } #nc .nc-pinl .nc-pin { background: rgba(245,185,66,.06); }
#nc .nc-m.pinned .nc-bb, #nc .nc-m.pinned .nc-imgs, #nc .nc-m.pinned .nc-lc { box-shadow: 0 0 0 2px #f5b942; }
#nc .nc-pd { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; color: #f5b942; font: 700 11px var(--u-f); letter-spacing: .03em; } #nc .nc-m.me .nc-pd { justify-content: flex-end; }
/* a reply = a small quote of the message it answers, above a normal message */
#nc .nc-q { margin-bottom: 3px; } #nc .nc-q svg { float: left; margin: 1px 5px 0 0; opacity: .7; }
/* press and hold: the message isn't "selected" by the phone, it is outlined, and shown again at the top of the menu */
@media (pointer: coarse) { #nc .nc-m, #nc .nc-m *, #nc .nc-row, #nc .nc-row * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; } }
#nc .nc-m.held .nc-bb, #nc .nc-m.held .nc-imgs, #nc .nc-m.held .nc-lc, #nc .nc-m.held .nc-file { box-shadow: 0 0 0 3px var(--u-a, #2fa8e0); }
#nc .nc-mp { display: flex; gap: 8px; align-items: baseline; margin: 0 2px 10px; padding: 9px 12px; border-radius: 12px; border-left: 3px solid var(--u-a, #2fa8e0); background: rgba(255,255,255,.06); font: 500 13.5px/1.35 var(--u-f); }
#nc .nc-mp b { flex: none; } #nc .nc-mp span { min-width: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--u-dim); overflow-wrap: anywhere; }
/* the thing about to be sent with the message: X on the left, Send on the right */
#nc .nc-up.cd { padding: 4px; gap: 7px; max-width: 100%; background: color-mix(in srgb, var(--u-a, #2fa8e0) 20%, var(--u-card2)); border: 1px solid color-mix(in srgb, var(--u-a, #2fa8e0) 55%, transparent); }
#nc .nc-up.cd em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; } #nc .nc-up.cd > svg { flex: none; opacity: .8; }
#nc .nc-up.cd .go { width: auto; height: 26px; padding: 0 10px 0 12px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: var(--u-a, #2fa8e0); color: #fff; font: 800 12.5px var(--u-f); }
/* the header stays put while the keyboard comes and goes: the chat's top edge moves with the phone's own slide instead of jumping ahead of it */
html.v7-ios #nc .nc-panel { transition: top .25s cubic-bezier(.38, .7, .125, 1); }

/* ---------- the project page ---------- */
.ui-more.v8-flat > summary { display: none; } .ui-more.v8-flat { border: 0; padding: 0; margin-top: 6px; }
/* the action circles: every one the same width, a two-word name wraps under its circle instead of pushing its neighbours */
.uqa-b { width: 66px !important; white-space: normal !important; text-align: center; line-height: 1.15 !important; align-content: start; }
.uqa-r[data-v8vid] { cursor: pointer; } .uqa-r[data-v8vid]:active { opacity: .7; }
.v8-pc { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin: 10px 0 4px; padding: 0 14px; border: 0; border-radius: 14px; background: #1f9d63; color: #fff; font: 800 15px var(--u-f); cursor: pointer; }
.v8-pc small { font: 600 12.5px var(--u-f); opacity: .85; } .v8-pc:active { transform: scale(.985); }
.v8-pc.off { background: var(--u-card2, #1d2742); color: var(--u-dim, #9aa6c4); border: 1px dashed var(--u-line2, #2c3757); }
#npp-pc .drawer .df [data-savedone], #npp-pc .drawer .df [data-complete] { display: none !important; }
#npp-pc .drawer .df.v8-bare { display: none !important; }
/* the chat info page: the logo is a button */
.nci-lg { position: relative; border: 0; background: none; padding: 0; } .nci-lg small { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: #232c47; border: 1px solid var(--u-line2); color: #fff; font: 700 11px var(--u-f); white-space: nowrap; }
/* one back arrow, top left (phones): it replaces the "‹ My Wall" pill that sat over the bottom of the page */
#v8-bk[hidden] { display: none !important; } #v8-bk { flex: none; margin: 0 2px 0 -6px; }
@media (max-width: 899px) { #v5-back { display: none !important; } }
@media (min-width: 900px) { #v8-bk { display: none !important; } }

/* ===== v1.81 ===== */
/* the app's own loading tree doesn't show twice while the first screen fades */
body:has(#ui-splash:not(.out)) .ui-sk.st { visibility: hidden; }

/* ===== v1.82 ===== */
/* a reply: the message, and inside its bubble a small "in reply to <name>" block with the words being answered (tap = go to them) */
#nc .nc-bb.hasq { display: flex; flex-direction: column; gap: 7px; }
#nc .nc-qi { display: block; width: 100%; margin: 0; padding: 5px 9px 6px; border: 0; border-left: 3px solid rgba(255,255,255,.75); border-radius: 6px; background: rgba(0,0,0,.2); color: inherit; font: inherit; text-align: left; min-width: 0; }
#nc .nc-qi b { display: block; font: 700 11.5px var(--u-f); opacity: .9; margin-bottom: 1px; }
#nc .nc-qi span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.3; opacity: .85; overflow-wrap: anywhere; }
#nc .nc-m:not(.me) .nc-qi { border-left-color: var(--u-a, #2fa8e0); background: rgba(255,255,255,.07); }
#nc .nc-m > .nc-b > .nc-qi { max-width: 260px; border-radius: 10px; margin-bottom: 3px; background: rgba(255,255,255,.07); }
/* a muted chat says so: its header and its row are tinted red, with the bell-off mark */
#nc .nc-panel.nc-muted > .nc-h { background: color-mix(in srgb, #ef4444 22%, var(--u-bg, #0c0f1d)); box-shadow: inset 0 -2px 0 rgba(239,68,68,.55); }
#nc .nc-row.mut { background: color-mix(in srgb, #ef4444 13%, transparent); box-shadow: inset 3px 0 0 #ef4444; }
#nc .nc-mu { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px 1px 5px; border-radius: 999px; background: rgba(239,68,68,.2); color: #ef4444; font: 700 10.5px var(--u-f); font-style: normal; vertical-align: 1px; }
#nc .nc-face { position: relative; } #nc .nc-face.mut > :first-child { box-shadow: 0 0 0 2.5px #ef4444; }
#nc .nc-fm { position: absolute; top: -3px; right: 2px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #ef4444; color: #fff; border: 2px solid var(--u-bg, #0c0f1d); }
/* it's an app: on a phone or tablet nothing on the page can be "selected" by pressing on it (boxes you type in still work as usual) */
@media (pointer: coarse) {
  html.shell body, html.shell body * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  html.shell input, html.shell textarea, html.shell [contenteditable], html.shell [contenteditable] * { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
}
/* a project page is the whole screen on a phone: the page under it isn't drawn while it is open (nothing to flash on the way in or out) */
@media (max-width: 899px) { #npp-pc:has(> .drawer.open) > .main, #npp-pc:has(.drawer.open) > .main { visibility: hidden; } }


/* ===== v1.9 ===== */
/* chat: Projects / Sales sits in the middle of the header, next to "Chat" (like My Wall and Schedule) */
#nc .nc-h { position: relative; }
#nc .nc-hsw { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; }
#nc .nc-hsw .v6-sw { margin: 0; }
#nc .nc-list > .v6-sw { display: none; }
@media (max-width: 380px) { #nc .nc-hsw { left: auto; right: 92px; transform: translateY(-50%); } }
/* the muted mark in a chat's header (the bell itself now lives on the chat's info page) */
#nc .nc-mb { display: grid; place-items: center; color: #ef4444; pointer-events: none; }
/* one reaction each: mine is lit in the menu */
#nc .nc-emo button.on { background: color-mix(in srgb, var(--u-a, #2fa8e0) 32%, transparent); box-shadow: 0 0 0 2px var(--u-a, #2fa8e0); border-radius: 50%; }
/* New message: every client */
#nc .nc-nmq { margin: 4px 0 8px; width: 100%; }
#nc .nc-nml { max-height: 56vh; overflow-y: auto; margin: 0 -6px; } #nc .nc-nml .nc-row { width: 100%; } #nc .nc-nml .nc-row[hidden] { display: none; }
#nc .nc-nml .nc-row[disabled] { opacity: .45; }

/* v1.9 edit steps */
.dues.steps .drow.st{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.dues.steps .dstn{flex:1;min-width:0;display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dues.steps .dstn i{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:700;background:rgba(255,255,255,.08);color:var(--mut,#9aa)}
.dues.steps .dstn small{margin-left:4px;font-size:11px;font-weight:700;color:#f0a24a;text-transform:uppercase;letter-spacing:.04em}
.dues.steps .drow.st.done .dstn i{background:#2e9e5b;color:#fff}
.dues.steps .drow.st.pass .dstn i{background:#e8892c;color:#fff}
.dues.steps .dck.pass{border-color:#e8892c;color:#e8892c}
.dues.steps .dstx{font-size:12px;color:var(--mut,#9aa);white-space:nowrap}
.dues.steps .drow.appr.done .dstn{color:#5fd08f}
.dues.steps .dexl{display:block;margin:12px 0 4px}
/* the progress bar across the edit card */
html.shell #npp-pc .cut-h .ui-pl.full,.cut-h .ui-pl.full{flex:1 0 100%;width:auto;grid-column:1/-1;display:flex;gap:3px;margin:8px 0 0;order:9;min-width:0}
html.shell #npp-pc .cut-h .ui-pl.full i,.cut-h .ui-pl.full i{flex:1;width:auto;height:5px;border-radius:3px;background:rgba(255,255,255,.12)}
.cut-h .ui-pl.full i.on{background:#2e9e5b}
.cut-h .ui-pl.full i.ps{background:#e8892c}
.cut-h .ui-pl.full i.cur{background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1.5px #7fb2ff}
html.shell #npp-pc .cut-h,.cut-h{flex-wrap:wrap!important}
/* timeline: passed and in-revisions steps orange, future steps a hollow dot */
.utl-i.pass>i,.utl-i.rev>i{background:#e8892c!important;border-color:#e8892c!important}
.utl-i.rev b{color:#f0a24a}
.utl-i.ok0>i{background:transparent!important}
/* shoots on the project page: the Shoots-page card; done ones outlined green */
.v9-shw{margin-bottom:12px}
.v9-shw .sc{margin:0}
.v9-shw .sc.done{box-shadow:0 0 0 2px #2e9e5b inset;border-color:#2e9e5b}
.v9-done{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:99px;background:#2e9e5b;color:#fff;font-size:11px;font-weight:700}
.v9-shw.ed>.sc{border-bottom-left-radius:0;border-bottom-right-radius:0}
/* which step after Editing */
.qsp .v9-steps{display:flex;flex-wrap:wrap;gap:6px}
/* task sheet */
.ut-desc{min-height:76px;resize:vertical}
.ut-link{display:flex;gap:8px;align-items:center}.ut-link .ui-in{flex:1;min-width:0}
/* v1.9 Menu: the one Projects/Sales switch, centred in the header */
.ui-menu .ui-sh-h{position:relative}
.ui-menu .um-hsw{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2}
.ui-menu .um-hsw .v6-sw{margin:0}
.ui-menu .um-sw,.ui-menu .um-side{display:none!important}
/* v1.9 Sales schedule */
.sch-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.sch-top .row{display:flex;align-items:center;gap:8px}
.sch-wk{min-width:92px;text-align:center;font-size:15px}
.sch-who{display:flex;gap:6px;overflow-x:auto;margin-bottom:12px;scrollbar-width:none}
.sch-who::-webkit-scrollbar{display:none}
.sch-day{border-radius:14px;background:rgba(255,255,255,.035);padding:10px 12px;margin-bottom:10px}
.sch-day.today{box-shadow:inset 0 0 0 1.5px rgba(74,222,128,.55)}
.sch-day.past{opacity:.6}
.sch-dh{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.sch-dh b{font-size:15px}.sch-dh span{color:var(--u-dim,#99a);font-size:13px}
.sch-dh em{font-style:normal;font-size:11px;font-weight:700;padding:2px 7px;border-radius:99px;background:rgba(74,222,128,.16);color:#6ee7a0}
.sch-dh .sch-add,html.shell #npp-pc .sch-dh .sch-add,.sch-add{margin-left:auto!important;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.06);border:0;color:inherit}
.sch-add svg{width:16px;height:16px}
.sch-none{font-size:13px;color:var(--u-dim,#99a);padding:2px 0 4px}
.sch-it{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px 0;border:0;background:none;color:inherit;border-top:1px solid rgba(255,255,255,.06);font:inherit;min-width:0}
.sch-dh+.sch-it{border-top:0}
.sch-t{flex:none;width:54px;font-size:13px;font-weight:700;display:flex;flex-direction:column}
.sch-t small{font-weight:500;color:var(--u-dim,#99a);font-size:11px}
.sch-b{flex:1;min-width:0;display:flex;flex-direction:column}
.sch-b b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sch-b small{font-size:12px;color:var(--u-dim,#99a);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sch-p{flex:none;display:flex}
.sch-p>*+*{margin-left:-6px}
.sch-it.pj{opacity:.85}
.sch-it.pj .sch-t{color:#8fb8ff}
.sch-tag{flex:none;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:99px;background:rgba(56,152,236,.18);color:#8fc4ff}
/* Projects schedule: someone has Sales meetings that day */
.pc-sm{display:inline-block;margin:3px 0;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:700;background:rgba(74,222,128,.16);color:#6ee7a0}
/* v1.9: the logo's + badge isn't cut off */
html.shell #npp-sales .logo.ucl-lg{overflow:visible!important}
/* v1.9: the top bar keeps room for the page name next to the Projects/Sales switch */
@media (max-width:430px){#ui-top .v6-sw{margin:0 2px 0 6px}#ui-top .v6-sw button{padding:0 8px;font-size:11.5px;min-height:28px}#ui-top .ui-title{font-size:19px}#ui-top .ui-title b{min-width:3.2em}}
/* v1.9 Schedule: a + by each person's name */
.usc-ph{display:flex;align-items:center}
.usc-ph .usc-pp{margin-left:auto;flex:none;width:32px;height:32px;border-radius:50%;border:0;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#fff}
/* v1.9 linked clients + merge */
.v9-lk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;font-size:13px}
.v9-lk-t{display:inline-flex;align-items:center;gap:6px;color:var(--u-dim,#aab);min-width:0}
.v9-lk-b{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:99px;padding:5px 11px;background:rgba(255,255,255,.08);color:#fff;font:600 12.5px/1 var(--u-f,inherit)}
.v9-lkc{display:flex;align-items:center;gap:5px;margin:4px 12px 6px;padding:0;border:0;background:none;color:var(--u-dim,#aab);font:500 12px/1.3 var(--u-f,inherit);text-align:left}
.cc-pt{display:block;color:#8fc4ff!important}
.ccw.ptn .cc{margin-left:14px;border-left:2px solid rgba(143,196,255,.5)}
.v9-ck.on{box-shadow:inset 0 0 0 1.5px var(--u-a,#29abe2)}.v9-ck:not(.on)>svg:last-child{visibility:hidden}
.v9-lk-p{font-size:12.5px;color:var(--u-dim,#aab);margin:6px 0 10px}
.v9-lk-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.v9-lk-chips span{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:99px;background:rgba(255,255,255,.08);font-size:13px}
.v9-lk-chips span button{border:0;background:none;color:inherit;padding:0;display:grid}
.v9-lk-r .dim{color:var(--u-dim,#aab)}
.ui-btn.red{background:#d9534f!important;color:#fff!important}
.v9-mg{margin-left:6px}
/* v1.9 notifications window: unread first; a count on the bell */
.ui-act .ui-li.unr{box-shadow:inset 3px 0 0 var(--u-a,#29abe2);background:rgba(41,171,226,.08)}
.ui-act .ua-none{display:flex;align-items:center;gap:8px;color:var(--u-dim,#aab);font-size:13.5px;margin:4px 2px 12px}
#ui-top [data-ui="bell"] i.num{width:auto;min-width:17px;height:17px;padding:0 4px;border-radius:99px;display:grid;place-items:center;font:700 10.5px/1 var(--u-f,inherit);font-style:normal;color:#fff;top:2px;right:0}
/* v1.9.1: while Chat connects: a small status line (spinning tree) under the header; toasts centred, with the tree */
#nc .nc-cst{display:flex;align-items:center;justify-content:center;gap:10px;width:calc(100% - 28px);margin:0 14px 8px;padding:9px 12px;border:0;border-radius:12px;background:rgba(255,255,255,.06);color:#dfe6f3;font:600 13px/1.3 var(--u-f,inherit);text-align:left}
#nc .nc-cst img,.ui-toast .ui-tsp{flex:none;width:22px;height:22px;border-radius:50%;animation:v9spin 1.1s linear infinite}
#nc .nc-cst span{display:flex;flex-direction:column}#nc .nc-cst small{font-weight:500;color:var(--u-dim,#aab);font-size:11.5px}
@keyframes v9spin{to{transform:rotate(360deg)}}
.ui-toast{justify-content:center;text-align:center}.ui-toast>span{flex:0 1 auto}
/* v1.9.1 month view: each entry in the colors of who's on it */
.ucal-d span.pc{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.45)}
.ucal-d span.sh.pc{color:#fff}
.ucal-d span.due.pc{box-shadow:inset 0 0 0 1.5px #ff5a5a,0 0 0 1px #ff5a5a}
.ucal-d span svg{display:inline-block;vertical-align:-1px;margin-right:2px}
.ucal-d span.smt{background:rgba(74,222,128,.22);color:#9af0bd}
/* v1.9.1 Sales schedule: Week/Month + month grid */
.sch-top .sch-mode{flex:none}
.sch-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin:4px 0 12px}
.sch-it.pj.off .sch-b b{color:#aab3c7}
.sch-mg{border-radius:14px;background:rgba(255,255,255,.035);padding:6px}
.sch-mh,.sch-mb{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.sch-mh span{text-align:center;font-size:11px;color:var(--u-dim,#99a);padding:2px 0 4px}
.sch-md{min-height:74px;display:flex;flex-direction:column;gap:2px;padding:3px;border:0;border-radius:8px;background:rgba(255,255,255,.04);color:inherit;text-align:left;min-width:0;font:inherit}
.sch-md.oth{opacity:.4}.sch-md.now{box-shadow:inset 0 0 0 1.5px rgba(74,222,128,.7)}
.sch-md b{font-size:12px;padding:0 2px}
.sch-md span{display:block;height:15px;padding:0 3px;border-radius:4px;background:#1f9d63;color:#fff;font:600 9.5px/15px var(--u-f,inherit);white-space:nowrap;overflow:hidden;text-shadow:0 1px 1px rgba(0,0,0,.4)}
.sch-md span.pj{outline:1.5px dashed rgba(255,255,255,.55);outline-offset:-1.5px}
.sch-md span.off{background:#4b556e}
.sch-md small{font-size:9.5px;color:var(--u-dim,#99a);padding:0 2px}
.sch-mk{display:flex;align-items:center;gap:6px;margin-top:8px}.sch-k{display:inline-block;width:14px;height:9px;border-radius:3px;background:#1f9d63}.sch-k.pj{background:#3b6fd9;outline:1.5px dashed rgba(255,255,255,.6);outline-offset:-1.5px;margin-left:8px}
/* v1.9.1: nothing from the page behind shows while the Admin panel is open (the keyboard used to shift it into view); inputs are 16px so iOS doesn't zoom */
html.npl-on #npp-pc>.main,html.npl-on #npp-sales,html.npl-on #nc,html.npl-on #ui-bar{visibility:hidden!important}
html.npl-on body{position:fixed;inset:0;width:100%}
#npl-admin input:not([type=checkbox]):not([type=color]){font-size:16px!important}
