.nse {
--bg: var(--wp--preset--color--base, #FAF7F2);
--surface: #FFFFFF;
--ink: #1F2933;
--muted: var(--wp--preset--color--secondary, #52606D);
--rule: var(--wp--preset--color--border-light, #E7E0D4);
--accent: var(--wp--preset--color--primary, #1D4E89);
--accent-soft: var(--wp--preset--color--primary-accent, #E8F0F7);
--night: var(--wp--preset--color--primary-alt-accent, #12355B);
--tram: var(--wp--preset--color--primary-alt, #F7B32B);
--del: #1F7A70;
--gen: #8F5E00;
--dis: #B4462F;
--sand: var(--wp--preset--color--tertiary, #F2ECE1);
--del-soft: #E2F1EE;
--gen-soft: #FBF0D6;
--dis-soft: #F7E3DE;
--font-display: var(--wp--preset--font-family--expanded, Fraunces, Georgia, serif);
--font-body: var(--wp--preset--font-family--primary, Figtree, -apple-system, "Segoe UI", sans-serif);
--font-mono: var(--wp--preset--font-family--monospace, ui-monospace, "SF Mono", Menlo, Consolas, monospace);
--r: 10px;
color-scheme: light;
}
.nse, .nse * { box-sizing: border-box; }
.nse [hidden] { display: none !important; }
.nse textarea.grow { resize: none; overflow: hidden; min-height: 50px; line-height: 1.45; }
.nse .in-app .top, .nse .in-app footer { display: none; }
.nse .in-app body::before { display: none; }
.nse .in-app .tabs { top: 0; }
.nse { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
.nse .wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.nse h1, .nse h2, .nse h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; margin: 0; line-height: 1.15; }
.nse p { margin: 0; }
.nse button, .nse input, .nse textarea, .nse select { font: inherit; color: inherit; }
.nse :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nse .mono { font-family: var(--font-mono); }
.nse .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nse .top { background: var(--night); color: #FAF7F2; }
.nse .top .wrap { padding-block: 28px 0; display: grid; gap: 18px; }
.nse .brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.nse .brand h1 { font-size: clamp(28px, 4.2vw, 40px); letter-spacing: -.01em; }
.nse .brand h1 em { font-style: italic; font-weight: 400; color: var(--tram); }
.nse .brand p { color: #DCE3EE; max-width: 58ch; }
.nse .brand .kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--tram); flex-basis: 100%; }
.nse .tabs { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--rule); }
.nse .tabs .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nse .tabs a { flex: none; padding: 12px 14px 11px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; border-bottom: 3px solid transparent; }
.nse .tabs a:hover { color: var(--ink); }
.nse .tabs a:focus-visible { outline-offset: -3px; }
.nse .tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--tram); }
@media (max-width: 560px) {
.nse .tabs a { padding: 12px 10px 11px; font-size: 15px; }
}
.nse .home-group { display: grid; gap: 10px; }
.nse .hg-head { display: grid; gap: 2px; }
.nse .hg-head h3 { font-size: 20px; }
.nse .home-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.nse .home-card { display: grid; gap: 4px; align-content: start; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 14px 16px; }
.nse .home-card strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--accent); }
.nse .home-card span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.nse .home-card:hover { border-color: var(--accent); }
.nse .home-group + .home-group { margin-top: 18px; }
.nse .ans-wrap { display: grid; gap: 4px; margin-top: 6px; }
.nse .ans-l { font-size: 15px; color: var(--muted); }
.nse .out .ans { font-family: var(--font-body); font-size: 16px; background: var(--bg); }
.nse .entry li { white-space: pre-line; }
.nse .subnav { background: var(--bg); border-bottom: 1px solid var(--rule); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 46px); z-index: 4; }
.nse #nav-groups, .nse #nav-tools { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.nse html { scroll-padding-top: 110px; }
.nse .home-card { cursor: pointer; position: relative; padding-right: 30px; }
.nse .home-card::after { content: "\203A"; position: absolute; right: 14px; top: 12px; font-size: 22px; color: var(--accent); }
.nse .home-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nse .in-app footer, .nse .in-app .top { display: none; }
.nse .in-app .tabs { padding-top: env(safe-area-inset-top, 0px); }
.nse .label { font-size: 13px; }
.nse .view-head p:not(.chapter) { max-width: 70ch; }
@media (max-width: 560px) {
.nse .panel { padding: 14px; }
.nse .brand p { display: none; }
.nse .top .wrap { padding-block: 18px 14px; }
.nse .view-head h2 { font-size: 24px; }
}
@media (pointer: coarse), (hover: none) {
.nse .node { min-height: 44px; }
.nse select { min-height: 44px; }
.nse .chip, .nse .seg button, .nse .btn, .nse .ticks button, .nse .subnav a { min-height: 44px; }
.nse .chip { padding: 10px 14px; }
.nse .seg button { padding: 10px 14px; }
.nse input[type="range"] { min-height: 44px; }
}
.nse .subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.nse .subnav a { flex: none; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 16px; border: 1px solid var(--rule); background: var(--surface); }
.nse .subnav a:hover { color: var(--ink); border-color: var(--muted); }
.nse .subnav a[aria-current="page"] { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.nse .tabs a .n { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--muted); margin-right: 6px; }
.nse main .wrap { padding-block: 32px 64px; }
.nse .chapter { font-family: var(--font-body); color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nse .view-head { display: grid; gap: 6px; margin-bottom: 22px; max-width: 70ch; }
.nse .view-head h2 { font-size: clamp(24px, 3vw, 30px); }
.nse .view-head p { color: var(--muted); }
.nse .panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; }
.nse .grid2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) {
.nse .grid2 { grid-template-columns: minmax(0, 1fr); }
}
.nse .stack { display: grid; gap: 16px; }
.nse textarea, .nse input[type="text"] { width: 100%; background: var(--bg); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.nse textarea:focus, .nse input[type="text"]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.nse .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nse .chip { border: 1px solid var(--rule); background: var(--surface); border-radius: 16px; padding: 5px 11px; font-size: 15px; cursor: pointer; color: var(--muted); text-align: left; }
.nse .chip:hover { color: var(--ink); border-color: var(--muted); }
.nse .chip[aria-pressed="true"] { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.nse .btn { border: 1px solid var(--accent); background: var(--accent); color: #FFFFFF; border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-size: 15px; }
.nse .btn.ghost { background: transparent; color: var(--accent); border-color: var(--rule); }
.nse .btn.ghost:hover { border-color: var(--accent); }
.nse .btn:hover { filter: brightness(1.08); }
.nse .specimen { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); line-height: 2; min-height: 2em; overflow-wrap: anywhere; }
.nse .mk { background: none; color: inherit; cursor: pointer; text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; border-radius: 3px; padding: 0 1px; }
.nse .specimen .mk { display: inline; padding: 9px 2px; background-clip: content-box; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nse .mk-deletion { text-decoration-style: dashed; text-decoration-color: var(--del); }
.nse .mk-generalization { text-decoration-style: double; text-decoration-color: var(--gen); text-decoration-thickness: 1.5px; }
.nse .mk-distortion { text-decoration-style: wavy; text-decoration-color: var(--dis); text-decoration-thickness: 1.5px; }
.nse .mk-multi::after { content: "+"; font-family: var(--font-mono); font-size: .45em; vertical-align: super; color: var(--muted); margin-left: 1px; }
.nse .mk:hover, .nse .mk.on { background: var(--accent-soft); }
.nse .mk-deletion.on { background: var(--del-soft); }
.nse .mk-generalization.on { background: var(--gen-soft); }
.nse .mk-distortion.on { background: var(--dis-soft); }
.nse .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.nse .legend span { display: inline-flex; gap: 8px; align-items: baseline; }
.nse .legend b { font-weight: 400; font-family: var(--font-display); font-size: 17px; color: var(--ink); text-decoration-line: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nse .legend .d b { text-decoration-style: dashed; text-decoration-color: var(--del); }
.nse .legend .g b { text-decoration-style: double; text-decoration-color: var(--gen); text-decoration-thickness: 1.5px; }
.nse .legend .x b { text-decoration-style: wavy; text-decoration-color: var(--dis); text-decoration-thickness: 1.5px; }
.nse .profile { display: grid; gap: 10px; }
.nse .prow { display: grid; grid-template-columns: 112px minmax(0, 1fr) 24px; gap: 10px; align-items: center; font-size: 15px; }
.nse .bar { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.nse .bar i { display: block; height: 100%; border-radius: 99px; transition: width .25s ease; }
.nse .prow .num { font-family: var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }
.nse .finding { border: 1px solid var(--rule); border-left: 4px solid var(--fam, var(--rule)); border-radius: 8px; padding: 12px 14px; display: grid; gap: 6px; background: var(--surface); transition: box-shadow .2s, transform .2s; }
.nse .finding.on { box-shadow: 0 0 0 3px var(--accent-soft); }
.nse .finding .hd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; align-items: baseline; }
.nse .finding .nm { font-weight: 700; }
.nse .finding .hit { font-family: var(--font-mono); font-size: 15px; color: var(--fam); }
.nse .finding ul { margin: 0; padding-left: 18px; }
.nse .finding li { font-family: var(--font-display); font-size: 17px; }
.nse .fam-deletion { --fam: var(--del); }
.nse .fam-generalization { --fam: var(--gen); }
.nse .fam-distortion { --fam: var(--dis); }
.nse .empty { color: var(--muted); font-style: italic; }
.nse .dial { display: grid; gap: 10px; }
.nse .dial input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.nse .ticks { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 15px; color: var(--muted); text-align: center; gap: 4px; }
.nse .ticks button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: inherit; font: inherit; line-height: 1.3; }
.nse .ticks button.on { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.nse .ends { display: flex; justify-content: space-between; gap: 12px; }
.nse .ends span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nse .out { display: grid; gap: 14px; }
.nse .out .line { display: grid; gap: 4px; }
.nse .out.meta .txt { font-family: var(--font-body); font-weight: 700; font-size: 18px; }
.nse .out.meta .line { padding-left: 22px; position: relative; }
.nse .out.meta .line::before { content: "?"; position: absolute; left: 0; top: 0; font-family: var(--font-mono); color: var(--accent); font-weight: 600; font-size: 17px; }
.nse .out.raw .txt { font-family: var(--font-display); font-size: 24px; }
.nse .out.milton .txt { font-family: var(--font-display); font-style: italic; font-size: 21px; line-height: 1.55; }
.nse .emb { font-style: normal; font-weight: 600; color: var(--accent); }
.nse .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.nse .tag { font-family: var(--font-mono); font-size: 13px; border: 1px solid var(--rule); border-radius: 4px; padding: 1px 6px; color: var(--muted); }
.nse .som-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 20px; align-items: start; }
@media (max-width: 1040px) {
.nse .som-layout { grid-template-columns: minmax(0, 1fr); }
.nse #som-side { order: -1; }
}
.nse .ring { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin: 0 auto; }
.nse .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nse .ring .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; text-align: center; display: grid; gap: 8px; }
.nse .ring .core .belief { max-height: 8em; overflow: auto; font-family: var(--font-display); font-size: clamp(16px, 2vw, 20px); line-height: 1.35; }
.nse .xy { display: grid; gap: 3px; font-size: 15px; }
.nse .slot { font-family: inherit; font-size: 1em; border-radius: 4px; padding: 0 4px; }
.nse .slot.x { background: var(--del-soft); color: var(--del); }
.nse .slot.y { background: var(--dis-soft); color: var(--dis); }
.nse .node { position: absolute; transform: translate(-50%, -50%); width: clamp(72px, 17%, 104px); padding: 6px 6px; border-radius: 8px; border: 1px solid var(--rule); background: var(--surface); font-size: 14px; line-height: 1.2; font-weight: 700; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.nse .node small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.nse .node:hover { border-color: var(--ink); }
.nse .node.on { background: var(--accent); color: #FFFFFF; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tram); }
.nse .node.on small { color: inherit; opacity: .7; }
.nse .ring.hide-names .node .nmtxt { visibility: hidden; }
.nse .som-layout.practice { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
@media (max-width: 640px) {
.nse .ring { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nse .ring svg { display: none; }
.nse .ring .core { position: static; transform: none; width: auto; grid-column: 1 / -1; text-align: left; background: var(--bg); border-radius: 8px; padding: 12px; margin-bottom: 4px; }
.nse .node { position: static; transform: none; width: auto; text-align: left; font-size: 15px; padding: 10px 12px; }
.nse .node small { font-size: 12px; }
}
.nse .reframe { display: grid; gap: 12px; }
.nse .reframe .say { font-family: var(--font-display); font-size: 21px; line-height: 1.45; }
.nse .reframe .move { color: var(--muted); font-size: 15px; }
.nse .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nse .seg { display: inline-flex; max-width: 100%; min-width: 0; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.nse .seg button { flex: 1 1 auto; border: 0; background: transparent; padding: 7px 12px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--muted); }
.nse .seg button[aria-pressed="true"] { background: var(--accent); color: #FFFFFF; }
.nse .quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nse .quiz-opts button { text-align: left; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); cursor: pointer; font-weight: 700; font-size: 15px; }
.nse .quiz-opts button.right { border-color: var(--del); background: var(--del-soft); }
.nse .quiz-opts button.wrong { border-color: var(--dis); background: var(--dis-soft); }
.nse .score { font-family: var(--font-body); font-size: 15px; line-height: 1.5; color: var(--muted); font-variant-numeric: tabular-nums; }
.nse .xyfields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
@media (max-width: 560px) {
.nse .xyfields, .nse .quiz-opts { grid-template-columns: minmax(0, 1fr); }
}
.nse .field { display: grid; gap: 4px; }
.nse .field label { font-size: 15px; color: var(--muted); }
.nse .stage { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r); overflow: hidden; background: var(--night); display: grid; place-items: center; }
.nse .stage canvas { width: 100%; height: 100%; display: block; transition: filter .7s ease, transform .7s ease; transform-origin: 50% 46%; }
.nse .stage .frame { position: absolute; inset: 0; pointer-events: none; }
.nse .waves { display: flex; align-items: center; gap: 3px; height: 54px; }
.nse .waves i { flex: 1; background: var(--accent); border-radius: 2px; min-height: 2px; opacity: .8; }
.nse .sliders { display: grid; gap: 12px; }
.nse .sl { display: grid; grid-template-columns: 88px minmax(0, 1fr) 60px; gap: 10px; align-items: center; font-size: 15px; }
.nse .sl input { width: 100%; accent-color: var(--accent); }
.nse .sl output { font-family: var(--font-mono); font-size: 13px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.nse .gauge { display: grid; gap: 6px; }
.nse .gauge .big { font-family: var(--font-display); font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.nse .gauge .big small { font-size: 18px; color: var(--muted); }
.nse .gtrack { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--del), var(--gen), var(--dis)); position: relative; }
.nse .gtrack i { position: absolute; top: -4px; width: 4px; height: 18px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); transition: left .2s; }
.nse .gtrack b { position: absolute; top: -4px; width: 2px; height: 18px; background: var(--muted); transform: translateX(-50%); }
.nse .steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.nse .sm-ends { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.nse .field-l { font-size: 15px; color: var(--muted); }
.nse .big-num { font-family: var(--font-display); font-size: 26px; color: var(--accent); text-align: right; }
.nse .steps-dots { display: inline-flex; gap: 5px; }
.nse .steps-dots i { width: 18px; height: 6px; border-radius: 3px; background: var(--rule); }
.nse .steps-dots i.done { background: var(--accent); }
.nse .steps-dots i.now { background: var(--tram); box-shadow: 0 0 0 1.5px var(--night); }
.nse .seg button + button { border-left: 1px solid var(--rule); }
.nse .seg button:focus-visible { outline-offset: -3px; }
@media (max-width: 560px) {
.nse .seg.stack-sm { flex-direction: column; width: 100%; }
.nse .seg.stack-sm button + button { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
.nse .levers li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.nse .safety { font-size: 15px; color: var(--ink); background: var(--sand); border-radius: 8px; padding: 10px 12px; }
.nse ::placeholder { color: #6B7683; opacity: 1; }
.nse .levers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nse .levers li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 12px; background: var(--accent-soft); border-radius: 8px; }
.nse .compare { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.nse .sm-choices .chip { font-size: 15px; padding: 8px 14px; }
.nse .do { font-family: var(--font-display); font-size: 21px; line-height: 1.4; color: var(--ink); }
.nse .linkish { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; justify-self: start; }
.nse .switch { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; }
.nse .lib-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 18px; }
.nse select { border: 1px solid var(--rule); background: var(--surface); border-radius: 8px; padding: 7px 10px; }
.nse .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.nse .card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 18px; display: grid; gap: 10px; align-content: start; position: relative; }
.nse .card .fam { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.nse .card .fam .label { color: var(--fam, var(--muted)); }
.nse .card .swatch { display: block; width: 38px; border-top: 3px solid var(--fam); }
.nse .card .swatch.mk-generalization { border-top-style: double; border-top-width: 5px; }
.nse .card .swatch.mk-deletion { border-top-style: dashed; }
.nse .card h3 { font-size: 21px; }
.nse .card .def { color: var(--muted); font-size: 15px; }
.nse .card .ex { border-top: 1px dashed var(--rule); padding-top: 10px; display: grid; gap: 4px; }
.nse .card .ex .s { font-family: var(--font-display); font-size: 17px; }
.nse .card .ex .r { font-weight: 700; font-size: 15px; }
.nse .card .ex .r::before { content: "\2192  "; color: var(--accent); }
.nse .cue { font-family: var(--font-mono); font-size: 15px; background: var(--bg); border-radius: 4px; padding: 2px 6px; }
.nse .matrix { font-size: 15px; color: var(--muted); }
.nse .matrix b { color: var(--ink); font-variant-numeric: tabular-nums; }
.nse .badge { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: var(--tram); color: var(--night); font-size: 11px; font-weight: 700; text-align: center; line-height: 18px; }
.nse .carry { gap: 6px; }
.nse .btn.danger { background: var(--dis); border-color: var(--dis); }
.nse .entry { display: grid; gap: 8px; }
.nse .entry .hd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: baseline; }
.nse .entry .txt { font-family: var(--font-display); font-size: 19px; line-height: 1.45; overflow-wrap: anywhere; }
.nse .entry ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.nse .entry .meta { font-size: 15px; color: var(--muted); }
.nse .toast button { background: none; border: 0; color: var(--tram); font-weight: 700; margin-left: 10px; cursor: pointer; }
.nse .toast { z-index: 9999; position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 8px 14px; border-radius: 8px; font-size: 15px; z-index: 20; }
.nse footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: 15px; }
.nse footer .wrap { padding-block: 20px; }
@media (prefers-reduced-motion: reduce) {
.nse, .nse * { transition: none !important; }
} .nse h2, .nse h3 { margin: 0; color: var(--ink); letter-spacing: normal; text-transform: none; }
.nse p, .nse ul, .nse ol { margin-block: 0; }
.nse button { text-transform: none; letter-spacing: normal; box-shadow: none; line-height: 1.3; min-height: 0; }
.nse mark { color: inherit; }
.nse a, .nse a:hover, .nse a:focus { text-decoration: none; }
.nse h3 { font-size: 1.2rem; font-family: var(--font-display); }
.nse input[type="range"] { padding: 0; border: 0; background: transparent; box-shadow: none; min-height: 0; margin: 0; }
.nse { scroll-margin-top: var(--nse-offset, 90px); }
.nse[data-nse]:not([data-nse-mounted]) { min-height: 640px; }
.nse .nse-loading { color: var(--muted); padding: 24px 0; }
.nse .wrap { max-width: none; padding-left: 0; padding-right: 0; margin: 0; }
.nse .nse-main .wrap { padding-block: 24px 8px; }
.nse .tabs { position: static; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.nse .tabs .wrap { padding-inline: 6px; }
.nse { font-size: 1rem; line-height: 1.55; background: transparent; }
.nse .nse-note { color: var(--muted); font-size: 13px; padding-block: 12px 0; max-width: 70ch; }
.nse .ends span:first-child { color: var(--accent); }
.nse .ends span:last-child { color: var(--dis); }
.nse-pick { box-shadow: 0 0 0 3px var(--tram); }
.nse[data-view]:not([data-view="all"]) .needs-nav { display: none !important; }
.nse .subnav { position: static; }
.nse #nav-groups, .nse #nav-tools { -webkit-mask-image: none; mask-image: none; }