/* Novus CPQ – advisor-first redesign layer (served at /embed/novus-redesign.css, injected at serve time).
   Brand: teal #3aa695 (fills/borders), dark teal #2c8a7c (text on colour), green #96c346 (accent), text #333. */
:root {
  --nv-teal: #3aa695;
  --nv-teal-dark: #2c8a7c;
  --nv-teal-darker: #24736a;
  --nv-teal-soft: #e6f4f1;
  --nv-green: #96c346;
  --nv-green-dark: #6f9a2a;
  --nv-green-soft: #f4f9ea;
  --nv-text: #333;
  --nv-muted: #6b7a76;
  --nv-border: #dfe8e5;
}

/* ---- Announcement bar --------------------------------------------------- */
.nv-announce { background: var(--nv-teal-dark); color: #fff; font: 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.nv-announce-inner { max-width: 1100px; margin: 0 auto; padding: 8px 44px 8px 16px; display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; white-space: nowrap; overflow: hidden; }
.nv-announce-text { overflow: hidden; text-overflow: ellipsis; }
.nv-announce-cta { color: #fff; font-weight: 700; text-decoration: none; background: var(--nv-green); color: #1d2b12; padding: 3px 12px; border-radius: 999px; flex: none; }
.nv-announce-cta:hover { background: #a9d45c; color: #1d2b12; }
.nv-announce-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 18px; line-height: 28px; cursor: pointer; padding: 0; }
.nv-announce-close:hover { background: rgba(255,255,255,.3); }

/* ---- Shared bits ----------------------------------------------------------- */
.nv-kicker { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--nv-green-dark); margin-bottom: 6px; }
.nv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.nv-chip, .nv-tab { border: 1.5px solid var(--nv-teal); background: #fff; color: var(--nv-teal-darker); border-radius: 999px; padding: 8px 14px; font: 600 14px/1.2 inherit; cursor: pointer; transition: background .12s, color .12s; }
.nv-chip:hover, .nv-tab:hover { background: var(--nv-teal-dark); border-color: var(--nv-teal-dark); color: #fff; }
.nv-chip:focus-visible, .nv-tab:focus-visible { outline: 3px solid var(--nv-green); outline-offset: 2px; }

.nv-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 4px; padding-top: 14px; border-top: 1px solid var(--nv-border); }
.nv-stats div { display: flex; align-items: baseline; gap: 8px; }
.nv-stats b { font-size: 24px; line-height: 1; color: var(--nv-teal-dark); font-weight: 700; }
.nv-stats span { font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--nv-muted); }

.nv-advisor-link a { font-weight: 700; color: var(--nv-teal-dark) !important; }
.nv-advisor-link a:hover { color: var(--nv-teal-darker) !important; text-decoration: underline; }

/* Inline widget container (the embed script adds .novus-advisor-inline + the iframe) */
[data-novus-advisor] { display: block; width: 100%; }
[data-novus-advisor] iframe { display: block; width: 100%; }

/* ---- Homepage hero card ---------------------------------------------------- */
.nv-hero-card { background: #fff; border: 1px solid var(--nv-border); border-radius: 16px; box-shadow: 0 18px 50px rgba(44, 138, 124, .14); overflow: hidden; }
.nv-hero-card-head { padding: 16px 18px 12px; background: var(--nv-teal-soft); border-bottom: 1px solid var(--nv-border); }
.nv-hero-card-head h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; color: var(--nv-teal-darker); }
.nv-hero-card-head p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--nv-muted); }
.nv-hero-card [data-novus-advisor] { border: 0 !important; border-radius: 0 !important; }

/* ---- Panels (offer pages, posts, contact) ---------------------------------- */
.nv-panel-section { padding: 24px 0 8px; }
.nv-panel { width: 100%; background: var(--nv-green-soft); border: 1px solid #dbe8c4; border-left: 5px solid var(--nv-green); border-radius: 14px; padding: 18px; box-sizing: border-box; }
.nv-panel-head h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; color: var(--nv-teal-darker); }
.nv-panel-head p { margin: 0 0 14px; color: var(--nv-text); font-size: 14.5px; line-height: 1.5; }
.nv-panel [data-novus-advisor] { background: #fff; }
.nv-post-panel { margin: 28px 0 24px; }
.nv-contact-panel { margin: 20px 0 8px; }

/* ---- Agent hub (/free-cpq-tools/) ------------------------------------------ */
.nv-hub-section { padding: 8px 0 32px; }
.nv-hub { width: 100%; }
.nv-hub-head { text-align: center; margin: 0 auto 18px; max-width: 720px; }
.nv-hub-head h2 { margin: 0 0 6px; color: var(--nv-teal-darker); }
.nv-hub-head p { margin: 0; color: var(--nv-muted); }
.nv-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.nv-tab[aria-selected="true"], .nv-tab.is-active { background: var(--nv-teal-dark); border-color: var(--nv-teal-dark); color: #fff; }
.nv-tab-blurb { text-align: center; color: var(--nv-muted); margin: 0 0 12px; font-size: 14.5px; }
.nv-hub-widget [data-novus-advisor] { max-width: 860px; margin: 0 auto; }
.nv-nav-advisor .menu-text { font-weight: 700; }
/* Six top-level items must fit on one row next to the logo at 1280–1366 (sticky and non-sticky header) */
@media (min-width: 1100px) {
  .fusion-main-menu > ul > li { padding-right: 26px; }
  .fusion-main-menu > ul > li:last-child { padding-right: 0; }
}

/* ---- Small screens --------------------------------------------------------- */
@media (max-width: 640px) {
  .nv-announce-inner { padding: 7px 40px 7px 12px; font-size: 13px; gap: 8px; justify-content: flex-start; }
  .nv-announce-text b { display: none; }
  .nv-stats { gap: 6px 18px; }
  .nv-stats b { font-size: 20px; }
  .nv-panel { padding: 14px; border-radius: 10px; }
  .nv-panel-head h3 { font-size: 18px; }
  .nv-hero-card { margin-top: 12px; }
  /* inline placements are content-sized (the widget reports its height); the modal is full-screen */
  [data-novus-advisor]:not(.nv-modal), [data-novus-advisor]:not(.nv-modal) iframe { min-height: 0; }
}
