/* =============================================================================
   NOVA — the hub's look (Matt, 2026-09-28: "Think PlayStation 5 for the
   background and then think Apple MacBook for buttons and layout … blue isn't
   really our color, I just wanted the theme of it to be the PS5 background").

   One layer on top of the compiled Tailwind (app.css, untouched). Every rule
   is scoped to html.nova-theme, so a page that opts out (the customer's
   public card) keeps the old look byte for byte.

   Shape and size live in :where() rules (zero specificity) so a size the page
   asked for with a Tailwind utility (text-xs, px-6, rounded-lg, border-l-4…)
   still wins; colour, depth and light live in normal rules and win.

   Motion is transform/opacity only (compositor work, no layout, no paint),
   and every animation stops for "reduce motion".
   ========================================================================== */

:root {
  --nv-bg: #060505;
  --nv-ink: #F7F1E6;
  --nv-ink-2: rgba(247, 241, 230, .74);
  --nv-ink-3: rgba(247, 241, 230, .52);
  --nv-ink-4: rgba(247, 241, 230, .36);
  --nv-gold: #E5CA9F;
  --nv-gold-hi: #F7E4C0;
  --nv-gold-lo: #C9A267;
  --nv-amber: #DD8519;
  --nv-bronze: #904703;
  --nv-surface: rgba(28, 24, 19, .70);
  --nv-surface-2: rgba(40, 35, 28, .62);
  --nv-surface-3: rgba(255, 244, 222, .05);
  --nv-hair: rgba(255, 240, 214, .085);
  --nv-hair-2: rgba(255, 240, 214, .15);
  --nv-hair-3: rgba(255, 240, 214, .24);
  --nv-radius: 18px;
  --nv-radius-sm: 12px;
  --nv-ease: cubic-bezier(.2, .8, .2, 1);
  --nv-spring: cubic-bezier(.34, 1.4, .64, 1);
  --nv-font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --nova-bottom: 22px;
}

/* ---------------------------------------------------------------- page ---- */
html.nova-theme { background: var(--nv-bg); color-scheme: dark; }
html.nova-theme body {
  background: transparent;
  color: var(--nv-ink);
  font-family: var(--nv-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.nova-theme ::selection { background: rgba(229, 202, 159, .35); color: #fff; }
html.nova-theme :focus-visible { outline: 2px solid rgba(229, 202, 159, .75); outline-offset: 2px; }
/* fields show focus with their own gold ring, never a box around a box */
html.nova-theme input:focus-visible, html.nova-theme select:focus-visible, html.nova-theme textarea:focus-visible { outline: none; }
html.nova-theme * { scrollbar-width: thin; scrollbar-color: rgba(255, 240, 214, .18) transparent; }
html.nova-theme ::-webkit-scrollbar { width: 10px; height: 10px; }
html.nova-theme ::-webkit-scrollbar-thumb { background: rgba(255, 240, 214, .14); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
html.nova-theme ::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 240, 214, .26); }
html.nova-theme ::-webkit-scrollbar-track { background: transparent; }
html.nova-theme main { position: relative; }
html.nova-theme input[type=checkbox], html.nova-theme input[type=radio], html.nova-theme progress { accent-color: var(--nv-gold); }

/* ------------------------------------------------ the PS5-style backdrop ---- */
/* Deep matte black lit from inside: three slow pools of gold, amber and
   bronze light, two ribbons of light drifting across like the console's
   home screen, and a little gold dust rising. Fixed behind everything. */
.nova-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 85% at 50% -12%, #1f170c 0%, #100c08 42%, #070606 72%, #050404 100%);
}
.nova-bg__pool { position: absolute; border-radius: 50%; will-change: transform; }
.nova-bg__pool--a {
  width: 95vmax; height: 95vmax; left: -30vmax; top: -45vmax;
  background: radial-gradient(closest-side, rgba(229, 202, 159, .20), rgba(229, 202, 159, .08) 45%, transparent 72%);
  animation: nv-drift-a 46s ease-in-out infinite alternate;
}
.nova-bg__pool--b {
  width: 110vmax; height: 110vmax; right: -45vmax; bottom: -60vmax;
  background: radial-gradient(closest-side, rgba(221, 133, 25, .17), rgba(221, 133, 25, .06) 50%, transparent 74%);
  animation: nv-drift-b 58s ease-in-out infinite alternate;
}
.nova-bg__pool--c {
  width: 70vmax; height: 70vmax; left: 35%; top: 20%;
  background: radial-gradient(closest-side, rgba(144, 71, 3, .20), rgba(144, 71, 3, .07) 50%, transparent 75%);
  animation: nv-drift-c 64s ease-in-out infinite alternate;
}
.nova-bg__waves { position: absolute; inset: -10% -15%; will-change: transform; opacity: .9; }
.nova-bg__waves svg { width: 100%; height: 100%; display: block; }
.nova-bg__waves--one { animation: nv-wave-one 28s ease-in-out infinite alternate; }
.nova-bg__waves--two { animation: nv-wave-two 36s ease-in-out infinite alternate; opacity: .6; }
.nova-bg__dust, .nova-bg__dust--fine {
  position: absolute; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%;
  will-change: transform; animation: nv-rise 140s linear infinite;
}
.nova-bg__dust { box-shadow: 1648px 1211px rgba(255,214,150,.35), 984px 120px rgba(255,236,200,.55), 2089px 748px rgba(255,214,150,.35), 77px 14px rgba(255,255,255,.35), 619px 923px rgba(255,214,150,.35), 1493px 433px rgba(229,202,159,.45), 1046px 1226px rgba(255,236,200,.55), 2271px 981px rgba(255,236,200,.55), 1850px 981px rgba(229,202,159,.45), 1711px 1426px rgba(255,214,150,.35), 1351px 218px rgba(255,255,255,.35), 600px 1372px rgba(255,236,200,.55), 629px 783px rgba(229,202,159,.45), 1619px 1571px rgba(255,236,200,.55), 1944px 1340px rgba(255,214,150,.35), 561px 342px rgba(255,236,200,.55), 1169px 782px rgba(255,255,255,.35), 1981px 1357px rgba(255,214,150,.35), 610px 463px rgba(255,255,255,.35), 1952px 204px rgba(255,255,255,.35), 1787px 641px rgba(229,202,159,.45), 2375px 1123px rgba(229,202,159,.45), 989px 1485px rgba(255,214,150,.35), 761px 160px rgba(255,255,255,.35), 458px 1024px rgba(229,202,159,.45), 2205px 360px rgba(255,214,150,.35), 1227px 221px rgba(255,255,255,.35), 2279px 100px rgba(255,236,200,.55), 221px 584px rgba(255,255,255,.35), 1398px 5px rgba(255,236,200,.55), 244px 984px rgba(255,255,255,.35), 392px 1079px rgba(255,214,150,.35), 1322px 461px rgba(229,202,159,.45), 2287px 37px rgba(229,202,159,.45), 1694px 1373px rgba(255,214,150,.35), 1969px 867px rgba(255,236,200,.55), 1566px 632px rgba(255,236,200,.55), 1592px 1222px rgba(255,236,200,.55), 478px 457px rgba(255,236,200,.55), 249px 1369px rgba(255,214,150,.35), 1038px 1445px rgba(255,214,150,.35), 1075px 1191px rgba(255,236,200,.55), 2138px 87px rgba(229,202,159,.45), 284px 482px rgba(255,214,150,.35), 1722px 1575px rgba(229,202,159,.45), 42px 1117px rgba(255,214,150,.35); opacity: .55; }
.nova-bg__dust::after { content: ''; position: absolute; left: 0; top: 1600px; width: 2px; height: 2px; border-radius: 50%; box-shadow: 1648px 1211px rgba(255,214,150,.35), 984px 120px rgba(255,236,200,.55), 2089px 748px rgba(255,214,150,.35), 77px 14px rgba(255,255,255,.35), 619px 923px rgba(255,214,150,.35), 1493px 433px rgba(229,202,159,.45), 1046px 1226px rgba(255,236,200,.55), 2271px 981px rgba(255,236,200,.55), 1850px 981px rgba(229,202,159,.45), 1711px 1426px rgba(255,214,150,.35), 1351px 218px rgba(255,255,255,.35), 600px 1372px rgba(255,236,200,.55), 629px 783px rgba(229,202,159,.45), 1619px 1571px rgba(255,236,200,.55), 1944px 1340px rgba(255,214,150,.35), 561px 342px rgba(255,236,200,.55), 1169px 782px rgba(255,255,255,.35), 1981px 1357px rgba(255,214,150,.35), 610px 463px rgba(255,255,255,.35), 1952px 204px rgba(255,255,255,.35), 1787px 641px rgba(229,202,159,.45), 2375px 1123px rgba(229,202,159,.45), 989px 1485px rgba(255,214,150,.35), 761px 160px rgba(255,255,255,.35), 458px 1024px rgba(229,202,159,.45), 2205px 360px rgba(255,214,150,.35), 1227px 221px rgba(255,255,255,.35), 2279px 100px rgba(255,236,200,.55), 221px 584px rgba(255,255,255,.35), 1398px 5px rgba(255,236,200,.55), 244px 984px rgba(255,255,255,.35), 392px 1079px rgba(255,214,150,.35), 1322px 461px rgba(229,202,159,.45), 2287px 37px rgba(229,202,159,.45), 1694px 1373px rgba(255,214,150,.35), 1969px 867px rgba(255,236,200,.55), 1566px 632px rgba(255,236,200,.55), 1592px 1222px rgba(255,236,200,.55), 478px 457px rgba(255,236,200,.55), 249px 1369px rgba(255,214,150,.35), 1038px 1445px rgba(255,214,150,.35), 1075px 1191px rgba(255,236,200,.55), 2138px 87px rgba(229,202,159,.45), 284px 482px rgba(255,214,150,.35), 1722px 1575px rgba(229,202,159,.45), 42px 1117px rgba(255,214,150,.35); }
.nova-bg__dust--fine { width: 1px; height: 1px; box-shadow: 839px 983px rgba(255,236,200,.55), 975px 537px rgba(255,214,150,.35), 1871px 1563px rgba(255,214,150,.35), 1501px 769px rgba(255,236,200,.55), 2302px 398px rgba(255,214,150,.35), 1217px 954px rgba(229,202,159,.45), 1668px 317px rgba(255,255,255,.35), 1047px 1354px rgba(255,255,255,.35), 1772px 824px rgba(255,236,200,.55), 2003px 1426px rgba(255,255,255,.35), 2009px 1033px rgba(255,255,255,.35), 2387px 733px rgba(255,255,255,.35), 1222px 1339px rgba(229,202,159,.45), 2396px 1441px rgba(255,236,200,.55), 2266px 1206px rgba(255,255,255,.35), 276px 878px rgba(255,214,150,.35), 2169px 683px rgba(255,236,200,.55), 722px 1515px rgba(255,236,200,.55), 1696px 1255px rgba(255,214,150,.35), 67px 1248px rgba(255,255,255,.35), 1067px 895px rgba(255,214,150,.35), 2206px 1570px rgba(255,214,150,.35), 919px 663px rgba(255,255,255,.35), 2227px 626px rgba(229,202,159,.45), 97px 431px rgba(255,214,150,.35), 1324px 1312px rgba(255,236,200,.55), 1240px 1129px rgba(255,236,200,.55), 495px 374px rgba(255,255,255,.35), 618px 1373px rgba(255,214,150,.35), 2189px 614px rgba(255,214,150,.35), 2028px 17px rgba(229,202,159,.45), 2312px 370px rgba(255,255,255,.35), 1457px 1089px rgba(255,255,255,.35), 2014px 84px rgba(255,236,200,.55); opacity: .7; animation-duration: 95s; }
.nova-bg__dust--fine::after { content: ''; position: absolute; left: 0; top: 1600px; width: 1px; height: 1px; border-radius: 50%; box-shadow: 839px 983px rgba(255,236,200,.55), 975px 537px rgba(255,214,150,.35), 1871px 1563px rgba(255,214,150,.35), 1501px 769px rgba(255,236,200,.55), 2302px 398px rgba(255,214,150,.35), 1217px 954px rgba(229,202,159,.45), 1668px 317px rgba(255,255,255,.35), 1047px 1354px rgba(255,255,255,.35), 1772px 824px rgba(255,236,200,.55), 2003px 1426px rgba(255,255,255,.35), 2009px 1033px rgba(255,255,255,.35), 2387px 733px rgba(255,255,255,.35), 1222px 1339px rgba(229,202,159,.45), 2396px 1441px rgba(255,236,200,.55), 2266px 1206px rgba(255,255,255,.35), 276px 878px rgba(255,214,150,.35), 2169px 683px rgba(255,236,200,.55), 722px 1515px rgba(255,236,200,.55), 1696px 1255px rgba(255,214,150,.35), 67px 1248px rgba(255,255,255,.35), 1067px 895px rgba(255,214,150,.35), 2206px 1570px rgba(255,214,150,.35), 919px 663px rgba(255,255,255,.35), 2227px 626px rgba(229,202,159,.45), 97px 431px rgba(255,214,150,.35), 1324px 1312px rgba(255,236,200,.55), 1240px 1129px rgba(255,236,200,.55), 495px 374px rgba(255,255,255,.35), 618px 1373px rgba(255,214,150,.35), 2189px 614px rgba(255,214,150,.35), 2028px 17px rgba(229,202,159,.45), 2312px 370px rgba(255,255,255,.35), 1457px 1089px rgba(255,255,255,.35), 2014px 84px rgba(255,236,200,.55); }
/* the live backdrop (nova-bg.js): flowing ribbons, gleams and sparkles on one canvas;
   the CSS ribbons and dust above stay as the still picture when it can't run */
.nova-bg__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nova-bg--live .nova-bg__waves, .nova-bg--live .nova-bg__dust, .nova-bg--live .nova-bg__dust--fine { display: none; }
.nova-bg__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 100%);
}
.nova-bg__grain {
  position: absolute; inset: -50%; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes nv-drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(12vmax, 8vmax, 0) scale(1.12); } }
@keyframes nv-drift-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-14vmax, -10vmax, 0) scale(.95); } }
@keyframes nv-drift-c { from { transform: translate3d(-8vmax, 4vmax, 0) scale(.9); } to { transform: translate3d(10vmax, -6vmax, 0) scale(1.15); } }
@keyframes nv-wave-one { from { transform: translate3d(-4%, 1.5%, 0) scaleY(1); } to { transform: translate3d(4%, -2%, 0) scaleY(1.08); } }
@keyframes nv-wave-two { from { transform: translate3d(5%, -1%, 0) scaleY(1.06); } to { transform: translate3d(-5%, 2.5%, 0) scaleY(.96); } }
@keyframes nv-rise { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -1600px, 0); } }

/* -------------------------------------------------------------- header ---- */
html.nova-theme header.nova-header {
  background: linear-gradient(180deg, rgba(10, 8, 6, .78), rgba(10, 8, 6, .56));
  -webkit-backdrop-filter: saturate(170%) blur(22px);
  backdrop-filter: saturate(170%) blur(22px);
  border-bottom: 1px solid var(--nv-hair);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 12px 40px -24px rgba(0, 0, 0, .9);
}
html.nova-theme .nova-nav a, html.nova-theme .nova-nav button {
  padding: .45rem .8rem; border-radius: 999px; letter-spacing: .06em;
  transition: background .2s var(--nv-ease), color .2s var(--nv-ease);
}
html.nova-theme .nova-nav a:hover, html.nova-theme .nova-nav button:hover { background: rgba(255, 240, 214, .08); color: var(--nv-gold-hi); }
html.nova-theme header .nova-brand img { filter: drop-shadow(0 4px 14px rgba(229, 180, 100, .35)); }

/* ---------------------------------------------------------- typography ---- */
html.nova-theme h1 { letter-spacing: .012em; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
html.nova-theme h2, html.nova-theme h3 { letter-spacing: -.005em; }
html.nova-theme .text-usp-muted { color: rgba(236, 226, 208, .62); }
html.nova-theme .text-usp-dim { color: rgba(236, 226, 208, .42); }
html.nova-theme .text-white\/80 { color: rgba(247, 241, 230, .82); }
html.nova-theme a { transition: color .15s var(--nv-ease); }
.nv-gold-text {
  background: linear-gradient(100deg, #F9E7C5 0%, #E5CA9F 35%, #DDA85A 70%, #F4D9A8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----------------------------------------------------- cards & surfaces ---- */
/* (0,0,1): above Tailwind's preflight reset (border-width: 0 on every element), below
   any utility a page put on the card (border-l-4, rounded-lg…) */
:where(html.nova-theme) :is(div, section, details, article, form, aside, a, li, table, header, nav):where(.usp-card) {
  border: 1px solid var(--nv-hair);
  border-radius: var(--nv-radius);
}
html.nova-theme .usp-card {
  background: linear-gradient(180deg, rgba(38, 33, 26, .70) 0%, rgba(20, 18, 15, .74) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 244, 222, .06), 0 1px 2px rgba(0, 0, 0, .35), 0 28px 60px -32px rgba(0, 0, 0, .85);
}
html.nova-theme .bg-usp-card { background-color: rgba(26, 23, 18, .74); }
html.nova-theme .bg-usp-card-2 { background-color: rgba(44, 39, 31, .66); }
html.nova-theme .bg-usp-black { background-color: rgba(9, 8, 6, .72); }
html.nova-theme .border-usp-line { border-color: var(--nv-hair); }
html.nova-theme .divide-usp-line > :not([hidden]) ~ :not([hidden]) { border-color: var(--nv-hair); }
html.nova-theme .border-neutral-700 { border-color: var(--nv-hair-2); }
html.nova-theme .bg-white\/5 { background-color: rgba(255, 240, 214, .05); }
html.nova-theme dialog {
  background: linear-gradient(180deg, rgba(36, 31, 24, .92), rgba(16, 14, 11, .95));
  color: var(--nv-ink); border: 1px solid var(--nv-hair-2); border-radius: 20px;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
html.nova-theme dialog::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* --------------------------------------------------------------- buttons ---- */
/* Apple-style: a rounded, softly lit key. Gold primary with a warm glow, glass
   secondary, amber danger. Sentence case, Inter, a slight press. */
/* (0,0,1): above the preflight's button reset (padding 0, font-size 100%), below a
   size the page asked for with a utility (text-xs, px-6, py-3) */
:where(html.nova-theme) :is(a, button, input, label, span, div, summary):where(.usp-btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .56rem 1.05rem; border-radius: 11px;
  font-family: var(--nv-font); font-weight: 600; font-size: .875rem; line-height: 1.2;
  letter-spacing: -.005em; text-transform: none; white-space: nowrap;
}
html.nova-theme .usp-btn {
  position: relative; cursor: pointer; border: 1px solid transparent;
  transition: transform .14s var(--nv-ease), box-shadow .25s var(--nv-ease), background-color .2s var(--nv-ease), filter .2s var(--nv-ease), border-color .2s var(--nv-ease);
  -webkit-user-select: none; user-select: none;
}
html.nova-theme .usp-btn:active:not(:disabled) { transform: scale(.975); }
html.nova-theme .usp-btn:disabled, html.nova-theme .usp-btn[aria-disabled=true] { opacity: .42; cursor: not-allowed; filter: saturate(.6); }
html.nova-theme .usp-btn-primary {
  color: #1d1408;
  background: linear-gradient(180deg, #F9E6C3 0%, #EBD1A6 42%, #D9B67C 100%);
  border-color: rgba(255, 236, 200, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(122, 78, 22, .28),
              0 1px 2px rgba(0, 0, 0, .45), 0 10px 26px -12px rgba(229, 190, 120, .65);
}
html.nova-theme .usp-btn-primary:hover:not(:disabled) {
  filter: brightness(1.05) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(122, 78, 22, .28),
              0 1px 2px rgba(0, 0, 0, .45), 0 14px 34px -10px rgba(236, 196, 125, .8);
}
html.nova-theme .usp-btn-secondary {
  color: var(--nv-ink);
  background: linear-gradient(180deg, rgba(255, 244, 222, .10), rgba(255, 244, 222, .05));
  border-color: rgba(255, 240, 214, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .35);
}
html.nova-theme .usp-btn-secondary:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(255, 244, 222, .16), rgba(255, 244, 222, .08));
  border-color: rgba(229, 202, 159, .45); color: #fff;
}
html.nova-theme .usp-btn-danger {
  color: #fff;
  background: linear-gradient(180deg, #F2A24C 0%, #DD8519 55%, #BF6A0B 100%);
  border-color: rgba(255, 200, 140, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(0, 0, 0, .45), 0 10px 26px -12px rgba(221, 133, 25, .7);
}
html.nova-theme .usp-btn-danger:hover:not(:disabled) { filter: brightness(1.06); }

/* ---------------------------------------------------------------- fields ---- */
:where(html.nova-theme) :is(input, select, textarea, div):where(.usp-input) {
  width: 100%; padding: .6rem .8rem; border-radius: 11px;
  border: 1px solid rgba(255, 240, 214, .13);
}
html.nova-theme .usp-input {
  background-color: rgba(8, 7, 5, .55); color: var(--nv-ink);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4), 0 1px 0 rgba(255, 244, 222, .03);
  transition: border-color .18s var(--nv-ease), box-shadow .18s var(--nv-ease), background-color .18s var(--nv-ease);
}
html.nova-theme .usp-input:hover { border-color: rgba(255, 240, 214, .22); }
html.nova-theme .usp-input:focus {
  outline: none; background-color: rgba(12, 10, 7, .7); border-color: rgba(229, 202, 159, .8);
  box-shadow: 0 0 0 4px rgba(229, 202, 159, .16), inset 0 1px 2px rgba(0, 0, 0, .4);
}
html.nova-theme .usp-input::placeholder { color: rgba(236, 226, 208, .36); }
html.nova-theme select.usp-input {
  -webkit-appearance: none; appearance: none; padding-right: 2.1rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23E5CA9F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center;
}
html.nova-theme select option { background: #17130e; color: var(--nv-ink); }

/* ---------------------------------------------------------------- tables ---- */
html.nova-theme .usp-card table thead { background: linear-gradient(180deg, rgba(255, 244, 222, .045), rgba(255, 244, 222, .015)); }
html.nova-theme .usp-card table thead th { font-weight: 600; letter-spacing: .08em; color: rgba(236, 226, 208, .55); }
html.nova-theme .usp-card table tbody tr { transition: background-color .15s var(--nv-ease); }
html.nova-theme .usp-card table tbody tr:hover { background-color: rgba(255, 240, 214, .04); }

/* the owner's analytics strip on the hub (analytics/_hub_strip.html) — glass, like the rest */
html.nova-theme .hs {
  background: linear-gradient(180deg, rgba(38, 33, 26, .70), rgba(20, 18, 15, .76)); border-color: var(--nv-hair);
  border-radius: 20px; box-shadow: inset 0 1px 0 rgba(255, 244, 222, .06), 0 28px 60px -32px rgba(0, 0, 0, .85);
}
html.nova-theme .hs-kpi { background: rgba(255, 240, 214, .05); border: 1px solid var(--nv-hair); border-radius: 14px; }
html.nova-theme .hs-kpi:hover { background: rgba(255, 240, 214, .09); }

/* ----------------------------------------------------------------- chips ---- */
html.nova-theme .chip { border-radius: 999px; padding: .15rem .55rem; letter-spacing: .01em; }

/* -------------------------------------------------------- details / tabs ---- */
html.nova-theme details > summary::-webkit-details-marker { display: none; }

/* ======================================================================
   NOVA — the assistant's button. A pill of dark glass with a ring of gold
   light running around it and a living orb; it breathes a soft glow.
   ====================================================================== */
.nova-fab {
  position: fixed; right: 22px; bottom: var(--nova-bottom); z-index: 60;
  display: inline-flex; border: 0; padding: 0; background: none; cursor: pointer;
  border-radius: 999px; isolation: isolate; -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--nv-spring), opacity .3s var(--nv-ease);
}
.nova-fab:hover { transform: translateY(-2px) scale(1.03); }
.nova-fab:active { transform: scale(.98); }
.nova-fab.is-hidden { opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; }
.nova-fab::before {                         /* the breathing glow */
  content: ''; position: absolute; inset: -11px -13px; z-index: -2; border-radius: 999px;
  background: radial-gradient(closest-side, rgba(243, 196, 118, .55), rgba(221, 133, 25, .22) 55%, transparent 80%);
  animation: nv-breathe 3.8s ease-in-out infinite; will-change: opacity, transform;
}
.nova-rim {
  position: relative; display: inline-flex; padding: 1.5px; border-radius: 999px; overflow: hidden;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .9);
}
.nova-rim::before {                         /* the ring of light running around */
  content: ''; position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; z-index: 0;
  translate: -50% -50%;
  background: conic-gradient(from 0deg,
    rgba(229, 202, 159, .15) 0deg, #E5CA9F 40deg, #FFF3D9 62deg, #F0A84E 88deg, rgba(221, 133, 25, .1) 130deg,
    rgba(229, 202, 159, .12) 200deg, #B97C3D 250deg, #F7E1B6 290deg, rgba(229, 202, 159, .15) 360deg);
  animation: nv-spin 4.6s linear infinite; will-change: transform;
}
/* ANALYTICS-4 (Matt, 2026-09-29: "Ask Nova, even on desktop, has kind of taken over stuff … I want
   that to be there 100% … the bottom right is good … maybe we need to make it a bit smaller"): a
   compact pill on a computer, the orb alone on a phone. */
.nova-face {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem .6rem .7rem; border-radius: 999px;
  background: radial-gradient(140% 160% at 18% -20%, rgba(96, 72, 38, .96) 0%, rgba(28, 22, 15, .98) 45%, rgba(11, 9, 7, .98) 100%);
  color: #FFF4DF; font: 600 13.5px/1 var(--nv-font); letter-spacing: .005em; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .18);
}
.nova-face .nova-orb { width: 19px; height: 19px; }
.nova-face kbd {
  font: 600 10px/1 var(--nv-font); color: rgba(255, 236, 200, .5); padding: .18rem .34rem;
  border-radius: 5px; border: 1px solid rgba(255, 236, 200, .14); background: rgba(255, 236, 200, .05);
}
.nova-orb {
  position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFFBF0 0 10%, #F9E3B4 22%, #EDB566 46%, #A9621A 74%, #4A1C08 100%);
  box-shadow: 0 0 10px rgba(250, 206, 130, .95), 0 0 26px rgba(233, 160, 70, .55), inset 0 -2px 5px rgba(60, 22, 10, .55);
  animation: nv-orb 3.4s ease-in-out infinite; will-change: transform;
}
.nova-orb::after {                          /* a slow highlight swirling on the orb */
  content: ''; position: absolute; inset: 2px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(255, 255, 255, .55) 70%, transparent 85%);
  mix-blend-mode: screen; animation: nv-spin 2.6s linear infinite;
}
.nova-orb--lg { width: 34px; height: 34px; }
.nova-orb--xl { width: 56px; height: 56px; }
@keyframes nv-spin { to { transform: rotate(1turn); } }
@keyframes nv-breathe { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes nv-orb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }

/* ----------------------------------------------------------- the panel ---- */
.nova-scrim {
  position: fixed; inset: 0; z-index: 68; background: rgba(0, 0, 0, .35);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--nv-ease);
}
.nova-scrim.is-open { opacity: 1; pointer-events: auto; }
.nova-panel {
  position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 70;
  width: min(480px, calc(100vw - 24px)); display: flex; flex-direction: column;
  color: var(--nv-ink); font-family: var(--nv-font);
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(34, 29, 22, .86) 0%, rgba(15, 13, 10, .92) 60%, rgba(10, 9, 7, .95) 100%);
  -webkit-backdrop-filter: blur(34px) saturate(170%); backdrop-filter: blur(34px) saturate(170%);
  border: 1px solid rgba(255, 236, 200, .13);
  box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .45), 0 0 90px -30px rgba(233, 176, 96, .35);
  transform: translateX(calc(100% + 30px)); visibility: hidden;
  transition: transform .5s var(--nv-ease), visibility 0s linear .5s;
}
.nova-panel.is-open { transform: none; visibility: visible; transition: transform .5s var(--nv-ease), visibility 0s; }
.nova-panel::before {                       /* gold light pooling at the top of the sheet */
  content: ''; position: absolute; left: -20%; right: -20%; top: -140px; height: 280px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(233, 180, 100, .28), transparent 75%);
}
.nova-head { position: relative; display: flex; align-items: center; gap: .8rem; padding: 1.05rem 1.1rem .8rem; }
.nova-title { font: 700 17px/1.1 'Montserrat', var(--nv-font); letter-spacing: .02em; }
.nova-sub { font-size: 12px; color: var(--nv-ink-3); margin-top: 3px; }
.nova-x {
  margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  color: var(--nv-ink-2); background: rgba(255, 240, 214, .06); border: 1px solid var(--nv-hair);
  transition: background .2s, color .2s; cursor: pointer;
}
.nova-x:hover { background: rgba(255, 240, 214, .13); color: #fff; }
.nova-seg {
  position: relative; display: flex; margin: 0 1.1rem .7rem; padding: 3px; border-radius: 12px;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--nv-hair);
}
.nova-seg[hidden] { display: none; }
.nova-seg button {
  flex: 1; padding: .45rem .6rem; border-radius: 9px; font: 600 12.5px/1 var(--nv-font); color: var(--nv-ink-3);
  transition: color .2s, background .25s var(--nv-ease), box-shadow .25s; cursor: pointer; background: none; border: 0;
}
.nova-seg button.is-on {
  color: #1d1408; background: linear-gradient(180deg, #F7E3BD, #DDBB82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 14px -6px rgba(229, 190, 120, .7);
}
.nova-log { position: relative; flex: 1; overflow-y: auto; padding: .4rem 1.1rem 1rem; scroll-behavior: smooth; }
.nova-msg { margin: .85rem 0; font-size: 14px; line-height: 1.55; animation: nv-in .38s var(--nv-ease) both; }
.nova-msg--me { display: flex; justify-content: flex-end; }
.nova-msg--me .nova-bubble {
  max-width: 86%; padding: .6rem .9rem; border-radius: 18px 18px 6px 18px; white-space: pre-wrap;
  color: #20170a; background: linear-gradient(180deg, #F6E2BC, #E3C38E);
  box-shadow: 0 8px 24px -14px rgba(229, 190, 120, .9), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.nova-msg--ai { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; align-items: start; }
.nova-msg--ai .nova-orb { width: 20px; height: 20px; margin-top: 2px; }
.nova-msg--ai .nova-text { white-space: pre-wrap; color: var(--nv-ink); }
.nova-text a { color: var(--nv-gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(229, 202, 159, .4); }
.nova-text strong { color: #fff; font-weight: 650; }
.nova-steps { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.nova-step {
  font-size: 11px; color: var(--nv-ink-3); padding: .18rem .5rem; border-radius: 999px;
  border: 1px solid var(--nv-hair); background: rgba(255, 240, 214, .04);
}
.nova-thinking { display: inline-flex; align-items: center; gap: .55rem; color: var(--nv-ink-2); }
.nova-thinking span {
  background: linear-gradient(90deg, rgba(247, 241, 230, .45), #F7E1B6, rgba(247, 241, 230, .45));
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: nv-shimmer 1.6s linear infinite;
}
.nova-items { display: grid; gap: .5rem; margin-top: .6rem; }
.nova-item {
  display: grid; grid-template-columns: 52px 1fr auto; gap: .7rem; align-items: center;
  padding: .5rem .55rem; border-radius: 14px; text-decoration: none; color: inherit;
  background: rgba(255, 240, 214, .045); border: 1px solid var(--nv-hair);
  transition: background .2s, border-color .2s, transform .2s var(--nv-ease);
}
.nova-text a.nova-item { text-decoration: none; color: inherit; }
.nova-item:hover { background: rgba(255, 240, 214, .08); border-color: rgba(229, 202, 159, .35); transform: translateY(-1px); }
.nova-item img, .nova-item .nova-noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #0c0a08; border: 1px solid var(--nv-hair); max-width: none; }
.nova-item .t { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nova-item .m { font-size: 11.5px; color: var(--nv-ink-3); margin-top: 2px; }
.nova-item .p { font: 400 17px/1 'Anton', var(--nv-font); color: var(--nv-gold); letter-spacing: .02em; }
.nova-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.nova-link {
  display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; font-weight: 600; text-decoration: none;
  padding: .38rem .7rem; border-radius: 999px; color: var(--nv-gold-hi);
  background: rgba(229, 202, 159, .08); border: 1px solid rgba(229, 202, 159, .28);
}
.nova-link:hover { background: rgba(229, 202, 159, .16); color: #fff; }
.nova-plan {
  margin-top: .7rem; padding: .8rem .85rem; border-radius: 16px;
  background: linear-gradient(180deg, rgba(229, 202, 159, .11), rgba(229, 202, 159, .04));
  border: 1px solid rgba(229, 202, 159, .38);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .08), 0 14px 34px -22px rgba(229, 190, 120, .8);
}
.nova-plan h4 { font: 700 11px/1 'Montserrat', var(--nv-font); letter-spacing: .14em; text-transform: uppercase; color: var(--nv-gold); margin-bottom: .5rem; }
.nova-plan ul { margin: 0; padding-left: 1.05rem; }
.nova-plan li { margin: .2rem 0; list-style: disc; font-size: 13.5px; }
.nova-plan .nova-plan__warn { margin-top: .45rem; font-size: 12px; color: #F5B971; }
.nova-plan .row { display: flex; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.nova-plan .done { margin-top: .55rem; font-size: 12.5px; color: #9EE7C1; }
.nova-plan .fail { margin-top: .55rem; font-size: 12.5px; color: #F7A38A; }
/* NOVA-ALERT-1: something that didn't go through while the person moved on */
.nova-alert { border-color: rgba(247, 163, 138, .55); background: linear-gradient(180deg, rgba(247, 163, 138, .12), rgba(247, 163, 138, .04)); }
.nova-alert h4 { color: #F7A38A; text-transform: none; letter-spacing: .02em; font-size: 13px; line-height: 1.35; }
.nova-alert li { overflow-wrap: anywhere; }
.nova-foot { position: relative; padding: .75rem .9rem .95rem; border-top: 1px solid var(--nv-hair); background: linear-gradient(180deg, rgba(10, 9, 7, 0), rgba(10, 9, 7, .55)); }
.nova-chips { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .6rem; scrollbar-width: none; }
.nova-chips::-webkit-scrollbar { display: none; }
.nova-chip {
  flex: none; font-size: 12.5px; padding: .42rem .75rem; border-radius: 999px; cursor: pointer; white-space: nowrap;
  color: var(--nv-ink-2); background: rgba(255, 240, 214, .05); border: 1px solid var(--nv-hair-2);
  transition: background .2s, color .2s, border-color .2s;
}
.nova-chip:hover { background: rgba(229, 202, 159, .12); border-color: rgba(229, 202, 159, .45); color: #fff; }
.nova-ask {
  display: flex; align-items: flex-end; gap: .5rem; padding: .35rem .35rem .35rem .95rem; border-radius: 18px;
  background: rgba(0, 0, 0, .42); border: 1px solid rgba(255, 240, 214, .14);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5);
  transition: border-color .2s, box-shadow .2s;
}
.nova-ask:focus-within { border-color: rgba(229, 202, 159, .7); box-shadow: 0 0 0 4px rgba(229, 202, 159, .13), inset 0 1px 2px rgba(0, 0, 0, .5); }
.nova-ask textarea {
  flex: 1; resize: none; border: 0; outline: none; background: transparent; color: var(--nv-ink);
  font: 400 14.5px/1.45 var(--nv-font); padding: .5rem 0; max-height: 140px; min-height: 24px;
}
.nova-ask textarea::placeholder { color: rgba(236, 226, 208, .38); }
.nova-send {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  color: #1d1408; background: linear-gradient(180deg, #F9E6C3, #D9B67C);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 18px -8px rgba(229, 190, 120, .9);
  transition: transform .15s var(--nv-ease), filter .2s;
}
.nova-send:hover { filter: brightness(1.06); }
.nova-send:active { transform: scale(.94); }
.nova-send:disabled { opacity: .45; cursor: default; }
.nova-note { font-size: 11px; color: var(--nv-ink-4); text-align: center; margin-top: .55rem; }
@keyframes nv-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes nv-shimmer { to { background-position: -200% 0; } }

/* =================================================================
   The hub's front door: a big glowing Ask Nova bar (Spotlight-like).
   ================================================================= */
.nova-hero { position: relative; margin: 1.2rem 0 1.8rem; }
.nova-hero__glow {
  position: absolute; inset: -30px -10px; z-index: -1; border-radius: 40px; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 50%, rgba(236, 180, 100, .35), transparent 70%);
  filter: blur(8px); animation: nv-breathe 5s ease-in-out infinite;
}
.nova-hero .nova-rim { display: flex; border-radius: 22px; padding: 1.5px; }
.nova-hero .nova-rim::before { width: 160%; animation-duration: 7s; }
.nova-hero__face {
  position: relative; z-index: 1; flex: 1; display: flex; align-items: center; gap: .9rem;
  padding: .7rem .7rem .7rem 1.1rem; border-radius: 21px;
  background: radial-gradient(120% 200% at 10% -40%, rgba(88, 66, 36, .92) 0%, rgba(24, 20, 15, .97) 40%, rgba(11, 9, 7, .98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .14);
}
.nova-hero__face input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--nv-ink);
  font: 450 17px/1.3 var(--nv-font); padding: .55rem 0;
}
.nova-hero__face input::placeholder { color: rgba(236, 226, 208, .42); }
.nova-hero__face .usp-btn { padding: .72rem 1.25rem; border-radius: 14px; font-size: 15px; }
.nova-hero__hint { margin-top: .6rem; display: flex; gap: .45rem; flex-wrap: wrap; }

/* -------------------------------------------------- the hub's tool tiles ---- */
.nv-greet { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.nv-date { font-size: 13px; color: var(--nv-ink-3); letter-spacing: .02em; }
.nv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 0 0 1.8rem; }
.nv-stat {
  display: block; text-decoration: none; color: inherit; padding: .9rem 1rem; border-radius: 16px;
  background: linear-gradient(180deg, rgba(40, 35, 27, .62), rgba(20, 17, 14, .7));
  border: 1px solid var(--nv-hair); box-shadow: inset 0 1px 0 rgba(255, 244, 222, .05);
  transition: transform .25s var(--nv-ease), border-color .25s, box-shadow .25s;
}
.nv-stat:hover { transform: translateY(-2px); border-color: rgba(229, 202, 159, .38); box-shadow: inset 0 1px 0 rgba(255, 244, 222, .07), 0 18px 40px -24px rgba(229, 180, 100, .6); }
.nv-stat .n { font: 400 30px/1 'Anton', var(--nv-font); letter-spacing: .02em; }
.nv-stat .l { margin-top: .35rem; font-size: 12px; color: var(--nv-ink-3); }
.nv-section { margin-bottom: 1.6rem; }
.nv-section > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem;
  -webkit-user-select: none; user-select: none;
}
.nv-section > summary .lbl { font: 700 12px/1 'Montserrat', var(--nv-font); letter-spacing: .18em; text-transform: uppercase; color: var(--nv-gold); }
.nv-section > summary .cnt { font-size: 12px; color: var(--nv-ink-4); }
.nv-section > summary .chev { margin-left: auto; color: var(--nv-ink-4); transition: transform .3s var(--nv-ease); }
.nv-section[open] > summary .chev { transform: rotate(90deg); }
.nv-section > summary .rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(229, 202, 159, .3), transparent); }
.nv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .85rem; }
.nv-tile {
  position: relative; display: flex; flex-direction: column; gap: .55rem; min-height: 132px;
  padding: 1rem 1rem .95rem; border-radius: 20px; text-decoration: none; color: inherit; overflow: hidden;
  background: linear-gradient(160deg, rgba(48, 41, 31, .66) 0%, rgba(22, 19, 15, .76) 55%, rgba(14, 12, 10, .8) 100%);
  border: 1px solid var(--nv-hair);
  box-shadow: inset 0 1px 0 rgba(255, 244, 222, .06), 0 24px 50px -34px rgba(0, 0, 0, .9);
  transition: transform .35s var(--nv-spring), border-color .3s var(--nv-ease), box-shadow .35s var(--nv-ease);
}
.nv-tile::after {                           /* light sweeping across on hover */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 90% at 0% 0%, rgba(233, 190, 120, .20), transparent 55%);
  transition: opacity .35s var(--nv-ease);
}
.nv-tile:hover { transform: translateY(-3px); border-color: rgba(229, 202, 159, .42); box-shadow: inset 0 1px 0 rgba(255, 244, 222, .09), 0 26px 60px -30px rgba(233, 176, 96, .55); }
.nv-tile:hover::after { opacity: 1; }
.nv-tile.is-soon { opacity: .5; cursor: not-allowed; }
.nv-tile.is-soon:hover { transform: none; border-color: var(--nv-hair); box-shadow: inset 0 1px 0 rgba(255, 244, 222, .06); }
.nv-tile .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #22180a;
  background: linear-gradient(180deg, #F7E2BA 0%, #DDB678 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 20px -10px rgba(229, 180, 100, .9);
}
.nv-tile.is-soon .ic { background: rgba(255, 240, 214, .08); color: var(--nv-ink-3); box-shadow: none; }
.nv-tile .ic svg { width: 22px; height: 22px; }
.nv-tile .tt { font: 650 15.5px/1.2 var(--nv-font); letter-spacing: -.01em; }
.nv-tile .bl { font-size: 12.5px; line-height: 1.45; color: var(--nv-ink-3); }
.nv-tile .bd { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.nv-badge {
  display: inline-flex; align-items: center; gap: .3rem; font-size: 11.5px; font-weight: 600; padding: .22rem .55rem;
  border-radius: 999px; background: rgba(255, 240, 214, .07); color: var(--nv-ink-2); border: 1px solid var(--nv-hair);
}
.nv-badge--gold { background: rgba(229, 202, 159, .14); color: var(--nv-gold-hi); border-color: rgba(229, 202, 159, .35); }
.nv-badge--amber { background: rgba(221, 133, 25, .16); color: #F6B566; border-color: rgba(221, 133, 25, .4); }
.nv-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* ============================================================
   All Inventory: live search, Nova's picks, "last analyzed".
   ============================================================ */
.nv-search { position: relative; }
.nv-search .nova-rim { display: flex; border-radius: 16px; padding: 1.5px; }
.nv-search .nova-rim::before { width: 180%; animation-duration: 8s; opacity: .85; }
.nv-search__face {
  position: relative; z-index: 1; flex: 1; display: flex; align-items: center; gap: .7rem;
  padding: .4rem .45rem .4rem .9rem; border-radius: 15px;
  background: linear-gradient(180deg, rgba(30, 25, 19, .96), rgba(12, 10, 8, .97));
}
.nv-search__face svg.mag { flex: none; width: 18px; height: 18px; color: var(--nv-gold); opacity: .85; }
.nv-search__face input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--nv-ink);
  font: 450 16px/1.3 var(--nv-font); padding: .6rem 0;
}
.nv-search__face input::placeholder { color: rgba(236, 226, 208, .4); }
.nv-search__status { font-size: 12.5px; color: var(--nv-ink-3); margin: .6rem .2rem 0; min-height: 1.2em; }
.nv-search__status b { color: var(--nv-ink); font-weight: 600; }
.nv-filters { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.nv-filter { font-size: 11.5px; padding: .2rem .55rem; border-radius: 999px; color: var(--nv-gold-hi); background: rgba(229, 202, 159, .1); border: 1px solid rgba(229, 202, 159, .3); }
.nv-picks {
  margin: 0 0 1rem; padding: 1rem 1.05rem; border-radius: 20px; display: none;
  background: linear-gradient(180deg, rgba(229, 202, 159, .10), rgba(229, 202, 159, .03));
  border: 1px solid rgba(229, 202, 159, .32);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .08), 0 24px 60px -36px rgba(233, 176, 96, .8);
}
.nv-picks.is-on { display: block; animation: nv-in .4s var(--nv-ease) both; }
.nv-picks__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.nv-picks__head .t { font: 700 12px/1 'Montserrat', var(--nv-font); letter-spacing: .16em; text-transform: uppercase; color: var(--nv-gold); }
.nv-picks__head .s { font-size: 12.5px; color: var(--nv-ink-3); }
.nv-picks__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .6rem; }
.nv-pick {
  display: grid; grid-template-columns: 64px 1fr; gap: .7rem; align-items: center; padding: .55rem; border-radius: 14px;
  text-decoration: none; color: inherit; background: rgba(0, 0, 0, .28); border: 1px solid var(--nv-hair);
  transition: border-color .2s, background .2s, transform .2s var(--nv-ease);
}
.nv-pick:hover { border-color: rgba(229, 202, 159, .45); background: rgba(0, 0, 0, .4); transform: translateY(-1px); }
.nv-pick img, .nv-pick .noimg { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #0b0a08; max-width: none; }
.nv-pick .t { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-pick .w { font-size: 12px; color: var(--nv-gold-hi); margin-top: 3px; line-height: 1.35; }
.nv-pick .p { font-size: 12px; color: var(--nv-ink-3); margin-top: 3px; }
mark.nv-hl { background: rgba(229, 202, 159, .22); color: inherit; border-radius: 3px; padding: 0 .08em; }
.nv-close { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nv-ink-4); padding: .9rem 1rem .4rem; }
.nv-fresh {
  display: inline-flex; align-items: center; gap: .38rem; white-space: nowrap; font-size: 12px; font-weight: 600;
  padding: .26rem .6rem; border-radius: 999px; border: 1px solid transparent;
}
.nv-fresh .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.nv-fresh--new { color: #8EF0C3; background: rgba(52, 211, 153, .10); border-color: rgba(52, 211, 153, .32); }
.nv-fresh--ok { color: #E9D5A8; background: rgba(229, 202, 159, .10); border-color: rgba(229, 202, 159, .3); }
.nv-fresh--old { color: #F5B066; background: rgba(221, 133, 25, .12); border-color: rgba(221, 133, 25, .38); }
.nv-fresh--never { color: rgba(236, 226, 208, .5); background: rgba(255, 240, 214, .04); border-color: var(--nv-hair); }
.nv-fresh--never .dot { box-shadow: none; }
.nv-fresh-sub { font-size: 11px; color: var(--nv-ink-4); margin-top: 4px; white-space: nowrap; }
/* MERCH-CLOCK-1: the Merchandiser's two-week clock on a row */
.nv-due { font-size: 11px; margin-top: 4px; white-space: nowrap; font-weight: 600; }
.nv-due--now { color: #F5B066; }
.nv-due--plate { color: #8EF0C3; }
.nv-due--later { color: var(--nv-ink-4); font-weight: 500; }
.nv-analyzed {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .6rem .75rem; border-radius: 14px;
  background: rgba(0, 0, 0, .25); border: 1px solid var(--nv-hair); font-size: 12.5px; color: var(--nv-ink-2);
}
.nv-analyzed b { color: var(--nv-ink); font-weight: 600; }

/* ------------------------------------------------ rows that fit a phone ---- */
/* A text box in a row may shrink instead of pushing the page sideways (the Tester's scan box
   made the whole page scroll sideways at 390px). Zero specificity, so any width class wins. */
:where(html.nova-theme) :where(.flex, .inline-flex) > :where(input, select, textarea) { min-width: 0; }
.nova-hero__face, .nv-search__face { min-width: 0; }
/* The end of every page scrolls clear of the Ask Nova button. */
html.nova-theme body:has(.nova-fab) { padding-bottom: calc(var(--nova-bottom) + 64px); }
/* ANALYTICS-4 (Matt: "when I go to drag the screen down … the whole header moves with it. I'd
   rather that not happen"): the page doesn't bounce past its ends, so the header stays put */
html.nova-theme, html.nova-theme body { overscroll-behavior-y: none; }
/* … and where the page's content runs under the floating buttons (below 1360px wide), they slide
   away while the page scrolls down and come back when it scrolls up, or at its top and end */
@media (max-width: 1359px) {
  html.nv-away .nova-fab:not(.is-hidden) { transform: translateY(calc(100% + var(--nova-bottom) + 24px)); opacity: 0; pointer-events: none; }
}

/* ---------------------------------------------------- phones and motion ---- */
@media (max-width: 640px) {
  .nova-face { padding: 13px; gap: 0; }                         /* the orb alone: a 50px round key */
  .nova-face .nova-orb { width: 22px; height: 22px; }
  .nova-face > span:not(.nova-orb), .nova-face kbd { display: none; }
  .nova-fab { right: 14px; }
  .nova-panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; height: min(86vh, 760px); border-radius: 22px; transform: translateY(calc(100% + 30px)); }
  .nova-hero__face input { font-size: 16px; }
  .nv-tiles { grid-template-columns: 1fr 1fr; }
  .nv-tile { min-height: 118px; padding: .85rem; }
  .nv-tile .bl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nova-bg *, .nova-fab::before, .nova-rim::before, .nova-orb, .nova-orb::after, .nova-hero__glow, .nova-thinking span { animation: none !important; }
  .nova-panel, .nova-fab, .nv-tile, .nv-stat { transition: none !important; }
}
html.nova-calm .nova-bg * { animation-play-state: paused !important; }
@media print { .nova-bg, .nova-fab, .nova-panel, .nova-scrim { display: none !important; } }

/* REPORT-1 (2026-10-17): Nova's "Report an issue" — the person's words, straight to the owner */
.nova-report-link { background: none; border: 0; padding: 0; margin-left: .25rem; color: var(--nv-gold); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.nova-report-link:hover { color: var(--nv-gold-hi); }
.nova-report__hint { font-size: 12.5px; color: var(--nv-ink-3); margin-bottom: .45rem; line-height: 1.45; }
.nova-report__box { width: 100%; min-height: 84px; resize: vertical; background: rgba(0, 0, 0, .35); border: 1px solid var(--nv-hair-2); border-radius: var(--nv-radius-sm); color: var(--nv-ink); padding: .55rem .65rem; font: 14px/1.45 var(--nv-font); }
.nova-report__box:focus { outline: none; border-color: var(--nv-gold); }
