/* Nephew client portal, Direction C ("Nephew character").
   Loaded after portal.css on the staging site only (see the loader at the
   top of portal.js). Everything is scoped to html.np-v2 so the live design
   is untouched. Light and dark come from data-np-theme on <html>. */

html.np-v2[data-np-theme="dark"] { --np-bg:#000; --np-fg:#fff; --np-mute:#8a8a8a; --np-line:#262626; --np-pill:#3d3d3d; --np-card:#141414; --np-off:#333; --np-field:#0e0e0e; --np-hover:rgba(255,255,255,.06); }
html.np-v2[data-np-theme="light"] { --np-bg:#f5f5f5; --np-fg:#000; --np-mute:#6b6b6b; --np-line:#e0e0e0; --np-pill:#cfcfcf; --np-card:#fff; --np-off:#d4d4d4; --np-field:#fff; --np-hover:rgba(0,0,0,.04); }
html.np-v2 { --np-wait:#f97316; --np-done:#22c55e; --np-idle:#7a7a7a; }

/* ---------- Page chrome (Webflow parts) ---------- */
html.np-v2 body { background: var(--np-bg) !important; color: var(--np-fg); transition: background-color .2s; }
html.np-v2 .footer-section, html.np-v2 .cursor { display: none !important; }
html.np-v2 .welcome-portal_section, html.np-v2 .client-portal_prefooter-wrap { background: transparent !important; }
html.np-v2 .welcome-portal_section { padding-top: 0 !important; }
html.np-v2 .welcome-portal_section > .container-md, html.np-v2 .client-portal_prefooter-wrap > * { max-width: 1320px !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; padding-left: 40px !important; padding-right: 40px !important; }
html.np-v2 .client-portal_prefooter-wrap { border-top: 1px solid var(--np-line); margin-top: 120px; }
html.np-v2 .client-portal-prefooter_text { color: var(--np-mute) !important; font-size: 13px !important; }
html.np-v2 .client-portal-prefooter_logo { filter: brightness(0); opacity: .75; }
html.np-v2[data-np-theme="dark"] .client-portal-prefooter_logo { filter: brightness(0) invert(1); }
html.np-v2 .welcome-portal_heading { margin: 120px 0 48px !important; text-align: left !important; font-weight: 400 !important; font-size: 56px !important; line-height: 1.05 !important; letter-spacing: -0.05em !important; color: var(--np-fg) !important; max-width: 1100px; }
html.np-v2 .welcome-portal_heading span { color: var(--np-mute); }
html.np-v2 .welcome-portal_grid { gap: 16px !important; }
html.np-v2 .portal_card { background: var(--np-card) !important; border: 0 !important; border-radius: 6px !important; box-shadow: none !important; min-height: 220px !important; height: auto !important; padding: 28px !important; transition: outline-color .15s; outline: 1px solid transparent; }
html.np-v2 .portal_card:hover { outline-color: var(--np-fg); }
html.np-v2 .portal-card_title { color: var(--np-fg) !important; font-size: 26px !important; letter-spacing: -0.045em !important; }
html.np-v2 .portal-card_desc { color: var(--np-mute) !important; font-size: 15px !important; line-height: 1.45 !important; }
html.np-v2 .portal-card_link { display: inline-flex !important; align-items: center; height: 38px; padding: 0 16px !important; border: 1px solid var(--np-pill) !important; border-radius: 20px; color: var(--np-fg) !important; font-size: 14px !important; text-decoration: none !important; background-image: none !important; }
html.np-v2 .portal-card_link:hover { border-color: var(--np-fg) !important; }
html.np-v2 .portal-card_link::after, html.np-v2 .portal-card_link::before { display: none !important; }

/* ---------- Base ---------- */
html.np-v2 .np { color: var(--np-fg); letter-spacing: -0.035em; }
html.np-v2 .np-section { max-width: 1320px; margin: 0 auto; padding: 0 40px 40px; }
html.np-v2 .np-muted, html.np-v2 .np-note, html.np-v2 .np-small.np-muted { color: var(--np-mute); }
html.np-v2 .np-link { color: var(--np-fg); border-bottom-color: var(--np-fg); }
html.np-v2 .np-card { background: var(--np-card); border: 0; border-radius: 6px; color: var(--np-fg); }
html.np-v2 .np-btn { min-height: 40px; padding: 0 18px; border: 1px solid var(--np-pill); border-radius: 22px; background: transparent; color: var(--np-fg); font-size: 14px; }
html.np-v2 .np-btn:hover { border-color: var(--np-fg); }
html.np-v2 .np-btn.is-black { background: var(--np-fg); border-color: var(--np-fg); color: var(--np-bg); }
html.np-v2 .np-btn[disabled] { background: transparent; border-color: var(--np-line); color: var(--np-mute); opacity: .8; }
html.np-v2 .np-btn.is-black[disabled] { background: var(--np-line); color: var(--np-mute); }
html.np-v2 .np-error { border-radius: 6px; }
html.np-v2 .np-notice { background: var(--np-card); border: 0; border-radius: 6px; color: var(--np-fg); }
html.np-v2 .np-field label { color: var(--np-mute); }
html.np-v2 .np-field input, html.np-v2 .np-field textarea, html.np-v2 .np-field select, html.np-v2 .np-side input, html.np-v2 .np-side textarea { background: var(--np-field); color: var(--np-fg); border: 1px solid var(--np-pill); border-radius: 6px; }
html.np-v2 .np-chip { border-radius: 18px; background: transparent; }
html.np-v2 .np-pill { border-radius: 20px; background: transparent; border-color: var(--np-pill); color: var(--np-fg); }
html.np-v2 .np-pill.is-black { background: var(--np-fg); color: var(--np-bg); border-color: var(--np-fg); }
html.np-v2 .np-check { color: var(--np-fg); }
html.np-v2 .np-check .np-muted { color: var(--np-mute); }
html.np-v2 .np-tabs { border-bottom-color: var(--np-line); }
html.np-v2 .np-tab { color: var(--np-mute); font-size: 15px; }
html.np-v2 .np-tab.is-on { color: var(--np-fg); border-bottom-color: var(--np-fg); }
html.np-v2 .np-banner { background: var(--np-card); color: var(--np-fg); border-radius: 6px; }
html.np-v2 .np-sdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: var(--np-idle); }
html.np-v2 .np-sdot.is-wait { background: var(--np-wait); }
html.np-v2 .np-sdot.is-done { background: var(--np-done); }
html.np-v2 .np-pbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: 30px; background: var(--np-fg); color: var(--np-bg); font-size: 16px; cursor: pointer; }
html.np-v2 .np-pbtn:hover { opacity: .85; }
html.np-v2 .np-obtn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 1px solid var(--np-pill); border-radius: 30px; background: transparent; color: var(--np-fg); font-size: 16px; cursor: pointer; }
html.np-v2 .np-obtn:hover { border-color: var(--np-fg); }
html.np-v2 .np-theme { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--np-pill); background: transparent; color: inherit; font: inherit; font-size: 13px; letter-spacing: -0.02em; cursor: pointer; }
html.np-v2 .np-theme:hover { border-color: currentColor; }

/* ---------- Client header ---------- */
html.np-v2 .np-top { position: relative; z-index: 50; }
html.np-v2 .np-top-in { max-width: 1320px; margin: 0 auto; padding: 0 40px; height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; box-sizing: border-box; }
html.np-v2 .np-top-logo { height: 24px; width: auto; display: block; filter: brightness(0); }
html.np-v2[data-np-theme="dark"] .np-top-logo { filter: brightness(0) invert(1); }
html.np-v2 .np-top-nav { display: flex; align-items: center; gap: 28px; font-size: 16px; flex-wrap: wrap; }
html.np-v2 .np-top-nav a, html.np-v2 .np-top-nav button:not(.np-theme) { color: var(--np-fg); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
html.np-v2 .np-top-nav .is-mute { color: var(--np-mute) !important; }
html.np-v2 .np-top-nav a:hover, html.np-v2 .np-top-nav button:hover { opacity: .75; }
html.np-v2 .np-top.is-studio .np-top-in { height: 72px; }
html.np-v2 .np-top-note { font-size: 14px; color: var(--np-mute); }

/* ---------- Nephew Studio bar: always the opposite of the page ---------- */
html.np-v2 .np-studio { display: block; padding: 0; background: var(--np-fg); color: var(--np-bg); font-size: 14px; }
html.np-v2 .np-studio-in { max-width: 1320px; margin: 0 auto; padding: 0 40px; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; box-sizing: border-box; }
html.np-v2 .np-studio-left img { height: 17px; filter: none; }
html.np-v2[data-np-theme="light"] .np-studio-left img { filter: invert(1); }
html.np-v2 .np-studio-pill { background: transparent; color: var(--np-mute); padding: 0; font-size: 13px; }
html.np-v2 .np-studio-nav { display: flex; gap: 26px; flex-wrap: wrap; }
html.np-v2 .np-studio-nav a { color: var(--np-mute); text-decoration: none; }
html.np-v2 .np-studio-nav a.is-on, html.np-v2 .np-studio-nav a:hover { color: var(--np-bg); }
html.np-v2 .np-studio-right { display: flex; align-items: center; gap: 16px; color: var(--np-mute); }
html.np-v2 .np-studio-right button:not(.np-theme) { color: var(--np-bg); }
html.np-v2 .np-studio-right button:not(.np-theme):hover { border-bottom-color: var(--np-bg); }
html.np-v2 .np-studio .np-theme { border-color: var(--np-mute); color: var(--np-bg); }

/* ---------- Heroes ---------- */
html.np-v2 .np-hero { padding: 80px 0 0; }
html.np-v2 .np-tags { display: flex; gap: 8px; flex-wrap: wrap; }
html.np-v2 .np-tag { display: inline-flex; font-size: 13px; border: 1px solid var(--np-pill); border-radius: 20px; padding: 5px 12px; color: var(--np-mute); letter-spacing: -0.02em; }
html.np-v2 .np-hero h1 { margin: 28px 0 0; font-weight: 400; font-size: 88px; line-height: 1; letter-spacing: -0.05em; color: var(--np-fg); }
html.np-v2 .np-lead { margin: 22px 0 0; font-size: 34px; line-height: 1.25; letter-spacing: -0.04em; color: var(--np-mute); max-width: 980px; }
html.np-v2 .np-lead > span { color: var(--np-fg); }
html.np-v2 .np-h2c { margin: 0; font-weight: 400; font-size: 40px; letter-spacing: -0.045em; }
html.np-v2 .np-h2c span { color: var(--np-mute); }
@media (max-width: 767px) {
  html.np-v2 .np-section, html.np-v2 .np-top-in, html.np-v2 .np-studio-in { padding-left: 20px; padding-right: 20px; }
  html.np-v2 .np-hero { padding-top: 48px; }
  html.np-v2 .np-hero h1 { font-size: 52px; }
  html.np-v2 .np-lead { font-size: 24px; }
  html.np-v2 .welcome-portal_heading { font-size: 36px !important; }
}

/* ---------- Dashboard ---------- */
html.np-v2 .np-hub { justify-content: flex-start; margin: 64px 0 0; gap: 10px; }
html.np-v2 .np-hub-tab { min-width: 0; flex-direction: row; align-items: center; gap: 6px; height: 44px; padding: 0 20px; border: 1px solid var(--np-pill); border-radius: 24px; background: transparent; color: var(--np-fg); font-size: 15px; }
html.np-v2 .np-hub-tab small { font-size: 15px; color: var(--np-mute); }
html.np-v2 .np-hub-tab:hover { border-color: var(--np-fg); }
html.np-v2 .np-hub-tab.is-on { background: var(--np-fg); border-color: var(--np-fg); color: var(--np-bg); }
html.np-v2 .np-hub + .np-hero { padding-top: 40px; }
html.np-v2 .np-ftabs { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 72px; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-ftabs button { background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 0 0 14px; font: inherit; font-size: 15px; color: var(--np-mute); cursor: pointer; }
html.np-v2 .np-ftabs button span { color: var(--np-mute); }
html.np-v2 .np-ftabs button.is-on { color: var(--np-fg); border-bottom-color: var(--np-fg); }
html.np-v2 .np-blist { display: flex; flex-direction: column; }
html.np-v2 .np-brow { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 12px; border-bottom: 1px solid var(--np-line); color: var(--np-fg); text-decoration: none; transition: background .15s; }
html.np-v2 .np-brow:hover { background: var(--np-hover); }
html.np-v2 .np-brow-main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
html.np-v2 .np-brow-meta { font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-brow-title { font-size: 32px; line-height: 1.1; letter-spacing: -0.045em; }
html.np-v2 .np-brow-prog { flex: 0 1 260px; display: flex; flex-direction: column; gap: 8px; }
html.np-v2 .np-bars { display: flex; gap: 4px; min-height: 4px; }
html.np-v2 .np-bars i { width: 28px; height: 4px; border-radius: 2px; background: var(--np-off); }
html.np-v2 .np-bars i.is-approved { background: var(--np-fg); }
html.np-v2 .np-bars i.is-review { background: var(--np-wait); }
html.np-v2 .np-brow-next { flex: 0 1 260px; display: flex; align-items: center; gap: 9px; font-size: 15px; }
html.np-v2 .np-brow-arrow { font-size: 22px; }
html.np-v2 .np-bempty { padding: 48px 12px; font-size: 20px; color: var(--np-mute); }
html.np-v2 .np-live { justify-content: flex-start; margin: 20px 0 0; font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-live .np-dot { background: var(--np-done); }
/* Nephew sections (media, voice, costs): the hero replaces their own headings */
html.np-v2 .np-sec-body > div { margin-top: 64px !important; }
html.np-v2 .np-sec-body > div > .np-banner, html.np-v2 .np-sec-body > div > h2.np-h3, html.np-v2 .np-sec-body > div > p.np-muted:first-of-type, html.np-v2 .np-sec-body > div > div > h2.np-h3 { display: none !important; }
html.np-v2 .np-sec-body .np-sidecard { padding: 32px; }
html.np-v2 .np-sec-body textarea { background: #fff; color: #000; border-color: transparent; }

/* ---------- Brief page ---------- */
html.np-v2 .np-back { margin: 40px 0 0; font-size: 14px; }
html.np-v2 .np-back a { color: var(--np-mute); text-decoration: none; }
html.np-v2 .np-back a:hover { color: var(--np-fg); }
html.np-v2 .np-back + .np-hero { padding-top: 40px; }
html.np-v2 .np-strip { margin-top: 40px; padding: 16px 16px 16px 24px; background: var(--np-card); border-radius: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 15px; }
html.np-v2 .np-strip .np-pbtn, html.np-v2 .np-strip .np-obtn { min-height: 44px; font-size: 14px; padding: 0 22px; }
html.np-v2 .np-layout { padding-top: 0; gap: 40px 56px; }
html.np-v2 .np-main { gap: 0; }
html.np-v2 .np-dpills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 64px; }
html.np-v2 .np-dpill { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 24px; border: 1px solid var(--np-pill); background: transparent; color: var(--np-fg); font: inherit; font-size: 15px; cursor: pointer; }
html.np-v2 .np-dpill:hover { border-color: var(--np-fg); }
html.np-v2 .np-dpill.is-on { background: var(--np-fg); border-color: var(--np-fg); color: var(--np-bg); }
html.np-v2 .np-docbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 20px; font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-tlink { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; color: var(--np-mute); font: inherit; font-size: 13px; cursor: pointer; }
html.np-v2 .np-tlink:hover { color: var(--np-fg); }
html.np-v2 .np-tlink svg { width: 14px; height: 14px; }
/* The document: a white sheet in both modes */
html.np-v2 .np-sheet { background: #fff !important; color: #000 !important; border-radius: 6px; border: 0; }
html.np-v2 .np-sheet .np-toolbar { padding: 18px 28px; border-bottom: 1px solid #ececec; }
html.np-v2 .np-sheet .np-muted, html.np-v2 .np-sheet .np-note { color: #6b6b6b; }
html.np-v2 .np-sheet .np-link { color: #000; border-bottom-color: #000; }
html.np-v2 .np-sheet .np-btn { border-color: #d0d0d0; color: #000; background: #fff; min-height: 38px; }
html.np-v2 .np-sheet .np-btn:hover { border-color: #000; }
html.np-v2 .np-sheet .np-btn.is-black { background: #000; border-color: #000; color: #fff; }
html.np-v2 .np-sheet .np-panel { background: #f7f7f7; }
html.np-v2 .np-sheet .np-panel textarea, html.np-v2 .np-sheet .np-panel input { background: #fff; color: #000; border-color: #cfcfcf; border-radius: 6px; }
html.np-v2 .np-sheet .np-chip, html.np-v2 .np-sheet .np-format { background: #fff; color: #000; border-color: #dcdcdc; border-radius: 6px; }
html.np-v2 .np-sheet .np-chip { border-radius: 18px; }
html.np-v2 .np-sheet .np-check { color: #000; }
html.np-v2 .np-doc { padding: 56px 72px 64px; max-width: 820px; font-size: 17px; line-height: 1.7; letter-spacing: -0.02em; }
html.np-v2 .np-doc h1 { font-size: 36px; letter-spacing: -0.045em; line-height: 1.15; }
html.np-v2 .np-doc h2 { font-size: 26px; letter-spacing: -0.04em; }
html.np-v2 .np-sheet-empty { padding: 72px 80px; min-height: 380px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
html.np-v2 .np-sheet-empty h2 { margin: 0; font-weight: 400; font-size: 40px; line-height: 1.1; letter-spacing: -0.045em; color: #000; }
html.np-v2 .np-sheet-empty p { margin: 0; font-size: 18px; line-height: 1.55; color: #6b6b6b; max-width: 520px; }
@media (max-width: 767px) { html.np-v2 .np-doc, html.np-v2 .np-sheet-empty { padding: 32px 22px; } }
/* The rail */
html.np-v2 .np-side { gap: 0; margin-top: 64px; }
html.np-v2 .np-rail { display: flex; flex-direction: column; gap: 10px; padding-bottom: 32px; }
html.np-v2 .np-rail-k { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-rail-big { font-size: 32px; line-height: 1.1; letter-spacing: -0.045em; }
html.np-v2 .np-rail-sub { font-size: 15px; line-height: 1.5; color: var(--np-mute); }
html.np-v2 .np-rail-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
html.np-v2 .np-side .np-sidecard { background: transparent; border-radius: 0; border-top: 1px solid var(--np-line); padding: 24px 0; gap: 12px; }
html.np-v2 .np-side .np-sidecard h3 { font-size: 13px; color: var(--np-mute); letter-spacing: -0.01em; }
html.np-v2 .np-side .np-sidecard > div[style*="border-top"] { border-top-color: var(--np-line) !important; }
html.np-v2 .np-ver { border-top-color: var(--np-line); color: var(--np-fg); font-size: 14px; }
html.np-v2 .np-ver:hover { color: var(--np-mute); }
/* Production */
html.np-v2 .np-assets { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
html.np-v2 .np-section > section { border-top: 1px solid var(--np-line); margin-top: 96px; padding-top: 40px !important; }
html.np-v2 .np-asset { background: var(--np-card); border: 0; border-radius: 6px; overflow: hidden; }
html.np-v2 .np-asset-thumb { background: var(--np-hover) !important; border-bottom: 0; color: var(--np-mute); aspect-ratio: 16 / 9; }
html.np-v2 .np-asset-state { color: var(--np-mute); }
html.np-v2 .np-asset-body { padding: 18px 22px 22px; }
html.np-v2 .np-asset-body > span:first-child { font-size: 17px !important; }
/* Send to media */
html.np-v2 .np-media { margin-top: 40px; padding: 32px; background: var(--np-card); }
html.np-v2 .np-media-head h3 { font-size: 26px; letter-spacing: -0.045em; font-weight: 400; }
html.np-v2 .np-media-step { color: var(--np-mute); font-weight: 400; font-size: 13px; }
html.np-v2 .np-media-bar { color: var(--np-mute); }
html.np-v2 .np-media-country { border-radius: 24px; background: transparent; color: var(--np-fg); border-color: var(--np-pill); }
html.np-v2 .np-media-country.is-on { background: var(--np-fg); color: var(--np-bg); border-color: var(--np-fg); }
html.np-v2 .np-media-grid { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
html.np-v2 .np-media-tile { min-height: 56px; align-items: center; padding: 12px 16px; border: 1px solid var(--np-pill); border-radius: 6px; background: transparent; color: var(--np-fg); }
html.np-v2 .np-media-tile:hover { border-color: var(--np-fg); }
html.np-v2 .np-media-tile.is-on { background: var(--np-fg); border-color: var(--np-fg); color: var(--np-bg); }
html.np-v2 .np-media-tile.is-on small { color: var(--np-bg); opacity: .7; }
html.np-v2 .np-media-tile input { accent-color: var(--np-bg); margin: 0; }
html.np-v2 .np-media-tile.is-off:hover { border-color: var(--np-pill); }
html.np-v2 .np-media .np-actions .np-btn { min-height: 52px; padding: 0 26px; border-radius: 28px; font-size: 15px; }
html.np-v2 .np-media-log, html.np-v2 .np-media-logrow { border-color: var(--np-line); }
html.np-v2 .np-mbadge { border-radius: 10px; background: var(--np-hover); color: var(--np-fg); }
html.np-v2 .np-mbadge.is-done { background: var(--np-done); color: #000; }
html.np-v2 .np-mbadge.is-warn { background: #fdf0d5; color: #7a4d00; }

/* ---------- Sign-in ---------- */
html.np-v2 .client-portal_header { filter: none; }
html.np-v2 .client-portal_logo { filter: brightness(0); }
html.np-v2[data-np-theme="dark"] .client-portal_logo { filter: brightness(0) invert(1); }
html.np-v2 .np-signin form { background: var(--np-card); border-radius: 6px; }
html.np-v2 .np-signin input { background: var(--np-field); color: var(--np-fg); border-color: var(--np-pill); border-radius: 6px; }
html.np-v2 .np-signin .np-btn { border-radius: 30px; }
html.np-v2 .container-md .np-section { padding-left: 0; padding-right: 0; }
html.np-v2 .portal-card_link { align-self: flex-start !important; width: auto !important; }
html.np-v2 .portal_card { display: flex !important; flex-direction: column !important; justify-content: space-between !important; gap: 36px; }
html.np-v2[data-np-theme="dark"] { --np-thumb:#1c1c1c; }
html.np-v2[data-np-theme="light"] { --np-thumb:#ebebeb; }
html.np-v2 .np-asset-thumb { background: var(--np-thumb) !important; }
html.np-v2 .np-media-group { border: 0; border-top: 1px solid var(--np-line); border-radius: 0; margin-bottom: 0; }
html.np-v2 .np-media-grouphead { background: transparent; padding: 14px 12px; color: var(--np-mute); }
html.np-v2 .np-media-row { padding: 18px 12px; border-top: 0; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-media-row:hover { background: var(--np-hover); }
html.np-v2 .np-sec-body [style*="border:1px solid"], html.np-v2 .np-sec-body [style*="border: 1px solid"] { border-color: var(--np-line) !important; }
/* Webflow's site-wide link underline (a ::after line) is off inside the portal */
html.np-v2 .np a::after, html.np-v2 .np a::before { content: none !important; display: none !important; }
/* Nephew-only sections as accordions under the briefs */
html.np-v2 .np-acc { margin-top: 120px; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-acc-k { font-size: 13px; color: var(--np-mute); padding-bottom: 16px; }
html.np-v2 .np-acc-item { border-top: 1px solid var(--np-line); }
html.np-v2 .np-acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 12px; background: none; border: 0; color: var(--np-fg); font: inherit; text-align: left; cursor: pointer; transition: background .15s; }
html.np-v2 .np-acc-head:hover { background: var(--np-hover); }
html.np-v2 .np-acc-title { font-size: 44px; line-height: 1.05; letter-spacing: -0.05em; }
html.np-v2 .np-acc-title span { color: var(--np-mute); }
html.np-v2 .np-acc-icon { position: relative; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--np-pill); border-radius: 50%; }
html.np-v2 .np-acc-icon::before, html.np-v2 .np-acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--np-fg); transform: translate(-50%, -50%); transition: transform .2s; }
html.np-v2 .np-acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
html.np-v2 .np-acc-item.is-open .np-acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
html.np-v2 .np-acc-head:hover .np-acc-icon { border-color: var(--np-fg); }
html.np-v2 .np-acc-body { padding: 0 12px 56px; }
html.np-v2 .np-acc-body > div { margin-top: 0 !important; }
@media (max-width: 767px) { html.np-v2 .np-acc-title { font-size: 30px; } }
/* ---------- Phones and tablets ---------- */
html.np-v2 .welcome-portal_grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; }
html.np-v2 .np-rail-m { display: none; }
@media (max-width: 991px) {
  html.np-v2 .np-side { margin-top: 40px; }
  html.np-v2 .np-rail-m { display: block; margin: 8px 0 24px; }
  html.np-v2 .np-side > .np-rail { display: none; }
}
@media (max-width: 767px) {
  html.np-v2 .np-top-in { height: auto; padding-top: 20px; padding-bottom: 8px; }
  html.np-v2 .np-top-nav { gap: 10px 20px; font-size: 15px; }
  html.np-v2 .np-studio-in { padding-top: 10px; padding-bottom: 10px; }
  html.np-v2 .np-studio-right > span:not(.np-theme) { display: none; }
  html.np-v2 .np-top.is-studio .np-top-in { padding-top: 24px; }
  html.np-v2 .np-hero h1 { font-size: 48px; }
  html.np-v2 .np-brow { padding: 24px 4px; gap: 14px; }
  html.np-v2 .np-brow-title { font-size: 26px; }
  html.np-v2 .np-brow-arrow { display: none; }
  html.np-v2 .np-ftabs { margin-top: 48px; gap: 20px; }
  html.np-v2 .np-dpills { margin-top: 40px; gap: 8px; }
  html.np-v2 .np-dpill { height: 40px; padding: 0 16px; font-size: 14px; }
  html.np-v2 .np-sheet .np-toolbar { padding: 14px 18px; }
  html.np-v2 .np-media { padding: 22px 18px; }
  html.np-v2 .np-acc { margin-top: 72px; }
  html.np-v2 .np-acc-head { padding: 26px 4px; }
  html.np-v2 .np-acc-body { padding: 0 0 40px; }
  html.np-v2 .np-acc-body .np-sidecard { padding: 20px; }
  html.np-v2 .welcome-portal_heading { margin-top: 80px !important; }
  html.np-v2 .welcome-portal_section > .container-md, html.np-v2 .client-portal_prefooter-wrap > * { padding-left: 20px !important; padding-right: 20px !important; }
  html.np-v2 .portal_card { min-height: 0 !important; }
}
html.np-v2 .np-media-row .np-link, html.np-v2 .np-media-row button, html.np-v2 .np-mbadge { white-space: nowrap; flex: 0 0 auto; }
/* ---------- Client logos (black files, shown white on dark) ---------- */
html.np-v2 .np-logo { display: block; width: auto; max-width: 100%; filter: brightness(0); object-fit: contain; }
html.np-v2[data-np-theme="dark"] .np-logo { filter: brightness(0) invert(1); }
html.np-v2 .np-hero-logoh { margin: 32px 0 0 !important; line-height: 0 !important; }
html.np-v2 .np-hero-logo { height: 72px; max-width: min(640px, 100%); object-position: left center; }
html.np-v2 .np-hero-client { margin-bottom: 28px; }
html.np-v2 .np-hero-client .np-logo { height: 30px; }
@media (max-width: 767px) { html.np-v2 .np-hero-logo { height: 48px; } }
/* Client screen */
html.np-v2 .np-csearch { margin-top: 56px; max-width: 420px; }
html.np-v2 .np-csearch input { width: 100%; height: 48px; padding: 0 20px; border-radius: 26px; border: 1px solid var(--np-pill); background: transparent; color: var(--np-fg); font: inherit; font-size: 15px; outline: none; }
html.np-v2 .np-csearch input:focus { border-color: var(--np-fg); }
html.np-v2 .np-cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 56px; }
html.np-v2 .np-csearch + .np-cgrid { margin-top: 24px; }
html.np-v2 .np-ctile { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 240px; padding: 32px; border-radius: 6px; background: var(--np-card); color: var(--np-fg); text-decoration: none; outline: 1px solid transparent; transition: outline-color .15s; }
html.np-v2 .np-ctile:hover { outline-color: var(--np-fg); }
html.np-v2 .np-ctile-logo { flex: 1; display: flex; align-items: center; }
html.np-v2 .np-ctile-logo .np-logo { height: 44px; max-width: 80%; object-position: left center; }
html.np-v2 .np-ctile-name { font-size: 32px; letter-spacing: -0.045em; }
html.np-v2 .np-ctile-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--np-mute); }
html.np-v2 .np-ctile-line { display: flex; align-items: center; gap: 9px; }
/* Studio bar: All clients and the client menu */
html.np-v2 .np-studio-left { gap: 18px; flex-wrap: wrap; }
html.np-v2 .np-studio-all { color: var(--np-mute); text-decoration: none; font-size: 14px; }
html.np-v2 .np-studio-all:hover, html.np-v2 .np-studio-all.is-on { color: var(--np-bg); }
html.np-v2 .np-switch { position: relative; }
html.np-v2 .np-switch summary { list-style: none; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border: 1px solid var(--np-mute); border-radius: 20px; cursor: pointer; color: var(--np-bg); font-size: 13px; }
html.np-v2 .np-switch summary::-webkit-details-marker { display: none; }
html.np-v2 .np-switch summary .np-logo { height: 14px; max-width: 120px; }
html.np-v2 .np-studio .np-logo { filter: brightness(0) invert(1); }
html.np-v2[data-np-theme="dark"] .np-studio .np-logo { filter: brightness(0); }
html.np-v2 .np-switch-caret { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
html.np-v2 .np-switch-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 80; min-width: 260px; padding: 8px; border-radius: 8px; background: var(--np-fg); box-shadow: 0 12px 32px rgba(0,0,0,.25); display: flex; flex-direction: column; }
html.np-v2 .np-switch-menu a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 6px; color: var(--np-bg); text-decoration: none; font-size: 15px; }
html.np-v2 .np-switch-menu a:hover, html.np-v2 .np-switch-menu a.is-on { background: rgba(128,128,128,.14); }
html.np-v2 .np-switch-menu .np-logo { height: 20px; max-width: 180px; }
html.np-v2 .np-switch-menu .np-switch-all { min-height: 44px; margin-top: 4px; border-top: 1px solid rgba(128,128,128,.25); border-radius: 0; color: var(--np-mute); font-size: 13px; }
html.np-v2 .np-ctile-logo .np-logo { height: 64px; max-width: 75%; }
html.np-v2 .np-hero-logo { height: 88px; }
html.np-v2 .np-switch summary { height: 40px; }
html.np-v2 .np-switch summary .np-logo { height: 24px; max-width: 140px; }
html.np-v2 .np-switch-menu .np-logo { height: 28px; }
/* Client tiles: 40% shorter */
html.np-v2 .np-ctile { min-height: 144px; gap: 20px; padding: 22px 28px; }
html.np-v2 .np-ctile-logo .np-logo { height: 48px; }
/* Wide wordmarks (e.g. Everon) sit smaller in the overview heading than tall crests */
html.np-v2 .np-hero-logo.is-wide { height: 35px; }
@media (max-width: 767px) { html.np-v2 .np-hero-logo.is-wide { height: 26px; } }
html.np-v2 .np-tagrow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
html.np-v2 .np-allback { font-size: 14px; color: var(--np-mute); text-decoration: none; }
html.np-v2 .np-allback:hover { color: var(--np-fg); }
/* Nephew pages: the footer is inverted like the Studio bar */
html.np-v2.np-nephew .client-portal_prefooter-wrap { background: var(--np-fg) !important; border-top: 0; }
html.np-v2.np-nephew .client-portal-prefooter_text { color: var(--np-bg) !important; opacity: .7; }
html.np-v2.np-nephew .client-portal-prefooter_logo { filter: brightness(0); opacity: 1; }
html.np-v2.np-nephew[data-np-theme="light"] .client-portal-prefooter_logo { filter: brightness(0) invert(1); }
/* Same height as the Studio bar (56px) */
html.np-v2.np-nephew .client-portal_prefooter-wrap { padding-top: 0 !important; padding-bottom: 0 !important; height: 56px !important; min-height: 0 !important; display: flex !important; align-items: center !important; }
html.np-v2.np-nephew .client-portal_prefooter-wrap > * { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
html.np-v2.np-nephew .client-portal-prefooter { padding: 0 !important; margin: 0 !important; display: flex; align-items: center; }
html.np-v2.np-nephew .client-portal_prefooter-wrap > .client-portal-prefooter { padding: 0 40px !important; }
@media (max-width: 767px) { html.np-v2.np-nephew .client-portal_prefooter-wrap > .client-portal-prefooter { padding: 0 20px !important; } }
/* ---------- Brand Story ---------- */
html.np-v2 .np-storycard { background: var(--np-fg) !important; text-decoration: none !important; }
html.np-v2 .np-storycard .portal-card_title { color: var(--np-bg) !important; }
html.np-v2 .np-storycard .portal-card_desc { color: var(--np-bg) !important; opacity: .65; }
html.np-v2 .np-storycard .portal-card_link { background: var(--np-bg); color: var(--np-fg) !important; border-color: var(--np-bg) !important; }
html.np-v2 .np-storycard:hover { outline-color: var(--np-mute) !important; }
html.np-v2 .np-storylink { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding: 24px 28px; border-radius: 6px; background: var(--np-card); color: var(--np-fg); text-decoration: none; font-size: 22px; letter-spacing: -0.04em; outline: 1px solid transparent; }
html.np-v2 .np-storylink:hover { outline-color: var(--np-fg); }
html.np-v2 .np-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 56px; }
html.np-v2 .np-step { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 6px; border-radius: 22px; border: 1px solid var(--np-pill); background: transparent; color: var(--np-mute); font: inherit; font-size: 14px; cursor: pointer; }
html.np-v2 .np-step span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--np-card); color: var(--np-fg); font-size: 12px; }
html.np-v2 .np-step.is-done { color: var(--np-fg); }
html.np-v2 .np-step.is-done span { background: var(--np-done); color: #000; }
html.np-v2 .np-step.is-on { background: var(--np-fg); border-color: var(--np-fg); color: var(--np-bg); }
html.np-v2 .np-step.is-on span { background: var(--np-bg); color: var(--np-fg); }
html.np-v2 .np-story-card { margin-top: 24px; padding: 48px 56px; border-radius: 6px; background: #fff; color: #000; max-width: 860px; }
html.np-v2 .np-story-k { font-size: 13px; color: #6b6b6b; }
html.np-v2 .np-story-card h2 { margin: 10px 0 0; font-weight: 400; font-size: 40px; line-height: 1.1; letter-spacing: -0.045em; }
html.np-v2 .np-story-intro { margin: 10px 0 32px; font-size: 17px; color: #6b6b6b; }
html.np-v2 .np-story-field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
html.np-v2 .np-story-field label { font-size: 18px; letter-spacing: -0.03em; }
html.np-v2 .np-story-field label .np-muted { font-size: 13px; color: #6b6b6b; margin-left: 6px; }
html.np-v2 .np-story-field input, html.np-v2 .np-story-field textarea { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid #d6d6d6; border-radius: 6px; background: #fafafa; color: #000; font: inherit; font-size: 16px; letter-spacing: -0.02em; line-height: 1.5; outline: none; resize: vertical; }
html.np-v2 .np-story-field input:focus, html.np-v2 .np-story-field textarea:focus { border-color: #000; background: #fff; }
html.np-v2 .np-story-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding-top: 24px; border-top: 1px solid #ececec; }
html.np-v2 .np-story-nav .np-note { color: #6b6b6b; }
html.np-v2 .np-story-card .np-pbtn { background: #000; color: #fff; min-height: 52px; }
html.np-v2 .np-story-card .np-obtn { border-color: #d0d0d0; color: #000; min-height: 52px; }
html.np-v2 .np-story-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; }
html.np-v2 .np-story-actions a { text-decoration: none; }
@media (max-width: 767px) { html.np-v2 .np-story-card { padding: 28px 20px; } html.np-v2 .np-story-card h2 { font-size: 30px; } html.np-v2 .np-step { font-size: 0; padding: 0 6px; } html.np-v2 .np-step span { font-size: 12px; } }
/* Brand Story: one page, the template's sections as white cards */
html.np-v2 .np-story { display: flex; flex-direction: column; gap: 20px; margin-top: 56px; max-width: 980px; padding-bottom: 120px; }
html.np-v2 .np-story-sec { background: #fff; color: #000; border-radius: 6px; padding: 40px 44px 16px; }
html.np-v2 .np-story-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; font-size: 30px; letter-spacing: -0.045em; line-height: 1.15; }
html.np-v2 .np-story-sub { margin: 8px 0 26px; font-size: 16px; color: #6b6b6b; }
html.np-v2 .np-story-sec h2 + .np-story-row, html.np-v2 .np-story-sec h2 + .np-story-field { margin-top: 26px; }
html.np-v2 .np-story-row { display: grid; gap: 16px; }
html.np-v2 .np-story-field label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #555; }
html.np-v2 .np-req { color: #c2410c; }
html.np-v2 .np-story-field.is-missing textarea, html.np-v2 .np-story-field.is-missing input { border-color: #c2410c; background: #fff7f2; }
html.np-v2 .np-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid #bdbdbd; border-radius: 50%; font-size: 11px; color: #6b6b6b; letter-spacing: 0; cursor: help; flex: 0 0 20px; }
html.np-v2 .np-tip-box { display: none; position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); z-index: 20; width: 280px; padding: 14px 16px; border-radius: 8px; background: #000; color: #fff; font-size: 14px; line-height: 1.45; letter-spacing: -0.01em; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
html.np-v2 .np-tip:hover .np-tip-box, html.np-v2 .np-tip:focus .np-tip-box { display: block; }
html.np-v2 .np-story-bar { position: sticky; bottom: 0; z-index: 40; margin: 0 -40px; padding: 14px 40px; background: var(--np-bg); border-top: 1px solid var(--np-line); }
html.np-v2 .np-story-bar-in { max-width: 980px; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
html.np-v2 .np-story-bar .np-note { color: var(--np-mute); }
html.np-v2 .np-story-err { color: #f97316; font-size: 14px; flex: 1; }
html.np-v2 .np-story-bar .np-pbtn { min-height: 52px; }
@media (max-width: 767px) {
  html.np-v2 .np-story-sec { padding: 28px 20px 8px; }
  html.np-v2 .np-story-row { grid-template-columns: 1fr !important; gap: 0; }
  html.np-v2 .np-story-bar { margin: 0 -20px; padding: 12px 20px; }
  html.np-v2 .np-tip-box { left: auto; right: -10px; transform: none; width: 240px; }
}
/* Footer sits at the bottom of the window when a page is short */
html.np-v2 body { min-height: 100vh; display: flex !important; flex-direction: column; }
html.np-v2 body > * { flex-shrink: 0; }
html.np-v2 .welcome-portal_section { flex: 1 0 auto; padding-bottom: 120px !important; }
html.np-v2 .client-portal_prefooter-wrap { margin-top: auto !important; }

/* Ask Nephew conversations (hub) */
html.np-v2 .np-ask-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin: 0 0 8px; }
html.np-v2 .np-ask-row { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--np-line); text-align: left; font: inherit; cursor: pointer; }
html.np-v2 .np-ask-title { font-size: 24px; }
html.np-v2 .np-ask-detail { padding: 8px 12px 36px; border-bottom: 1px solid var(--np-line); display: flex; flex-direction: column; gap: 22px; }
html.np-v2 .np-ask-turn { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
html.np-v2 .np-ask-q { font-size: 19px; letter-spacing: -0.02em; }
html.np-v2 .np-ask-a { font-size: 15px; line-height: 1.5; color: var(--np-mute); padding-left: 14px; border-left: 2px solid var(--np-line); }
html.np-v2 .np-ask-meta { font-size: 13px; color: var(--np-mute); padding-left: 16px; }
html.np-v2 .np-ask-lead { margin: 0; font-size: 17px; }
@media (max-width: 767px) { html.np-v2 .np-ask-title { font-size: 20px; } html.np-v2 .np-ask-detail { padding: 4px 4px 28px; } }

/* Asset review: approve / request changes / download */
html.np-v2 .np-asset.is-needs { outline: 1px solid var(--np-fg); }
html.np-v2 .np-asset-body { display: flex; flex-direction: column; gap: 4px; }
html.np-v2 .np-asset-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
html.np-v2 .np-asset-acts .np-pbtn, html.np-v2 .np-asset-acts .np-obtn { min-height: 42px; padding: 0 20px; font-size: 14px; }
html.np-v2 .np-asset-acts .np-pbtn[disabled] { opacity: .5; cursor: default; }
html.np-v2 .np-asset-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
html.np-v2 .np-asset-links .np-link { font-size: 16px; }
html.np-v2 .np-asset-note { margin: 10px 0 0; line-height: 1.45; }
html.np-v2 .np-afb { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
html.np-v2 .np-afb textarea { width: 100%; min-height: 110px; padding: 12px 14px; border: 1px solid var(--np-line); border-radius: 6px; background: var(--np-bg); color: var(--np-fg); font: inherit; font-size: 15px; line-height: 1.45; resize: vertical; }
html.np-v2 .np-afb textarea:focus { outline: none; border-color: var(--np-fg); }
html.np-v2 .np-afb-file { position: relative; display: inline-flex; align-self: flex-start; padding: 8px 14px; border: 1px dashed var(--np-pill); border-radius: 6px; font-size: 14px; color: var(--np-mute); cursor: pointer; }
html.np-v2 .np-afb-file:hover { border-color: var(--np-fg); color: var(--np-fg); }
html.np-v2 .np-afb-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
html.np-v2 .np-asset-histbtn { align-self: flex-start; margin-top: 12px; font-size: 14px !important; color: var(--np-mute) !important; }
html.np-v2 .np-ahist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--np-line); padding-top: 12px; }
html.np-v2 .np-ahist li { display: flex; flex-direction: column; gap: 4px; }
html.np-v2 .np-ahist-text { font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
html.np-v2 .np-asset-links button.np-link, html.np-v2 .np-asset-histbtn { padding: 0; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }

/* Content performance */
html.np-v2 .np-perf { padding-top: 100px; }
html.np-v2 .np-perf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 32px; }
html.np-v2 .np-perf-days { margin: 0; }
html.np-v2 .np-ptiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 40px; }
html.np-v2 .np-ptile { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--np-card); border-radius: 8px; }
html.np-v2 .np-ptile-k { font-size: 14px; color: var(--np-mute); }
html.np-v2 .np-ptile-v { font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
html.np-v2 .np-ptile-n { font-size: 13px; color: var(--np-mute); line-height: 1.4; }
html.np-v2 .np-pchg { font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-pchg.is-good { color: var(--np-done); }
html.np-v2 .np-pchg.is-bad { color: #d9534f; }
html.np-v2 .np-ptable { display: flex; flex-direction: column; border-top: 1px solid var(--np-line); }
html.np-v2 .np-prow { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 90px); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--np-line); font-size: 16px; }
html.np-v2 .np-prow.has-ga, html.np-v2 .np-prow.is-head:has(span:nth-child(5)) { grid-template-columns: minmax(0, 1fr) repeat(4, 90px); }
html.np-v2 .np-prow > span:not(.np-prow-t) { text-align: right; font-variant-numeric: tabular-nums; }
html.np-v2 .np-prow.is-head { font-size: 13px; color: var(--np-mute); padding: 12px 0; }
html.np-v2 .np-prow-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html.np-v2 .np-prow-t > a:first-child { color: var(--np-fg); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
html.np-v2 .np-prow-t > a:first-child:hover { text-decoration: underline; }
html.np-v2 .np-pbadge { font-size: 13px; color: var(--np-mute); text-decoration: none; }
html.np-v2 .np-pbadge:hover { color: var(--np-fg); }
html.np-v2 .np-perf-more { margin-top: 16px; font-size: 15px !important; padding: 0; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
html.np-v2 .np-pq { margin-top: 48px; }
html.np-v2 .np-pq ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; }
html.np-v2 .np-pq li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--np-line); font-size: 15px; }
html.np-v2 .np-perf-foot { margin-top: 32px; }
html.np-v2 .np-psetup { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
html.np-v2 .np-psetup label, html.np-v2 .np-plive-edit { display: flex; flex-direction: column; gap: 6px; }
html.np-v2 .np-psetup select, html.np-v2 .np-psetup input, html.np-v2 .np-plive-row input { height: 44px; padding: 0 12px; border: 1px solid var(--np-line); border-radius: 6px; background: var(--np-bg); color: var(--np-fg); font: inherit; font-size: 15px; }
html.np-v2 .np-plive-edit { margin-top: 32px; max-width: 640px; }
html.np-v2 .np-plive-row { display: flex; gap: 8px; }
html.np-v2 .np-plive-row input { flex: 1; min-width: 0; }
html.np-v2 .np-plive-row .np-obtn { min-height: 44px; padding: 0 20px; font-size: 14px; }
@media (max-width: 640px) {
  html.np-v2 .np-prow, html.np-v2 .np-prow.has-ga, html.np-v2 .np-prow.is-head:has(span:nth-child(5)) { grid-template-columns: minmax(0, 1fr) 56px 64px; }
  html.np-v2 .np-prow > span:nth-child(4), html.np-v2 .np-prow > span:nth-child(5) { display: none; }
  html.np-v2 .np-ptile-v { font-size: 34px; }
}
html.np-v2 .np-prow.is-head > span:first-child { text-align: left; }

/* ---------- SEO dashboard (portal-seo.js, <dashboard>#seo) ---------- */
html.np-v2 { --np-bad:#ef4444; }
html.np-v2 .np-seo { padding-top: 24px; }
html.np-v2 .np-seo-back { margin: 0 0 24px; }
html.np-v2 .np-seo-k { font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--np-mute); margin-bottom: 8px; }
html.np-v2 .np-seo-hero { padding: 24px 0 40px; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-seo-eyebrow { font-size: 13px; color: var(--np-mute); margin-bottom: 12px; }
html.np-v2 .np-seo-hero h2 { font-size: 56px; line-height: 1.02; font-weight: 400; letter-spacing: -0.05em; margin: 0 0 14px; }
html.np-v2 .np-seo-intro { font-size: 16px; max-width: 720px; margin: 0 0 24px; }
html.np-v2 .np-seo-verdict { background: var(--np-card); border-radius: 6px; padding: 14px 18px; margin-bottom: 24px; max-width: 900px; }
html.np-v2 .np-seo-score { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
html.np-v2 .np-seo-ring { position: relative; width: 120px; height: 120px; flex: 0 0 120px; }
html.np-v2 .np-seo-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
html.np-v2 .np-seo-ring circle { fill: none; stroke-width: 8; }
html.np-v2 .np-seo-ring .bg { stroke: var(--np-line); }
html.np-v2 .np-seo-ring .fg { stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
html.np-v2 .np-seo-ring.is-done .fg { stroke: var(--np-done); } html.np-v2 .np-seo-ring.is-wait .fg { stroke: var(--np-wait); } html.np-v2 .np-seo-ring.is-bad .fg { stroke: var(--np-bad); }
html.np-v2 .np-seo-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
html.np-v2 .np-seo-ring b { font-size: 34px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
html.np-v2 .np-seo-ring span { font-size: 11px; color: var(--np-mute); }
html.np-v2 .np-seo-bars { flex: 1 1 360px; max-width: 640px; }
html.np-v2 .np-seo-bar { display: grid; grid-template-columns: 130px 1fr 32px; align-items: center; gap: 12px; font-size: 13px; margin-bottom: 8px; }
html.np-v2 .np-seo-bar span { color: var(--np-mute); }
html.np-v2 .np-seo-bar b { height: 4px; background: var(--np-line); border-radius: 2px; overflow: hidden; }
html.np-v2 .np-seo-bar b i { display: block; height: 100%; border-radius: 2px; background: var(--np-fg); }
html.np-v2 .np-seo-bar b i.is-done { background: var(--np-done); } html.np-v2 .np-seo-bar b i.is-wait { background: var(--np-wait); } html.np-v2 .np-seo-bar b i.is-bad { background: var(--np-bad); }
html.np-v2 .np-seo-bar em { font-style: normal; text-align: right; }
html.np-v2 .np-seo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; }
html.np-v2 .np-seo-kpi { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-seo-kpi:not(:nth-child(3n+1)) { padding-left: 20px; border-left: 1px solid var(--np-line); }
html.np-v2 .np-seo-kv { font-size: 40px; letter-spacing: -0.05em; line-height: 1.1; margin-bottom: 6px; }
html.np-v2 .np-seo-kv small { font-size: 15px; color: var(--np-mute); margin-left: 2px; }
html.np-v2 .np-seo-kpi .np-muted { font-size: 13px; }
html.np-v2 .np-seo-tabs { display: flex; gap: 22px; overflow-x: auto; border-bottom: 1px solid var(--np-line); margin-bottom: 28px; scrollbar-width: none; }
html.np-v2 .np-seo-tabs .np-tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 12px; white-space: nowrap; cursor: pointer; }
html.np-v2 .np-seo-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
html.np-v2 .np-seo-head h3 { font-size: 28px; font-weight: 400; letter-spacing: -0.045em; margin: 0 0 4px; }
html.np-v2 .np-seo-head p { margin: 0; }
html.np-v2 .np-seo-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
html.np-v2 .np-seo-charts .np-card { padding: 22px; height: 320px; display: flex; flex-direction: column; }
html.np-v2 .np-seo-charts canvas { flex: 1; min-height: 0; }
html.np-v2 .np-seo-live { padding: 22px; margin-bottom: 16px; }
html.np-v2 .np-seo-livehead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
html.np-v2 .np-seo-livehead .np-seo-k { margin: 0; }
html.np-v2 .np-seo-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 14px; }
html.np-v2 .np-seo-tv { font-size: 30px; letter-spacing: -0.045em; }
html.np-v2 .np-seo-delta { font-size: 13px; color: var(--np-mute); letter-spacing: 0; }
html.np-v2 .np-seo-delta.is-up { color: var(--np-done); } html.np-v2 .np-seo-delta.is-down { color: var(--np-bad); }
html.np-v2 .np-seo-snaps { display: flex; gap: 8px; flex-wrap: wrap; }
html.np-v2 .np-seo-snap { display: flex; flex-direction: column; gap: 2px; font-size: 12px; border: 1px solid var(--np-line); border-radius: 6px; padding: 10px 12px; }
html.np-v2 .np-seo-snap b { font-weight: 400; font-size: 15px; }
html.np-v2 .np-seo-spark { display: flex; align-items: flex-end; gap: 2px; height: 70px; }
html.np-v2 .np-seo-spark i { flex: 1; background: var(--np-fg); opacity: .8; border-radius: 1px; }
html.np-v2 .np-seo-table { margin-bottom: 24px; }
html.np-v2 .np-seo-ttitle { font-size: 15px; margin-bottom: 10px; }
html.np-v2 .np-seo-scroll { overflow-x: auto; }
html.np-v2 .np-seo table { width: 100%; border-collapse: collapse; font-size: 14px; letter-spacing: -0.01em; }
html.np-v2 .np-seo th { text-align: left; font-weight: 400; font-size: 12px; text-transform: uppercase; color: var(--np-mute); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--np-line); white-space: nowrap; }
html.np-v2 .np-seo td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--np-line); vertical-align: top; }
html.np-v2 .np-seo td b { font-weight: 500; }
html.np-v2 .np-seo code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--np-mute); }
html.np-v2 .np-seo-pill { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; }
html.np-v2 .np-seo-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--np-idle); }
html.np-v2 .np-seo-pill.is-done i { background: var(--np-done); } html.np-v2 .np-seo-pill.is-wait i { background: var(--np-wait); } html.np-v2 .np-seo-pill.is-bad i { background: var(--np-bad); }
html.np-v2 .np-seo-diff { display: inline-flex; align-items: center; gap: 8px; }
html.np-v2 .np-seo-diff > span { width: 60px; height: 4px; background: var(--np-line); border-radius: 2px; overflow: hidden; }
html.np-v2 .np-seo-diff i { display: block; height: 100%; background: var(--np-fg); }
html.np-v2 .np-seo-diff.is-done i { background: var(--np-done); } html.np-v2 .np-seo-diff.is-wait i { background: var(--np-wait); } html.np-v2 .np-seo-diff.is-bad i { background: var(--np-bad); }
html.np-v2 .np-seo-pos.is-done { color: var(--np-done); } html.np-v2 .np-seo-pos.is-wait { color: var(--np-wait); } html.np-v2 .np-seo-pos.is-bad { color: var(--np-bad); }
html.np-v2 .np-seo-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
html.np-v2 .np-seo-filters .np-chip { border: 1px solid var(--np-pill); color: var(--np-fg); padding: 6px 14px; font-size: 13px; cursor: pointer; }
html.np-v2 .np-seo-filters .np-chip.is-on { background: var(--np-fg); color: var(--np-bg); border-color: var(--np-fg); }
html.np-v2 .np-seo-search { max-width: 420px; margin-bottom: 18px; }
html.np-v2 .np-seo-search input { width: 100%; height: 42px; padding: 0 14px; }
html.np-v2 .np-seo-blogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
html.np-v2 .np-seo-blog { padding: 18px; }
html.np-v2 .np-seo-blog p { font-size: 16px; line-height: 1.35; margin: 0 0 12px; }
html.np-v2 .np-seo-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
html.np-v2 .np-seo-phase { padding: 18px; }
html.np-v2 .np-seo-phase b { display: block; font-weight: 400; font-size: 20px; letter-spacing: -0.04em; margin-bottom: 12px; }
html.np-v2 .np-seo-prog { height: 4px; background: var(--np-line); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
html.np-v2 .np-seo-prog i { display: block; height: 100%; background: var(--np-done); transition: width .5s; }
html.np-v2 .np-seo-month { margin-bottom: 28px; }
html.np-v2 .np-seo-actions { list-style: none; margin: 0; padding: 0; }
html.np-v2 .np-seo-actions li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-seo-tick { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--np-pill); background: transparent; color: var(--np-bg); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; margin-top: 1px; }
html.np-v2 .np-seo-tick:hover { border-color: var(--np-fg); }
html.np-v2 .np-seo-actions li.is-done .np-seo-tick { background: var(--np-done); border-color: var(--np-done); }
html.np-v2 .np-seo-actions li.is-done .np-seo-atitle { color: var(--np-mute); text-decoration: line-through; }
html.np-v2 .np-seo-atitle { font-size: 15px; margin-bottom: 3px; }
html.np-v2 .np-seo-donewhen { color: var(--np-done); margin-left: 6px; }
html.np-v2 .np-seo-admin { padding: 18px 22px; margin-bottom: 24px; outline: 1px dashed var(--np-pill); }
html.np-v2 .np-seo-form { display: grid; gap: 12px; max-width: 520px; margin-top: 12px; }
html.np-v2 .np-seo-form .np-field input { width: 100%; height: 40px; padding: 0 12px; }
html.np-v2 .np-seo-formbtns { display: flex; gap: 8px; flex-wrap: wrap; }
html.np-v2 .np-seo-none { padding: 28px; }
html.np-v2 .np-seo-empty { padding: 32px 0; }
html.np-v2 .np-seo-livetag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--np-mute); white-space: nowrap; }
html.np-v2 .np-seo-livetag i { width: 7px; height: 7px; border-radius: 50%; background: var(--np-done); }
html.np-v2 .np-seo-livesum { font-size: 15px; margin: 0 0 24px; }
html.np-v2 .np-seo-foot { margin-top: 40px; }
html.np-v2 .np-seo-link { margin-top: 32px !important; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; margin: 0 0 24px; text-decoration: none; color: var(--np-fg); outline: 1px solid transparent; transition: outline-color .15s; }
html.np-v2 .np-seo-link:hover { outline-color: var(--np-fg); }
html.np-v2 .np-seo-link b { font-weight: 400; font-size: 22px; letter-spacing: -0.04em; display: block; }
@media (max-width: 760px) {
  html.np-v2 .np-seo-hero h2 { font-size: 38px; }
  html.np-v2 .np-seo-charts, html.np-v2 .np-seo-timeline { grid-template-columns: 1fr; }
  html.np-v2 .np-seo-kpis { grid-template-columns: repeat(2, 1fr); }
  html.np-v2 .np-seo-kpi, html.np-v2 .np-seo-kpi:not(:nth-child(3n+1)) { padding: 18px 12px; border-left: 0; }
  html.np-v2 .np-seo-kpi:nth-child(2n) { border-left: 1px solid var(--np-line); }
  html.np-v2 .np-seo-kv { font-size: 30px; }
  html.np-v2 .np-seo-bar { grid-template-columns: 100px 1fr 28px; }
}

html.np-v2 .np-seo-inline { margin: 24px 0 0; font-size: 15px; }

/* ---------- Side navigation (staging trial; ?nav=top for the old bars) ---------- */
html.np-v2.np-side-on body { padding-left: 248px !important; }
html.np-v2 .np-snav { position: fixed; z-index: 200; top: 0; left: 0; bottom: 0; width: 248px; background: var(--np-bg); border-right: 1px solid var(--np-line); box-sizing: border-box; font-size: 14px; letter-spacing: -0.02em; }
html.np-v2 .np-side-in { height: 100%; display: flex; flex-direction: column; padding: 22px 14px 18px; box-sizing: border-box; overflow-y: auto; }
html.np-v2 .np-side-mob { display: none; }
html.np-v2 .np-side-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 26px; }
html.np-v2 .np-side-brand img { height: 28px; display: block; }
html.np-v2[data-np-theme="dark"] .np-side-brand img:not(.np-side-logo), html.np-v2[data-np-theme="dark"] .np-side-by img { filter: invert(1); }
html.np-v2 .np-side-brand span { color: var(--np-mute); font-size: 13px; }
html.np-v2 .np-side-brand.is-client { padding-bottom: 22px; }
html.np-v2 .np-side-brand .np-side-logo { height: auto; max-height: 56px; max-width: 150px; object-fit: contain; }
html.np-v2[data-np-theme="dark"] .np-side-brand .np-side-logo { filter: invert(1); }
html.np-v2 .np-side-brand b { font-weight: 400; font-size: 18px; }
html.np-v2 .np-side-k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--np-mute); margin-bottom: 6px; }
html.np-v2 .np-side-switch { display: block; padding: 0 10px 10px; }
html.np-v2 .np-side-switch select { width: 100%; height: 38px; padding: 0 10px; background: var(--np-field); color: var(--np-fg); border: 1px solid var(--np-pill); border-radius: 8px; font-size: 14px; }
html.np-v2 .np-side-client { padding: 0 10px 14px; font-size: 15px; }
html.np-v2 .np-side-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
html.np-v2 .np-side-nav a, html.np-v2 .np-side-all { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; color: var(--np-mute); text-decoration: none; transition: background .12s, color .12s; }
html.np-v2 .np-side-nav a:hover, html.np-v2 .np-side-all:hover { background: var(--np-hover); color: var(--np-fg); }
html.np-v2 .np-side-nav a.is-on { background: var(--np-card); color: var(--np-fg); }
html.np-v2 .np-side-all { margin: 0 0 14px; }
html.np-v2 .np-side-group { padding: 8px 10px 4px; border-top: 1px solid var(--np-line); margin: 0; padding-top: 16px; }
html.np-v2 .np-side-foot { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--np-line); display: flex; flex-direction: column; gap: 12px; }
html.np-v2 .np-side-foot .np-theme { align-self: flex-start; }
html.np-v2 .np-side-me { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--np-mute); font-size: 13px; }
html.np-v2 .np-side-me span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.np-v2 .np-side-me button { background: none; border: 0; padding: 0; color: var(--np-fg); cursor: pointer; font-size: 13px; }
html.np-v2 .np-side-by { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--np-mute); }
html.np-v2 .np-side-by img { height: 11px; }
@media (max-width: 999px) {
  html.np-v2.np-side-on body { padding-left: 0 !important; padding-top: 56px !important; }
  html.np-v2 .np-snav { bottom: auto; right: 0; width: auto; height: 56px; border-right: 0; border-bottom: 1px solid var(--np-line); }
  html.np-v2 .np-side-mob { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 18px; }
  html.np-v2 .np-side-burger { width: 36px; height: 36px; border: 1px solid var(--np-pill); border-radius: 50%; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
  html.np-v2 .np-side-burger span { width: 14px; height: 1.5px; background: var(--np-fg); }
  html.np-v2 .np-side-in { display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0; background: var(--np-bg); }
  html.np-v2 .np-snav.is-open .np-side-in { display: flex; }
}
html.np-v2.np-side-on .np-seo-back { display: none; }
html.np-v2.np-side-on .client-portal_prefooter-wrap { display: none !important; }
html.np-v2 .np-side-theme { padding: 0 10px 18px; }
html.np-v2 .np-onb-list { list-style: none; margin: 0; padding: 0; max-width: 900px; }
html.np-v2 .np-onb-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-onb-n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--np-pill); display: flex; align-items: center; justify-content: center; font-size: 13px; }
html.np-v2 .np-onb-list b { font-weight: 400; font-size: 18px; letter-spacing: -0.03em; }
html.np-v2 .np-onb-list p { margin: 4px 0 0; font-size: 14px; }
html.np-v2 .np-onb-who { font-size: 12px; color: var(--np-mute); white-space: nowrap; border: 1px solid var(--np-line); border-radius: 14px; padding: 4px 10px; }
@media (max-width: 700px) { html.np-v2 .np-onb-list li { grid-template-columns: 32px 1fr; } html.np-v2 .np-onb-who { grid-column: 2; justify-self: start; } }
html.np-v2 .np-side-theme { display: none; }
html.np-v2 .np-side-clients a { padding-top: 7px; padding-bottom: 7px; }
html.np-v2 .np-side-clients a i { width: 18px; display: flex; justify-content: center; }
html.np-v2 .np-side-clients a i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--np-pill); }
html.np-v2 .np-side-clients a.is-cur { color: var(--np-fg); }
html.np-v2 .np-side-clients a.is-cur i::before { background: var(--np-fg); }
html.np-v2 .np-side-out { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--np-mute); cursor: pointer; font-size: 14px; }
html.np-v2 .np-side-out:hover { color: var(--np-fg); }
html.np-v2 .np-corner { position: absolute; z-index: 150; top: 18px; right: 28px; display: flex; align-items: center; gap: 14px; font-size: 14px; }
html.np-v2 .np-corner-hi { color: var(--np-mute); }
html.np-v2 .np-side-foot { gap: 10px; }
@media (max-width: 999px) { html.np-v2 .np-corner { position: fixed; top: 10px; right: 14px; } html.np-v2 .np-corner-hi { display: none; } }
/* Side navigation pages */
html.np-v2 .np-side-in { padding-top: 22px; }
html.np-v2 .np-side-brand { padding-top: 0; min-height: 36px; box-sizing: border-box; }
html.np-v2 .np-corner { top: 22px; height: 36px; }
html.np-v2 .np-corner .np-theme { height: 36px; box-sizing: border-box; }
html.np-v2.np-side-on .np-section { padding-top: 40px; }
html.np-v2 .np-pagehead { margin-bottom: 36px; }
html.np-v2 .np-ovgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 8px 0 48px; }
html.np-v2 .np-ovtile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; text-decoration: none; color: var(--np-fg); outline: 1px solid transparent; transition: outline-color .15s; }
html.np-v2 .np-ovtile:hover { outline-color: var(--np-fg); }
html.np-v2 .np-ovtile-k { font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-ovtile-v { font-size: 44px; letter-spacing: -0.05em; line-height: 1.05; }
html.np-v2 .np-ovtile .np-muted { font-size: 14px; }
html.np-v2 .np-ovtile-go { position: absolute; top: 20px; right: 20px; color: var(--np-mute); }
html.np-v2 .np-ovh { margin: 0 0 12px; }
html.np-v2 .np-studiopage { max-width: 1100px; }
html.np-v2 .transition, html.np-v2 .transition * { display: none !important; }
html.np-v2 .np-snav { top: 0 !important; margin-top: 0 !important; }
html.np-v2 .np-side-brand { height: 36px; padding: 0 10px; margin-bottom: 26px; }
html.np-v2 .np-side-brand a { display: flex; align-items: center; height: 36px; }
html.np-v2 .np-seo-audit { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 8px; background: var(--np-hover); margin: 10px 0; }
html.np-v2 .np-seo-audit.is-running b { font-weight: 400; }
html.np-v2 .np-seo-audit.is-running b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--np-wait); margin-right: 8px; animation: np-pulse 1.2s infinite; }
@keyframes np-pulse { 50% { opacity: .3; } }
html.np-v2 .np-seo-form textarea { width: 100%; padding: 10px 12px; font: inherit; }
/* SEO settings box (Nephew only) */
html.np-v2 .np-seoa { border: 1px solid var(--np-line); border-radius: 12px; padding: 22px 24px; margin-bottom: 40px; background: var(--np-card); }
html.np-v2 .np-seoa-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
html.np-v2 .np-seoa-head .np-seo-k { margin: 0; display: inline; }
html.np-v2 .np-seoa-tag { margin-left: 10px; font-size: 11px; border: 1px solid var(--np-pill); border-radius: 10px; padding: 2px 8px; color: var(--np-mute); }
html.np-v2 .np-seoa-state { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-seoa-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--np-idle); margin: 0 6px 0 0; vertical-align: middle; }
html.np-v2 .np-seoa-dot.is-on { background: var(--np-done); }
html.np-v2 .np-seoa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--np-line); }
html.np-v2 .np-seoa-col { padding: 16px 16px 4px 0; min-width: 0; }
html.np-v2 .np-seoa-col + .np-seoa-col { padding-left: 16px; border-left: 1px solid var(--np-line); }
html.np-v2 .np-seoa-col .np-seo-k { margin-bottom: 6px; }
html.np-v2 .np-seoa-v { font-size: 18px; letter-spacing: -0.03em; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.np-v2 .np-seoa-col .np-small { overflow: hidden; text-overflow: ellipsis; }
html.np-v2 .np-seoa-notes { margin: 14px 0 0; }
html.np-v2 .np-seoa-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
html.np-v2 .np-seoa-actions .np-btn { height: 40px; padding: 0 18px; font-size: 14px; }
html.np-v2 .np-seoa-running { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 8px; background: var(--np-hover); margin-bottom: 16px; }
html.np-v2 .np-seoa-running i { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--np-wait); margin-top: 7px; animation: np-pulse 1.2s infinite; }
html.np-v2 .np-seoa-running b { display: block; font-weight: 400; margin-bottom: 2px; }
html.np-v2 .np-seoa-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
html.np-v2 .np-seoa .np-seo-form { max-width: none; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--np-line); }
@media (max-width: 900px) {
  html.np-v2 .np-seoa-grid { grid-template-columns: 1fr 1fr; }
  html.np-v2 .np-seoa-col:nth-child(3) { padding-left: 0; border-left: 0; }
  html.np-v2 .np-seoa-fields { grid-template-columns: 1fr; }
}
/* Keep page content clear of the Hello / light mode corner */
@media (min-width: 1000px) { html.np-v2.np-side-on #nephew-portal { padding-top: 56px; } }
/* Dialogs in the portal's style */
html.np-v2 .np-dlg-wrap { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .15s; }
html.np-v2 .np-dlg-wrap.is-on { opacity: 1; }
html.np-v2 .np-dlg { width: 100%; max-width: 460px; background: var(--np-bg); color: var(--np-fg); border: 1px solid var(--np-line); border-radius: 14px; padding: 26px 26px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.35); transform: translateY(6px); transition: transform .15s; letter-spacing: -0.02em; }
html.np-v2 .np-dlg-wrap.is-on .np-dlg { transform: none; }
html.np-v2 .np-dlg-title { font-size: 22px; font-weight: 400; letter-spacing: -0.04em; line-height: 1.2; margin: 0 0 10px; }
html.np-v2 .np-dlg-msg { font-size: 15px; line-height: 1.5; color: var(--np-mute); margin: 0 0 22px; }
html.np-v2 .np-dlg-input { width: 100%; height: 44px; padding: 0 14px; margin: 0 0 20px; box-sizing: border-box; background: var(--np-field); color: var(--np-fg); border: 1px solid var(--np-pill); border-radius: 8px; font: inherit; }
html.np-v2 .np-dlg-btns { display: flex; justify-content: flex-end; gap: 8px; }
html.np-v2 .np-dlg-btns .np-btn { height: 40px; padding: 0 18px; font-size: 14px; }
html.np-v2 .np-btn.is-danger { background: #c0392b !important; border-color: #c0392b !important; color: #fff !important; }

/* Drop-down menus and choices in the portal's style */
html.np-v2 .np select, html.np-v2 .np-snav select {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; min-height: 40px; padding: 0 38px 0 12px;
  background-color: var(--np-field); color: var(--np-fg); border: 1px solid var(--np-pill); border-radius: 8px; font: inherit; font-size: 14px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
html.np-v2 .np select:focus { outline: none; border-color: var(--np-fg); }
html.np-v2 .np input[type="checkbox"], html.np-v2 .np input[type="radio"] { accent-color: var(--np-fg); width: 16px; height: 16px; }
@supports (appearance: base-select) {
  html.np-v2 .np select { appearance: base-select; background-image: none; display: inline-flex; align-items: center; }
  html.np-v2 .np select::picker-icon { content: ""; width: 12px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; transition: transform .15s; }
  html.np-v2 .np select:open::picker-icon { transform: rotate(180deg); }
  html.np-v2 .np select::picker(select) { appearance: base-select; background: var(--np-bg); color: var(--np-fg); border: 1px solid var(--np-line); border-radius: 10px; padding: 6px; margin-top: 4px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
  html.np-v2 .np select option { padding: 9px 12px; border-radius: 6px; font-size: 14px; }
  html.np-v2 .np select option:hover, html.np-v2 .np select option:focus-visible { background: var(--np-hover); outline: none; }
  html.np-v2 .np select option:checked { background: var(--np-card); }
  html.np-v2 .np select option::checkmark { display: none; }
}

/* SEO sections in the side nav: open under SEO while you're on it */
html.np-v2 .np-snav .np-side-sub { display: none; flex-direction: column; gap: 1px; margin: 2px 0 6px 21px; padding-left: 10px; border-left: 1px solid var(--np-line); }
html.np-v2 .np-snav.is-seo .np-side-sub { display: flex; }
html.np-v2 .np-snav .np-side-nav .np-side-sub a { padding: 6px 10px; font-size: 13.5px; gap: 0; }
html.np-v2 .np-snav .np-side-nav .np-side-sub a.is-on { background: var(--np-card); color: var(--np-fg); }
html.np-v2 .np-snav.is-seo .np-side-nav a[data-side="seo"] { color: var(--np-fg); background: none; }
html.np-v2 .np-seo-section { border-bottom: 1px solid var(--np-line); padding-bottom: 14px; margin-bottom: 28px; }
html.np-v2 .np-seo-section .np-seo-k { display: block; margin-bottom: 6px; }
html.np-v2 .np-seo-section h2 { margin: 0; font-size: 28px; font-weight: 400; letter-spacing: -0.01em; }

/* Collapsible SEO group in the side nav */
html.np-v2 .np-snav .np-side-row { position: relative; }
html.np-v2 .np-snav .np-side-row > a { padding-right: 36px; }
html.np-v2 .np-snav .np-side-caret { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--np-mute); cursor: pointer; }
html.np-v2 .np-snav .np-side-caret:hover { background: var(--np-hover); color: var(--np-fg); }
html.np-v2 .np-snav .np-side-caret svg { transition: transform .15s; transform: rotate(-90deg); }
html.np-v2 .np-snav.is-seo .np-side-caret svg { transform: none; }

/* Brief page: document tabs on one line */
html.np-v2 .np-dpills { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-top: 36px; scrollbar-width: none; }
html.np-v2 .np-dpills::-webkit-scrollbar { display: none; }
html.np-v2 .np-dpill { flex: none; height: 36px; padding: 0 14px; gap: 8px; font-size: 14px; white-space: nowrap; }

/* Brief page: compact header */
html.np-v2 .np-back.is-brief { margin-top: 24px; }
html.np-v2 .np-bhead { padding-top: 22px; }
html.np-v2 .np-bhead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
html.np-v2 .np-bhead-logo { display: inline-flex; align-items: center; margin-right: 10px; }
html.np-v2 .np-bhead-logo .np-logo { height: 26px; max-width: 200px; object-position: left center; }
html.np-v2 .np-bhead-meta .np-tag { font-size: 13px; padding: 4px 12px; }
html.np-v2 .np-bhead-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 18px; }
html.np-v2 .np-bhead h1 { margin: 0; font-weight: 400; font-size: 60px; line-height: 1; letter-spacing: -0.045em; color: var(--np-fg); }
html.np-v2 .np-bhead-lead { margin: 14px 0 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; color: var(--np-mute); }
html.np-v2 .np-bhead-lead > span { color: var(--np-fg); }
html.np-v2 .np-bhead-main .np-actions { display: flex; gap: 8px; flex: none; }
html.np-v2 .np-bhead-main .np-pbtn, html.np-v2 .np-bhead-main .np-obtn { min-height: 44px; font-size: 14px; padding: 0 22px; }
@media (max-width: 767px) {
  html.np-v2 .np-bhead h1 { font-size: 40px; }
  html.np-v2 .np-bhead-lead { font-size: 17px; }
  html.np-v2 .np-dpills { margin-top: 28px; }
}

/* ---------- Add a new client ---------- */
html.np-v2 .np-ob { padding-bottom: 120px; }
html.np-v2 .np-ob .np-back { margin-top: 24px; }
html.np-v2 .np-ob-k { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--np-mute); margin-bottom: 10px; }
html.np-v2 .np-ob-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin: 24px 0 32px; }
html.np-v2 .np-ob-head h1 { margin: 0 0 10px; font-weight: 400; font-size: 52px; line-height: 1.02; letter-spacing: -0.045em; color: var(--np-fg); }
html.np-v2 .np-ob-head p { margin: 0; max-width: 640px; }
html.np-v2 .np-ob-head > .np-pbtn { flex: none; min-height: 44px; font-size: 14px; padding: 0 22px; }
html.np-v2 .np-ob-list { display: flex; flex-direction: column; border-top: 1px solid var(--np-line); }
html.np-v2 .np-ob-row { display: grid; grid-template-columns: 1fr auto 140px 70px 120px; align-items: center; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--np-line); color: var(--np-fg); text-decoration: none; }
html.np-v2 .np-ob-row:hover { background: var(--np-hover); }
html.np-v2 .np-ob-row b { display: block; font-weight: 400; font-size: 18px; margin-bottom: 2px; }
html.np-v2 .np-ob-when { text-align: right; }
html.np-v2 .np-ob-prog { height: 4px; border-radius: 2px; background: var(--np-line); overflow: hidden; }
html.np-v2 .np-ob-prog i { display: block; height: 100%; background: var(--np-fg); }
html.np-v2 .np-ob-status { font-size: 12px; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--np-pill); color: var(--np-mute); white-space: nowrap; }
html.np-v2 .np-ob-status.is-setup { color: var(--np-fg); border-color: var(--np-fg); }
html.np-v2 .np-ob-status.is-live { background: var(--np-fg); color: var(--np-bg); border-color: var(--np-fg); }
html.np-v2 .np-ob-empty { padding: 28px; }
html.np-v2 .np-ob-empty p { margin: 6px 0 0; }
@media (max-width: 767px) { html.np-v2 .np-ob-row { grid-template-columns: 1fr auto; } html.np-v2 .np-ob-prog, html.np-v2 .np-ob-n, html.np-v2 .np-ob-when { display: none; } html.np-v2 .np-ob-head h1 { font-size: 38px; } }

html.np-v2 .np-ob-statusbox { display: flex; flex-direction: column; }
html.np-v2 .np-ob-seg { display: inline-flex; border: 1px solid var(--np-pill); border-radius: 22px; padding: 3px; gap: 2px; }
html.np-v2 .np-ob-seg button { border: 0; background: none; color: var(--np-mute); font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 18px; cursor: pointer; }
html.np-v2 .np-ob-seg button:hover { color: var(--np-fg); }
html.np-v2 .np-ob-seg button.is-on { background: var(--np-fg); color: var(--np-bg); }

html.np-v2 .np-ob-step { padding: 26px 28px 28px; margin-bottom: 14px; border-radius: 10px; }
html.np-v2 .np-ob-step.is-off { padding: 18px 28px; opacity: .75; }
html.np-v2 .np-ob-stephead { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
html.np-v2 .np-ob-step.is-off .np-ob-stephead { margin: 0; }
html.np-v2 .np-ob-stephead h3 { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: -0.02em; color: var(--np-fg); flex: 1; min-width: 160px; }
html.np-v2 .np-ob-num { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--np-pill); display: grid; place-items: center; font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-ob-num.is-done { background: var(--np-done); border-color: var(--np-done); color: #fff; }
html.np-v2 .np-ob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
@media (max-width: 767px) { html.np-v2 .np-ob-grid { grid-template-columns: 1fr; } }
html.np-v2 .np-ob-field { display: flex; flex-direction: column; gap: 7px; }
html.np-v2 .np-ob-field.is-wide { grid-column: 1 / -1; }
html.np-v2 .np-ob-step > .np-ob-field { margin-top: 14px; }
html.np-v2 .np-ob-field label { font-size: 13px; color: var(--np-fg); display: flex; justify-content: space-between; gap: 10px; }
html.np-v2 .np-ob-field label span { font-size: 12px; }
html.np-v2 .np-ob-field input, html.np-v2 .np-ob-field textarea { width: 100%; box-sizing: border-box; background: var(--np-field); color: var(--np-fg); border: 1px solid var(--np-pill); border-radius: 8px; font: inherit; font-size: 15px; padding: 10px 12px; outline: none; transition: border-color .12s; }
html.np-v2 .np-ob-field input { height: 44px; }
html.np-v2 .np-ob-field textarea { resize: vertical; line-height: 1.45; }
html.np-v2 .np-ob-field input:focus, html.np-v2 .np-ob-field textarea:focus { border-color: var(--np-fg); }
html.np-v2 .np-ob-field ::placeholder { color: var(--np-mute); opacity: .7; }

html.np-v2 .np-ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
html.np-v2 .np-ob-chip { height: 36px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--np-pill); background: none; color: var(--np-fg); font: inherit; font-size: 14px; cursor: pointer; }
html.np-v2 .np-ob-chip:hover { border-color: var(--np-fg); }
html.np-v2 .np-ob-chip.is-on { background: var(--np-fg); color: var(--np-bg); border-color: var(--np-fg); }
html.np-v2 .np-ob-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
html.np-v2 .np-ob-opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--np-pill); background: none; color: var(--np-fg); font: inherit; cursor: pointer; transition: border-color .12s, background .12s; }
html.np-v2 .np-ob-opt:hover { border-color: var(--np-fg); }
html.np-v2 .np-ob-opt.is-on { border-color: var(--np-fg); background: var(--np-hover); }
html.np-v2 .np-ob-opt b { display: block; font-weight: 400; font-size: 15px; margin-bottom: 3px; }
html.np-v2 .np-ob-opt small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--np-mute); }
html.np-v2 .np-ob-tick { width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 5px; border: 1.5px solid var(--np-pill); display: grid; place-items: center; }
html.np-v2 .np-ob-opt.is-on .np-ob-tick, html.np-v2 .np-ob-checks li.is-done .np-ob-tick { background: var(--np-fg); border-color: var(--np-fg); }
html.np-v2 .np-ob-opt.is-on .np-ob-tick::after, html.np-v2 .np-ob-checks li.is-done .np-ob-tick::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--np-bg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
html.np-v2 .np-ob-note { margin: 14px 0 0; font-size: 14px; color: var(--np-mute); padding: 12px 14px; border-radius: 8px; background: var(--np-hover); }

html.np-v2 .np-ob-auditbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--np-line); }
html.np-v2 .np-ob-audit.is-running { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 16px 18px; border-radius: 10px; background: var(--np-hover); }
html.np-v2 .np-ob-audit.is-running i { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--np-pill); border-top-color: var(--np-fg); animation: np-ob-spin 0.9s linear infinite; }
html.np-v2 .np-ob-audit b { display: block; font-weight: 400; }
@keyframes np-ob-spin { to { transform: rotate(360deg); } }
html.np-v2 .np-ob-result { margin-top: 20px; padding: 20px 22px; border-radius: 10px; border: 1px solid var(--np-line); }
html.np-v2 .np-ob-verdict { margin: 0 0 18px; font-size: 17px; line-height: 1.45; color: var(--np-fg); max-width: 820px; }
html.np-v2 .np-ob-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
html.np-v2 .np-ob-kpis b { font-weight: 400; font-size: 26px; letter-spacing: -0.03em; color: var(--np-fg); }
html.np-v2 .np-ob-kpis small { font-size: 13px; color: var(--np-mute); margin-left: 2px; }
html.np-v2 .np-ob-kpis .np-ob-k { margin-bottom: 4px; }
html.np-v2 .np-ob-plan { margin: 0 0 14px; padding-left: 20px; color: var(--np-fg); font-size: 14.5px; line-height: 1.7; }

html.np-v2 .np-ob-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
html.np-v2 .np-ob-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--np-line); }
html.np-v2 .np-ob-checks li:first-child { border-top: 0; padding-top: 0; }
html.np-v2 .np-ob-checks li b { display: block; font-weight: 400; color: var(--np-fg); }
html.np-v2 .np-ob-checks li.is-done b { color: var(--np-mute); text-decoration: line-through; text-decoration-color: var(--np-pill); }
html.np-v2 .np-ob-tickbtn { border: 0; background: none; padding: 2px 0 0; cursor: pointer; }
html.np-v2 .np-ob-tickbtn:hover .np-ob-tick { border-color: var(--np-fg); }
html.np-v2 .np-ob-archive { margin: 20px 0 0; }
html.np-v2 .np-ob-archive .np-link { color: var(--np-mute); font-size: 13px; background: none; border: 0; cursor: pointer; padding: 0; }
html.np-v2 .np-ob-archive .np-link:hover { color: #d9534f; }

html.np-v2 .np-ob-savebar { position: fixed; right: 28px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; border-radius: 30px; background: var(--np-card); border: 1px solid var(--np-line); box-shadow: 0 10px 30px rgba(0,0,0,.25); color: var(--np-mute); }
html.np-v2 .np-ob-savebar.is-dirty { color: var(--np-fg); }
html.np-v2 .np-ob-savebar .np-pbtn { min-height: 40px; font-size: 14px; padding: 0 22px; }
@media (max-width: 767px) { html.np-v2 .np-ob-savebar { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; } }
html.np-v2 .np-ob .np-card.np-ob-step { margin: 0 0 14px !important; }

/* ---------- Intelligence / Insights ---------- */
html.np-v2 .np-in { padding-bottom: 120px; }
html.np-v2 .np-in-k { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--np-mute); margin-bottom: 8px; }
html.np-v2 .np-in-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin: 28px 0 20px; }
html.np-v2 .np-in-head h1 { margin: 0 0 8px; font-weight: 400; font-size: 52px; line-height: 1.02; letter-spacing: -0.045em; color: var(--np-fg); }
html.np-v2 .np-in-head p { margin: 0; }
html.np-v2 .np-in-months { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
html.np-v2 .np-in-mchip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--np-pill); color: var(--np-mute); text-decoration: none; font-size: 13px; }
html.np-v2 .np-in-mchip:hover { color: var(--np-fg); border-color: var(--np-fg); }
html.np-v2 .np-in-mchip.is-on { background: var(--np-fg); color: var(--np-bg); border-color: var(--np-fg); }
html.np-v2 .np-in-mchip i { width: 6px; height: 6px; border-radius: 50%; background: var(--np-wait); }
html.np-v2 .np-in-mchip i.is-shared { background: var(--np-done); }
html.np-v2 .np-in-mchip i.is-none { background: transparent; border: 1px solid var(--np-pill); }
html.np-v2 .np-in-running { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 10px; background: var(--np-card); margin-bottom: 18px; }
html.np-v2 .np-in-running i { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--np-pill); border-top-color: var(--np-fg); animation: np-ob-spin .9s linear infinite; }
html.np-v2 .np-in-running b { display: block; font-weight: 400; }
html.np-v2 .np-in-empty { padding: 28px; }
html.np-v2 .np-in-empty h3 { margin: 0 0 6px; font-weight: 400; font-size: 20px; }
html.np-v2 .np-in-empty p { margin: 0 0 18px; max-width: 620px; }
html.np-v2 .np-in-requests { border: 1px solid var(--np-wait); border-radius: 10px; padding: 16px 18px; margin-bottom: 22px; }
html.np-v2 .np-in-requests > b { display: block; font-weight: 400; margin-bottom: 8px; }
html.np-v2 .np-in-req { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--np-line); }
html.np-v2 .np-in-req span:first-child { display: block; }
html.np-v2 .np-in-req small { display: block; margin-top: 2px; }
html.np-v2 .np-in-summary { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin: 6px 0 30px; }
html.np-v2 .np-in-summary p { margin: 0; font-size: 22px; line-height: 1.4; letter-spacing: -0.02em; color: var(--np-fg); max-width: 900px; }
html.np-v2 .np-in-summary textarea, html.np-v2 .np-in textarea, html.np-v2 .np-in input[data-e] { width: 100%; box-sizing: border-box; background: var(--np-field); color: var(--np-fg); border: 1px solid var(--np-pill); border-radius: 8px; font: inherit; font-size: 15px; padding: 9px 11px; outline: none; resize: vertical; margin: 2px 0 6px; }
html.np-v2 .np-in textarea:focus, html.np-v2 .np-in input[data-e]:focus { border-color: var(--np-fg); }
html.np-v2 .np-in-note-show { padding: 16px 20px; border-radius: 10px; background: var(--np-card); margin-bottom: 22px; }
html.np-v2 .np-in-note-show p { margin: 0; font-size: 16px; }
html.np-v2 .np-in-section { margin-top: 34px; }
html.np-v2 .np-in-sechead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
html.np-v2 .np-in-sechead h2 { margin: 0; font-weight: 400; font-size: 26px; letter-spacing: -0.03em; color: var(--np-fg); }
html.np-v2 .np-in-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 10px; }
html.np-v2 .np-in-tile { background: var(--np-card); border-radius: 10px; padding: 16px 18px; }
html.np-v2 .np-in-tile b { display: block; font-weight: 400; font-size: 30px; letter-spacing: -0.03em; color: var(--np-fg); margin-bottom: 6px; }
html.np-v2 .np-in-delta { display: block; font-size: 13px; color: var(--np-mute); line-height: 1.5; }
html.np-v2 .np-in-delta small { color: var(--np-mute); font-size: 12px; }
html.np-v2 .np-in-delta.is-good { color: var(--np-done); }
html.np-v2 .np-in-delta.is-bad { color: #ef4444; }
html.np-v2 .np-in-card { padding: 20px 22px; border-radius: 10px; margin-bottom: 10px !important; }
html.np-v2 .np-in-cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
html.np-v2 .np-in-cardhead h3 { margin: 0; font-weight: 400; font-size: 17px; color: var(--np-fg); }
html.np-v2 .np-in-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--np-fg); margin: 0 5px 0 12px; vertical-align: -1px; }
html.np-v2 .np-in-key.is-ly { background: none; border-top: 2px dashed var(--np-mute); height: 0; border-radius: 0; vertical-align: 3px; }
html.np-v2 .np-in-chart { display: flex; align-items: stretch; gap: 6px; height: 200px; }
html.np-v2 .np-in-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
html.np-v2 .np-in-col span { font-size: 11px; color: var(--np-mute); }
html.np-v2 .np-in-col.is-cur span { color: var(--np-fg); }
html.np-v2 .np-in-barwrap { position: relative; flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
html.np-v2 .np-in-bar { display: block; width: 70%; max-width: 44px; background: var(--np-pill); border-radius: 4px 4px 0 0; }
html.np-v2 .np-in-col.is-cur .np-in-bar { background: var(--np-fg); }
html.np-v2 .np-in-col:hover .np-in-bar { background: var(--np-mute); }
html.np-v2 .np-in-ly { position: absolute; left: 10%; right: 10%; border-top: 2px dashed var(--np-mute); }
html.np-v2 .np-in-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; align-items: start; }
html.np-v2 .np-in-two > .np-in-card:only-child { grid-column: 1 / -1; }
@media (max-width: 900px) { html.np-v2 .np-in-two { grid-template-columns: 1fr; } }
html.np-v2 .np-in-table { width: 100%; border-collapse: collapse; font-size: 14px; }
html.np-v2 .np-in-table th { text-align: left; font-weight: 400; font-size: 12px; color: var(--np-mute); padding: 0 8px 8px 0; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-in-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--np-line); color: var(--np-fg); vertical-align: top; }
html.np-v2 .np-in-table td:nth-child(n+2), html.np-v2 .np-in-table th:nth-child(n+2) { text-align: right; white-space: nowrap; }
html.np-v2 .np-in-table .np-in-delta { display: inline; }
html.np-v2 .np-in-new { font-size: 12px; color: var(--np-done); }
html.np-v2 .np-in-split { margin-bottom: 12px; font-size: 14px; }
html.np-v2 .np-in-split > div { display: flex; justify-content: space-between; gap: 10px; color: var(--np-fg); margin-bottom: 5px; }
html.np-v2 .np-in-split > i { display: block; height: 6px; border-radius: 3px; background: var(--np-line); overflow: hidden; }
html.np-v2 .np-in-split > i b { display: block; height: 100%; background: var(--np-fg); }
html.np-v2 .np-in-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--np-line); }
html.np-v2 .np-in-itembody { flex: 1; min-width: 0; }
html.np-v2 .np-in-itembody b { display: block; font-weight: 400; font-size: 17px; color: var(--np-fg); margin-bottom: 3px; }
html.np-v2 .np-in-itembody p { margin: 0; color: var(--np-mute); font-size: 15px; line-height: 1.5; }
html.np-v2 .np-in-tone { width: 8px; height: 8px; flex: none; border-radius: 50%; margin-top: 8px; background: var(--np-idle); }
html.np-v2 .np-in-tone.is-up { background: var(--np-done); }
html.np-v2 .np-in-tone.is-down { background: var(--np-wait); }
html.np-v2 .np-in-share { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--np-pill); background: none; color: var(--np-mute); font: inherit; font-size: 13px; padding: 6px 12px 6px 9px; border-radius: 18px; cursor: pointer; }
html.np-v2 .np-in-share:hover { color: var(--np-fg); border-color: var(--np-fg); }
html.np-v2 .np-in-share.is-on { color: var(--np-fg); border-color: var(--np-fg); }
html.np-v2 .np-in-share .np-ob-tick { width: 15px; height: 15px; margin: 0; border-radius: 4px; }
html.np-v2 .np-in-share.is-on .np-ob-tick { background: var(--np-fg); border-color: var(--np-fg); }
html.np-v2 .np-in-share.is-on .np-ob-tick::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--np-bg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
html.np-v2 .np-in-camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
html.np-v2 .np-in-camp { display: flex; flex-direction: column; background: var(--np-card); border-radius: 12px; padding: 20px 22px; border: 1px solid transparent; }
html.np-v2 .np-in-camp.is-picked { border-color: var(--np-fg); }
html.np-v2 .np-in-camphead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
html.np-v2 .np-in-camphead h3 { margin: 0; font-weight: 400; font-size: 20px; letter-spacing: -0.02em; color: var(--np-fg); }
html.np-v2 .np-in-why { padding: 10px 12px; border-radius: 8px; background: var(--np-hover); margin-bottom: 12px; }
html.np-v2 .np-in-why .np-in-k { margin-bottom: 3px; }
html.np-v2 .np-in-why p { margin: 0; font-size: 14px; color: var(--np-fg); }
html.np-v2 .np-in-idea p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--np-fg); }
html.np-v2 .np-in-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
html.np-v2 .np-in-meta > span { font-size: 12px; padding: 3px 10px; border-radius: 12px; border: 1px solid var(--np-pill); color: var(--np-mute); }
html.np-v2 .np-in-measure { margin: 0 0 4px; }
html.np-v2 .np-in-camplast { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
html.np-v2 .np-in-camplast .np-pbtn, html.np-v2 .np-in-camplast .np-obtn { min-height: 40px; font-size: 14px; padding: 0 18px; }
html.np-v2 .np-in-camplast.is-done { color: var(--np-done); font-size: 14px; }
html.np-v2 .np-in-camplast .np-link { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; }
html.np-v2 .np-in-note { width: 100%; }
html.np-v2 .np-in-sharebar { position: fixed; right: 28px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; border-radius: 30px; background: var(--np-card); border: 1px solid var(--np-line); box-shadow: 0 10px 30px rgba(0,0,0,.25); color: var(--np-fg); }
html.np-v2 .np-in-sharebar > span { margin-right: 8px; }
html.np-v2 .np-in-sharebar .np-pbtn, html.np-v2 .np-in-sharebar .np-btn { min-height: 40px; font-size: 14px; padding: 0 18px; }
@media (max-width: 767px) { html.np-v2 .np-in-sharebar { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; border-radius: 16px; } html.np-v2 .np-in-head h1 { font-size: 38px; } }
html.np-v2 .np-in-upload { margin-bottom: 18px !important; }
html.np-v2 .np-in-upload .np-link { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; color: var(--np-mute); }
html.np-v2 .np-in-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 16px; margin-bottom: 18px; }
html.np-v2 .np-in-maps label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--np-fg); }
html.np-v2 .np-in-maps select { height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--np-pill); background: var(--np-field); color: var(--np-fg); font: inherit; font-size: 14px; }
html.np-v2 .np-in-check { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 14px 0; border-top: 1px solid var(--np-line); }
html.np-v2 .np-in-check b { font-weight: 400; font-size: 24px; color: var(--np-fg); letter-spacing: -0.02em; }
html.np-v2 .np-in-check small { font-size: 13px; }
html.np-v2 .np-in-checknotes { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--np-mute); line-height: 1.7; }
html.np-v2 .np-in-head .np-actions { display: flex; gap: 8px; flex-wrap: wrap; }
html.np-v2 .np-in-upload { padding: 22px 24px; border-radius: 10px; }

/* Asset card picture wrapped in a link (when the subtask has a Dropbox link): the site's own
   link styling makes it a flex box, which collapsed the picture to nothing. */
html.np-v2 a.np-asset-thumblink { display: block !important; width: 100%; }
html.np-v2 a.np-asset-thumblink > .np-asset-thumb { width: 100%; }

/* Asset card links: small, quiet text links on one line; underline only on hover */
html.np-v2 .np-asset-links { gap: 4px 16px; margin-top: 12px; }
html.np-v2 .np-asset-links .np-link, html.np-v2 .np-asset-links button.np-link {
  font-size: 13.5px !important; line-height: 1.4; color: var(--np-mute); border-bottom: 1px solid transparent !important;
  padding: 0; background: none; text-decoration: none; transition: color .15s, border-color .15s;
}
html.np-v2 .np-asset-links .np-link:hover, html.np-v2 .np-asset-links button.np-link:hover { color: var(--np-fg); border-bottom-color: var(--np-fg) !important; }

/* Accessibility (WCAG 2.2 AA): visible keyboard focus everywhere in the portal
   (the Webflow site CSS removes focus outlines), and darker status colours in
   light mode so coloured text keeps a 4.5:1 contrast on white. */
html.np-portal :focus-visible { outline: 2px solid currentColor !important; outline-offset: 2px !important; }
html.np-portal input:focus-visible, html.np-portal textarea:focus-visible, html.np-portal select:focus-visible { outline: 2px solid var(--np-fg, #000) !important; outline-offset: 1px !important; }
html.np-v2[data-np-theme="light"] { --np-wait:#c2410c; --np-done:#15803d; --np-bad:#b91c1c; }
html.np-v2[data-np-theme="light"] .np-pchg.is-bad, html.np-v2[data-np-theme="light"] .np-in-delta.is-bad, html.np-v2[data-np-theme="light"] .np-ob-archive .np-link:hover { color: #b91c1c; }
@media (prefers-reduced-motion: reduce) { html.np-portal *, html.np-portal *::before, html.np-portal *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Legal footer and policy dialog */
html.np-v2 .np-legal-foot { max-width: 1200px; margin: 48px auto 24px; padding: 20px 24px 0; border-top: 1px solid var(--np-line); color: var(--np-mute); font-size: 13px; line-height: 1.5; }
html.np-v2 .np-legal-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 8px; }
html.np-v2 .np-legal-foot nav button { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--np-fg); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
html.np-v2 .np-legal-foot p { margin: 0; color: var(--np-mute); }
html.np-v2 dialog.np-legal { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--np-line); border-radius: 14px; background: var(--np-card); color: var(--np-fg); overflow: auto; }
html.np-v2 dialog.np-legal::backdrop { background: rgba(0,0,0,.6); }
html.np-v2 .np-legal-in { padding: 28px 32px 32px; font-size: 15.5px; line-height: 1.6; }
html.np-v2 .np-legal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
html.np-v2 .np-legal-head h2 { margin: 0; font-size: 28px; line-height: 1.2; }
html.np-v2 .np-legal-head h2:focus { outline: none; }
html.np-v2 .np-legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
html.np-v2 .np-legal-tab { background: none; border: 1px solid var(--np-line); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13.5px; color: var(--np-fg); cursor: pointer; }
html.np-v2 .np-legal-tab[aria-current="page"] { background: var(--np-fg); color: var(--np-card); border-color: var(--np-fg); }
html.np-v2 .np-legal-body h3 { margin: 26px 0 6px; font-size: 18px; }
html.np-v2 .np-legal-body p, html.np-v2 .np-legal-body li { color: var(--np-fg); }
html.np-v2 .np-legal-body ul { padding-left: 20px; margin: 8px 0; }
html.np-v2 .np-legal-body li { margin: 4px 0; }
html.np-v2 .np-legal-body a, html.np-v2 .np-legal-inline { color: inherit; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
html.np-v2 .np-legal-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
html.np-v2 .np-legal-table th, html.np-v2 .np-legal-table td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--np-line); }
html.np-v2 .np-legal-date { margin-top: 24px; color: var(--np-mute) !important; font-size: 13px; }

/* Prospect demo: view switch and reset, bottom centre */
html.np-v2 .np-demo-bar { position: fixed; right: 20px; bottom: 18px; z-index: 9000; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--np-fg); color: var(--np-card); box-shadow: 0 8px 28px rgba(0,0,0,.28); font-size: 13px; }
html.np-v2 .np-demo-k { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; opacity: .8; }
html.np-v2 .np-demo-sw { display: flex; background: rgba(127,127,127,.25); border-radius: 999px; padding: 2px; }
html.np-v2 .np-demo-sw button, html.np-v2 .np-demo-reset { border: 0; background: none; color: inherit; font: inherit; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
html.np-v2 .np-demo-sw button[aria-pressed="true"] { background: var(--np-card); color: var(--np-fg); }
html.np-v2 .np-demo-reset { text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
@media (max-width: 640px) { html.np-v2 .np-demo-bar { right: 10px; bottom: 64px; font-size: 12px; } html.np-v2 .np-demo-k { display: none; } }
html.np-v2.np-demo[data-np-theme="dark"] .np-side-logo { filter: brightness(0) invert(1); }
html.np-v2.np-demo[data-np-theme="light"] .np-side-logo { filter: brightness(0); }

/* platform.nephew.media sign-in: quiet and centred (logo, one line, one field) */
html.np-v2 .np-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html.np-v2.np-gate-on .np-legal-foot, html.np-v2.np-gate-on .np-demo-bar { display: none; }
html.np-v2 .np-gate { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px 24px; box-sizing: border-box; }
html.np-v2 .np-gate-in { width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: center; text-align: center; margin: auto 0; }
html.np-v2 .np-gate-logo { width: 200px; height: auto; margin-bottom: 52px; }
html.np-v2[data-np-theme="dark"] .np-gate-logo { filter: brightness(0) invert(1); }
html.np-v2[data-np-theme="light"] .np-gate-logo { filter: brightness(0); }
html.np-v2 .np-gate-h { margin: 0 0 32px; font-size: 30px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; color: var(--np-fg); }
html.np-v2 .np-gate-sub { margin: -16px 0 28px; color: var(--np-mute); font-size: 16px; line-height: 1.45; }
html.np-v2 .np-gate-form { width: 100%; display: flex; flex-direction: column; gap: 12px; }
html.np-v2 .np-gate-form input { width: 100%; box-sizing: border-box; height: 52px; padding: 0 16px; font: inherit; font-size: 17px; border-radius: 8px; border: 1px solid var(--np-pill); background: var(--np-field); color: var(--np-fg); }
html.np-v2 .np-gate-form .np-code { text-align: center; letter-spacing: .3em; }
html.np-v2 .np-gate-form .np-btn { height: 52px; width: 100%; justify-content: center; border-radius: 8px; font-size: 17px; }
html.np-v2[data-np-theme="dark"] .np-gate-form .np-btn.is-black { background: #fff; color: #000; border-color: #fff; }
html.np-v2 .np-gate-note { margin: 28px 0 0; color: var(--np-mute); font-size: 14.5px; line-height: 1.6; }
html.np-v2 .np-gate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 8px; font-size: 14.5px; }
html.np-v2 .np-gate-foot { width: 100%; max-width: 400px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; color: var(--np-mute); font-size: 13px; }
html.np-v2 .np-gate-foot .np-link { color: var(--np-mute); font-size: 13px; }
/* The sign-in line stays on one line on laptops and desktops; it wraps on phones. */
@media (min-width: 760px) { html.np-v2 .np-gate-h { white-space: nowrap; max-width: none; } }
/* Sign-in line: words rise in one by one, then the key words turn Nephew blue.
   Dark mode uses a lighter Nephew blue so the words stay readable on black. */
html.np-v2 .np-gate-h { --np-key: #172aff; }
html.np-v2[data-np-theme="dark"] .np-gate-h { --np-key: #6f7cff; }
html.np-v2 .np-gate-h .w { display: inline-block; opacity: 0; transform: translateY(.4em); animation: np-gate-w .7s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: calc(var(--i) * 75ms + 200ms); }
html.np-v2 .np-gate-h .k { animation: np-gate-k .6s ease forwards; animation-delay: calc(var(--i) * 75ms + 900ms); }
@keyframes np-gate-w { to { opacity: 1; transform: none; } }
@keyframes np-gate-k { to { color: var(--np-key); } }
@media (prefers-reduced-motion: reduce) {
  html.np-v2 .np-gate-h .w { animation: none; opacity: 1; transform: none; }
  html.np-v2 .np-gate-h .k { animation: none; color: var(--np-key); }
}

/* ---------- Messages ---------- */
/* Inline (in forms and panels): a quiet tinted line with an icon, not a pink box. */
html.np-v2 .np-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 12px 0; border-radius: 10px; font-size: 14px; line-height: 1.45; letter-spacing: -0.01em;
  background: rgba(255,111,89,.08); border: 1px solid rgba(255,111,89,.26); color: #ffb3a5; }
html.np-v2 .np-error::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8v5H7.1zm.9 6.6a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8v5H7.1zm.9 6.6a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
html.np-v2[data-np-theme="light"] .np-error { background: #fff6f4; border-color: #f2cdc4; color: #a3311b; }
html.np-v2 .np-error a { color: inherit; }

/* Full page: centred panel with an icon, heading, a line of help and the way out. */
html.np-v2 .np-notice { --np-tone: #ff8a73; max-width: 520px; margin: 14vh auto 0; padding: 0 20px; text-align: center; color: var(--np-fg); animation: np-notice-in .45s cubic-bezier(.2,.7,.2,1) both; }
html.np-v2[data-np-theme="light"] .np-notice { --np-tone: #c2410c; }
html.np-v2 .np-notice.is-lock { --np-tone: #6f7cff; }
html.np-v2[data-np-theme="light"] .np-notice.is-lock { --np-tone: #172aff; }
html.np-v2 .np-notice.is-empty { --np-tone: var(--np-mute); }
html.np-v2 .np-notice-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 28px; border-radius: 50%;
  color: var(--np-tone); background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); }
html.np-v2 .np-notice-h { margin: 0 0 12px; font-size: 34px; font-weight: 400; line-height: 1.1; letter-spacing: -0.05em; color: var(--np-fg); }
html.np-v2 .np-notice-p { margin: 0 auto; max-width: 420px; font-size: 16px; line-height: 1.55; letter-spacing: -0.015em; color: var(--np-mute); }
html.np-v2 .np-notice-p .np-link { color: var(--np-fg); }
html.np-v2 .np-notice-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
html.np-v2 .np-notice-acts .np-btn { display: inline-flex; align-items: center; text-decoration: none; }
@keyframes np-notice-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { html.np-v2 .np-notice { margin-top: 8vh; } html.np-v2 .np-notice-h { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { html.np-v2 .np-notice { animation: none; } }

/* Client logo in the side bar: let the bar grow to the logo so tall logos aren't clipped. */
html.np-v2 .np-side-brand.is-client { height: auto; min-height: 36px; padding-top: 4px; padding-bottom: 0; }
html.np-v2 .np-side-brand.is-client a { height: auto; }
html.np-v2 .np-side-brand.is-client .np-side-logo { max-height: 52px; }

/* Policies: a quiet line at the foot of the side bar instead of a page footer. */
html.np-v2 .np-legal-foot { display: none !important; }
html.np-v2 .np-side-legal { font-size: 11px; line-height: 1.6; color: var(--np-mute); }
html.np-v2 .np-side-legal button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; letter-spacing: inherit; }
html.np-v2 .np-side-legal button:hover { color: var(--np-fg); text-decoration: underline; }
