/* ==========================================================================
   product-nexus-mobile.css — /nexus/mobile (bRRAIn Nexus Mobile)
   Page-only styles, scoped under .pp-nexus-mobile. Layout comes from
   marketing-console.css (.mc-*), motion and frames from product-pages.css.

   The phone screens (.nm inside .pp-phone__screen) are vector recreations
   of the real Nexus Mobile shell. They keep the app's own palette (dark
   Vector + cyan by default) in both site themes, so colours inside .nm are
   the app's design tokens, not site tokens (light-theme-spec exception for
   product screenshots). Every size inside .nm is in em, and 1em is a fixed
   share of the phone's width (container query), so a phone scales as one
   picture from 390px to desktop.
   ========================================================================== */

@property --nm-h {
    syntax: "<number>";
    inherits: true;
    initial-value: 205;
}

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

.pp-nexus-mobile .nm-hero__note {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--color-text-tertiary);
    line-height: 1.5;
}

.pp-nexus-mobile .nm-stats-wrap { padding: 0 0 64px; }

.pp-nexus-mobile .mc-eyebrow[class*="nm-eb--"] {
    color: var(--nm-eb);
    background: color-mix(in srgb, var(--nm-eb) 10%, transparent);
    border-color: color-mix(in srgb, var(--nm-eb) 28%, transparent);
}
.pp-nexus-mobile .nm-eb--violet { --nm-eb: var(--pp-violet); }
.pp-nexus-mobile .nm-eb--green  { --nm-eb: var(--pp-green); }
.pp-nexus-mobile .nm-eb--amber  { --nm-eb: var(--pp-amber); }
.pp-nexus-mobile .nm-eb--rose   { --nm-eb: var(--pp-rose); }

.pp-nexus-mobile .mc-tile[class*="nm-tint--"] {
    background: color-mix(in srgb, var(--nm-tint) 16%, transparent);
    color: var(--nm-tint);
}
.pp-nexus-mobile .nm-tint--cyan   { --nm-tint: var(--pp-cyan); }
.pp-nexus-mobile .nm-tint--violet { --nm-tint: var(--pp-violet); }
.pp-nexus-mobile .nm-tint--green  { --nm-tint: var(--pp-green); }
.pp-nexus-mobile .nm-tint--amber  { --nm-tint: var(--pp-amber); }
.pp-nexus-mobile .nm-tint--rose   { --nm-tint: var(--pp-rose); }

.pp-nexus-mobile .nm-mt { margin-top: 8px; }
.pp-nexus-mobile .nm-small { font-size: 14px !important; color: var(--color-text-tertiary) !important; margin: 18px 0 0 !important; }

/* numbered gesture list */
.pp-nexus-mobile .nm-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.pp-nexus-mobile .nm-steps li { display: flex; gap: 14px; align-items: flex-start; }
.pp-nexus-mobile .nm-steps__n {
    flex: none;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font: 600 13px/1 var(--font-mono);
    color: var(--pp-cyan);
    background: color-mix(in srgb, var(--pp-cyan) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--pp-cyan) 35%, transparent);
}
.pp-nexus-mobile .nm-steps strong { display: block; font-size: 15px; font-weight: 600; color: var(--color-text-primary); margin: 3px 0 2px; }
.pp-nexus-mobile .nm-steps span:not(.nm-steps__n) { display: block; font-size: 14px; color: var(--color-text-secondary); line-height: 1.5; }

/* surfaces row: four phones */
.pp-nexus-mobile .nm-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 0 0 56px;
}
.pp-nexus-mobile .nm-row__item { margin: 0; display: grid; gap: 14px; justify-items: center; }
.pp-nexus-mobile .nm-row__item figcaption {
    font: 500 12px/1.3 var(--font-mono);
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: .08em;
    text-align: center;
}
.pp-nexus-mobile .nm-features { margin-bottom: 8px; }
.pp-nexus-mobile .nm-also { align-items: center; margin-top: 28px; }
.pp-nexus-mobile .nm-also__l { font-size: 13px; color: var(--color-text-tertiary); margin-right: 4px; }

/* styles copy */
.pp-nexus-mobile .nm-lookgrid {
    display: grid;
    gap: 0;
    margin: 4px 0 24px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface-1);
    overflow: hidden;
}
.pp-nexus-mobile .nm-lookgrid > div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--color-border);
    align-items: center;
}
.pp-nexus-mobile .nm-lookgrid > div:first-child { border-top: 0; }
.pp-nexus-mobile .nm-lookgrid__k { font: 600 11px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-tertiary); }
.pp-nexus-mobile .nm-lookgrid__v { font-size: 14px; color: var(--color-text-primary); line-height: 1.6; }
.pp-nexus-mobile .nm-swd { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 2px 0 6px; vertical-align: -1px; }
.pp-nexus-mobile .nm-swd:first-child { margin-left: 0; }
/* The highlight swatches are the product's own accent colours (data, not page chrome). */
.pp-nexus-mobile .nm-swd--cyan   { background: oklch(0.74 0.15 205); }
.pp-nexus-mobile .nm-swd--violet { background: oklch(0.74 0.15 288); }
.pp-nexus-mobile .nm-swd--amber  { background: oklch(0.74 0.15 72); }
.pp-nexus-mobile .nm-swd--lime   { background: oklch(0.74 0.15 142); }
.pp-nexus-mobile .nm-swd--red    { background: oklch(0.74 0.15 26); }

/* install grid */
.pp-nexus-mobile .nm-get .mc-deploy { display: flex; flex-direction: column; }
.pp-nexus-mobile .nm-get .mc-deploy__list li { position: relative; padding-left: 14px; }
.pp-nexus-mobile .nm-get .mc-deploy__list li::before {
    content: ""; position: absolute; left: 0; top: .6em;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--color-text-tertiary);
}
.pp-nexus-mobile .nm-get__ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px;
    color: var(--pp-cyan);
    background: color-mix(in srgb, var(--pp-cyan) 14%, transparent);
}
.pp-nexus-mobile .nm-get__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pp-nexus-mobile .nm-get__ic--violet { color: var(--pp-violet); background: color-mix(in srgb, var(--pp-violet) 14%, transparent); }
.pp-nexus-mobile .nm-get__ic--green  { color: var(--pp-green);  background: color-mix(in srgb, var(--pp-green) 14%, transparent); }
.pp-nexus-mobile .nm-get__ic--amber  { color: var(--pp-amber);  background: color-mix(in srgb, var(--pp-amber) 14%, transparent); }
.pp-nexus-mobile .nm-get__btn { margin-top: auto; align-self: flex-start; }
.pp-nexus-mobile .nm-get .mc-deploy__list { margin-bottom: 20px; }
.pp-nexus-mobile .nm-later {
    margin: 28px 0 0;
    max-width: 860px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-tertiary);
}
.pp-nexus-mobile .nm-later strong { color: var(--color-text-secondary); font-weight: 600; }

/* ---------- Device compositions ---------- */
.pp-nexus-mobile .nm-phone { container-type: inline-size; }
.pp-nexus-mobile .nm-phone--md { max-width: 310px; }

/* hero: two overlapping phones */
.pp-nexus-mobile .nm-duo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 0 0 36px;
}
.pp-nexus-mobile .nm-duo .pp-phone { margin: 0; flex: none; }
.pp-nexus-mobile .nm-duo__back {
    width: 46%; max-width: 292px;
    margin-right: -9% !important;
    transform: translateY(44px);
    z-index: 1;
}
.pp-nexus-mobile .nm-duo__front {
    width: 52%; max-width: 330px;
    z-index: 2;
}
.pp-nexus-mobile .nm-stagewrap { position: relative; padding: 8px 0; }

/* styles: fan of three phones */
.pp-nexus-mobile .nm-trio {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.18fr 1fr;
    align-items: center;
    max-width: 560px;
    margin: 0 auto;
}
.pp-nexus-mobile .nm-trio .pp-phone { max-width: none; width: 100%; margin: 0; }
.pp-nexus-mobile .nm-trio__l { grid-column: 1; grid-row: 1; transform: translateX(14%) scale(.9) rotate(-5deg); z-index: 1; }
.pp-nexus-mobile .nm-trio__c { grid-column: 2; grid-row: 1; z-index: 3; }
.pp-nexus-mobile .nm-trio__r { grid-column: 3; grid-row: 1; transform: translateX(-14%) scale(.9) rotate(5deg); z-index: 2; }

/* ==========================================================================
   The phone screen — the real Nexus Mobile UI
   ========================================================================== */
.pp-nexus-mobile .nm {
    /* app tokens — dark theme, Vector style, cyan highlight (the app default) */
    --nm-h: 205;
    --acc: oklch(0.76 0.15 var(--nm-h));
    --acc-soft: oklch(0.76 0.15 var(--nm-h) / .16);
    --acc-line: oklch(0.76 0.15 var(--nm-h) / .55);
    --acc-text: #06131a;
    --fg: oklch(0.96 0.006 240);
    --muted: oklch(0.74 0.012 240);
    --faint: oklch(0.56 0.012 240);
    --hair: rgba(255, 255, 255, .1);
    --hair2: rgba(255, 255, 255, .2);
    --chip: rgba(255, 255, 255, .055);
    --chip2: rgba(255, 255, 255, .1);
    --surf: #0a0d13;
    --grid: rgba(255, 255, 255, .028);
    --barbg: rgba(9, 12, 19, .82);
    --center-bg: rgba(11, 15, 23, .96);
    --danger: oklch(0.72 0.18 26);
    --ok: #34d399;
    --warn: #fbbf24;
    --info: #60a5fa;
    --nm-r: 1;

    position: relative;
    isolation: isolate;
    font-family: var(--font-ui);
    font-size: calc(100cqi / 27.5);
    line-height: 1.4;
    color: var(--fg);
    background: var(--surf);
    transition: --nm-h .6s ease;
    -webkit-font-smoothing: antialiased;
}
.pp-nexus-mobile .nm svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pp-nexus-mobile .nm b, .pp-nexus-mobile .nm strong { font-weight: 650; }

/* themes */
.pp-nexus-mobile .nm--violet { --nm-h: 288; --acc-text: #ffffff; }
.pp-nexus-mobile .nm--amber  { --nm-h: 72; }
.pp-nexus-mobile .nm--light {
    --acc: oklch(0.56 0.17 var(--nm-h));
    --acc-soft: oklch(0.56 0.17 var(--nm-h) / .12);
    --acc-line: oklch(0.56 0.17 var(--nm-h) / .45);
    --fg: oklch(0.26 0.02 250);
    --muted: oklch(0.46 0.02 250);
    --faint: oklch(0.6 0.02 250);
    --hair: rgba(24, 36, 60, .12);
    --hair2: rgba(24, 36, 60, .22);
    --chip: rgba(24, 36, 60, .045);
    --chip2: rgba(24, 36, 60, .08);
    --surf: #f4f7fb;
    --grid: rgba(30, 50, 90, .045);
    --barbg: rgba(250, 251, 253, .9);
    --danger: oklch(0.58 0.2 26);
}
.pp-nexus-mobile .nm--natural {
    --acc: oklch(0.56 0.1 var(--nm-h));
    --acc-soft: oklch(0.6 0.09 var(--nm-h) / .18);
    --acc-line: oklch(0.56 0.1 var(--nm-h) / .55);
    --acc-text: #f7f1e6;
    --fg: oklch(0.34 0.035 60);
    --muted: oklch(0.47 0.032 60);
    --faint: oklch(0.58 0.028 60);
    --hair: rgba(110, 80, 50, .2);
    --hair2: rgba(110, 80, 50, .34);
    --chip: rgba(120, 88, 55, .07);
    --chip2: rgba(120, 88, 55, .12);
    --surf: #efe6d6;
    --grid: rgba(120, 90, 60, .05);
    --barbg: rgba(244, 236, 224, .9);
    --danger: oklch(0.55 0.18 30);
}
.pp-nexus-mobile .nm--paper { font-family: var(--font-serif); --nm-r: .45; }
/* highlight that follows the cycling swatch row (Theme sheet demo) */
.pp-nexus-mobile .nm--cycle:has(.nm-sw--violet.is-active) { --nm-h: 288; --acc-text: #ffffff; }
.pp-nexus-mobile .nm--cycle:has(.nm-sw--amber.is-active)  { --nm-h: 72; }
.pp-nexus-mobile .nm--cycle:has(.nm-sw--lime.is-active)   { --nm-h: 142; }
.pp-nexus-mobile .nm--cycle:has(.nm-sw--red.is-active)    { --nm-h: 26; --acc-text: #ffffff; }

/* background: grid + accent bloom */
.pp-nexus-mobile .nm-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        radial-gradient(closest-side, var(--acc-soft), transparent 70%),
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 34em 34em, 3.1em 3.1em, 3.1em 3.1em;
    background-position: 50% 18%, 0 0, 0 0;
    background-repeat: no-repeat, repeat, repeat;
}

/* status bar (around the camera island) */
.pp-nexus-mobile .nm-status {
    position: absolute; top: 0; left: 0; right: 0; z-index: 30;
    height: 3.15em;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.3em 0 2.5em;
    font-size: .95em; font-weight: 650; letter-spacing: .01em;
    color: var(--fg);
}
.pp-nexus-mobile .nm-status__ic { display: flex; align-items: center; gap: .35em; }
.pp-nexus-mobile .nm-status__ic svg { width: auto; height: .78em; fill: currentColor; stroke: none; }
.pp-nexus-mobile .nm-batt { position: relative; width: 1.6em; height: .8em; border: 1.5px solid currentColor; border-radius: .25em; opacity: .9; }
.pp-nexus-mobile .nm-batt i { position: absolute; inset: 1.5px; right: 30%; background: currentColor; border-radius: 1px; }

/* top scope pull-down handle */
.pp-nexus-mobile .nm-handle {
    position: absolute; top: 3.15em; left: 50%; transform: translateX(-50%); z-index: 20;
    display: flex; flex-direction: column; align-items: center; gap: .3em;
    padding: .45em 1.15em .6em;
    border-radius: 0 0 1.15em 1.15em;
    background: var(--barbg);
    border: 1px solid var(--hair); border-top: 0;
    color: var(--muted);
    font-size: .85em; font-weight: 650; white-space: nowrap;
    box-shadow: 0 .6em 1.7em -1.1em rgba(0, 0, 0, .55);
}
.pp-nexus-mobile .nm-grab { width: 2em; height: .24em; border-radius: 1em; background: var(--hair2); }
.pp-nexus-mobile .nm-handle__row { display: flex; align-items: center; gap: .55em; }
.pp-nexus-mobile .nm-handle__row svg { width: 1.1em; height: 1.1em; }
.pp-nexus-mobile .nm-sq { width: .5em; height: .5em; border-radius: .15em; background: var(--acc); }

/* stage (the active screen) */
.pp-nexus-mobile .nm-stage {
    position: absolute; inset: 7.1em 0 0;
    padding: 0 1.23em;
    overflow: hidden;
    /* content fades out where the dock and In-context tab float */
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 17em), transparent calc(100% - 12.2em));
    mask-image: linear-gradient(to bottom, #000 calc(100% - 17em), transparent calc(100% - 12.2em));
}

/* left briefing edge tab */
.pp-nexus-mobile .nm-edge {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 20;
    width: 1.08em; height: 7em;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7em;
    border-radius: 0 .77em .77em 0;
    background: var(--barbg);
    border: 1px solid var(--hair); border-left: 0;
    color: var(--acc);
}
.pp-nexus-mobile .nm-edge__grip { width: .23em; height: 1.25em; border-radius: 1em; background: var(--acc-line); opacity: .7; }
.pp-nexus-mobile .nm-edge svg { width: .92em; height: .92em; }

/* In-context pull-tab */
.pp-nexus-mobile .nm-ctx {
    position: absolute; left: 50%; bottom: 9.85em; transform: translateX(-50%); z-index: 22;
    display: flex; flex-direction: column; align-items: center; gap: .3em;
}
.pp-nexus-mobile .nm-ctx__pill {
    display: flex; align-items: center; gap: .55em;
    padding: .46em 1em;
    border-radius: .92em;
    background: color-mix(in srgb, var(--surf) 70%, rgba(255, 255, 255, .1));
    border: 1px solid var(--hair2);
    font-size: .8em; font-weight: 650; color: var(--muted);
    white-space: nowrap;
    box-shadow: 0 .6em 1.5em -.9em rgba(0, 0, 0, .6);
}
.pp-nexus-mobile .nm-ctx__pill svg { color: var(--acc); width: 1.4em; height: 1.4em; }
.pp-nexus-mobile .nm-ctx__pill b { font: 600 .95em/1 var(--font-mono); color: var(--acc); background: var(--acc-soft); padding: .15em .5em; border-radius: .45em; }
.pp-nexus-mobile .nm-ctx__chev { transform: rotate(180deg); color: var(--faint); opacity: .6; width: .9em !important; height: .9em !important; }

/* floating dock */
.pp-nexus-mobile .nm-dock {
    position: absolute; left: 50%; bottom: 2.15em; transform: translateX(-50%); z-index: 22;
    display: flex; align-items: center; gap: .55em;
    padding: .38em .9em;
    border-radius: 2.3em;
    background: var(--barbg);
    border: 1px solid var(--hair);
    box-shadow: 0 1.2em 3.5em -1.4em rgba(0, 0, 0, .62);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.pp-nexus-mobile .nm-dside {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25em;
    width: 3.75em; min-height: 3.7em;
    font-size: .66em; font-weight: 650; letter-spacing: .02em;
    color: var(--muted);
}
.pp-nexus-mobile .nm-dside svg { width: 2.3em; height: 2.3em; }
.pp-nexus-mobile .nm-orbbtn {
    position: relative;
    width: 4.9em; height: 4.9em;
    margin-top: -2.15em;
    display: flex; align-items: center; justify-content: center;
    color: var(--acc);
}
.pp-nexus-mobile .nm-orbbtn__soft { position: absolute; inset: .15em; border-radius: 50%; background: radial-gradient(circle, var(--acc-soft), transparent 70%); }
.pp-nexus-mobile .nm .nm-orbbtn__orb { position: relative; width: 4.6em; height: 4.6em; stroke: none; animation: nm-spin 26s linear infinite; }
@keyframes nm-spin { to { transform: rotate(360deg); } }

/* ---------- surface content ---------- */
.pp-nexus-mobile .nm-card {
    border: 1px solid var(--hair);
    border-radius: calc(1.23em * var(--nm-r));
    padding: 1.3em;
    background: var(--chip);
}
.pp-nexus-mobile .nm-card + .nm-card { margin-top: 1.05em; }
.pp-nexus-mobile .nm-card--tight { padding: 1.1em 1.2em .5em; }
.pp-nexus-mobile .nm-label { font: 500 .77em/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.pp-nexus-mobile .nm-label--acc { color: var(--acc); margin-bottom: .75em; }
.pp-nexus-mobile .nm-sec0 { margin: 0 .15em .8em; }
.pp-nexus-mobile .nm-sec { margin: 1.25em .15em .8em; }
.pp-nexus-mobile .nm-brief { font-family: var(--font-serif); font-size: 1.62em; line-height: 1.28; letter-spacing: -.01em; color: var(--fg); }
.pp-nexus-mobile .nm-acc { color: var(--acc); }
.pp-nexus-mobile .nm-danger { color: var(--danger); }
.pp-nexus-mobile .nm-chips { display: flex; flex-wrap: wrap; gap: .55em; margin-top: 1.1em; }
.pp-nexus-mobile .nm-chip {
    display: inline-flex; align-items: center; gap: .55em;
    padding: .55em .9em; border-radius: calc(.7em * var(--nm-r));
    background: var(--chip2);
    font-size: .9em; font-weight: 650; color: var(--fg);
}
.pp-nexus-mobile .nm-dot { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--acc); flex: none; }
.pp-nexus-mobile .nm-dot--crit { background: var(--danger); }
.pp-nexus-mobile .nm-dot--warn { background: var(--warn); }
.pp-nexus-mobile .nm-dot--info { background: var(--info); }

.pp-nexus-mobile .nm-cardhead { display: flex; align-items: center; margin-bottom: .35em; font-size: 1.02em; font-weight: 650; }
.pp-nexus-mobile .nm-cardhead span { flex: 1; color: var(--fg); }
.pp-nexus-mobile .nm-cardhead b { color: var(--acc); font-size: .9em; }
.pp-nexus-mobile .nm-task { display: flex; align-items: center; gap: .85em; padding: .78em .15em; border-top: 1px solid var(--hair); }
.pp-nexus-mobile .nm-check {
    width: 1.5em; height: 1.5em; flex: none;
    border-radius: .45em;
    border: 1.5px solid var(--hair2);
    display: inline-flex; align-items: center; justify-content: center;
}
.pp-nexus-mobile .nm-check--on { border-color: var(--acc); background: var(--acc); color: var(--acc-text); }
.pp-nexus-mobile .nm-check--on svg { width: 1em; height: 1em; stroke-width: 2.6; }
.pp-nexus-mobile .nm-check--info { border-color: var(--info); }
.pp-nexus-mobile .nm-check--acc { border-color: var(--acc); }
.pp-nexus-mobile .nm-task__t { flex: 1; min-width: 0; font-size: 1em; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-nexus-mobile .nm-task__t--done { color: var(--faint); text-decoration: line-through; }
.pp-nexus-mobile .nm-tag { font: 500 .74em/1 var(--font-mono); color: var(--faint); flex: none; }
.pp-nexus-mobile .nm-tag--box { padding: .45em .55em; border-radius: .45em; background: var(--chip2); color: var(--muted); }
.pp-nexus-mobile .nm-mrow { display: flex; align-items: center; gap: .9em; padding: .75em .15em; border-top: 1px solid var(--hair); }
.pp-nexus-mobile .nm-mtime { font: 500 .92em/1 var(--font-mono); color: var(--acc); width: 3.3em; flex: none; }
.pp-nexus-mobile .nm-mtitle { display: block; font-size: 1em; font-weight: 550; color: var(--fg); }
.pp-nexus-mobile .nm-mwho { display: block; font-size: .84em; color: var(--faint); margin-top: .1em; }

/* Plan */
.pp-nexus-mobile .nm-head { margin: .2em 0 1em; }
.pp-nexus-mobile .nm-head--btn { display: flex; align-items: center; justify-content: space-between; gap: .8em; }
.pp-nexus-mobile .nm-head__t { font-family: var(--font-serif); font-size: 2.3em; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.pp-nexus-mobile .nm-head__m { font-size: .92em; color: var(--muted); margin-top: .2em; }
.pp-nexus-mobile .nm-head__m b { color: var(--fg); }
.pp-nexus-mobile .nm-newbtn {
    display: inline-flex; align-items: center; gap: .45em;
    padding: .7em 1.1em; border-radius: .8em;
    background: var(--acc); color: var(--acc-text);
    font-size: .98em; font-weight: 650;
}
.pp-nexus-mobile .nm-tabs { display: flex; gap: .55em; margin-bottom: 1.1em; overflow: hidden; }
.pp-nexus-mobile .nm-tabchip {
    display: inline-flex; align-items: center; gap: .45em; flex: none;
    padding: .62em 1em; border-radius: 1.6em;
    border: 1px solid var(--hair);
    background: var(--chip);
    font-size: .95em; font-weight: 550; color: var(--muted);
    white-space: nowrap;
}
.pp-nexus-mobile .nm-tabchip svg { width: 1.15em; height: 1.15em; }
.pp-nexus-mobile .nm-tabchip.is-on { background: var(--acc); border-color: var(--acc); color: var(--acc-text); font-weight: 700; }
.pp-nexus-mobile .nm-tabchip i { font-style: normal; font-size: .85em; opacity: .7; margin-left: .2em; }
.pp-nexus-mobile .nm-tabs--s .nm-tabchip { padding: .55em .9em; font-weight: 650; }
.pp-nexus-mobile .nm-group { display: flex; align-items: center; gap: .6em; margin: .4em .15em .7em; font-size: .98em; }
.pp-nexus-mobile .nm-group svg { width: 1em; height: 1em; color: var(--muted); }
.pp-nexus-mobile .nm-group span { color: var(--faint); font-size: .9em; }
.pp-nexus-mobile .nm-list { border: 1px solid var(--hair); border-radius: 1.1em; background: var(--chip); margin-bottom: 1.1em; overflow: hidden; }
.pp-nexus-mobile .nm-lrow { display: flex; align-items: center; gap: .9em; padding: .95em 1em; border-top: 1px solid var(--hair); }
.pp-nexus-mobile .nm-lrow:first-child { border-top: 0; }
.pp-nexus-mobile .nm-lrow__t { flex: 1; min-width: 0; font-size: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Board */
.pp-nexus-mobile .nm-lanes { display: flex; gap: .8em; }
.pp-nexus-mobile .nm-lane { flex: none; width: 86%; border: 1px solid var(--hair); border-radius: 1.1em; background: var(--chip); padding: .9em .7em .7em; display: grid; gap: .55em; }
.pp-nexus-mobile .nm-lane--peek { width: 40%; }
.pp-nexus-mobile .nm-lane__h { display: flex; align-items: center; gap: .5em; padding: 0 .3em .3em; font-size: .98em; font-weight: 700; }
.pp-nexus-mobile .nm-lane__h span { margin-left: auto; color: var(--faint); font-weight: 500; font-size: .9em; }
.pp-nexus-mobile .nm-lane__bar { width: .25em; height: 1.2em; border-radius: 1em; background: var(--faint); }
.pp-nexus-mobile .nm-lane__bar--info { background: var(--info); }
.pp-nexus-mobile .nm-kcard { display: flex; align-items: center; gap: .7em; min-height: 3.4em; padding: .7em .8em; border-radius: .85em; background: var(--chip); border: 1px solid var(--hair); }
.pp-nexus-mobile .nm-kcard__t { flex: 1; min-width: 0; font-size: .92em; line-height: 1.3; }
.pp-nexus-mobile .nm-kcard__risk { color: var(--danger); width: 1.4em !important; height: 1.4em !important; }
.pp-nexus-mobile .nm-kind { display: table; margin-top: .3em; font: 500 .72em/1 var(--font-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--chip2); padding: .35em .5em; border-radius: .35em; }
.pp-nexus-mobile .nm-crit { flex: none; font-size: .78em; font-weight: 700; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 70%, transparent); border-radius: .5em; padding: .3em .5em; }
.pp-nexus-mobile .nm-kadd { display: flex; align-items: center; gap: .5em; padding: .75em .9em; border: 1px dashed var(--hair2); border-radius: .85em; font-size: .9em; color: var(--muted); }

/* Meetings summary */
.pp-nexus-mobile .nm-back { display: inline-flex; align-items: center; gap: .45em; color: var(--acc); font-size: 1em; font-weight: 650; margin: .2em 0 .8em; }
.pp-nexus-mobile .nm-head--btn .nm-back { margin: 0; }
.pp-nexus-mobile .nm-back svg { width: 1.2em; height: 1.2em; }
.pp-nexus-mobile .nm-mt-title { font-family: var(--font-serif); font-size: 1.9em; line-height: 1.15; }
.pp-nexus-mobile .nm-mt-meta { font-size: .9em; color: var(--faint); margin: .35em 0 .7em; }
.pp-nexus-mobile .nm-mt-badges { display: flex; gap: .45em; margin-bottom: .9em; }
.pp-nexus-mobile .nm-mbadge { display: inline-flex; align-items: center; gap: .3em; padding: .3em .6em; border-radius: .5em; background: var(--chip2); color: var(--muted); font-size: .82em; font-weight: 650; font-style: normal; }
.pp-nexus-mobile .nm-mbadge--ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.pp-nexus-mobile .nm-mt-tabs { display: flex; gap: .4em; padding-bottom: .55em; margin-bottom: .8em; border-bottom: 1px solid var(--hair); }
.pp-nexus-mobile .nm-mt-tabs span { display: inline-flex; align-items: center; gap: .4em; padding: .55em .8em; border-radius: .7em; font-size: .95em; font-weight: 650; color: var(--muted); }
.pp-nexus-mobile .nm-mt-tabs span.is-on { background: var(--acc-soft); color: var(--acc); }
.pp-nexus-mobile .nm-mt-tabs b { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5em; height: 1.5em; border-radius: 1em; background: var(--acc); color: var(--acc-text); font-size: .8em; }
.pp-nexus-mobile .nm-mt-sum { margin: 0 0 .8em; font-size: 1em; line-height: 1.5; color: var(--fg); }
.pp-nexus-mobile .nm-eyebrow { display: flex; align-items: center; gap: .45em; margin: .2em 0 .6em; font: 500 .76em/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.pp-nexus-mobile .nm-eyebrow svg { width: 1.3em; height: 1.3em; }
.pp-nexus-mobile .nm-outline { display: flex; align-items: flex-start; gap: .7em; padding: .75em .8em; margin-bottom: .5em; border: 1px solid var(--hair); border-radius: .9em; background: var(--chip); }
.pp-nexus-mobile .nm-outline b { display: inline-flex; align-items: center; justify-content: center; width: 1.7em; height: 1.7em; border-radius: .45em; background: var(--acc-soft); color: var(--acc); font-size: .85em; flex: none; }
.pp-nexus-mobile .nm-outline strong { display: block; font-size: .98em; }
.pp-nexus-mobile .nm-outline em { display: block; font-style: normal; font-size: .88em; color: var(--muted); }
.pp-nexus-mobile .nm-take { display: flex; align-items: center; gap: .6em; padding: .65em .8em; margin-bottom: .45em; border-radius: .7em; border-left: .25em solid var(--info); background: color-mix(in srgb, var(--info) 10%, transparent); font-size: .95em; }
.pp-nexus-mobile .nm-take i { font: 500 .72em/1 var(--font-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pp-nexus-mobile .nm-take--warn { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); }

/* Search */
.pp-nexus-mobile .nm-sbox { display: flex; align-items: center; gap: .7em; padding: .9em 1em; border-radius: 1em; border: 1px solid var(--hair); background: var(--chip); font-size: 1.05em; margin: .2em 0 .7em; }
.pp-nexus-mobile .nm-sbox svg { color: var(--muted); width: 1.25em; height: 1.25em; }
.pp-nexus-mobile .nm-sinfo { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8em; font-size: .88em; color: var(--muted); }
.pp-nexus-mobile .nm-adv { display: inline-flex; align-items: center; gap: .35em; padding: .45em .7em; border-radius: .7em; border: 1px solid var(--hair); color: var(--acc); font-weight: 650; }
.pp-nexus-mobile .nm-kp { display: flex; align-items: center; gap: .8em; padding: .85em .9em; margin-bottom: .6em; border-radius: 1em; border: 1px solid var(--acc-line); background: var(--acc-soft); }
.pp-nexus-mobile .nm-kp__ic { display: inline-flex; align-items: center; justify-content: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--acc); color: var(--acc-text); flex: none; }
.pp-nexus-mobile .nm-kp__ic svg { width: 1.2em; height: 1.2em; }
.pp-nexus-mobile .nm-kp strong { display: block; font-size: 1em; }
.pp-nexus-mobile .nm-kp em { display: block; font-style: normal; font-size: .84em; color: var(--muted); }
.pp-nexus-mobile .nm-kp > span:nth-child(2) { flex: 1; min-width: 0; }
.pp-nexus-mobile .nm-kp__chev { color: var(--muted); }
.pp-nexus-mobile .nm-res { display: flex; align-items: flex-start; gap: .75em; padding: .8em .85em; margin-bottom: .55em; border-radius: 1em; border: 1px solid var(--hair); background: var(--chip); }
.pp-nexus-mobile .nm-res__ic { display: inline-flex; align-items: center; justify-content: center; width: 2.2em; height: 2.2em; border-radius: .6em; background: var(--acc-soft); color: var(--acc); flex: none; }
.pp-nexus-mobile .nm-res__ic svg { width: 1.15em; height: 1.15em; }
.pp-nexus-mobile .nm-res > div { flex: 1; min-width: 0; }
.pp-nexus-mobile .nm-res strong { display: block; font-size: .98em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-nexus-mobile .nm-res code { display: block; font: 400 .75em/1.5 var(--font-mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-nexus-mobile .nm-res span { display: block; font-size: .86em; color: var(--muted); line-height: 1.35; }
.pp-nexus-mobile .nm-res mark { background: var(--acc-soft); color: var(--fg); border-radius: .2em; padding: 0 .15em; }
.pp-nexus-mobile .nm-res__k { flex: none; font: 500 .68em/1 var(--font-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); background: var(--acc-soft); padding: .4em .5em; border-radius: .4em; }

/* Notes */
.pp-nexus-mobile .nm-note-title { font-family: var(--font-serif); font-size: 1.95em; line-height: 1.15; margin: .7em 0 .55em; }
.pp-nexus-mobile .nm-ntags { display: flex; flex-wrap: wrap; gap: .45em; margin-bottom: 1em; }
.pp-nexus-mobile .nm-ntags span { display: inline-flex; align-items: center; gap: .35em; padding: .45em .7em; border-radius: .6em; background: var(--acc-soft); color: var(--acc); font-size: .86em; font-weight: 700; }
.pp-nexus-mobile .nm-note-p { margin: 0 0 .7em; font-size: 1em; line-height: 1.55; color: var(--muted); }
.pp-nexus-mobile .nm-note-p u { color: var(--acc); text-decoration: underline dashed; text-underline-offset: .25em; }
.pp-nexus-mobile .nm-todo { display: flex; align-items: center; gap: .7em; padding: .35em 0; font-size: .98em; color: var(--fg); }
.pp-nexus-mobile .nm-todo s { color: var(--faint); }
.pp-nexus-mobile .nm-todo .nm-check { width: 1.3em; height: 1.3em; border-radius: .38em; }
.pp-nexus-mobile .nm-ink { margin-top: .9em; padding: .8em .9em .7em; border-radius: 1em; border: 1px dashed var(--hair2); background: var(--chip); }
.pp-nexus-mobile .nm .nm-ink__svg { width: 100%; height: auto; --pp-line: var(--acc); }
.pp-nexus-mobile .nm .nm-ink__svg .pp-draw { stroke-width: 2.2; }
.pp-nexus-mobile .nm-ink__chip { display: inline-flex; align-items: center; gap: .4em; margin-top: .5em; padding: .35em .6em; border-radius: .5em; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-size: .8em; font-weight: 700; }

/* Ask (full-screen overlay) */
.pp-nexus-mobile .nm-ask { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--center-bg); }
.pp-nexus-mobile .nm-ask::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, var(--acc-soft), transparent 70%) 50% 70% / 34em 34em no-repeat; opacity: .6; }
.pp-nexus-mobile .nm-ask__head { flex: none; display: flex; align-items: center; gap: .75em; height: 4em; margin-top: 3.15em; padding: 0 1.2em; border-bottom: 1px solid var(--hair); }
.pp-nexus-mobile .nm-ask__dot { width: .7em; height: .7em; border-radius: 50%; background: var(--acc); box-shadow: 0 0 .75em var(--acc-line); flex: none; }
.pp-nexus-mobile .nm-ask__dot--live { animation: nm-breath 1.2s ease-in-out infinite; }
.pp-nexus-mobile .nm-ask__title { flex: 1; font-size: 1.08em; font-weight: 650; }
.pp-nexus-mobile .nm-ibtn { display: inline-flex; align-items: center; justify-content: center; width: 3.1em; height: 3.1em; border-radius: .77em; background: var(--chip); color: var(--fg); flex: none; }
.pp-nexus-mobile .nm-ibtn svg { width: 1.3em; height: 1.3em; }
.pp-nexus-mobile .nm-ibtn--sm { width: 2.7em; height: 2.7em; }
.pp-nexus-mobile .nm-ask__body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 1.2em 1.1em; }
.pp-nexus-mobile .nm-ask__bar { flex: none; display: flex; align-items: center; gap: .1em; padding: .55em 0 .4em; }
.pp-nexus-mobile .nm-model { display: inline-flex; align-items: center; gap: .45em; min-width: 0; max-width: 58%; height: 3.1em; padding: 0 .8em; border-radius: .9em; border: 1px solid var(--hair); background: var(--chip); font-size: .92em; font-weight: 650; }
.pp-nexus-mobile .nm-model svg { width: .9em; height: .9em; }
.pp-nexus-mobile .nm-model__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-nexus-mobile .nm-cap { flex: none; padding: .2em .5em; border-radius: .45em; background: var(--acc-soft); color: var(--acc); font-size: .82em; font-weight: 700; }
.pp-nexus-mobile .nm-grow { flex: 1; min-width: .3em; }
.pp-nexus-mobile .nm-abtn { display: inline-flex; align-items: center; justify-content: center; width: 2.75em; height: 2.75em; border-radius: .9em; color: var(--muted); flex: none; }
.pp-nexus-mobile .nm-abtn svg { width: 1.4em; height: 1.4em; }
.pp-nexus-mobile .nm-abtn.is-on { background: var(--acc-soft); color: var(--acc); }
.pp-nexus-mobile .nm-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: .95em; padding: .5em 0 .8em; }
.pp-nexus-mobile .nm-ububble { align-self: flex-end; max-width: 86%; padding: .8em 1.05em; border-radius: 1.2em 1.2em .3em 1.2em; background: var(--acc); color: var(--acc-text); font-size: 1.02em; line-height: 1.45; }
.pp-nexus-mobile .nm-tools { display: flex; align-items: center; gap: .75em; min-height: 3.2em; padding: 0 .9em; border-radius: .9em; border: 1px solid var(--hair); background: var(--chip); font-size: .94em; color: var(--muted); }
.pp-nexus-mobile .nm-tools span { flex: 1; }
.pp-nexus-mobile .nm-tools__dot { width: .7em; height: .7em; border-radius: 50%; background: var(--ok); flex: none; }
.pp-nexus-mobile .nm-answer { font-size: 1.05em; line-height: 1.55; color: var(--fg); min-height: 6.2em; }
.pp-nexus-mobile .nm-sup { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4em; height: 1.4em; margin-left: .25em; border-radius: .4em; background: var(--acc); color: var(--acc-text); font: 600 .7em/1 var(--font-mono); vertical-align: .25em; }
.pp-nexus-mobile .nm-srcs { display: grid; gap: .5em; justify-items: start; }
.pp-nexus-mobile .nm-srcs__h { font-size: .78em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.pp-nexus-mobile .nm-cites { display: flex; flex-wrap: wrap; gap: .45em; }
.pp-nexus-mobile .nm-cite { display: inline-flex; align-items: center; gap: .45em; padding: .3em .75em .3em .35em; border-radius: .75em; background: var(--acc-soft); color: var(--acc); font-size: .9em; font-weight: 650; }
.pp-nexus-mobile .nm-cite b { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; height: 1.6em; border-radius: .5em; background: var(--acc); color: var(--acc-text); font: 600 .85em/1 var(--font-mono); }
.pp-nexus-mobile .nm-link { color: var(--acc); font-size: .92em; font-weight: 650; margin-top: .2em; }
.pp-nexus-mobile .nm-afoot { display: flex; align-items: center; gap: 1.2em; color: var(--muted); }
.pp-nexus-mobile .nm-afoot__m { font-size: .84em; color: var(--faint); }
.pp-nexus-mobile .nm-afoot svg { width: 1.25em; height: 1.25em; }
.pp-nexus-mobile .nm-fups { display: flex; flex-wrap: wrap; gap: .45em; }
.pp-nexus-mobile .nm-fup { padding: .6em 1em; border-radius: 1.7em; border: 1px solid var(--acc-line); color: var(--acc); font-size: .9em; font-weight: 650; }
.pp-nexus-mobile .nm-composer { flex: none; display: flex; align-items: center; gap: .6em; padding: .45em .45em .45em .95em; border-radius: 1.2em; border: 1px solid var(--hair); background: var(--chip); font-size: 1.1em; color: var(--faint); }
.pp-nexus-mobile .nm-composer > span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-nexus-mobile .nm-send { display: inline-flex; align-items: center; justify-content: center; width: 2.6em; height: 2.6em; border-radius: .8em; background: var(--acc); color: var(--acc-text); opacity: .45; flex: none; }
.pp-nexus-mobile .nm-send svg { width: 1.15em; height: 1.15em; }

/* Ask voice stage */
.pp-nexus-mobile .nm-voice { flex: none; display: grid; justify-items: center; gap: .6em; padding-top: .7em; border-top: 1px solid var(--hair); }
.pp-nexus-mobile .nm-voice__mesh { width: 12.5em; height: 12.5em; color: var(--acc); animation: nm-listen 2.4s ease-in-out infinite; }
.pp-nexus-mobile .nm .nm-voice__mesh svg { width: 100%; height: 100%; stroke: none; fill: none; }
.pp-nexus-mobile .nm-badge { display: inline-flex; align-items: center; gap: .6em; min-height: 2.15em; padding: 0 .95em; border-radius: 1.1em; background: var(--chip); font-size: .95em; font-weight: 650; }
.pp-nexus-mobile .nm-badge__dot { width: .62em; height: .62em; border-radius: 50%; background: var(--danger); animation: nm-breath 1.2s ease-in-out infinite; }
.pp-nexus-mobile .nm-partial { min-height: 2.9em; padding: 0 .6em; text-align: center; font-size: 1.02em; line-height: 1.4; color: var(--fg); }
.pp-nexus-mobile .nm-voice__ctrls { display: flex; align-items: center; gap: 1.4em; }
.pp-nexus-mobile .nm-round { display: inline-flex; align-items: center; justify-content: center; width: 3.7em; height: 3.7em; border-radius: 50%; border: 1px solid var(--hair); background: var(--chip); color: var(--fg); }
.pp-nexus-mobile .nm-round svg { width: 1.5em; height: 1.5em; }
.pp-nexus-mobile .nm-round--lg { width: 4.9em; height: 4.9em; background: var(--acc); color: var(--acc-text); border-color: transparent; box-shadow: 0 0 0 .45em var(--acc-soft); }
.pp-nexus-mobile .nm-round--lg svg { width: 2em; height: 2em; }
.pp-nexus-mobile .nm-round--txt { font-size: .95em; font-weight: 700; }
.pp-nexus-mobile .nm-voice__pills { display: flex; gap: .6em; }
.pp-nexus-mobile .nm-vpill { display: inline-flex; align-items: center; gap: .45em; min-height: 2.9em; padding: 0 1em; border-radius: 1.7em; border: 1px solid var(--hair); color: var(--muted); font-size: .92em; font-weight: 650; }
.pp-nexus-mobile .nm-vpill.is-on { border-color: var(--acc-line); color: var(--acc); background: var(--acc-soft); }
@keyframes nm-breath { 0%, 100% { transform: scale(1); opacity: .82; } 50% { transform: scale(1.18); opacity: 1; } }
@keyframes nm-listen { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1.04); } }

/* Meetings live capture */
.pp-nexus-mobile .nm-live__head { display: flex; align-items: center; gap: .75em; margin: .2em 0 .9em; }
.pp-nexus-mobile .nm-live__main { flex: 1; min-width: 0; display: grid; gap: .35em; }
.pp-nexus-mobile .nm-live__main strong { font-size: 1.15em; }
.pp-nexus-mobile .nm-live__main span { display: flex; gap: .4em; }
.pp-nexus-mobile .nm-live__main .nm-mbadge svg { width: .85em; height: .85em; }
.pp-nexus-mobile .nm-clock { display: inline-flex; align-items: center; gap: .5em; padding: .6em .8em; border-radius: .85em; border: 1px solid var(--hair); background: var(--chip); font: 600 1.1em/1 var(--font-mono); }
.pp-nexus-mobile .nm-rec { width: .5em; height: .5em; border-radius: 50%; background: var(--danger); animation: nm-breath 1s ease-in-out infinite; }
.pp-nexus-mobile .nm-capstatus { display: flex; align-items: center; gap: .75em; padding: .85em 1em; margin-bottom: .75em; border-radius: .9em; background: color-mix(in srgb, var(--ok) 10%, transparent); font-size: 1em; font-weight: 650; }
.pp-nexus-mobile .nm-capstatus__dot { width: .7em; height: .7em; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 .3em color-mix(in srgb, var(--ok) 30%, transparent); animation: nm-breath .9s ease-in-out infinite; }
.pp-nexus-mobile .nm-ctrls { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; margin-bottom: .9em; }
.pp-nexus-mobile .nm-mbtn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 3.2em; border-radius: .9em; background: var(--acc-soft); color: var(--acc); font-size: .98em; font-weight: 650; white-space: nowrap; }
.pp-nexus-mobile .nm-mbtn svg { width: 1.2em; height: 1.2em; }
.pp-nexus-mobile .nm-mbtn--stop { grid-column: 1 / -1; background: var(--danger); color: #06131a; min-height: 3.6em; }
.pp-nexus-mobile .nm-tr { border: 1px solid var(--hair); border-radius: 1.2em; background: var(--chip); padding: .9em 1em 1em; display: grid; gap: .6em; margin-bottom: .9em; }
.pp-nexus-mobile .nm-tr__head { display: flex; align-items: center; justify-content: space-between; }
.pp-nexus-mobile .nm-tr__head .nm-eyebrow { margin: 0; }
.pp-nexus-mobile .nm-seg { display: inline-flex; gap: .25em; padding: .22em; border-radius: .9em; background: var(--chip2); font-size: .85em; font-weight: 650; }
.pp-nexus-mobile .nm-seg > * { padding: .4em .8em; border-radius: .7em; color: var(--muted); }
.pp-nexus-mobile .nm-seg b { background: var(--acc); color: var(--acc-text); }
.pp-nexus-mobile .nm-tr__line { display: grid; grid-template-columns: 3.2em 1fr; gap: .5em; font-size: 1em; line-height: 1.45; }
.pp-nexus-mobile .nm-tr__line b { font-size: .82em; color: var(--info); padding-top: .2em; }
.pp-nexus-mobile .nm-tr__line--me b { color: var(--acc); }
.pp-nexus-mobile .nm-tr__line > span { min-height: 2.9em; }
.pp-nexus-mobile .nm-tr__line--me > span { min-height: 0; }
.pp-nexus-mobile .nm-tr__line:first-of-type > span { min-height: 0; }
.pp-nexus-mobile .nm .nm-tr__wave { height: 1.6em; gap: .25em; padding-left: 3.7em; --pp-line: var(--acc); }
.pp-nexus-mobile .nm .nm-tr__wave > span { width: .22em; }
.pp-nexus-mobile .nm-hints { border: 1px solid var(--hair); border-radius: 1.2em; background: var(--chip); padding: .9em 1em; }
.pp-nexus-mobile .nm-hints .nm-eyebrow { margin-top: 0; }
.pp-nexus-mobile .nm-hint { display: flex; align-items: center; gap: .7em; font-size: .98em; }
.pp-nexus-mobile .nm-hint i { width: 1.15em; height: 1.15em; border-radius: .38em; border: 1.5px solid var(--acc); flex: none; }

/* Theme sheet demo */
.pp-nexus-mobile .nm-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.pp-nexus-mobile .nm-opt { display: flex; align-items: center; min-height: 3em; padding: 0 .9em; border-radius: .85em; border: 1px solid var(--hair); background: var(--chip); font-size: .95em; font-weight: 650; }
.pp-nexus-mobile .nm-opt.is-on { border-color: var(--acc-line); background: var(--acc-soft); color: var(--acc); }
.pp-nexus-mobile .nm-swatches { display: flex; gap: .7em; }
.pp-nexus-mobile .nm-sw { width: 3em; height: 3em; border-radius: .9em; border: 2px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.pp-nexus-mobile .nm-sw--cyan   { background: oklch(0.74 0.15 205); }
.pp-nexus-mobile .nm-sw--violet { background: oklch(0.74 0.15 288); }
.pp-nexus-mobile .nm-sw--amber  { background: oklch(0.74 0.15 72); }
.pp-nexus-mobile .nm-sw--lime   { background: oklch(0.74 0.15 142); }
.pp-nexus-mobile .nm-sw--red    { background: oklch(0.74 0.15 26); }
.pp-nexus-mobile .nm-sw.is-active { border-color: var(--fg); box-shadow: 0 0 0 2px var(--surf), 0 0 1em var(--acc-line); }
/* without the script the first swatch shows as chosen */
.pp-nexus-mobile:not(.pp-js) .nm-sw--cyan { border-color: var(--fg); }
.pp-nexus-mobile .nm-mt1 { margin-top: 1.2em; }

/* gesture hotspots (section 01) */
.pp-nexus-mobile .nm-hot { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
.pp-nexus-mobile .nm-hot__m {
    position: absolute;
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.1em; height: 2.1em; border-radius: 50%;
    font: 700 .95em/1 var(--font-mono);
    color: #06131a;
    background: oklch(0.86 0.12 205);
    box-shadow: 0 0 0 .3em rgba(6, 19, 26, .55);
    transition: transform .4s ease, box-shadow .4s ease;
}
.pp-nexus-mobile .nm-hot__m.is-active { transform: scale(1.22); box-shadow: 0 0 0 .3em rgba(6, 19, 26, .55), 0 0 0 .75em oklch(0.86 0.12 205 / .35); }
.pp-nexus-mobile .nm-hot__m--1 { top: 3.6em; left: calc(50% + 6.4em); }
.pp-nexus-mobile .nm-hot__m--2 { top: calc(50% - 1.05em); left: 1.7em; }
.pp-nexus-mobile .nm-hot__m--3 { bottom: 10.05em; left: calc(50% + 5.2em); }
.pp-nexus-mobile .nm-hot__m--4 { bottom: 5.5em; left: calc(50% + 8.9em); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .pp-nexus-mobile .nm-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; max-width: 640px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
    .pp-nexus-mobile .nm-duo { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 600px) {
    .pp-nexus-mobile .nm-duo { padding-bottom: 24px; }
    .pp-nexus-mobile .nm-duo__back { width: 50%; margin-right: -12% !important; transform: translateY(30px); }
    .pp-nexus-mobile .nm-duo__front { width: 58%; }
    .pp-nexus-mobile .nm-phone--md { max-width: 280px; }
    /* a swipeable strip of phones instead of a squeezed grid */
    .pp-nexus-mobile .nm-row {
        display: flex;
        gap: 16px;
        max-width: none;
        margin: 0 -16px 40px;
        padding: 4px 16px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .pp-nexus-mobile .nm-row::-webkit-scrollbar { display: none; }
    .pp-nexus-mobile .nm-row__item { flex: 0 0 68%; scroll-snap-align: center; }
    .pp-nexus-mobile .nm-lookgrid > div { grid-template-columns: 1fr; gap: 4px; }
    .pp-nexus-mobile .nm-trio { max-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
    .pp-nexus-mobile .nm-voice__mesh,
    .pp-nexus-mobile .nm .nm-orbbtn__orb { animation: none !important; }
}

/* additions: denser screens */
.pp-nexus-mobile .nm-dot--ok { background: var(--ok); }
.pp-nexus-mobile .nm-check--ok { border-color: var(--ok); background: var(--ok); }
.pp-nexus-mobile .nm-kind--inl { display: inline-block; margin: 0; flex: none; }
.pp-nexus-mobile .nm-answer--short { min-height: 0; }
.pp-nexus-mobile .nm-eyebrow--sp { margin-top: .9em; }
.pp-nexus-mobile .nm-act { display: flex; align-items: center; gap: .6em; padding: .6em .8em; margin-bottom: .45em; border-radius: .8em; background: var(--chip); font-size: .95em; }
.pp-nexus-mobile .nm-act span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-nexus-mobile .nm-act b { padding: .2em .5em; border-radius: .45em; background: var(--acc-soft); color: var(--acc); font-size: .85em; }
.pp-nexus-mobile .nm-notes { margin-top: .9em; }
.pp-nexus-mobile .nm-notes .nm-tr__head { margin-bottom: .55em; }
.pp-nexus-mobile .nm-saved { font-size: .82em; font-weight: 650; color: var(--ok); }
.pp-nexus-mobile .nm-notes__t { font-size: .95em; line-height: 1.5; color: var(--muted); }
.pp-nexus-mobile .nm-ink__out { display: flex; align-items: center; flex-wrap: wrap; gap: .5em .7em; margin-top: .5em; font-size: .95em; color: var(--fg); }
.pp-nexus-mobile .nm-ink__out .nm-ink__chip { margin: 0; }
.pp-nexus-mobile .nm-thread--end { justify-content: flex-end; }
.pp-nexus-mobile .nm-thread--end > * { flex: none; }
.pp-nexus-mobile .nm-later a { color: var(--pp-cyan); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pp-nexus-mobile .nm-later a:hover { text-decoration: underline; }
/* camera island scales with the phone, so it never covers the app's header on small phones */
.pp-nexus-mobile .nm-phone::before { top: 2.9%; height: 3.3%; }
/* opaque bezel, so an overlapped phone never shows through the one in front */
.pp-nexus-mobile .nm-phone { background: linear-gradient(160deg, var(--color-surface-4), var(--color-surface-2)), var(--color-bg); }
