/* Nagios Pricing plugin styles. Plugin-only parts use nxpr-; shared nxpc, nxtb, nagios-faq, and nx-sr rules load from nx-shared.css */

/* Tokens: read the nx globals when present, fall back to the product-page values */
.nxpr {
  --nxpr-blue: var(--nx-blue, #0444D3);
  --nxpr-blue-hover: var(--nx-blue-hover, #0338A8);
  --nxpr-accent: var(--nx-accent, #71A1FA);
  --nxpr-white: var(--nx-white, #F4F7FB);
  --nxpr-text: var(--e-global-color-text, var(--nx-text, #A9BAD6));
  --nxpr-dim: var(--nx-text-dim, #7C8CA8);
  --nxpr-line: var(--nx-line, rgba(148, 171, 214, .16));
  --nxpr-line-hi: var(--nx-line-hi, rgba(148, 171, 214, .30));
  --nxpr-surface: var(--nx-surface, rgba(255, 255, 255, .022));
  --nxpr-surface-hi: var(--nx-surface-hi, rgba(255, 255, 255, .045));
  --nxpr-ink: #01071C;
  --nxpr-radius: 12px;
  --nxpr-ease: var(--nx-ease, cubic-bezier(.4, 0, .2, 1));
  /* Spacing: one scale for the whole page */
  --nxpr-s2: 8px;
  --nxpr-s3: 12px;
  --nxpr-s4: 16px;
  --nxpr-s5: 20px;
  --nxpr-s6: 24px;
  --nxpr-s7: 32px;
  --nxpr-block: 48px;   /* between blocks inside a solution: plans, calculator, levels */
  --nxpr-section: 64px; /* between page sections */
  /* Status colors are functional, never brand */
  --nxpr-warn: #F5C451;
  --nxpr-crit: #FF8A8A;
  width: 100%;
  color: var(--nxpr-text);
  font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
}

/* Border-box sizing even outside an Elementor container */
.nxpr,
.nxpr *,
.nxpr *::before,
.nxpr *::after { box-sizing: border-box; }

/* [hidden] always wins, even on elements this sheet gives a display value */
.nxpr [hidden] { display: none !important; }

/* Anchor targets clear the site header (offset assumed, measure on dev) */
.nxpr [data-nxpr-panel],
.nxpr .nxpr-bar { scroll-margin-top: 96px; }

/* Headings: two classes (0,2,0) beat .elementor-kit-7 h1 to h4 (0,1,1) */
.nxpr .nxpr-h1 {
  margin: 0 0 var(--nxpr-s4);
  color: var(--nxpr-white);
  font-family: var(--e-global-typography-primary-font-family, "Roboto"), sans-serif;
  font-size: var(--e-global-typography-primary-font-size, clamp(2.25rem, 4.5vw, 3.5rem));
  font-weight: var(--e-global-typography-primary-font-weight, 600);
  line-height: var(--e-global-typography-primary-line-height, 1.1);
  letter-spacing: var(--e-global-typography-primary-letter-spacing, -0.02em);
}
/* Section titles sit one step above card names (20 to 24px), not at hero scale */
.nxpr .nxpr-h2 {
  margin: 0;
  color: var(--nxpr-white);
  font-family: var(--e-global-typography-secondary-font-family, "Roboto"), sans-serif;
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem);
  font-weight: var(--e-global-typography-secondary-font-weight, 600);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.nxpr .nxpr-h2--close { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.nxpr .nxpr-h3 {
  margin: 0 0 var(--nxpr-s2);
  color: var(--nxpr-white);
  font-family: var(--e-global-typography-7919197-font-family, "Roboto"), sans-serif;
  font-size: var(--e-global-typography-7919197-font-size, 1.125rem);
  font-weight: var(--e-global-typography-7919197-font-weight, 600);
  line-height: var(--e-global-typography-7919197-line-height, 1.2);
  letter-spacing: var(--e-global-typography-7919197-letter-spacing, -0.02rem);
}

/* Kit heading guard for the shared card title */
.nxpr .nxpc .nxpc-name {
  margin: 0 0 var(--nxpr-s2);
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--nx-white, #F4F7FB);
}

/* Kit button guard: every state at (0,3,1), above .elementor-kit-7 button:hover (0,2,1) */
.nxpr button.nxpr-tab:is(*, :hover, :focus),
.nxpr button.nxpr-switch:is(*, :hover, :focus),
.nxpr button.nxpr-seg__btn:is(*, :hover, :focus),
.nxpr button.nxpr-info__btn:is(*, :hover, :focus) {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: none;
  cursor: pointer;
}
.nxpr button.nxpr-tab:is(*, :hover, :focus) {
  padding: 12px 16px;
  border-bottom: 2px solid transparent;
  color: var(--nxpr-dim);
  white-space: nowrap;
}
.nxpr button.nxpr-tab:hover { color: var(--nxpr-white); }
.nxpr button.nxpr-tab[aria-selected="true"]:is(*, :hover, :focus) {
  border-bottom-color: var(--nxpr-accent);
  color: var(--nxpr-white);
}

/* Kit link guard for CTAs */
.nxpr a.nxpr-btn:is(*, :hover, :focus) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--nxpr-ease), border-color .25s var(--nxpr-ease), color .25s var(--nxpr-ease);
}
.nxpr a.nxpr-btn--primary:is(*, :hover, :focus) {
  border-color: var(--nxpr-blue);
  background-color: var(--nxpr-blue);
  color: #fff;
}
.nxpr a.nxpr-btn--primary:is(:hover, :focus-visible) {
  border-color: var(--nxpr-blue-hover);
  background-color: var(--nxpr-blue-hover);
}
.nxpr a.nxpr-btn--ghost:is(*, :hover, :focus) {
  border-color: var(--nxpr-white);
  background-color: transparent;
  color: var(--nxpr-white);
}
.nxpr a.nxpr-btn--ghost:is(:hover, :focus-visible) {
  background-color: var(--nxpr-white);
  color: #202020;
}
.nxpr a.nxpr-btn--block:is(*, :hover, :focus) { width: 100%; }

/* Prose links: underline on an inner span, Additional CSS strips it from a with !important */
.nxpr a.nxpr-link:is(*, :hover, :focus) { color: var(--nxpr-accent); text-decoration: none; }
.nxpr a.nxpr-link .nxpr-u {
  text-decoration: underline;
  text-decoration-color: rgba(113, 161, 250, .45);
  text-underline-offset: 3px;
}
.nxpr a.nxpr-link:hover .nxpr-u { text-decoration-color: currentColor; }

/* Focus rings */
.nxpr :is(a, button, input, summary):focus-visible {
  outline: 2px solid var(--nxpr-accent);
  outline-offset: 3px;
}

/* Hero */
.nxpr-hero { max-width: 46rem; padding: var(--nxpr-s2) 0 var(--nxpr-block); }
.nxpr .nxpr-lede {
  margin: 0 0 var(--nxpr-s7);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--nxpr-text);
}
.nxpr-actions { display: flex; flex-wrap: wrap; gap: var(--nxpr-s3); }

/* Solution tabs and the Maintenance & Support years control */
.nxpr-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nxpr-s3) var(--nxpr-s6);
  margin-bottom: var(--nxpr-s7);
  border-bottom: 1px solid var(--nxpr-line);
}
.nxpr-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: -1px;
}
.nxpr-tabs::-webkit-scrollbar { display: none; }
.nxpr-ms { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nxpr-s2); padding: var(--nxpr-s2) 0; }
.nxpr-ms__label { font-size: 14px; color: var(--nxpr-text); }
.nxpr-ms .nxpr-seg { margin-left: var(--nxpr-s2); }

/* Switch */
.nxpr button.nxpr-switch:is(*, :hover, :focus) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--nxpr-white);
  font-size: 14px;
  text-align: left;
}
.nxpr-switch__track {
  position: relative;
  flex: none;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--nxpr-line-hi);
  transition: background-color .2s var(--nxpr-ease);
}
.nxpr-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--nxpr-white);
  transition: transform .2s var(--nxpr-ease);
}
.nxpr button.nxpr-switch[aria-checked="true"] .nxpr-switch__track { background: var(--nxpr-accent); }
.nxpr button.nxpr-switch[aria-checked="true"] .nxpr-switch__thumb { transform: translateX(18px); background: var(--nxpr-ink); }
.nxpr-switch__meta { margin-left: auto; padding-left: var(--nxpr-s3); color: var(--nxpr-text); font-variant-numeric: tabular-nums; }

/* Segmented control */
.nxpr-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--nxpr-line);
}
.nxpr button.nxpr-seg__btn:is(*, :hover, :focus) {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--nxpr-dim);
  font-size: 13px;
  white-space: nowrap;
}
.nxpr button.nxpr-seg__btn:hover { color: var(--nxpr-white); }
.nxpr button.nxpr-seg__btn[aria-checked="true"]:is(*, :hover, :focus) {
  background: var(--nxpr-surface-hi);
  box-shadow: inset 0 0 0 1px var(--nxpr-line-hi);
  color: var(--nxpr-white);
}

/* Info tips: "i" button with a short explanation on hover, keyboard focus, or tap */
.nxpr-info {
  position: relative;
  display: inline-flex;
  margin-left: 4px;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: normal;
}
.nxpr button.nxpr-info__btn:is(*, :hover, :focus) {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--nxpr-dim);
}
.nxpr button.nxpr-info__btn:is(:hover, :focus-visible) { color: var(--nxpr-accent); }
.nxpr-info__btn svg { display: block; width: 15px; height: 15px; }
/* Optical alignment: centre the icon on the capital letters, not the line box (which sits lower) */
.nxpr-th .nxpr-info,
.nxpr-facts dt .nxpr-info,
.nxpr-ms .nxpr-info,
.nxpr-lsfield .nxpr-info { top: -0.1em; }
.nxpr-info__pop {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  z-index: 20;
  width: max-content;
  max-width: min(260px, 80vw);
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--nxpr-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  color: var(--nxpr-ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s var(--nxpr-ease), visibility .15s;
}
.nxpr-info--end .nxpr-info__pop { left: auto; right: -6px; transform: none; }
.nxpr-info:hover .nxpr-info__pop,
.nxpr-info__btn:focus-visible + .nxpr-info__pop,
.nxpr-info.is-open .nxpr-info__pop { opacity: 1; visibility: visible; }
.nxpr .nxpr-info.is-dismissed .nxpr-info__pop { opacity: 0; visibility: hidden; }

/* Solution panel: three blocks (plans, calculator, levels) on one rhythm */
.nxpr-panel {
  display: flex;
  flex-direction: column;
  gap: var(--nxpr-block);
  margin-bottom: var(--nxpr-section);
}
.nxpr-plans { display: flex; flex-direction: column; gap: var(--nxpr-s6); }
.nxpr .nxpr-intro {
  max-width: 60rem; /* about 960px at the default 16px; keeps lines readable while using more of the row */
  margin: 0;
  line-height: 1.7;
}
.nxpr .nxpr-intro a { color: var(--nxpr-accent); }
.nxpr .nxpc-wrap { margin: 0; }
.nxpr .nxpc-wrap--3 .scroll-container { gap: var(--nxpr-s6); }
.nxpr .nxpc-wrap--3 .nxpc { padding: clamp(24px, 2.5vw, 32px); }
.nxpr .nxpr-single .scroll-card { max-width: 34rem; }
.nxpr .nxpc-prices { padding-top: var(--nxpr-s4); }
.nxpr .nxpc-row { padding: var(--nxpr-s2) 0; }
.nxpr .nxpc-row + .nxpc-row { box-shadow: none; padding-top: 4px; }
.nxpr .nxpc a.nxpc-cta { width: 100%; margin-top: var(--nxpr-s4); }
.nxpr .nxpc a.nxpc-cta + a.nxpc-cta { margin-top: var(--nxpr-s3); }
/* Secondary card button: free trial under Buy Now */
.nxpr .nxpc a.nxpc-cta--secondary:is(*, :hover, :focus) { border: 1px solid var(--nxpr-line-hi); background-color: transparent; color: var(--nxpr-white); }
.nxpr .nxpc a.nxpc-cta--secondary:is(:hover, :focus-visible) { border-color: var(--nxpr-accent); background-color: rgba(113, 161, 250, .1); }
.nxpr .nxpr-ms-note { margin: 0 0 6px; font-size: 13px; color: var(--nxpr-dim); }

/* Trial and Free, one quiet line under the cards */
.nxpr .nxpr-try {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--nxpr-dim);
}
.nxpr .nxpr-try a:is(*, :hover, :focus) { color: var(--nxpr-accent); text-decoration: underline; text-decoration-color: rgba(113, 161, 250, .45); text-underline-offset: 3px; }
.nxpr .nxpr-try a:hover { text-decoration-color: currentColor; }

/* Calculator step */
.nxpr-step__head { margin-bottom: var(--nxpr-s5); }
.nxpr .nxpr-step__sub { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--nxpr-dim); }
.nxpr-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr); /* result card never narrower than 380px */
  gap: var(--nxpr-s6);
  align-items: stretch; /* inputs and result card share one height */
}
.nxpr-table-wrap { min-width: 0; height: 100%; }

/* Device table: framed, column dividers, header contrast, row hover. Corners rounded on cells so tips are not clipped. */
.nxpr table.nxpr-devices {
  width: 100%;
  margin: 0;
  border: 1px solid var(--nxpr-line-hi);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--nxpr-radius);
  background: var(--nxpr-surface);
  font-size: 14px;
}
/* Extra height from the result card goes to the rows, evenly */
.nxpr .nxpr-calc table.nxpr-devices { height: 100%; }
.nxpr table.nxpr-devices :is(th, td) {
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--nxpr-line);
  border-right: 1px solid var(--nxpr-line);
  background: transparent;
  vertical-align: middle;
  transition: background-color .15s var(--nxpr-ease);
}
.nxpr table.nxpr-devices :is(th, td):last-child { border-right: 0; }
.nxpr table.nxpr-devices thead th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--nxpr-line-hi);
  background: rgba(113, 161, 250, .08);
  color: var(--nxpr-white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nxpr table.nxpr-devices thead th:first-child { border-top-left-radius: 11px; }
.nxpr table.nxpr-devices thead th:last-child { border-top-right-radius: 11px; }
.nxpr table.nxpr-devices tbody tr:last-child > :first-child { border-bottom-left-radius: 11px; }
.nxpr table.nxpr-devices tbody tr:last-child > :last-child { border-bottom-right-radius: 11px; }
.nxpr table.nxpr-devices tbody tr:nth-child(even) > :is(th, td) { background: rgba(255, 255, 255, .012); }
.nxpr table.nxpr-devices tbody tr:hover > :is(th, td) { background: rgba(113, 161, 250, .05); }
.nxpr table.nxpr-devices :is(thead, tbody) th.nxpr-dev-type {
  text-align: left;
  color: var(--nxpr-white);
  font-weight: 500;
}
.nxpr table.nxpr-devices thead th.nxpr-dev-type { font-weight: 600; }
.nxpr table.nxpr-devices :is(th, td).nxpr-dev-num { width: 30%; text-align: right; }
.nxpr table.nxpr-devices tbody tr:last-child :is(th, td) { border-bottom: 0; }
.nxpr-th { display: inline-flex; align-items: center; justify-content: flex-end; }

.nxpr-field { display: block; margin: 0; }
.nxpr-field__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Number inputs: (0,4,1) beats kit form fields */
.nxpr .nxpr-field input[type="number"]:is(*, :focus),
.nxpr .nxpr-unit input[type="number"]:is(*, :focus) {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--nxpr-line-hi);
  border-radius: 6px;
  background: rgba(1, 7, 28, .6);
  box-shadow: none;
  color: var(--nxpr-white);
  font: inherit;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.nxpr .nxpr-field input[type="number"]:focus,
.nxpr .nxpr-unit input[type="number"]:focus { border-color: var(--nxpr-accent); }

/* Result card: facts, answer, option, chart, then the buy button */
.nxpr-receipt {
  container-type: inline-size; /* lets the result row stack when the card is narrow */
  display: flex;
  flex-direction: column;
  gap: var(--nxpr-s5);
  padding: var(--nxpr-s6);
  border-radius: var(--nxpr-radius);
  background: var(--nxpr-surface);
  box-shadow: inset 0 0 0 1px var(--nxpr-line-hi);
}
.nxpr .nxpr-facts { margin: 0; font-variant-numeric: tabular-nums; }
.nxpr-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--nxpr-s4);
  padding: 6px 0;
}
.nxpr-facts dt { display: inline-flex; align-items: center; font-size: 14px; color: var(--nxpr-text); }
.nxpr-facts dd { margin: 0; color: var(--nxpr-white); font-size: 15px; font-weight: 600; text-align: right; }

.nxpr-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--nxpr-s4);
  padding-top: var(--nxpr-s5);
  border-top: 1px solid var(--nxpr-line);
}
.nxpr-result__col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nxpr-result__col--end { align-items: flex-end; text-align: right; }
/* Long results ("More than 1,000 Nodes" / "Quoted by Sales"): stack tier over price instead of squeezing both */
@container (max-width: 440px) {
  .nxpr-result { grid-template-columns: minmax(0, 1fr); gap: var(--nxpr-s3); }
  .nxpr-result__col--end { align-items: flex-start; text-align: left; }
}
.nxpr-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nxpr-dim);
}
.nxpr-result__tier { color: var(--nxpr-white); font-size: 18px; font-weight: 600; line-height: 1.3; }
.nxpr-result__price {
  color: var(--nxpr-white);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nxpr-option {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 var(--nxpr-s2) 0 var(--nxpr-s3);
  border-radius: 8px;
  background: var(--nxpr-surface-hi);
}
.nxpr-option .nxpr-switch { flex: 1 1 auto; }

.nxpr .nxpr-headroom { margin: calc(var(--nxpr-s2) * -1) 0 0; font-size: 13px; color: var(--nxpr-dim); text-align: center; }
/* Capacity notice: planning advice, not an error. Blue info at the warning level, amber caution at the higher level, never red */
.nxpr-notice {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(113, 161, 250, .28);
  border-radius: 8px;
  background: rgba(113, 161, 250, .10);
  font-size: 13px;
  line-height: 1.55;
}
.nxpr-notice[data-level="critical"] { border-color: rgba(245, 196, 81, .32); background: rgba(245, 196, 81, .09); }
.nxpr-notice__icon { display: block; width: 16px; height: 16px; margin-top: 2px; color: var(--nxpr-accent); }
.nxpr-notice[data-level="critical"] .nxpr-notice__icon { color: var(--nxpr-warn); }
.nxpr-notice p { margin: 0; color: var(--nxpr-white); }

/* Price-per-unit chart inside the result card */
.nxpr-chart {
  margin: 0;
  padding-top: var(--nxpr-s5);
  border-top: 1px solid var(--nxpr-line);
}
.nxpr-chart__head { font-style: normal; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px var(--nxpr-s3); margin-bottom: var(--nxpr-s3); }
.nxpr-chart__title { color: var(--nxpr-white); font-size: 14px; font-weight: 600; }
.nxpr-chart__sub { font-size: 12px; color: var(--nxpr-dim); }
.nxpr-chart__plot { position: relative; }
.nxpr-chart__svg { display: block; width: 100%; height: auto; aspect-ratio: 400 / 170; overflow: visible; }
.nxpr-chart__tip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 12px));
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--nxpr-white);
  color: var(--nxpr-ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}
.nxpr-c-grid { stroke: var(--nxpr-line); stroke-width: 1; }
.nxpr-c-ylab, .nxpr-c-xlab { fill: var(--nxpr-dim); font-size: 11px; font-variant-numeric: tabular-nums; }
.nxpr-c-xlab.is-here { fill: var(--nxpr-white); font-weight: 600; }
.nxpr-c-band { fill: rgba(113, 161, 250, .08); }
.nxpr-c-mark { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 3 4; shape-rendering: crispEdges; }
.nxpr-c-area { fill: rgba(113, 161, 250, .08); }
.nxpr-c-line { fill: none; stroke: var(--nxpr-accent); stroke-width: 2; stroke-linejoin: round; }
.nxpr-c-dot { fill: var(--nxpr-ink); stroke: var(--nxpr-accent); stroke-width: 2; }
.nxpr-c-here { fill: var(--nxpr-white); stroke: var(--nxpr-accent); stroke-width: 3; }

/* Log Server inputs: stacked rows that fill the column (label left, input right), matching the XI device table */
.nxpr-lsfields {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--nxpr-radius);
  background: var(--nxpr-surface);
  box-shadow: inset 0 0 0 1px var(--nxpr-line-hi);
}
.nxpr-lsfield {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: var(--nxpr-s4);
  padding: var(--nxpr-s4) var(--nxpr-s6);
}
.nxpr-lsfield + .nxpr-lsfield { border-top: 1px solid var(--nxpr-line); }
.nxpr-lsfield__head { min-width: 0; }
.nxpr-lsfield__label { display: block; color: var(--nxpr-white); font-size: 15px; font-weight: 500; }
.nxpr .nxpr-lsfield__hint { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--nxpr-dim); text-wrap: pretty; }
.nxpr-unit { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; width: 13rem; }
.nxpr-unit__suffix { width: 2.25rem; color: var(--nxpr-dim); font-size: 14px; white-space: nowrap; }

/* License levels: collapsed by default, the heading is the toggle */
.nxpr-levels {
  border-radius: var(--nxpr-radius);
  background: var(--nxpr-surface);
  box-shadow: inset 0 0 0 1px var(--nxpr-line);
}
.nxpr-levels__sum {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px var(--nxpr-s4);
  padding: var(--nxpr-s5) var(--nxpr-s6);
  border-radius: var(--nxpr-radius);
  list-style: none;
  cursor: pointer;
}
.nxpr-levels__sum::-webkit-details-marker { display: none; }
.nxpr .nxpr-levels__sum .nxpr-h2 { grid-column: 1; font-size: 1rem; }
.nxpr-levels__meta { grid-column: 1; font-size: 14px; color: var(--nxpr-dim); }
.nxpr-levels__toggle {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nxpr-accent);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nxpr-levels__toggle svg { width: 18px; height: 18px; transition: transform .2s var(--nxpr-ease); }
.nxpr-levels[open] .nxpr-levels__toggle svg { transform: rotate(180deg); }
.nxpr-levels__hide,
.nxpr-levels[open] .nxpr-levels__show { display: none; }
.nxpr-levels[open] .nxpr-levels__hide { display: inline; }
.nxpr-levels__body { padding: 0 var(--nxpr-s6) var(--nxpr-s6); }
.nxpr .nxtb-scroll { overflow-x: auto; }

.nxpr table.nxpr-tier-table {
  width: 100%;
  margin: 0;
  border: 1px solid var(--nxpr-line-hi);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--nxpr-surface);
  font-size: 14px;
}
.nxpr table.nxpr-tier-table > thead > tr > th {
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid var(--nxpr-line-hi);
  border-right: 1px solid var(--nxpr-line);
  background: rgba(113, 161, 250, .08);
  color: var(--nxpr-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.nxpr table.nxpr-tier-table > thead > tr > th:last-child { border-right: 0; }
.nxpr table.nxpr-tier-table > tbody > tr > th,
.nxpr table.nxpr-tier-table > tbody > tr > td {
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid var(--nxpr-line);
  border-right: 1px solid var(--nxpr-line);
  background: transparent;
  vertical-align: middle;
  transition: background-color .15s var(--nxpr-ease);
}
.nxpr table.nxpr-tier-table > tbody > tr > :last-child { border-right: 0; }
.nxpr table.nxpr-tier-table > tbody > tr:last-child > :is(th, td) { border-bottom: 0; }
.nxpr table.nxpr-tier-table > tbody > tr:nth-child(even) > :is(th, td) { background: rgba(255, 255, 255, .012); }
.nxpr table.nxpr-tier-table > tbody > tr:hover > :is(th, td) { background: rgba(113, 161, 250, .05); }
.nxpr table.nxpr-tier-table > thead > tr > th.nxpr-col-price,
.nxpr table.nxpr-tier-table > tbody > tr > td.nxpr-col-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--nxpr-white);
  font-weight: 500;
  white-space: nowrap;
}
.nxpr table.nxpr-tier-table > tbody > tr > th {
  color: var(--nxpr-white);
  font-weight: 500;
  text-align: left;
}
.nxpr table.nxpr-tier-table > tbody > tr > th > span:first-child { margin-right: 10px; }
.nxpr table.nxpr-tier-table .nxpc-quote { color: var(--nxpr-accent); }
.nxpr table.nxpr-tier-table > tbody > tr.nxpr-rec > :is(th, td) { background: rgba(113, 161, 250, .11); }
.nxpr table.nxpr-tier-table > tbody > tr.nxpr-rec > th { box-shadow: inset 3px 0 0 var(--nxpr-accent); }

.nxpr-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(77, 137, 249, .15);
  box-shadow: inset 0 0 0 1px rgba(77, 137, 249, .35);
  color: var(--nxpr-accent);
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

/* Included with every license */
.nxpr-included { margin-bottom: var(--nxpr-section); }
.nxpr-included .nxpr-h2 { margin-bottom: var(--nxpr-s5); }
.nxpr .nxpr-included__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--nxpr-s4) clamp(var(--nxpr-s7), 6vw, 96px);
  max-width: 1100px; /* keeps lines to a readable length so long items wrap */
  margin: 0 0 var(--nxpr-s3);
}
.nxpr .nxpr-included__list > li > span { max-width: 52ch; text-wrap: pretty; }
.nxpr .nxpr-more { margin: 0; }
.nxpr .nxpr-more a.nxpr-link:is(*, :hover, :focus) { display: inline-flex; align-items: center; min-height: 44px; }
.nxpr-addons { margin-top: var(--nxpr-s6); }
.nxpr-plain { margin: 0; padding-left: 18px; line-height: 1.8; }

/* FAQ section */
.nxpr-faq { margin-bottom: var(--nxpr-section); }
.nxpr-faq .nxpr-h2 { margin-bottom: var(--nxpr-s2); }
/* Questions keep one color in every state: overrides the shared hover accent and any kit summary colors */
.nxpr .nagios-faq .nf-q:is(*, :hover, :focus, :active) { color: #fff; transition: none; }

/* Closing section */
.nxpr-close {
  padding: var(--nxpr-block);
  border-radius: 16px;
  background: var(--nxpr-surface);
  box-shadow: inset 0 0 0 1px var(--nxpr-line);
  text-align: center;
}
.nxpr-close .nxpr-h2 { margin-bottom: var(--nxpr-s3); }
.nxpr-close .nxpr-lede { margin-inline: auto; margin-bottom: var(--nxpr-s6); max-width: 36rem; }
.nxpr-close .nxpr-actions { justify-content: center; }
.nxpr .nxpr-fine { margin: var(--nxpr-s5) 0 0; font-size: 13px; color: var(--nxpr-dim); }

/* Demo switches (non-production only) */
.nxpr-demo {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nxpr-s2) var(--nxpr-s5);
  margin-bottom: var(--nxpr-s6);
  padding: var(--nxpr-s3) var(--nxpr-s4);
  border: 1px dashed var(--nxpr-line-hi);
  border-radius: 8px;
  font-size: 13px;
}
.nxpr .nxpr-demo__title { flex-basis: 100%; margin: 0; color: var(--nxpr-white); font-weight: 600; }

/* Kit breakpoints */
@media (max-width: 1060px) {
  .nxpr-calc { grid-template-columns: minmax(0, 1fr); }
  .nxpr .nxpr-calc table.nxpr-devices { height: auto; }
}
@media (max-width: 785px) {
  .nxpr {
    --nxpr-block: 40px;
    --nxpr-section: 48px;
  }
  .nxpr .nxpr-lede { font-size: 1rem; }
  .nxpr-close { padding: var(--nxpr-s7) var(--nxpr-s5); }
  .nxpr-receipt { padding: var(--nxpr-s5); }
  .nxpr-levels__sum { padding: var(--nxpr-s4) var(--nxpr-s5); }
  .nxpr-levels__body { padding: 0 var(--nxpr-s4) var(--nxpr-s4); }
  .nxpr-levels__show,
  .nxpr-levels__hide,
  .nxpr-levels[open] .nxpr-levels__hide { display: none; }
  .nxpr .nxpr-included__list { grid-template-columns: minmax(0, 1fr); }
  .nxpr-ms .nxpr-seg { margin-left: 0; }

  .nxpr-lsfield { flex-direction: column; align-items: stretch; gap: var(--nxpr-s3); padding: var(--nxpr-s4) var(--nxpr-s5); }
  .nxpr-unit { width: 100%; }

  /* Device table stays a table on phones: three tight columns are shorter than stacked cards, and the header tips stay reachable */
  .nxpr table.nxpr-devices :is(th, td) { padding: 8px 10px; }
  /* Headers stay on one line; the device column gives up the width and its names wrap instead */
  .nxpr table.nxpr-devices thead th { padding: 10px 8px; font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  .nxpr table.nxpr-devices :is(th, td).nxpr-dev-num { width: 1%; }
  .nxpr table.nxpr-devices tbody th.nxpr-dev-type { font-size: 13px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
  .nxpr table.nxpr-devices thead th.nxpr-dev-type { white-space: normal; }
  .nxpr-th { flex-wrap: nowrap; }
  .nxpr .nxpr-field input[type="number"]:is(*, :focus) { min-width: 4.5em; padding: 8px 10px; }
}

/* Small phones: tighter header type so both number headers still fit on one line */
@media (max-width: 400px) {
  .nxpr table.nxpr-devices thead th { padding: 10px 6px; font-size: 10px; }
  .nxpr table.nxpr-devices :is(tbody th, td) { padding: 8px 6px; }
  .nxpr .nxpr-info { margin-left: 2px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nxpr a.nxpr-btn:is(*, :hover, :focus),
  .nxpr-switch__track,
  .nxpr-switch__thumb,
  .nxpr-info__pop,
  .nxpr-levels__toggle svg,
  .nxpr table.nxpr-devices :is(th, td),
  .nxpr table.nxpr-tier-table > tbody > tr > :is(th, td) { transition: none; }
}
