:root {
  --nv-bg: #fff8f2;
  --nv-surface: #ffffff;
  --nv-surface-soft: #fff3eb;
  --nv-text: #1f2933;
  --nv-muted: #64748b;
  --nv-border: rgba(15, 118, 110, .16);
  --nv-teal: #0f766e;
  --nv-teal-dark: #115e59;
  --nv-mint: #ccfbf1;
  --nv-coral: #f9735b;
  --nv-coral-dark: #e85d44;
  --nv-peach: #ffe8dc;
  --nv-gold: #d97706;
  --nv-danger: #dc2626;
  --nv-radius-card: 24px;
  --nv-radius-button: 16px;
  --nv-shadow-soft: 0 18px 45px rgba(15, 23, 42, .08);
  --nv-shadow-card: 0 12px 32px rgba(15, 23, 42, .07);
  --nv-accent: var(--nv-teal);
  --nv-accent-dark: var(--nv-teal-dark);
  --nv-accent-soft: var(--nv-mint);
  --nv-accent-wash: rgba(15, 118, 110, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--nv-bg); }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(204, 251, 241, .62), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 232, 220, .78), transparent 34%),
    linear-gradient(180deg, #fffaf4 0%, var(--nv-bg) 52%, #fffefe 100%);
  color: var(--nv-text);
}
body.persona-female {
  --nv-accent: var(--nv-coral);
  --nv-accent-dark: var(--nv-coral-dark);
  --nv-accent-soft: var(--nv-peach);
  --nv-accent-wash: rgba(249, 115, 91, .095);
  --nv-border: rgba(249, 115, 91, .2);
}
button, a, input { font: inherit; }
a { color: inherit; }

.nv-phone {
  width: min(430px, 100vw);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 18px 94px;
  position: relative;
}

.nv-header {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
}
.nv-menu-button {
  width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  border-radius: 14px;
}
.nv-menu-button:focus-visible,
.nv-persona-switch:focus-visible,
.nv-control-button:focus-visible,
.nv-mode-segment:focus-visible,
.nv-upgrade-button:focus-visible { outline: 3px solid rgba(15, 118, 110, .28); outline-offset: 2px; }
.nv-title-block { min-width: 0; }
.nv-title { margin: 0; font-size: 22px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.nv-subtitle { margin: 2px 0 0; font-size: 13px; color: var(--nv-text); opacity: .82; }
.nv-persona-switch {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--nv-accent) 56%, transparent);
  color: var(--nv-accent-dark);
  border-radius: 14px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  white-space: nowrap;
}

.nv-persona-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 4px 0 14px;
}
.nv-portrait-ring {
  width: 230px;
  height: 230px;
  position: relative;
  display: grid;
  place-items: center;
}
.nv-portrait-glow {
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--nv-accent-soft) 72%, white) 0%, rgba(255,255,255,.84) 54%, transparent 73%);
  box-shadow:
    0 0 0 10px color-mix(in srgb, var(--nv-accent) 18%, transparent),
    0 0 34px color-mix(in srgb, var(--nv-accent) 32%, transparent);
  animation: nv-soft-breathe 3.6s ease-in-out infinite;
}
.nv-portrait-disc {
  position: relative;
  width: 198px;
  height: 198px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), color-mix(in srgb, var(--nv-accent-soft) 46%, #fff));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
}
.nv-portrait-disc::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 30px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.76));
  pointer-events: none;
}
.nv-persona-svg { width: 194px; height: 194px; display: block; }
.nv-persona-name-pill {
  margin-top: -44px;
  position: relative;
  z-index: 2;
  min-width: 152px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent));
  border-radius: 999px;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--nv-accent) 30%, transparent);
  font-weight: 800;
  font-size: 20px;
  padding: 0 24px;
}
.nv-persona-quote {
  max-width: 320px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.48;
  color: var(--nv-accent-dark);
  font-weight: 700;
  font-style: italic;
}

.nv-status-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  margin-top: 12px;
  padding: 18px 18px;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  background: linear-gradient(135deg, rgba(255,255,255,.9), color-mix(in srgb, var(--nv-accent-soft) 34%, #fff));
  box-shadow: var(--nv-shadow-card);
}
.nv-status-icon {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--nv-accent);
}
.nv-status-icon span {
  width: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px color-mix(in srgb, var(--nv-accent) 28%, transparent);
}
.nv-status-icon span:nth-child(1) { height: 18px; opacity: .65; }
.nv-status-icon span:nth-child(2) { height: 32px; }
.nv-status-icon span:nth-child(3) { height: 42px; }
.nv-status-icon span:nth-child(4) { height: 28px; }
.nv-status-icon span:nth-child(5) { height: 16px; opacity: .65; }
.nv-status-copy { min-width: 0; text-align: left; }
.nv-status-label { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.nv-status-help { margin: 4px 0 0; color: #334155; font-size: 14px; line-height: 1.35; }
.nv-listening-dots { display: flex; align-items: center; gap: 7px; padding-right: 2px; }
.nv-listening-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--nv-accent);
  opacity: .28;
  animation: nv-dot 1.4s ease-in-out infinite;
}
.nv-listening-dots span:nth-child(2) { animation-delay: .12s; opacity: .45; }
.nv-listening-dots span:nth-child(3) { animation-delay: .24s; opacity: .62; }
.nv-listening-dots span:nth-child(4) { animation-delay: .36s; opacity: .45; }
.nv-listening-dots span:nth-child(5) { animation-delay: .48s; opacity: .28; }

.nv-waveform-strip {
  height: 74px;
  margin: 10px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  color: var(--nv-accent);
  overflow: hidden;
}
.nv-waveform-strip span {
  flex: 1 1 0;
  max-width: 7px;
  min-width: 3px;
  height: var(--bar-h);
  border-radius: 999px;
  background: currentColor;
  opacity: .38;
  animation: nv-wave 1.85s ease-in-out infinite;
}
.nv-waveform-strip span:nth-child(3n) { opacity: .74; animation-delay: .12s; }
.nv-waveform-strip span:nth-child(4n) { opacity: .5; animation-delay: .24s; }
.nv-waveform-strip span:nth-child(5n) { opacity: .28; animation-delay: .36s; }

.nv-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.nv-control-button {
  min-height: 88px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  color: #111827;
  box-shadow: var(--nv-shadow-card);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 10px 8px;
}
.nv-control-button strong { font-size: 12px; line-height: 1.12; }
.nv-control-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--nv-accent), var(--nv-accent-dark));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--nv-accent) 22%, transparent);
  font-size: 20px;
  font-weight: 900;
}
.nv-control-button:active { transform: translateY(1px); }
.nv-control-button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.nv-control-grid[data-control-model="hold_to_talk"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nv-control-grid [hidden] { display: none !important; }
.nv-mode-segment:disabled,
.nv-hold-button:disabled {
  opacity: .56;
  cursor: not-allowed;
  transform: none;
}
.nv-hold-button[data-hold-state="recording"] {
  background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent));
  box-shadow: 0 14px 28px color-mix(in srgb, var(--nv-accent) 24%, transparent);
}
.nv-hold-button[data-hold-state="processing"] {
  background: color-mix(in srgb, var(--nv-accent-dark) 72%, #94a3b8);
}
.nv-hold-button[data-hold-state="cancel"] {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  box-shadow: 0 14px 28px rgba(239, 68, 68, .22);
}
.nv-primary-voice-action[data-control-state="idle"] .nv-control-icon,
.nv-primary-voice-action[data-control-state="paused"] .nv-control-icon {
  background: color-mix(in srgb, var(--nv-accent-soft) 74%, #fff);
  color: var(--nv-accent-dark);
}
.nv-primary-voice-action[data-control-state="active"] .nv-control-icon {
  background: color-mix(in srgb, var(--nv-accent) 12%, #fff);
  color: var(--nv-accent);
}

.nv-settings-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: var(--nv-radius-card);
  background: rgba(255,255,255,.92);
  box-shadow: var(--nv-shadow-card);
  overflow: hidden;
}
.nv-setting-cell {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 8px;
  align-content: center;
  padding: 14px 16px;
  text-decoration: none;
  position: relative;
}
.nv-setting-cell + .nv-setting-cell { border-left: 1px solid rgba(15, 23, 42, .1); }
.nv-setting-cell span { font-size: 13px; color: #334155; }
.nv-setting-cell strong { font-size: 15px; color: #0f172a; }
.nv-setting-cell em { grid-row: 1 / span 2; align-self: center; color: var(--nv-accent); font-size: 32px; font-style: normal; line-height: 1; }

.nv-quota-card {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "copy action" "bar bar";
  gap: 12px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  background: linear-gradient(135deg, color-mix(in srgb, var(--nv-accent-soft) 34%, #fff), rgba(255,255,255,.94));
  box-shadow: var(--nv-shadow-card);
}
.nv-quota-card p { grid-area: copy; margin: 0 0 4px; font-size: 13px; font-weight: 800; }
.nv-quota-card strong { display: block; font-size: 14px; font-weight: 500; }
.nv-upgrade-button {
  grid-area: action;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--nv-accent);
  color: var(--nv-accent-dark);
  background: rgba(255,255,255,.8);
  border-radius: 14px;
  padding: 0 14px;
  font-weight: 800;
  white-space: nowrap;
}
.nv-quota-progress {
  grid-area: bar;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--nv-accent) 16%, #e2e8f0);
  overflow: hidden;
}
.nv-quota-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--nv-accent-dark), var(--nv-accent)); }

.nv-mode-selector {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  background: rgba(255,255,255,.9);
  box-shadow: var(--nv-shadow-card);
  overflow: hidden;
}
.nv-mode-segment {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  color: #0f172a;
}
.nv-mode-segment + .nv-mode-segment { border-left: 1px solid rgba(15,23,42,.1); }
.nv-mode-segment.active { background: color-mix(in srgb, var(--nv-accent-soft) 46%, #fff); color: var(--nv-accent-dark); }
.nv-mode-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--nv-accent) 15%, #fff);
  color: var(--nv-accent);
  font-size: 19px;
  font-weight: 900;
  flex: 0 0 auto;
}
.nv-mode-icon.muted { background: #f1f5f9; color: #64748b; }
.nv-mode-segment strong { display: block; font-size: 13px; line-height: 1.15; }
.nv-mode-segment small { display: block; margin-top: 4px; font-size: 11px; color: currentColor; opacity: .82; }

.nv-hold-panel {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--nv-radius-card);
  border: 1px dashed var(--nv-border);
  background: rgba(255,255,255,.72);
}
.nv-hold-button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--nv-accent), var(--nv-accent-dark));
  font-weight: 800;
}
.nv-hold-panel p { margin: 8px 0 0; font-size: 12px; color: var(--nv-muted); text-align: center; }

.nv-accessibility-note {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(15,23,42,.08);
}
.nv-accessibility-note > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--nv-accent-soft) 58%, white);
  color: var(--nv-accent-dark);
  font-size: 22px;
}
.nv-accessibility-note strong { font-size: 13px; }
.nv-accessibility-note p { margin: 2px 0 0; color: var(--nv-muted); font-size: 12px; line-height: 1.3; }
.nv-toggle { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--nv-muted); }
.nv-toggle input { width: 22px; height: 22px; accent-color: var(--nv-accent); }

.nv-safe-message {
  min-height: 22px;
  margin: 10px 4px 0;
  color: var(--nv-muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.nv-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(398px, calc(100vw - 24px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
  backdrop-filter: blur(14px);
  z-index: 10;
}
.nv-bottom-nav a {
  min-height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  text-decoration: none;
  color: #475569;
  border-radius: 18px;
  font-size: 12px;
}
.nv-bottom-nav a span { font-size: 23px; line-height: 1; }
.nv-bottom-nav a strong { font-size: 12px; font-weight: 500; }
.nv-bottom-nav a.active {
  color: var(--nv-accent-dark);
  background: color-mix(in srgb, var(--nv-accent-soft) 56%, #fff);
}
.nv-bottom-nav a.active strong { font-weight: 800; }

.form-card, .profile-card {
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  box-shadow: var(--nv-shadow-card);
  margin-top: 14px;
  padding: 16px;
}
.form-card { display: grid; gap: 12px; }
.form-card label { display: grid; gap: 6px; font-size: 13px; color: var(--nv-muted); }
.form-card input, .form-card select {
  width: 100%; min-height: 46px; border-radius: 14px; border: 1px solid var(--nv-border);
  padding: 0 12px; color: var(--nv-text); background: #fff;
}
.checkbox-row { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px !important; }
.checkbox-row input { width: 18px; min-height: 18px; }
.primary-action, .primary-link {
  min-height: 52px; border: 0; border-radius: 16px; background: var(--nv-accent); color: #fff;
  font-weight: 800; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px;
}
.compact-dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; margin: 12px 0 0; }
.compact-dl dt { color: var(--nv-muted); font-size: 12px; }
.compact-dl dd { margin: 0; font-size: 13px; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.accessibility-mode .nv-control-button { min-height: 98px; }
body.accessibility-mode .nv-mode-segment { min-height: 84px; }
body.accessibility-mode .nv-bottom-nav a { min-height: 64px; }
body.accessibility-mode .nv-waveform-strip span,
body.accessibility-mode .nv-portrait-glow,
body.accessibility-mode .nv-listening-dots span { animation: none; }

@keyframes nv-soft-breathe {
  0%, 100% { transform: scale(.985); opacity: .84; }
  50% { transform: scale(1.015); opacity: 1; }
}
@keyframes nv-dot {
  0%, 100% { transform: translateY(0); opacity: .28; }
  50% { transform: translateY(-4px); opacity: .8; }
}
@keyframes nv-wave {
  0%, 100% { transform: scaleY(.72); }
  50% { transform: scaleY(1.12); }
}

@media (max-width: 380px) {
  .nv-phone { padding-left: 14px; padding-right: 14px; }
  .nv-title { font-size: 20px; }
  .nv-persona-switch { padding: 0 9px; font-size: 11px; }
  .nv-portrait-ring { width: 206px; height: 206px; }
  .nv-portrait-disc { width: 178px; height: 178px; }
  .nv-persona-svg { width: 174px; height: 174px; }
  .nv-persona-name-pill { margin-top: -38px; font-size: 18px; min-height: 40px; }
  .nv-control-grid { gap: 9px; }
  .nv-control-button { min-height: 82px; border-radius: 16px; }
  .nv-control-icon { width: 34px; height: 34px; }
  .nv-mode-segment { padding: 10px 9px; }
  .nv-mode-icon { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
.nv-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.nv-caption-panel {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--nv-border);
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--nv-shadow-card);
}
.nv-caption-panel strong {
  display: block;
  font-size: 13px;
  color: var(--nv-accent-dark);
}
.nv-caption-panel p {
  margin: 5px 0 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.38;
}
body.accessibility-mode {
  --nv-muted: #475569;
  --nv-shadow-card: 0 14px 36px rgba(15, 23, 42, .12);
}
body.accessibility-mode .nv-control-button { min-height: 108px; font-size: 15px; }
body.accessibility-mode .nv-control-button strong { font-size: 13px; }
body.accessibility-mode .nv-primary-voice-action { outline: 3px solid color-mix(in srgb, var(--nv-accent) 28%, transparent); }
body.accessibility-mode .nv-hold-button { min-height: 72px; }
body.accessibility-mode .nv-toggle input { width: 30px; height: 30px; }
body.accessibility-mode .nv-status-label { font-size: 20px; }
body.accessibility-mode .nv-status-help,
body.accessibility-mode .nv-caption-panel p { font-size: 15px; }
body.accessibility-mode .nv-safe-message { font-size: 14px; }
body.accessibility-mode .nv-caption-panel,
body.accessibility-mode .nv-status-card { border-width: 2px; }
body.accessibility-mode .nv-bottom-nav a { min-height: 68px; }
body.accessibility-mode .nv-waveform-strip span,
body.accessibility-mode .nv-portrait-glow,
body.accessibility-mode .nv-listening-dots span { animation: none !important; }
body.accessibility-mode .nv-phone { scroll-behavior: auto; }

/* V1.5 onboarding completion */
.nv-onboarding { padding-bottom: 104px; }
.nv-onboarding-header { margin-bottom: 12px; }
.nv-onboarding-progress,
.nv-onboarding-card,
.nv-form-card,
.nv-onboarding-summary,
.profile-card {
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  background: rgba(255,255,255,.9);
  box-shadow: var(--nv-shadow-card);
}
.nv-onboarding-progress { padding: 14px 16px; margin: 8px 0 12px; }
.nv-step-label { margin: 0 0 10px; color: var(--nv-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nv-step-track { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }
.nv-step-track span { height: 7px; border-radius: 999px; background: rgba(100,116,139,.18); }
.nv-step-track span.active { background: var(--nv-accent); }
.nv-step-track span.done { background: color-mix(in srgb, var(--nv-accent) 45%, white); }
.nv-onboarding-card { padding: 18px; margin: 12px 0; }
.nv-onboarding-card h1,
.nv-onboarding-card h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.1; letter-spacing: -.02em; }
.nv-onboarding-card p { margin: 0; color: #334155; line-height: 1.45; font-size: 14px; }
.nv-eyebrow { margin: 0 0 8px !important; color: var(--nv-accent-dark) !important; font-size: 12px !important; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.nv-form-card { display: grid; gap: 14px; padding: 18px; margin: 12px 0; }
.nv-form-card label { display: grid; gap: 7px; color: #334155; font-size: 13px; font-weight: 800; }
.nv-form-card input[type="email"],
.nv-form-card input[type="password"],
.nv-form-card input[type="text"],
.nv-form-card select {
  width: 100%; min-height: 48px; border: 1px solid rgba(15,23,42,.12); border-radius: 15px; padding: 0 13px; background: #fff; color: var(--nv-text); font-size: 15px;
}
.nv-primary-action,
.nv-primary-link {
  min-height: 52px; border: 0; border-radius: 17px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; text-decoration: none; background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent)); color: #fff; font-weight: 900; box-shadow: 0 12px 28px color-mix(in srgb, var(--nv-accent) 28%, transparent);
}
.nv-choice-list { display: grid; gap: 10px; }
.nv-choice-card { display: grid !important; grid-template-columns: 22px 1fr; align-items: start; gap: 12px !important; padding: 14px; border: 1px solid rgba(15,23,42,.1); border-radius: 17px; background: color-mix(in srgb, var(--nv-accent-soft) 25%, white); }
.nv-choice-card input { margin-top: 4px; accent-color: var(--nv-accent); }
.nv-choice-card strong { display: block; font-size: 15px; color: var(--nv-text); }
.nv-choice-card small { display: block; margin-top: 4px; color: var(--nv-muted); font-size: 12px; line-height: 1.35; }
.nv-checkbox-row { display: grid !important; grid-template-columns: 24px 1fr; align-items: start; gap: 10px !important; min-height: 44px; }
.nv-checkbox-row input { margin-top: 3px; accent-color: var(--nv-accent); }
.nv-form-note { margin: 0; color: var(--nv-muted); font-size: 12px; line-height: 1.42; }
.nv-public-error { margin-top: 12px; padding: 12px 13px; border-radius: 14px; background: rgba(220,38,38,.08); color: #991b1b; font-weight: 800; font-size: 13px; }
.nv-privacy-box,
.nv-quota-summary article { border-radius: 17px; padding: 14px; background: color-mix(in srgb, var(--nv-accent-soft) 28%, white); border: 1px solid rgba(15,23,42,.08); }
.nv-privacy-box strong,
.nv-quota-summary strong { display: block; color: var(--nv-accent-dark); margin-bottom: 5px; }
.nv-privacy-box p,
.nv-quota-summary span { margin: 0; color: #334155; font-size: 13px; line-height: 1.4; }
.nv-quota-summary { display: grid; gap: 10px; }
.nv-onboarding-summary { padding: 16px; margin: 12px 0; }
.nv-onboarding-summary h2 { margin: 0 0 10px; font-size: 15px; }
.nv-onboarding-summary dl,
.compact-dl { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px 12px; margin: 0; }
.nv-onboarding-summary dt,
.compact-dl dt { color: var(--nv-muted); font-size: 12px; font-weight: 800; }
.nv-onboarding-summary dd,
.compact-dl dd { margin: 0; color: var(--nv-text); font-size: 13px; font-weight: 800; text-align: right; }
.profile-card { padding: 18px; margin: 12px 0; }
.persona-name { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.persona-copy { margin: 0 0 14px; color: #334155; font-size: 14px; line-height: 1.4; }

/* V1.6 profile, settings, and privacy center */
.nv-settings-page { padding-bottom: 104px; }
.nv-settings-hero {
  margin: 12px 0;
  padding: 18px;
  border-radius: var(--nv-radius-card);
  border: 1px solid var(--nv-border);
  background: linear-gradient(135deg, rgba(255,255,255,.94), color-mix(in srgb, var(--nv-accent-soft) 32%, white));
  box-shadow: var(--nv-shadow-card);
}
.nv-settings-hero h1 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.03em; }
.nv-settings-hero p:not(.nv-eyebrow) { margin: 0; color: #334155; font-size: 14px; line-height: 1.45; }
.nv-settings-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 1px 10px;
  scrollbar-width: none;
}
.nv-settings-nav::-webkit-scrollbar { display: none; }
.nv-settings-nav a {
  white-space: nowrap;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--nv-border);
  border-radius: 999px;
  padding: 0 13px;
  color: #334155;
  background: rgba(255,255,255,.76);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.nv-settings-nav a.active { color: #fff; background: var(--nv-accent-dark); border-color: transparent; }
.nv-settings-grid { display: grid; gap: 10px; margin: 12px 0; }
.nv-settings-card {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 15px 42px 15px 15px;
  border-radius: 18px;
  border: 1px solid var(--nv-border);
  color: var(--nv-text);
  background: rgba(255,255,255,.9);
  box-shadow: var(--nv-shadow-card);
  text-decoration: none;
}
.nv-settings-card strong { font-size: 15px; }
.nv-settings-card span { color: #475569; font-size: 13px; line-height: 1.35; }
.nv-settings-card em { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--nv-accent-dark); font-style: normal; font-weight: 900; }
.nv-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.nv-fieldset legend { padding: 0; margin: 0 0 4px; color: #334155; font-size: 13px; font-weight: 900; }
.nv-public-success {
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(22,163,74,.1);
  color: #166534;
  font-weight: 900;
  font-size: 13px;
}
.nv-inline-form { display: grid; gap: 10px; margin-top: 12px; }
.nv-secondary-action,
.nv-secondary-link {
  min-height: 46px;
  border-radius: 15px;
  border: 1px solid var(--nv-border);
  background: #fff;
  color: var(--nv-accent-dark);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-decoration: none;
}
.nv-danger-zone {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(220,38,38,.28);
}
.nv-danger-zone label { display: grid; gap: 7px; color: #7f1d1d; font-size: 13px; font-weight: 900; }
.nv-danger-zone input[type="text"] {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(220,38,38,.32);
  padding: 0 12px;
  background: #fff;
}
.nv-danger-action {
  min-height: 46px;
  border: 0;
  border-radius: 15px;
  background: #dc2626;
  color: #fff;
  font-weight: 900;
}
.nv-profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
@media (max-width: 380px) { .nv-profile-actions { grid-template-columns: 1fr; } }

/* V1.7 conversation threads and text chat fallback */
.nv-chat-page .nv-phone { padding-bottom: 112px; }
.nv-chat-intro,
.nv-chat-card,
.nv-chat-compose {
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  background: rgba(255,255,255,.92);
  box-shadow: var(--nv-shadow-card);
}
.nv-chat-intro { padding: 16px; margin: 8px 0 12px; }
.nv-chat-intro strong { display: block; font-size: 16px; color: var(--nv-accent-dark); }
.nv-chat-intro p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--nv-muted); }
.nv-thread-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: thin;
}
.nv-thread-rail a {
  flex: 0 0 auto;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  background: rgba(255,255,255,.72);
  color: #334155;
}
.nv-thread-rail a.active { color: #fff; background: var(--nv-accent-dark); border-color: var(--nv-accent-dark); }
.nv-chat-error {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 13px;
  font-weight: 700;
}
.nv-chat-card {
  min-height: 320px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}
.nv-message { display: grid; gap: 4px; }
.nv-message-meta {
  margin: 0;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--nv-muted);
}
.nv-message-meta span {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(255,255,255,.8);
}
.nv-message-bubble {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 17px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.nv-message-user { justify-items: end; }
.nv-message-user .nv-message-meta { justify-content: flex-end; }
.nv-message-user .nv-message-bubble { background: var(--nv-accent-dark); color: #fff; border-bottom-right-radius: 6px; }
.nv-message-assistant .nv-message-bubble { background: color-mix(in srgb, var(--nv-accent-soft) 46%, #fff); color: #0f172a; border-bottom-left-radius: 6px; }
.nv-message-system_notice .nv-message-bubble { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.nv-chat-empty { display: grid; place-items: center; align-content: center; min-height: 220px; text-align: center; color: var(--nv-muted); }
.nv-chat-empty strong { color: var(--nv-accent-dark); font-size: 16px; }
.nv-chat-empty p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; }
.nv-chat-compose { margin-top: 12px; padding: 14px; display: grid; gap: 9px; }
.nv-chat-compose label { font-size: 12px; font-weight: 800; color: #334155; }
.nv-chat-compose textarea {
  resize: vertical;
  min-height: 76px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  color: var(--nv-text);
}
.nv-chat-compose textarea:focus { outline: 3px solid color-mix(in srgb, var(--nv-accent) 22%, transparent); border-color: var(--nv-accent); }

/* V1.7b ChatGPT-like public chat surface */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
body.nv-chatgpt-shell {
  background: #ffffff;
}
.nv-chat-app {
  width: min(430px, 100vw);
  height: 100dvh;
  margin: 0 auto;
  background: #fff;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  border-left: 1px solid rgba(15,23,42,.08);
  border-right: 1px solid rgba(15,23,42,.08);
  position: relative;
  overflow: hidden;
}
.nv-chat-topbar {
  min-height: 92px;
  padding: max(20px, env(safe-area-inset-top)) 14px 12px;
  display: grid;
  grid-template-columns: 36px 44px 1fr 48px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  z-index: 3;
}
.nv-chat-back,
.nv-chat-icon-button,
.nv-cg-tool,
.nv-cg-send {
  appearance: none;
  border: 0;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.nv-chat-back {
  height: 36px;
  width: 36px;
  border-radius: 14px;
  color: #111827;
  font-size: 32px;
  line-height: 1;
}
.nv-chat-agent-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--nv-accent) 28%, transparent);
}
.nv-chat-agent-icon svg,
.nv-chat-icon-button svg,
.nv-cg-tool svg,
.nv-cg-send svg,
.nv-chat-welcome-icon svg {
  width: 22px;
  height: 22px;
}
.nv-chat-title-block { min-width: 0; }
.nv-chat-title-block h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.02em;
  color: #111827;
}
.nv-chat-title-block p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nv-online-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 999px;
  background: var(--nv-accent);
  margin-right: 6px;
  vertical-align: 1px;
}
.nv-chat-new-form { margin: 0; }
.nv-chat-icon-button {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  color: #111827;
  box-shadow: 0 8px 22px rgba(15,23,42,.05);
}
.nv-chat-thread-rail {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(15,23,42,.06);
  background: rgba(248,250,252,.72);
}
.nv-chat-inline-error {
  margin: 8px 14px;
}
.nv-chat-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  scroll-behavior: smooth;
}
.nv-cg-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
}
.nv-cg-user {
  justify-content: flex-end;
}
.nv-cg-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  margin-top: 20px;
}
.nv-cg-content {
  min-width: 0;
  display: grid;
  gap: 5px;
  max-width: 86%;
}
.nv-cg-user .nv-cg-content {
  justify-items: end;
}
.nv-cg-meta {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.2;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.nv-cg-user .nv-cg-meta {
  justify-content: flex-end;
}
.nv-cg-meta span {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  padding: 2px 7px;
  background: color-mix(in srgb, var(--nv-accent-soft) 34%, #fff);
  font-size: 11px;
}
.nv-cg-bubble {
  border-radius: 20px;
  padding: 12px 15px;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  color: #111827;
  background: #f1f5f9;
  box-shadow: none;
}
.nv-cg-user .nv-cg-bubble {
  color: #fff;
  background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent));
  border-bottom-right-radius: 8px;
}
.nv-cg-assistant .nv-cg-bubble {
  background: color-mix(in srgb, var(--nv-accent-soft) 42%, #fff);
  border: 1px solid color-mix(in srgb, var(--nv-accent) 18%, transparent);
  border-bottom-left-radius: 8px;
}
.nv-cg-system_notice .nv-cg-bubble {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-bottom-left-radius: 8px;
}
.nv-chat-welcome {
  margin-top: 8px;
  display: grid;
  justify-items: start;
  gap: 10px;
  max-width: 92%;
}
.nv-chat-welcome-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent));
  color: #fff;
}
.nv-chat-welcome p {
  margin: 0;
  padding: 13px 16px;
  border-radius: 20px;
  border-top-left-radius: 8px;
  background: #f1f5f9;
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
}
.nv-chat-welcome span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}
.nv-cg-compose {
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 44px 1fr 44px 44px;
  gap: 8px;
  align-items: end;
  z-index: 4;
}
.nv-cg-tool,
.nv-cg-send {
  width: 44px;
  min-height: 44px;
  border-radius: 999px;
}
.nv-cg-tool {
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: #111827;
}
.nv-cg-send {
  background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent));
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--nv-accent) 26%, transparent);
}
.nv-cg-compose textarea {
  min-height: 44px;
  max-height: 132px;
  resize: vertical;
  border: 0;
  border-radius: 18px;
  background: #f1f5f9;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  padding: 12px 14px;
}
.nv-cg-compose textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--nv-accent) 20%, transparent);
  background: #f8fafc;
}
.nv-chat-back:focus-visible,
.nv-chat-icon-button:focus-visible,
.nv-cg-tool:focus-visible,
.nv-cg-send:focus-visible,
.nv-cg-compose textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--nv-accent) 22%, transparent);
  outline-offset: 2px;
}
@media (max-width: 380px) {
  .nv-chat-topbar { grid-template-columns: 32px 40px 1fr 44px; padding-left: 10px; padding-right: 10px; }
  .nv-chat-title-block h1 { font-size: 20px; }
  .nv-chat-scroll { padding-left: 14px; padding-right: 14px; }
  .nv-cg-compose { grid-template-columns: 40px 1fr 40px 40px; padding-left: 10px; padding-right: 10px; }
  .nv-cg-tool, .nv-cg-send { width: 40px; min-height: 40px; }
}

/* V1.7c public mobile design system route parity */
[data-public-app-shell="PublicAppShell"] {
  background: transparent;
}
.nv-public-topbar { position: relative; z-index: 2; }
.nv-hero-card { background: linear-gradient(135deg, rgba(255,255,255,.96), color-mix(in srgb, var(--nv-accent-soft) 30%, #fff)); }
.nv-summary-card {
  margin: 12px 0;
  padding: 18px;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  background: rgba(255,255,255,.92);
  box-shadow: var(--nv-shadow-card);
}
.nv-summary-card h2 { margin: 0 0 12px; font-size: 16px; color: var(--nv-accent-dark); letter-spacing: -.01em; }
.nv-summary-row {
  display: grid;
  grid-template-columns: minmax(98px, 1fr) minmax(0, 1.25fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(15,23,42,.06);
}
.nv-summary-row:first-of-type { border-top: 0; }
.nv-summary-row span { color: var(--nv-muted); font-size: 12px; font-weight: 800; }
.nv-summary-row strong { color: var(--nv-text); font-size: 13px; text-align: right; }
.nv-profile-hero {
  margin: 12px 0;
  padding: 18px;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  box-shadow: var(--nv-shadow-card);
}
.nv-profile-hero h1 { margin: 0 0 8px; font-size: 24px; line-height: 1.08; letter-spacing: -.03em; }
.nv-profile-hero p:not(.nv-eyebrow) { margin: 0; color: #334155; line-height: 1.45; font-size: 14px; }
.nv-profile-quota { margin-top: 12px; }
.nv-public-info { background: color-mix(in srgb, var(--nv-accent-soft) 45%, white); color: var(--nv-accent-dark); }
.nv-public-info a { font-weight: 900; }
.nv-step-track-g0 { grid-template-columns: 1fr 1fr 1fr; }
.nv-persona-choice-grid { display: grid; gap: 12px; }
.nv-persona-choice-card {
  grid-template-columns: 22px 44px 1fr !important;
  align-items: center;
  min-height: 118px;
  background: rgba(255,255,255,.92);
}
.nv-persona-choice-card.selected,
.nv-persona-choice-card:has(input:checked) {
  border-color: color-mix(in srgb, var(--nv-accent) 55%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--nv-accent) 18%, transparent);
}
.nv-persona-choice-orb {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-weight: 900;
  background: linear-gradient(135deg, var(--nv-teal-dark), var(--nv-teal));
}
.nv-persona-choice-female .nv-persona-choice-orb { background: linear-gradient(135deg, var(--nv-coral-dark), var(--nv-coral)); }
.nv-discover-grid { display: grid; gap: 12px; margin: 12px 0 110px; }
.nv-discover-card {
  min-height: 112px;
  padding: 17px;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  background: rgba(255,255,255,.92);
  box-shadow: var(--nv-shadow-card);
}
.nv-discover-card > span { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 10px; background: color-mix(in srgb, var(--nv-accent-soft) 48%, #fff); color: var(--nv-accent-dark); font-weight: 900; }
.nv-discover-card strong { display: block; margin-bottom: 5px; font-size: 16px; color: var(--nv-text); }
.nv-discover-card p { margin: 0; color: #475569; font-size: 13px; line-height: 1.45; }
.nv-sponsored-safe { border-style: dashed; }
.nv-sponsored-safe > span { width: auto; padding: 0 10px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; background: #fff7ed; color: var(--nv-gold); }
body.nv-chatgpt-shell {
  background:
    radial-gradient(circle at top left, rgba(204, 251, 241, .42), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, var(--nv-bg) 60%, #fffefe 100%);
}
.nv-chat-app {
  background: transparent;
  border-left: 0;
  border-right: 0;
}
.nv-chat-topbar {
  background: rgba(255,248,242,.92);
  border-bottom: 1px solid var(--nv-border);
  backdrop-filter: blur(16px);
}
.nv-chat-scroll {
  background: rgba(255,255,255,.42);
}
.nv-cg-compose {
  background: rgba(255,255,255,.95);
  border-top: 1px solid var(--nv-border);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.nv-cg-compose textarea { background: #f8fafc; }
.nv-chat-welcome { border: 1px solid var(--nv-border); border-radius: var(--nv-radius-card); background: rgba(255,255,255,.88); box-shadow: var(--nv-shadow-card); padding: 18px; }
.nv-chat-app::after { content: ""; display: block; height: env(safe-area-inset-bottom); }
.nv-quota-page .nv-bottom-nav,
.nv-profile-page .nv-bottom-nav,
.nv-discover-page .nv-bottom-nav,
.nv-g0-persona .nv-bottom-nav { bottom: max(10px, env(safe-area-inset-bottom)); }
@media (max-width: 390px) {
  .nv-persona-choice-card { grid-template-columns: 20px 38px 1fr !important; padding: 12px; }
  .nv-persona-choice-orb { width: 38px; height: 38px; }
  .nv-summary-row { grid-template-columns: 1fr; gap: 3px; }
  .nv-summary-row strong { text-align: left; }
}

/* V1.8 public-safe rendered chat content. Do not expose model/provider badges in public chat. */
.nv-rendered-message p {
  margin: 0 0 10px;
}
.nv-rendered-message p:last-child {
  margin-bottom: 0;
}
.nv-rendered-message ol,
.nv-rendered-message ul {
  margin: 0 0 10px 1.25rem;
  padding-left: 1rem;
}
.nv-rendered-message li {
  margin: 6px 0;
}
.nv-rendered-message strong {
  font-weight: 760;
  color: var(--nv-text);
}
.nv-rendered-message em {
  font-style: italic;
}
.nv-rendered-message code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  background: rgba(15, 118, 110, 0.08);
  border-radius: 8px;
  padding: 0.05rem 0.35rem;
}

/* Build V1.12 — public text chat streaming */
.nv-streaming-bubble{min-height:42px;}
.nv-stream-cursor{display:inline-block;color:var(--nv-teal);font-weight:700;margin-left:2px;animation:nvBlink 1s steps(2,start) infinite;}
@keyframes nvBlink{50%{opacity:.1}}
.nv-cg-send:disabled{opacity:.56;cursor:not-allowed;filter:grayscale(.2)}
.nv-cg-compose textarea{max-height:128px;resize:none;overflow:auto;}

/* Build V1.13a — Markdown list rendering hardening. */
.nv-rendered-message li p {
  margin: 6px 0 0;
}
.nv-rendered-message ol + p,
.nv-rendered-message ul + p {
  margin-top: 10px;
}

/* V1.15 — public chat inherits the active persona color scheme.
   Male uses the default teal variables; female uses body.persona-female coral variables. */
.nv-chat-page.persona-female .nv-chat-persona-name { color: var(--nv-accent-dark); }
.nv-chat-page .nv-chat-persona-name { color: var(--nv-accent-dark); }
.nv-chat-page .nv-chat-topbar { border-bottom-color: color-mix(in srgb, var(--nv-accent) 16%, transparent); }
.nv-chat-page .nv-chat-thread-rail { background: color-mix(in srgb, var(--nv-accent-soft) 26%, #fff); }
.nv-chat-page .nv-thread-rail a.active { background: var(--nv-accent-dark); border-color: var(--nv-accent-dark); }
.nv-chat-page .nv-cg-meta { color: color-mix(in srgb, var(--nv-accent-dark) 64%, #64748b); }
.nv-chat-page .nv-cg-assistant .nv-cg-meta { color: var(--nv-accent-dark); font-weight: 750; }
.nv-chat-page .nv-cg-avatar,
.nv-chat-page .nv-chat-agent-icon,
.nv-chat-page .nv-chat-welcome-icon,
.nv-chat-page .nv-cg-send { background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent)); }
.nv-chat-page .nv-cg-send { box-shadow: 0 10px 24px color-mix(in srgb, var(--nv-accent) 26%, transparent); }
.nv-chat-page .nv-cg-user .nv-cg-bubble { background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent)); }
.nv-chat-page .nv-cg-assistant .nv-cg-bubble,
.nv-chat-page .nv-chat-welcome p { background: color-mix(in srgb, var(--nv-accent-soft) 42%, #fff); border: 1px solid color-mix(in srgb, var(--nv-accent) 18%, transparent); }
.nv-chat-page .nv-cg-compose textarea:focus { outline: 3px solid color-mix(in srgb, var(--nv-accent) 20%, transparent); }

/* V1.23 Discover workflow and voice-help content */
.nv-discover-hero { margin-top: 12px; }
.nv-discover-hero-actions,
.nv-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.nv-card-actions.compact { margin-top: 10px; }
.nv-discover-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--nv-border);
  border-radius: 999px;
  background: #fff;
  color: var(--nv-accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}
.nv-discover-action.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--nv-accent-dark), var(--nv-accent));
}
.nv-discover-section {
  margin: 16px 0;
}
.nv-section-heading {
  padding: 0 2px 10px;
}
.nv-section-heading h2 {
  margin: 0 0 5px;
  color: var(--nv-text);
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.nv-section-heading p:not(.nv-eyebrow) {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
.nv-workflow-list {
  display: grid;
  gap: 11px;
}
.nv-workflow-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--nv-border);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--nv-shadow-card);
}
.nv-workflow-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--nv-accent-soft) 62%, #fff);
  color: var(--nv-accent-dark);
  font-weight: 900;
  font-size: 18px;
}
.nv-workflow-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.nv-workflow-meta span,
.nv-discover-card small {
  color: var(--nv-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nv-workflow-meta em {
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--nv-accent-soft) 66%, #fff);
  color: var(--nv-accent-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.nv-workflow-card h3,
.nv-help-card h3 {
  margin: 0 0 6px;
  color: var(--nv-text);
  font-size: 16px;
  line-height: 1.2;
}
.nv-workflow-card p,
.nv-help-card p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
.nv-help-grid {
  display: grid;
  gap: 11px;
}
.nv-help-card {
  padding: 15px;
  border: 1px solid var(--nv-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,248,242,.88));
  box-shadow: var(--nv-shadow-card);
}
.nv-command-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.nv-command-chip-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, .08);
  color: var(--nv-accent-dark);
  font-size: 12px;
  font-weight: 850;
}
.nv-starter-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(196px, 76%);
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
}
.nv-starter-rail::-webkit-scrollbar { display: none; }
.nv-starter-card {
  scroll-snap-align: start;
  min-height: 112px;
  padding: 15px;
  border: 1px solid var(--nv-border);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--nv-shadow-card);
}
.nv-starter-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--nv-accent-dark);
  font-size: 12px;
  font-weight: 900;
}
.nv-starter-card p {
  margin: 0;
  color: var(--nv-text);
  font-size: 14px;
  line-height: 1.45;
}
.nv-discover-grid.v123 { margin-bottom: 0; }
.nv-discover-card small { display: block; margin: -3px 0 5px; }
.nv-discover-footer-note {
  margin-bottom: 112px;
  padding: 14px 15px;
  border: 1px solid var(--nv-border);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
}
.nv-discover-footer-note strong { display: block; margin-bottom: 4px; color: var(--nv-text); font-size: 14px; }
.nv-discover-footer-note p { margin: 0; color: #64748b; font-size: 12px; line-height: 1.45; }
body.accessibility-mode .nv-discover-action,
body.accessibility-mode .nv-command-chip-row span { min-height: 42px; }
@media (min-width: 520px) {
  .nv-workflow-list,
  .nv-help-grid,
  .nv-discover-grid.v123 { grid-template-columns: 1fr 1fr; }
}

/* V1.33 Voice Thinking Bridge */
.nv-thinking-bridge{margin:0;color:#115e59;font-weight:600;animation:nvBridgePulse 1.4s ease-in-out infinite;}
.nv-thinking-bridge-bubble{border-color:#99f6e4!important;background:#ecfdf5!important;}
.nv-thinking-bridge-status{margin:10px 0 0;padding:9px 12px;border:1px solid #99f6e4;border-radius:14px;background:#ecfdf5;color:#115e59;font-size:13px;font-weight:600;line-height:1.35;display:none;}
.nv-thinking-bridge-status[data-active="true"]{display:block;}
@keyframes nvBridgePulse{0%,100%{opacity:.72}50%{opacity:1}}


/* Build V1.36s — G0 Mobile Layout and Visual Polish Correction Hotfix */
.nv-g0-body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 86% 4%, rgba(244, 194, 255, .50), transparent 27%),
    radial-gradient(circle at 8% 0%, rgba(255, 235, 205, .82), transparent 38%),
    linear-gradient(180deg, #fffaf2 0%, #fff8f2 54%, #f7fff9 100%);
}
.nv-g0-body .nv-phone,
.nv-g0-premium {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  overflow-x: hidden;
}
.nv-g0-premium svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nv-g0-brand {
  display: grid;
  grid-template-columns: 46px 50px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 60px;
  margin: 0 0 12px;
}
.nv-g0-back {
  width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(255,255,255,.86);
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15,23,42,.075);
}
.nv-g0-back svg { width: 25px; height: 25px; stroke-width: 2.8; }
.nv-g0-logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3.6px;
  color: #fff;
  background: linear-gradient(135deg, #15a98e, #08766f);
  box-shadow: 0 16px 34px rgba(15,118,110,.22);
}
.nv-g0-logo-mark span {
  width: 4px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(24deg);
}
.nv-g0-logo-mark span:nth-child(1) { height: 14px; opacity: .72; }
.nv-g0-logo-mark span:nth-child(2) { height: 22px; }
.nv-g0-logo-mark span:nth-child(3) { height: 30px; }
.nv-g0-logo-mark span:nth-child(4) { height: 20px; opacity: .84; }
.nv-g0-brand-copy { min-width: 0; }
.nv-g0-product {
  margin: 0;
  color: #083f38;
  font-size: clamp(24px, 6.2vw, 28px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.045em;
}
.nv-g0-subtitle {
  margin: 2px 0 0;
  color: #728095;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: .01em;
}
.nv-g0-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 0;
  margin: 0 0 10px;
  padding: 8px 0 0;
  overflow: visible;
}
.nv-g0-hero::before {
  content: "";
  position: absolute;
  right: -24px;
  top: 170px;
  width: 226px;
  height: 170px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 52% 38%, rgba(249,115,91,.17), transparent 34%),
    radial-gradient(circle at 78% 80%, rgba(167,139,250,.12), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.30), rgba(255,232,220,.34));
  pointer-events: none;
}
.nv-g0-hero-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  padding-bottom: 0;
}
.nv-g0-badge {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 13px;
  color: #115e59;
  border-radius: 999px;
  background: rgba(220,252,231,.82);
  font-size: 12.8px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15,118,110,.07);
}
.nv-g0-badge svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  stroke-width: 3;
}
.nv-g0-hero h1 {
  margin: 0;
  color: #083f38;
  font-size: clamp(30px, 8.6vw, 34px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: -.05em;
}
.nv-g0-lede {
  margin: 16px 0 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.56;
  font-weight: 560;
  max-width: 330px;
}
.nv-g0-visual {
  position: relative;
  z-index: 3;
  height: 190px;
  width: 100%;
  min-width: 0;
  align-self: end;
}
.nv-g0-visual-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 178px;
  height: 178px;
  border-radius: 36px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 34%, #fff4ee 0%, #fffaf7 74%);
  box-shadow: 0 18px 40px rgba(249,115,91,.12);
}
.nv-g0-visual-panel::before {
  content: "";
  position: absolute;
  inset: 18px 12px auto;
  height: 112px;
  border-radius: 999px;
  border: 5px solid rgba(249,151,132,.30);
}
.nv-g0-persona-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 20px rgba(15,23,42,.10));
}
.nv-g0-chat-bubble {
  position: absolute;
  left: 12px;
  top: 42px;
  max-width: 138px;
  padding: 11px 12px;
  border-radius: 17px 17px 8px 17px;
  background: rgba(255,255,255,.93);
  color: #334155;
  font-size: 12.4px;
  line-height: 1.42;
  font-weight: 680;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
.nv-g0-chat-bubble::after {
  content: "♥";
  display: block;
  margin-top: 7px;
  color: #ec4899;
  font-size: 18px;
  line-height: 1;
}
.nv-g0-trust-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 2px -2px 14px;
  padding: 2px 2px 6px;
  -webkit-overflow-scrolling: touch;
}
.nv-g0-trust-row::-webkit-scrollbar { display: none; }
.nv-g0-chip {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
  color: #115e59;
  background: rgba(255,255,255,.74);
  font-size: 12.4px;
  font-weight: 760;
  white-space: nowrap;
}
.nv-g0-chip svg { width: 15px; height: 15px; color: #0f766e; }
.nv-g0-chip.purple svg { color: #7c3aed; }
.nv-g0-chip.blue svg { color: #2563eb; }
.nv-g0-summary-panel {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 18px 14px 14px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 28px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 20px 44px rgba(15,23,42,.075);
}
.nv-g0-summary-head h2 {
  margin: 0;
  color: #12223b;
  font-size: clamp(24px, 6.6vw, 27px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -.035em;
}
.nv-g0-summary-head p {
  margin: 7px 0 4px;
  color: #526174;
  font-size: 14.2px;
  line-height: 1.48;
  font-weight: 560;
}
.nv-g0-consent-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: auto;
  padding: 13px 11px 13px 13px;
  border: 1px solid rgba(15,23,42,.095);
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 24px rgba(15,23,42,.035);
}
.nv-g0-consent-card h3 {
  margin: 0 0 5px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: -.015em;
}
.nv-g0-consent-card p {
  margin: 0;
  color: #374151;
  font-size: 13.5px;
  line-height: 1.43;
  font-weight: 520;
}
.nv-g0-consent-card a {
  display: inline-flex;
  margin-top: 7px;
  color: #0f766e;
  font-size: 13.4px;
  font-weight: 800;
  text-decoration: none;
}
.nv-g0-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.06);
}
.nv-g0-card-icon svg { width: 26px; height: 26px; stroke-width: 1.9; }
.nv-g0-card-icon.terms { color: #059669; background: #e3fff1; }
.nv-g0-card-icon.privacy { color: #7c3aed; background: #f0e7ff; }
.nv-g0-card-icon.audio { color: #1d8bd1; background: #e5f4ff; }
.nv-g0-card-icon.sponsored { color: #db2777; background: #ffe4f1; }
.nv-g0-card-icon.label { color: #d97706; background: #fff1cc; }
.nv-g0-chevron {
  display: grid;
  place-items: center;
  color: #0f172a;
  opacity: .92;
}
.nv-g0-chevron svg { width: 21px; height: 21px; stroke-width: 2.6; }
.nv-g0-confirm-note {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 2px;
  padding: 13px 13px;
  border-radius: 18px;
  border: 1px solid rgba(15,118,110,.14);
  background: rgba(236,253,245,.82);
  color: #0f4f49;
}
.nv-g0-confirm-note svg {
  width: 27px;
  height: 27px;
  color: #0f766e;
  stroke-width: 1.9;
}
.nv-g0-confirm-note p {
  margin: 0;
  font-size: 13.1px;
  line-height: 1.46;
  font-weight: 560;
}
.nv-g0-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: grid;
  gap: 8px;
  margin: 10px -6px 0;
  padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px 22px 0 0;
  background: rgba(255,255,255,.95);
  box-shadow: 0 -18px 38px rgba(15,23,42,.10);
  backdrop-filter: blur(14px);
}
.nv-g0-sticky-cta form { margin: 0; }
.nv-g0-primary,
.nv-g0-secondary {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 14.7px;
  font-weight: 820;
  letter-spacing: -.005em;
}
.nv-g0-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #059669);
  box-shadow: 0 14px 30px rgba(5,150,105,.24);
}
.nv-g0-primary svg:first-child {
  width: 25px;
  height: 25px;
  padding: 4px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.74);
  stroke-width: 3;
}
.nv-g0-primary svg:last-child { margin-left: auto; width: 22px; height: 22px; stroke-width: 2.7; }
.nv-g0-secondary {
  border: 1px solid rgba(15,23,42,.28);
  color: #0f172a;
  background: rgba(255,255,255,.94);
}
.nv-g0-helper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 8px 0;
  color: #64748b;
  font-size: 12.2px;
  line-height: 1.4;
  font-weight: 560;
}
.nv-g0-helper svg { width: 14px; height: 14px; flex: 0 0 auto; color: #64748b; margin-top: 1px; }
.nv-g0-thankyou { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.nv-g0-thank-card {
  margin-top: 44px;
  padding: 22px 18px;
  border-radius: 28px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.90);
  box-shadow: 0 20px 44px rgba(15,23,42,.075);
}
.nv-g0-thank-card h1 {
  margin: 0 0 13px;
  color: #083f38;
  font-size: clamp(27px, 7.4vw, 31px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.04em;
}
.nv-g0-thank-card p {
  margin: 0 0 14px;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 540;
}
.nv-g0-thank-actions { display: grid; gap: 10px; margin-top: 18px; }
@media (max-width: 359px) {
  .nv-g0-body .nv-phone,
  .nv-g0-premium { padding-left: 13px; padding-right: 13px; }
  .nv-g0-brand { grid-template-columns: 42px 46px minmax(0,1fr); gap: 8px; }
  .nv-g0-back { width: 42px; min-height: 42px; border-radius: 15px; }
  .nv-g0-logo-mark { width: 46px; height: 46px; }
  .nv-g0-product { font-size: 23px; }
  .nv-g0-subtitle { font-size: 12.8px; }
  .nv-g0-hero { grid-template-columns: 1fr; min-height: 0; }
  .nv-g0-visual { height: 170px; }
  .nv-g0-visual-panel { width: 152px; height: 152px; right: 0; }
  .nv-g0-chat-bubble { left: 0; top: 42px; max-width: 122px; font-size: 11.8px; }
  .nv-g0-lede { max-width: 292px; font-size: 14.3px; }
  .nv-g0-consent-card { grid-template-columns: 46px minmax(0,1fr) 16px; gap: 10px; padding: 12px 9px 12px 11px; }
  .nv-g0-card-icon { width: 46px; height: 46px; }
  .nv-g0-card-icon svg { width: 23px; height: 23px; }
  .nv-g0-consent-card h3 { font-size: 15px; }
  .nv-g0-consent-card p { font-size: 12.6px; }
  .nv-g0-primary,
  .nv-g0-secondary { font-size: 14px; }
}
@media (min-width: 520px) {
  .nv-g0-body {
    display: block;
    background:
      radial-gradient(circle at 78% 0%, rgba(244,194,255,.42), transparent 26%),
      radial-gradient(circle at 18% 0%, rgba(255,235,205,.72), transparent 36%),
      linear-gradient(180deg, #fffaf2 0%, #fff8f2 58%, #f7fff9 100%);
  }
  .nv-g0-premium { max-width: 430px; }
}


/* Build V1.36u: hold-to-talk remains implemented but hidden from public beta UI. */
[data-hold-public-disabled="true"] {
  display: none !important;
}

/* Build V1.36v — Che Seri landing page */
.nv-landing-body {
  min-height: 100dvh;
  margin: 0;
  background: radial-gradient(circle at 84% 18%, rgba(253, 186, 167, .36), transparent 34%), radial-gradient(circle at 18% 8%, rgba(15, 118, 110, .10), transparent 34%), linear-gradient(135deg, #fff8ef 0%, #fffdf9 48%, #fff1f4 100%);
  color: #142033;
  overflow-x: hidden;
}
.nv-landing-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  overflow-x: hidden;
}
.nv-landing-shell svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nv-landing-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.nv-landing-logo { width: 58px; height: 58px; border-radius: 24px; background: linear-gradient(135deg, #0f766e, #009b83); display: flex; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 16px 32px rgba(15, 118, 110, .22); }
.nv-landing-logo span { width: 4px; border-radius: 999px; background: #fff; transform: rotate(24deg); }
.nv-landing-logo span:nth-child(1) { height: 17px; opacity: .72; }
.nv-landing-logo span:nth-child(2) { height: 27px; }
.nv-landing-logo span:nth-child(3) { height: 35px; }
.nv-landing-logo span:nth-child(4) { height: 23px; opacity: .82; }
.nv-landing-product { margin: 0; font-weight: 900; letter-spacing: -.045em; color: #064e45; font-size: 31px; line-height: .94; }
.nv-landing-subtitle { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: #64748b; letter-spacing: .04em; }
.nv-landing-hero { position: relative; display: grid; gap: 10px; padding-top: 4px; }
.nv-landing-copy { position: relative; z-index: 2; max-width: 250px; }
.nv-landing-kicker { display: inline-flex; align-items: center; margin: 0 0 12px; padding: 8px 13px; border-radius: 999px; background: rgba(209, 250, 229, .86); color: #115e59; font-size: 12.5px; font-weight: 850; }
.nv-landing-copy h1 { margin: 0; font-size: clamp(34px, 10.2vw, 45px); line-height: .98; letter-spacing: -.052em; font-weight: 950; color: #142033; }
.nv-landing-copy h1 span { color: #ef735d; display: inline-block; }
.nv-landing-lede { margin: 17px 0 0; font-size: 15.5px; line-height: 1.58; color: #334155; font-weight: 560; }
.nv-landing-persona { position: relative; min-height: 285px; margin-top: -30px; display: flex; justify-content: flex-end; align-items: flex-end; }
.nv-landing-orb { position: absolute; right: 0; top: 10px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff1ea 0 42%, rgba(255, 218, 204, .95) 43% 47%, rgba(255, 250, 244, .5) 48% 100%); box-shadow: inset 0 0 0 1px rgba(255, 189, 170, .45); }
.nv-landing-persona-img { position: relative; z-index: 2; width: min(290px, 74vw); max-height: 310px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 28px 28px rgba(120, 63, 42, .15)); }
.nv-landing-bubble { position: absolute; z-index: 3; left: 8px; bottom: 26px; max-width: 185px; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 16px 38px rgba(15, 23, 42, .13); font-size: 14px; line-height: 1.45; color: #1e293b; font-weight: 650; }
.nv-landing-bubble::after { content: ""; position: absolute; right: -10px; bottom: 28px; border-left: 12px solid rgba(255,255,255,.92); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.nv-landing-bubble strong { color: #ef735d; }
.nv-landing-card { background: rgba(255,255,255,.82); border: 1px solid rgba(226,232,240,.92); border-radius: 28px; box-shadow: 0 18px 48px rgba(15, 23, 42, .10); backdrop-filter: blur(10px); }
.nv-landing-audio { padding: 19px; margin-top: -4px; }
.nv-landing-audio-head { display: flex; gap: 13px; align-items: center; }
.nv-landing-audio-icon { width: 46px; height: 46px; border-radius: 18px; display: grid; place-items: center; color: #f9735b; background: #fff0e8; }
.nv-landing-audio-icon svg { width: 23px; height: 23px; }
.nv-landing-audio h2 { margin: 0; font-size: 17px; line-height: 1.18; letter-spacing: -.015em; }
.nv-landing-audio p { margin: 4px 0 0; font-size: 12.5px; color: #64748b; line-height: 1.4; }
.nv-landing-player { margin-top: 14px; padding: 12px; border-radius: 22px; background: #fff; border: 1px solid #f1e7df; }
.nv-landing-player audio { width: 100%; height: 40px; display: block; }
.nv-landing-wave { display: flex; align-items: center; gap: 3px; height: 44px; margin-top: 6px; overflow: hidden; }
.nv-landing-wave span { flex: 1; min-width: 3px; height: var(--h); border-radius: 999px; background: linear-gradient(180deg, #ffb29f, #f9735b); opacity: .64; }
.nv-landing-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 15px 0; }
.nv-landing-features article { min-width: 0; padding: 14px 12px; border-radius: 22px; background: rgba(255,255,255,.72); border: 1px solid rgba(226,232,240,.8); text-align: center; }
.nv-landing-features span { width: 42px; height: 42px; margin: 0 auto 9px; border-radius: 16px; display: grid; place-items: center; background: #ecfdf5; color: #0f766e; }
.nv-landing-features article:nth-child(2) span { background: #f1e8ff; color: #7c3aed; }
.nv-landing-features article:nth-child(3) span { background: #e8f4ff; color: #1d8bd1; }
.nv-landing-features article:nth-child(4) span { background: #ffe8f1; color: #db2777; }
.nv-landing-features svg { width: 22px; height: 22px; }
.nv-landing-features strong { display: block; font-size: 13.5px; line-height: 1.2; color: #172033; }
.nv-landing-features p { margin: 5px 0 0; font-size: 12.5px; line-height: 1.38; color: #475569; }
.nv-landing-cta { padding: 15px 0 0; }
.nv-landing-cta form { margin: 0; }
.nv-landing-primary { width: 100%; min-height: 60px; border: 0; border-radius: 22px; display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 8px; padding: 0 14px; background: linear-gradient(135deg, #0f766e, #029779); color: #fff; box-shadow: 0 18px 34px rgba(15,118,110,.28); font-size: 17px; letter-spacing: -.012em; cursor: pointer; }
.nv-landing-primary span { width: 38px; height: 38px; border-radius: 16px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.nv-landing-primary svg { width: 23px; height: 23px; justify-self: end; }
.nv-landing-note { display: flex; gap: 8px; align-items: flex-start; margin: 13px 5px 0; font-size: 12.5px; line-height: 1.45; color: #64748b; }
.nv-landing-note svg { width: 15px; height: 15px; flex: 0 0 auto; color: #0f766e; margin-top: 2px; }
.nv-landing-links { margin: 9px 0 0; text-align: center; font-size: 13px; font-weight: 750; color: #0f766e; }
.nv-landing-links a { color: #0f766e; text-decoration: none; }
.nv-landing-links span { color: #94a3b8; padding: 0 6px; }
@media (max-width: 360px) {
  .nv-landing-shell { padding-left: 14px; padding-right: 14px; }
  .nv-landing-product { font-size: 28px; }
  .nv-landing-copy h1 { font-size: 34px; }
  .nv-landing-persona { min-height: 260px; }
  .nv-landing-orb { width: 245px; height: 245px; }
  .nv-landing-persona-img { width: min(255px, 76vw); }
  .nv-landing-bubble { max-width: 165px; font-size: 13px; padding: 12px 14px; }
  .nv-landing-features { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (min-width: 760px) {
  .nv-landing-shell { max-width: 430px; }
  .nv-landing-body { background-attachment: fixed; }
}

/* Build V1.36w — landing hero crop, audio preview, and mobile density corrections */
.nv-landing-body {
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 232, 220, .72), transparent 38%),
    radial-gradient(circle at 8% 42%, rgba(240, 253, 250, .58), transparent 36%),
    #fff8f2;
}
.nv-landing-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  overflow-x: hidden;
  padding: max(18px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.nv-landing-brand { gap: 12px; margin-bottom: 18px; }
.nv-landing-logo { width: 52px; height: 52px; border-radius: 21px; }
.nv-landing-product { font-size: clamp(25px, 7vw, 30px); line-height: .98; letter-spacing: -.05em; }
.nv-landing-subtitle { font-size: 13px; margin-top: 3px; letter-spacing: .035em; }
.nv-landing-hero { display: block; padding-top: 0; }
.nv-landing-copy { max-width: 100%; }
.nv-landing-kicker { margin-bottom: 11px; padding: 7px 12px; font-size: 12px; }
.nv-landing-copy h1 {
  max-width: 360px;
  font-size: clamp(32px, 9.1vw, 40px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 900;
}
.nv-landing-copy h1 .nv-title-main,
.nv-landing-copy h1 .nv-title-accent { display: block; }
.nv-landing-copy h1 .nv-title-accent { color: #ef735d; }
.nv-landing-lede {
  max-width: 340px;
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 540;
}
.nv-landing-persona {
  position: relative;
  min-height: 0;
  height: clamp(212px, 55vw, 246px);
  margin: 18px auto 0;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5ef, #fffaf4 48%, #ffe8dc);
  border: 1px solid rgba(255, 214, 199, .72);
  box-shadow: 0 20px 42px rgba(120, 63, 42, .13);
}
.nv-landing-orb { display: none; }
.nv-landing-persona-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 38%;
  filter: none;
  display: block;
}
.nv-landing-bubble {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 4;
  max-width: none;
  margin: -2px 18px 0;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 650;
}
.nv-landing-bubble::after { display: none; }
.nv-landing-card { border-radius: 24px; box-shadow: 0 16px 38px rgba(15, 23, 42, .085); }
.nv-landing-audio { padding: 16px; margin-top: 14px; }
.nv-landing-audio-head { align-items: flex-start; gap: 11px; }
.nv-landing-audio-icon { width: 42px; height: 42px; border-radius: 16px; }
.nv-landing-audio h2 { font-size: 16.5px; line-height: 1.18; }
.nv-landing-audio p { font-size: 12.25px; line-height: 1.35; }
.nv-landing-player { margin-top: 12px; padding: 12px; border-radius: 20px; }
.nv-landing-player audio { display: none; }
.nv-landing-player-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 11px;
  align-items: center;
}
.nv-landing-play {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff7a61, #f9735b);
  color: #fff;
  box-shadow: 0 14px 26px rgba(249, 115, 91, .24);
  cursor: pointer;
}
.nv-landing-play:disabled { background: #cbd5e1; color: #f8fafc; cursor: not-allowed; box-shadow: none; }
.nv-landing-play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.nv-landing-wave { height: 38px; margin-top: 0; gap: 2.5px; }
.nv-landing-wave span { min-width: 2px; opacity: .58; }
.nv-landing-audio-time { font-size: 12.5px; color: #334155; font-weight: 700; min-width: 36px; text-align: right; }
.nv-landing-audio-status { margin: 6px 0 0 !important; font-size: 11.5px !important; color: #64748b; }
.nv-landing-player[data-audio-state="unavailable"] { border-color: #fee2e2; background: #fff7f7; }
.nv-landing-player[data-audio-state="unavailable"] .nv-landing-audio-status { color: #b91c1c; }
.nv-landing-features { gap: 9px; margin: 14px 0; }
.nv-landing-features article { padding: 12px 10px; border-radius: 20px; }
.nv-landing-features span { width: 38px; height: 38px; border-radius: 15px; margin-bottom: 8px; }
.nv-landing-features svg { width: 20px; height: 20px; }
.nv-landing-features strong { font-size: 13px; }
.nv-landing-features p { font-size: 12px; line-height: 1.32; }
.nv-landing-cta { padding-top: 12px; }
.nv-landing-primary { min-height: 56px; border-radius: 20px; font-size: 16px; grid-template-columns: 38px 1fr 24px; }
.nv-landing-primary span { width: 35px; height: 35px; border-radius: 14px; }
.nv-landing-note { margin-top: 11px; font-size: 12px; }
.nv-landing-links { margin-top: 8px; font-size: 12.5px; }
@media (max-width: 340px) {
  .nv-landing-shell { padding-left: 14px; padding-right: 14px; }
  .nv-landing-copy h1 { font-size: 31px; max-width: 300px; }
  .nv-landing-lede { font-size: 13.75px; }
  .nv-landing-persona { height: 198px; border-radius: 24px; }
  .nv-landing-bubble { margin-left: 10px; margin-right: 10px; font-size: 12.5px; }
  .nv-landing-features { grid-template-columns: 1fr 1fr; gap: 8px; }
  .nv-landing-primary { font-size: 15px; }
}
@media (min-width: 760px) {
  .nv-landing-shell { max-width: 430px; }
  .nv-landing-copy h1 { font-size: 40px; }
}

/* Build V1.36w heading color correction */
.nv-landing-copy h1 .nv-title-main { color: #142033; }
.nv-landing-copy h1 .nv-title-accent { color: #ef735d; }

/* Build V1.38 — response envelope cards and compact G0/G1 intro cleanup */
.nv-g0-hero-compact {
  display: block;
  margin: 0 0 12px;
  padding: 6px 0 0;
  min-height: 0;
}
.nv-g0-hero-compact::before { display: none; }
.nv-g0-hero-compact .nv-g0-lede-full {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 14px 15px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(226,232,240,.82);
  box-shadow: 0 14px 34px rgba(15,23,42,.07);
  font-size: 14.5px;
  line-height: 1.55;
}
.nv-landing-intro {
  margin: 2px 0 12px;
}
.nv-landing-intro .nv-landing-kicker {
  margin: 0;
}
.nv-voice-response-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow: 0 16px 38px rgba(15,23,42,.085);
}
.nv-voice-response-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.nv-voice-response-head div {
  display: grid;
  gap: 2px;
}
.nv-response-persona {
  color: var(--nv-accent-dark);
  font-size: 12px;
  font-weight: 850;
}
.nv-voice-response-head strong {
  color: #172033;
  font-size: 15px;
  letter-spacing: -.015em;
}
.nv-response-mode {
  flex: 0 0 auto;
  max-width: 148px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
}
.nv-response-text {
  margin: 10px 0 0;
  color: #263447;
  font-size: 14px;
  line-height: 1.48;
  white-space: pre-wrap;
}
.nv-voice-response-card[data-response-state="empty"] .nv-response-text {
  color: #64748b;
}
.nv-sponsored-inline {
  margin-top: 11px;
  padding: 10px 11px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.nv-sponsored-inline span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  font-size: 10.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nv-sponsored-inline p {
  margin: 0;
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.42;
}
.nv-response-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.nv-response-actions button {
  min-height: 34px;
  border: 1px solid rgba(15,118,110,.18);
  border-radius: 12px;
  background: rgba(236,253,245,.72);
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  padding: 0 11px;
}
.nv-response-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.nv-voice-response-card[data-text-hidden="true"] .nv-response-text,
.nv-voice-response-card[data-text-hidden="true"] .nv-sponsored-inline {
  display: none;
}
body.accessibility-mode .nv-response-text { font-size: 15.5px; line-height: 1.55; }
@media (max-width: 380px) {
  .nv-g0-hero-compact .nv-g0-lede-full { font-size: 13.8px; padding: 13px 14px; }
  .nv-response-actions { flex-wrap: wrap; }
}


/* Build V1.38 — response envelope and public segment removal */
.nv-landing-hero-minimal {
  padding: 4px 0 2px;
}
.nv-landing-minimal-note {
  display: grid;
  gap: 7px;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 30px rgba(15,23,42,.07);
}
.nv-landing-minimal-note strong {
  color: #142033;
  font-size: 16px;
  line-height: 1.15;
}
.nv-landing-minimal-note p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.nv-g0-hero {
  grid-template-columns: 1fr;
  min-height: 0;
}
.nv-g0-hero-copy-full,
.nv-g0-lede-full {
  width: 100%;
  max-width: none;
}
.nv-g0-lede {
  max-width: none;
}
.nv-g0-visual,
.nv-g0-visual-panel,
.nv-g0-chat-bubble,
.nv-g0-persona-img {
  display: none !important;
}

.nv-response-envelope {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--nv-border);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--nv-shadow-card);
  display: grid;
  gap: 12px;
}
.nv-response-envelope-head {
  display: grid;
  gap: 5px;
}
.nv-response-envelope-head strong {
  color: var(--nv-accent-dark);
  font-size: 15px;
  letter-spacing: -.01em;
}
.nv-response-envelope-head p {
  margin: 0;
  color: #475569;
  font-size: 12.8px;
  line-height: 1.45;
}
.nv-response-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nv-response-empty {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px dashed rgba(15,23,42,.10);
}
.nv-response-empty strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}
.nv-response-empty p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12.8px;
  line-height: 1.42;
}
.nv-response-feed .nv-cg-message {
  margin: 0;
}
.nv-response-feed .nv-cg-content {
  max-width: 100%;
}
.nv-response-feed .nv-cg-bubble {
  width: auto;
  max-width: 100%;
  box-shadow: none;
}
.nv-response-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nv-response-streaming {
  opacity: .74;
}


/* Build V1.50 — Cost-Optimized Public UI Hands-Free Activation */
.nv-cost-optimized-card {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 22px;
  border: 1px solid rgba(15,118,110,.16);
  background: linear-gradient(135deg, rgba(236,253,245,.92), rgba(255,247,237,.86));
  box-shadow: 0 14px 34px rgba(15,23,42,.075);
}
.nv-cost-optimized-card strong {
  display: block;
  color: #115e59;
  font-size: 14.5px;
  letter-spacing: -.01em;
}
.nv-cost-optimized-card p {
  margin: 6px 0 0;
  color: #475569;
  font-size: 12.8px;
  line-height: 1.45;
}
.nv-cost-mode-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15,118,110,.10);
  color: #0f766e;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}
body.accessibility-mode .nv-cost-optimized-card {
  border-width: 2px;
}
body.accessibility-mode .nv-cost-optimized-card p {
  font-size: 14px;
}

/* Build V1.54a — public landing/photo and voice surface cleanup */
.nv-landing-hero-photo {
  display: grid;
  place-items: center;
  padding: 2px 0 10px;
}
.nv-landing-che-seri-frame {
  width: min(238px, 68vw);
  margin: 0 auto;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,232,220,.78));
  border: 1px solid rgba(249,115,91,.22);
  box-shadow: 0 18px 42px rgba(120,63,42,.11);
}
.nv-landing-che-seri-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}
.nv-persona-hero {
  padding: 2px 0 10px;
}
.nv-portrait-ring {
  width: 190px;
  height: 190px;
}
.nv-portrait-glow {
  inset: 13px;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--nv-accent) 16%, transparent), 0 0 24px color-mix(in srgb, var(--nv-accent) 26%, transparent);
}
.nv-portrait-disc {
  width: 158px;
  height: 158px;
  border: 6px solid rgba(255,255,255,.95);
  box-shadow: 0 12px 32px rgba(15,23,42,.10), 0 0 0 1px rgba(249,115,91,.20);
}
.nv-portrait-img {
  transform: scale(1.01);
}
.nv-persona-name-pill {
  margin-top: -30px;
  min-height: 38px;
  min-width: 132px;
  padding: 0 18px;
  font-size: 17px;
}
.nv-persona-quote {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.42;
}
.nv-voice-response-card {
  margin: 12px 0;
  border-color: color-mix(in srgb, var(--nv-accent) 18%, rgba(226,232,240,.92));
}
.nv-thinking-bridge-status {
  margin-top: 8px;
}
@media (max-width: 380px) {
  .nv-portrait-ring { width: 172px; height: 172px; }
  .nv-portrait-disc { width: 144px; height: 144px; }
  .nv-persona-name-pill { margin-top: -28px; min-height: 36px; font-size: 16px; }
  .nv-landing-che-seri-frame { width: min(214px, 66vw); }
}

/* Build V1.54c — Che Seri landing photo enforcement hotfix */
.nv-landing-che-seri-frame {
  width: min(218px, 62vw);
  padding: 6px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,232,220,.82));
  border: 1px solid rgba(249,115,91,.26);
  box-shadow: 0 16px 38px rgba(120,63,42,.12);
}
.nv-landing-che-seri-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 51% 28%;
  border-radius: 22px;
}
.nv-portrait-ring {
  width: 174px;
  height: 174px;
}
.nv-portrait-glow {
  inset: 12px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--nv-accent) 15%, transparent), 0 0 22px color-mix(in srgb, var(--nv-accent) 24%, transparent);
}
.nv-portrait-disc {
  width: 144px;
  height: 144px;
  border: 5px solid rgba(255,255,255,.96);
  background: linear-gradient(145deg, #fff, #fff7ed);
  box-shadow: 0 12px 28px rgba(15,23,42,.10), 0 0 0 1px rgba(249,115,91,.22);
}
.nv-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 31%;
  transform: none;
}
.nv-persona-name-pill {
  margin-top: -26px;
}
@media (max-width: 380px) {
  .nv-landing-che-seri-frame { width: min(196px, 60vw); }
  .nv-portrait-ring { width: 158px; height: 158px; }
  .nv-portrait-disc { width: 132px; height: 132px; }
  .nv-persona-name-pill { margin-top: -24px; }
}


/* Build V1.54c — Che Seri landing photo enforcement hotfix.
   The landing page must use the user-uploaded 476x430 Che Seri photo without over-cropping. */
.nv-landing-che-seri-frame {
  width: min(252px, 70vw);
  padding: 6px;
  border-radius: 26px;
}
.nv-landing-che-seri-frame img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 20px;
}
@media (max-width: 380px) {
  .nv-landing-che-seri-frame { width: min(226px, 66vw); }
}

/* Build V1.58 — Telegram Mini App registration/profile */
.nv-miniapp-shell .nv-miniapp-hero { overflow: hidden; }
.nv-miniapp-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nv-miniapp-pills span { border: 1px solid rgba(15, 118, 110, 0.16); background: rgba(255, 255, 255, 0.72); border-radius: 999px; padding: 6px 10px; font-size: 12px; color: var(--color-text-muted, #64748b); }
.nv-miniapp[data-persona="female_companion"] .nv-hero-card { background: linear-gradient(135deg, #fff8f2 0%, #ffe8dc 100%); }
.nv-miniapp[data-persona="male_companion"] .nv-hero-card { background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); }
.nv-miniapp .nv-form-card input,
.nv-miniapp .nv-form-card select { width: 100%; min-height: 44px; border-radius: 14px; border: 1px solid rgba(100, 116, 139, 0.22); padding: 10px 12px; font-size: 14px; background: #fff; color: #1f2933; }
.nv-miniapp .nv-form-card label { display: grid; gap: 6px; font-size: 13px; color: #1f2933; margin-bottom: 12px; }
.nv-miniapp #miniapp-status[data-status="error"], .nv-verification-page .nv-public-error { border-color: rgba(220, 38, 38, 0.28); background: rgba(254, 226, 226, 0.74); color: #991b1b; }
.nv-miniapp #miniapp-status[data-status="ok"] { border-color: rgba(22, 163, 74, 0.22); background: rgba(220, 252, 231, 0.72); color: #166534; }
.nv-summary-row { display: grid; grid-template-columns: minmax(90px, 0.8fr) 1.2fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(226, 232, 240, 0.7); }
.nv-summary-row dt { font-size: 12px; color: #64748b; }
.nv-summary-row dd { margin: 0; font-size: 13px; color: #1f2933; text-align: right; }
