/*!
 * Neovistaa design system — soft neomorphism with a hairline.
 * Brand: blue #032c95 (primary actions), yellow #ffca02 (accent actions). Never white on yellow.
 * Every surface carries a 1px hairline so components stay distinct (WCAG 1.4.11).
 */
:root {
  --nv-blue: #032c95;
  --nv-blue-700: #022375;
  --nv-blue-050: #ffffff;
  --nv-yellow: #ffca02;
  --nv-yellow-700: #e3b300;
  --nv-yellow-050: #fff6d1;
  --nv-ink: #0f1729;
  --nv-muted: #5b6577;
  --nv-faint: #687389;
  --nv-surface: #ffffff;
  --nv-surface-hi: #ffffff;
  --nv-surface-lo: #ffffff;
  --nv-line: #e3e7ee;
  --nv-line-strong: #d4d8df;
  --nv-success: #126b3d;
  --nv-success-050: #e6f5ec;
  --nv-danger: #b42318;
  --nv-danger-050: #fdecea;
  --nv-warn: #8a5a00;
  --nv-warn-050: #fff4d6;
  --nv-raise: 0 1px 2px rgba(16, 24, 40, .04);
  --nv-raise-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --nv-raise-lg: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --nv-inset: inset 0 1px 2px rgba(16, 24, 40, .06);
  --nv-inset-sm: inset 0 1px 2px rgba(16, 24, 40, .05);
  --nv-radius-sm: 8px;
  --nv-radius: 8px;
  --nv-radius-lg: 12px;
  --nv-radius-xl: 16px;
  --nv-font: Inter, "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  --nv-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --nv-ease: cubic-bezier(.2, .7, .2, 1);
  --nv-focus: 0 0 0 2px var(--nv-surface), 0 0 0 4px var(--nv-blue);
  /* Neomorphic depth on pure white: shadows only, never tinted fills. */
  /* 3.0: flat (design screens) */
  --nv-neo-raise: 0 0 0 1px #e3e7ee;
  --nv-neo-hover: 0 0 0 1px #c3cdf5, 0 2px 6px rgba(16, 24, 40, .06);
  --nv-neo-inset: inset 0 0 0 1px #d9dee7;
  --nv-neo-blue: 0 1px 2px rgba(16, 24, 40, .10);
}

/* ---------- base for Neovistaa regions ---------- */
.nv-ui, .nv-ui *, .nv-ui *::before, .nv-ui *::after { box-sizing: border-box; }
.nv-ui { font-family: var(--nv-font); color: var(--nv-ink); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.nv-ui a { color: var(--nv-blue); text-decoration: none; }
.nv-ui a:hover { color: var(--nv-blue-700); text-decoration: underline; text-underline-offset: 3px; }
html.nv-kbd .nv-ui :focus-visible{ outline: 2px solid var(--nv-blue); outline-offset: 3px; border-radius: 6px; }
.nv-ui h1, .nv-ui h2, .nv-ui h3, .nv-ui h4 { color: var(--nv-ink); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .5em; }
.nv-ui p { margin: 0 0 1em; }
.nv-tabular { font-variant-numeric: tabular-nums; }
.nv-mono { font-family: var(--nv-mono); }
.nv-muted { color: var(--nv-muted); }
.nv-sr, .nv-ui .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- surfaces ---------- */
.nv-card { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-radius-lg); box-shadow: var(--nv-raise); padding: 24px; }
.nv-card--flat { box-shadow: none; }
.nv-card--lg { border-radius: var(--nv-radius-xl); box-shadow: var(--nv-raise-lg); padding: clamp(20px, 4vw, 40px); }
.nv-well { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-radius); box-shadow: var(--nv-inset); padding: 16px; }
.nv-divider { height: 1px; background: var(--nv-line); border: 0; margin: 20px 0; }

/* ---------- buttons ---------- */
.nv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--nv-radius);
  border: 1px solid transparent; font: 600 15px/1.2 var(--nv-font); letter-spacing: -.005em;
  text-decoration: none !important; cursor: pointer; white-space: nowrap; user-select: none;
  transition: transform .16s var(--nv-ease), box-shadow .18s var(--nv-ease), background-color .18s var(--nv-ease), color .18s var(--nv-ease);
}
html.nv-kbd .nv-btn:focus-visible{ outline: none; box-shadow: var(--nv-focus); }
.nv-btn { position: relative; overflow: hidden; isolation: isolate; }
.nv-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-130%); transition: transform .6s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.nv-btn:hover::after { transform: translateX(130%); }
.nv-ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(3, 44, 149, .22); transform: scale(0); opacity: 1; animation: nv-ripple .6s cubic-bezier(.2, .7, .2, 1) forwards; z-index: -1; }
@keyframes nv-ripple { 60% { opacity: .9; } to { transform: scale(1); opacity: 0; } }
.nv-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.nv-btn--primary { background: var(--nv-blue); color: #fff !important; box-shadow: var(--nv-neo-blue); }
.nv-btn--primary:hover { background: var(--nv-blue-700); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(3, 44, 149, .34), 0 3px 6px rgba(3, 44, 149, .22), inset 0 1px 0 rgba(255, 255, 255, .22); }
.nv-btn--primary:active { transform: translateY(0) scale(.98); box-shadow: inset 4px 4px 10px rgba(6, 14, 50, .45), inset -2px -2px 6px rgba(255, 255, 255, .10); }
.nv-btn--primary .nv-ripple { background: rgba(255, 202, 2, .55); }
.nv-btn--accent { background: var(--nv-yellow); color: var(--nv-ink) !important; border-color: rgba(24, 36, 59, .06); box-shadow: -4px -4px 10px rgba(255, 255, 255, .85), 6px 8px 16px rgba(227, 179, 0, .32); }
.nv-btn--accent:hover { background: #ffd22e; transform: translateY(-1px); }
.nv-btn--accent:active { transform: translateY(0) scale(.98); box-shadow: inset 3px 3px 8px rgba(120, 90, 0, .25); }
.nv-btn--accent .nv-ripple { background: rgba(3, 44, 149, .25); }
.nv-btn--secondary { background: var(--nv-surface); color: var(--nv-blue) !important; border-color: transparent; box-shadow: var(--nv-neo-raise); }
.nv-btn--secondary:hover { transform: translateY(-2px); box-shadow: var(--nv-neo-hover); }
.nv-btn--secondary:active { box-shadow: var(--nv-neo-inset); transform: scale(.98); }
.nv-btn--ghost { background: transparent; color: var(--nv-blue) !important; border-color: transparent; box-shadow: none; padding: 0 12px; }
.nv-btn--ghost:hover { background: var(--nv-blue-050); }
.nv-btn--danger { background: var(--nv-surface); color: var(--nv-danger) !important; border-color: rgba(180, 35, 24, .25); box-shadow: var(--nv-raise-sm); }
.nv-btn--block { width: 100%; }
.nv-btn--sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 11px; }
.nv-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.nv-btn[disabled], .nv-btn[aria-disabled="true"] { cursor: not-allowed; opacity: .6; box-shadow: none; transform: none; }
.nv-btn--applied, .nv-btn--applied[aria-disabled="true"] { background: var(--nv-success-050); color: var(--nv-success) !important; border-color: rgba(24, 131, 75, .25); opacity: 1; box-shadow: none; }
.nv-btn--processing, .nv-btn--processing[aria-disabled="true"] { background: var(--nv-blue-050); color: var(--nv-blue) !important; border-color: var(--nv-line-strong); opacity: 1; }
.nv-btn--attention, .nv-btn--attention[aria-disabled="true"] { background: var(--nv-warn-050); color: var(--nv-warn) !important; border-color: rgba(138, 90, 0, .25); opacity: 1; }

/* ---------- forms ---------- */
.nv-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nv-label { font-weight: 600; font-size: 14px; color: var(--nv-ink); display: block; line-height: 1.45; }
.nv-label > label { display: inline; }
.nv-label > .nv-req, .nv-label > .nv-tip { display: inline-flex; vertical-align: middle; margin-left: 4px; }
.nv-label .nv-req { color: var(--nv-danger); font-weight: 700; }
.nv-help { font-size: 13px; color: var(--nv-muted); margin: 0; }
.nv-input, .nv-ui select.nv-input, .nv-ui textarea.nv-input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 13px;
  background: var(--nv-surface); color: var(--nv-ink); font: 400 15px/1.45 var(--nv-font);
  border: 1px solid var(--nv-line-strong); box-shadow: var(--nv-inset); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.nv-ui textarea.nv-input { min-height: 120px; resize: vertical; }
.nv-ui select.nv-input { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23243b98' stroke-width='1.8' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.nv-input::placeholder { color: var(--nv-faint); }
html.nv-kbd .nv-input:focus{ color: var(--nv-ink); border-color: var(--nv-blue); box-shadow: var(--nv-inset), 0 0 0 3px rgba(3, 44, 149, .14); }
.nv-input[readonly] { color: var(--nv-muted); background: var(--nv-surface-lo); }
.nv-field.has-error .nv-input, .nv-input[aria-invalid="true"] { border-color: var(--nv-danger); box-shadow: var(--nv-inset), 0 0 0 3px rgba(180, 35, 24, .10); }
.nv-error { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: var(--nv-danger); margin: 0; }
.nv-error::before { content: "!"; flex: 0 0 16px; height: 16px; border-radius: 50%; background: var(--nv-danger); color: #fff; font: 700 11px/16px var(--nv-font); text-align: center; margin-top: 1px; }
.nv-error:empty { display: none; }
.nv-input-group { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr); gap: 10px; }
.nv-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--nv-ink); cursor: pointer; }
.nv-check input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; border-radius: 7px; background: var(--nv-surface); border: 1px solid var(--nv-line-strong); box-shadow: var(--nv-inset-sm); cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.nv-check input:checked { background: var(--nv-blue); border-color: var(--nv-blue); box-shadow: none; }
.nv-check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
html.nv-kbd .nv-check input:focus-visible{ box-shadow: var(--nv-focus); }
.nv-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.nv-choice { position: relative; display: inline-flex; }
.nv-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nv-choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--nv-surface); border: 1px solid var(--nv-line-strong); box-shadow: var(--nv-raise-sm); font-size: 14px; font-weight: 500; color: var(--nv-ink); transition: all .16s var(--nv-ease); }
.nv-choice input:checked + span { background: var(--nv-blue); color: #fff; border-color: var(--nv-blue); box-shadow: inset 2px 2px 6px rgba(0, 0, 0, .2); }
html.nv-kbd .nv-choice input:focus-visible + span{ box-shadow: var(--nv-focus); }
.nv-choice:hover span { border-color: var(--nv-blue); }

/* ---------- info bubble ---------- */
.nv-tip { position: relative; display: inline-flex; vertical-align: middle; }
.nv-tip__btn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--nv-line-strong); background: var(--nv-surface); box-shadow: var(--nv-raise-sm); color: var(--nv-blue); font: 700 12px/1 var(--nv-font); cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
html.nv-kbd .nv-tip__btn:focus-visible{ outline: none; box-shadow: var(--nv-focus); }
.nv-tip__bubble { position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); width: max-content; max-width: min(300px, 80vw); padding: 12px 14px; border-radius: 12px; background: var(--nv-ink); color: #fff; font: 400 13px/1.5 var(--nv-font); box-shadow: 0 12px 30px rgba(24, 36, 59, .28); opacity: 0; pointer-events: none; transition: opacity .16s ease, transform .16s ease; }
.nv-tip__bubble::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--nv-ink); }
.nv-tip.is-open .nv-tip__bubble, .nv-tip:hover .nv-tip__bubble, html.nv-kbd .nv-tip__btn:focus-visible + .nv-tip__bubble{ opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ---------- badges, pills, chips ---------- */
.nv-featured {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px;
  background: var(--nv-yellow); color: var(--nv-ink); border: 1px solid rgba(24, 36, 59, .08);
  font: 800 10.5px/1 var(--nv-font); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(227, 179, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.nv-featured svg { width: 11px; height: 11px; fill: var(--nv-ink); }
.nv-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font: 600 12.5px/1.3 var(--nv-font); border: 1px solid transparent; white-space: nowrap; }
.nv-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nv-pill--good { background: var(--nv-success-050); color: var(--nv-success); border-color: rgba(24, 131, 75, .2); }
.nv-pill--info { background: var(--nv-blue-050); color: var(--nv-blue); border-color: var(--nv-line-strong); }
.nv-pill--warn { background: var(--nv-warn-050); color: var(--nv-warn); border-color: rgba(138, 90, 0, .2); }
.nv-pill--bad { background: var(--nv-danger-050); color: var(--nv-danger); border-color: rgba(180, 35, 24, .2); }
.nv-pill--neutral { background: var(--nv-surface-lo); color: var(--nv-muted); border-color: var(--nv-line); }
.nv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--nv-surface); border: 1px solid var(--nv-line-strong); box-shadow: var(--nv-raise-sm); font-size: 13px; color: var(--nv-ink); }

/* ---------- alerts & toast ---------- */
.nv-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--nv-radius); border: 1px solid; font-size: 14px; margin: 0 0 16px; }
.nv-alert--info { background: var(--nv-blue-050); border-color: var(--nv-line-strong); color: var(--nv-ink); }
.nv-alert--success { background: var(--nv-success-050); border-color: rgba(24, 131, 75, .25); color: #0f5a33; }
.nv-alert--error { background: var(--nv-danger-050); border-color: rgba(180, 35, 24, .25); color: #7d160f; }
.nv-alert--warning { background: var(--nv-warn-050); border-color: rgba(138, 90, 0, .25); color: #5c3c00; }
.nv-toast-wrap { position: fixed; z-index: 100001; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(92vw, 420px); pointer-events: none; }
.nv-toast { pointer-events: auto; padding: 14px 18px; border-radius: 14px; background: var(--nv-ink); color: #fff; font: 500 14px/1.45 var(--nv-font); box-shadow: 0 16px 40px rgba(24, 36, 59, .3); animation: nv-toast-in .22s var(--nv-ease); }
.nv-toast--error { background: #7d160f; }
.nv-toast--success { background: #0f5a33; }
@keyframes nv-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- segmented tabs ---------- */
.nv-segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; border-radius: 16px; background: var(--nv-surface); border: 1px solid var(--nv-line); box-shadow: var(--nv-inset); }
.nv-segment button, .nv-segment a { min-height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--nv-muted); font: 600 14px/1 var(--nv-font); cursor: pointer; display: grid; place-items: center; text-decoration: none !important; }
.nv-segment [aria-selected="true"], .nv-segment .is-active { background: var(--nv-surface-hi); color: var(--nv-blue); box-shadow: var(--nv-raise-sm); }

/* ---------- modal ---------- */
.nv-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 20px; }
.nv-modal.is-open, .nv-modal.is-closing { display: flex; }
.nv-modal.is-closing { pointer-events: none; }
.nv-modal.is-closing .nv-modal__backdrop { animation: nv-fade-out .2s ease forwards; }
.nv-modal.is-closing .nv-modal__dialog { animation: nv-pop-out .2s var(--nv-ease) forwards; }
.nv-modal__backdrop { position: absolute; inset: 0; background: rgba(24, 36, 59, .46); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: nv-fade .2s ease; }
.nv-modal__dialog { position: relative; width: min(100%, 470px); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--nv-surface); border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--nv-radius-xl); box-shadow: 0 30px 80px rgba(24, 36, 59, .35); padding: 30px; animation: nv-pop .24s var(--nv-ease); }
.nv-modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--nv-line); background: var(--nv-surface); box-shadow: var(--nv-raise-sm); color: var(--nv-ink); font-size: 20px; line-height: 1; cursor: pointer; }
html.nv-kbd .nv-modal__close:focus-visible{ outline: none; box-shadow: var(--nv-focus); }
@keyframes nv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nv-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes nv-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes nv-pop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(.985); } }
@media (max-width: 560px) {
  .nv-modal { padding: 0; align-items: flex-end; }
  .nv-modal__dialog { width: 100%; max-height: 94vh; border-radius: 26px 26px 0 0; padding: 26px 20px 30px; }
}

/* ---------- progress ---------- */
.nv-progress { height: 10px; border-radius: 999px; background: var(--nv-surface); border: 1px solid var(--nv-line); box-shadow: var(--nv-inset-sm); overflow: hidden; }
.nv-progress__bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--nv-blue), #3a54c0); transition: width .35s var(--nv-ease); }
.nv-ring { --p: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--nv-blue) calc(var(--p) * 1%), var(--nv-surface-lo) 0); box-shadow: var(--nv-raise-sm); }
.nv-ring span { width: 70px; height: 70px; border-radius: 50%; background: var(--nv-surface); display: grid; place-items: center; font: 700 18px/1 var(--nv-font); color: var(--nv-ink); box-shadow: var(--nv-inset-sm); }

/* ---------- table ---------- */
.nv-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.nv-table th { text-align: left; font-weight: 600; color: var(--nv-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; border-bottom: 1px solid var(--nv-line-strong); }
.nv-table td { padding: 14px; border-bottom: 1px solid var(--nv-line); vertical-align: middle; }
.nv-table tr:last-child td { border-bottom: 0; }

/* ---------- misc ---------- */
.nv-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: nv-spin .7s linear infinite; display: inline-block; }
@keyframes nv-spin { to { transform: rotate(360deg); } }
.nv-empty { text-align: center; padding: 34px 18px; color: var(--nv-muted); }
.nv-stack > * + * { margin-top: 16px; }
.nv-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.nv-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 720px) { .nv-grid-2 { grid-template-columns: 1fr; } .nv-input-group { grid-template-columns: 1fr 1fr; } .nv-input-group > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  .nv-ui *, .nv-btn, .nv-modal__dialog, .nv-modal__backdrop, .nv-toast, .nv-progress__bar { animation: none !important; transition: none !important; }
}

/* Library icons (Lucide / Simple Icons) */
.nv-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }
.site-header__cta .site-header__cta-ico { width: 16px; height: 16px; margin-left: 2px; color: var(--nv-yellow); }
.nv-mp__edit .nv-icon { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.nv-mp__banner-ico .nv-icon { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------
 * 2.0.3 one theme across the portal.
 * Yellow = the action (every primary button), blue = information and links.
 * --------------------------------------------------------------------- */
.nv-btn--primary { background: var(--nv-yellow); color: var(--nv-ink) !important; border-color: transparent; font-weight: 700;
  box-shadow: 0 6px 16px rgba(227, 179, 0, .32), 0 1px 2px rgba(120, 90, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .45); }
.nv-btn--primary:hover { background: #ffd31f; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(227, 179, 0, .38), 0 2px 4px rgba(120, 90, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .5); }
.nv-btn--primary:active { background: #f2bf00; transform: scale(.98); box-shadow: inset 3px 3px 8px rgba(120, 90, 0, .28); }
.nv-btn--primary .nv-ripple, .nv-btn--accent .nv-ripple { background: rgba(3, 44, 149, .22); }
.nv-btn--primary svg { color: var(--nv-ink); }
/* Browser surfaces in the brand palette */
.nv-ui ::selection, .nvb ::selection, .nv-careers ::selection { background: var(--nv-yellow); color: var(--nv-ink); }
.nv-ui, .nvb { caret-color: var(--nv-blue); accent-color: var(--nv-blue); }
.nv-ui a, .nvb a { text-underline-offset: .18em; }
.nv-ui p, .nvb p { text-wrap: pretty; }
.nv-ui h1, .nv-ui h2, .nv-ui h3, .nvb h1, .nvb h2 { text-wrap: balance; }
.nv-ui .nv-tabular, .nv-ui td, .nvb-mono { font-variant-numeric: tabular-nums; }
.nv-danger-zone p { max-width: 68ch; }

/* ---------- Loading: skeletons sized like the real content; no fake text ---------- */
.nv-skel { display: block; background: linear-gradient(90deg, #e4e8f2 0%, #f2f4f9 40%, #e4e8f2 80%); background-size: 200% 100%; border-radius: 6px; animation: nv-skel 1.4s ease-in-out infinite; }
.nv-skel--line { height: 12px; width: 100%; margin: 6px 0; }
.nv-skel--short { width: 55%; }
.nv-skel--title { height: 20px; width: 60%; }
.nv-skel--block { height: 100%; min-height: 48px; }
.nv-skel-page { min-height: 520px; }
@keyframes nv-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .nv-skel { animation: none; } }
.nv-progressbar { height: 6px; border-radius: 999px; background: #e8ebf2; overflow: hidden; }
.nv-progressbar > span { display: block; height: 100%; width: 0; background: var(--nv-brand, #032c95); border-radius: inherit; transition: width .2s ease; }
.nv-progressbar.is-indeterminate > span { width: 35%; animation: nv-indet 1.1s ease-in-out infinite; }
@keyframes nv-indet { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .nv-progressbar.is-indeterminate > span { animation: none; width: 100%; opacity: .45; } }

/* ---------- focus: rings only for keyboard users (html.nv-kbd is set by nv-ui.js on Tab) ---------- */
html:not(.nv-kbd) :focus, html:not(.nv-kbd) :focus-visible { outline: none !important; }

/* ---------- premium dropdowns (nv-select.js) ---------- */
.nv-sel { position: relative; display: inline-flex; width: 100%; min-width: 0; vertical-align: middle; }
.nv-sel__native { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; max-width: 1px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; pointer-events: none; bottom: 0; left: 0; }
.nv-sel__btn { display: flex !important; align-items: center; gap: 10px; width: 100%; min-width: 0; text-align: left; cursor: pointer; font-family: inherit; color: var(--nv-ink); background-image: none !important; -webkit-tap-highlight-color: transparent; }
.nv-sel__btn:disabled { cursor: not-allowed; opacity: .6; }
.nv-sel__value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-sel__chev { flex: 0 0 auto; width: 18px; height: 18px; color: var(--nv-blue); transition: transform .18s ease; margin-left: auto; }
.nv-sel.is-open .nv-sel__chev { transform: rotate(180deg); }
.nv-sel__list {
  position: fixed; z-index: 100050; margin: 0; padding: 6px; list-style: none; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid var(--nv-line); border-radius: 16px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .06), 0 18px 44px rgba(20, 33, 61, .16);
  color: var(--nv-ink); line-height: 1.35; scrollbar-width: thin; scrollbar-color: #cdd3df transparent;
  opacity: 0; transform: translateY(-4px) scale(.985); transform-origin: top center; transition: opacity .14s ease, transform .14s ease;
}
.nv-sel__list.is-up { transform-origin: bottom center; transform: translateY(4px) scale(.985); }
.nv-sel__list.is-in { opacity: 1; transform: none; }
.nv-sel__opt { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 9px 14px; border-radius: 11px; cursor: pointer; font-weight: 500; user-select: none; }
.nv-sel__opt + .nv-sel__opt { margin-top: 2px; }
.nv-sel__txt { flex: 1 1 auto; min-width: 0; }
.nv-sel__tick { flex: 0 0 auto; width: 16px; height: 16px; color: var(--nv-blue); opacity: 0; }
.nv-sel__opt.is-active { background: #f1f4fb; }
.nv-sel__opt.is-selected { color: var(--nv-blue); font-weight: 650; }
.nv-sel__opt.is-selected .nv-sel__tick { opacity: 1; }
.nv-sel__opt.is-disabled { color: var(--nv-faint); cursor: default; background: none; }
.nv-sel__group { padding: 10px 14px 4px; font-size: 12.5px; font-weight: 700; color: var(--nv-muted); }
@media (prefers-reduced-motion: reduce) { .nv-sel__list, .nv-sel__chev { transition: none; } }
@media (max-width: 560px) { .nv-sel__opt { min-height: 46px; } }

/* ---------- icon buttons: exact centre, no inherited theme padding ---------- */
.nv-modal__close { display: inline-grid !important; place-items: center; padding: 0 !important; width: 40px; height: 40px; border-radius: 50%; line-height: 0; }
.nv-modal__close svg { width: 18px; height: 18px; display: block; }

/* Text fields: never a blue ring or border on focus (mouse or keyboard). A darker grey border still
   shows where you are typing (≥ 3:1 against white). */
html .nv-ui :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, .nv-input):focus,
html .nv-ui .nv-sel__btn.nv-input:focus { border-color: #8a94a8 !important; box-shadow: none !important; outline: none !important; }
html .nv-ui .nv-field.has-error .nv-input:focus, html .nv-ui .nv-input[aria-invalid="true"]:focus { border-color: var(--nv-danger) !important; }
/* "Applied ✓" pill */
.nv-pill--applied { background: #e6f6ec; color: #13703f; border-color: #bfe3cd; }
.nv-pill--applied::before { width: 12px; height: 12px; border-radius: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- one page width everywhere: content lines up with the header and footer ----------
   Header / footer content box: 1280 px with 20 px side padding (12 px under 760 px). */
:root { --nv-page-w: 1280px; --nv-page-pad: 20px; }
@media (max-width: 760px) { :root { --nv-page-pad: 12px; } }
.nv-acc, .nv-page, .nv-mp,
.nvb-band__in, .nvb-wrap, .nvb-loading, .nvb-skel { max-width: calc(var(--nv-page-w) + 2 * var(--nv-page-pad)) !important; padding-left: var(--nv-page-pad) !important; padding-right: var(--nv-page-pad) !important; margin-left: auto; margin-right: auto; box-sizing: border-box; }

/* 3.2.0: an input that sits inside a box (search bar, tag box, amount box) never draws its own
   inner box on focus or hover: the outer box shows where you are typing. */
html body :is(.nv-search, .nvb-tagbox, .nvb-affix, .nv-sel, .nv-search__q, .nv-search__loc) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select):not(#nv-none),
html body :is(.nv-search, .nvb-tagbox, .nvb-affix, .nv-sel, .nv-search__q, .nv-search__loc) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select):not(#nv-none):is(:focus, :focus-visible, :hover, :active) {
	border-color: transparent !important; box-shadow: none !important; outline: none !important; background-color: transparent !important;
}
