/* TriptoVR Business account site: the look of triptovr.com (docs/site-theme-notes.md) and the approved boards
   (docs/design-boards/WebLogin, WebSubscribe, WebAccount). Shared by every page under tvb-site/.
   Rules of the site CSP (plan §3.2): this file and the fonts are same-origin; no style="" attributes in the markup
   (scripts may set element.style). Buttons: gold only for paying (Subscribe, Continue to payment, ...), green for
   other primary actions, outline for secondary ones, red for Disconnect and Delete account (plan 2.2).
   Fonts: Inter 400-700 as woff2, self-hosted, with its licence (SIL OFL 1.1) in site/fonts/LICENSE.txt (Peter 2026-11-23, Q17b). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/site/fonts/Inter-400.woff2?v=2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/site/fonts/Inter-500.woff2?v=2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/site/fonts/Inter-600.woff2?v=2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/site/fonts/Inter-700.woff2?v=2') format('woff2'); }

:root {
  /* triptovr.com theme (assets/css/main.css :root) */
  --navy: #0A1128;
  --navy-footer: #060D1E;
  --white: #FFFFFF;
  --off-white: #F5F5F7;
  --text: #1D1D1F;
  --text-muted: #6E6E73;
  --gradient: linear-gradient(135deg, #00C2FF 0%, #9B27FF 50%, #E91FFF 100%);
  --gradient-bar: linear-gradient(90deg, #00C2FF, #9B27FF, #E91FFF);
  --gradient-tint: linear-gradient(135deg, rgba(0,194,255,0.10), rgba(155,39,255,0.10));
  --gradient-tint-soft: linear-gradient(135deg, rgba(0,194,255,0.08), rgba(155,39,255,0.08));
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 50px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow: 0 20px 60px rgba(0,0,0,0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --nav-h: 68px;
  --container: 1160px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  /* the button roles (plan P3 and 2.2) */
  --gold: linear-gradient(90deg, #F59E0B, #F97E16);
  --green: #22C55E;
  --green-hover: #1EB154;
  --danger: #D70015;
  --danger-tint: #FFF5F6;
  /* the board greys and accents */
  --purple: #9B27FF;
  --purple-hover: #7A12D9;
  --purple-ring: rgba(155,39,255,0.12);
  --purple-tint: #FBF7FF;
  --purple-line: #D9C2F7;
  --nav-link: #1A1A2E;
  --nav-link-hover: #6C63FF;
  --text-2: #424245;
  --caption: #86868B;
  --border: #D2D2D7;
  --line: #E8E8ED;
  --row-line: #F0F0F3;
  --dot-off: #C7C7CC;
  --online: #1F8A4C;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--purple); }
a:hover { color: var(--purple-hover); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.tvb-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.tvb-shell { min-height: 100vh; display: flex; flex-direction: column; }
.tvb-main {
  flex-grow: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 88px;
}
.tvb-main-account { padding-top: 48px; }
.tvb-loading { margin: 40px 0; text-align: center; color: var(--text-muted); font-size: 15px; }

/* ---------- navigation (68 px, white 92 %, max width 1160; the widest language needs about 1065 px, so the hamburger below 1080 px) ---------- */
.tvb-nav-slot { position: sticky; top: 0; z-index: 50; }
.tvb-nav {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.tvb-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tvb-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.tvb-logo:hover { color: var(--text); }
.tvb-logo img { width: 34px; height: 34px; border-radius: 8px; display: block; }
.tvb-logo span { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.tvb-nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 28px; font-size: 14px; font-weight: 500; }
.tvb-nav-links a { color: var(--nav-link); text-decoration: none; transition: color .2s; }
.tvb-nav-links a:hover { color: var(--nav-link-hover); }
.tvb-nav-links a.tvb-nav-quiet { color: var(--text-muted); }
.tvb-nav-links a.tvb-nav-quiet:hover { color: var(--nav-link-hover); }
.tvb-btn-nav {
  display: inline-block;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tvb-btn-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(155,39,255,0.35); }
/* "Start your subscription" leads to paying: gold, as on the business page of triptovr.com (Q22) */
.tvb-btn-nav-gold { background: var(--gold); }
.tvb-btn-nav-gold:hover { box-shadow: 0 8px 22px rgba(249,126,22,0.35); }
.tvb-nav-user { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--radius-pill); background: var(--off-white); color: var(--text); font-weight: 600; white-space: nowrap; }
.tvb-avatar { width: 26px; height: 26px; border-radius: 13px; background: var(--gradient); color: var(--white); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tvb-burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.tvb-burger span { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--nav-link); transition: transform var(--transition), opacity var(--transition); }
.tvb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tvb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tvb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.tvb-burger:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.tvb-nav-mobile { border-top: 1px solid var(--line); background: var(--white); padding: 8px 24px 20px; box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.tvb-nav-mobile > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--row-line); color: var(--nav-link); text-decoration: none; font-size: 16px; font-weight: 500; }
.tvb-nav-mobile > a:hover { color: var(--nav-link-hover); }
.tvb-nav-mobile .tvb-nav-user { margin: 14px 0 0; }
.tvb-nav-mobile .tvb-btn-nav { margin-top: 16px; display: block; text-align: center; padding: 12px 22px; font-size: 15px; }
.tvb-nav-mobile .tvb-lang { margin-top: 18px; justify-content: flex-start; }
.tvb-nav-mobile .tvb-lang button { color: var(--text-2); border-color: var(--line); }
.tvb-nav-mobile .tvb-lang button[aria-pressed="true"] { color: var(--text); border-color: var(--purple); background: var(--purple-tint); }

@media (max-width: 1079px) {
  .tvb-nav-links { display: none; }
  .tvb-burger { display: inline-flex; }
}
@media (min-width: 1080px) {
  .tvb-nav-mobile { display: none !important; }
}

/* ---------- footer (#060D1E, centred) ---------- */
.tvb-footer { background: var(--navy-footer); padding: 60px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tvb-footer-logo { width: 60px; height: 60px; border-radius: 14px; opacity: 0.85; display: block; }
.tvb-footer-tagline { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.tvb-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 14px; margin: 0; padding: 0; list-style: none; }
.tvb-footer-links li { display: flex; gap: 10px; }
.tvb-footer-links li + li::before { content: '·'; color: rgba(255,255,255,0.2); }
.tvb-footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; }
.tvb-footer-links a:hover { color: rgba(255,255,255,0.85); }
.tvb-footer-mail { margin: 0; font-size: 13px; color: rgba(255,255,255,0.75); }
.tvb-footer-mail a { color: rgba(255,255,255,0.95); }
.tvb-footer-mail a:hover { color: var(--white); }
.tvb-footer-copy { margin: 0; font-size: 12px; color: rgba(255,255,255,0.7); }

/* language switcher (footer and mobile menu) */
.tvb-lang { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tvb-lang button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 7px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
}
.tvb-lang button:hover { color: rgba(255,255,255,0.95); border-color: rgba(255,255,255,0.35); }
.tvb-lang button[aria-pressed="true"] { color: var(--white); border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.08); }
.tvb-lang button:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.tvb-lang img { width: 20px; height: 14px; border-radius: 2px; display: block; object-fit: cover; }

/* ---------- flash messages (chrome.js) ---------- */
.tvb-flash-area:empty { display: none; }
.tvb-flash-area { margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- type ---------- */
.tvb-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); }
.tvb-label-grey { color: var(--caption); }
.tvb-h1 { margin: 12px 0 0; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: break-word; }
.tvb-h1-page { margin: 10px 0 0; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: break-word; }
.tvb-h2 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.25; }
.tvb-h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.tvb-lead { margin: 8px 0 0; font-size: 16px; color: var(--text-muted); }
.tvb-muted { color: var(--text-muted); }
.tvb-small { font-size: 14px; color: var(--text-muted); }
.tvb-caption { font-size: 12.5px; color: var(--caption); }
.tvb-text-2 { color: var(--text-2); }
.tvb-strong { color: var(--text); font-weight: 700; }

/* ---------- cards ---------- */
.tvb-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 36px 32px; }
.tvb-card-side { padding: 28px 26px; }
.tvb-card-section { padding: 28px 30px; }
.tvb-card-page { max-width: 720px; margin: 0 auto; }
.tvb-card-locked { outline: 2px dashed var(--purple-line); outline-offset: 4px; }
.tvb-cards-auth { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: flex-start; }
.tvb-cards-auth > .tvb-card { flex: 1 1 400px; max-width: 500px; }
.tvb-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.tvb-layout-side { flex: 1 1 280px; max-width: 330px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tvb-layout-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tvb-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.tvb-actions { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tvb-divider { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.tvb-step-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tvb-step-head a { font-size: 14px; font-weight: 600; text-decoration: none; }
.tvb-dl { margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; font-size: 14px; }
.tvb-dl dt { color: var(--text-muted); }
.tvb-dl dd { margin: 0; text-align: right; font-weight: 600; }
.tvb-pill { display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--off-white); font-size: 13.5px; font-weight: 600; }
.tvb-meter { margin-top: 12px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tvb-meter > span { display: block; height: 6px; border-radius: 3px; background: var(--gradient-bar); }

/* ---------- forms ---------- */
.tvb-form { margin: 0; }
.tvb-fields { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.tvb-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.tvb-input, .tvb-field input:not([type="radio"]):not([type="checkbox"]), .tvb-field select, .tvb-field textarea {
  height: 48px;
  width: 100%;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  font: 400 16px var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.tvb-field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.tvb-input:focus, .tvb-field input:focus, .tvb-field select:focus, .tvb-field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-ring); }
.tvb-field input[aria-invalid="true"] { border-color: var(--danger); }
.tvb-hint { font-weight: 400; font-size: 13px; color: var(--text-muted); }
.tvb-error { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: var(--danger); }
.tvb-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons ---------- */
.tvb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--radius-pill);
  font: 600 15px var(--font);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.tvb-btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.tvb-btn:disabled, .tvb-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.tvb-btn-block { display: flex; width: 100%; }
.tvb-btn-lg { padding: 16px 32px; font-size: 17px; }
.tvb-btn-sm { padding: 9px 16px; font-size: 14px; }
.tvb-btn-gold { background: var(--gold); color: var(--white); }
.tvb-btn-gold:hover:not(:disabled) { color: var(--white); box-shadow: 0 8px 22px rgba(249,126,22,0.35); transform: translateY(-1px); }
.tvb-btn-green { background: var(--green); color: var(--white); }
.tvb-btn-green:hover:not(:disabled) { color: var(--white); background: var(--green-hover); }
.tvb-btn-outline { background: var(--white); color: var(--text); border: 1.5px solid var(--border); padding: 11.5px 22px; }
.tvb-btn-outline:hover:not(:disabled) { color: var(--text); border-color: var(--text-muted); }
.tvb-btn-outline.tvb-btn-sm { padding: 7.5px 16px; }
.tvb-btn-danger { background: var(--danger); color: var(--white); }
.tvb-btn-danger:hover:not(:disabled) { color: var(--white); background: #B80012; }
.tvb-btn-text-danger { background: transparent; color: var(--danger); padding: 8px 14px; font-size: 14px; }
.tvb-btn-text-danger:hover:not(:disabled) { color: #B80012; text-decoration: underline; }
.tvb-btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white); color: var(--text-2); font: 700 16px var(--font); }

/* ---------- banners ---------- */
.tvb-banner { border-radius: 16px; background: var(--gradient-tint); padding: 16px 20px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.tvb-banner strong { color: var(--text); }
.tvb-banner-warn { background: #FFF8EB; color: #5C3B00; }
.tvb-banner-danger { background: var(--danger-tint); color: #5C0009; }
.tvb-banner-test { background: #FFF8EB; color: #5C3B00; border: 1px dashed #F59E0B; }
.tvb-banner .tvb-actions { margin-top: 12px; }

/* ---------- modal ---------- */
.tvb-modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(6,13,30,0.55); display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.tvb-modal { width: 100%; max-width: 480px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 28px; }
.tvb-modal .tvb-h2 { font-size: 22px; }
.tvb-modal-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- logged-out pages (account.js, step C2: the WebLogin board) ---------- */
.tvb-main-narrow .tvb-flash-area { max-width: 500px; margin-left: auto; margin-right: auto; }
.tvb-auth { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.tvb-form > .tvb-btn-block { margin-top: 24px; }
.tvb-form-error { margin-top: 20px; }
.tvb-form-error .tvb-btn { margin-top: 10px; }
.tvb-note-box { margin: 16px 0 0; border-radius: var(--radius-sm); background: var(--gradient-tint-soft); padding: 12px 14px; font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.tvb-note-box strong { color: var(--text); }
.tvb-link-line { margin: 16px 0 0; font-size: 14px; }
.tvb-foot { margin: 16px 0 0; font-size: 14px; color: var(--text-2); }
.tvb-foot a { font-weight: 600; }
.tvb-strong-15 { font-weight: 600; font-size: 15px; }
.tvb-mt-sm { margin-top: 12px; }
.tvb-note { margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.tvb-preparing { text-align: center; }
.tvb-spinner { display: inline-block; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--purple); animation: tvb-spin .9s linear infinite; }
@keyframes tvb-spin { to { transform: rotate(360deg); } }

/* ---------- subscribe page (the WebSubscribe board) ---------- */
.tvb-hero { text-align: center; max-width: 860px; margin: 0 auto; }
.tvb-banner-test + .tvb-hero { margin-top: 36px; }
.tvb-banner + .tvb-banner, .tvb-banner + .tvb-layout { margin-top: 16px; }
.tvb-h1-hero { margin: 12px 0 0; font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: break-word; }
.tvb-hero-lead { margin: 18px 0 0; font-size: 19px; line-height: 1.55; color: var(--text-muted); }
.tvb-hero-lead strong { color: var(--text); }
.tvb-subscribe { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.tvb-subscribe-info { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tvb-h2-sm { font-size: 22px; }
.tvb-checks { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.tvb-checks li { display: flex; gap: 14px; align-items: center; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.tvb-check { flex: none; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, rgba(0,194,255,0.12), rgba(155,39,255,0.12)); display: flex; align-items: center; justify-content: center; }
.tvb-check svg { display: block; }
.tvb-card-note { padding: 24px 28px; font-size: 16px; line-height: 1.55; color: var(--text-muted); }
.tvb-card-note p { margin: 0; }
.tvb-card-note strong { color: var(--text); }
.tvb-card-note.tvb-row { gap: 16px; }
.tvb-grow { flex: 1 1 280px; }
.tvb-plan-card { flex: 1 1 400px; max-width: 460px; min-width: 0; box-shadow: 0 12px 40px rgba(0,0,0,0.10); padding: 32px 30px; }
.tvb-plan-card .tvb-lead { margin-top: 12px; }
.tvb-plan-card > .tvb-btn-block { margin-top: 20px; }
.tvb-plans { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tvb-plan { border-radius: 16px; border: 1.5px solid var(--border); background: var(--white); padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.tvb-plan:has(input:checked) { border: 2px solid var(--purple); padding: 13.5px 15.5px; box-shadow: 0 0 0 4px rgba(155,39,255,0.10); background: var(--purple-tint); }
.tvb-plan input { margin: 4px 0 0; accent-color: var(--purple); flex: none; }
.tvb-plan-text { flex-grow: 1; min-width: 0; }
.tvb-plan-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.tvb-plan-sub { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-muted); }
.tvb-badge { padding: 3px 10px; border-radius: var(--radius-pill); background: linear-gradient(135deg, rgba(0,194,255,0.14), rgba(155,39,255,0.14)); color: var(--purple-hover); font-size: 11.5px; font-weight: 700; }
.tvb-plan-price { flex: none; text-align: right; }
.tvb-plan-amount { display: block; font-size: 22px; font-weight: 700; }
.tvb-plan-per { display: block; font-size: 12px; color: var(--text-muted); }
.tvb-qty { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tvb-qty-label { font-weight: 600; font-size: 15px; }
.tvb-stepper { display: flex; align-items: center; gap: 6px; flex: none; }
.tvb-step { width: 40px; height: 40px; padding: 0; border-radius: 20px; border: 1.5px solid var(--border); background: var(--white); color: var(--text); font: 600 20px var(--font); line-height: 1; cursor: pointer; }
.tvb-step:hover { border-color: var(--text-muted); }
.tvb-step:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.tvb-stepper input { width: 56px; height: 40px; padding: 0 4px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--white); text-align: center; font: 700 16px var(--font); color: var(--text); -moz-appearance: textfield; appearance: textfield; }
.tvb-stepper input::-webkit-outer-spin-button, .tvb-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tvb-stepper input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-ring); }
.tvb-total { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.tvb-total-label { font-weight: 600; font-size: 15px; }
.tvb-total-value { font-size: 13px; font-weight: 500; color: var(--text-muted); text-align: right; }
.tvb-total-value strong { font-size: 22px; font-weight: 700; color: var(--text); }
.tvb-plan-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.tvb-fine { margin: 12px 0 0; line-height: 1.5; }

/* ---------- small screens (from 360 px) ---------- */
/* ---------- the account page (account.js, step D1: the WebAccount board) ---------- */
.tvb-account-email { margin: 6px 0 0; font-size: 15px; color: var(--text-muted); overflow-wrap: anywhere; }
.tvb-banner-test + [data-tvb-account] { margin-top: 24px; }
/* the date stays on one line while there is room (dd grows to its full width first); the label never gets narrower
   than its longest word, and the value wraps when both can't fit */
.tvb-card-side .tvb-dl { grid-template-columns: minmax(min-content, 1fr) auto; column-gap: 12px; }
.tvb-banners .tvb-banner { overflow-wrap: anywhere; }
.tvb-card-side .tvb-btn-block { padding-left: 16px; padding-right: 16px; }
.tvb-card-side .tvb-portal-form > .tvb-btn-block { margin-top: 10px; }
.tvb-banners { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.tvb-banners .tvb-actions { margin-top: 12px; }
.tvb-banner-links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.tvb-account-layout { margin-top: 24px; }
.tvb-account-layout .tvb-plan-card { max-width: none; flex: none; }
.tvb-inline-form { display: inline; margin: 0; }
.tvb-link { display: inline; padding: 0; border: 0; background: none; color: var(--purple); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.tvb-link:hover { color: var(--purple-hover); }
.tvb-link:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 4px; }
.tvb-link-strong { text-decoration: none; }
.tvb-link-strong:hover { text-decoration: underline; }
.tvb-note-card { margin-top: 16px; padding: 12px 16px; font-size: 14px; border-radius: var(--radius-sm); }
.tvb-note-card:focus { outline: none; }
.tvb-card-side > .tvb-note-card:first-child { margin: 0 0 16px; }
.tvb-account-head + .tvb-note-card, .tvb-banners + .tvb-note-card { margin-top: 16px; }
.tvb-mt-xxs { margin-top: 4px; }
.tvb-mt-xs { margin-top: 10px; }
.tvb-mt-md { margin-top: 20px; }
.tvb-center { text-align: center; }
.tvb-portal-form .tvb-form-error { margin-top: 12px; font-size: 14px; text-align: left; }
.tvb-big-line { margin: 8px 0 0; font-size: 15px; color: var(--text-muted); }
.tvb-big-line strong { font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--text); }
.tvb-meter > span { width: 0; transition: width .4s; }
.tvb-side-note { margin-top: 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: #FFF8EB; color: #5C3B00; font-size: 14px; line-height: 1.45; }
.tvb-side-note strong { color: #3D2700; }
.tvb-side-text { margin: 8px 0 0; font-size: 15px; color: var(--text-2); }
.tvb-side-foot { margin: 0; }
.tvb-side-foot a { font-weight: 600; }
.tvb-side-foot strong { font-weight: 400; color: var(--text-muted); }
.tvb-caption.tvb-mt-xs { margin-bottom: 0; }
/* the side card of a managed (invoice deal) account: the board's "deal account" variant (step D2) */
.tvb-big-line-deal strong { font-size: 32px; }
.tvb-card-side .tvb-dl-deal { margin-top: 14px; }
.tvb-deal-renewal { margin: 8px 0 0; text-align: right; }
.tvb-card-deal .tvb-btn-outline.tvb-mt-md { margin-top: 18px; }
.tvb-deal-full { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; font-size: 14px; }
.tvb-deal-full > span { flex: 1 1 240px; }
.tvb-deal-full .tvb-btn { flex: none; }
.tvb-more-qty { margin-top: 18px; }
.tvb-more-qty .tvb-stepper input { width: 84px; }
/* connected headsets */
.tvb-hs-totals { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13.5px; }
.tvb-online { color: var(--online); font-weight: 600; }
.tvb-online-none { color: var(--text-muted); }
.tvb-connect { margin-top: 18px; border-radius: 16px; background: var(--gradient-tint-soft); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.tvb-connect-text { flex: 1 1 220px; }
.tvb-connect-title { font-weight: 700; font-size: 16px; }
.tvb-connect-text .tvb-small { margin-top: 2px; }
.tvb-connect-row { display: flex; gap: 10px; min-width: 0; }
.tvb-connect .tvb-form-error { flex: 1 1 100%; margin-top: 0; font-size: 14px; }
.tvb-code { width: 212px; min-width: 0; height: 50px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--white); color: var(--text); text-align: center; text-transform: uppercase; letter-spacing: 0.22em; font: 700 22px var(--font); padding: 0 8px; }
.tvb-code::placeholder { color: var(--dot-off); }
.tvb-code:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-ring); }
.tvb-btn-code { height: 50px; padding: 0 26px; font-size: 16px; flex: none; }
.tvb-hs-search { position: relative; margin-top: 18px; }
.tvb-hs-search .tvb-input { padding-left: 42px; }
.tvb-hs-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--caption); pointer-events: none; }
.tvb-hs-list { margin: 18px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 14px; }
/* no overflow: hidden on the list (the ⋯ menu opens past it): the first and last rows carry the corners */
.tvb-hs-list > li:first-child, .tvb-hs-list > li:first-child > .tvb-hs-row { border-top-left-radius: 13px; border-top-right-radius: 13px; }
.tvb-hs-list > li:last-child, .tvb-hs-list > li:last-child > .tvb-hs-confirm { border-bottom-left-radius: 13px; border-bottom-right-radius: 13px; }
.tvb-hs-list > li + li { border-top: 1px solid var(--row-line); }
.tvb-hs-row { padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.tvb-dot { flex: none; width: 9px; height: 9px; border-radius: 5px; background: var(--dot-off); }
.tvb-dot-on { background: var(--online); }
.tvb-hs-who { flex-grow: 1; min-width: 0; font-size: 15px; color: var(--text-muted); overflow-wrap: anywhere; }
.tvb-hs-name { color: var(--text); }
.tvb-hs-sub { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; }
.tvb-warn { color: #B45309; }
.tvb-menu-wrap { position: relative; flex: none; }
.tvb-btn-icon { cursor: pointer; line-height: 1; }
.tvb-btn-icon:hover { border-color: var(--border); }
.tvb-btn-icon:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.tvb-menu { position: absolute; right: 0; top: 42px; z-index: 20; min-width: 180px; padding: 6px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tvb-menu button { padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; font: 500 14.5px var(--font); color: var(--text); cursor: pointer; }
.tvb-menu button:hover, .tvb-menu button:focus-visible { background: var(--off-white); outline: none; }
.tvb-menu .tvb-menu-danger { color: var(--danger); }
.tvb-hs-form { padding: 0 16px 14px 37px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tvb-hs-form .tvb-input { flex: 1 1 220px; width: auto; }
.tvb-input-sm { height: 40px; }
.tvb-hs-form .tvb-form-error { flex: 1 1 100%; margin-top: 4px; font-size: 14px; }
.tvb-hs-confirm { padding: 14px 16px; background: var(--danger-tint); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid var(--row-line); }
.tvb-hs-confirm-text { flex: 1 1 260px; font-size: 15px; color: var(--text-2); overflow-wrap: anywhere; }
.tvb-hs-confirm-text strong { color: var(--text); }
.tvb-hs-confirm-btns, .tvb-confirm-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.tvb-hs-confirm .tvb-form-error { flex: 1 1 100%; margin-top: 0; font-size: 14px; }
.tvb-hs-more { padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--text-muted); background: var(--off-white); }
.tvb-hs-foot { margin: 14px 0 0; font-size: 13.5px; }
.tvb-empty { margin: 18px 0 0; padding: 18px 20px; border: 1px dashed var(--border); border-radius: 14px; font-size: 15px; color: var(--text-muted); }
/* connect key */
.tvb-key-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tvb-key { flex: 1 1 240px; min-width: 0; height: 46px; border-radius: var(--radius-sm); background: var(--off-white); padding: 0 14px; display: flex; align-items: center; font: 600 15px ui-monospace, Menlo, Consolas, monospace; color: var(--text-2); overflow-wrap: anywhere; }
.tvb-key-row .tvb-btn { padding: 12px 20px; }
.tvb-key-row .tvb-btn-outline { padding: 10.5px 20px; }
.tvb-key-row .tvb-form-error { flex: 1 1 100%; margin-top: 4px; font-size: 14px; }
.tvb-confirm { margin-top: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: #FFF8EB; color: #5C3B00; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 14.5px; }
.tvb-confirm > span:first-child { flex: 1 1 260px; }
.tvb-confirm .tvb-form-error { flex: 1 1 100%; margin-top: 0; }
.tvb-key-how { margin: 12px 0 0; font-size: 14px; }
/* email address */
.tvb-email-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.tvb-email-text { flex: 1 1 320px; min-width: 0; }
.tvb-email-text .tvb-small { font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.tvb-email-text strong { color: var(--text); }
.tvb-email-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tvb-pending { overflow-wrap: anywhere; }
.tvb-delete-row { display: flex; justify-content: flex-end; }
/* the modals of the account page */
body.tvb-modal-open { overflow: hidden; }
.tvb-modal { max-height: calc(100vh - 48px); overflow-y: auto; }
.tvb-modal .tvb-fields { margin-top: 18px; }
.tvb-modal .tvb-form-error { margin-top: 16px; font-size: 14px; }
.tvb-stepper-lg { margin-top: 20px; justify-content: center; }
.tvb-stepper-lg input { width: 84px; height: 48px; font-size: 20px; }
.tvb-stepper-lg .tvb-step { width: 48px; height: 48px; border-radius: 24px; font-size: 20px; }
.tvb-change-sum { margin: 16px 0 0; line-height: 1.5; text-align: center; }
.tvb-change-sum strong { color: var(--text); }
.tvb-choose { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); max-height: 240px; overflow-y: auto; min-width: 0; }
.tvb-choose-head { padding: 0; font-size: 14px; font-weight: 600; }
.tvb-check-line { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 15px; overflow-wrap: anywhere; }
.tvb-check-line input { accent-color: var(--danger); width: 18px; height: 18px; flex: none; }
.tvb-terms-line { margin-top: 18px; align-items: flex-start; padding: 0; font-size: 14px; color: var(--text-2); }
.tvb-terms-line input { accent-color: var(--purple); margin-top: 1px; }
.tvb-terms-line a { font-weight: 600; }
.tvb-list { margin: 14px 0 0; padding-left: 20px; font-size: 15px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.tvb-tabs { margin-top: 16px; display: flex; gap: 6px; padding: 4px; border-radius: var(--radius-pill); background: var(--off-white); }
.tvb-tab { flex: 1 1 0; padding: 9px 12px; border: 0; border-radius: var(--radius-pill); background: transparent; font: 600 14px var(--font); color: var(--text-muted); cursor: pointer; }
.tvb-tab[aria-selected="true"] { background: var(--white); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.10); }
.tvb-tab:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.tvb-steps { margin: 16px 0 0; padding-left: 22px; font-size: 15px; color: var(--text-2); display: flex; flex-direction: column; gap: 10px; }
.tvb-steps strong { color: var(--text); }
.tvb-path { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--off-white); font: 500 13px ui-monospace, Menlo, Consolas, monospace; color: var(--text); overflow-wrap: anywhere; }
.tvb-path-note { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text-muted); }

@media (max-width: 760px) {
  .tvb-main { padding: 36px 16px 64px; }
  .tvb-nav-inner { padding: 0 16px; }
  .tvb-nav-mobile { padding: 8px 16px 20px; }
  .tvb-card { padding: 28px 20px; }
  .tvb-card-section, .tvb-card-side { padding: 24px 20px; }
  .tvb-h1 { font-size: 28px; }
  .tvb-h1-page { font-size: 32px; }
  .tvb-cards-auth { gap: 20px; }
  .tvb-cards-auth > .tvb-card { flex-basis: 100%; }
  .tvb-layout-side { max-width: none; }
  .tvb-footer { padding: 48px 16px; }
  /* wrapped footer links: no separator dangling at the start of a line */
  .tvb-footer-links { column-gap: 18px; row-gap: 6px; }
  .tvb-footer-links li + li::before { content: none; }
  .tvb-h1-hero { font-size: 34px; }
  .tvb-hero-lead { font-size: 17px; }
  .tvb-subscribe { margin-top: 36px; gap: 20px; }
  .tvb-plan-card { max-width: none; padding: 24px 20px; }
  .tvb-card-note { padding: 20px; }
  .tvb-connect { padding: 16px; }
  /* the code field keeps room for a whole code ("WMW MWM"): the button goes below it when both don't fit */
  .tvb-connect-row { flex: 1 1 100%; flex-wrap: wrap; }
  .tvb-code { flex: 1 1 200px; width: auto; }
  .tvb-btn-code { padding: 0 20px; flex: 1 0 auto; }
  .tvb-hs-row { padding: 12px 14px; }
  .tvb-hs-form { padding: 0 14px 12px; }
  .tvb-email-btns { flex: 1 1 100%; }
  .tvb-modal { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
