/* ==========================================================================
   /nexus — bRRAIn Nexus product page (2026-11)
   Page-only additions on top of marketing-console.css (.mc-*) and
   product-pages.css (.pp-*). Everything is scoped under .pp-nexus.

   The app mocks (.nx inside .pp-window) recreate the real Nexus shell in its
   default look — Dark theme, Vector style, Cyan highlight — and keep that
   palette in both site themes, like the other product screenshots. Their
   colors come from the Nexus theme engine (desktop/src/nexus/nexus-theme.ts).
   Mocks are sized in em and scale with their frame (container query units),
   so they stay crisp and proportional from phone to wide desktop.
   ========================================================================== */

/* ---------- Page-level helpers (site tokens only) ---------- */
.pp-nexus .nx-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.pp-nexus .nx-hero-note {
    margin: 20px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-text-secondary);
}
.pp-nexus .nx-hero-note a,
.pp-nexus .mc-deploy__list a { color: var(--pp-cyan); text-decoration: none; }
.pp-nexus .nx-hero-note a:hover,
.pp-nexus .mc-deploy__list a:hover { text-decoration: underline; }

.pp-nexus .nx-stats-wrap { padding: 0 0 64px; }
.pp-nexus .nx-surface-gap { margin-top: 104px; }
.pp-nexus .nx-styles { margin-top: 96px; }
.pp-nexus .nx-small { font-size: 13px; color: var(--color-text-secondary); line-height: 1.55; margin: 0; }
.pp-nexus .mc-surface__copy code,
.pp-nexus .mc-feature__list code {
    font-family: var(--font-mono);
    font-size: 0.92em;
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--color-surface-2);
    color: var(--color-text-primary);
}
.pp-nexus .mc-feature__list strong,
.pp-nexus .mc-surface__copy p strong,
.pp-nexus .mc-feature__desc strong { color: var(--color-text-primary); font-weight: 600; }
.pp-nexus .mc-surface__copy .btn { margin-top: 8px; }
.pp-nexus .mc-surface__copy .mc-feature__list { margin-bottom: 20px; }
/* List items carry inline <strong>/<code>: keep them in one text flow. */
.pp-nexus .mc-surface__copy .mc-feature__list li { display: block; position: relative; padding-left: 13px; }
.pp-nexus .mc-surface__copy .mc-feature__list li::before { position: absolute; left: 0; top: 0.5em; margin-top: 0; }

/* Section eyebrows in the page accents (theme-aware via --pp-*). */
.pp-nexus .mc-eyebrow.nx-eb--cyan,
.pp-nexus .mc-eyebrow.nx-eb--violet,
.pp-nexus .mc-eyebrow.nx-eb--green,
.pp-nexus .mc-eyebrow.nx-eb--amber,
.pp-nexus .mc-eyebrow.nx-eb--rose {
    color: var(--eb);
    background: color-mix(in srgb, var(--eb) 10%, transparent);
    border-color: color-mix(in srgb, var(--eb) 28%, transparent);
}
.pp-nexus .nx-eb--cyan { --eb: var(--pp-cyan); }
.pp-nexus .nx-eb--violet { --eb: var(--pp-violet); }
.pp-nexus .nx-eb--green { --eb: var(--pp-green); }
.pp-nexus .nx-eb--amber { --eb: var(--pp-amber); }
.pp-nexus .nx-eb--rose { --eb: var(--pp-rose); }

.pp-nexus .nx-tint--cyan { --icon-tint: color-mix(in srgb, var(--pp-cyan) 18%, transparent); }
.pp-nexus .nx-tint--violet { --icon-tint: color-mix(in srgb, var(--pp-violet) 18%, transparent); }
.pp-nexus .nx-tint--green { --icon-tint: color-mix(in srgb, var(--pp-green) 18%, transparent); }
.pp-nexus .nx-tint--amber { --icon-tint: color-mix(in srgb, var(--pp-amber) 18%, transparent); }
.pp-nexus .nx-tint--rose { --icon-tint: color-mix(in srgb, var(--pp-rose) 18%, transparent); }

/* Theme + highlight swatches next to the styles mock. The fills show the
   product's own theme canvases and highlight colors. */
.pp-nexus .nx-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 16px; }
.pp-nexus .nx-swatch {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 11px 5px 6px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-surface-1);
    font-size: 12px;
    color: var(--color-text-secondary);
}
.pp-nexus .nx-swatch::before {
    content: "";
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--sw);
}
.pp-nexus .nx-swatch--dark { --sw: #0b1424; }
.pp-nexus .nx-swatch--light { --sw: #eef3fb; }
.pp-nexus .nx-swatch--pastel { --sw: linear-gradient(160deg, #f3ecfb, #fdeef2); }
.pp-nexus .nx-swatch--natural { --sw: linear-gradient(160deg, #efe6d6, #e9ddc9); }
.pp-nexus .nx-hl { display: inline-flex; gap: 5px; margin-left: 6px; }
.pp-nexus .nx-hl i { width: 16px; height: 16px; border-radius: 50%; background: var(--hl); box-shadow: 0 0 0 1px var(--color-border); }

/* ---------- Mock frame: scales with its container ---------- */
.pp-nexus .nx-frame { container-type: inline-size; min-width: 0; }
.pp-nexus .nx {
    /* Nexus · Dark · Vector · Cyan */
    --nx-acc: oklch(0.76 0.15 205);
    --nx-acc-soft: oklch(0.76 0.15 205 / 0.16);
    --nx-acc-line: oklch(0.76 0.15 205 / 0.55);
    --nx-acc-text: #06131a;
    --nx-fg: oklch(0.96 0.006 240);
    --nx-muted: oklch(0.74 0.012 240);
    --nx-faint: oklch(0.6 0.012 240);
    --nx-hair: rgba(255, 255, 255, 0.10);
    --nx-hair2: rgba(255, 255, 255, 0.20);
    --nx-chip: rgba(255, 255, 255, 0.055);
    --nx-chip2: rgba(255, 255, 255, 0.10);
    --nx-bar: rgba(7, 11, 20, 0.72);
    --nx-side: rgba(8, 12, 20, 0.62);
    --nx-danger: oklch(0.72 0.18 26);
    --nx-warn: oklch(0.8 0.14 75);
    --nx-info: oklch(0.74 0.13 240);
    --nx-succ: oklch(0.74 0.15 150);
    --pp-screen: radial-gradient(90% 90% at 62% 30%, #0b1424, #06080f 72%);
    font-family: var(--font-ui);
    font-size: clamp(7px, 2cqw, 14px);
    line-height: 1.35;
    color: var(--nx-fg);
    text-align: left;
}
.pp-nexus .nx .pp-window__bar { font-size: 11px; background: rgba(3, 5, 10, 0.55); }
.pp-nexus .nx-frame--hero .nx { font-size: clamp(6px, 1.68cqw, 13px); }
/* The hero mock stays inside the column, like the other product pages. */
.pp-nexus .nx svg {
    width: 1.15em; height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pp-nexus .nx b { font-weight: 600; }
.pp-nexus .nx em { font-style: normal; }
.pp-nexus .nx .nx-grow { flex: 1; min-width: 0; }
.pp-nexus .nx .pp-live { --pp-line: var(--nx-succ); width: 0.6em; height: 0.6em; }

/* ---------- Shell (hero) ---------- */
.pp-nexus .nx-shell { display: grid; grid-template-columns: minmax(0, 1fr) 15.5em; height: 36.5em; }
.pp-nexus .nx-main {
    display: flex; flex-direction: column; min-width: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 2.6em 2.6em;
}
.pp-nexus .nx-top {
    display: flex; align-items: center; gap: 0.45em;
    padding: 0.55em 0.7em;
    border-bottom: 1px solid var(--nx-hair);
    background: var(--nx-bar);
    white-space: nowrap;
}
.pp-nexus .nx-cmd { min-width: 7em; }
.pp-nexus .nx-top .nx-brand > span:last-child { display: none; }
.pp-nexus .nx-ibtn {
    display: grid; place-items: center;
    width: 2.1em; height: 2.1em;
    border-radius: 0.6em;
    background: var(--nx-chip);
    border: 1px solid var(--nx-hair);
    color: var(--nx-muted);
    flex: none;
}
.pp-nexus .nx-brand { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; font-size: 0.86em; line-height: 1.12; }
.pp-nexus .nx-mark {
    display: grid; place-items: center;
    width: 2.3em; height: 2.3em;
    border-radius: 0.6em;
    background: radial-gradient(circle at 30% 25%, #1b2a40, #0a0f18);
    border: 1px solid var(--nx-hair2);
    font-family: var(--font-serif);
    font-size: 1em;
    font-weight: 600;
}
.pp-nexus .nx-scope { display: inline-flex; align-items: center; gap: 0.3em; font-size: 0.82em; font-weight: 600; }
.pp-nexus .nx-scope svg { width: 0.9em; height: 0.9em; color: var(--nx-faint); }
.pp-nexus .nx-slash { color: var(--nx-faint); font-size: 0.85em; }
.pp-nexus .nx-dot { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--nx-faint); }
.pp-nexus .nx-seg {
    display: inline-flex; gap: 0.15em; padding: 0.2em;
    border-radius: 0.6em;
    background: var(--nx-chip);
    border: 1px solid var(--nx-hair);
    flex: none;
}
.pp-nexus .nx-seg > span {
    display: inline-flex; align-items: center; gap: 0.3em;
    padding: 0.28em 0.55em;
    border-radius: 0.45em;
    font-size: 0.74em;
    color: var(--nx-muted);
}
.pp-nexus .nx-seg > span.is-on { background: var(--nx-acc-soft); color: var(--nx-acc); }
.pp-nexus .nx-seg svg { width: 1em; height: 1em; }
.pp-nexus .nx-cmd {
    flex: 1 1 9em;
    display: flex; align-items: center; gap: 0.45em;
    padding: 0.5em 0.6em;
    border-radius: 0.6em;
    background: var(--nx-chip);
    border: 1px solid var(--nx-hair);
    color: var(--nx-faint);
    font-size: 0.76em;
    overflow: hidden;
}
.pp-nexus .nx-cmd span { overflow: hidden; text-overflow: ellipsis; }
.pp-nexus .nx-cmd kbd {
    margin-left: auto;
    padding: 0.1em 0.4em;
    border-radius: 0.3em;
    background: var(--nx-chip2);
    font: 600 0.85em/1.3 var(--font-mono);
    color: var(--nx-muted);
}
.pp-nexus .nx-new {
    display: inline-flex; align-items: center; gap: 0.3em;
    padding: 0.5em 0.8em;
    border-radius: 0.6em;
    background: var(--nx-acc);
    color: var(--nx-acc-text);
    font-size: 0.8em;
    font-weight: 600;
    flex: none;
}
.pp-nexus .nx-tabs {
    display: flex; gap: 0.4em;
    padding: 0.45em 0.7em;
    border-bottom: 1px solid var(--nx-hair);
    overflow: hidden;
}
.pp-nexus .nx-tab {
    display: inline-flex; align-items: center; gap: 0.4em;
    padding: 0.38em 0.75em;
    border-radius: 0.55em;
    background: var(--nx-chip);
    border: 1px solid transparent;
    font-size: 0.78em;
    color: var(--nx-muted);
    white-space: nowrap;
}
.pp-nexus .nx-tab svg { width: 1em; height: 1em; }
.pp-nexus .nx-tab.is-on { border-color: var(--nx-acc-line); background: oklch(0.76 0.15 205 / 0.08); color: var(--nx-fg); }
.pp-nexus .nx-tab.is-on svg { color: var(--nx-acc); }

.pp-nexus .nx-center { flex: 1; min-height: 0; padding: 1em 1.1em; overflow: hidden; }
.pp-nexus .nx-card {
    border: 1px solid var(--nx-hair);
    border-radius: 1em;
    padding: 0.85em 1em;
    background: var(--nx-chip);
    min-width: 0;
}
.pp-nexus .nx-brief { margin-bottom: 0.75em; padding: 1em 1.15em; }
.pp-nexus .nx-kicker {
    margin-bottom: 0.55em;
    font: 500 0.64em/1.2 var(--font-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nx-acc);
}
.pp-nexus .nx-brief__line { font-family: var(--font-serif); font-size: 1.34em; line-height: 1.3; letter-spacing: -0.01em; }
.pp-nexus .nx-brief__line b { color: var(--nx-acc); font-weight: 500; }
.pp-nexus .nx .nx-danger { color: var(--nx-danger); }
.pp-nexus .nx-chips { display: flex; flex-wrap: wrap; gap: 0.4em; margin-top: 0.75em; }
.pp-nexus .nx-chip {
    display: inline-flex; align-items: center; gap: 0.45em;
    padding: 0.32em 0.62em;
    border-radius: 0.55em;
    background: var(--nx-chip2);
    font-size: 0.72em;
    white-space: nowrap;
}
.pp-nexus .nx-chip i,
.pp-nexus .nx-rrow i { width: 0.5em; height: 0.5em; border-radius: 50%; flex: none; }
.pp-nexus .nx-c-acc { background: var(--nx-acc); }
.pp-nexus .nx-c-danger { background: var(--nx-danger); box-shadow: 0 0 0.6em var(--nx-danger); }
.pp-nexus .nx-c-warn { background: var(--nx-warn); }
.pp-nexus .nx-home__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0.7em; }
.pp-nexus .nx-card__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.4em;
    font-size: 0.8em; font-weight: 600;
}
.pp-nexus .nx-link { color: var(--nx-acc); font-weight: 500; }
.pp-nexus .nx-hrow,
.pp-nexus .nx-mrow,
.pp-nexus .nx-rrow { display: flex; align-items: center; gap: 0.55em; padding: 0.32em 0; font-size: 0.78em; }
.pp-nexus .nx-hrow > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-nexus .nx-hrow em { font-size: 0.86em; color: var(--nx-faint); }
.pp-nexus .nx-box { width: 0.95em; height: 0.95em; border-radius: 0.28em; border: 1.5px solid var(--nx-hair2); flex: none; }
.pp-nexus .nx-time { width: 3.4em; flex: none; font: 500 0.92em/1 var(--font-mono); color: var(--nx-acc); }
.pp-nexus .nx-mrow b, .pp-nexus .nx-rrow b { display: block; font-weight: 500; }
.pp-nexus .nx-mrow em, .pp-nexus .nx-rrow em { display: block; font-size: 0.86em; color: var(--nx-faint); }
.pp-nexus .nx-week { display: flex; gap: 1.5em; padding-top: 0.2em; }
.pp-nexus .nx-week b { display: block; font-size: 2em; font-weight: 500; line-height: 1.1; }
.pp-nexus .nx-week em { display: block; font-size: 0.68em; color: var(--nx-faint); }

/* Right rail: presence + in-context */
.pp-nexus .nx-rail {
    display: flex; flex-direction: column; gap: 0.7em;
    padding: 0.9em 0.85em;
    border-left: 1px solid var(--nx-hair);
    background: var(--nx-side);
    min-width: 0;
}
.pp-nexus .nx-rail__kicker {
    display: flex; align-items: center; gap: 0.45em;
    font: 500 0.58em/1.2 var(--font-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--nx-faint);
}
.pp-nexus .nx-orb {
    display: grid; place-items: center;
    width: 9.5em; height: 9.5em;
    margin: -0.2em auto -0.4em;
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.76 0.15 205 / 0.22), oklch(0.76 0.15 205 / 0.05) 52%, transparent 70%);
}
.pp-nexus .nx .nx-orb__dots {
    width: 70%; height: 70%;
    fill: var(--nx-acc);
    stroke: none;
    filter: drop-shadow(0 0 0.3em oklch(0.76 0.15 205 / 0.6));
    animation: nx-breathe 4.5s ease-in-out infinite;
}
@keyframes nx-breathe { 0%, 100% { transform: scale(0.95); } 50% { transform: scale(1.04); } }
.pp-nexus .nx-ready { display: flex; align-items: center; justify-content: center; gap: 0.5em; font-size: 0.76em; }
.pp-nexus .nx-askbox {
    display: flex; align-items: center; gap: 0.5em;
    padding: 0.45em 0.45em 0.45em 0.8em;
    border-radius: 0.8em;
    border: 1px solid var(--nx-hair2);
    background: var(--nx-chip);
    font-size: 0.74em;
    color: var(--nx-faint);
}
.pp-nexus .nx-askbox > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-nexus .nx-send { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 0.55em; background: var(--nx-acc); color: var(--nx-acc-text); flex: none; }
.pp-nexus .nx-chips--sm { margin-top: 0; }
.pp-nexus .nx-chips--sm .nx-chip { background: transparent; border: 1px solid var(--nx-hair); font-size: 0.64em; color: var(--nx-muted); }
.pp-nexus .nx-incontext { display: flex; flex-direction: column; gap: 0.45em; margin-top: 0.2em; padding-top: 0.8em; border-top: 1px solid var(--nx-hair); }
.pp-nexus .nx-ctx {
    padding: 0.5em 0.65em;
    border-radius: 0.6em;
    border: 1px solid var(--nx-hair);
    background: var(--nx-chip);
}
.pp-nexus .nx-ctx b { display: block; font-size: 0.74em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-nexus .nx-ctx em { display: block; margin-top: 0.15em; font-size: 0.64em; color: var(--nx-faint); }
.pp-nexus .nx-ctx em.nx-via-acc { color: var(--nx-acc); }
.pp-nexus .nx-ctx em.nx-via-info { color: var(--nx-info); }

/* ---------- Ask ---------- */
.pp-nexus .nx-ask { display: flex; flex-direction: column; height: 31em; }
.pp-nexus .nx-ask__bar {
    display: flex; align-items: center; gap: 0.6em;
    padding: 0.65em 1em;
    border-bottom: 1px solid var(--nx-hair);
    background: var(--nx-bar);
    font-size: 0.84em;
}
.pp-nexus .nx-ask__menu { display: grid; color: var(--nx-muted); }
.pp-nexus .nx-ask__model,
.pp-nexus .nx-ask__scope {
    display: inline-flex; align-items: center; gap: 0.35em;
    padding: 0.28em 0.6em;
    border-radius: 0.45em;
    background: var(--nx-chip);
    font-weight: 600;
}
.pp-nexus .nx-ask__model svg, .pp-nexus .nx-ask__scope svg { width: 0.9em; height: 0.9em; color: var(--nx-faint); }
.pp-nexus .nx-ask__thread { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.6em; padding: 1.2em 1.6em; overflow: hidden; }
.pp-nexus .nx-ask__you {
    align-self: flex-end;
    max-width: 78%;
    padding: 0.6em 0.85em;
    border-radius: 0.9em 0.9em 0.25em 0.9em;
    background: var(--nx-acc-soft);
    border: 1px solid oklch(0.76 0.15 205 / 0.3);
    font-size: 0.9em;
}
.pp-nexus .nx-ask__by { display: flex; align-items: center; gap: 0.45em; font-size: 0.74em; font-weight: 600; color: var(--nx-muted); }
.pp-nexus .nx-aibadge { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 0.45em; background: var(--nx-acc-soft); color: var(--nx-acc); }
.pp-nexus .nx-tools {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 0.55em;
    padding: 0.4em 0.7em;
    border-radius: 0.55em;
    border: 1px solid var(--nx-hair);
    background: var(--nx-chip);
    font-size: 0.76em;
    color: var(--nx-muted);
}
.pp-nexus .nx-tools__dot { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--nx-faint); }
.pp-nexus .nx-tools__caret { color: var(--nx-faint); font-size: 0.8em; }
.pp-nexus .nx-grounded { font-size: 0.74em; font-weight: 600; color: var(--nx-acc); }
.pp-nexus .nx-answer { margin: 0; min-height: 4.8em; font-size: 0.92em; line-height: 1.6; color: var(--nx-fg); }
.pp-nexus .nx-sources__h { margin-bottom: 0.45em; font-size: 0.66em; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--nx-faint); }
.pp-nexus .nx-cites { display: flex; flex-wrap: wrap; gap: 0.45em; }
.pp-nexus .nx-cite {
    display: inline-flex; align-items: center; gap: 0.45em;
    padding: 0.25em 0.6em 0.25em 0.25em;
    border-radius: 0.5em;
    border: 1px solid var(--nx-hair);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.76em;
    white-space: nowrap;
}
.pp-nexus .nx-cite b {
    display: grid; place-items: center;
    width: 1.4em; height: 1.4em;
    border-radius: 0.3em;
    background: var(--nx-acc-soft);
    color: var(--nx-acc);
    font-size: 0.86em;
    font-weight: 700;
}
.pp-nexus .nx-answer-foot {
    display: flex; align-items: center; gap: 1em;
    padding-top: 0.55em;
    border-top: 1px solid var(--nx-hair);
    font-size: 0.7em;
    color: var(--nx-faint);
}
.pp-nexus .nx-answer-model { padding: 0.15em 0.5em; border-radius: 0.4em; background: var(--nx-chip); }
.pp-nexus .nx-ask__composer {
    display: flex; align-items: center; gap: 0.55em;
    padding: 0.75em 1.6em 0.95em;
    border-top: 1px solid var(--nx-hair);
    background: var(--nx-bar);
}
.pp-nexus .nx-ask__listen {
    --pp-line: var(--nx-acc);
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 0.75em;
    padding: 0.5em 0.85em;
    border-radius: 0.8em;
    border: 1px solid var(--nx-acc-line);
    background: var(--nx-chip);
    font-size: 0.8em;
    color: var(--nx-acc);
}
.pp-nexus .nx-ask__listen .pp-wave { height: 1.7em; gap: 0.22em; }
.pp-nexus .nx-ask__listen .pp-wave > span { width: 0.22em; }
.pp-nexus .nx-ask__mic,
.pp-nexus .nx-ask__go { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 0.7em; flex: none; }
.pp-nexus .nx-ask__mic { background: var(--nx-acc-soft); color: var(--nx-acc); }
.pp-nexus .nx-ask__go { background: var(--nx-acc); color: var(--nx-acc-text); }

/* ---------- Notes ---------- */
.pp-nexus .nx-notes { display: grid; grid-template-columns: 12.5em minmax(0, 1fr); height: 30em; }
.pp-nexus .nx-notes__side {
    display: flex; flex-direction: column; gap: 0.2em;
    padding: 0.8em 0.6em;
    border-right: 1px solid var(--nx-hair);
    background: var(--nx-side);
    font-size: 0.82em;
    min-width: 0;
}
.pp-nexus .nx-notes__h { display: flex; align-items: center; justify-content: space-between; padding: 0.2em 0.4em 0.55em; font-weight: 700; }
.pp-nexus .nx-notes__h svg { color: var(--nx-muted); }
.pp-nexus .nx-tree { display: flex; align-items: center; gap: 0.45em; padding: 0.42em 0.5em; border-radius: 0.45em; color: var(--nx-muted); white-space: nowrap; }
.pp-nexus .nx-tree svg { color: var(--nx-acc); width: 1em; height: 1em; }
.pp-nexus .nx-tree.is-on { background: var(--nx-acc-soft); color: var(--nx-fg); }
.pp-nexus .nx-tree--sub { padding-left: 1.5em; }
.pp-nexus .nx-taginput {
    display: flex; align-items: center; gap: 0.4em;
    margin: 0.9em 0 0.35em;
    padding: 0.42em 0.55em;
    border-radius: 0.45em;
    border: 1px solid var(--nx-hair);
    background: var(--nx-chip);
    color: var(--nx-faint);
    font-size: 0.92em;
}
.pp-nexus .nx-taginput svg { width: 1em; height: 1em; }
.pp-nexus .nx-tagrow { display: flex; align-items: center; justify-content: space-between; gap: 0.4em; padding: 0.3em 0.5em; color: var(--nx-muted); font-size: 0.92em; white-space: nowrap; }
.pp-nexus .nx-tagrow span { display: inline-flex; align-items: center; gap: 0.4em; overflow: hidden; }
.pp-nexus .nx-tagrow svg { width: 1em; height: 1em; color: var(--nx-acc); }
.pp-nexus .nx-tagrow em { font: 500 0.86em/1 var(--font-mono); color: var(--nx-faint); }
.pp-nexus .nx-note { display: flex; flex-direction: column; min-width: 0; }
.pp-nexus .nx-note__bar {
    display: flex; align-items: center; gap: 0.5em;
    padding: 0.6em 0.9em;
    border-bottom: 1px solid var(--nx-hair);
    background: var(--nx-bar);
    white-space: nowrap;
}
.pp-nexus .nx-note__icon { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 0.5em; background: var(--nx-chip); color: var(--nx-acc); flex: none; }
.pp-nexus .nx-note__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 1.02em; font-weight: 700; }
.pp-nexus .nx-saved { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.68em; color: var(--nx-faint); flex: none; }
.pp-nexus .nx-saved i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--nx-succ); }
.pp-nexus .nx-analyze {
    display: inline-flex; align-items: center; gap: 0.35em;
    padding: 0.35em 0.6em;
    border-radius: 0.5em;
    border: 1px solid var(--nx-hair);
    background: var(--nx-chip);
    font-size: 0.7em;
    flex: none;
}
.pp-nexus .nx-analyze svg { color: var(--nx-acc); width: 1em; height: 1em; }
.pp-nexus .nx-caret { color: var(--nx-faint); font-size: 0.85em; }
.pp-nexus .nx-seg--sm > span { font-size: 0.68em; padding: 0.3em 0.55em; }
.pp-nexus .nx-tagbar { display: flex; flex-wrap: wrap; gap: 0.4em; padding: 0.65em 0.9em; border-bottom: 1px solid var(--nx-hair); }
.pp-nexus .nx-tag,
.pp-nexus .nx-tagadd {
    display: inline-flex; align-items: center; gap: 0.32em;
    padding: 0.22em 0.4em 0.22em 0.55em;
    border-radius: 999px;
    font-size: 0.72em;
    white-space: nowrap;
}
.pp-nexus .nx-tag { background: oklch(0.76 0.15 205 / 0.12); border: 1px solid oklch(0.76 0.15 205 / 0.32); }
.pp-nexus .nx-tag svg { width: 1em; height: 1em; color: var(--nx-acc); }
.pp-nexus .nx-tag .nx-x { width: 0.85em; height: 0.85em; color: var(--nx-faint); }
.pp-nexus .nx-tagadd { border: 1px dashed var(--nx-hair2); padding-right: 0.65em; }
.pp-nexus .nx-tagadd__cats { display: inline-flex; gap: 0.2em; padding-right: 0.35em; margin-right: 0.1em; border-right: 1px solid var(--nx-hair); }
.pp-nexus .nx-tagadd__cats svg { width: 1em; height: 1em; color: var(--nx-faint); }
.pp-nexus .nx-tagadd__cats svg.is-on { color: var(--nx-acc); }
.pp-nexus .nx-tagadd__sug { color: var(--nx-faint); }
.pp-nexus .nx-note__body { flex: 1; min-height: 0; padding: 1em 1.6em; font-size: 0.88em; line-height: 1.5; overflow: hidden; }
.pp-nexus .nx-b-h2 { margin: 0 0 0.45em; font-size: 1.28em; font-weight: 700; letter-spacing: -0.01em; }
.pp-nexus .nx-b-todo { display: flex; align-items: center; gap: 0.6em; padding: 0.22em 0; }
.pp-nexus .nx-b-todo.is-done { color: var(--nx-faint); text-decoration: line-through; }
.pp-nexus .nx-cb { display: grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 0.28em; border: 1.5px solid var(--nx-hair2); flex: none; }
.pp-nexus .nx-b-todo.is-done .nx-cb { background: var(--nx-acc); border-color: var(--nx-acc); }
.pp-nexus .nx .nx-cb svg { width: 0.8em; height: 0.8em; stroke-width: 3; color: var(--nx-acc-text); }
.pp-nexus .nx-wiki { padding: 0 0.25em; border-radius: 0.25em; background: oklch(0.76 0.15 205 / 0.12); color: var(--nx-acc); }
.pp-nexus .nx-b-callout {
    display: flex; align-items: center; gap: 0.55em;
    margin: 0.7em 0;
    padding: 0.6em 0.8em;
    border-radius: 0.6em;
    border-left: 3px solid var(--nx-warn);
    background: var(--nx-chip2);
}
.pp-nexus .nx-b-p { color: var(--nx-muted); }
.pp-nexus .nx-note__stats { margin-top: 0.9em; font-size: 0.78em; color: var(--nx-faint); }
.pp-nexus .nx-note__links { display: flex; align-items: center; gap: 0.4em; padding: 0.6em 0.9em; border-top: 1px solid var(--nx-hair); font-size: 0.72em; color: var(--nx-faint); }
.pp-nexus .nx-note__links svg { width: 1em; height: 1em; }

/* ---------- Search ---------- */
.pp-nexus .nx-search { display: flex; flex-direction: column; gap: 0.6em; height: 28.5em; padding: 1.1em 1.3em; overflow: hidden; }
.pp-nexus .nx-sbox {
    display: flex; align-items: center; gap: 0.6em;
    padding: 0.45em 0.45em 0.45em 0.9em;
    border-radius: 1.2em;
    border: 1px solid var(--nx-acc-line);
    background: var(--nx-chip);
    box-shadow: 0 0 0 0.25em oklch(0.76 0.15 205 / 0.1);
    font-size: 0.88em;
}
.pp-nexus .nx-sbox > svg { color: var(--nx-muted); }
.pp-nexus .nx-sbox__q { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 0.9em; }
.pp-nexus .nx-op { color: var(--nx-acc); }
.pp-nexus .nx-str { color: var(--nx-warn); }
.pp-nexus .nx-sbox__go { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 0.8em; background: var(--nx-acc); color: var(--nx-acc-text); flex: none; }
.pp-nexus .nx-adv { display: inline-flex; align-items: center; gap: 0.35em; align-self: flex-end; margin-right: 0.8em; font-size: 0.72em; color: var(--nx-muted); }
.pp-nexus .nx-adv svg { width: 1em; height: 1em; }
.pp-nexus .nx-stabs { display: flex; gap: 0.2em; border-bottom: 1px solid var(--nx-hair); font-size: 0.78em; white-space: nowrap; overflow: hidden; }
.pp-nexus .nx-stabs span { padding: 0.45em 0.7em; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--nx-muted); }
.pp-nexus .nx-stabs span.is-on { border-bottom-color: var(--nx-acc); color: var(--nx-fg); }
.pp-nexus .nx-stabs em { margin-left: 0.25em; font: 500 0.86em/1 var(--font-mono); color: var(--nx-faint); }
.pp-nexus .nx-sres { display: grid; grid-template-columns: minmax(0, 1fr) 13.5em; gap: 1em; min-height: 0; }
.pp-nexus .nx-srow { display: grid; grid-template-columns: 2.3em minmax(0, 1fr); gap: 0.75em; padding: 0.75em 0; border-bottom: 1px solid var(--nx-hair); }
.pp-nexus .nx-srow:last-child { border-bottom: none; }
.pp-nexus .nx-srow__ico { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 0.6em; background: var(--nx-chip); color: var(--nx-acc); }
.pp-nexus .nx-srow__top { display: flex; align-items: center; gap: 0.5em; font-size: 0.88em; white-space: nowrap; }
.pp-nexus .nx-srow__top b { overflow: hidden; text-overflow: ellipsis; }
.pp-nexus .nx-badge {
    padding: 0.12em 0.45em;
    border-radius: 0.35em;
    background: var(--nx-chip2);
    font-size: 0.7em; font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--nx-muted);
}
.pp-nexus .nx-crumb { margin-top: 0.15em; font-size: 0.7em; color: var(--nx-faint); }
.pp-nexus .nx-snip { margin: 0.3em 0 0.4em; font-size: 0.78em; line-height: 1.5; color: var(--nx-muted); }
.pp-nexus .nx-snip mark { padding: 0 0.15em; border-radius: 0.2em; background: oklch(0.76 0.15 205 / 0.2); color: var(--nx-fg); }
.pp-nexus .nx-conns { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em; font-size: 0.68em; }
.pp-nexus .nx-conns em { color: var(--nx-faint); }
.pp-nexus .nx-conns span { padding: 0.18em 0.55em; border-radius: 999px; border: 1px solid var(--nx-hair); background: var(--nx-chip); color: var(--nx-muted); }
.pp-nexus .nx-kpanel {
    align-self: start;
    padding: 0.85em;
    border-radius: 0.9em;
    border: 1px solid var(--nx-hair);
    background: var(--nx-chip);
    font-size: 0.78em;
}
.pp-nexus .nx-kpanel__head { display: flex; align-items: center; gap: 0.6em; }
.pp-nexus .nx-kpanel__ico { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 0.7em; background: var(--nx-acc-soft); color: var(--nx-acc); flex: none; }
.pp-nexus .nx-kpanel__head b { display: block; font-size: 1.08em; }
.pp-nexus .nx-kpanel__head em { display: block; font-size: 0.86em; color: var(--nx-faint); }
.pp-nexus .nx-kpanel p { margin: 0.65em 0; line-height: 1.5; color: var(--nx-muted); }
.pp-nexus .nx-kpanel__h { margin: 0.5em 0 0.3em; font-size: 0.78em; letter-spacing: 0.05em; text-transform: uppercase; color: var(--nx-faint); }
.pp-nexus .nx-kconn { display: flex; align-items: center; gap: 0.45em; padding: 0.3em 0; white-space: nowrap; overflow: hidden; }
.pp-nexus .nx-kconn svg { width: 1em; height: 1em; color: var(--nx-acc); }

/* ---------- Plan (Gantt) ---------- */
.pp-nexus .nx-plan-visual,
.pp-nexus .nx-meet-visual { position: relative; }
.pp-nexus .nx-plan { display: flex; flex-direction: column; }
.pp-nexus .nx-plan__head {
    display: flex; align-items: center; gap: 0.6em;
    padding: 0.75em 1em;
    border-bottom: 1px solid var(--nx-hair);
    background: var(--nx-bar);
    white-space: nowrap;
}
.pp-nexus .nx-plan__title { font-family: var(--font-serif); font-size: 1.45em; font-weight: 600; letter-spacing: -0.01em; }
.pp-nexus .nx-plan__count { font: 500 0.64em/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--nx-faint); }
.pp-nexus .nx-plan__count b { color: var(--nx-fg); }
.pp-nexus .nx-views { display: inline-flex; gap: 0.15em; padding: 0.22em; border-radius: 0.6em; border: 1px solid var(--nx-hair); background: var(--nx-chip); }
.pp-nexus .nx-views span {
    display: inline-flex; align-items: center; gap: 0.35em;
    padding: 0.35em 0.6em;
    border-radius: 0.45em;
    font: 600 0.62em/1 var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nx-muted);
}
.pp-nexus .nx-views svg { width: 1.2em; height: 1.2em; }
.pp-nexus .nx-views span.is-on { background: var(--nx-acc); color: var(--nx-acc-text); }
.pp-nexus .nx-gantt { position: relative; padding: 0.6em 1em 0.3em; }
.pp-nexus .nx-gantt__scale {
    display: grid; grid-template-columns: calc(11em / 0.64) repeat(4, 1fr);
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--nx-hair);
    font: 500 0.64em/1 var(--font-mono);
    color: var(--nx-faint);
}
.pp-nexus .nx-gantt__rows { position: relative; }
.pp-nexus .nx-grow-row { display: grid; grid-template-columns: 11em minmax(0, 1fr); align-items: center; height: 3.05em; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.pp-nexus .nx-gantt__name { display: flex; align-items: center; gap: 0.55em; padding-right: 0.6em; font-size: 0.78em; white-space: nowrap; overflow: hidden; }
.pp-nexus .nx-gantt__name i { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--st); flex: none; }
.pp-nexus .nx-gantt__track {
    position: relative; height: 100%;
    background: repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), rgba(255, 255, 255, 0.05) calc(25% - 1px) 25%);
}
.pp-nexus .nx-bar {
    --c: var(--st, #7c3aed);
    position: absolute;
    left: var(--x); width: var(--w);
    top: 27%; height: 46%;
    border-radius: 0.45em;
    border: 1px solid var(--c);
    background: color-mix(in srgb, var(--c) 30%, #0d1016);
    overflow: hidden;
    transform-origin: left center;
}
.pp-nexus .nx-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--c); opacity: 0.55; }
.pp-nexus .nx-bar--crit { --c: var(--nx-danger); border-width: 1.5px; }
.pp-nexus .nx-grow-row:nth-child(3) .nx-bar { --c: #3b82f6; }
.pp-nexus .nx-grow-row:nth-child(4) .nx-bar { --c: #d97706; }
.pp-nexus .nx-grow-row:nth-child(5) .nx-bar { --c: #16a34a; }
.pp-nexus .nx .nx-gantt__links {
    position: absolute;
    left: 11em; top: 0;
    width: calc(100% - 11em); height: 100%;
    overflow: visible;
    pointer-events: none;
}
.pp-nexus .nx .nx-gantt__links path { stroke: var(--nx-danger); stroke-width: 1.6; fill: none; vector-effect: non-scaling-stroke; }
.pp-nexus .nx-gantt__today {
    position: absolute; top: 0; bottom: 0;
    left: calc(11em + (100% - 11em) * var(--t));
    width: 2px;
    background: var(--nx-acc);
    opacity: 0.75;
}
.pp-nexus .nx-gantt__today span {
    position: absolute; bottom: 100%; left: 50%;
    transform: translate(-50%, -0.2em);
    padding: 0.1em 0.4em;
    border-radius: 0.3em;
    background: var(--nx-acc);
    color: var(--nx-acc-text);
    font: 600 0.58em/1.3 var(--font-mono);
    white-space: nowrap;
}
.pp-nexus .nx-plan__legend { display: flex; flex-wrap: wrap; gap: 1.3em; padding: 0.6em 1em 0.9em; font-size: 0.68em; color: var(--nx-faint); }
.pp-nexus .nx-plan__legend span { display: inline-flex; align-items: center; gap: 0.45em; }
.pp-nexus .nx-bar-key { width: 1.5em; height: 0.7em; border-radius: 0.25em; border: 1px solid #7c3aed; background: color-mix(in srgb, #7c3aed 30%, #0d1016); }
.pp-nexus .nx-bar-key--crit { border-color: var(--nx-danger); background: color-mix(in srgb, var(--nx-danger) 30%, #0d1016); }
.pp-nexus .nx-bar-key--done { border-color: #7c3aed; background: color-mix(in srgb, #7c3aed 70%, #0d1016); }

.pp-nexus.pp-js .nx-gantt.pp-anim .nx-bar { transform: scaleX(0); transition: transform 1s var(--pp-ease); }
.pp-nexus.pp-js .nx-gantt.pp-anim.is-in .nx-bar { transform: none; }
.pp-nexus.pp-js .nx-gantt.pp-anim .nx-grow-row:nth-child(2) .nx-bar { transition-delay: 0.08s; }
.pp-nexus.pp-js .nx-gantt.pp-anim .nx-grow-row:nth-child(3) .nx-bar { transition-delay: 0.16s; }
.pp-nexus.pp-js .nx-gantt.pp-anim .nx-grow-row:nth-child(4) .nx-bar { transition-delay: 0.24s; }
.pp-nexus.pp-js .nx-gantt.pp-anim .nx-grow-row:nth-child(5) .nx-bar { transition-delay: 0.32s; }
.pp-nexus.pp-js .nx-gantt.pp-anim .nx-grow-row:nth-child(6) .nx-bar { transition-delay: 0.4s; }
.pp-nexus.pp-js .nx-gantt.pp-anim .nx-gantt__links { opacity: 0; transition: opacity 0.6s ease 1.1s; }
.pp-nexus.pp-js .nx-gantt.pp-anim.is-in .nx-gantt__links { opacity: 1; }

/* ---------- Floating product cards (Matrix, Talk time) ---------- */
.pp-nexus .nx-matrix,
.pp-nexus .nx-talk {
    position: absolute;
    z-index: 2;
    padding: 12px 14px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0d1118;
    color: #e8edf4;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
    font-family: var(--font-ui);
}
.pp-nexus .nx-matrix { right: -26px; bottom: -150px; width: 34%; min-width: 190px; }
.pp-nexus .nx-talk { left: -26px; bottom: -70px; width: 36%; min-width: 210px; }
.pp-nexus .nx-matrix__h { margin-bottom: 10px; font: 600 10px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232, 237, 244, 0.6); }
.pp-nexus .nx-matrix__plot {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)) 50% 0 / 1px 100% no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)) 0 50% / 100% 1px no-repeat,
        linear-gradient(135deg, oklch(0.74 0.15 150 / 0.12), transparent 50%);
}
.pp-nexus .nx-q { position: absolute; font-size: 9.5px; font-weight: 600; color: rgba(232, 237, 244, 0.55); }
.pp-nexus .nx-q--tl { top: 6px; left: 7px; color: oklch(0.8 0.15 150); }
.pp-nexus .nx-q--tr { top: 6px; right: 7px; }
.pp-nexus .nx-q--bl { bottom: 6px; left: 7px; }
.pp-nexus .nx-q--br { bottom: 6px; right: 7px; }
.pp-nexus .nx-matrix__plot i {
    position: absolute;
    left: var(--x); top: var(--y);
    width: 9px; height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    background: oklch(0.76 0.15 205);
    box-shadow: 0 0 0 3px oklch(0.76 0.15 205 / 0.18);
}
.pp-nexus.pp-js .nx-matrix__plot.pp-anim i { transform: scale(0); transition: transform 0.6s var(--pp-ease); }
.pp-nexus.pp-js .nx-matrix__plot.pp-anim.is-in i { transform: none; }
.pp-nexus.pp-js .nx-matrix__plot.pp-anim i:nth-of-type(2n) { transition-delay: 0.12s; }
.pp-nexus.pp-js .nx-matrix__plot.pp-anim i:nth-of-type(3n) { transition-delay: 0.24s; }
.pp-nexus .nx-talkbar { display: flex; gap: 2px; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.pp-nexus .nx-talkbar span { height: 100%; background: oklch(0.76 0.15 205); transform-origin: left; }
.pp-nexus .nx-talkbar span + span { background: oklch(0.74 0.13 240); }
.pp-nexus.pp-js .nx-talkbar.pp-anim span { transform: scaleX(0); transition: transform 1s var(--pp-ease); }
.pp-nexus.pp-js .nx-talkbar.pp-anim span + span { transform-origin: right; }
.pp-nexus.pp-js .nx-talkbar.pp-anim.is-in span { transform: none; }
.pp-nexus .nx-talk__legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: rgba(232, 237, 244, 0.75); }
.pp-nexus .nx-talk__legend span { display: inline-flex; align-items: center; gap: 6px; }
.pp-nexus .nx-talk__legend i { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.76 0.15 205); }
.pp-nexus .nx-talk__legend span + span i { background: oklch(0.74 0.13 240); }
.pp-nexus .nx-talk__legend b { color: #e8edf4; font-weight: 600; }

/* ---------- Meetings · live capture ---------- */
.pp-nexus .nx-live { display: flex; flex-direction: column; height: 30em; }
.pp-nexus .nx-live__top {
    display: flex; align-items: center; gap: 0.5em;
    padding: 0.6em 0.9em;
    border-bottom: 1px solid var(--nx-hair);
    background: var(--nx-bar);
    white-space: nowrap;
}
.pp-nexus .nx-live__title { display: flex; flex-direction: column; gap: 0.25em; min-width: 0; }
.pp-nexus .nx-live__title b { font-size: 0.92em; }
.pp-nexus .nx-src { display: flex; gap: 0.3em; }
.pp-nexus .nx-src span {
    display: inline-flex; align-items: center; gap: 0.25em;
    padding: 0.1em 0.45em;
    border-radius: 999px;
    border: 1px solid var(--nx-hair);
    font-size: 0.64em;
    color: var(--nx-muted);
}
.pp-nexus .nx-src span.is-on { border-color: oklch(0.74 0.15 150 / 0.45); background: oklch(0.74 0.15 150 / 0.1); color: var(--nx-succ); }
.pp-nexus .nx-src svg { width: 1em; height: 1em; }
.pp-nexus .nx-clock {
    display: inline-flex; align-items: center; gap: 0.45em;
    padding: 0.35em 0.6em;
    border-radius: 0.5em;
    background: var(--nx-chip);
    font: 500 0.8em/1 var(--font-mono);
}
.pp-nexus .nx-rec { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--nx-danger); animation: nx-rec 1.4s ease-in-out infinite; }
@keyframes nx-rec { 50% { opacity: 0.35; } }
.pp-nexus .nx-btn {
    display: inline-flex; align-items: center; gap: 0.35em;
    padding: 0.42em 0.65em;
    border-radius: 0.55em;
    border: 1px solid var(--nx-hair);
    background: var(--nx-chip);
    font-size: 0.74em;
    flex: none;
}
.pp-nexus .nx-btn svg { width: 1.05em; height: 1.05em; }
.pp-nexus .nx-btn--primary { background: var(--nx-acc); border-color: var(--nx-acc); color: var(--nx-acc-text); font-weight: 600; }
.pp-nexus .nx-live__status { display: flex; align-items: center; gap: 0.6em; padding: 0.5em 0.9em; border-bottom: 1px solid var(--nx-hair); font-size: 0.72em; color: var(--nx-muted); }
.pp-nexus .nx-level { flex: 1; max-width: 14em; height: 0.4em; border-radius: 999px; background: var(--nx-chip2); overflow: hidden; }
.pp-nexus .nx-level span { display: block; height: 100%; width: 60%; border-radius: inherit; background: linear-gradient(90deg, var(--nx-succ), var(--nx-acc)); animation: nx-level 1.3s ease-in-out infinite alternate; transform-origin: left; }
@keyframes nx-level { 0% { transform: scaleX(0.45); } 40% { transform: scaleX(1.15); } 100% { transform: scaleX(0.7); } }
.pp-nexus .nx-live__catchup {
    margin: 0.65em 0.9em 0;
    padding: 0.55em 0.75em;
    border-radius: 0.6em;
    border: 1px solid oklch(0.76 0.15 205 / 0.35);
    background: oklch(0.76 0.15 205 / 0.07);
    font-size: 0.74em;
    line-height: 1.5;
    color: var(--nx-muted);
}
.pp-nexus .nx-live__catchup b { display: inline-flex; align-items: center; gap: 0.3em; margin-right: 0.35em; color: var(--nx-acc); }
.pp-nexus .nx-live__catchup svg { width: 1em; height: 1em; }
.pp-nexus .nx-live__cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.7em; padding: 0.7em 0.9em 0.9em; }
.pp-nexus .nx-col {
    display: flex; flex-direction: column; gap: 0.5em;
    min-width: 0;
    padding: 0.7em 0.8em;
    border-radius: 0.8em;
    border: 1px solid var(--nx-hair);
    background: var(--nx-chip);
    overflow: hidden;
}
.pp-nexus .nx-col__h { display: flex; align-items: center; gap: 0.45em; padding-bottom: 0.45em; border-bottom: 1px solid var(--nx-hair); font-size: 0.74em; font-weight: 600; color: var(--nx-muted); white-space: nowrap; }
.pp-nexus .nx-col__h svg { width: 1.05em; height: 1.05em; color: var(--nx-acc); }
.pp-nexus .nx-col__h em { font-weight: 400; color: var(--nx-faint); }
.pp-nexus .nx-col__h .nx-seg > span { font-size: 0.86em; padding: 0.2em 0.5em; }
.pp-nexus .nx-line { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 0.4em; font-size: 0.78em; line-height: 1.45; }
.pp-nexus .nx-line b { font-size: 0.86em; color: var(--nx-acc); }
.pp-nexus .nx-line--them b { color: var(--nx-info); }
.pp-nexus .nx-interim { min-height: 1.5em; padding-left: 3.5em; font-size: 0.78em; font-style: italic; color: var(--nx-faint); }
.pp-nexus .nx-notesbox {
    flex: 1;
    padding: 0.6em 0.75em;
    border-radius: 0.5em;
    border: 1px solid var(--nx-hair);
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.78em;
    line-height: 1.65;
}
.pp-nexus .nx-privacy { display: flex; align-items: flex-start; gap: 0.4em; font-size: 0.66em; line-height: 1.45; color: var(--nx-faint); }
.pp-nexus .nx-privacy svg { width: 1.1em; height: 1.1em; }

/* ---------- Research ---------- */
.pp-nexus .nx-research { display: grid; grid-template-columns: 10.5em minmax(0, 1fr) 12.5em; min-height: 21em; }
.pp-nexus .nx-rs-side,
.pp-nexus .nx-rs-cited {
    display: flex; flex-direction: column; gap: 0.3em;
    padding: 0.8em 0.6em;
    background: var(--nx-side);
    min-width: 0;
}
.pp-nexus .nx-rs-side { border-right: 1px solid var(--nx-hair); font-size: 0.78em; }
.pp-nexus .nx-rs-cited { border-left: 1px solid var(--nx-hair); gap: 0.55em; padding: 0.8em 0.7em; }
.pp-nexus .nx-rs-new {
    display: inline-flex; align-items: center; gap: 0.35em;
    margin-bottom: 0.5em;
    padding: 0.55em 0.7em;
    border-radius: 0.55em;
    background: var(--nx-acc);
    color: var(--nx-acc-text);
    font-weight: 600;
    white-space: nowrap;
}
.pp-nexus .nx-rs-k { padding: 0.3em; font: 500 0.66em/1.2 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--nx-faint); }
.pp-nexus .nx-rs-cited .nx-rs-k { font-size: 0.62em; }
.pp-nexus .nx-rs-nav { display: flex; align-items: center; gap: 0.45em; padding: 0.45em 0.5em; border-radius: 0.45em; border-left: 2px solid transparent; color: var(--nx-muted); white-space: nowrap; }
.pp-nexus .nx-rs-nav svg { width: 1em; height: 1em; }
.pp-nexus .nx-rs-nav em { margin-left: auto; font: 500 0.86em/1 var(--font-mono); color: var(--nx-faint); }
.pp-nexus .nx-rs-nav.is-on { background: var(--nx-acc-soft); border-left-color: var(--nx-acc); color: var(--nx-fg); }
.pp-nexus .nx-rs-main { display: flex; flex-direction: column; gap: 0.65em; padding: 1.1em 1.2em; min-width: 0; }
.pp-nexus .nx-rs-q { font-family: var(--font-serif); font-size: 1.2em; line-height: 1.3; letter-spacing: -0.01em; }
.pp-nexus .nx-rs-tools { display: flex; flex-wrap: wrap; gap: 0.35em; }
.pp-nexus .nx-rs-tools span {
    display: inline-flex; align-items: center; gap: 0.3em;
    padding: 0.2em 0.55em;
    border-radius: 999px;
    border: 1px solid var(--nx-hair);
    background: var(--nx-chip);
    font-size: 0.68em;
    color: var(--nx-muted);
}
.pp-nexus .nx-rs-tools svg { width: 1em; height: 1em; color: var(--nx-acc); }
.pp-nexus .nx-rs-a { margin: 0; font-size: 0.84em; line-height: 1.65; }
.pp-nexus .nx-cn {
    display: inline-grid; place-items: center;
    min-width: 1.35em; height: 1.35em;
    border-radius: 0.3em;
    background: var(--nx-acc-soft);
    color: var(--nx-acc);
    font-size: 0.74em; font-weight: 700;
    vertical-align: 0.1em;
}
.pp-nexus .nx-rs-cons {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 0.35em;
    margin-top: auto;
    padding: 0.45em 0.7em;
    border-radius: 0.55em;
    border: 1px solid var(--nx-acc-line);
    color: var(--nx-acc);
    font-size: 0.74em;
}
.pp-nexus .nx-rs-cons svg { width: 1em; height: 1em; }
.pp-nexus .nx-rs-src { display: flex; gap: 0.5em; font-size: 0.72em; line-height: 1.35; }
.pp-nexus .nx-rs-src b {
    display: grid; place-items: center;
    width: 1.5em; height: 1.5em;
    border-radius: 0.35em;
    background: var(--nx-acc-soft);
    color: var(--nx-acc);
    flex: none;
}
.pp-nexus .nx-rs-src span { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3em; min-width: 0; }
.pp-nexus .nx-ob { padding: 0.05em 0.5em; border-radius: 999px; border: 1px solid currentColor; font-size: 0.86em; }
.pp-nexus .nx-ob--vault { color: var(--nx-acc); }
.pp-nexus .nx-ob--web { color: var(--nx-info); }
.pp-nexus .nx-ob--doc { color: var(--nx-warn); }

/* ---------- Styles: four looks ---------- */
.pp-nexus .nx-looks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pp-nexus .nx-look {
    padding: 8px 8px 10px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: var(--color-surface-1);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.pp-nexus .nx-look.is-active {
    border-color: color-mix(in srgb, var(--pp-cyan) 70%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pp-cyan) 18%, transparent);
    transform: translateY(-3px);
}
.pp-nexus .nx-look__cap { margin-top: 9px; font-size: 12.5px; font-weight: 500; text-align: center; color: var(--color-text-secondary); }
.pp-nexus .nx-look__win {
    display: flex; flex-direction: column;
    aspect-ratio: 16 / 10.5;
    border-radius: 10px;
    overflow: hidden;
    background: var(--lk-bg);
    color: var(--lk-fg);
    font-family: var(--font-ui);
    box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.5);
}
.pp-nexus .nx-look--dark {
    --lk-bg: radial-gradient(90% 90% at 62% 30%, #0b1424, #06080f 72%);
    --lk-fg: #eef2f7; --lk-acc: oklch(0.76 0.15 205);
    --lk-hair: rgba(255, 255, 255, 0.1); --lk-chip: rgba(255, 255, 255, 0.06); --lk-bar: rgba(7, 11, 20, 0.72);
}
.pp-nexus .nx-look--light {
    --lk-bg: radial-gradient(90% 90% at 62% 30%, #eef3fb, #e5eaf3 74%);
    --lk-fg: #26303f; --lk-acc: oklch(0.62 0.19 288);
    --lk-hair: rgba(24, 36, 60, 0.14); --lk-chip: rgba(255, 255, 255, 0.7); --lk-bar: rgba(250, 251, 253, 0.85);
}
.pp-nexus .nx-look--pastel {
    --lk-bg: linear-gradient(160deg, #f3ecfb 0%, #eef1fb 44%, #fdeef2 100%);
    --lk-fg: #4f4166; --lk-acc: oklch(0.72 0.13 72);
    --lk-hair: rgba(120, 95, 150, 0.2); --lk-chip: rgba(255, 255, 255, 0.55); --lk-bar: rgba(250, 244, 252, 0.7);
}
.pp-nexus .nx-look--natural {
    --lk-bg: linear-gradient(160deg, #efe6d6 0%, #e9ddc9 55%, #f2e9da 100%);
    --lk-fg: #4a3b2a; --lk-acc: oklch(0.6 0.09 142);
    --lk-hair: rgba(110, 80, 50, 0.22); --lk-chip: rgba(120, 88, 55, 0.08); --lk-bar: rgba(244, 236, 224, 0.85);
}
.pp-nexus .nx-look__bar {
    display: flex; align-items: center; gap: 6px;
    height: 17%;
    padding: 0 8px;
    border-bottom: 1px solid var(--lk-hair);
    background: var(--lk-bar);
}
.pp-nexus .nx-look__bar--float { margin: 6px 6px 0; border: 1px solid var(--lk-hair); border-radius: 9px; box-shadow: 0 6px 16px -10px rgba(120, 90, 150, 0.5); height: 15%; background: rgba(255, 255, 255, 0.55); }
.pp-nexus .nx-look__bar--thin { height: 12%; }
.pp-nexus .nx-look__mark {
    display: grid; place-items: center;
    width: 16px; height: 16px;
    border-radius: 5px;
    border: 1px solid var(--lk-hair);
    background: var(--lk-chip);
    font: 600 7.5px/1 var(--font-serif);
}
.pp-nexus .nx-look__pill { flex: 1; height: 9px; border-radius: 99px; border: 1px solid var(--lk-hair); background: var(--lk-chip); }
.pp-nexus .nx-look__btn { width: 26px; height: 9px; border-radius: 4px; background: var(--lk-acc); }
.pp-nexus .nx-look__tabs { display: flex; gap: 4px; padding: 5px 8px; }
.pp-nexus .nx-look__tabs span { padding: 2px 7px; border-radius: 5px; border: 1px solid transparent; background: var(--lk-chip); font-size: 8.5px; opacity: 0.75; }
.pp-nexus .nx-look__tabs span.is-on { border-color: var(--lk-acc); opacity: 1; }
.pp-nexus .nx-look__tabs--line { gap: 10px; padding: 5px 10px 0; border-bottom: 1px solid var(--lk-hair); }
.pp-nexus .nx-look__tabs--line span { padding: 2px 0 4px; border: 0; border-radius: 0; background: none; border-bottom: 2px solid transparent; }
.pp-nexus .nx-look__tabs--line span.is-on { border-bottom-color: var(--lk-acc); }
.pp-nexus .nx-look__body { flex: 1; display: flex; gap: 8px; padding: 8px; min-height: 0; }
.pp-nexus .nx-look__card {
    flex: 1;
    display: flex; flex-direction: column; gap: 5px;
    padding: 8px 9px;
    border-radius: 8px;
    border: 1px solid var(--lk-hair);
    background: var(--lk-chip);
}
.pp-nexus .nx-look__card b { font: 600 11.5px/1.2 var(--font-serif); }
.pp-nexus .nx-look__line { height: 5px; border-radius: 99px; background: currentColor; opacity: 0.18; }
.pp-nexus .nx-look__line--s { width: 62%; }
.pp-nexus .nx-look__chip { width: 38%; height: 9px; margin-top: auto; border-radius: 99px; background: var(--lk-acc); opacity: 0.85; }
.pp-nexus .nx-look__orb {
    width: 28%;
    align-self: center;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--lk-acc) 0 1.2px, transparent 1.6px) 0 0 / 6px 6px,
        radial-gradient(circle, color-mix(in oklab, var(--lk-acc) 30%, transparent), transparent 70%);
    -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 62%);
    mask-image: radial-gradient(circle, #000 58%, transparent 62%);
}
.pp-nexus .nx-look__body--rail { padding-left: 0; }
.pp-nexus .nx-look__rail { width: 22%; display: flex; flex-direction: column; gap: 4px; padding: 0 6px; border-right: 1px solid var(--lk-hair); }
.pp-nexus .nx-look__rail span { height: 8px; border-radius: 3px; background: var(--lk-chip); border: 1px solid var(--lk-hair); }
.pp-nexus .nx-look__rail span:first-child { background: color-mix(in oklab, var(--lk-acc) 35%, transparent); }
.pp-nexus .nx-look__win--paper .nx-look__card { font-family: var(--font-serif); }
.pp-nexus .nx-look__side { width: 26%; display: flex; flex-direction: column; gap: 6px; }
.pp-nexus .nx-look__side span { height: 30%; border-left: 2px solid var(--lk-acc); background: var(--lk-chip); border-radius: 0 4px 4px 0; }

/* ---------- Narrow frames: simplify, keep text readable ---------- */
@container (max-width: 560px) {
    .pp-nexus .nx-frame .nx { font-size: 2.35cqw; }
    .pp-nexus .nx .nx-hide-sm { display: none; }
    .pp-nexus .nx-shell { grid-template-columns: minmax(0, 1fr); height: auto; }
    .pp-nexus .nx-rail { display: none; }
    .pp-nexus .nx-notes { grid-template-columns: minmax(0, 1fr); height: 31em; }
    .pp-nexus .nx-notes__side { display: none; }
    .pp-nexus .nx-saved { display: none; }
    .pp-nexus .nx-sres { grid-template-columns: minmax(0, 1fr); }
    .pp-nexus .nx-kpanel { display: none; }
    .pp-nexus .nx-research { grid-template-columns: minmax(0, 1fr); height: auto; }
    .pp-nexus .nx-rs-side { display: none; }
    .pp-nexus .nx-rs-cited { border-left: 0; border-top: 1px solid var(--nx-hair); }
    .pp-nexus .nx-live__cols { grid-template-columns: minmax(0, 1fr); }
    .pp-nexus .nx-col--notes { display: none; }
    .pp-nexus .nx-live { height: auto; }
    .pp-nexus .nx-live__cols { min-height: 16em; }
    .pp-nexus .nx-search { height: 27em; }
}

@media (max-width: 900px) {
    .pp-nexus .nx-matrix,
    .pp-nexus .nx-talk { position: relative; left: auto; right: auto; bottom: auto; width: auto; max-width: 340px; min-width: 0; margin: 16px 0 0 auto; }
    .pp-nexus .mc-surface--reverse .mc-surface__copy { order: -1; }
    .pp-nexus .nx-surface-gap { margin-top: 72px; }
}
@media (max-width: 600px) {
    .pp-nexus .nx-looks { gap: 10px; }
    .pp-nexus .nx-look { padding: 5px 5px 8px; border-radius: 12px; }
    .pp-nexus .nx-look__cap { font-size: 11px; }
    .pp-nexus .nx-look__tabs span { font-size: 7px; }
    .pp-nexus .nx-look__card b { font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .pp-nexus.pp-js .nx-gantt.pp-anim .nx-bar,
    .pp-nexus.pp-js .nx-matrix__plot.pp-anim i,
    .pp-nexus.pp-js .nx-talkbar.pp-anim span { transform: none; }
    .pp-nexus.pp-js .nx-gantt.pp-anim .nx-gantt__links { opacity: 1; }
}

.pp-nexus .nx-b-callout svg { color: var(--nx-warn); }
/* The hero clips overflow; keep its window shadow inside the band. */
.pp-nexus .nx-frame--hero .pp-window { box-shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.55); }
