/* =========================================================================
   NursingStudy Paper Examples — front end (v1.3)

   Everything is scoped to #nspe-app. The ID outranks theme / Elementor kit
   selectors, so headings, links, buttons and lists render the same on any
   theme. The paper itself is US Letter, 1" margins, 12pt Times, double-spaced.
   ========================================================================= */

#nspe-app {
	--ink: #14213d;
	--ink-2: #33415c;
	--muted: #5a6474;
	--line: #dce1e7;
	--line-soft: #eceff3;
	--surface: #ffffff;
	--soft: #f5f7f9;
	--desk: #e6e9ed;
	--chrome: #f3f4f6;
	--word: #2b579a;
	--word-dark: #1f4378;
	--scrub: #127c74;
	--scrub-dark: #0d5f59;
	--scrub-soft: #e3f2f0;
	--ok: #11795f;
	--ok-soft: #e6f4ef;
	--focus: #3b82f6;
	--brand-font: inherit;
	--ui-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
	--paper-font: "Times New Roman", "NSPE Tinos", Tinos, Times, serif;
	--top: 0px;              /* sticky offset: admin bar / fixed theme header */
	--bar-h: 82px;           /* title bar + ribbon */
	--status-h: 30px;

	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 0 72px;
	color: var(--ink);
	font-family: var(--brand-font);
	font-size: 16px;
	line-height: 1.55;
	font-weight: 400;
	letter-spacing: normal;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.admin-bar #nspe-app { --top: 32px; }
@media (max-width: 782px) { .admin-bar #nspe-app { --top: 46px; } }
@media (max-width: 600px) { .admin-bar #nspe-app { --top: 0px; } }
body.nspe { overflow-x: clip; }

/* ---------- scoped reset ---------- */
#nspe-app *, #nspe-app *::before, #nspe-app *::after { box-sizing: border-box; }
#nspe-app :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, dt, figure, blockquote, form, fieldset, details, summary) { margin: 0; padding: 0; border: 0; background: none; }
#nspe-app :where(h1, h2, h3, h4, h5, h6) { font: inherit; font-weight: 700; color: inherit; line-height: 1.25; letter-spacing: normal; text-transform: none; }
#nspe-app :where(ul, ol) { list-style: none; }
#nspe-app :where(a) { color: inherit; text-decoration: none; box-shadow: none; border: 0; background: none; transition: none; }
#nspe-app :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-transform: none; letter-spacing: normal; border-radius: 0; box-shadow: none; min-height: 0; min-width: 0; line-height: inherit; width: auto; height: auto; }
#nspe-app :where(input, select, textarea) { font: inherit; color: inherit; margin: 0; box-shadow: none; text-transform: none; letter-spacing: normal; }
#nspe-app :where(img) { max-width: 100%; height: auto; border: 0; box-shadow: none; border-radius: 0; }
#nspe-app :where(small) { font-size: inherit; }
/* Themes often size bare p/li/label; ours inherit from the component they sit in */
#nspe-app :where(p, li, dt, dd, label, summary, blockquote, figcaption, td, th, span) { font-size: inherit; }
#nspe-app :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
#nspe-app .nspe-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shells: centred on the viewport, even inside a narrow theme container ---------- */
#nspe-app .nspe-shell { --w: min(1600px, calc(100vw - 48px)); width: var(--w); margin-left: calc(50% - var(--w) / 2); margin-right: 0; }
#nspe-app .nspe-shell--wide { --w: min(1760px, calc(100vw - 32px)); }
#nspe-app .nspe-shell--narrow { --w: min(920px, calc(100vw - 40px)); }
@media (max-width: 640px) {
	#nspe-app .nspe-shell { --w: calc(100vw - 32px); }
	#nspe-app .nspe-shell--wide { --w: 100vw; }
}

/* ---------- breadcrumbs (ours or Rank Math's) ---------- */
#nspe-app .nspe-crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 14px; }
#nspe-app .nspe-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
#nspe-app .nspe-crumbs li + li::before { content: "/"; margin-right: 6px; color: #a3abb7; }
#nspe-app .nspe-crumbs a { color: var(--muted); }
#nspe-app .nspe-crumbs a:hover { color: var(--ink); text-decoration: underline; }
#nspe-app .nspe-crumbs p { margin: 0; font-size: inherit; }
#nspe-app .nspe-crumbs .separator { color: #a3abb7; margin: 0 4px; }
#nspe-app .nspe-crumbs .last { color: var(--ink-2); }

/* ---------- buttons ---------- */
#nspe-app .nspe-button, #nspe-app .nspe-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px; border-radius: 10px;
	font-family: var(--brand-font); font-size: 15px; font-weight: 650; line-height: 1.2; text-decoration: none; text-align: center;
	color: var(--ink); background: var(--surface); border: 1px solid var(--line); cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
#nspe-app .nspe-button:hover { border-color: #b8c1cc; background: var(--soft); }
#nspe-app .nspe-button--primary, #nspe-app .nspe-btn { background: var(--scrub); border-color: var(--scrub); color: #fff; }
#nspe-app .nspe-button--primary:hover, #nspe-app .nspe-btn:hover { background: var(--scrub-dark); border-color: var(--scrub-dark); color: #fff; }
#nspe-app .nspe-button--word { background: var(--word); border-color: var(--word); color: #fff; }
#nspe-app .nspe-button--word:hover { background: var(--word-dark); border-color: var(--word-dark); color: #fff; }
#nspe-app .nspe-button--light { background: #fff; border-color: #fff; color: var(--ink); }
#nspe-app .nspe-button--light:hover { background: #eef2f6; border-color: #eef2f6; }
#nspe-app .nspe-button--quiet { background: var(--surface); }
#nspe-app .nspe-button--block, #nspe-app .nspe-btn--block { display: flex; width: 100%; }
#nspe-app .nspe-button:has(small) { flex-direction: column; gap: 2px; padding-block: 10px; }
#nspe-app .nspe-button small { font-size: 12.5px; font-weight: 500; opacity: .85; }
#nspe-app .nspe-wordmark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: var(--word); color: #fff; font: 800 12px/1 var(--ui-font); }
#nspe-app .nspe-quote { font: 700 24px/0 Georgia, "Times New Roman", serif; color: var(--scrub); transform: translateY(5px); }

/* =========================================================================
   Page header
   ========================================================================= */
#nspe-app .nspe-head { padding-bottom: 28px; }
#nspe-app .nspe-head.nspe-shell { --w: min(1320px, calc(100vw - 48px)); }
#nspe-app .nspe-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px 48px; align-items: end; }
#nspe-app .nspe-head__title { font-family: var(--brand-font); font-size: clamp(30px, 3.1vw, 50px); font-weight: 800; line-height: 1.08; letter-spacing: -0.022em; color: var(--ink); max-width: 30ch; text-wrap: balance; }
#nspe-app .nspe-head__summary { margin-top: 16px; max-width: 70ch; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
#nspe-app .nspe-head__actions { display: grid; gap: 10px; }
#nspe-app .nspe-head__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#nspe-app .nspe-head__secondary .nspe-button { white-space: nowrap; padding-inline: 12px; }
#nspe-app .nspe-head__intro { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px 48px; margin-top: 26px; align-items: start; }
#nspe-app .nspe-head__intro:not(:has(.nspe-brief)) { grid-template-columns: minmax(0, 1fr); }
#nspe-app .nspe-head__overview { max-width: 72ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
#nspe-app .nspe-head__overview p + p { margin-top: .8em; }
#nspe-app .nspe-badge { display: inline-block; margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 650; vertical-align: 2px; white-space: nowrap; }

/* Byline */
#nspe-app .nspe-byline { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; font-size: 15px; color: var(--muted); }
#nspe-app .nspe-byline__item { display: inline-flex; align-items: center; gap: 10px; }
#nspe-app .nspe-byline__item img, #nspe-app .nspe-byline__ini { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
#nspe-app .nspe-byline__ini { display: inline-grid; place-items: center; background: var(--scrub-soft); color: var(--scrub); font-weight: 700; }
#nspe-app .nspe-byline a { color: var(--ink); font-weight: 650; }
#nspe-app .nspe-byline a:hover { text-decoration: underline; }

/* Assignment instructions — styled like a Word comment balloon */
#nspe-app .nspe-brief { border: 1px solid #f0d9a8; background: #fff8e6; border-radius: 10px; padding: 14px 18px; font-size: 15px; line-height: 1.6; }
#nspe-app .nspe-brief summary { cursor: pointer; font-weight: 700; color: #7a5300; list-style: none; display: flex; align-items: center; gap: 8px; }
#nspe-app .nspe-brief summary::-webkit-details-marker { display: none; }
#nspe-app .nspe-brief summary::before { content: ""; width: 14px; height: 12px; border: 2px solid #b47b00; border-radius: 3px; flex: none; }
#nspe-app .nspe-brief[open] summary { margin-bottom: 8px; }
#nspe-app .nspe-brief__body { color: #4a3a12; }
#nspe-app .nspe-brief__body p + p { margin-top: .6em; }

@media (max-width: 1024px) {
	#nspe-app .nspe-head__grid, #nspe-app .nspe-head__intro { grid-template-columns: minmax(0, 1fr); }
	#nspe-app .nspe-head__actions { max-width: 520px; }
}

/* =========================================================================
   The Word window
   ========================================================================= */
#nspe-app .nspe-win {
	position: relative;
	border: 1px solid #c8cfd8; border-radius: 14px;
	background: var(--desk);
	box-shadow: 0 24px 60px -24px rgba(20, 33, 61, .28);
	font-family: var(--ui-font);
	overflow: clip;
}
#nspe-app .nspe-win__top { position: sticky; top: var(--top); z-index: 6; }
#nspe-app .nspe-win__bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px 0 14px; background: var(--word); color: #fff; font-size: 13.5px; }
#nspe-app .nspe-win__logo { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; background: #fff; color: var(--word); font-weight: 800; font-size: 13px; flex: none; }
#nspe-app .nspe-win__file { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#nspe-app .nspe-win__state { padding: 2px 8px; border-radius: 5px; background: rgba(255, 255, 255, .16); font-size: 12px; white-space: nowrap; }
#nspe-app .nspe-win__spacer { flex: 1; }
#nspe-app .nspe-win__tool { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 6px; color: #fff; background: rgba(255, 255, 255, .12); font: 600 13px/1 var(--ui-font); white-space: nowrap; }
#nspe-app .nspe-win__tool:hover { background: rgba(255, 255, 255, .24); }
#nspe-app .nspe-win__tool--solid { background: #fff; color: var(--word); }
#nspe-app .nspe-win__tool--solid:hover { background: #e8eef8; }
#nspe-app .nspe-win__outline { display: none; padding: 0 9px; }
#nspe-app .nspe-win__ribbon { display: flex; align-items: center; height: 36px; padding: 0 12px; background: var(--chrome); border-bottom: 1px solid #d6dae0; font-size: 13px; color: #3c4350; }
#nspe-app .nspe-win__tabs { display: flex; height: 100%; }
#nspe-app .nspe-win__tabs span { display: inline-flex; align-items: center; padding: 0 12px; }
#nspe-app .nspe-win__tabs .is-active { color: var(--word); font-weight: 600; box-shadow: inset 0 -2px 0 var(--word); }
#nspe-app .nspe-zoom { display: inline-flex; align-items: center; border: 1px solid #cfd5dd; border-radius: 6px; background: #fff; overflow: hidden; }
#nspe-app .nspe-zoom button { height: 26px; min-width: 28px; padding: 0 8px; font: 600 13px/1 var(--ui-font); color: #3c4350; }
#nspe-app .nspe-zoom button:hover { background: var(--soft); }
#nspe-app .nspe-zoom__value { min-width: 54px; border-inline: 1px solid #e2e6eb; }

/* Icons drawn in CSS (no icon font) */
#nspe-app .nspe-ico { position: relative; display: inline-block; width: 14px; height: 14px; flex: none; }
#nspe-app .nspe-ico--expand::before, #nspe-app .nspe-ico--expand::after { content: ""; position: absolute; width: 6px; height: 6px; border: 2px solid currentColor; }
#nspe-app .nspe-ico--expand::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
#nspe-app .nspe-ico--expand::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
#nspe-app .nspe-win.is-full .nspe-ico--expand::before { top: 3px; left: 3px; border: 2px solid currentColor; border-left: 0; border-top: 0; }
#nspe-app .nspe-win.is-full .nspe-ico--expand::after { right: 3px; bottom: 3px; border: 2px solid currentColor; border-right: 0; border-bottom: 0; }
#nspe-app .nspe-ico--list { width: 16px; height: 12px; border-block: 2px solid currentColor; }
#nspe-app .nspe-ico--list::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

/* Body: navigation pane | desk | details pane */
#nspe-app .nspe-win__body { display: grid; grid-template-columns: 264px minmax(0, 1fr) 330px; align-items: start; }
#nspe-app .nspe-pane {
	position: sticky; top: calc(var(--top) + var(--bar-h));
	max-height: calc(100vh - var(--top) - var(--bar-h) - var(--status-h));
	overflow: auto; overscroll-behavior: contain;
	background: #fafbfc; font-family: var(--ui-font); font-size: 14px; color: #2f3744;
}
#nspe-app .nspe-pane--nav { border-right: 1px solid #d6dae0; padding: 14px 12px 20px; }
#nspe-app .nspe-pane--props { border-left: 1px solid #d6dae0; padding: 0; }
#nspe-app .nspe-pane__head { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 10px; }
#nspe-app .nspe-pane__title { display: block; font: 700 14px/1.3 var(--ui-font); color: var(--ink); }
#nspe-app .nspe-pane__close { display: none; width: 30px; height: 30px; border-radius: 6px; font-size: 22px; line-height: 1; color: var(--muted); }
#nspe-app .nspe-pane__close:hover { background: var(--line-soft); }
#nspe-app .nspe-pane__empty { margin: 8px 6px; color: var(--muted); font-size: 13.5px; }

#nspe-app .nspe-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; margin-bottom: 12px; border-radius: 8px; background: #e9ecf0; }
#nspe-app .nspe-seg button { height: 28px; border-radius: 6px; font: 600 13px/1 var(--ui-font); color: #4b5563; }
#nspe-app .nspe-seg button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 33, 61, .12); }

#nspe-app .nspe-toc { display: grid; gap: 1px; }
#nspe-app .nspe-toc a { display: block; padding: 7px 10px; border-radius: 6px; line-height: 1.35; color: #2f3744; border-left: 3px solid transparent; }
#nspe-app .nspe-toc a:hover { background: #eef1f5; }
#nspe-app .nspe-toc a.is-current { background: #e8eef8; color: var(--word-dark); border-left-color: var(--word); font-weight: 600; }
#nspe-app .nspe-toc__l3 a { padding-left: 22px; font-size: 13.5px; }
#nspe-app .nspe-toc__l4 a { padding-left: 34px; font-size: 13px; color: var(--muted); }

#nspe-app .nspe-thumbs { display: grid; gap: 14px; padding: 2px 18px; }
#nspe-app .nspe-thumb { display: grid; gap: 6px; justify-items: center; color: var(--muted); font-size: 12.5px; }
#nspe-app .nspe-thumb img, #nspe-app .nspe-thumb__blank { display: block; width: 100%; aspect-ratio: 612 / 792; object-fit: cover; background: #fff; border: 1px solid #d6dae0; box-shadow: 0 1px 3px rgba(20, 33, 61, .1); }
#nspe-app .nspe-thumb__blank { padding: 14% 12%; display: grid; align-content: start; gap: 6px; }
#nspe-app .nspe-thumb__blank i { display: block; height: 4px; border-radius: 2px; background: #e3e7ec; }
#nspe-app .nspe-thumb__blank i:nth-child(3n) { width: 70%; }
#nspe-app .nspe-thumb.is-current img, #nspe-app .nspe-thumb.is-current .nspe-thumb__blank { outline: 3px solid var(--word); outline-offset: 2px; }
#nspe-app .nspe-thumb.is-current { color: var(--word-dark); font-weight: 600; }

/* Details pane */
#nspe-app .nspe-props { padding: 18px 20px; border-bottom: 1px solid #e3e7ec; }
#nspe-app .nspe-props .nspe-pane__title { margin-bottom: 12px; }
#nspe-app .nspe-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 16px; font-size: 14px; }
#nspe-app .nspe-dl dt { color: var(--muted); font-weight: 400; }
#nspe-app .nspe-dl dd { color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
#nspe-app .nspe-dl a { color: var(--word); }
#nspe-app .nspe-dl a:hover { text-decoration: underline; }
#nspe-app .nspe-dl__note { color: var(--muted); font-weight: 400; }
#nspe-app .nspe-points { display: grid; gap: 10px; font-size: 14px; line-height: 1.5; }
#nspe-app .nspe-points li { position: relative; padding-left: 16px; }
#nspe-app .nspe-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--scrub); }
#nspe-app .nspe-props--cta p { margin-bottom: 12px; color: var(--muted); }

/* Quick order (inside the details pane) */
#nspe-app .nspe-qo, #nspe-app .nspe-card-panel.nspe-qo { margin: 16px; border: 0; padding: 18px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--ui-font); }
#nspe-app .nspe-qo .nspe-qo__title { font-family: var(--brand-font); font-weight: 700; font-size: 18px; line-height: 1.25; color: #fff; margin-bottom: 4px; }
#nspe-app .nspe-qo__sub { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .72); margin-bottom: 14px; }
#nspe-app .nspe-qo__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#nspe-app .nspe-qo__field { display: grid; gap: 5px; min-width: 0; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
#nspe-app .nspe-qo__field--full { grid-column: 1 / -1; }
#nspe-app .nspe-qo__field input, #nspe-app .nspe-qo__field select { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font: 500 14px/1.2 var(--ui-font); }
#nspe-app .nspe-qo__field select option { color: var(--ink); background: #fff; }
#nspe-app .nspe-qo__stepper { display: grid; grid-template-columns: 32px 1fr 32px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; overflow: hidden; }
#nspe-app .nspe-qo__stepper input { height: 36px; border: 0; border-radius: 0; text-align: center; -moz-appearance: textfield; }
#nspe-app .nspe-qo__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
#nspe-app .nspe-qo__stepper button { background: rgba(255, 255, 255, .12); color: #fff; font-size: 17px; }
#nspe-app .nspe-qo__stepper button:hover { background: rgba(255, 255, 255, .22); }
#nspe-app .nspe-qo__words { font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, .55); }
#nspe-app .nspe-qo__price { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; margin-top: 2px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: rgba(255, 255, 255, .75); }
#nspe-app .nspe-qo__price strong { font-family: var(--brand-font); font-weight: 750; font-size: 28px; line-height: 1; color: #fff; letter-spacing: -.02em; }
#nspe-app .nspe-qo .nspe-btn { grid-column: 1 / -1; background: #2dd4bf; border-color: #2dd4bf; color: #062b27; font-family: var(--ui-font); }
#nspe-app .nspe-qo .nspe-btn:hover { background: #5eead4; border-color: #5eead4; color: #062b27; }
#nspe-app .nspe-qo__note { grid-column: 1 / -1; font-size: 12px; color: rgba(255, 255, 255, .55); text-align: center; }

/* Desk + paper */
#nspe-app .nspe-desk { min-width: 0; padding: 32px 24px 40px; }
#nspe-app .nspe-canvas { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
#nspe-app .nspe-canvas__zoom { width: 816px; margin: 0 auto; }
#nspe-app .nspe-canvas.is-zoomed .nspe-canvas__zoom { margin: 0; }

#nspe-app .nspe-page {
	position: relative; width: 816px; min-height: 1056px; margin: 0 auto 28px; padding: 96px;
	background: #fff; color: #000;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 2px 4px rgba(0, 0, 0, .06), 0 10px 24px -8px rgba(20, 33, 61, .18);
	font-family: var(--paper-font); font-size: 16px; line-height: 32px; text-align: left;
	text-rendering: optimizeLegibility;
}
#nspe-app .nspe-page:last-child { margin-bottom: 0; }
#nspe-app .nspe-canvas.is-paged .nspe-page { height: 1056px; overflow: hidden; }
#nspe-app .nspe-page__head { position: absolute; top: 48px; left: 96px; right: 96px; display: flex; justify-content: space-between; font-family: var(--paper-font); font-size: 16px; line-height: 1; color: #000; }
#nspe-app .nspe-page__body { position: relative; }

/* Fluid sheet (narrow screens / before pagination) */
#nspe-app .nspe-canvas:not(.is-paged) .nspe-canvas__zoom { width: auto; max-width: 816px; }
#nspe-app .nspe-canvas:not(.is-paged) .nspe-page { width: auto; min-height: 0; padding: clamp(28px, 9vw, 96px); }
#nspe-app .nspe-canvas:not(.is-paged) .nspe-page__head { top: clamp(10px, 4vw, 48px); left: clamp(28px, 9vw, 96px); right: clamp(28px, 9vw, 96px); }

/* Paper typography — locked against theme styles */
#nspe-app .nspe-page :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, figcaption, dd, dt, span, a, em, i, strong, b, cite, td, th) { font-family: var(--paper-font); font-size: 16px; line-height: 32px; letter-spacing: normal; word-spacing: normal; text-transform: none; color: #000; }
#nspe-app .nspe-page :is(p, h1, h2, h3, h4, h5, h6, blockquote, ul, ol, figure, table) { margin: 0; padding: 0; max-width: none; border: 0; background: none; }
#nspe-app .nspe-page :is(sup, sub) { font-size: 11px; line-height: 0; }
#nspe-app .nspe-page a { color: #0563c1; text-decoration: underline; }
#nspe-app .nspe-page--title .nspe-page__body { padding-top: 96px; text-align: center; }
#nspe-app .nspe-page .nspe-tp__title { font-weight: 700; margin-bottom: 32px; text-align: center; }
#nspe-app .nspe-page .nspe-tp__line { text-align: center; }
#nspe-app .nspe-doc { overflow-wrap: break-word; }
#nspe-app .nspe-doc p { text-indent: .5in; }
#nspe-app .nspe-doc .nspe-doc__title { text-align: center; font-weight: 700; text-indent: 0; }
#nspe-app .nspe-doc :is(h1, h2) { text-align: center; font-weight: 700; scroll-margin-top: calc(var(--top) + var(--bar-h) + 16px); }
#nspe-app .nspe-doc h3 { font-weight: 700; scroll-margin-top: calc(var(--top) + var(--bar-h) + 16px); }
#nspe-app .nspe-doc h4 { font-weight: 700; font-style: italic; scroll-margin-top: calc(var(--top) + var(--bar-h) + 16px); }
#nspe-app .nspe-doc h5 { font-weight: 700; text-indent: .5in; }
#nspe-app .nspe-doc h6 { font-weight: 700; font-style: italic; text-indent: .5in; }
#nspe-app .nspe-doc ul { list-style: disc; margin-left: .5in; padding-left: .25in; }
#nspe-app .nspe-doc ol { list-style: decimal; margin-left: .5in; padding-left: .25in; }
#nspe-app .nspe-doc li { display: list-item; }
#nspe-app .nspe-doc li p { text-indent: 0; }
#nspe-app .nspe-doc blockquote { margin-left: .5in; font-style: normal; quotes: none; }
#nspe-app .nspe-doc blockquote::before, #nspe-app .nspe-doc blockquote::after { content: none; }
#nspe-app .nspe-doc blockquote p { text-indent: 0; }
#nspe-app .nspe-doc img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
#nspe-app .nspe-doc figure { text-align: center; }
#nspe-app .nspe-doc figcaption { font-style: italic; text-align: left; }
#nspe-app .nspe-doc table { width: 100%; border-collapse: collapse; border-top: 1px solid #000; border-bottom: 1px solid #000; }
#nspe-app .nspe-doc :is(td, th) { line-height: 1.5; padding: 4px 6px; vertical-align: top; text-align: left; border: 0; }
#nspe-app .nspe-doc th { border-bottom: 1px solid #000; font-weight: 700; }
#nspe-app .nspe-doc .wp-block-table { overflow-x: auto; }
#nspe-app .nspe-doc :is(strong, b) { font-weight: 700; }
#nspe-app .nspe-doc :is(em, i, cite) { font-style: italic; }
#nspe-app .nspe-doc .nspe-cont { text-indent: 0; }
#nspe-app .nspe-refs h2 { text-align: center; font-weight: 700; }
#nspe-app .nspe-refs :is(p, li) { text-indent: -.5in; padding-left: .5in; list-style: none; overflow-wrap: anywhere; }
#nspe-app .nspe-refs :is(ul, ol) { margin: 0; padding: 0; list-style: none; }

/* In-paper CTAs (gutter between pages, or inline on the fluid sheet) */
#nspe-app .nspe-incta { display: flex; align-items: center; gap: 16px; max-width: 816px; margin: 0 auto 28px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid #cfe5e1; border-left: 4px solid var(--scrub); box-shadow: 0 8px 22px -12px rgba(18, 124, 116, .45); text-indent: 0; }
#nspe-app .nspe-canvas:not(.is-paged) .nspe-incta { margin: 20px 0; }
#nspe-app .nspe-incta__icon { display: none; }
#nspe-app .nspe-incta__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
#nspe-app .nspe-incta .nspe-incta__h { font: 700 16px/1.35 var(--ui-font); color: var(--ink); }
#nspe-app .nspe-incta .nspe-incta__t { font: 400 14.5px/1.45 var(--ui-font); color: var(--muted); }
#nspe-app .nspe-incta .nspe-incta__btn { flex: none; min-height: 40px; padding: 9px 16px; font: 650 14.5px/1.2 var(--ui-font); color: #fff; text-decoration: none; white-space: nowrap; }

/* Status bar */
#nspe-app .nspe-win__status { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 22px; height: var(--status-h); padding: 0 14px; background: var(--chrome); border-top: 1px solid #d6dae0; font-size: 12.5px; color: #4b5563; }

/* Medium: hide the navigation pane (opens as a drawer from the Outline button) */
@media (max-width: 1360px) {
	#nspe-app .nspe-win__body { grid-template-columns: minmax(0, 1fr) 320px; }
	#nspe-app .nspe-win__outline { display: inline-flex; }
	#nspe-app .nspe-pane--nav { display: none; }
}
/* Narrow: details pane drops under the paper */
@media (max-width: 1024px) {
	#nspe-app .nspe-win__body { grid-template-columns: minmax(0, 1fr); }
	#nspe-app .nspe-pane--props { position: static; max-height: none; overflow: visible; border-left: 0; border-top: 1px solid #d6dae0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	#nspe-app .nspe-props { border-bottom: 0; }
	#nspe-app .nspe-win__tabs { display: none; }
}
@media (max-width: 640px) {
	#nspe-app .nspe-win { border-radius: 0; border-inline: 0; }
	#nspe-app .nspe-desk { padding: 16px 10px 24px; }
	#nspe-app .nspe-win__top [data-nspe="cite-open"], #nspe-app .nspe-win__top [data-nspe="download-open"],
	#nspe-app .nspe-win__state, #nspe-app .nspe-win__tool--wide, #nspe-app .nspe-win__fs-label, #nspe-app .nspe-win__lang, #nspe-app .nspe-zoom { display: none; }
	#nspe-app .nspe-win__ribbon { height: 0; border: 0; overflow: hidden; }
	#nspe-app { --bar-h: 46px; }
	#nspe-app .nspe-incta { flex-wrap: wrap; }
	#nspe-app .nspe-incta .nspe-incta__btn { width: 100%; }
}
/* Navigation drawer (medium and narrow) */
#nspe-app .nspe-win.nav-open .nspe-pane--nav { display: block; position: fixed; top: 0; bottom: 0; left: 0; z-index: 100001; width: min(320px, 86vw); max-height: none; box-shadow: 20px 0 50px rgba(20, 33, 61, .25); padding-top: calc(var(--top) + 14px); }
#nspe-app .nspe-win.nav-open .nspe-pane__close { display: inline-grid; place-items: center; }
#nspe-app .nspe-scrim { position: fixed; inset: 0; z-index: 100000; background: rgba(20, 33, 61, .35); }

/* Full screen reading */
#nspe-app .nspe-win.is-full { position: fixed; inset: 0; z-index: 99999; width: auto; margin: 0; border-radius: 0; border: 0; display: flex; flex-direction: column; }
#nspe-app .nspe-win:fullscreen { width: 100vw; height: 100vh; margin: 0; border-radius: 0; border: 0; display: flex; flex-direction: column; }
#nspe-app .nspe-win.is-full .nspe-win__top, #nspe-app .nspe-win:fullscreen .nspe-win__top { position: static; }
#nspe-app .nspe-win.is-full .nspe-win__body, #nspe-app .nspe-win:fullscreen .nspe-win__body { flex: 1; min-height: 0; height: 100%; align-items: stretch; }
#nspe-app .nspe-win.is-full .nspe-pane, #nspe-app .nspe-win:fullscreen .nspe-pane { position: static; max-height: none; height: 100%; }
#nspe-app .nspe-win.is-full .nspe-desk, #nspe-app .nspe-win:fullscreen .nspe-desk { height: 100%; overflow: auto; }
#nspe-app .nspe-win.is-full .nspe-win__status, #nspe-app .nspe-win:fullscreen .nspe-win__status { position: static; }
#nspe-app .nspe-win.is-full .nspe-doc :is(h1, h2, h3, h4) { scroll-margin-top: 16px; }
body.nspe-noscroll { overflow: hidden; }

/* =========================================================================
   Below the paper
   ========================================================================= */
#nspe-app .nspe-after { display: grid; gap: 28px; padding-top: 32px; }
#nspe-app .nspe-section-title { font-family: var(--brand-font); font-size: 24px; font-weight: 750; letter-spacing: -.01em; color: var(--ink); margin-bottom: 14px; }
#nspe-app .nspe-usage { padding: 2px 0 2px 16px; border-left: 3px solid var(--line); font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* Word file card */
#nspe-app .nspe-file { display: flex; align-items: center; gap: 20px; padding: 20px 22px; border: 1px solid #d4def0; border-radius: 14px; background: #f3f7fd; }
#nspe-app .nspe-file__body { flex: 1; min-width: 0; }
#nspe-app .nspe-file h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
#nspe-app .nspe-file p { font-size: 14.5px; color: var(--muted); }
#nspe-app .nspe-file p strong { color: var(--ink-2); font-weight: 600; }
#nspe-app .nspe-file__icon { position: relative; flex: none; width: 46px; height: 58px; border-radius: 6px; background: #fff; border: 1px solid #c3d1e8; box-shadow: 0 2px 6px rgba(43, 87, 154, .15); }
#nspe-app .nspe-file__icon::after { content: ""; position: absolute; top: 12px; right: 7px; width: 18px; height: 22px; background: repeating-linear-gradient(#fff 0 3px, #c3d1e8 3px 5px); }
#nspe-app .nspe-file__icon span { position: absolute; left: -9px; bottom: 9px; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--word); color: #fff; font: 800 15px/1 var(--ui-font); }
@media (max-width: 640px) { #nspe-app .nspe-file { flex-wrap: wrap; } #nspe-app .nspe-file .nspe-button { width: 100%; } }

/* Ink band CTA */
#nspe-app .nspe-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border-radius: 14px; background: var(--ink); color: #fff; }
#nspe-app .nspe-band h2 { font-family: var(--brand-font); font-size: 22px; font-weight: 750; line-height: 1.25; color: #fff; margin-bottom: 6px; }
#nspe-app .nspe-band p { color: rgba(255, 255, 255, .78); max-width: 56ch; }
#nspe-app .nspe-band .nspe-button { flex: none; min-width: 210px; }
@media (max-width: 720px) { #nspe-app .nspe-band { flex-direction: column; align-items: stretch; } }

/* Cite box */
#nspe-app .nspe-cite { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
#nspe-app .nspe-cite__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
#nspe-app .nspe-cite .nspe-box__title { font-family: var(--brand-font); font-size: 20px; font-weight: 750; color: var(--ink); }
#nspe-app .nspe-cite__export { display: flex; gap: 14px; }
#nspe-app .nspe-linkbtn { color: var(--word); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#nspe-app .nspe-muted { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
#nspe-app .nspe-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
#nspe-app .nspe-tab { height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); }
#nspe-app .nspe-tab:hover { border-color: #b8c1cc; }
#nspe-app .nspe-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
#nspe-app .nspe-cite__panel { display: grid; gap: 10px; }
#nspe-app .nspe-cite__panel[hidden] { display: none; }
#nspe-app .nspe-cite__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px 16px; align-items: start; padding: 14px 14px 14px 16px; border-radius: 10px; background: var(--soft); }
#nspe-app .nspe-cite__label { padding-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
#nspe-app .nspe-cite__text { font-family: var(--paper-font); font-size: 16.5px; line-height: 1.6; color: #111; overflow-wrap: anywhere; }
#nspe-app .nspe-cite__row:not(.nspe-cite__row--in) .nspe-cite__text { padding-left: .5in; text-indent: -.5in; }
#nspe-app .nspe-cite__text em { font-style: italic; }
#nspe-app .nspe-copy { height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 650; color: var(--ink); }
#nspe-app .nspe-copy:hover { border-color: #b8c1cc; }
#nspe-app .nspe-copy.is-done { background: var(--ok-soft); border-color: #a7dcc8; color: var(--ok); }
@media (max-width: 640px) { #nspe-app .nspe-cite__row { grid-template-columns: minmax(0, 1fr) auto; } #nspe-app .nspe-cite__label { grid-column: 1 / -1; padding: 0; } }

/* FAQ */
#nspe-app .nspe-faq details { border-top: 1px solid var(--line); }
#nspe-app .nspe-faq details:last-of-type { border-bottom: 1px solid var(--line); }
#nspe-app .nspe-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 650; color: var(--ink); }
#nspe-app .nspe-faq summary::-webkit-details-marker { display: none; }
#nspe-app .nspe-faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); }
#nspe-app .nspe-faq details[open] summary::after { content: "\2212"; }
#nspe-app .nspe-faq details p { padding: 0 2px 18px; max-width: 72ch; line-height: 1.7; color: var(--ink-2); }

/* Chips */
#nspe-app .nspe-chips, #nspe-app .nspe-tags { display: flex; flex-wrap: wrap; gap: 8px; }
#nspe-app .nspe-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; line-height: 1.3; color: var(--ink-2); }
#nspe-app .nspe-chip:hover, #nspe-app .nspe-chip.is-active { border-color: var(--scrub); color: var(--scrub-dark); }
#nspe-app .nspe-chip--accent { background: var(--scrub-soft); border-color: transparent; color: var(--scrub-dark); font-weight: 600; }
#nspe-app .nspe-chip--sm { padding: 3px 10px; font-size: 12.5px; }
#nspe-app .nspe-chip__n { font-size: 12px; opacity: .65; }
#nspe-app .nspe-updated { font-size: 13.5px; color: var(--muted); }

/* Related + cards (also used on archives and expert pages) */
#nspe-app .nspe-related { margin-top: 56px; }
#nspe-app .nspe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
#nspe-app .nspe-card__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); transition: border-color .15s ease, box-shadow .15s ease; }
#nspe-app .nspe-card__link:hover { border-color: #b8c1cc; box-shadow: 0 12px 28px -14px rgba(20, 33, 61, .3); }
#nspe-app .nspe-card__sheet { aspect-ratio: 612 / 400; overflow: hidden; background: var(--desk); padding: 16px 22px 0; }
#nspe-app .nspe-card__img { display: block; width: 100%; height: auto; box-shadow: 0 2px 8px rgba(0, 0, 0, .14); }
#nspe-app .nspe-card__snip { display: block; height: 100%; overflow: hidden; padding: 14px 16px 0; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); font-family: var(--paper-font); font-size: 9.5px; line-height: 1.75; color: #3d4350; text-indent: 1.6em; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
#nspe-app .nspe-card__snip b { display: block; margin-bottom: 4px; text-indent: 0; text-align: center; font-size: 10px; font-weight: 700; color: #1c2333; }
#nspe-app .nspe-card__lines { display: block; height: 100%; background: #fff repeating-linear-gradient(#fff 0 18px, #e6e8ec 18px 20px); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
#nspe-app .nspe-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
#nspe-app .nspe-card__meta { font-size: 13px; color: var(--muted); }
#nspe-app .nspe-card__title { font-family: var(--brand-font); font-size: 16.5px; font-weight: 650; line-height: 1.35; color: var(--ink); }
#nspe-app .nspe-card .nspe-chip { align-self: flex-start; }

/* =========================================================================
   Dialogs
   ========================================================================= */
#nspe-app .nspe-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 28px; border: 0; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(20, 33, 61, .35); overflow: auto; font-family: var(--brand-font); }
#nspe-app .nspe-dialog::backdrop { background: rgba(20, 33, 61, .5); backdrop-filter: blur(3px); }
#nspe-app .nspe-dialog__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); font-size: 22px; line-height: 1; color: var(--ink); }
#nspe-app .nspe-dialog__close:hover { background: var(--line-soft); }
#nspe-app .nspe-dialog__title { font-size: 22px; font-weight: 750; margin-bottom: 12px; }
#nspe-app .nspe-cite--dialog { padding: 0; border: 0; }
#nspe-app .nspe-dialog--dl { width: min(460px, calc(100vw - 32px)); text-align: center; }
#nspe-app .nspe-dlform { display: grid; gap: 12px; justify-items: center; }
#nspe-app .nspe-dlform .nspe-file__icon { margin: 4px 0 4px 10px; }
#nspe-app .nspe-dlform__lead { color: var(--muted); font-size: 15px; line-height: 1.5; }
#nspe-app .nspe-dlform__field { width: 100%; display: grid; gap: 6px; text-align: left; font-size: 14px; font-weight: 600; }
#nspe-app .nspe-dlform__field input { width: 100%; height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid #c4ccd6; background: #fff; font-size: 16px; }
#nspe-app .nspe-dlform__field input:focus { outline: 3px solid rgba(43, 87, 154, .25); border-color: var(--word); }
#nspe-app .nspe-dlform__check { display: flex; gap: 8px; align-items: flex-start; width: 100%; text-align: left; font-size: 14px; color: var(--muted); }
#nspe-app .nspe-dlform__check input { margin-top: 4px; }
#nspe-app .nspe-dlform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#nspe-app .nspe-dlform__msg { min-height: 1.2em; font-size: 14.5px; font-weight: 600; }
#nspe-app .nspe-dlform__msg.is-ok { color: var(--ok); }
#nspe-app .nspe-dlform__msg.is-error { color: #b42318; }
#nspe-app .nspe-dlform__fine { font-size: 12.5px; color: var(--muted); }
#nspe-app .nspe-dlform__fine a { text-decoration: underline; }
#nspe-app .nspe-dlform.is-sent :is(.nspe-dlform__field, .nspe-dlform__check, button[type=submit]) { display: none; }

/* =========================================================================
   Archives, collections, experts
   ========================================================================= */
#nspe-app.nspe-wrap { --w: min(1440px, calc(100vw - 48px)); width: var(--w); margin-left: calc(50% - var(--w) / 2); }
@media (max-width: 640px) { #nspe-app.nspe-wrap { --w: calc(100vw - 32px); } }
#nspe-app .nspe-hero { margin-bottom: 28px; }
#nspe-app .nspe-eyebrow { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--scrub); }
#nspe-app .nspe-title { font-family: var(--brand-font); font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
#nspe-app .nspe-archive__intro { max-width: 72ch; font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-bottom: 20px; }
#nspe-app .nspe-search { display: flex; gap: 10px; max-width: 680px; }
#nspe-app .nspe-search input[type=search] { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 10px; border: 1px solid #c4ccd6; background: #fff; font-size: 16px; }
#nspe-app .nspe-search .nspe-btn { min-height: 48px; }
#nspe-app .nspe-filters { display: grid; gap: 12px; margin: 0 0 30px; }
#nspe-app .nspe-filters__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#nspe-app .nspe-filters__label { min-width: 70px; font-size: 14px; font-weight: 650; color: var(--muted); }
#nspe-app .nspe-collections-links { margin-bottom: 24px; align-items: center; }
#nspe-app .nspe-tags__label { font-weight: 650; margin-right: 4px; color: var(--ink-2); }
#nspe-app .nspe-topics { margin-top: 8px; }
#nspe-app .nspe-pagination { margin-top: 36px; }
#nspe-app .nspe-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
#nspe-app .nspe-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; }
#nspe-app .nspe-pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }

#nspe-app .nspe-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
#nspe-app .nspe-side__sticky { position: sticky; top: calc(var(--top) + 24px); display: grid; gap: 16px; }
#nspe-app .nspe-card-panel { padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
#nspe-app .nspe-panel-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
#nspe-app .nspe-takeaways { display: grid; gap: 6px; padding-left: 18px; list-style: disc; font-size: 15px; }
#nspe-app .nspe-side-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
#nspe-app .nspe-side-cta p { color: rgba(255, 255, 255, .78); margin-bottom: 12px; font-size: 14.5px; }
#nspe-app .nspe-side-cta .nspe-side-cta__big { font-size: 20px; font-weight: 750; color: #fff; margin-bottom: 6px; }
@media (max-width: 1024px) { #nspe-app .nspe-layout { grid-template-columns: minmax(0, 1fr); } #nspe-app .nspe-side__sticky { position: static; } }

#nspe-app .nspe-facts { display: flex; flex-wrap: wrap; gap: 10px; }
#nspe-app .nspe-facts li { display: grid; min-width: 96px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
#nspe-app .nspe-facts strong { font-family: var(--brand-font); font-weight: 750; font-size: 22px; line-height: 1.15; color: var(--ink); }
#nspe-app .nspe-facts span { font-size: 13px; color: var(--muted); }

#nspe-app .nspe-xhero { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
#nspe-app .nspe-xhero__photo { width: 168px; height: 168px; border-radius: 32px; overflow: hidden; display: grid; place-items: center; background: var(--scrub-soft); color: var(--scrub); font-size: 64px; font-weight: 800; }
#nspe-app .nspe-xhero__photo img { width: 100%; height: 100%; object-fit: cover; }
#nspe-app .nspe-xhero__name { max-width: none; }
#nspe-app .nspe-xhero__cred { color: var(--muted); font-weight: 600; }
#nspe-app .nspe-xhero__exp { margin-bottom: 16px; font-size: 17px; color: var(--ink-2); }
#nspe-app .nspe-xhero__tags { margin-top: 16px; }
#nspe-app .nspe-xhero__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 15px; }
#nspe-app .nspe-xhero__links a { color: var(--scrub-dark); font-weight: 600; }
#nspe-app .nspe-xhero__verify { padding: 5px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok) !important; }
#nspe-app .nspe-xbio { font-size: 17px; line-height: 1.7; }
#nspe-app .nspe-xbio p + p { margin-top: .8em; }
#nspe-app :is(.nspe-xbio, .nspe-xlist) h2 { font-size: 24px; font-weight: 750; margin-bottom: 12px; }
#nspe-app .nspe-xlist { margin-top: 40px; }
#nspe-app .nspe-xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
#nspe-app .nspe-xcard { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: center; }
#nspe-app .nspe-xcard:hover { border-color: #b8c1cc; }
#nspe-app .nspe-xcard__photo { width: 96px; height: 96px; border-radius: 26px; overflow: hidden; display: grid; place-items: center; margin-bottom: 8px; background: var(--scrub-soft); color: var(--scrub); font-size: 36px; font-weight: 800; }
#nspe-app .nspe-xcard__photo img { width: 100%; height: 100%; object-fit: cover; }
#nspe-app .nspe-xcard__name { font-size: 17px; font-weight: 700; }
#nspe-app .nspe-xcard__role { font-size: 14px; font-weight: 600; color: var(--scrub-dark); }
#nspe-app .nspe-xcard__exp { font-size: 13.5px; color: var(--muted); }
@media (max-width: 720px) {
	#nspe-app .nspe-xhero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	#nspe-app .nspe-xhero__photo { width: 112px; height: 112px; border-radius: 26px; font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	#nspe-app *, #nspe-app *::before, #nspe-app *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Print: just the paper
   ========================================================================= */


/* =========================================================================
   Article layout (blog posts that stay posts)
   A paper on a sheet, with a sticky rail: contents, details, price form.
   ========================================================================= */
#nspe-app.nspe-article-page {
	--read-font: Charter, "Bitstream Charter", "Sitka Text", "Iowan Old Style", Cambria, Georgia, serif;
	--rail-w: 312px;
}
#nspe-app .nspe-art__wrap { --w: min(1180px, calc(100vw - 48px)); width: var(--w); margin-left: calc(50% - var(--w) / 2); margin-right: 0; }
#nspe-app .nspe-preview-bar { --w: min(1180px, calc(100vw - 48px)); width: var(--w); margin: 14px 0 0 calc(50% - var(--w) / 2); padding: 9px 14px; border-radius: 8px; background: #fff8e6; border: 1px solid #f0d9a8; color: #5c4400; font-size: 14px; line-height: 1.45; }
#nspe-app .nspe-preview-bar a { color: #7a4f00; font-weight: 650; text-decoration: underline; }

/* Header */
#nspe-app .nspe-art__head { padding-bottom: 4px; }
#nspe-app .nspe-art__title { max-width: 34ch; }
#nspe-app .nspe-art__head .nspe-head__summary { max-width: 66ch; }
#nspe-app .nspe-art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 18px; }
#nspe-app .nspe-art__meta .nspe-byline { margin-top: 0; }
#nspe-app .nspe-art__date { font-size: 14.5px; color: var(--muted); }
#nspe-app .nspe-art__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
#nspe-app .nspe-art__actions .nspe-button { white-space: nowrap; }
#nspe-app .nspe-art__actions .nspe-button--primary { min-width: 250px; }

/* Two columns: paper + rail */
#nspe-app .nspe-art__grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail-w); gap: 40px; align-items: start; }
#nspe-app .nspe-art__main { display: grid; gap: 22px; min-width: 0; }

/* About this paper */
#nspe-app .nspe-glance { padding: 22px 24px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line-soft); }
#nspe-app .nspe-glance__grid { display: grid; gap: 22px; }
#nspe-app .nspe-glance__grid.has-two { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
#nspe-app .nspe-glance__h { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
#nspe-app .nspe-glance__overview { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
#nspe-app .nspe-glance__overview p + p { margin-top: .7em; }
#nspe-app .nspe-glance__points .nspe-points { font-size: 15px; }
#nspe-app .nspe-glance .nspe-brief { margin-top: 18px; background: #fffaf0; }
#nspe-app .nspe-glance > .nspe-brief:first-child { margin-top: 0; }

/* Contents on small screens */
#nspe-app .nspe-art__toc-mobile { display: none; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
#nspe-app .nspe-art__toc-mobile summary { padding: 13px 16px; font-weight: 650; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
#nspe-app .nspe-art__toc-mobile summary::-webkit-details-marker { display: none; }
#nspe-app .nspe-art__toc-mobile summary::after { content: "+"; color: var(--muted); font-weight: 400; }
#nspe-app .nspe-art__toc-mobile[open] summary::after { content: "−"; }
#nspe-app .nspe-art__toc-mobile .nspe-toc { padding: 0 8px 10px; font-size: 15px; }

/* The sheet: the student's paper, set apart from the page around it */
#nspe-app .nspe-sheet { position: relative; padding: 52px clamp(28px, 6%, 72px) 60px; background: #fff; border: 1px solid #e2e6eb; border-radius: 6px; box-shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 18px 40px -26px rgba(20, 33, 61, .35); }
#nspe-app .nspe-sheet__label { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; }
#nspe-app .nspe-sheet__label span { padding: 3px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line-soft); font-size: 12.5px; font-weight: 600; color: var(--muted); }
#nspe-app .nspe-sheet__title { font-family: var(--read-font); font-size: 23px; line-height: 1.35; font-weight: 700; text-align: center; color: #10182b; max-width: 30ch; margin: 0 auto 30px; text-wrap: balance; }
#nspe-app .nspe-sheet__body, #nspe-app .nspe-sheet__refs { max-width: 70ch; margin: 0 auto; font-family: var(--read-font); font-size: 18.5px; line-height: 1.75; color: #1c2333; overflow-wrap: break-word; }
#nspe-app .nspe-sheet__body > :first-child { margin-top: 0; }
#nspe-app .nspe-sheet__body :where(p) { margin: 0 0 1.05em; }
#nspe-app .nspe-sheet__body :where(h2, h3, h4, h5, h6) { font-family: var(--read-font); color: #10182b; line-height: 1.3; scroll-margin-top: calc(var(--top) + 24px); }
#nspe-app .nspe-sheet__body :where(h2) { font-size: 25px; font-weight: 700; margin: 1.7em 0 .55em; }
#nspe-app .nspe-sheet__body :where(h3) { font-size: 21px; font-weight: 700; margin: 1.4em 0 .45em; }
#nspe-app .nspe-sheet__body :where(h4) { font-size: 19px; font-weight: 700; font-style: italic; margin: 1.2em 0 .4em; }
#nspe-app .nspe-sheet__body :where(h5, h6) { font-size: 18.5px; font-weight: 700; margin: 1.1em 0 .3em; }
#nspe-app .nspe-sheet__body :where(ul, ol) { margin: 0 0 1.05em; padding-left: 1.5em; }
#nspe-app .nspe-sheet__body :where(ul) { list-style: disc; }
#nspe-app .nspe-sheet__body :where(ol) { list-style: decimal; }
#nspe-app .nspe-sheet__body :where(li) { margin: .3em 0; padding-left: .2em; }
#nspe-app .nspe-sheet__body :where(li > ul, li > ol) { margin: .3em 0 0; }
#nspe-app .nspe-sheet__body :where(a), #nspe-app .nspe-sheet__refs :where(a) { color: var(--word); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
#nspe-app .nspe-sheet__body :where(a:hover) { color: var(--word-dark); }
#nspe-app .nspe-sheet__body :where(strong, b) { font-weight: 700; }
#nspe-app .nspe-sheet__body :where(em, i, cite) { font-style: italic; }
#nspe-app .nspe-sheet__body :where(blockquote) { margin: 1.2em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--line); color: var(--ink-2); font-style: italic; }
#nspe-app .nspe-sheet__body :where(img) { display: block; max-width: 100%; height: auto; margin: 1.2em auto; border-radius: 4px; }
#nspe-app .nspe-sheet__body :where(figure) { margin: 1.4em 0; }
#nspe-app .nspe-sheet__body :where(figcaption) { margin-top: .4em; font-family: var(--ui-font); font-size: 14px; line-height: 1.45; color: var(--muted); text-align: center; }
#nspe-app .nspe-sheet__body :where(table) { display: block; max-width: 100%; overflow-x: auto; margin: 1.3em 0; border-collapse: collapse; font-family: var(--ui-font); font-size: 15px; line-height: 1.45; }
#nspe-app .nspe-sheet__body :where(th, td) { padding: 8px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
#nspe-app .nspe-sheet__body :where(th) { background: var(--soft); font-weight: 650; }
#nspe-app .nspe-sheet__body :where(hr) { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
#nspe-app .nspe-sheet__body :where(sup, sub) { font-size: .7em; line-height: 0; }
#nspe-app .nspe-sheet__body :where(iframe, video, embed, object) { max-width: 100%; }
#nspe-app .nspe-sheet .nspe-incta { max-width: none; margin: 1.8em 0; font-family: var(--ui-font); line-height: 1.4; }

/* References: hanging indent, like the reference page of a submitted paper */
#nspe-app .nspe-sheet__refs { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line-soft); font-size: 16.5px; line-height: 1.6; }
#nspe-app .nspe-sheet__refs h2 { font-family: var(--read-font); font-size: 25px; font-weight: 700; color: #10182b; text-align: center; margin-bottom: .8em; scroll-margin-top: calc(var(--top) + 24px); }
#nspe-app .nspe-sheet__refs :where(p, li) { margin: 0 0 .75em; padding-left: 2em; text-indent: -2em; overflow-wrap: anywhere; }
#nspe-app .nspe-sheet__refs :where(ul, ol) { list-style: none; padding: 0; margin: 0; }

/* Rail: the price form starts level with the title and stays in view while reading */
#nspe-app .nspe-rail { min-width: 0; align-self: stretch; padding-top: 22px; scroll-margin-top: calc(var(--top) + 16px); }
#nspe-app .nspe-rail__inner { position: sticky; top: calc(var(--top) + 20px); display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - var(--top) - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
#nspe-app .nspe-rail__inner > * { flex: none; }
#nspe-app .nspe-rail__box { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-family: var(--ui-font); }
#nspe-app .nspe-rail__h { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
#nspe-app .nspe-rail__inner > .nspe-rail__toc { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
@media (max-height: 820px) and (min-width: 1025px) {
	#nspe-app .nspe-rail .nspe-qo__sub, #nspe-app .nspe-rail .nspe-qo__note { display: none; }
	#nspe-app .nspe-rail .nspe-qo { padding: 14px 16px; }
}
#nspe-app .nspe-rail__toc { padding: 14px 10px 10px; }
#nspe-app .nspe-rail__toc .nspe-rail__h { padding: 0 8px; }
#nspe-app .nspe-rail__toc .nspe-toc { font-size: 14px; }
#nspe-app .nspe-rail__toc .nspe-toc a { padding: 6px 8px; }
#nspe-app .nspe-rail .nspe-dl { font-size: 13.5px; gap: 8px 14px; }
#nspe-app .nspe-rail .nspe-qo, #nspe-app .nspe-rail .nspe-card-panel.nspe-qo { margin: 0; }
#nspe-app .nspe-rail__cta p:not(.nspe-rail__h) { font-size: 14px; color: var(--muted); margin-bottom: 12px; }

/* Below the paper: same column as the paper */
#nspe-app .nspe-art__after { padding-top: 36px; }
#nspe-app .nspe-art__after > * { max-width: calc(var(--w) - var(--rail-w) - 40px); }
#nspe-app .nspe-art__main > .nspe-usage { margin-top: 2px; }
#nspe-app.nspe-article-page .nspe-related { margin-top: 56px; }

@media (max-width: 1024px) {
	#nspe-app .nspe-art__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	#nspe-app .nspe-rail { padding-top: 0; }
	#nspe-app .nspe-rail__inner { position: static; display: block; max-height: none; overflow: visible; }
	#nspe-app .nspe-rail__toc { display: none; }
	#nspe-app .nspe-art__toc-mobile { display: block; }
	#nspe-app .nspe-art__after > * { max-width: none; }
}
@media (max-width: 720px) {
	#nspe-app .nspe-glance__grid.has-two { grid-template-columns: minmax(0, 1fr); }
	#nspe-app .nspe-art__actions .nspe-button--primary { flex: 1 1 100%; min-width: 0; }
	#nspe-app .nspe-art__actions .nspe-button--quiet { flex: 1 1 0; }
}
@media (max-width: 640px) {
	#nspe-app .nspe-art__wrap, #nspe-app .nspe-preview-bar { --w: calc(100vw - 32px); }
	#nspe-app .nspe-sheet { margin-inline: -16px; padding: 30px 18px 36px; border-radius: 0; border-inline: 0; box-shadow: none; border-color: var(--line-soft); }
	#nspe-app .nspe-sheet__title { font-size: 21px; margin-bottom: 22px; }
	#nspe-app .nspe-sheet__body { font-size: 17.5px; line-height: 1.7; }
	#nspe-app .nspe-sheet__body :where(h2) { font-size: 22px; }
	#nspe-app .nspe-sheet__body :where(h3) { font-size: 19.5px; }
	#nspe-app .nspe-glance { padding: 18px; }
}


/* Paper details strip under the header */
#nspe-app .nspe-facts-strip { padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-family: var(--ui-font); }
#nspe-app .nspe-facts-strip__dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px 20px; }
#nspe-app .nspe-facts-strip__dl dt { font-size: 12.5px; font-weight: 400; color: var(--muted); }
#nspe-app .nspe-facts-strip__dl dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 650; color: var(--ink); }
#nspe-app .nspe-facts-strip__dl dd a { color: var(--word); }
#nspe-app .nspe-facts-strip__dl .nspe-dl__note { font-weight: 400; color: var(--muted); }

/* Phones and tablets: the order prompt rides along at the bottom of the screen */
#nspe-app .nspe-mbar { display: none; }
@media (max-width: 1024px) {
	#nspe-app .nspe-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; font-family: var(--ui-font); box-shadow: 0 -10px 30px -12px rgba(20, 33, 61, .45); transition: transform .25s ease; }
	#nspe-app .nspe-mbar.is-hidden { transform: translateY(110%); }
	#nspe-app .nspe-mbar__text { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
	#nspe-app .nspe-mbar__text strong { font-size: 15px; font-weight: 700; color: #fff; }
	#nspe-app .nspe-mbar__text small { font-size: 12.5px; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	#nspe-app .nspe-mbar .nspe-mbar__btn { flex: none; min-height: 42px; padding: 10px 18px; border-radius: 10px; background: #2dd4bf; border-color: #2dd4bf; color: #062b27; font-weight: 700; text-decoration: none; }
	body.nspe-has-mbar { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { #nspe-app .nspe-mbar { transition: none; } }


/* About the author */
#nspe-app .nspe-author { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-family: var(--ui-font); }
#nspe-app .nspe-author__pic { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
#nspe-app .nspe-author__pic--ini { display: grid; place-items: center; background: var(--scrub-soft); color: var(--scrub); font-size: 26px; font-weight: 700; }
#nspe-app .nspe-author__body { min-width: 0; display: grid; gap: 4px; }
#nspe-app .nspe-author__label { font-size: 13px; color: var(--muted); }
#nspe-app h2.nspe-author__name { font-size: 19px !important; line-height: 1.3 !important; font-weight: 700; color: var(--ink); letter-spacing: normal !important; }
#nspe-app .nspe-author__name a { color: var(--ink); }
#nspe-app .nspe-author__name a:hover { text-decoration: underline; }
#nspe-app .nspe-author__cred { font-weight: 500; color: var(--ink-2); }
#nspe-app .nspe-author__role { font-size: 14px; color: var(--ink-2); }
#nspe-app .nspe-author__bio { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 4px; }
#nspe-app .nspe-author__more { justify-self: start; margin-top: 6px; font-size: 14px; font-weight: 650; color: var(--word); }
#nspe-app .nspe-author__more:hover { text-decoration: underline; }
#nspe-app .nspe-byline__name { color: var(--ink); font-weight: 650; }
@media (max-width: 520px) { #nspe-app .nspe-author { flex-direction: column; gap: 12px; } }


/* Course index */
#nspe-app .nspe-courses__find { display: block; max-width: 560px; margin-top: 18px; }
#nspe-app .nspe-courses__find input { width: 100%; height: 52px; padding: 0 18px; border: 1px solid #c4ccd6; border-radius: 12px; background: #fff; font: 500 17px/1.2 var(--ui-font); color: var(--ink); }
#nspe-app .nspe-courses__find input:focus { outline: 3px solid rgba(43, 87, 154, .25); border-color: var(--word); }
#nspe-app .nspe-courses__jump { margin: 6px 0 8px; }
#nspe-app .nspe-courses__group { margin-top: 34px; }
#nspe-app .nspe-courses__group[hidden] { display: none; }
#nspe-app .nspe-courses__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
#nspe-app .nspe-courses__grid li[hidden] { display: none; }
#nspe-app .nspe-course { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
#nspe-app .nspe-course:hover { border-color: var(--word); box-shadow: 0 8px 22px -14px rgba(20, 33, 61, .45); }
#nspe-app .nspe-course__code { font-family: var(--brand-font); font-size: 20px; font-weight: 750; letter-spacing: -.01em; color: var(--ink); }
#nspe-app .nspe-course__meta { font-size: 13.5px; color: var(--muted); }
#nspe-app .nspe-courses__none { margin-top: 24px; font-size: 16px; }
#nspe-app .nspe-courses__none a { color: var(--word); font-weight: 650; text-decoration: underline; }
#nspe-app .nspe-card__week { font-weight: 700; color: var(--scrub); }
@media (prefers-reduced-motion: reduce) { #nspe-app .nspe-course { transition: none; } }

/* Comments render with the theme's styles (outside #nspe-app) */
.nspe-comments { box-sizing: border-box; width: min(1180px, calc(100vw - 48px)); margin: 48px auto 0; padding-right: 352px; }
@media (max-width: 1024px) { .nspe-comments { padding-right: 0; } }

/* =========================================================================
   Theme-proofing. Many themes and page builders size headings with
   !important (e.g. "body h2 { font-size: 42px !important }"). An ID-scoped
   !important beats those, so the headings below keep their own sizes.
   ========================================================================= */
#nspe-app :is(h1, h2, h3, h4, h5, h6) { text-transform: none !important; float: none !important; }
#nspe-app :is(dt, dd) { float: none !important; }
#nspe-app .nspe-page :is(h1, h2, h3, h4, h5, h6) { font-size: 16px !important; line-height: 32px !important; margin: 0 !important; letter-spacing: normal !important; color: #000 !important; }
#nspe-app h1.nspe-head__title { font-size: clamp(30px, 3.1vw, 50px) !important; line-height: 1.08 !important; margin: 0 !important; }
#nspe-app h1.nspe-title { font-size: clamp(30px, 3.4vw, 48px) !important; line-height: 1.1 !important; }
#nspe-app h2.nspe-pane__title { font-size: 14px !important; line-height: 1.3 !important; letter-spacing: normal !important; }
#nspe-app h2.nspe-qo__title { font-size: 18px !important; line-height: 1.25 !important; letter-spacing: normal !important; color: #fff !important; }
#nspe-app h2.nspe-section-title, #nspe-app :is(.nspe-xbio, .nspe-xlist) h2 { font-size: 24px !important; line-height: 1.25 !important; }
#nspe-app .nspe-file h2 { font-size: 18px !important; line-height: 1.3 !important; letter-spacing: normal !important; }
#nspe-app .nspe-band h2 { font-size: 22px !important; line-height: 1.25 !important; letter-spacing: normal !important; color: #fff !important; }
#nspe-app h2.nspe-box__title { font-size: 20px !important; line-height: 1.3 !important; letter-spacing: normal !important; }
#nspe-app h2.nspe-dialog__title { font-size: 22px !important; line-height: 1.3 !important; letter-spacing: normal !important; }
#nspe-app h2.nspe-panel-title { font-size: 16px !important; line-height: 1.3 !important; letter-spacing: normal !important; }
#nspe-app h3.nspe-card__title { font-size: 16.5px !important; line-height: 1.35 !important; letter-spacing: normal !important; }
#nspe-app .nspe-faq :is(h3, summary) { font-size: 17px !important; line-height: 1.4 !important; letter-spacing: normal !important; }
#nspe-app :is(.nspe-btn, .nspe-button, .nspe-win__tool) { text-transform: none !important; }
#nspe-app .nspe-sheet__body h2, #nspe-app .nspe-sheet__refs h2 { font-size: 25px !important; line-height: 1.3 !important; letter-spacing: normal !important; color: #10182b !important; }
#nspe-app .nspe-sheet__body h3 { font-size: 21px !important; line-height: 1.3 !important; letter-spacing: normal !important; }
#nspe-app .nspe-sheet__body :is(h4, h5, h6) { font-size: 19px !important; line-height: 1.35 !important; letter-spacing: normal !important; }
#nspe-app h2.nspe-glance__h { font-size: 15px !important; line-height: 1.3 !important; letter-spacing: normal !important; }
@media (max-width: 640px) {
	#nspe-app .nspe-sheet__body h2, #nspe-app .nspe-sheet__refs h2 { font-size: 22px !important; }
	#nspe-app .nspe-sheet__body h3 { font-size: 19.5px !important; }
}

@media print {
	body.nspe * { visibility: hidden; }
	body.nspe #nspe-app .nspe-canvas, body.nspe #nspe-app .nspe-canvas * { visibility: visible; }
	body.nspe #nspe-app .nspe-canvas { position: absolute; left: 0; top: 0; overflow: visible; }
	#nspe-app .nspe-canvas__zoom { zoom: 1 !important; transform: none !important; width: auto !important; }
	#nspe-app .nspe-page { box-shadow: none; margin: 0; padding: 0 !important; width: auto; height: auto !important; min-height: 0; break-after: page; }
	#nspe-app .nspe-page__head { top: -48px; left: 0; right: 0; }
	#nspe-app .nspe-incta, #nspe-app .nspe-dialog { display: none !important; }
	body.nspe #nspe-app .nspe-sheet, body.nspe #nspe-app .nspe-sheet * { visibility: visible; }
	body.nspe #nspe-app .nspe-sheet { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; padding: 0; }
	#nspe-app .nspe-sheet__label { display: none; }
	@page { size: letter; margin: 1in; }
}
