/* napkn.css
   The look of napkn.tech/app as one portable stylesheet: the blue mist, the smoked glass,
   the controls and the result language. Values are copied from napkn-tech/napkn at
   main@0a5dba5d (25 Sept. 2026): src/index.css, src/components/ui/glass-surface.css,
   tailwind.config.ts and the calculator components.

   Two kinds of class:
   - SPA names (.calculator-shell, .aerium-frame, .section-card, .swiss-action ...): the same
     class names /app uses, so markup moves between a React page and a static page unchanged.
   - nk- names: this kit's plain-CSS versions of what the SPA writes with Tailwind utilities
     (fields, result lines, the final equation ...). In a React page, use the Tailwind strings
     quoted in each component's guidelines instead.

   Wrap the page in .calculator-shell and put <div class="wavy-backdrop"><canvas></canvas></div>
   as its first child; napkn.js paints the mist into that canvas.
   Never load this file inside the SPA: the SPA already has all of it. */


:root {
  /* Surfaces and text. The SPA stores these as HSL channels (--background: 220 24% 4%) and
     reads them as hsl(var(--background)); here they are ready-to-use colours. */
  --nk-background: hsl(220 24% 4%);
  --nk-foreground: hsl(0 0% 97%);
  --nk-card: hsl(218 14% 8%);
  --nk-popover: hsl(218 16% 12%);
  --nk-secondary: hsl(218 17% 15%);
  --nk-muted: hsl(218 16% 12%);
  --nk-muted-foreground: hsl(0 0% 60%);
  --nk-border: hsl(220 10% 13%);
  --nk-input: hsl(218 16% 12%);
  --nk-accent: hsl(151 100% 45%);
  --nk-accent-foreground: hsl(0 0% 4%);
  --nk-destructive: hsl(0 84% 60%);
  --nk-hypothesis: hsl(213 94% 68%);
  --nk-success: hsl(160 84% 39%);
  --nk-warning: hsl(43 96% 56%);

  /* Result language: Tailwind palette values the calculator components use. */
  --nk-positive: #10b981;
  --nk-positive-soft: #34d399;
  --nk-negative: #ef4444;
  --nk-negative-soft: #f87171;
  --nk-estimate: #f59e0b;
  --nk-auto-value: #808080;
  --nk-gauge-fill: hsl(160 84% 45%);
  --nk-gauge-track: oklch(0.78 0.006 166 / 0.34);

  /* Type scale of the shell (SPA: set on .calculator-shell). */
  --type-caption: 0.75rem;
  --type-secondary: 0.875rem;
  --type-body: 1rem;
  --type-heading: 1.3125rem;

  /* Dark internal surfaces share one petrol-green smoked-glass material. */
  --inner-glass-panel: oklch(0.105 0.018 166 / 0.82);
  --inner-glass-control: oklch(0.12 0.02 166 / 0.68);
  --inner-glass-soft: oklch(0.15 0.022 166 / 0.32);
  --inner-glass-hover: oklch(0.16 0.024 166 / 0.74);
  --inner-glass-border: oklch(0.72 0.035 166 / 0.13);
  --inner-glass-highlight: oklch(0.9 0.025 166 / 0.07);

  /* Premium motion: short feedback, softer state transitions, no bounce. */
  --motion-press: 80ms;
  --motion-fast: 160ms;
  --motion-standard: 220ms;
  --motion-disclosure: 300ms;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.2, 0, 0, 1);
}

/* ── Shell and mist ─────────────────────────────────────────────────────────── */

.calculator-shell {
  position: relative;
  isolation: isolate;
  min-width: 0;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  background-color: oklch(0.075 0.004 260);
  color: var(--nk-foreground);
  /* The SPA names 'neue-haas-grotesk-text' first; it is never loaded, everyone sees Host Grotesk. */
  font-family: 'Host Grotesk', ui-sans-serif, system-ui, sans-serif;
  font-weight: 330;
  line-height: 1.5;
  letter-spacing: -0.006em;
  font-kerning: normal;
  font-optical-sizing: auto;
  font-synthesis: none;
  font-variant-numeric: proportional-nums;
}

/* Tailwind's preflight does this globally in the SPA; static pages need it on the shell. */
.calculator-shell,
.calculator-shell *,
.calculator-shell *::before,
.calculator-shell *::after { box-sizing: border-box; }

.calculator-shell :where(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.022em;
}

.calculator-shell :where(p, ol, ul) { margin: 0; }
.calculator-shell [hidden] { display: none !important; }
.calculator-shell :where(button, input, select, textarea) { font: inherit; color: inherit; letter-spacing: inherit; }

.calculator-shell > * {
  position: relative;
  z-index: 1;
}

/* The shader is a material layer, never a foreground effect. */
.calculator-shell > .wavy-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
  background-color: oklch(0.055 0.008 250);
  background-image: linear-gradient(180deg, oklch(0.12 0.006 250 / 0.78), oklch(0.045 0.003 260));
  background-position: center;
  background-size: auto;
}

.wavy-backdrop canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.wavy-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.035 0.004 255 / 0.7), transparent 34%, oklch(0.035 0.004 255 / 0.28)),
    linear-gradient(180deg, oklch(0.025 0.004 255 / 0.08), transparent 42%, oklch(0.025 0.004 255 / 0.48));
}

/* A still frame of the mist (assets/Backgrounds/mist-still.jpg, vignette included) for places
   where WebGL cannot run: emails, PDFs, social images. Set --mist-still: url(...). */
.nk-mist-still {
  background: #000 var(--mist-still, none) center / cover no-repeat;
}

/* The main column of /app: <main class="container pt-16 pb-24 space-y-3">. */
.nk-page {
  width: 100%;
  margin-inline: auto;
  padding: 4rem 0.75rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) { .nk-page { padding-inline: 1rem; } }
@media (min-width: 1200px) { .nk-page { max-width: 1200px; } }

/* ── Glass ──────────────────────────────────────────────────────────────────── */

/* Shared glass geometry. The hypothesis cluster is clear; its inner frames frost. */
.aerium-frame,
.aerium-cluster {
  position: relative;
  isolation: isolate;
  border-radius: 10px;
  border: 1px solid oklch(0.94 0 0 / 0.12);
}

.aerium-frame {
  background: oklch(0.42 0 0 / 0.2);
  -webkit-backdrop-filter: blur(10px) saturate(88%);
  backdrop-filter: blur(10px) saturate(88%);
  box-shadow:
    inset 0 1px 1px oklch(0.96 0 0 / 0.18),
    inset 0 -1px 1px oklch(0.08 0 0 / 0.2),
    inset 1px 0 1px oklch(0.94 0 0 / 0.04),
    inset -1px 0 1px oklch(0.06 0 0 / 0.12),
    0 28px 76px -52px oklch(0 0 0 / 0.96);
}

.aerium-cluster {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.aerium-cluster.glass-surface {
  border-color: transparent;
  /* The values /app passes to <GlassSurface> for the "Hypothèses" cluster. */
  --glass-frost: 0.098;
  --glass-saturation: 0.92;
}

.glass-surface {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: hsl(210 14% 12% / var(--glass-frost, 0));
  -webkit-backdrop-filter: blur(3px) saturate(var(--glass-saturation, 1));
  backdrop-filter: blur(3px) saturate(var(--glass-saturation, 1));
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.07),
    inset 0 -1px 0 hsl(0 0% 0% / 0.12),
    0 24px 52px -46px hsl(0 0% 0% / 0.78);
  transition: opacity 260ms ease-out;
}

.glass-surface__content,
.hypothesis-glass-content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  border-radius: inherit;
}

.hypothesis-heading { color: oklch(0.97 0 0); }
.hypothesis-subtitle { color: oklch(0.94 0 0 / 0.76); }

/* Swiss product system: one quiet field language, no ornamental glow. */
.calculator-shell .aerium-frame :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select,
  button[role="combobox"]
) {
  border-color: var(--inner-glass-border) !important;
  border-radius: 8px !important;
  background: var(--inner-glass-control) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 var(--inner-glass-highlight),
    inset 0 -1px 0 oklch(0.04 0.012 166 / 0.22) !important;
  color: oklch(0.94 0.003 255) !important;
  font-size: var(--type-secondary);
  font-weight: 380;
  letter-spacing: -0.008em;
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    box-shadow var(--motion-standard) var(--ease-premium);
}

.calculator-shell .aerium-frame :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select,
  button[role="combobox"]
):hover {
  border-color: oklch(0.76 0.038 166 / 0.2) !important;
  background: var(--inner-glass-hover) !important;
}

.calculator-shell .aerium-frame :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select,
  button[role="combobox"]
):focus-visible {
  border-color: oklch(0.82 0.05 166 / 0.32) !important;
  outline: none;
  box-shadow:
    inset 0 1px 0 oklch(0.92 0.025 166 / 0.09),
    0 0 0 3px oklch(0.72 0.05 166 / 0.055) !important;
}

.calculator-shell .aerium-frame :where(input, textarea)::placeholder {
  color: oklch(0.7 0.004 255 / 0.52);
}

/* Nested cards and subdued blocks read as smoked glass, not black screens.
   SPA: any .bg-card inside a frame. Static: .nk-inner-panel. */
.calculator-shell .aerium-frame :where(.bg-card:not(.aerium-frame), .nk-inner-panel) {
  border: 1px solid var(--inner-glass-border);
  border-radius: 8px;
  background: var(--inner-glass-panel);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 var(--inner-glass-highlight),
    inset 0 -1px 0 oklch(0.035 0.012 166 / 0.3),
    0 18px 44px -34px oklch(0.025 0.012 166 / 0.9);
}

/* SPA: bg-background, bg-muted/NN inside a frame. Static: .nk-inner-soft. */
.calculator-shell .aerium-frame .nk-inner-soft {
  border: 1px solid var(--inner-glass-border);
  background: var(--inner-glass-soft);
}

.calculator-shell .aerium-frame label {
  font-weight: 360;
  letter-spacing: -0.006em;
}

.calculator-shell .uppercase { text-transform: uppercase; }

/* Inside a frame every uppercase label settles at 430 / 0.075em, whatever tracking the markup asked for. */
.calculator-shell .aerium-frame :where(.uppercase, .nk-block-label, .nk-eq-label, .nk-equation-title, .nk-ratio-name, .nk-hyp-chip, .nk-before-chip, .nk-narrative-intro, .nk-opportunity-badge) {
  font-weight: 430;
  letter-spacing: 0.075em;
}

.calculator-shell .aerium-frame button {
  box-shadow: none;
}

.calculator-shell .aerium-frame button:hover {
  transform: none;
}

.calculator-shell .subsection-title {
  margin: 0 0 1rem;
  color: oklch(0.82 0.004 255 / 0.72);
  font-size: var(--type-secondary);
  font-weight: 430;
  letter-spacing: -0.012em;
  text-transform: none;
}

/* ── Section card: a numbered frame that opens and closes ───────────────────── */

/* Let the browser skip layout and paint work for cards below the viewport. */
.section-card {
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 76px;
}

/* State-led motion: the surface responds first, then its content settles in. */
.section-card-header {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: default;
  user-select: none;
  transition: background-color var(--motion-fast) var(--ease-premium);
}

.section-card-header:hover { background: oklch(0.96 0 0 / 0.018); }
.section-card-header:active { background: oklch(0.96 0 0 / 0.035); }
.section-card-header:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px oklch(0.94 0.004 255 / 0.16);
}

.section-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.008em;
}

.section-card-title > .nk-title-text { flex: 1; min-width: 0; }

.section-card-heading { margin: 0; font-size: inherit; }

.section-card-subtitle {
  display: block;
  margin-top: 0.375rem;
  color: hsl(0 0% 97% / 0.7);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.002em;
}

.section-number {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  color: var(--nk-foreground);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: normal;
  background: oklch(0.105 0.018 166 / 0.76);
  box-shadow: inset 0 0 0 1px oklch(0.72 0.035 166 / 0.13);
}

.section-card-header .section-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: hsl(0 0% 60% / 0.6);
  transition:
    transform var(--motion-disclosure) var(--ease-premium),
    color var(--motion-fast) var(--ease-premium);
}

.section-card-header .section-chevron.is-open {
  transform: rotate(180deg);
  color: oklch(0.94 0.003 255 / 0.84);
}

.section-disclosure {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    grid-template-rows var(--motion-disclosure) var(--ease-premium),
    opacity 120ms ease-out,
    visibility 0s linear var(--motion-disclosure);
}

.section-disclosure.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    grid-template-rows var(--motion-disclosure) var(--ease-premium),
    opacity var(--motion-fast) ease-out,
    visibility 0s linear 0s;
}

.section-disclosure-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0.72;
  transform: translateY(-5px);
  transition:
    opacity var(--motion-fast) ease-out,
    transform var(--motion-disclosure) var(--ease-premium);
}

.section-disclosure.is-open .section-disclosure-inner {
  opacity: 1;
  transform: translateY(0);
}

.section-card-content { padding: 0 1.25rem 1.25rem; }

/* ── Actions ────────────────────────────────────────────────────────────────── */

.swiss-create-button,
.swiss-action {
  min-height: 2.5rem;
  border: 1px solid oklch(0.95 0 0 / 0.1);
  border-radius: 8px;
  background: oklch(0.12 0.004 255 / 0.52);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: oklch(0.94 0.003 255);
  font-family: inherit;
  font-size: var(--type-secondary, 0.875rem);
  font-weight: 420;
  letter-spacing: -0.01em;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    color var(--motion-fast) var(--ease-premium),
    transform var(--motion-press) var(--ease-press);
}

.swiss-create-button:hover,
.swiss-action:hover {
  border-color: oklch(0.95 0 0 / 0.18);
  background: oklch(0.18 0.004 255 / 0.62);
}

.swiss-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
}

.swiss-create-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
}

.swiss-action--primary,
.swiss-create-button {
  border-color: oklch(0.96 0.002 255);
  background: oklch(0.96 0.002 255);
  color: oklch(0.12 0.004 255);
}

.swiss-action--primary:hover,
.swiss-create-button:hover {
  border-color: oklch(0.88 0.003 255);
  background: oklch(0.88 0.003 255);
}

.swiss-action--quiet {
  border-color: transparent;
  background: transparent;
  color: oklch(0.72 0.004 255 / 0.68);
}

.swiss-action--quiet:hover {
  border-color: transparent;
  background: oklch(0.95 0 0 / 0.04);
  color: oklch(0.9 0.003 255);
}

.swiss-action:disabled,
.swiss-create-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.swiss-action svg,
.swiss-create-button svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.swiss-action--quiet svg { width: 0.875rem; height: 0.875rem; }

.swiss-kicker {
  color: oklch(0.76 0.004 255 / 0.68) !important;
  font-size: 0.6875rem !important;
  font-weight: 420;
  letter-spacing: 0.105em !important;
  text-transform: uppercase;
}

/* The estimator entry inside a frame: a control cut from the same polished glass. */
.calculator-shell .aerium-frame .estimation-glass-action {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid oklch(0.72 0.035 166 / 0.13);
  border-radius: 8px;
  background: oklch(0.15 0.022 166 / 0.42);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: oklch(0.96 0.006 166);
  font-size: 0.875rem;
  font-weight: 410;
  letter-spacing: -0.012em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 1px oklch(0.9 0.025 166 / 0.1),
    inset 0 -1px 1px oklch(0.03 0.014 166 / 0.3),
    inset 1px 0 1px oklch(0.9 0.025 166 / 0.025),
    inset -1px 0 1px oklch(0.03 0.014 166 / 0.12);
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium);
}

.calculator-shell .aerium-frame .estimation-glass-action:hover {
  border-color: oklch(0.76 0.04 166 / 0.2);
  background: oklch(0.18 0.026 166 / 0.54);
}

.calculator-shell .aerium-frame .estimation-glass-action:focus-visible {
  outline: none;
  border-color: oklch(0.82 0.05 166 / 0.3);
  box-shadow:
    inset 0 1px 1px oklch(0.92 0.025 166 / 0.14),
    inset 0 -1px 1px oklch(0.03 0.014 166 / 0.3),
    0 0 0 3px oklch(0.72 0.05 166 / 0.06);
}

.estimation-glass-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid oklch(0.72 0.035 166 / 0.11);
  border-radius: 8px;
  background: oklch(0.105 0.02 166 / 0.48);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 1px oklch(0.86 0.025 166 / 0.075),
    inset 0 -1px 1px oklch(0.02 0.014 166 / 0.24),
    inset 1px 0 1px oklch(0.86 0.025 166 / 0.018),
    inset -1px 0 1px oklch(0.02 0.014 166 / 0.1);
}

.estimation-glass-total .nk-total-label { font-size: 0.875rem; font-weight: 380; color: hsl(0 0% 97% / 0.75); }
.estimation-glass-total .nk-total-value { font-size: 0.875rem; font-weight: 520; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.01em; }

/* A restrained physical response makes controls feel precise, not animated. */
.calculator-shell .aerium-frame button:not([role="combobox"]):not(:disabled):active,
.swiss-sidebar .swiss-create-button:not(:disabled):active,
.swiss-sidebar .napkn-history-row:active,
.swiss-sidebar .resource-link:active,
.swiss-sidebar .napkn-search-clear:active,
.swiss-action:not(:disabled):active {
  transform: translateY(1px) scale(0.992);
  transition-duration: var(--motion-press);
  transition-timing-function: var(--ease-press);
}

/* ── Fields (CalcField, MoneyInput, PercentDollarField) ─────────────────────── */

.nk-field { display: flex; flex-direction: column; min-width: 0; }

.nk-label-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 1.25rem;
  margin-bottom: 0.5rem;
}

.nk-label {
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nk-input-row { display: flex; align-items: center; gap: 0.125rem; }
.nk-input-wrap { position: relative; flex: 1; min-width: 0; }

/* The Input component outside a frame. Inside a frame the smoked-glass rule above wins. */
.nk-input {
  display: flex;
  width: 100%;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(220 10% 13% / 0.4);
  border-radius: 6px;
  background: var(--nk-input);
  color: var(--nk-foreground);
  font-size: 1rem;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: all 200ms ease-out;
}
@media (min-width: 768px) { .nk-input { font-size: 0.875rem; } }

.nk-input::placeholder { color: hsl(0 0% 60% / 0.5); }
.nk-input:hover { border-color: hsl(220 10% 13% / 0.7); background: hsl(218 16% 12% / 0.8); }
.nk-input:focus-visible {
  outline: none;
  border-color: hsl(0 0% 97% / 0.4);
  background: var(--nk-input);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.35),
    0 0 0 3px hsl(0 0% 97% / 0.06),
    0 0 18px -4px hsl(0 0% 97% / 0.18);
}
.nk-input:disabled { cursor: not-allowed; opacity: 0.5; }
.nk-input[readonly] { cursor: default; opacity: 0.7; }

.nk-input--money { text-align: right; }
.nk-input.has-prefix { padding-left: 1.75rem; }
.nk-input.has-suffix { padding-right: 2.5rem; }

/* Value still at its default or auto-estimated: grey until the person edits it. */
.nk-input.is-auto,
.calculator-shell .aerium-frame .nk-input.is-auto,
.nk-affix.is-auto { color: var(--nk-auto-value) !important; }

/* Estimated because the listing did not give it: amber edge plus a "?" badge. */
.nk-input.is-estimated,
.calculator-shell .aerium-frame .nk-input.is-estimated { border-color: rgb(245 158 11 / 0.5) !important; }

.nk-affix {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--nk-muted-foreground);
  font-size: 0.875rem;
  pointer-events: none;
}
.nk-affix--start { left: 0.75rem; }
.nk-affix--end { right: 0.75rem; }

.nk-estimate-badge {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--nk-background);
  color: var(--nk-estimate);
}

.nk-stepper { display: flex; flex-direction: column; flex-shrink: 0; }
.nk-stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: hsl(0 0% 60% / 0.5);
  cursor: pointer;
  transition: color 150ms, background-color 150ms;
}
.nk-stepper button:hover { color: var(--nk-foreground); background: var(--nk-muted); }
.nk-stepper svg { width: 0.75rem; height: 0.75rem; }

.nk-field-note { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
.nk-field-note p { color: var(--nk-muted-foreground); font-size: 11px; }
.nk-link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--nk-foreground);
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}
.nk-link-button:hover { text-decoration: underline; }

/* %/$ switch beside a label (PercentDollarField). */
.nk-unit-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid hsl(220 10% 13% / 0.5);
  border-radius: 6px;
}
.nk-unit-toggle button {
  padding: 0.125rem 0.5rem;
  border: 0;
  background: transparent;
  color: var(--nk-muted-foreground);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: color 150ms, background-color 150ms;
}
.nk-unit-toggle button:hover { color: var(--nk-foreground); }
.nk-unit-toggle button[aria-pressed="true"] { background: var(--nk-foreground); color: hsl(0 0% 3%); }

/* Field grids: 1 column, 2 from 640px, 3 from 1024px. */
.calc-grid,
.calc-grid-2,
.calc-grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 1.25rem;
}
.calc-grid > *, .calc-grid-2 > *, .calc-grid-3 > * { min-width: 0; }
@media (min-width: 640px) {
  .calc-grid, .calc-grid-2, .calc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .calc-grid, .calc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Selection: luminance and depth, never a separate colour UI ─────────────── */

.estimation-inner-panel,
.estimation-summary-panel,
.estimation-scenario {
  border: 1px solid var(--inner-glass-border);
  border-radius: 8px;
  background: var(--inner-glass-panel);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 var(--inner-glass-highlight),
    inset 0 -1px 0 oklch(0.035 0.012 166 / 0.26);
}

.estimation-summary-panel { background: oklch(0.16 0.014 166 / 0.48); }

.estimation-scenario {
  display: block;
  width: 100%;
  padding: 0.75rem;
  color: oklch(0.82 0.004 255 / 0.76);
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    color var(--motion-fast) var(--ease-premium);
}

.estimation-scenario:hover {
  border-color: oklch(0.94 0.003 255 / 0.18);
  background: oklch(0.2 0.01 166 / 0.52);
}

.estimation-scenario.is-selected {
  border-color: oklch(0.94 0.003 255 / 0.28);
  background: oklch(0.38 0.008 245 / 0.22);
  color: oklch(0.96 0.002 255);
  box-shadow:
    inset 0 1px 1px oklch(0.98 0 0 / 0.16),
    inset 0 -1px 1px oklch(0.04 0.006 255 / 0.28);
}

.estimation-segment {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--inner-glass-border);
  border-radius: 6px;
  background: var(--inner-glass-soft);
  color: oklch(0.76 0.004 255 / 0.72);
  font-size: 0.875rem;
  font-weight: 410;
  cursor: pointer;
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    color var(--motion-fast) var(--ease-premium);
}

.estimation-segment:hover {
  border-color: oklch(0.94 0.003 255 / 0.18);
  color: oklch(0.92 0.003 255);
}

.estimation-segment.is-selected {
  border-color: oklch(0.96 0.002 255 / 0.94);
  background: oklch(0.96 0.002 255 / 0.94);
  color: oklch(0.12 0.004 255);
}

.nk-segments { display: flex; gap: 0.5rem; }

/* Switch (Radix Switch with .motion-switch). */
.motion-switch {
  transition:
    background-color var(--motion-standard) var(--ease-premium),
    border-color var(--motion-standard) var(--ease-premium),
    transform var(--motion-press) var(--ease-press);
}
.motion-switch:not(:disabled):active { transform: scale(0.96); }
.motion-switch-thumb { transition: transform 260ms var(--ease-premium); }

.nk-switch {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  width: 2.75rem;
  height: 1.5rem;
  padding: 0;
  border: 2px solid hsl(0 0% 60% / 0.4);
  border-radius: 9999px;
  background: hsl(0 0% 60% / 0.25);
  cursor: pointer;
}
.nk-switch:hover { background: hsl(0 0% 60% / 0.35); }
.nk-switch[aria-checked="true"] { border-color: transparent; background: var(--nk-foreground); }
.nk-switch:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--nk-background), 0 0 0 4px var(--nk-accent); }
.nk-switch:disabled { cursor: not-allowed; opacity: 0.5; }
.nk-switch-thumb {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: hsl(0 0% 97% / 0.85);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  pointer-events: none;
}
.nk-switch[aria-checked="true"] .nk-switch-thumb { transform: translateX(1.25rem); background: var(--nk-background); }

/* "Ventiler les loyers": a disclosure that reads as a small glass pill. */
.calculator-shell .rent-breakdown-disclosure {
  display: flex;
  width: auto;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 5px 5px 13px;
  border: 1px solid oklch(0.82 0.012 166 / 0.18);
  border-radius: 10px;
  background: oklch(0.24 0.014 166 / 0.38);
  color: oklch(0.95 0.006 166 / 0.94);
  font-size: 0.8125rem;
  font-weight: 450;
  letter-spacing: 0.002em;
  box-shadow:
    inset 0 1px 0 oklch(0.94 0.01 166 / 0.11),
    inset 0 -1px 0 oklch(0.03 0.012 166 / 0.2),
    0 8px 20px -16px oklch(0.02 0.014 166 / 0.8);
  transform: translateZ(0) scale(1);
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    color 180ms ease-out,
    box-shadow 180ms ease-out;
}

.calculator-shell .rent-breakdown-disclosure:hover,
.calculator-shell .rent-breakdown-disclosure.is-open {
  border-color: oklch(0.86 0.012 166 / 0.26);
  background: oklch(0.3 0.014 166 / 0.46);
  color: oklch(0.985 0.003 166);
  box-shadow:
    inset 0 1px 0 oklch(0.96 0.008 166 / 0.15),
    inset 0 -1px 0 oklch(0.03 0.012 166 / 0.22),
    0 10px 24px -17px oklch(0.02 0.014 166 / 0.9);
}

.calculator-shell .rent-breakdown-disclosure:focus-visible {
  outline: none;
  border-color: oklch(0.9 0.01 166 / 0.38);
  box-shadow:
    inset 0 1px 0 oklch(0.96 0.008 166 / 0.15),
    inset 0 -1px 0 oklch(0.03 0.012 166 / 0.22),
    0 0 0 3px oklch(0.82 0.016 166 / 0.1);
}

.calculator-shell .rent-breakdown-disclosure:active {
  transform: translateZ(0) scale(0.985);
  transition-duration: 90ms;
}

.calculator-shell .rent-breakdown-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: oklch(0.86 0.012 166 / 0.76);
  transition: color 180ms ease-out;
}

.calculator-shell .rent-breakdown-affordance {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.88 0.01 166 / 0.18);
  border-radius: 50%;
  background: oklch(0.86 0.01 166 / 0.13);
  color: oklch(0.96 0.004 166 / 0.86);
  box-shadow:
    inset 0 1px 0 oklch(0.98 0.004 166 / 0.12),
    0 1px 2px oklch(0.02 0.01 166 / 0.22);
  transform: rotate(0deg) scale(1);
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease-out,
    border-color 180ms ease-out;
}

.calculator-shell .rent-breakdown-affordance svg { width: 0.75rem; height: 0.75rem; }

.calculator-shell .rent-breakdown-disclosure:hover .rent-breakdown-icon { color: oklch(0.96 0.006 166 / 0.92); }

.calculator-shell .rent-breakdown-disclosure:hover .rent-breakdown-affordance {
  border-color: oklch(0.92 0.008 166 / 0.28);
  background: oklch(0.9 0.008 166 / 0.19);
}

.calculator-shell .rent-breakdown-disclosure.is-open .rent-breakdown-affordance {
  border-color: oklch(0.92 0.008 166 / 0.28);
  background: oklch(0.9 0.008 166 / 0.19);
  transform: rotate(180deg) scale(1);
}

.calculator-shell .rent-breakdown-disclosure:active .rent-breakdown-affordance {
  transform: rotate(0deg) scale(0.9);
  transition-duration: 90ms;
}

.calculator-shell .rent-breakdown-disclosure.is-open:active .rent-breakdown-affordance {
  transform: rotate(180deg) scale(0.9);
}

/* ── Results ────────────────────────────────────────────────────────────────── */

/* A 1px edge in the colour of the total it frames: emerald for money in, red for money out. */
.nk-result-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid rgb(16 185 129 / 0.25);
  border-radius: 8px;
}
.nk-result-block--negative { border-color: rgb(239 68 68 / 0.25); }

.nk-block-label {
  margin-bottom: 0.5rem;
  color: hsl(0 0% 60% / 0.8);
  font-size: var(--type-caption);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nk-result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.375rem;
  font-size: 0.875rem;
}
.nk-result-line > span:first-child { display: flex; align-items: center; gap: 0.375rem; }
.nk-result-line .nk-value { font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.01em; white-space: nowrap; }
.nk-result-line.is-emphasized { font-size: 1rem; }
.nk-result-line.is-bold { font-weight: 600; }
.nk-result-line.is-positive,
.nk-result-line.is-positive .nk-value { color: var(--nk-positive); font-weight: 600; }
.nk-result-line.is-negative,
.nk-result-line.is-negative .nk-value { color: var(--nk-negative); font-weight: 600; }
.nk-result-line.is-muted .nk-value { color: var(--nk-muted-foreground); }
.nk-result-line .nk-label-note { color: var(--nk-muted-foreground); font-weight: 400; }

.nk-result-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(220 10% 13% / 0.4);
}

.nk-disclosure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: hsl(0 0% 60% / 0.8);
  font-size: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: color 150ms;
}
.nk-disclosure:hover { color: var(--nk-foreground); }
.nk-disclosure svg { width: 0.75rem; height: 0.75rem; transition: transform 150ms; }
.nk-disclosure[aria-expanded="true"] svg { transform: rotate(90deg); }

.nk-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 0.5rem 1rem;
  padding-left: 1rem;
  border-left: 1px solid hsl(220 10% 13% / 0.4);
}

/* The final calculation: refinancing − cost = result, figures on one baseline. */
.nk-equation-title {
  margin-bottom: 2rem;
  color: hsl(0 0% 60% / 0.6);
  font-size: var(--type-caption);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
}

.nk-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem 1.5rem;
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .nk-equation { grid-template-columns: 1fr auto 1fr auto 1fr; column-gap: 2rem; }
}

.nk-eq-cell { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.nk-eq-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1rem;
  color: hsl(0 0% 60% / 0.55);
  font-size: var(--type-caption);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nk-eq-value {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums lining-nums;
}
.nk-eq-value.is-in { color: rgb(52 211 153 / 0.75); }
.nk-eq-value.is-out { color: rgb(248 113 113 / 0.75); }
.nk-eq-value.is-neutral { color: hsl(0 0% 97% / 0.85); }
.nk-eq-hero {
  background: linear-gradient(180deg, hsl(160 84% 55%) 0%, hsl(160 84% 42%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px hsl(160 84% 45% / 0.3));
  font-size: 1.875rem;
  font-weight: 700;
}
.nk-eq-op {
  display: none;
  align-items: center;
  justify-content: center;
  height: 3rem;
  margin-top: 1.75rem;
  color: hsl(0 0% 60% / 0.3);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  user-select: none;
}
.nk-eq-op-mobile {
  margin-inline: auto;
  color: hsl(0 0% 60% / 0.3);
  font-size: 1rem;
  font-weight: 300;
  user-select: none;
}
.nk-eq-note {
  max-width: 20rem;
  color: hsl(0 0% 60% / 0.55);
  font-size: 12px;
  line-height: 1.375;
  text-align: center;
}
@media (min-width: 1024px) {
  .nk-eq-value { font-size: 26px; }
  .nk-eq-hero { font-size: 32px; }
  .nk-eq-op { display: flex; font-size: 1.5rem; }
  .nk-eq-op-mobile { display: none; }
}

/* Capital gauge: intentionally close to the restrained Magic UI reference. */
.capital-recovery-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem 2.5rem;
  border-radius: 10px;
  background: transparent;
}
@media (min-width: 1024px) { .capital-recovery-gauge { padding-bottom: 3.5rem; } }

.nk-gauge { position: relative; width: 280px; height: 280px; max-width: 100%; }
@media (min-width: 640px) { .nk-gauge { width: 304px; height: 304px; } }
.nk-gauge svg { display: block; width: 100%; height: 100%; }
.nk-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: auto;
  max-width: 12rem;
  text-align: center;
}
.nk-gauge-figure { display: flex; align-items: baseline; justify-content: center; color: var(--nk-gauge-fill); }
.nk-gauge-figure b { font-size: 54px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nk-gauge-figure span { margin-left: 0.25rem; font-size: 18px; font-weight: 400; line-height: 1; opacity: 0.65; }

.capital-recovery-ring {
  overflow: visible;
  filter:
    drop-shadow(0 1px 1px oklch(0.02 0.006 166 / 0.52))
    drop-shadow(0 -1px 0.8px oklch(0.94 0.01 166 / 0.11));
}
.capital-recovery-ring .gauge-glass-body { opacity: 0.94; }
.capital-recovery-ring .gauge-glass-rim { opacity: 0.82; }
.capital-recovery-ring .gauge-glass-edges { pointer-events: none; opacity: 0.78; }

.capital-recovery-label {
  color: hsl(0 0% 60% / 0.66);
  font-size: 0.6875rem;
  font-weight: 380;
  line-height: 1.55;
  letter-spacing: 0.018em;
}

.nk-gauge-legend { max-width: 28rem; margin-top: 1.5rem; text-align: center; }
.nk-gauge-legend strong { display: block; margin-bottom: 0.5rem; color: var(--nk-foreground); font-size: 15px; font-weight: 500; letter-spacing: -0.005em; }
.nk-gauge-legend p { color: hsl(0 0% 60% / 0.7); font-size: 13px; line-height: 1.625; }

/* Building ratios under the address: CPL · MRB · MRN · TGA. */
.nk-ratios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid hsl(220 10% 13% / 0.6);
  border-radius: 6px;
  background: hsl(218 16% 12% / 0.2);
}
.calculator-shell .aerium-frame .nk-ratios { border-color: var(--inner-glass-border); background: var(--inner-glass-soft); }
.nk-ratio {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.625rem 0.375rem;
}
.nk-ratio + .nk-ratio { border-left: 1px solid hsl(220 10% 13% / 0.6); }
.nk-ratio-name {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--nk-muted-foreground);
  font-size: var(--type-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nk-ratio-value { max-width: 100%; overflow: hidden; font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; text-overflow: ellipsis; white-space: nowrap; }
.nk-ratio-bench { max-width: 100%; overflow: hidden; color: hsl(0 0% 60% / 0.8); font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 640px) {
  .nk-ratio { padding-inline: 0.75rem; }
  .nk-ratio-value { font-size: 0.875rem; }
}

/* Before | label | after rows of section 1: two columns, then 160px · 1fr · 160px from 1024px. */
.prop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0.5rem;
  max-width: 600px;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .prop-grid { grid-template-columns: minmax(0, 160px) 1fr minmax(0, 160px); }
}

/* Post-optimization (projected) values speak in hypothesis blue. */
.nk-hyp-chip,
.nk-before-chip {
  display: flex;
  justify-content: center;
  padding-block: 0.375rem;
  border-radius: 6px;
  font-size: var(--type-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nk-hyp-chip { border: 1px solid hsl(213 94% 68% / 0.2); background: hsl(213 94% 68% / 0.08); color: var(--nk-hypothesis); }
.nk-before-chip { border: 1px solid var(--nk-border); background: hsl(218 16% 12% / 0.4); color: var(--nk-muted-foreground); }

.nk-hyp-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(213 94% 68% / 0.3);
  border-radius: 8px;
  background: hsl(213 94% 68% / 0.05);
  color: var(--nk-hypothesis);
  font-size: 0.875rem;
}
.nk-hyp-total span:first-child { font-weight: 600; }
.nk-hyp-total span:last-child { font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }

.nk-hyp-ring { border-radius: 6px; box-shadow: 0 0 0 1px hsl(213 94% 68% / 0.15); }
.nk-before-ring { border-radius: 6px; box-shadow: 0 0 0 1px hsl(220 10% 13% / 0.5); }

/* Result sentences, numbered, after a short coloured rule. */
.nk-divider { width: 3rem; height: 1px; margin: 0 auto 2rem; background: rgb(16 185 129 / 0.4); }
.nk-divider--amber { background: rgb(245 158 11 / 0.4); }
.nk-divider--red { background: rgb(239 68 68 / 0.4); }

.nk-narrative-intro {
  margin-bottom: 2rem;
  color: var(--nk-muted-foreground);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.nk-narrative { display: flex; flex-direction: column; gap: 1.25rem; max-width: 620px; margin: 0 auto; padding: 0; list-style: none; }
.nk-narrative li { display: flex; min-width: 0; gap: 0.75rem; }
.nk-narrative-num {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 6px;
  border: 1px solid hsl(220 10% 13% / 0.6);
  border-radius: 9999px;
  background: var(--nk-background);
  color: var(--nk-muted-foreground);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}
.nk-narrative p {
  flex: 1;
  min-width: 0;
  color: hsl(0 0% 97% / 0.7);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.nk-narrative p b { color: var(--nk-foreground); font-weight: 700; }
@media (min-width: 640px) {
  .nk-narrative li { gap: 1.25rem; }
  .nk-narrative p { font-size: 22px; line-height: 1.7; }
}

/* The "Opportunité" card: a raised pale panel with a pill badge riding its top edge. */
.nk-opportunity {
  position: relative;
  max-width: 620px;
  margin: 4rem auto 0;
  padding: 4rem 1.25rem 2rem;
  border: 1px solid hsl(0 0% 97% / 0.1);
  border-radius: 16px;
  background: hsl(0 0% 97% / 0.035);
}
@media (min-width: 640px) { .nk-opportunity { padding: 3rem 2rem 2rem; } }

.nk-opportunity-badge {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  display: inline-flex;
  max-width: calc(100% - 2rem);
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 0.625rem;
  border: 1px solid hsl(0 0% 97% / 0.1);
  border-radius: 9999px;
  background: oklch(0.18 0.004 255);
  color: var(--nk-foreground);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}
.nk-opportunity-badge img { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
@media (min-width: 640px) {
  .nk-opportunity-badge { gap: 0.625rem; padding: 0.5rem 1.25rem 0.5rem 0.75rem; }
  .nk-opportunity-badge img { width: 2.25rem; height: 2.25rem; }
}

.nk-opportunity-title { margin-bottom: 2rem; color: var(--nk-foreground); font-size: 16px; font-weight: 600; line-height: 1.375; letter-spacing: -0.01em; text-align: center; }
.nk-opportunity-list { display: flex; flex-direction: column; gap: 1.25rem; }
.nk-opportunity-item { display: flex; min-width: 0; align-items: flex-start; gap: 0.75rem; }
.nk-opportunity-item p { flex: 1; min-width: 0; color: hsl(0 0% 97% / 0.85); font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; overflow-wrap: anywhere; text-wrap: pretty; }
.nk-opportunity-item p b { color: var(--nk-positive-soft); font-weight: 700; white-space: nowrap; }
.nk-opportunity-item p b.is-plain { color: var(--nk-foreground); }
.nk-arrow-chip {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.25rem;
  border-radius: 9999px;
  background: rgb(16 185 129 / 0.15);
  color: var(--nk-positive-soft);
  font-size: 0.75rem;
  font-weight: 700;
}
@media (min-width: 640px) {
  .nk-opportunity-title { font-size: 18px; }
  .nk-opportunity-item { gap: 1rem; }
  .nk-opportunity-item p { font-size: 18px; line-height: 1.55; }
}

.nk-cta-white {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--nk-foreground);
  border-radius: 10px;
  background: var(--nk-foreground);
  color: var(--nk-background);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms;
}
.nk-cta-white:hover { background: hsl(0 0% 97% / 0.88); }
.nk-cta-white img { width: 1.75rem; height: 1.75rem; }

.aerium-footnote {
  padding: 1rem 1.25rem;
  border: 1px solid oklch(0.72 0.035 166 / 0.11);
  border-radius: 8px;
  background: oklch(0.12 0.018 166 / 0.4);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: inset 0 1px 0 oklch(0.9 0.025 166 / 0.055);
}
.aerium-footnote p { color: var(--nk-muted-foreground); font-size: 11px; line-height: 1.625; }
.aerium-footnote strong { font-weight: bolder; }

/* ── Help, menus, toasts ────────────────────────────────────────────────────── */

.nk-help {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: hsl(0 0% 60% / 0.6);
  cursor: help;
  transition: color 150ms;
}
.nk-help:hover { color: var(--nk-muted-foreground); }
.nk-help svg { width: 0.875rem; height: 0.875rem; }

.nk-popover {
  width: max-content;
  max-width: 260px;
  padding: 0.375rem 0.625rem;
  border: 1px solid hsl(220 10% 13% / 0.6);
  border-radius: 6px;
  background: var(--nk-popover);
  color: var(--nk-foreground);
  font-size: 0.75rem;
  line-height: 1.375;
  white-space: pre-line;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.nk-menu {
  min-width: 8rem;
  padding: 0.25rem;
  border: 1px solid var(--nk-border);
  border-radius: 6px;
  background: var(--nk-popover);
  color: var(--nk-foreground);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.nk-menu-item {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0.375rem 0.5rem 0.375rem 2rem;
  border: 0;
  border-radius: 2px;
  background: none;
  color: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: default;
}
/* The one place the brand green fills a surface: the highlighted menu item. */
.nk-menu-item:hover,
.nk-menu-item:focus-visible,
.nk-menu-item[data-highlighted] { outline: none; background: var(--nk-accent); color: var(--nk-accent-foreground); }
.nk-menu-item[aria-selected="true"]::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  width: 0.5rem;
  height: 0.3rem;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.app-language-float {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  border: 1px solid oklch(0.95 0.004 255 / 0.08);
  border-radius: 8px;
  background: oklch(0.075 0.004 255 / 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.035);
}

.nk-language-trigger {
  display: inline-flex;
  height: 2rem;
  align-items: center;
  gap: 0.375rem;
  padding: 0 0.625rem;
  border: 1px solid hsl(220 10% 13% / 0.5);
  border-radius: 6px;
  background: transparent;
  color: var(--nk-muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 150ms, border-color 150ms;
}
.nk-language-trigger:hover { color: var(--nk-foreground); border-color: hsl(0 0% 97% / 0.3); }
.nk-language-trigger svg { width: 0.875rem; height: 0.875rem; }

.nk-toast {
  display: flex;
  width: 356px;
  max-width: calc(100vw - 2rem);
  align-items: center;
  gap: 0.375rem;
  padding: 1rem;
  border: 1px solid var(--nk-border);
  border-radius: 8px;
  background: var(--nk-background);
  color: var(--nk-foreground);
  font-size: 13px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.nk-toast svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.nk-toast p { font-weight: 500; line-height: 1.5; }

/* ── Sidebar ────────────────────────────────────────────────────────────────── */

.swiss-sidebar {
  --sidebar-space-xs: 0.25rem;
  --sidebar-space-sm: 0.5rem;
  --sidebar-space-md: 0.75rem;
  --sidebar-space-lg: 1rem;
  --sidebar-space-xl: 1.5rem;
  --sidebar-inset: var(--sidebar-space-lg);
  color: hsl(0 0% 63%);
}

.swiss-sidebar :where([data-sidebar="sidebar"], .nk-sidebar-panel) {
  display: flex;
  flex-direction: column;
  width: 16rem;
  height: 100%;
  border-right: 1px solid oklch(0.98 0 0 / 0.07);
  background-image: linear-gradient(180deg, oklch(0.12 0.005 255 / 0.96), oklch(0.055 0.003 260 / 0.98));
  background-size: auto;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.swiss-sidebar .sidebar-layout { display: flex; flex-direction: column; gap: 0; padding-block: var(--sidebar-space-lg); }
.swiss-sidebar .sidebar-brand { padding-inline: var(--sidebar-inset); }
.swiss-sidebar .sidebar-brand-row {
  display: flex;
  width: 100%;
  min-height: 1.75rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--sidebar-space-md);
}
.swiss-sidebar .sidebar-wordmark {
  margin: 0;
  color: var(--nk-foreground);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.004em;
  text-transform: lowercase;
}

.swiss-sidebar .sidebar-panel-trigger,
.sidebar-reopen-trigger {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: oklch(0.78 0.004 255 / 0.72);
  cursor: pointer;
  transition:
    color var(--motion-fast) var(--ease-premium),
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium);
}
.swiss-sidebar .sidebar-panel-trigger svg,
.sidebar-reopen-trigger svg { width: 1rem; height: 1rem; }

.swiss-sidebar .sidebar-panel-trigger:hover,
.sidebar-reopen-trigger:hover {
  border-color: oklch(0.94 0.004 255 / 0.09);
  background: oklch(0.9 0.004 255 / 0.055);
  color: oklch(0.96 0.003 255);
}

.sidebar-reopen-trigger {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9;
  border-color: oklch(0.95 0.004 255 / 0.08);
  background: oklch(0.075 0.004 255 / 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.035);
}

.swiss-sidebar .sidebar-rule {
  height: 1px;
  flex: none;
  margin-inline: var(--sidebar-inset);
  background: oklch(0.92 0.004 255 / 0.075);
}
.swiss-sidebar .sidebar-rule--brand { margin-block: var(--sidebar-space-lg) var(--sidebar-space-xl); }
.swiss-sidebar .sidebar-rule--sections { margin-block: var(--sidebar-space-xl) var(--sidebar-space-lg); }

.swiss-sidebar .sidebar-section { display: flex; flex-direction: column; gap: 0; padding: 0 var(--sidebar-inset); }
.swiss-sidebar .sidebar-section-label { height: auto; margin: 0 0 var(--sidebar-space-md); padding: 0; line-height: 1.2; }
.swiss-sidebar .sidebar-resource-menu { display: flex; flex-direction: column; gap: var(--sidebar-space-xs); margin: 0; padding: 0; list-style: none; }

.resource-link {
  display: flex;
  height: 2.5rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.5rem;
  border-radius: 8px;
  color: hsl(0 0% 97% / 0.75);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition-property: color, background-color, transform;
  transition-duration: var(--motion-fast), var(--motion-fast), var(--motion-press);
  transition-timing-function: var(--ease-premium), var(--ease-premium), var(--ease-press);
}
.resource-link:hover { background: hsl(0 0% 97% / 0.055); color: var(--nk-foreground); }

.resource-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  color: var(--nk-muted-foreground);
  background: hsl(0 0% 97% / 0.035);
  box-shadow: inset 0 0 0 1px hsl(0 0% 97% / 0.05);
  transition: color 150ms, background-color 150ms;
}
.resource-icon > svg { width: 15px; height: 15px; stroke-width: 1.5; }
.resource-link:hover .resource-icon { color: var(--nk-foreground); background: hsl(0 0% 97% / 0.07); }
.resource-external { width: 0.75rem; height: 0.75rem; flex-shrink: 0; color: hsl(0 0% 60% / 0.4); transition: color 150ms; }
.resource-link:hover .resource-external { color: var(--nk-muted-foreground); }

.swiss-sidebar .napkn-controls { display: flex; flex-direction: column; gap: var(--sidebar-space-sm); margin-bottom: var(--sidebar-space-md); }
.swiss-sidebar .swiss-create-button,
.swiss-sidebar .napkn-search-input { height: 2.5rem; }
.swiss-sidebar .napkn-search { position: relative; }

.swiss-sidebar .napkn-search-input {
  width: 100%;
  border: 1px solid oklch(0.94 0.004 255 / 0.075);
  border-radius: 8px;
  outline: none;
  background: oklch(0.075 0.004 255 / 0.54);
  padding: 0 var(--sidebar-space-xl) 0 2.125rem;
  color: oklch(0.94 0.003 255);
  font-size: var(--type-caption, 0.75rem);
  font-weight: 360;
  letter-spacing: -0.006em;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.025);
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    box-shadow var(--motion-standard) var(--ease-premium);
}
.swiss-sidebar .napkn-search-input::placeholder { color: oklch(0.7 0.004 255 / 0.48); }
.swiss-sidebar .napkn-search-input:hover { border-color: oklch(0.94 0.004 255 / 0.12); background: oklch(0.095 0.004 255 / 0.6); }
.swiss-sidebar .napkn-search-input:focus-visible {
  border-color: oklch(0.94 0.004 255 / 0.22);
  background: oklch(0.11 0.004 255 / 0.64);
  box-shadow: 0 0 0 3px oklch(0.94 0.004 255 / 0.045);
}

.swiss-sidebar .napkn-search-icon {
  position: absolute;
  top: 50%;
  left: var(--sidebar-space-md);
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(-50%);
  color: oklch(0.72 0.004 255 / 0.5);
  stroke-width: 1.5;
  pointer-events: none;
}

.swiss-sidebar .napkn-history-list { display: flex; flex-direction: column; gap: var(--sidebar-space-xs); margin: 0; padding: 0; list-style: none; }

.swiss-sidebar .napkn-history-row {
  display: flex;
  width: 100%;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.375rem var(--sidebar-space-sm);
  border: 1px solid transparent;
  border-radius: 8px;
  color: hsl(0 0% 97% / 0.8);
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    transform var(--motion-press) var(--ease-press);
}
.swiss-sidebar .napkn-history-row:hover { background: hsl(218 16% 12% / 0.5); }
.swiss-sidebar .napkn-history-row[aria-current="true"] {
  border-color: oklch(0.94 0.004 255 / 0.055);
  background: oklch(0.68 0.012 245 / 0.105);
  color: var(--nk-foreground);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.035);
}
.swiss-sidebar .napkn-history-name { display: block; overflow: hidden; font-size: 0.875rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.swiss-sidebar .napkn-history-date { display: block; margin-top: 0.125rem; overflow: hidden; color: hsl(0 0% 60% / 0.6); font-size: 10px; line-height: 1.25; font-variant-numeric: tabular-nums; }

/* ── Brand ──────────────────────────────────────────────────────────────────── */

/* Mark + lowercase wordmark, the way the sidebar composes them. */
.nk-lockup { display: inline-flex; min-width: 0; align-items: center; gap: 0.625rem; color: var(--nk-foreground); text-decoration: none; }
.nk-lockup img { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.nk-lockup span { font-size: 1.125rem; font-weight: 500; line-height: 1; letter-spacing: 0.004em; text-transform: lowercase; }

/* The luminous bar (from /live), in the SPA's brand green. */
.glow-line {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, hsl(151 100% 45%), transparent);
  box-shadow: 0 0 10px hsl(151 100% 45% / 0.7), 0 0 22px hsl(151 100% 45% / 0.35);
  animation: glowLine 2.6s ease-in-out infinite;
}
@keyframes glowLine {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ── Low-cost profile, reduced motion, old browsers ─────────────────────────── */

/* Modest hardware, data saver or 2G: keep the artwork, drop the filters and transitions.
   The <head> snippet in the page recipe sets data-performance="lite" before paint. */
html[data-performance="lite"] {
  --motion-press: 0.01ms;
  --motion-fast: 0.01ms;
  --motion-standard: 0.01ms;
  --motion-disclosure: 0.01ms;
}

html[data-performance="lite"] :where(
  .aerium-frame,
  .glass-surface,
  .app-language-float,
  .sidebar-reopen-trigger,
  .estimation-inner-panel,
  .estimation-summary-panel,
  .estimation-scenario
) {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-performance="lite"] .aerium-frame { background: oklch(0.17 0.006 250 / 0.72); }
html[data-performance="lite"] .glass-surface { background: hsl(210 14% 12% / 0.16); }

html[data-performance="lite"] *,
html[data-performance="lite"] *::before,
html[data-performance="lite"] *::after {
  animation-duration: 0.01ms !important;
  animation-delay: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .section-disclosure-inner { transform: none; }
  .glow-line { animation: none; opacity: 1; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .aerium-frame { background: oklch(0.24 0.006 250); }
  .aerium-cluster { background: transparent; }
  .calculator-shell .aerium-frame :where(.bg-card:not(.aerium-frame), .nk-inner-panel) { background: oklch(0.105 0.018 166); }
  .calculator-shell .aerium-frame .estimation-glass-action { background: oklch(0.17 0.022 166); }
  .estimation-glass-total { background: oklch(0.12 0.02 166); }
}

/* Browsers without oklch() drop every declaration that uses it (before Chrome 111,
   Safari 15.4, Firefox 113). These rgba twins keep the surfaces and edges. Static pages only. */
@supports not (color: oklch(0 0 0)) {
  :root {
    --nk-gauge-track: rgba(180, 185, 182, 0.34);
    --inner-glass-panel: rgba(1, 5, 3, 0.82);
    --inner-glass-control: rgba(1, 8, 4, 0.68);
    --inner-glass-soft: rgba(3, 14, 9, 0.32);
    --inner-glass-hover: rgba(4, 17, 11, 0.74);
    --inner-glass-border: rgba(145, 172, 160, 0.13);
    --inner-glass-highlight: rgba(207, 228, 218, 0.07);
  }
  .calculator-shell { background-color: rgb(1, 1, 2); }
  .calculator-shell > .wavy-backdrop { background-color: rgb(0, 1, 1); background-image: linear-gradient(180deg, rgba(5, 6, 8, 0.78), rgb(0, 0, 0)); }
  .wavy-backdrop::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 34%, rgba(0, 0, 0, 0.28)), linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 42%, rgba(0, 0, 0, 0.48)); }
  .aerium-frame, .aerium-cluster { border-color: rgba(235, 235, 235, 0.12); }
  .aerium-frame {
    background: rgba(77, 77, 77, 0.2);
    box-shadow: inset 0 1px 1px rgba(242, 242, 242, 0.18), inset 0 -1px 1px rgba(2, 2, 2, 0.2), inset 1px 0 1px rgba(235, 235, 235, 0.04), inset -1px 0 1px rgba(1, 1, 1, 0.12), 0 28px 76px -52px rgba(0, 0, 0, 0.96);
  }
  .hypothesis-heading { color: rgb(245, 245, 245); }
  .hypothesis-subtitle { color: rgba(235, 235, 235, 0.76); }
  .calculator-shell .aerium-frame :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), textarea, select, button[role="combobox"]) {
    color: rgb(234, 235, 237) !important;
    box-shadow: inset 0 1px 0 var(--inner-glass-highlight), inset 0 -1px 0 rgba(0, 0, 0, 0.22) !important;
  }
  .calculator-shell .aerium-frame :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), textarea, select, button[role="combobox"]):focus-visible { border-color: rgba(166, 207, 189, 0.32) !important; box-shadow: 0 0 0 3px rgba(135, 175, 157, 0.055) !important; }
  .swiss-create-button, .swiss-action { border-color: rgba(238, 238, 238, 0.1); background: rgba(5, 6, 7, 0.52); color: rgb(234, 235, 237); }
  .swiss-create-button:hover, .swiss-action:hover { border-color: rgba(238, 238, 238, 0.18); background: rgba(16, 18, 19, 0.62); }
  .swiss-action--primary, .swiss-create-button { border-color: rgb(241, 242, 243); background: rgb(241, 242, 243); color: rgb(5, 6, 7); }
  .swiss-action--primary:hover, .swiss-create-button:hover { border-color: rgb(214, 215, 217); background: rgb(214, 215, 217); }
  .swiss-action--quiet { border-color: transparent; background: transparent; color: rgba(163, 165, 167, 0.68); }
  .swiss-kicker { color: rgba(175, 177, 180, 0.68) !important; }
  .section-number { background: rgba(1, 5, 3, 0.76); box-shadow: inset 0 0 0 1px rgba(145, 172, 160, 0.13); }
  .aerium-footnote { border-color: rgba(145, 172, 160, 0.11); background: rgba(2, 7, 5, 0.4); }
  .calculator-shell .aerium-frame .estimation-glass-action { border-color: rgba(145, 172, 160, 0.13); background: rgba(3, 14, 9, 0.42); color: rgb(238, 243, 241); }
  .estimation-glass-total { border-color: rgba(145, 172, 160, 0.11); background: rgba(0, 5, 3, 0.48); }
  .estimation-segment.is-selected { border-color: rgba(241, 242, 243, 0.94); background: rgba(241, 242, 243, 0.94); color: rgb(5, 6, 7); }
  .estimation-scenario.is-selected { border-color: rgba(234, 235, 237, 0.28); background: rgba(63, 67, 70, 0.22); color: rgb(241, 242, 243); }
  .nk-opportunity-badge { background: rgb(16, 18, 19); }
  .app-language-float, .sidebar-reopen-trigger { border-color: rgba(237, 239, 241, 0.08); background: rgba(1, 1, 2, 0.58); }
  .swiss-sidebar :where([data-sidebar="sidebar"], .nk-sidebar-panel) { border-right-color: rgba(248, 248, 248, 0.07); background-image: linear-gradient(180deg, rgba(5, 6, 7, 0.96), rgba(0, 1, 1, 0.98)); }
  .swiss-sidebar .sidebar-rule { background: rgba(227, 229, 231, 0.075); }
  .swiss-sidebar .napkn-search-input { border-color: rgba(233, 235, 238, 0.075); background: rgba(1, 1, 2, 0.54); color: rgb(234, 235, 237); }
  .swiss-sidebar .napkn-history-row[aria-current="true"] { border-color: rgba(233, 235, 238, 0.055); background: rgba(146, 153, 159, 0.105); }
}
