/* Ritzy AI chat — on every page (moved from index.html), plus the
   "Need help?" pill. Theme selectors key on body[data-theme]. */

/* Page tokens the chat uses (the homepage defines the same ones) */
body { --chatbot-bg: #0a0d0a; --popup-overlay: rgba(0, 0, 0, 0.88); --green-line: rgba(76, 187, 23, 0.32); }
body[data-theme="light"] { --chatbot-bg: #ffffff; --popup-overlay: rgba(0, 0, 0, 0.55); --green-line: rgba(76, 187, 23, 0.4); }

@media (max-width: 768px) {
.chatbot-fab {
        bottom: 80px !important;
        right: 24px !important;
        width: 60px;
        height: 60px;
      }
.chatbot-menu {
        bottom: 150px !important;
        right: 24px !important;
      }
}
@media (min-width: 769px) and (max-width: 1024px) {
.chatbot-fab {
        bottom: 40px !important;
        right: 24px;
        width: 68px;
        height: 68px;
      }
.chatbot-menu {
        bottom: 120px !important;
        right: 24px;
      }
}
@media (max-width: 480px) {
.chatbot-fab {
        right: 18px !important;
        bottom: 80px !important;
      }
.chatbot-menu {
        right: 18px !important;
        bottom: 150px !important;
      }
}
.chatbot-fab {
      position: fixed;
      right: 24px;
      bottom: 80px;
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: var(--chatbot-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 0 3px rgba(76, 187, 23, 0.55), 0 0 22px rgba(76, 187, 23, 0.75), 0 12px 35px rgba(0, 0, 0, 0.45);
      cursor: pointer;
      z-index: 99999;
      transition: .25s ease;
    }
.chatbot-fab:hover {
      transform: scale(1.08);
      box-shadow: 0 0 0 4px rgba(76, 187, 23, 0.7), 0 0 30px rgba(76, 187, 23, 0.95), 0 20px 45px rgba(0, 0, 0, 0.55);
    }
.chatbot-fab img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      pointer-events: none;
    }
@media(max-width:768px) {
.chatbot-fab {
        width: 60px;
        height: 60px;
        right: 24px !important;
        bottom: 80px !important;
      }
.chatbot-menu {
        bottom: 150px !important;
        right: 24px !important;
      }
}
.chatbot-menu {
      position: fixed;
      right: 24px;
      bottom: 150px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(10px);
      transition: .25s;
      z-index: 99998;
    }
.chatbot-menu.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
    }
.chatbot-option {
      background: var(--surface);
      backdrop-filter: blur(16px) saturate(1.4);
      -webkit-backdrop-filter: blur(16px) saturate(1.4);
      color: var(--text);
      padding: 14px 20px;
      border-radius: 14px;
      font-weight: 700;
      cursor: pointer;
      border: 1px solid var(--card-border);
      box-shadow: var(--popup-overlay);
      transition: all 0.3s ease;
      font-size: 15px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
.chatbot-option:hover {
      background: var(--green);
      color: #fff;
      transform: translateX(-4px);
      border-color: var(--green);
    }
.chatbot-option .icon {
      font-size: 20px;
    }
body[data-theme="light"] .chatbot-option {
      background: rgba(255, 255, 255, 0.7);
      border-color: rgba(0, 0, 0, 0.08);
    }
body[data-theme="light"] .chatbot-option:hover {
      background: var(--green);
      color: #fff;
      border-color: var(--green);
    }
.chatbot-modal-overlay {
      position: fixed;
      inset: 0;
      background: var(--popup-overlay);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: .25s;
      z-index: 100000;
      padding: 20px;
    }
.chatbot-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }
.chatbot-modal {
      width: min(600px, 95vw);
      max-height: 85vh;
      overflow: auto;
      background: var(--surface);
      backdrop-filter: blur(24px) saturate(1.4);
      -webkit-backdrop-filter: blur(24px) saturate(1.4);
      color: var(--text);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      padding: 28px 32px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }
.chatbot-modal h2 {
      margin: 0 0 8px;
      font-family: 'Montserrat', sans-serif;
      font-size: 26px;
      font-weight: 900;
      text-transform: uppercase;
    }
.chatbot-modal h2 span {
      color: var(--green);
    }
.chatbot-modal .subtitle {
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 16px;
    }
.chatbot-close {
      float: right;
      border: none;
      background: var(--surface);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid var(--card-border);
      color: var(--text);
      width: 38px;
      height: 38px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 20px;
      font-weight: bold;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }
.chatbot-close:hover {
      background: var(--green);
      color: #fff;
      transform: rotate(90deg);
      border-color: var(--green);
    }
.chatbot-faq {
      margin: 10px 0;
      padding: 0;
      border-bottom: 1px solid var(--card-border);
    }
.chatbot-faq:last-child {
      border-bottom: none;
    }
body[data-theme="light"] .chatbot-modal {
      background: rgba(255, 255, 255, 0.85);
      border-color: rgba(0, 0, 0, 0.08);
    }
body[data-theme="light"] .chatbot-close {
      background: rgba(0, 0, 0, 0.05);
      border-color: rgba(0, 0, 0, 0.08);
    }
body[data-theme="light"] .chatbot-close:hover {
      background: var(--green);
      color: #fff;
      border-color: var(--green);
    }
.chatbot-fab {
      box-shadow: 0 0 0 2px var(--green-line), 0 10px 28px rgba(0, 0, 0, 0.45);
      transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s, box-shadow 0.25s ease;
    }
.chatbot-fab:hover {
      box-shadow: 0 0 0 3px var(--green), 0 14px 34px rgba(0, 0, 0, 0.5);
    }
which on its own would leave those users
       a visible button that ignores taps. Hidden also drops it from the
       accessibility tree. The delayed visibility lets the fade play first. */
    .chatbot-fab.is-tucked {
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px) scale(0.9);
      pointer-events: none;
      transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s, box-shadow 0.25s ease;
    }
@media (max-width: 768px) {
.chatbot-fab {
        width: 52px;
        height: 52px;
      }
}
.rzb {
      --rzb-bg: #1d1d1d;
      --rzb-card: #2b2b2b;
      --rzb-line: rgba(255, 255, 255, 0.08);
      --rzb-text: #ffffff;
      --rzb-muted: #a3a3a3;
    }
body[data-theme="light"] .rzb {
      --rzb-bg: #ffffff;
      --rzb-card: #f1f4f1;
      --rzb-line: #e6e9e6;
      --rzb-text: #111111;
      --rzb-muted: #5b6470;
    }
.rzb-sr {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
    }
.rzb .chatbot-fab { overflow: visible; }
.rzb-fab-badge {
      position: absolute;
      right: -2px;
      top: -2px;
      display: grid;
      place-items: center;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--green);
      color: #fff;
      font-size: 11px;
      box-shadow: 0 0 0 2px var(--bg);
      pointer-events: none;
    }
.rzb.is-open .chatbot-fab {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
.rzb-panel {
      position: fixed;
      right: 24px;
      bottom: 24px;
      z-index: 100000;
      width: min(400px, calc(100vw - 32px));
      height: min(640px, calc(100vh - 110px));
      height: min(640px, calc(100dvh - 110px));
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: 24px;
      background: var(--rzb-bg);
      color: var(--rzb-text);
      border: 1px solid var(--rzb-line);
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(76, 187, 23, 0.12);
      font-family: 'Inter', sans-serif;
      text-align: left;
      animation: rzbIn .22s ease-out;
    }
.rzb-panel[hidden] { display: none; }
body[data-theme="light"] .rzb-panel {
      box-shadow: 0 24px 60px rgba(17, 24, 17, 0.18);
    }
@keyframes rzbIn {
      from { opacity: 0; transform: translateY(14px) scale(0.98); }
      to { opacity: 1; transform: none; }
    }
.rzb-head {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 16px 14px 18px;
      background:
        radial-gradient(120% 140% at 0% 0%, rgba(76, 187, 23, 0.20), transparent 60%),
        var(--rzb-bg);
      border-bottom: 1px solid var(--rzb-line);
    }
.rzb-avatar {
      flex: none;
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      border-radius: 14px;
      background: linear-gradient(180deg, #52c41c, #43a514);
      color: #fff;
      font-size: 18px;
    }
.rzb-head-text { flex: 1; min-width: 0; }
.rzb-head h2 {
      margin: 0;
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: 0;
      text-transform: none;
      text-align: left;
      color: var(--rzb-text);
    }
.rzb-status {
      display: flex;
      align-items: center;
      gap: 6px;
      margin: 2px 0 0;
      font-size: 12px;
      color: var(--rzb-muted);
    }
.rzb-online {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 3px rgba(76, 187, 23, 0.2);
    }
.rzb-online.is-off {
      background: var(--rzb-muted);
      box-shadow: 0 0 0 3px rgba(128, 128, 128, 0.2);
    }
.rzb-icon-btn {
      flex: none;
      display: grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border-radius: 12px;
      border: 1px solid var(--rzb-line);
      background: transparent;
      color: var(--rzb-text);
      font-size: 17px;
      cursor: pointer;
    }
.rzb-icon-btn:hover { border-color: var(--green); color: var(--green); }
.rzb-tabs {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      padding: 10px 12px;
      border-bottom: 1px solid var(--rzb-line);
    }
.rzb-tabs [role="tab"] {
      min-height: 38px;
      padding: 0 8px;
      border-radius: 999px;
      border: 1px solid var(--rzb-line);
      background: transparent;
      color: var(--rzb-muted);
      font: 600 13px/1 'Inter', sans-serif;
      cursor: pointer;
      transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    }
.rzb-tabs [role="tab"][aria-selected="true"] {
      background: #273c1b;
      border-color: var(--green);
      color: #fff;
    }
body[data-theme="light"] .rzb-tabs [role="tab"][aria-selected="true"] {
      background: #e9f6e2;
      color: #1f5f08;
    }
.rzb-view {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }
.rzb-view[hidden] { display: none; }
.rzb-log {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 16px 14px 8px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
.rzb-msg { display: flex; }
.rzb-msg-user { justify-content: flex-end; }
.rzb-bubble {
      max-width: 85%;
      padding: 11px 14px;
      border-radius: 18px;
      font-size: 14.5px;
      line-height: 1.5;
      overflow-wrap: anywhere;
    }
.rzb-msg-bot .rzb-bubble {
      background: var(--rzb-card);
      color: var(--rzb-text);
      border-bottom-left-radius: 6px;
    }
.rzb-msg-user .rzb-bubble {
      background: linear-gradient(180deg, #52c41c, #43a514);
      color: #fff;
      border-bottom-right-radius: 6px;
    }
.rzb-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 10px;
    }
.rzb-action {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid var(--green);
      background: transparent;
      color: var(--green);
      font: 600 13px/1 'Inter', sans-serif;
      text-decoration: none;
      cursor: pointer;
    }
.rzb-action:hover { background: var(--green); color: #fff; }
body[data-theme="light"] .rzb-action { color: #2f8a0c; border-color: #2f8a0c; }
body[data-theme="light"] .rzb-action:hover { background: #2f8a0c; color: #fff; }
.rzb-typing {
      display: inline-flex;
      gap: 4px;
      padding: 14px 16px;
    }
.rzb-typing span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--rzb-muted);
      animation: rzbDot 1s infinite ease-in-out;
    }
.rzb-typing span:nth-child(2) { animation-delay: .15s; }
.rzb-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes rzbDot {
      0%, 80%, 100% { opacity: .35; transform: translateY(0); }
      40% { opacity: 1; transform: translateY(-3px); }
    }
.rzb-chips {
      display: flex;
      gap: 8px;
      padding: 6px 14px 10px;
      overflow-x: auto;
      scrollbar-width: none;
    }
.rzb-chips::-webkit-scrollbar { display: none; }
.rzb-chips[hidden] { display: none; }
.rzb-chip {
      flex: none;
      min-height: 36px;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid var(--rzb-line);
      background: var(--rzb-card);
      color: var(--rzb-text);
      font: 500 13px/1 'Inter', sans-serif;
      white-space: nowrap;
      cursor: pointer;
    }
.rzb-chip:hover { border-color: var(--green); }
.rzb-compose {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 12px 12px;
      border-top: 1px solid var(--rzb-line);
    }
.rzb-compose input {
      flex: 1;
      min-width: 0;
      height: 46px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid transparent;
      background: var(--rzb-card);
      color: var(--rzb-text);
      font: 400 16px 'Inter', sans-serif;   /* 16px stops iOS zooming on focus */
      outline: none;
    }
.rzb-compose input::placeholder { color: var(--rzb-muted); }
.rzb-compose input:focus { border-color: var(--green); }
.rzb-send {
      flex: none;
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 0;
      background: linear-gradient(180deg, #52c41c, #43a514);
      color: #fff;
      font-size: 16px;
      cursor: pointer;
    }
.rzb-view-faq {
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 14px;
      gap: 10px;
    }
.rzb-search {
      position: relative;
      flex: none;
    }
.rzb-search i {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--rzb-muted);
      font-size: 14px;
      pointer-events: none;
    }
.rzb-search input {
      width: 100%;
      height: 44px;
      padding: 0 14px 0 40px;
      border-radius: 14px;
      border: 1px solid transparent;
      background: var(--rzb-card);
      color: var(--rzb-text);
      font: 400 16px 'Inter', sans-serif;
      outline: none;
    }
.rzb-search input:focus { border-color: var(--green); }
.rzb-faqs {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
.rzb-faq {
      flex: none;
      border-radius: 16px;
      background: var(--rzb-card);
      border: 1px solid transparent;
      transition: border-color .2s ease;
    }
.rzb-faq[open] { border-color: rgba(76, 187, 23, 0.45); }
.rzb-faq[hidden] { display: none; }
.rzb-faq summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 52px;
      padding: 12px 16px;
      list-style: none;
      cursor: pointer;
      font-size: 15px;
      font-weight: 600;
      line-height: 1.35;
      color: var(--rzb-text);
    }
.rzb-faq summary::-webkit-details-marker { display: none; }
.rzb-faq summary::after {
      content: "\f078";
      font: var(--fa-font-solid);
      flex: none;
      font-size: 12px;
      color: var(--rzb-muted);
      transition: transform .2s ease;
    }
.rzb-faq[open] summary::after {
      transform: rotate(180deg);
      color: var(--green);
    }
.rzb-faq-a {
      padding: 0 16px 14px;
    }
.rzb-faq-a p {
      margin: 0;
      font-size: 14.5px;
      line-height: 1.6;
      color: var(--rzb-muted);
    }
.rzb-faq-empty {
      margin: 6px 2px;
      font-size: 14px;
      color: var(--rzb-muted);
    }
.rzb-faq-ask {
      flex: none;
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 40px;
      margin-top: 4px;
      padding: 0 4px;
      border: 0;
      background: none;
      color: var(--green);
      font: 600 14px 'Inter', sans-serif;
      cursor: pointer;
    }
body[data-theme="light"] .rzb-faq-ask { color: #2f8a0c; }
.rzb-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 16px;
      border-top: 1px solid var(--rzb-line);
      font-size: 13px;
      color: var(--rzb-muted);
    }
.rzb-foot a {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 32px;
      color: var(--green);
      font-weight: 600;
      text-decoration: none;
    }
body[data-theme="light"] .rzb-foot a { color: #2f8a0c; }
.rzb-panel :is(button, a, input, summary):focus-visible {
      outline: 2px solid var(--green);
      outline-offset: 2px;
    }
@media (max-width: 600px) {
.rzb-panel {
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: 0;
      }
.rzb-head {
        padding-top: max(14px, env(safe-area-inset-top));
      }
.rzb-compose {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
      }
}
@media (prefers-reduced-motion: reduce) {
.rzb-panel { animation: none; }
.rzb-typing span { animation: none; opacity: .7; }
.rzb-faq summary::after { transition: none; }
}
.rzb-note {
      margin: 0;
      padding: 0 16px 6px;
      font-size: 11.5px;
      line-height: 1.4;
      color: var(--rzb-muted);
    }
.rzb-quota {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 16px 6px;
      padding: 6px 8px 6px 10px;
      border: 1px solid rgba(76, 187, 23, 0.35);
      border-radius: 10px;
      background: rgba(76, 187, 23, 0.07);
      font-size: 11.5px;
      line-height: 1.35;
      color: var(--rzb-muted);
    }
.rzb-quota[hidden] { display: none; }
.rzb-quota-text { flex: 1; min-width: 0; }
.rzb-quota-cta {
      flex-shrink: 0;
      border: 0;
      border-radius: 999px;
      padding: 5px 11px;
      font: inherit;
      font-weight: 700;
      color: #0B0B0B;
      background: var(--green, #4CBB17);
      cursor: pointer;
    }
.rzb-quota-cta[hidden] { display: none; }
.rzb-quota-cta:focus-visible { outline: 2px solid var(--green, #4CBB17); outline-offset: 2px; }
.rzb-compose.is-busy .rzb-send {
      opacity: .5;
      cursor: progress;
    }
.rzb-teaser {
      position: fixed;
      right: 24px;
      bottom: 144px;
      z-index: 99999;
      display: flex;
      align-items: flex-start;
      gap: 4px;
      max-width: min(280px, calc(100vw - 48px));
      padding: 4px 4px 4px 0;
      border-radius: 18px 18px 6px 18px;
      background: var(--rzb-bg);
      color: var(--rzb-text);
      border: 1px solid rgba(76, 187, 23, 0.45);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
      animation: rzbTeaserIn .28s ease-out;
    }
.rzb-teaser[hidden] { display: none; }
body[data-theme="light"] .rzb-teaser { box-shadow: 0 14px 34px rgba(17, 24, 17, 0.18); }
@keyframes rzbTeaserIn {
      from { opacity: 0; transform: translateY(10px) scale(0.96); }
      to { opacity: 1; transform: none; }
    }
.rzb-teaser-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding: 10px 4px 10px 14px;
      border: 0;
      background: none;
      color: inherit;
      text-align: left;
      font: 400 13.5px/1.4 'Inter', sans-serif;
      cursor: pointer;
    }
.rzb-teaser-title { font-weight: 700; font-size: 14.5px; }
.rzb-teaser-text { color: var(--rzb-muted); }
.rzb-teaser-close {
      flex: none;
      display: grid;
      place-items: center;
      width: 32px;
      height: 32px;
      border: 0;
      border-radius: 10px;
      background: none;
      color: var(--rzb-muted);
      cursor: pointer;
    }
.rzb-teaser :is(button):focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.rzb.is-open .rzb-teaser { display: none; }
@media (prefers-reduced-motion: reduce) {
.rzb-teaser { animation: none; }
}
.rzb-note-line {
      align-self: center;
      max-width: 90%;
      padding: 4px 10px;
      border-radius: 999px;
      background: var(--rzb-card);
      color: var(--rzb-muted);
      font-size: 12px;
      text-align: center;
    }
.rzb-msg-agent .rzb-bubble {
      background: rgba(76, 187, 23, 0.14);
      border: 1px solid rgba(76, 187, 23, 0.45);
    }
.rzb-agent-name {
      display: block;
      margin-bottom: 3px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .02em;
      color: var(--green);
    }
body[data-theme="light"] .rzb-agent-name { color: #2f8a0c; }
.rzb-cats {
      display: flex;
      gap: 6px;
      flex: none;
      overflow-x: auto;
      scrollbar-width: none;
      padding-bottom: 2px;
    }
.rzb-cats::-webkit-scrollbar { display: none; }
.rzb-cat {
      flex: none;
      min-height: 34px;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid var(--rzb-line, rgba(255, 255, 255, 0.12));
      background: transparent;
      color: var(--rzb-muted);
      font: 600 13px 'Inter', sans-serif;
      cursor: pointer;
      transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    }
.rzb-cat:hover { color: var(--rzb-text); border-color: rgba(76, 187, 23, 0.45); }
.rzb-cat.is-on {
      background: rgba(76, 187, 23, 0.16);
      border-color: rgba(76, 187, 23, 0.55);
      color: var(--green);
    }
body[data-theme="light"] .rzb-cat.is-on { color: #2f8a0c; }
.rzb-faq-tools {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-top: 12px;
    }
.rzb-faq-ai {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(76, 187, 23, 0.45);
      background: rgba(76, 187, 23, 0.1);
      color: var(--green);
      font: 600 13px 'Inter', sans-serif;
      cursor: pointer;
      transition: transform .15s ease, background-color .2s ease;
    }
.rzb-faq-ai:hover { background: rgba(76, 187, 23, 0.2); transform: translateY(-1px); }
.rzb-faq-ai:active { transform: translateY(0) scale(.97); }
body[data-theme="light"] .rzb-faq-ai { color: #2f8a0c; }
.rzb-spark { font-size: 12px; line-height: 1; }
.rzb-faq-helpful {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      margin-left: auto;
      font-size: 12.5px;
      color: var(--rzb-muted);
    }
.rzb-faq-helpful > span { margin-right: 4px; }
.rzb-faq-helpful button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border: 0;
      border-radius: 50%;
      background: transparent;
      color: var(--rzb-muted);
      cursor: pointer;
    }
.rzb-faq-helpful button:hover { background: var(--rzb-card); color: var(--green); }
.rzb-faq-thanks { color: var(--green); font-weight: 600; }
.rzb-faq-related {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-top: 12px;
      padding-top: 10px;
      border-top: 1px solid var(--rzb-line, rgba(255, 255, 255, 0.08));
    }
.rzb-faq-related > span {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--rzb-muted);
    }
.rzb-faq-rel {
      padding: 6px 10px;
      border-radius: 10px;
      border: 0;
      background: rgba(255, 255, 255, 0.05);
      color: var(--rzb-text);
      font: 500 12.5px 'Inter', sans-serif;
      text-align: left;
      cursor: pointer;
    }
.rzb-faq-rel:hover { background: rgba(76, 187, 23, 0.14); }
body[data-theme="light"] .rzb-faq-rel { background: rgba(0, 0, 0, 0.05); }
.rzb-faq-askai {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      min-height: 48px;
      padding: 10px 14px;
      border-radius: 14px;
      border: 1px dashed rgba(76, 187, 23, 0.6);
      background: rgba(76, 187, 23, 0.08);
      color: var(--rzb-text);
      font: 600 14px 'Inter', sans-serif;
      text-align: left;
      cursor: pointer;
      animation: rzb-rise .25s ease both;
    }
.rzb-faq-askai[hidden] { display: none; }
.rzb-faq-askai .rzb-spark, .rzb-faq-askai i { color: var(--green); flex: none; }
.rzb-faq-askai > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rzb-faq-askai q { color: var(--green); }
body[data-theme="light"] .rzb-faq-askai q { color: #2f8a0c; }
.rzb-faq .rzb-faq-a { animation: rzb-rise .28s ease both; }
@supports (interpolate-size: allow-keywords) {
.rzb-faq { interpolate-size: allow-keywords; }
.rzb-faq::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size .3s ease, content-visibility .3s allow-discrete;
      }
.rzb-faq[open]::details-content { block-size: auto; }
}
@keyframes rzb-rise {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: none; }
    }
@media (prefers-reduced-motion: reduce) {
.rzb-faq .rzb-faq-a, .rzb-faq-askai { animation: none; }
.rzb-faq::details-content { transition: none; }
}
.rzb-premium { display: none; margin-left: 6px; padding: 3px 8px; border-radius: 999px; vertical-align: middle;
      background: linear-gradient(135deg, #7ee34a, #4cbb17); color: #fff; font: 800 10.5px/1 "Inter", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.rzb.is-member .rzb-premium { display: inline-block; }
.rzb-status-member { display: none; }
.rzb.is-member .rzb-status-member { display: inline; }
.rzb.is-member .rzb-status-guest { display: none; }
.rzb-view-chat { position: relative; }
.rzb-unlock { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px;
      background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: rzb-rise 0.3s ease both; }
.rzb-unlock[hidden] { display: none; }
.rzb-unlock-card { width: 100%; max-width: 340px; padding: 22px 20px; border-radius: 22px; text-align: left;
      background: linear-gradient(150deg, rgba(76, 187, 23, 0.22), rgba(255, 255, 255, 0.04) 55%), #0d110d;
      border: 1px solid rgba(76, 187, 23, 0.5); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1); color: #fff; }
.rzb-unlock-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #7ee34a, #4cbb17); font: 800 11px/1 "Inter", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.rzb-unlock-card h3 { margin: 12px 0 6px; font: 800 20px/1.2 "Montserrat", sans-serif; }
.rzb-unlock-card p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.75); font-size: 13.5px; line-height: 1.5; }
.rzb-unlock-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; font-size: 13.5px; }
.rzb-unlock-card li i { width: 18px; color: #6fdc3a; }
.rzb-unlock-primary, .rzb-unlock-secondary { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font: 700 14px/1 "Inter", sans-serif; text-decoration: none; }
.rzb-unlock-primary { background: linear-gradient(135deg, #7ee34a, #4cbb17 45%, #3f9f12); color: #fff; box-shadow: 0 10px 26px -10px rgba(76, 187, 23, 0.7); }
.rzb-unlock-secondary { margin-top: 8px; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.rzb-unlock-secondary:hover { border-color: #4cbb17; }
.rzb-unlock-skip { display: block; width: 100%; margin-top: 10px; padding: 6px; border: 0; background: none; color: rgba(255, 255, 255, 0.65); font: 500 12.5px "Inter", sans-serif; cursor: pointer; text-decoration: underline; }
body[data-theme="light"] .rzb-unlock { background: rgba(255, 255, 255, 0.55); }
.rzb-foot-actions { display: inline-flex; align-items: center; gap: 10px; }
.rzb-agent-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px;
      border: 1px solid rgba(76, 187, 23, 0.55); background: rgba(76, 187, 23, 0.14); color: var(--green); font: 700 12.5px/1 "Inter", sans-serif; cursor: pointer; }
.rzb-agent-btn:hover { background: var(--green); color: #fff; }
.rzb.is-human .rzb-agent-btn { display: none; }
body[data-theme="light"] .rzb-agent-btn { color: #2f8a0c; }
.rzb-agentform { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 14px; overflow-y: auto;
      background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: rzb-rise 0.3s ease both; }
.rzb-agentform[hidden] { display: none; }
.rzb-agentform-card { width: 100%; max-width: 340px; display: grid; gap: 6px; padding: 20px; border-radius: 22px; color: #fff;
      background: linear-gradient(150deg, rgba(76, 187, 23, 0.18), rgba(255, 255, 255, 0.04) 55%), #0d110d;
      border: 1px solid rgba(76, 187, 23, 0.45); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8); }
.rzb-agentform-badge { justify-self: start; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px;
      background: rgba(76, 187, 23, 0.2); color: #7ee34a; font: 700 11px/1 "Inter", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.rzb-agentform-card h3 { margin: 6px 0 0; font: 800 19px/1.2 "Montserrat", sans-serif; }
.rzb-agentform-card > p { margin: 0 0 6px; color: rgba(255, 255, 255, 0.72); font-size: 13px; line-height: 1.5; }
.rzb-agentform-card label { margin-top: 4px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.rzb-agentform-card label span { font-weight: 400; color: rgba(255, 255, 255, 0.5); }
.rzb-agentform-card input, .rzb-agentform-card textarea { width: 100%; min-height: 42px; padding: 10px 12px; border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: #fff; font: 400 14px "Inter", sans-serif; resize: none; }
.rzb-agentform-card input:focus, .rzb-agentform-card textarea:focus { outline: none; border-color: #4cbb17; }
.rzb-agentform-error { margin: 2px 0 0; color: #ff8a8a; font-size: 12.5px; }
.rzb-agentform-submit { margin-top: 8px; min-height: 44px; border: 0; border-radius: 999px; cursor: pointer; color: #fff;
      background: linear-gradient(135deg, #7ee34a, #4cbb17 45%, #3f9f12); font: 700 14px "Inter", sans-serif; box-shadow: 0 10px 26px -10px rgba(76, 187, 23, 0.7); }
.rzb-agentform-submit:disabled { opacity: 0.7; cursor: progress; }
.rzb-agentform-cancel { padding: 6px; border: 0; background: none; color: rgba(255, 255, 255, 0.65); font: 500 12.5px "Inter", sans-serif; cursor: pointer; text-decoration: underline; }
.rzb-agentform-note { margin: 0; text-align: center; font-size: 11px; color: rgba(255, 255, 255, 0.5); }
body[data-theme="light"] .rzb-agentform { background: rgba(255, 255, 255, 0.55); }

/* ---- "Need help? Chat with a Ritzy agent" pill beside the launcher ---- */
.rzb-help-pill {
  position: fixed; right: 92px; bottom: 30px; z-index: 1190;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(76, 187, 23, 0.5);
  background: linear-gradient(150deg, rgba(76, 187, 23, 0.22), rgba(255, 255, 255, 0.04) 60%), rgba(10, 12, 10, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; font: 500 13px/1 'Inter', sans-serif;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s, border-color 0.2s;
}
.rzb.help-ready .rzb-help-pill { opacity: 1; visibility: visible; transform: none; }
.rzb-help-pill b { font-weight: 700; color: #7ee34a; }
.rzb-help-pill:hover { transform: translateY(-2px); border-color: #4cbb17; }
.rzb-help-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee34a; box-shadow: 0 0 0 0 rgba(126, 227, 74, 0.6); animation: rzb-help-pulse 2s infinite; }
@keyframes rzb-help-pulse { 0% { box-shadow: 0 0 0 0 rgba(126, 227, 74, 0.6); } 70% { box-shadow: 0 0 0 9px rgba(126, 227, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 227, 74, 0); } }
.rzb.is-open .rzb-help-pill, .rzb.is-human .rzb-help-pill { display: none; }
body[data-theme="light"] .rzb-help-pill { background: linear-gradient(150deg, rgba(76, 187, 23, 0.16), rgba(255, 255, 255, 0.9) 60%); color: #0b100b; }
body[data-theme="light"] .rzb-help-pill b { color: #2f8f12; }
@media (max-width: 600px) {
  .rzb-help-pill { right: 84px; bottom: 24px; min-height: 40px; padding: 0 12px 0 10px; font-size: 12.5px; }
  .rzb-help-pill b { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rzb-help-pill, .rzb-help-dot { animation: none; } }
/* Back-to-top (46px) sits just above the launcher, centred on it, 14px gap.
   Launcher (as rendered): 72px at right 24 / bottom 80; bottom 40 at
   769–1024px; 52px at 768px and below. Keep these in step. */
body .to-top { right: 37px; bottom: 166px; }
@media (min-width: 769px) and (max-width: 1024px) { body .to-top { bottom: 126px; } }
@media (max-width: 768px) { body .to-top { right: 27px; bottom: 146px; } }

/* Ritzy Agent only: no AI pieces */
.rzb-premium, .rzb-unlock, .rzb-quota, .rzb-chips { display: none !important; }
