/* Revers site theme, concept-3b (dark glass, lavender CTA, Israeli plate). 2026-11-30.
   Loaded last on every public page whose <html> has class "r3b". Text, IDs and markup are unchanged.
   Every rule is scoped to body:not(.a11y-contrast): the accessibility high contrast mode falls back
   to the existing light high contrast styles. Built from src/theme-3b.src.css (html.r3b body:not(.a11y-contrast) = scope prefix). */

html.r3b { background: #0b0b0c; }
html.r3b body.a11y-contrast { min-height: 100dvh; }

html.r3b body:not(.a11y-contrast) {
  color-scheme: dark;
  --ink: #f2f2f3;
  --ink-soft: #b4b4ba;
  --brand: #8b90ff;
  --brand-dark: #a9adff;
  --brand-soft: rgba(109, 119, 255, .16);
  --paper: #171718;
  --white: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.14);
  --ok: #3fe0b0;
  --warn: #ffc35c;
  --input-border: rgba(255,255,255,.22);
  --shadow: 0 18px 40px rgba(0,0,0,.32);
  --radius: 22px;
  --focus: #a9adff;
  --header-h: 100px;
  --nav-auth: #6d77ff;
  --nav-auth-dark: #5b64e6;
  --nav-auth-soft: rgba(109, 119, 255, .16);
  --g: rgba(255,255,255,.06);
  --g2: rgba(255,255,255,.10);
  --s: rgba(255,255,255,.14);
  --cta: linear-gradient(135deg, #5e68f0, #7d83e6);
  --cta-h: linear-gradient(135deg, #4f59df, #6c72d6);
  color: #f2f2f3;
  background-color: #0b0b0c;
  background-image:
    radial-gradient(720px 440px at 72% -8%, rgba(255,255,255,.12), transparent 58%),
    radial-gradient(520px 400px at 12% 42%, rgba(255,255,255,.05), transparent 64%),
    linear-gradient(180deg, #2c2c2e 0, #171718 900px, #0b0b0c 1800px);
  background-repeat: no-repeat;
  min-height: 100dvh;
}
html.r3b body:not(.a11y-contrast) a { color: #a9adff; }
html.r3b body:not(.a11y-contrast) a:hover { color: #d2d4ff; }
html.r3b body:not(.a11y-contrast) h1, html.r3b body:not(.a11y-contrast) h2, html.r3b body:not(.a11y-contrast) h3 { color: #fff; }
html.r3b body:not(.a11y-contrast) h1 { font-weight: 800; letter-spacing: -.02em; }
html.r3b body:not(.a11y-contrast) :focus-visible { outline: 3px solid #a9adff; outline-offset: 3px; }
html.r3b body:not(.a11y-contrast) .btn:focus-visible, html.r3b body:not(.a11y-contrast) .a11y-toggle:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 6px #6d77ff; }
html.r3b body:not(.a11y-contrast) .skip { background: #6d77ff; color: #fff; }

/* ===== header: floating glass bar ===== */
html.r3b body:not(.a11y-contrast) header {
  position: sticky; top: 0; z-index: 20;
  background: transparent; border-bottom: 0; backdrop-filter: none;
  padding: 14px 0 6px;
}
html.r3b body:not(.a11y-contrast) header .wrap.nav {
  min-height: 66px; padding: 8px 16px 8px 12px; border-radius: 20px;
  background: rgba(30,30,32,.72); border: 1px solid var(--s);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
html.r3b body:not(.a11y-contrast) .brand { color: #fff; }
html.r3b body:not(.a11y-contrast) .brand svg {
  width: 42px; height: 36px; padding: 5px 6px; border-radius: 9px; background: #f7f6f2;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 6px 18px rgba(0,0,0,.45); flex: none;
}
html.r3b body:not(.a11y-contrast) .brand strong { color: #8a91ff; font-weight: 800; font-size: 1.35rem; text-shadow: 0 0 16px rgba(85,95,222,.5); }
html.r3b body:not(.a11y-contrast) .brand span { color: #b4b4ba; }
html.r3b body:not(.a11y-contrast) header nav#site-nav a { color: #c4c4c9; font-weight: 500; }
html.r3b body:not(.a11y-contrast) header nav#site-nav a:hover, html.r3b body:not(.a11y-contrast) header nav#site-nav a[aria-current="page"] { color: #fff; }
html.r3b body:not(.a11y-contrast) .header-email { color: #c4c4c9; }
html.r3b body:not(.a11y-contrast) .phone { color: #b4b4ba; font-weight: 500; }
html.r3b body:not(.a11y-contrast) .btn {
  background: var(--cta); color: #fff; border: 0; border-radius: 14px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 4px 14px rgba(109,119,255,.28);
}
html.r3b body:not(.a11y-contrast) .btn:hover { background: var(--cta-h); color: #fff; }
html.r3b body:not(.a11y-contrast) .btn-light, html.r3b body:not(.a11y-contrast) .nav-cta .btn {
  background: var(--g); color: #f2f2f3; border: 1px solid var(--s); box-shadow: none; font-weight: 600;
}
html.r3b body:not(.a11y-contrast) .btn-light:hover, html.r3b body:not(.a11y-contrast) .nav-cta .btn:hover { background: var(--g2); color: #fff; }
html.r3b body:not(.a11y-contrast) .nav-auth, html.r3b body:not(.a11y-contrast) .nav-auth:hover {
  background: var(--cta); border: 0; color: #fff; border-radius: 14px; font-weight: 600;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 4px 14px rgba(109,119,255,.28);
}
html.r3b body:not(.a11y-contrast) .nav-auth.is-in, html.r3b body:not(.a11y-contrast) .nav-auth.is-in:hover { background: var(--g); color: #fff; border: 1px solid var(--s); box-shadow: none; }
html.r3b body:not(.a11y-contrast) .menu-btn { background: var(--g); border: 1px solid var(--s); color: #fff; border-radius: 12px; min-height: 44px; }
html.r3b body:not(.a11y-contrast) .lang-switch, html.r3b body:not(.a11y-contrast) header .lang-switch { background: rgba(0,0,0,.25); border: 1px solid var(--s); }
html.r3b body:not(.a11y-contrast) .lang-switch a { color: #c4c4c9; }
html.r3b body:not(.a11y-contrast) .lang-switch a:hover { background: var(--g2); color: #fff; }
html.r3b body:not(.a11y-contrast) .lang-switch a[aria-current="page"] { background: #f2f2f3; color: #171718; }
html.r3b body:not(.a11y-contrast) .nav-account a { background: var(--g2); }
html.r3b body:not(.a11y-contrast) .nav-account a::before { background: #f2f2f3; }
html.r3b body:not(.a11y-contrast) .nav-account a[aria-current="page"] { background: #6d77ff; }
html.r3b body:not(.a11y-contrast) .nav-account a[aria-current="page"]::before { background: #fff; }
@media (min-width: 901px) {
  html.r3b body:not(.a11y-contrast) header nav#site-nav ul { gap: 8px 16px; }
}
@media (max-width: 900px) {
  html.r3b body:not(.a11y-contrast) { --header-h: 84px; }
  html.r3b body:not(.a11y-contrast) header { padding: 8px 0 0; }
  html.r3b body:not(.a11y-contrast) header .wrap.nav { min-height: 58px; padding: 6px 10px 6px 8px; border-radius: 16px; }
  html.r3b body:not(.a11y-contrast) .brand svg { width: 36px; height: 30px; padding: 4px 5px; border-radius: 8px; }
  html.r3b body:not(.a11y-contrast) .brand strong { font-size: 1.2rem; }
  html.r3b body:not(.a11y-contrast) header nav#site-nav {
    background: #1c1c1e; border: 1px solid var(--s); border-radius: 18px;
    top: calc(100% + 8px); right: 0; left: 0; padding: 14px 16px 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
  }
  html.r3b body:not(.a11y-contrast) header .wrap.nav { position: relative; }
  html.r3b body:not(.a11y-contrast) header nav#site-nav a { color: #f2f2f3; min-height: 44px; display: flex; align-items: center; }
}

/* ===== hero ===== */
html.r3b body:not(.a11y-contrast) .hero { padding-top: 40px; }
html.r3b body:not(.a11y-contrast) .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); color: #f2f2f3;
  border: 1px solid var(--s); border-radius: 999px; padding: 6px 14px; font-weight: 500;
}
html.r3b body:not(.a11y-contrast) .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fe0b0; box-shadow: 0 0 10px rgba(63,224,176,.8); flex: none; }
html.r3b body:not(.a11y-contrast) .lead { color: #c4c4c9; }
html.r3b body:not(.a11y-contrast) .lead strong { color: #fff; }
html.r3b body:not(.a11y-contrast) .slogan {
  color: #8a91ff; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em;
  text-shadow: 0 0 22px rgba(85,95,222,.55);
}

/* ===== cards and surfaces ===== */
html.r3b body:not(.a11y-contrast) .card, html.r3b body:not(.a11y-contrast) .order-card, html.r3b body:not(.a11y-contrast) .step, html.r3b body:not(.a11y-contrast) .trust div, html.r3b body:not(.a11y-contrast) .guides a, html.r3b body:not(.a11y-contrast) .faq details, html.r3b body:not(.a11y-contrast) .report,
html.r3b body:not(.a11y-contrast) .cancel-form, html.r3b body:not(.a11y-contrast) .notice, html.r3b body:not(.a11y-contrast) .legal-toc, html.r3b body:not(.a11y-contrast) .inc-list li, html.r3b body:not(.a11y-contrast) .rep-card, html.r3b body:not(.a11y-contrast) .pk-item, html.r3b body:not(.a11y-contrast) .agr-info details {
  background: var(--g); border: 1px solid var(--s); color: #f2f2f3;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
html.r3b body:not(.a11y-contrast) .card, html.r3b body:not(.a11y-contrast) .order-card, html.r3b body:not(.a11y-contrast) .report { border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
html.r3b body:not(.a11y-contrast) .form-card { background: rgba(255,255,255,.07); }
html.r3b body:not(.a11y-contrast) .form-card p, html.r3b body:not(.a11y-contrast) .hint, html.r3b body:not(.a11y-contrast) .field-help, html.r3b body:not(.a11y-contrast) .form-note, html.r3b body:not(.a11y-contrast) .section-sub, html.r3b body:not(.a11y-contrast) .trust span,
html.r3b body:not(.a11y-contrast) .guides p, html.r3b body:not(.a11y-contrast) .faq details p, html.r3b body:not(.a11y-contrast) .price small, html.r3b body:not(.a11y-contrast) .summary small, html.r3b body:not(.a11y-contrast) .meta, html.r3b body:not(.a11y-contrast) .crumbs, html.r3b body:not(.a11y-contrast) .crumbs a { color: #b4b4ba; }
html.r3b body:not(.a11y-contrast) .guides h3, html.r3b body:not(.a11y-contrast) .trust strong { color: #fff; }
html.r3b body:not(.a11y-contrast) .guides a:hover { border-color: #8b90ff; background: var(--g2); }
html.r3b body:not(.a11y-contrast) .full-card { border: 1px solid rgba(139,144,255,.65); box-shadow: 0 0 0 1px rgba(139,144,255,.25), 0 18px 40px rgba(0,0,0,.3); }
html.r3b body:not(.a11y-contrast) .badge { background: var(--cta); color: #fff; }
html.r3b body:not(.a11y-contrast) .compare li:before { background: #3fe0b0; }
html.r3b body:not(.a11y-contrast) .num { background: rgba(109,119,255,.22); color: #fff; }
html.r3b body:not(.a11y-contrast) .faq summary::after { color: #a9adff; }
html.r3b body:not(.a11y-contrast) .report img { background: #1c1c1e; }
html.r3b body:not(.a11y-contrast) .cta-band { background: linear-gradient(135deg, rgba(109,119,255,.22), rgba(255,255,255,.05)); border: 1px solid var(--s); }
html.r3b body:not(.a11y-contrast) .cta-band p { color: #d0d0d5; }
html.r3b body:not(.a11y-contrast) .cta-band .btn { background: #f2f2f3; color: #171718; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
html.r3b body:not(.a11y-contrast) .cta-band .btn:hover { background: #fff; color: #171718; }

/* ===== forms ===== */
html.r3b body:not(.a11y-contrast) label { color: #e8e8ea; }
html.r3b body:not(.a11y-contrast) input[type="text"], html.r3b body:not(.a11y-contrast) input[type="email"], html.r3b body:not(.a11y-contrast) input[type="tel"], html.r3b body:not(.a11y-contrast) input[type="password"],
html.r3b body:not(.a11y-contrast) input[type="date"], html.r3b body:not(.a11y-contrast) input[type="number"], html.r3b body:not(.a11y-contrast) input[type="search"], html.r3b body:not(.a11y-contrast) textarea, html.r3b body:not(.a11y-contrast) select {
  background: rgba(0,0,0,.3); color: #f2f2f3; border: 1px solid rgba(255,255,255,.28); border-radius: 14px;
}
html.r3b body:not(.a11y-contrast) input::placeholder, html.r3b body:not(.a11y-contrast) textarea::placeholder { color: #9a9aa0; }
html.r3b body:not(.a11y-contrast) input:focus, html.r3b body:not(.a11y-contrast) textarea:focus, html.r3b body:not(.a11y-contrast) select:focus { outline: 3px solid rgba(139,144,255,.7); border-color: #8b90ff; background: rgba(0,0,0,.42); }
html.r3b body:not(.a11y-contrast) input[aria-invalid="true"], html.r3b body:not(.a11y-contrast) textarea[aria-invalid="true"] { border-color: #ff8a8a; }
html.r3b body:not(.a11y-contrast) .check-row input, html.r3b body:not(.a11y-contrast) .agr-choices input { accent-color: #6d77ff; }
html.r3b body:not(.a11y-contrast) .error, html.r3b body:not(.a11y-contrast) .preview-error, html.r3b body:not(.a11y-contrast) .rep-del { color: #ff9b9b; }
html.r3b body:not(.a11y-contrast) .status, html.r3b body:not(.a11y-contrast) .preview-status { color: #e8e8ea; }
html.r3b body:not(.a11y-contrast) .ok-line { color: #3fe0b0; }
html.r3b body:not(.a11y-contrast) .link-btn { color: #a9adff; }

/* Israeli plate for the plate fields (home, order) */
html.r3b body:not(.a11y-contrast) #plate, html.r3b body:not(.a11y-contrast) #pv-plate, html.r3b body:not(.a11y-contrast) #or-plate {
  direction: ltr; text-align: center; color: #111; font-weight: 800; font-size: 1.45rem; letter-spacing: .06em;
  border: 3px solid #111; border-radius: 12px; min-height: 58px; padding: 8px 14px 8px 46px;
  background: #ffd21f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='60'%3E%3Crect width='36' height='60' fill='%231d4fb8'/%3E%3Ctext x='18' y='50' fill='%23fff' font-family='Arial' font-weight='700' font-size='13' text-anchor='middle'%3EIL%3C/text%3E%3C/svg%3E") left center / 34px 100% no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 24px rgba(0,0,0,.35);
}
html.r3b body:not(.a11y-contrast) #plate::placeholder, html.r3b body:not(.a11y-contrast) #pv-plate::placeholder, html.r3b body:not(.a11y-contrast) #or-plate::placeholder { color: #5b4a00; font-weight: 600; font-size: 1rem; letter-spacing: 0; opacity: 1; }
html.r3b body:not(.a11y-contrast) #plate:focus, html.r3b body:not(.a11y-contrast) #pv-plate:focus, html.r3b body:not(.a11y-contrast) #or-plate:focus { background-color: #ffd21f; outline: 3px solid #a9adff; outline-offset: 2px; border-color: #111; }

/* free check result */
html.r3b body:not(.a11y-contrast) .preview-result { background: rgba(109,119,255,.12); border: 1px solid rgba(139,144,255,.35); }
html.r3b body:not(.a11y-contrast) .preview-result dt { color: #b4b4ba; }
html.r3b body:not(.a11y-contrast) .preview-result dd { color: #fff; }
html.r3b body:not(.a11y-contrast) .year-notice { background: rgba(255,195,92,.12); border-color: rgba(255,195,92,.4); color: #ffd58a; }

/* license scan buttons */
html.r3b body:not(.a11y-contrast) .ls-btn { background: var(--g); color: #f2f2f3; border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .ls-btn:hover { background: var(--g2); }
html.r3b body:not(.a11y-contrast) .ls-camera, html.r3b body:not(.a11y-contrast) .ls-upload { background: var(--cta); border-color: transparent; color: #fff; }
html.r3b body:not(.a11y-contrast) .ls-camera:hover, html.r3b body:not(.a11y-contrast) .ls-upload:hover { background: var(--cta-h); }
html.r3b body:not(.a11y-contrast) .ls-hint { color: #b4b4ba; }
html.r3b body:not(.a11y-contrast) .ls-reading { background: rgba(109,119,255,.14); color: #d2d4ff; }
html.r3b body:not(.a11y-contrast) .ls-spin { border-color: rgba(255,255,255,.2); border-top-color: #8b90ff; }
html.r3b body:not(.a11y-contrast) .ls-error { background: rgba(255,120,120,.12); color: #ffb3b3; }
html.r3b body:not(.a11y-contrast) .ls-card { background: rgba(63,224,176,.10); border-color: rgba(63,224,176,.5); color: #d7fff2; }
html.r3b body:not(.a11y-contrast) .ls-note, html.r3b body:not(.a11y-contrast) .ls-dl dt { color: #b8f0de; }
html.r3b body:not(.a11y-contrast) .ls-more { background: var(--g); color: #d7fff2; }
html.r3b body:not(.a11y-contrast) .ls-ask { background: rgba(255,195,92,.14); color: #ffd58a; }
html.r3b body:not(.a11y-contrast) .ls-paid { background: var(--cta); }

/* ===== order page ===== */
html.r3b body:not(.a11y-contrast) .order-steps a, html.r3b body:not(.a11y-contrast) .order-steps .pay-step { background: var(--g); border: 1px solid var(--s); color: #c4c4c9; }
html.r3b body:not(.a11y-contrast) .order-steps a:hover { border-color: #8b90ff; color: #fff; }
html.r3b body:not(.a11y-contrast) .tabs { background: rgba(0,0,0,.25); border: 1px solid var(--s); }
html.r3b body:not(.a11y-contrast) .tabs button { color: #c4c4c9; }
html.r3b body:not(.a11y-contrast) .tabs button[aria-selected="true"] { background: #f2f2f3; color: #171718; }
html.r3b body:not(.a11y-contrast) .summary { color: #f2f2f3; border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .summary strong { color: #fff; }
html.r3b body:not(.a11y-contrast) .summary s { color: #9a9aa0; }
html.r3b body:not(.a11y-contrast) .package-note { color: #ffc35c; }
html.r3b body:not(.a11y-contrast) .done { background: rgba(63,224,176,.10); border: 1px solid rgba(63,224,176,.4); }
html.r3b body:not(.a11y-contrast) .done h3 { color: #3fe0b0; }
html.r3b body:not(.a11y-contrast) .license-guide, html.r3b body:not(.a11y-contrast) .license-guide figcaption { color: #e8e8ea; }
html.r3b body:not(.a11y-contrast) .license-guide-note { color: #ffd58a; }
html.r3b body:not(.a11y-contrast) .coupon-row input { background: rgba(0,0,0,.3); }

/* ===== personal area ===== */
html.r3b body:not(.a11y-contrast) .acc-keep, html.r3b body:not(.a11y-contrast) .rep-pending, html.r3b body:not(.a11y-contrast) .rep-keep-note { background: rgba(255,195,92,.12); border: 1px solid rgba(255,195,92,.4); color: #ffd58a; }
html.r3b body:not(.a11y-contrast) .acc-contact, html.r3b body:not(.a11y-contrast) .rep-vehicle, html.r3b body:not(.a11y-contrast) .rep-card dt, html.r3b body:not(.a11y-contrast) .pk-meta, html.r3b body:not(.a11y-contrast) .pk-empty, html.r3b body:not(.a11y-contrast) .pk-or, html.r3b body:not(.a11y-contrast) .rep-download-hint, html.r3b body:not(.a11y-contrast) .cp-wa-when { color: #b4b4ba; }
html.r3b body:not(.a11y-contrast) .acc-verify, html.r3b body:not(.a11y-contrast) #ac-need-verify, html.r3b body:not(.a11y-contrast) .pk-banner, html.r3b body:not(.a11y-contrast) .pk-panel.is-offer, html.r3b body:not(.a11y-contrast) .cp-new, html.r3b body:not(.a11y-contrast) .pk-offer-ico { background: rgba(109,119,255,.14); border-color: rgba(139,144,255,.35); }
html.r3b body:not(.a11y-contrast) .pk-banner > .pk-ico, html.r3b body:not(.a11y-contrast) .pk-panel h2 .pk-ico, html.r3b body:not(.a11y-contrast) .pk-offer-ico { color: #a9adff; }
html.r3b body:not(.a11y-contrast) .pk-offer .pk-for { color: #c4c7ff; }
html.r3b body:not(.a11y-contrast) .pk-or::before, html.r3b body:not(.a11y-contrast) .pk-or::after { background: var(--s); }
html.r3b body:not(.a11y-contrast) .pk-setpw { border-top-color: var(--s); }
html.r3b body:not(.a11y-contrast) .rep-card { border-width: 1px; border-radius: 18px; }
html.r3b body:not(.a11y-contrast) .rep-card.rep-soon { border-color: #ff8a8a; }
html.r3b body:not(.a11y-contrast) .rep-card.rep-open { border-color: #ffc35c; }
html.r3b body:not(.a11y-contrast) .rep-card.rep-building { border-color: #8b90ff; }
html.r3b body:not(.a11y-contrast) .rep-building-box { background: rgba(109,119,255,.14); border-color: rgba(139,144,255,.35); color: #e8e8ff; }
html.r3b body:not(.a11y-contrast) .rep-left, html.r3b body:not(.a11y-contrast) .rep-soon .rep-left { color: #ff9b9b; }
html.r3b body:not(.a11y-contrast) .rep-license img { border-color: var(--s); background: #1c1c1e; }
html.r3b body:not(.a11y-contrast) .spam-note, html.r3b body:not(.a11y-contrast) .qs-email-line { color: #f2f2f3; }
html.r3b body:not(.a11y-contrast) .cp-new-row code { background: rgba(0,0,0,.35); border-color: var(--s); color: #fff; }
html.r3b body:not(.a11y-contrast) .cp-new-item + .cp-new-item { border-top-color: rgba(139,144,255,.35); }
html.r3b body:not(.a11y-contrast) .cp-table th, html.r3b body:not(.a11y-contrast) .cp-table td { border-bottom-color: var(--s); }
html.r3b body:not(.a11y-contrast) .cp-st-unused { background: rgba(63,224,176,.16); color: #8ff0cf; }
html.r3b body:not(.a11y-contrast) .cp-st-used { background: rgba(255,255,255,.1); color: #d0d0d5; }
html.r3b body:not(.a11y-contrast) .cp-st-disabled { background: rgba(255,120,120,.14); color: #ffb3b3; }
@media (max-width: 700px) { html.r3b body:not(.a11y-contrast) .cp-table tr { background: var(--g); border-color: var(--s); } }

/* ===== articles, guides, legal ===== */
html.r3b body:not(.a11y-contrast) .article-wrap blockquote { background: var(--g); color: #d0d0d5; border-color: #8b90ff; }
html.r3b body:not(.a11y-contrast) .article-wrap table, html.r3b body:not(.a11y-contrast) .legal-wrap table { border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .article-wrap th, html.r3b body:not(.a11y-contrast) .article-wrap td, html.r3b body:not(.a11y-contrast) .legal-wrap th, html.r3b body:not(.a11y-contrast) .legal-wrap td { border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .article-wrap th, html.r3b body:not(.a11y-contrast) .legal-wrap th { background: var(--g2); color: #fff; }
html.r3b body:not(.a11y-contrast) .notice { border-right: 4px solid #8b90ff; }
html.r3b body:not(.a11y-contrast) .notice.warn { border-right-color: #ffc35c; background: rgba(255,195,92,.10); }
html.r3b body:not(.a11y-contrast) .notice.summary { background: rgba(109,119,255,.10); }
html.r3b body:not(.a11y-contrast) .legal-toc { background: var(--g); }
html.r3b body:not(.a11y-contrast) .fill-in { background: rgba(255,210,31,.18); border-color: #ffc35c; color: #fff2bf; }
html.r3b body:not(.a11y-contrast) .lic-item { background: var(--g); border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .lic-item.is-needed { background: rgba(255,195,92,.08); border-color: rgba(255,195,92,.5); }
html.r3b body:not(.a11y-contrast) .lic-item.is-needed .lic-num { background: rgba(255,195,92,.18); color: #ffd58a; box-shadow: 0 0 0 1px #ffc35c; }
html.r3b body:not(.a11y-contrast) .lic-item.is-active { background: rgba(109,119,255,.12); border-color: #8b90ff; }
html.r3b body:not(.a11y-contrast) .lic-need { background: var(--g); border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .lic-howto, html.r3b body:not(.a11y-contrast) .lic-need-legend { color: #b4b4ba; }
html.r3b body:not(.a11y-contrast) .agr-scan, html.r3b body:not(.a11y-contrast) .agr-choices label:has(input:checked) { background: rgba(109,119,255,.14); border-color: rgba(139,144,255,.4); }
html.r3b body:not(.a11y-contrast) .agr-choices label { border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .agr-scan p, html.r3b body:not(.a11y-contrast) .agr-form h3 { color: #f2f2f3; }
html.r3b body:not(.a11y-contrast) .agr-done > h2 { color: #3fe0b0; }
html.r3b body:not(.a11y-contrast) .agr-warn { color: #ffc35c; }
html.r3b body:not(.a11y-contrast) .agr-paper:hover .agr-paper-open, html.r3b body:not(.a11y-contrast) .agr-paper:focus-visible .agr-paper-open { background: rgba(109,119,255,.25); }
html.r3b body:not(.a11y-contrast) .rb-chip { background: #f7f6f2; border-color: rgba(255,255,255,.25); }

/* ===== footer ===== */
html.r3b body:not(.a11y-contrast) footer { color: #b4b4ba; border-top: 1px solid var(--s); background: transparent; }
html.r3b body:not(.a11y-contrast) footer strong { color: #fff; }
html.r3b body:not(.a11y-contrast) footer a { color: #d0d0d5; }
html.r3b body:not(.a11y-contrast) footer a:hover { color: #fff; }

/* ===== accessibility widget ===== */
html.r3b body:not(.a11y-contrast) .a11y-toggle { background: #1c1c1e; color: #fff; border: 1px solid rgba(255,255,255,.35); }
html.r3b body:not(.a11y-contrast) .a11y-panel { background: #1c1c1e; color: #f2f2f3; border: 1px solid var(--s); }
html.r3b body:not(.a11y-contrast) .a11y-panel button { background: var(--g); color: #f2f2f3; border: 1px solid var(--s); }
html.r3b body:not(.a11y-contrast) .a11y-panel button[aria-pressed="true"] { background: var(--cta); color: #fff; border-color: transparent; }

/* links highlight mode stays readable on the dark page */
html.r3b body.a11y-links:not(.a11y-contrast) a { background: #fff3a0; color: #000; }
html.r3b body.a11y-links:not(.a11y-contrast) .btn { background: #0000aa; color: #fff; }

/* LTR (ru) mirrors of the side accents */
html.r3b[dir="ltr"] body:not(.a11y-contrast) .notice { border-right: 1px solid var(--s); border-left: 4px solid #8b90ff; }
html.r3b[dir="ltr"] body:not(.a11y-contrast) .notice.warn { border-left-color: #ffc35c; }
html.r3b[dir="ltr"] body:not(.a11y-contrast) .article-wrap blockquote { border-right: 0; border-left: 4px solid #8b90ff; }
html.r3b[dir="ltr"] body:not(.a11y-contrast) #plate, html.r3b[dir="ltr"] body:not(.a11y-contrast) #pv-plate, html.r3b[dir="ltr"] body:not(.a11y-contrast) #or-plate { padding: 8px 14px 8px 46px; }

/* license guide and sale agreement surfaces */
html.r3b body:not(.a11y-contrast) .lic-figure { background: var(--g); border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .lic-figure figcaption, html.r3b body:not(.a11y-contrast) .lic-mobile-hint { color: #c4c4c9; }
html.r3b body:not(.a11y-contrast) .lic-need-tag, html.r3b body:not(.a11y-contrast) .lic-need ol li::before { background: #8f660e; color: #fff; }
html.r3b body:not(.a11y-contrast) .agr-choices label { background: var(--g); color: #f2f2f3; }
html.r3b body:not(.a11y-contrast) .agr-paper { background: #1c1c1e; border-color: var(--s); }
html.r3b body:not(.a11y-contrast) .agr-paper-open { background: rgba(109,119,255,.16); color: #d2d4ff; border-top-color: var(--s); }
html.r3b body:not(.a11y-contrast) .agr-form input, html.r3b body:not(.a11y-contrast) .agr-form select, html.r3b body:not(.a11y-contrast) .agr-form textarea { background: rgba(0,0,0,.3); color: #f2f2f3; border-color: rgba(255,255,255,.28); }

/* archived report notice (home, order) and /archive-buy: date stays red, readable on dark */
html.r3b body:not(.a11y-contrast) .archive-notice { background: rgba(255,255,255,.07); border: 1px solid rgba(139,144,255,.65); }
html.r3b body:not(.a11y-contrast) .archive-notice .an-title, html.r3b body:not(.a11y-contrast) .archive-notice .an-date, html.r3b body:not(.a11y-contrast) .ab-explain { color: #f2f2f3; }
html.r3b body:not(.a11y-contrast) .archive-notice .an-text, html.r3b body:not(.a11y-contrast) .ab-privacy { color: #b4b4ba; }
html.r3b body:not(.a11y-contrast) .archive-notice .an-date b, html.r3b body:not(.a11y-contrast) .ab-date b { color: #ff6b6b; }
