/* Public Neo surfaces: static layers, no per-frame filters or theme transitions. */
html.nl-light {
    --nl-bg: #F8FAFC; --nl-bg-rgb: 248,250,252;
    --nl-s1: #FFFFFF; --nl-s2: #F0F4F8; --nl-s3: #E5EBF2;
    --nl-t1: #192638; --nl-t1-rgb: 25,38,56;
    --nl-t2: #4C5D70; --nl-t3: #65758A;
    --nl-glass: rgba(255,255,255,.90); --nl-glass-2: #FFFFFF;
    --nl-glass-solid: #FFFFFF;
    --nl-acc: var(--pz-6a47f0, #6A47F0);
    --nl-grad-text: linear-gradient(110deg,var(--pz-6a47f0,#6A47F0),var(--pz-7c5cff,#7C5CFF));
}
/* Photographic structure stays crisp and neutral; the skin supplies the color. */
html.nl-light .nl-hero__bg {
    background: radial-gradient(ellipse at 86% 35%,rgba(var(--nl-acc-rgb),.27),transparent 64%),var(--nl-bg);
}
html.nl-light .nl-hero .nl-hero__photo img {
    opacity: .52; filter: grayscale(1) contrast(1.14);
}
html.nl-light .nl-hero .nl-hero__bg::after {
    background:
        linear-gradient(90deg,var(--nl-bg) 0%,rgba(var(--nl-bg-rgb),.94) 27%,rgba(var(--nl-bg-rgb),.35) 64%,rgba(var(--nl-bg-rgb),.08)),
        linear-gradient(0deg,var(--nl-bg),transparent 36%),
        linear-gradient(130deg,transparent 42%,rgba(var(--nl-acc-rgb),.22));
}
/* A clean illustrated field replaces the purple auth photograph in daylight. */
html.nl-light .na-visual__photo { display:none; }
html.nl-light .na-visual__in {
    background:
        radial-gradient(ellipse at 92% 22%,rgba(var(--nl-acc-rgb),.32),transparent 52%),
        radial-gradient(ellipse at 4% 85%,rgba(var(--nl-acc-rgb),.16),transparent 44%),#F8FAFC;
}
html.nl-light .na-visual__in::after {
    background: repeating-radial-gradient(ellipse at 110% 0%,transparent 0 78px,rgba(var(--nl-acc-rgb),.1) 79px 80px,transparent 81px 156px);
}
html.nl-light .na-card__in {
    background:rgba(255,255,255,.96); border-color:rgba(var(--nl-acc-rgb),.16);
    box-shadow:0 24px 64px -32px rgba(25,38,56,.35),inset 0 1px 0 #fff;
    backdrop-filter:none; -webkit-backdrop-filter:none;
}
html.nl-light .na-input { background:#fff; }
html.nl-light .na-visual.nl-dark-scope {
    --nl-t1:#192638; --nl-t2:#4C5D70; --nl-t3:#65758A;
    --nl-grad-text:linear-gradient(110deg,var(--pz-6a47f0,#6A47F0),var(--pz-7c5cff,#7C5CFF));
}
html.nl-light .na-visual .nl-chip__in,
html.nl-light .na-visual .nl-live__in,
html.nl-light .nl-chip__in, html.nl-light .nl-live__in {
    color:#192638; background:rgba(255,255,255,.94);
    box-shadow:inset 0 0 0 1px rgba(var(--nl-acc-rgb),.14),0 20px 48px -28px rgba(25,38,56,.42);
}
html.nl-light .na-visual__lead { color:#4C5D70; }
html.nl-light .na-foot { color:#4C5D70; }
/* Inline chart illustrations are part of the skin; external asset logos aren't. */
.nl-body stop[stop-color="#A67EFB"], .nl-body stop[stop-color="#7C5CFF"],
.nl-body stop[stop-color="#5B8CFF"], .nl-body stop[stop-color="#6E9BFF"] { stop-color:var(--nl-acc); }
.nl-body stop[stop-color="#C9B2FF"], .nl-body stop[stop-color="#E2D6FF"],
.nl-body stop[stop-color="#D3C4FF"], .nl-body stop[stop-color="#8FB2FF"] { stop-color:var(--pz-b394ff,#B394FF); }
.nl-body { --na-c1:var(--nl-acc); --na-c2:var(--nl-acc-2); }
.nl-body .nl-mono--blue { background:var(--nl-grad); }
.nl-body .nl-blob--c { background:radial-gradient(closest-side,rgba(var(--nl-acc-rgb),.24),transparent); }
/* Remove the source image's purple cast at night as well. */
html.nl-dark .na-visual__photo img { filter:grayscale(1); }
html.nl-light .na-plate__in {
    color:#192638; background:rgba(255,255,255,.94);
    box-shadow:inset 0 0 0 1px rgba(var(--nl-acc-rgb),.14),0 20px 48px -28px rgba(25,38,56,.42);
}
.nl-body .na-plate__ic { background:var(--nl-grad); }
html.nl-light .na-plate__val { background-image:linear-gradient(110deg,#192638,var(--nl-acc)); }
.nl-body .na-orbit__ring--2 { border-color:rgba(var(--nl-acc-rgb),.4); }
.nl-body .na-orbit__ring--2 i { background:var(--nl-acc); box-shadow:0 0 16px 4px rgba(var(--nl-acc-rgb),.35); }
html.nl-light .na-visual__trust i { color:var(--nl-acc); }

/* Daylight relief: invert the dark wave artwork instead of washing it out.
   The multiply layer gives the original contours the active skin's color. */
html.nl-light .nl-hero:not(.na-hero) .nl-hero__bg {
    background:linear-gradient(120deg,#F7FAFC 8%,rgba(var(--nl-acc-rgb),.38) 70%,rgba(var(--nl-acc-rgb),.62));
}
html.nl-light .nl-hero:not(.na-hero) .nl-hero__photo {
    mix-blend-mode:multiply;
}
html.nl-light .nl-hero:not(.na-hero) .nl-hero__photo img {
    opacity:.9; filter:grayscale(1) invert(1) contrast(1.25);
}
html.nl-light .nl-hero:not(.na-hero) .nl-hero__bg::after {
    background:
        linear-gradient(90deg,rgba(248,250,252,.52),rgba(248,250,252,.30) 40%,transparent 68%),
        linear-gradient(0deg,var(--nl-bg),rgba(var(--nl-bg-rgb),0) 16%);
}

/* The camera strip and the device housing are one neutral piece of hardware. */
html.nl-light, html.nl-dark {
 --nl-frame:linear-gradient(145deg,#40403F,#101111 45%,#282929);
 --nl-frame-base:linear-gradient(180deg,#565755,#222323 45%,#090A0A);
}
.nl-phone { background:#101111; }
.nl-laptop__glare { opacity:.25; }

/* Keep tier labels readable against daylight card surfaces. */
html.nl-light :is(.nl-tier__name, .nl-tier__cond b) {
 background-image:none;
 color:var(--nl-acc);
 -webkit-text-fill-color:currentColor;
}
html.nl-light .nl-tier .nl-plan__list i {
 color:var(--nl-acc);
 background:rgba(255,255,255,.88);
}
