/* The v2 layout (Lumina Research Labs, 2026-11-20): light pages, navy only for the bar, headings, the sign-in card's
   strip, the phone cart bar and the footer. Shared by every v2 page (apps/website-assistant/brand-v2.mjs); each page
   adds its own stylesheet after this one. Tokens first, then base, controls, then the bar and the footer. */
:root {
  --v2-page: #ffffff; --v2-band: #f4f7fb; --v2-line: #dde3ee; --v2-divider: #eaeef5; --v2-tint: #f1f5fb;
  --v2-text: #14171f; --v2-navy: #0d1b3e; --v2-secondary: #3b4252; --v2-muted: #5b6478; --v2-sky: #7ec8e3;
  --v2-blue: #1157b5; --v2-blue-hover: #1a66cc; --v2-blue-press: #0e4a9c; --v2-focus: #1a56a0;
  --v2-ok: #1f7a4d; --v2-ok-bg: #eaf6ef; --v2-warn: #8a5a00; --v2-warn-bg: #fff6e0;
  --v2-bad: #b42318; --v2-bad-bg: #fef3f2; --v2-bad-line: #fecdca; --v2-neutral: #6b7487; --v2-neutral-bg: #f1f2f5;
  --v2-info: #1a56a0; --v2-info-bg: #e8eff8; --v2-input-line: #c2cbda; --v2-skeleton: #eef1f6;
  --v2-card-shadow: 0 18px 40px -24px rgba(13, 27, 62, .22);
  --v2-btn-shadow: 0 8px 22px rgba(17, 87, 181, .25);
  --v2-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --v2-gutter: 24px; --v2-max: 1160px;
  color-scheme: light;
}
@media (max-width: 860px) { :root { --v2-gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
/* the same bar on a short page and a long one: the scrollbar's room is kept either way, so nothing shifts sideways */
body.v2 {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  font: 400 17px/1.62 var(--v2-font); color: var(--v2-text); background: var(--v2-page);
  -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01';
}
body.v2.v2-app { background: var(--v2-band); }
body.v2 > main { flex: 1 0 auto; }
.v2 img { max-width: 100%; }
.v2 h1, .v2 h2, .v2 h3 { color: var(--v2-navy); margin: 0; }
.v2 p { margin: 0; }
.v2-wrap { width: 100%; max-width: calc(var(--v2-max) + 2 * var(--v2-gutter)); margin: 0 auto; padding: 0 var(--v2-gutter); }
.v2-h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.v2-h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
@media (max-width: 860px) { .v2-h2 { font-size: 28px; } }
.v2-sub { color: var(--v2-muted); }
.v2-muted { color: var(--v2-muted); }
.v2-label { font-size: 12.5px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; color: var(--v2-muted); }
.v2-num { font-variant-numeric: tabular-nums; }
.v2-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v2-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--v2-navy); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.v2-skip:focus { top: 12px; }

/* ---------- focus, links, buttons ---------- */
.v2 :focus { outline: none; }
.v2 :focus-visible { outline: 2px solid var(--v2-focus); outline-offset: 2px; border-radius: 6px; }
.v2-link, .v2 a.v2-link, .v2 button.v2-link {
  color: var(--v2-blue); font: inherit; font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0;
  cursor: pointer; border-radius: 4px;
}
.v2-link:hover { color: var(--v2-blue-hover); text-decoration: underline; text-underline-offset: 3px; }
.v2-link:active { color: var(--v2-blue-press); }
.v2-link-danger { color: var(--v2-bad) !important; }
.v2-btn, .v2-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; font: 600 16px/1.2 var(--v2-font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, box-shadow .15s ease, transform .08s ease;
}
.v2-btn { background: var(--v2-blue); color: #fff; border: 1px solid var(--v2-blue); box-shadow: var(--v2-btn-shadow); }
.v2-btn:hover { background: var(--v2-blue-hover); border-color: var(--v2-blue-hover); }
.v2-btn:active { background: var(--v2-blue-press); border-color: var(--v2-blue-press); transform: scale(.985); }
.v2-btn-secondary { background: #fff; color: var(--v2-navy); border: 1px solid #c9d3e3; }
.v2-btn-secondary:hover { background: var(--v2-band); }
.v2-btn-secondary:active { background: #e9eef6; transform: scale(.985); }
.v2-btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.v2-btn-block { display: flex; width: 100%; }
.v2-btn[disabled], .v2-btn-secondary[disabled], .v2-btn[aria-disabled='true'], .v2-btn-secondary[aria-disabled='true'] {
  opacity: .5; cursor: default; pointer-events: none; box-shadow: none;
}

/* ---------- cards, pills, alerts, states ---------- */
.v2-card { background: #fff; border: 1px solid var(--v2-line); border-radius: 15px; box-shadow: var(--v2-card-shadow); }
.v2-pill {
  display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; padding: 3px 10px;
  font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--v2-info); background: var(--v2-info-bg);
}
.v2-pill-warn { color: var(--v2-warn); background: var(--v2-warn-bg); }
.v2-pill-info { color: var(--v2-info); background: var(--v2-info-bg); }
.v2-pill-ok { color: var(--v2-ok); background: var(--v2-ok-bg); }
.v2-pill-neutral { color: var(--v2-neutral); background: var(--v2-neutral-bg); }
.v2-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--v2-info); background: var(--v2-info-bg); }
.v2-alert { border-radius: 12px; padding: 12px 14px; font-size: 15.5px; line-height: 1.5; border: 1px solid transparent; }
.v2-alert-bad { color: var(--v2-bad); background: var(--v2-bad-bg); border-color: var(--v2-bad-line); }
.v2-alert-ok { color: #14532d; background: var(--v2-ok-bg); border-color: #bfe3cd; }
.v2-alert-warn { color: var(--v2-warn); background: var(--v2-warn-bg); border-color: #f2dcaa; }
.v2-alert .v2-btn-secondary { margin-top: 10px; }
.v2-skel { display: block; height: 16px; border-radius: 6px; background: var(--v2-skeleton); }
.v2-skel-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--v2-divider); }
.v2-loading { color: var(--v2-muted); }
.v2-empty { text-align: center; padding: 36px 16px; color: var(--v2-secondary); }
.v2-empty .v2-btn { margin-top: 14px; }

/* ---------- forms ---------- */
.v2-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.v2-field > span:first-child, .v2-field > .v2-label { font-size: 12.5px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; color: var(--v2-muted); }
.v2-field .v2-opt { text-transform: none; letter-spacing: 0; font-weight: 500; }
.v2-input, .v2 input.v2-input, .v2 select.v2-input, .v2 textarea.v2-input {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--v2-input-line); border-radius: 10px;
  background: #fff; color: var(--v2-text); font: 400 16.5px/1.4 var(--v2-font); appearance: none; -webkit-appearance: none;
}
select.v2-input { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B6478' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center; }
.v2-input:focus, .v2-input:focus-visible { outline: 2px solid var(--v2-focus); outline-offset: 0; border-color: var(--v2-focus); }
.v2-input[aria-invalid='true'] { border-color: var(--v2-bad); }
.v2-field-error { color: var(--v2-bad); font-size: 14.5px; font-weight: 500; }
.v2-show { display: inline-flex; align-items: center; gap: 9px; margin-top: 2px; min-height: 32px; font-size: 15px; font-weight: 500; color: var(--v2-secondary); cursor: pointer; user-select: none; }
.v2-show input, .v2-check input { width: 19px; height: 19px; margin: 0; accent-color: var(--v2-blue); flex: none; }
.v2-check { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; line-height: 1.5; color: var(--v2-secondary); cursor: pointer; }
.v2-check input { margin-top: 3px; }

/* ---------- top bar (Part 3A) ---------- */
.v2-top { position: sticky; top: 0; z-index: 40; background: var(--v2-navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.v2-top-row { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.v2-logo { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.v2-logo img { display: block; height: 38px; width: auto; max-width: none; }
.v2-admin-tag { display: inline-flex; align-items: center; border: 1px solid rgba(126, 200, 227, .45); color: var(--v2-sky); border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-left: -6px; }
.v2-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.v2-nav a:not(.v2-btn), .v2-top-link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .82);
  font: 600 15px/1.2 var(--v2-font); text-decoration: none; white-space: nowrap;
  background: none; border: 0; padding: 0; cursor: pointer; border-radius: 4px;
}
.v2-nav a:not(.v2-btn):hover, .v2-top-link:hover { color: #fff; }
.v2-nav a[aria-current='page']:not(.v2-btn) { color: #fff; }
.v2-nav a[aria-current='page']:not(.v2-btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--v2-sky); }
.v2-top .v2-btn-top { min-height: 44px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.v2-top :focus-visible { outline-color: var(--v2-sky); }
.v2-top-end { display: flex; align-items: center; gap: 18px; }
.v2-top-buyer .v2-top-end { margin-left: auto; gap: 12px; }
/* the signed-in bar's two buttons: account (a menu) and cart, the same 44px square as each other */
.v2-icon-btn, .v2-cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; background: transparent; color: #fff; cursor: pointer; text-decoration: none; }
.v2-icon-btn:hover { background: rgba(255, 255, 255, .08); }
.v2-icon-btn:active { background: rgba(255, 255, 255, .14); }
.v2-acct-btn[aria-expanded='true'] { background: rgba(255, 255, 255, .14); }
.v2-acct { position: relative; }
.v2-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; min-width: 220px; padding: 6px; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--v2-line); border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(13, 27, 62, .35);
}
.v2-menu a, .v2-menu button {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: none; text-align: left;
  color: var(--v2-navy); font: 600 15.5px/1.2 var(--v2-font); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.v2-menu a:hover, .v2-menu button:hover, .v2-menu a:focus-visible, .v2-menu button:focus-visible { background: var(--v2-band); outline: none; }
.v2-menu a[aria-current='page'] { color: var(--v2-blue); }
.v2-menu .v2-menu-signout { margin-top: 4px; border-top: 1px solid var(--v2-divider); border-radius: 0 0 8px 8px; color: var(--v2-secondary); }
.v2-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--v2-navy); font: 700 16px/1.3 var(--v2-font); text-decoration: none; border-radius: 4px; }
.v2-back:hover { color: var(--v2-blue); text-decoration: underline; text-underline-offset: 3px; }
.v2-cart-badge { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--v2-sky); color: var(--v2-navy); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }
.v2-subnav { display: none; }
@media (max-width: 860px) {
  .v2-top-row { gap: 14px; min-height: 60px; }
  .v2-logo img { height: 32px; }
  .v2-nav { gap: 16px; }
  .v2-nav a:not(.v2-btn), .v2-top-link { font-size: 14.5px; }
  .v2-top .v2-btn-top { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .v2-admin-tag { display: none; }
  /* every bar is one row on phones too (Lumina 11/21) */
  .v2-top-buyer .v2-top-end { gap: 10px; }
}
@media (max-width: 380px) {
  .v2-nav { gap: 12px; }
  .v2-top-public .v2-logo img { height: 28px; }
}

/* ---------- footer (Part 3B) ---------- */
.v2-foot { flex: none; background: var(--v2-navy); color: rgba(255, 255, 255, .72); padding: 34px 0 30px; }
.v2-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.v2-foot-logo img { height: 36px; }
.v2-return {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 10px;
  background: #fff; color: var(--v2-navy); font: 700 17px/1.2 var(--v2-font); text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: background-color .15s ease, transform .08s ease;
}
.v2-return:hover { background: #eef3fa; }
.v2-return:active { background: #e1e9f4; transform: scale(.985); }
.v2-foot .v2-return:focus-visible, .v2-foot a:focus-visible { outline-color: var(--v2-sky); }
.v2-points { list-style: none; margin: 26px 0 0; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 10px 30px; }
.v2-points li { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; font-weight: 600; }
.v2-points svg { color: var(--v2-sky); flex: none; }
.v2-foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 10px; }
/* 44px tall to tap (Lumina 11/22) */
.v2-foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .88); font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 4px; }
.v2-foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.v2-fda { margin-top: 16px !important; max-width: 95ch; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.v2-maker { margin-top: 10px !important; font-size: 13px; color: rgba(255, 255, 255, .6); }
.v2-copy { margin-top: 6px !important; font-size: 13px; color: rgba(255, 255, 255, .72); }
@media (max-width: 860px) {
  .v2-foot-logo img { height: 30px; }
  .v2-return { min-height: 48px; padding: 0 18px; font-size: 16px; }
  .v2-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .v2-points li { font-size: 14px; align-items: flex-start; }
  .v2-points svg { margin-top: 3px; }
}
/* "← Return to luminaresearchlabs.com" stays on one line on phones: under the logo, full width. */
@media (max-width: 560px) { .v2-return { width: 100%; padding: 0 14px; font-size: 15.5px; } }
@media (max-width: 340px) { .v2-return { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .v2 *, .v2 *::before, .v2 *::after { transition: none !important; animation: none !important; } }

/* Show/hide eye inside a password field (v2.js eyes(), Lumina 11/22) */
.v2-pass { position: relative; display: block; width: 100%; }
.v2-pass > .v2-input { width: 100%; padding-right: 52px; }
.v2-eye { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--v2-muted); cursor: pointer; }
.v2-eye:hover { color: var(--v2-navy); }
.v2-eye:focus-visible { outline: 2px solid var(--v2-focus); outline-offset: -2px; }
.v2-eye .v2-eye-off { display: none; }
.v2-eye.is-shown .v2-eye-off { display: inline; }
