/*
 * BoGazon Site — module robin : lanceur et panneau Paul, formulaires (rappel, échantillons, accès Portail Pro,
 * installateur), pages /espace-pro/ et /reseau-installateur-revendeur/.
 * S'appuie sur base.css (.bgs-field, .bgs-check, .bgs-choices, .bgs-form-row, .bgs-alert, .bgs-modal, .bgs-faq,
 * .bgs-btn, .bgs-card) et n'utilise que les variables de tokens.css. Mobile d'abord, cibles ≥ 44 px.
 *
 * Sommaire : 1. Lanceur · 2. Panneau · 3. Conversation · 4. Aide (FAQ, raccourcis) · 5. Formulaires
 *            6. Modales · 7. Pages · 8. Mouvement réduit
 */

/* ======================================================================
 * 1. Lanceur — bas droite, au-dessus de la barre d'action mobile du module theme (.bgs-actionbar).
 *    Hauteur de la barre : --bgs-actionbar-height (64 px par défaut si le module theme ne la fournit pas).
 * ====================================================================== */
.rb-root {
	--rb-bottom: calc(var(--bgs-space-4) + env(safe-area-inset-bottom, 0px));
	--rb-right: var(--bgs-space-4);
	position: fixed;
	right: var(--rb-right);
	bottom: var(--rb-bottom);
	z-index: var(--bgs-z-overlay, 1000);
	font-family: var(--bgs-font);
}
@media (max-width: 1023.98px) {
	body:has(.bgs-actionbar) .rb-root { --rb-bottom: calc(var(--bgs-actionbar-height, 64px) + var(--bgs-space-3) + env(safe-area-inset-bottom, 0px)); }
}

.bgs .rb-launcher {
	display: inline-flex; align-items: center; gap: var(--bgs-space-3);
	min-height: 52px; padding: var(--bgs-space-2) var(--bgs-space-4) var(--bgs-space-2) var(--bgs-space-2);
	border: 1px solid var(--bgs-line); border-radius: 999px;
	background: var(--bgs-surface); color: var(--bgs-ink);
	box-shadow: var(--bgs-shadow);
	cursor: pointer; text-align: left;
	transition: box-shadow var(--bgs-dur) var(--bgs-ease), transform var(--bgs-dur) var(--bgs-ease);
}
.bgs .rb-launcher:hover { box-shadow: var(--bgs-shadow-lg); }
.bgs .rb-launcher__icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--bgs-green); color: var(--bgs-on-green);
}
.bgs .rb-launcher__icon .bgs-icon { width: 22px; height: 22px; }
.bgs .rb-launcher__text { display: flex; flex-direction: column; line-height: 1.2; }
.bgs .rb-launcher__title { font-size: var(--bgs-fs-sm); font-weight: var(--bgs-weight-strong); }
.bgs .rb-launcher__sub { font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); }
/* Petit écran : pastille seule (le libellé reste lu par les lecteurs d'écran). */
@media (max-width: 639.98px) {
	.bgs .rb-launcher { padding: var(--bgs-space-1); min-height: 52px; min-width: 52px; justify-content: center; }
	.bgs .rb-launcher__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.rb-root.is-open .rb-launcher { visibility: hidden; }

/* ======================================================================
 * 2. Panneau — non modal sur grand écran, plein écran sur mobile.
 * ====================================================================== */
.bgs .rb-panel {
	position: fixed;
	right: var(--rb-right);
	bottom: var(--rb-bottom);
	display: flex; flex-direction: column;
	width: min(400px, calc(100vw - 2 * var(--bgs-space-4)));
	height: min(640px, calc(100dvh - var(--rb-bottom) - var(--bgs-space-6)));
	background: var(--bgs-surface); color: var(--bgs-ink);
	border-radius: var(--bgs-radius-lg);
	box-shadow: var(--bgs-shadow-lg);
	overflow: hidden;
}
.bgs .rb-panel[hidden] { display: none; }
@media (max-width: 639.98px) {
	.bgs .rb-panel { inset: 0; width: 100vw; height: 100dvh; border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
	html.rb-panel-open, html.rb-panel-open body { overflow: hidden; }
}
.bgs .rb-panel__header {
	display: flex; align-items: center; justify-content: space-between; gap: var(--bgs-space-3);
	padding: var(--bgs-space-3) var(--bgs-space-3) var(--bgs-space-3) var(--bgs-space-5);
	border-bottom: 4px solid var(--bgs-green);
	flex: none;
}
.bgs .rb-panel__title { font-size: var(--bgs-fs-lg); font-weight: var(--bgs-weight-strong); }
.bgs .rb-panel__sub { font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); }
.bgs .rb-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: var(--bgs-tap); height: var(--bgs-tap); padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: var(--bgs-ink);
}
.bgs .rb-icon-btn:hover { background: var(--bgs-surface-alt); }
.bgs .rb-icon-btn .bgs-icon { width: 1.5rem; height: 1.5rem; }
.bgs .rb-chat, .bgs .rb-help { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.bgs .rb-chat[hidden], .bgs .rb-help[hidden] { display: none; }

/* ======================================================================
 * 3. Conversation (mode branché)
 * ====================================================================== */
.bgs .rb-chat__log {
	flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
	display: flex; flex-direction: column; gap: var(--bgs-space-3);
	padding: var(--bgs-space-4);
	background: var(--bgs-surface-alt);
}
.bgs .rb-msg { max-width: 88%; font-size: var(--bgs-fs-sm); line-height: 1.5; }
.bgs .rb-msg > * + * { margin-top: 0.5em; }
.bgs .rb-msg :where(ul) { list-style: disc; padding-left: 1.2em; }
.bgs .rb-msg :where(ol) { list-style: decimal; padding-left: 1.4em; }
.bgs .rb-msg--bot { align-self: flex-start; padding: var(--bgs-space-3) var(--bgs-space-4); background: var(--bgs-surface); border: 1px solid var(--bgs-line); border-radius: var(--bgs-radius) var(--bgs-radius) var(--bgs-radius) var(--bgs-radius-sm); }
.bgs .rb-msg--user { align-self: flex-end; padding: var(--bgs-space-3) var(--bgs-space-4); background: var(--bgs-green-pale); border-radius: var(--bgs-radius) var(--bgs-radius) var(--bgs-radius-sm) var(--bgs-radius); white-space: pre-wrap; }
.bgs .rb-msg--system { align-self: center; max-width: 100%; font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); text-align: center; }
.bgs .rb-msg--card { align-self: stretch; max-width: 100%; padding: var(--bgs-space-3) var(--bgs-space-4); border-left: 4px solid var(--bgs-green-text); background: var(--bgs-surface); }
.bgs .rb-msg--sources { align-self: flex-start; font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); }
.bgs .rb-msg__actions { display: flex; flex-wrap: wrap; gap: var(--bgs-space-2); }
.bgs .rb-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.bgs .rb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--bgs-ink-soft); animation: rb-dot 1.2s infinite ease-in-out; }
.bgs .rb-dots i:nth-child(2) { animation-delay: .15s; }
.bgs .rb-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes rb-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.bgs .rb-chat__suggestions, .bgs .rb-chat__actions {
	display: flex; flex-wrap: wrap; gap: var(--bgs-space-2);
	padding: var(--bgs-space-2) var(--bgs-space-4) 0;
}
.bgs .rb-chat__suggestions:empty { display: none; }
.bgs .rb-chip {
	display: inline-flex; align-items: center; gap: var(--bgs-space-1);
	min-height: 40px; padding: 0.4rem 0.8rem;
	border: 1px solid var(--bgs-line); border-radius: 999px;
	background: var(--bgs-surface); color: var(--bgs-ink);
	font-size: var(--bgs-fs-xs); font-weight: 500; text-align: left;
}
.bgs .rb-chip:hover { border-color: var(--bgs-green-text); color: var(--bgs-green-deep); }
.bgs .rb-chip .bgs-icon { width: 1.1rem; height: 1.1rem; }
.bgs .rb-chip--strong { border-color: var(--bgs-brown); color: var(--bgs-brown); }
.bgs .rb-chat__composer {
	display: flex; align-items: flex-end; gap: var(--bgs-space-2);
	margin: var(--bgs-space-3) var(--bgs-space-4) 0;
	padding: var(--bgs-space-1) var(--bgs-space-1) var(--bgs-space-1) var(--bgs-space-3);
	border: 1px solid var(--bgs-field-border, var(--bgs-ink-soft)); border-radius: var(--bgs-radius);
	background: var(--bgs-surface);
}
.bgs .rb-chat__composer:focus-within { outline: 3px solid var(--bgs-focus); outline-offset: 1px; }
.bgs .rb-chat__input {
	flex: 1; min-height: 40px; max-height: 140px; padding: 0.55rem 0; border: 0; resize: none;
	background: transparent; font: 400 var(--bgs-fs-base)/1.4 var(--bgs-font); color: var(--bgs-ink);
}
.bgs .rb-chat__input:focus { outline: none; }
.bgs .rb-chat__send {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: var(--bgs-tap); height: var(--bgs-tap); border: 0; border-radius: var(--bgs-radius-sm);
	background: var(--bgs-green); color: var(--bgs-on-green);
}
.bgs .rb-chat__send[disabled] { background: var(--bgs-surface-alt); color: var(--bgs-ink-soft); cursor: not-allowed; }
.bgs .rb-chat__legal { padding: var(--bgs-space-2) var(--bgs-space-4) var(--bgs-space-3); font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); }

/* ======================================================================
 * 4. Aide : recherche dans les FAQ du site et raccourcis (Paul éteint ou indisponible)
 * ====================================================================== */
.bgs .rb-help { overflow-y: auto; overscroll-behavior: contain; padding: var(--bgs-space-4); gap: var(--bgs-space-5); }
.bgs .rb-help__notice { padding: var(--bgs-space-3) var(--bgs-space-4); border-left: 4px solid var(--bgs-warning); background: var(--bgs-brown-pale); font-size: var(--bgs-fs-sm); }
.bgs .rb-help__notice[hidden] { display: none; }
.bgs .rb-search { position: relative; margin-top: var(--bgs-space-1); }
.bgs .rb-search__icon { position: absolute; left: 0.75rem; top: 50%; width: 1.25rem; height: 1.25rem; margin-top: -0.625rem; color: var(--bgs-ink-soft); pointer-events: none; }
.bgs .rb-search .bgs-field__input { padding-left: 2.5rem; }
.bgs .rb-faq__count:empty { display: none; }
.bgs .rb-faq { margin-top: var(--bgs-space-2); }
.bgs .rb-faq__heading { margin-bottom: var(--bgs-space-1); font-size: var(--bgs-fs-xs); font-weight: var(--bgs-weight-strong); text-transform: uppercase; letter-spacing: 0.04em; color: var(--bgs-ink-soft); }
.bgs .rb-faq .bgs-faq__q { padding-block: var(--bgs-space-3); font-size: var(--bgs-fs-sm); }
.bgs .rb-faq .bgs-faq__a { padding-bottom: var(--bgs-space-4); font-size: var(--bgs-fs-sm); }
.bgs .rb-faq__source { font-size: var(--bgs-fs-xs); }
.bgs .rb-faq__empty { font-size: var(--bgs-fs-sm); color: var(--bgs-ink-soft); }
.bgs .rb-shortcuts__title { margin-bottom: var(--bgs-space-2); font-size: var(--bgs-fs-sm); font-weight: var(--bgs-weight-strong); }
.bgs .rb-shortcuts__list { display: grid; gap: var(--bgs-space-2); }
.bgs .rb-shortcut {
	position: relative; display: flex; align-items: center;
	min-height: var(--bgs-tap); padding: 0.6rem 2.25rem 0.6rem 0.9rem;
	border: 1px solid var(--bgs-line); border-radius: var(--bgs-radius-sm);
	background: var(--bgs-surface); color: var(--bgs-ink);
	font-size: var(--bgs-fs-sm); font-weight: 500; text-decoration: none;
}
.bgs .rb-shortcut::after {
	content: ""; position: absolute; right: 0.9rem; top: 50%; width: 0.5rem; height: 0.5rem; margin-top: -0.25rem;
	border-top: 2px solid var(--bgs-green-text); border-right: 2px solid var(--bgs-green-text); transform: rotate(45deg);
}
.bgs .rb-shortcut:hover { border-color: var(--bgs-green-text); background: var(--bgs-green-pale); color: var(--bgs-ink); }
.bgs .rb-help__phone { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bgs-space-2); margin-top: var(--bgs-space-4); font-size: var(--bgs-fs-sm); }
.bgs .rb-help__phone > .bgs-icon { width: 1.25rem; height: 1.25rem; color: var(--bgs-green-text); }
.bgs .rb-help__tel { font-weight: var(--bgs-weight-strong); font-size: var(--bgs-fs-base); }
.bgs .rb-help__hours { flex-basis: 100%; font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); }

/* ======================================================================
 * 5. Formulaires (balisage commun de base.css + compléments)
 * ====================================================================== */
.bgs .rb-form { display: block; }
.bgs .rb-form [data-rb-step] > * + * { margin-top: var(--bgs-space-4); }
.bgs .rb-form .bgs-form-row > .bgs-field { margin-top: 0; }
@media (min-width: 900px) { .bgs .rb-form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bgs .rb-form__section { margin-top: var(--bgs-space-6); font-size: var(--bgs-fs-base); font-weight: var(--bgs-weight-strong); text-transform: uppercase; letter-spacing: 0.03em; color: var(--bgs-brown); }
.bgs .rb-form__section:first-child { margin-top: 0; }
.bgs .rb-intro { color: var(--bgs-ink-soft); font-size: var(--bgs-fs-sm); }
.bgs .rb-note { padding: var(--bgs-space-3) var(--bgs-space-4); border-left: 4px solid var(--bgs-green-text); background: var(--bgs-green-pale); font-size: var(--bgs-fs-sm); }
.bgs .rb-note > * + * { margin-top: var(--bgs-space-2); }
.bgs .rb-note[hidden] { display: none; }
.bgs .rb-hint { font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); }

/* Choix en tuiles : modèles d'échantillons sur deux colonnes, choix courts en ligne. */
.bgs .rb-choices .bgs-check.is-disabled { opacity: .55; cursor: not-allowed; }
.bgs .rb-choice__text { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--bgs-space-2); flex: 1; }
.bgs .rb-choice__meta { font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); white-space: nowrap; }
@media (min-width: 560px) {
	.bgs .rb-choices--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bgs .rb-choices--cards > legend, .bgs .rb-choices--cards > .bgs-field__hint, .bgs .rb-choices--cards > .bgs-field__error { grid-column: 1 / -1; }
	.bgs .rb-choices--inline { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
	.bgs .rb-choices--inline > legend, .bgs .rb-choices--inline > .bgs-field__hint, .bgs .rb-choices--inline > .bgs-field__error { grid-column: 1 / -1; }
}
.bgs .rb-slots { border: 0; margin: 0; padding: 0; min-width: 0; }
.bgs .rb-slots__list { margin-top: var(--bgs-space-2); }
@media (min-width: 560px) { .bgs .rb-slots__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bgs .rb-slot-date[hidden] { display: none; }

.bgs .rb-consents > * + * { margin-top: var(--bgs-space-2); }
.bgs .rb-consent + .rb-consent { margin-top: 0; }
.bgs .rb-consent .bgs-check a { white-space: nowrap; }
.bgs .rb-legal { font-size: var(--bgs-fs-xs); color: var(--bgs-ink-soft); }

/* Pot de miel : hors écran, jamais atteignable au clavier. */
.rb-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bgs .rb-turnstile:empty { display: none; }
.bgs .rb-status[hidden] { display: none; }
.bgs .rb-form__actions { display: flex; flex-wrap: wrap; gap: var(--bgs-space-3); align-items: center; }
.bgs .rb-form.is-busy .rb-submit { cursor: progress; }
@media (max-width: 639.98px) { .bgs .rb-form__actions .bgs-btn { flex: 1 1 100%; } }

.bgs .rb-success__title { display: flex; align-items: center; gap: var(--bgs-space-2); font-size: var(--bgs-fs-lg); font-weight: var(--bgs-weight-strong); color: var(--bgs-success); }
.bgs .rb-success__title:focus { outline: none; }
.bgs .rb-success__icon { width: 1.75rem; height: 1.75rem; flex: none; }
.bgs .rb-success__ref { font-size: var(--bgs-fs-sm); color: var(--bgs-ink-soft); }
.bgs .rb-success__ref strong { color: var(--bgs-ink); }
.bgs .rb-cart-status:empty { display: none; }
.bgs .rb-cart-status { font-size: var(--bgs-fs-sm); }
.bgs .rb-cart-status > li + li { margin-top: var(--bgs-space-1); }
.bgs .rb-form [hidden] { display: none !important; }

/* Formulaire inséré par shortcode dans un contenu existant. */
.rb-inline-form { max-width: 46rem; }

/* ======================================================================
 * 6. Modales — complètent .bgs-modal (base.css)
 * ====================================================================== */
.rb-modal .bgs-modal__body { padding-bottom: var(--bgs-space-6); }

/* ======================================================================
 * 7. Pages /espace-pro/ et /reseau-installateur-revendeur/
 * ====================================================================== */
.bgs .rb-hero { background: var(--bgs-green-pale); }
.bgs .rb-hero > .bgs-container > * + * { margin-top: var(--bgs-space-4); }
.bgs .rb-hero__title {
	font-family: var(--bgs-font-display); font-weight: var(--bgs-weight-display);
	font-size: var(--bgs-fs-3xl); line-height: 1.08; text-transform: uppercase; letter-spacing: var(--bgs-tracking-display);
	text-wrap: balance;
}
.bgs .rb-hero__actions { display: flex; flex-wrap: wrap; gap: var(--bgs-space-3); margin-top: var(--bgs-space-5); }
.bgs .rb-page h2,.bgs .rb-page div:where(.gz-hx2) { font-size: var(--bgs-fs-2xl); font-weight: var(--bgs-weight-display); text-transform: uppercase; letter-spacing: var(--bgs-tracking-display); margin-bottom: var(--bgs-space-5); }
.bgs .rb-cards { margin-top: var(--bgs-space-2); }
.bgs .rb-card { gap: var(--bgs-space-3); padding: var(--bgs-space-5); border: 1px solid var(--bgs-line); border-radius: var(--bgs-radius); }
.bgs .rb-card h3,.bgs .rb-card div:where(.gz-hx3) { font-size: var(--bgs-fs-base); font-weight: var(--bgs-weight-strong); text-transform: uppercase; letter-spacing: 0.02em; color: var(--bgs-brown); }
.bgs .rb-card p, .bgs .rb-card li { font-size: var(--bgs-fs-sm); }
.bgs .rb-list { display: grid; gap: var(--bgs-space-2); }
.bgs .rb-list > li { position: relative; padding-left: 1.4em; }
.bgs .rb-list > li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6em; height: 0.6em; background: var(--bgs-green); clip-path: var(--bgs-triangle); }
.bgs .rb-steps { counter-reset: rb-step; display: grid; gap: var(--bgs-space-4); }
.bgs .rb-steps > li { counter-increment: rb-step; position: relative; padding-left: 3rem; min-height: 2.25rem; }
.bgs .rb-steps > li::before {
	content: counter(rb-step); position: absolute; left: 0; top: -0.1rem;
	display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
	background: var(--bgs-green); color: var(--bgs-on-green); font-weight: var(--bgs-weight-strong);
}
.bgs .rb-form-layout { display: grid; gap: var(--bgs-space-6); }
.bgs .rb-form-layout__main > * + * { margin-top: var(--bgs-space-5); }
.bgs .rb-form-layout__aside { display: grid; gap: var(--bgs-space-4); align-content: start; }
.bgs .rb-form-layout__aside > * + * { margin-top: 0; }
.bgs aside.rb-form-layout__aside.bgs-card { padding: var(--bgs-space-5); border: 1px solid var(--bgs-line); border-radius: var(--bgs-radius); }
@media (min-width: 1024px) { .bgs .rb-form-layout { grid-template-columns: minmax(0, 1fr) 340px; } .bgs .rb-form-layout__aside { position: sticky; top: var(--bgs-space-6); } }
.bgs .rb-stats { display: flex; flex-wrap: wrap; gap: var(--bgs-space-5); margin-top: var(--bgs-space-6); }
.bgs .rb-stats > li { font-size: var(--bgs-fs-sm); color: var(--bgs-ink-soft); }
.bgs .rb-stats strong { display: block; font-size: var(--bgs-fs-2xl); font-weight: var(--bgs-weight-display); color: var(--bgs-green-text); }
.bgs .rb-links-grid { display: grid; gap: var(--bgs-space-2) var(--bgs-space-5); }
@media (min-width: 640px) { .bgs .rb-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bgs .rb-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bgs .rb-links-grid a { display: inline-flex; align-items: center; min-height: var(--bgs-tap); }

/* ======================================================================
 * 8. Mouvement réduit
 * ====================================================================== */
@media (prefers-reduced-motion: reduce) {
	.bgs .rb-launcher, .bgs .rb-dots i { transition: none; animation: none; }
}


/* ==========================================================================
   Popup « Être rappelé » — habillage v2 (panneau marque + formulaire)
   ========================================================================== */
#bgs-modal-callback{--cb-green:#1f3d2b;--cb-ink:#12301e;--cb-lime:#8cc152;--cb-line:#d5dbd3;--cb-soft:#f2f8ea}
#bgs-modal-callback.bgs-modal{width:min(920px,calc(100vw - 32px));max-height:min(92vh,780px);border-radius:14px}
#bgs-modal-callback .bgs-modal__dialog{width:100%;max-width:none;display:grid;grid-template-columns:320px minmax(0,1fr);padding:0;border-radius:14px;overflow:hidden;border:0;box-shadow:0 30px 80px rgba(10,25,15,.35)}
#bgs-modal-callback::backdrop{background:rgba(18,30,22,.55)}
#bgs-modal-callback .rb-cb-aside{background:var(--cb-green);color:#fff;padding:40px 32px;display:flex;flex-direction:column;gap:18px}
#bgs-modal-callback .rb-cb-aside__eyebrow{margin:0;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#d9ecc4}
#bgs-modal-callback .rb-cb-aside__title{margin:0;font-family:Instrument,Georgia,serif;font-size:42px;line-height:1.05;color:#fff}
#bgs-modal-callback .rb-cb-aside__title em{color:#cfe6b4}
#bgs-modal-callback .rb-cb-aside__text{margin:0;font-size:15px;line-height:1.55;color:rgba(255,255,255,.82)}
#bgs-modal-callback .rb-cb-aside__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:14px;color:rgba(255,255,255,.9)}
#bgs-modal-callback .rb-cb-aside__list li{position:relative;padding-left:26px}
#bgs-modal-callback .rb-cb-aside__list li::before{content:"✓";position:absolute;left:0;top:1px;width:17px;height:17px;border-radius:50%;background:var(--cb-lime);color:var(--cb-ink);font-size:11px;font-weight:700;line-height:17px;text-align:center}
#bgs-modal-callback .rb-cb-aside__call{margin-top:auto;padding-top:20px;border-top:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;gap:4px;font-size:13px;color:rgba(255,255,255,.7)}
#bgs-modal-callback .rb-cb-aside__call a{font-size:24px;font-weight:700;color:#fff;text-decoration:none;letter-spacing:.02em}
#bgs-modal-callback .rb-cb-main{position:relative;display:flex;flex-direction:column;min-width:0;max-height:min(92vh,780px);overflow:auto}
#bgs-modal-callback .bgs-modal__head{border:0;padding:28px 36px 0;background:none}
#bgs-modal-callback .bgs-modal__title{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#5b665e}
#bgs-modal-callback .bgs-modal__close{width:40px;height:40px;border-radius:50%;background:#f1f3ef;color:var(--cb-ink)}
#bgs-modal-callback .bgs-modal__body{padding:18px 36px 32px}
#bgs-modal-callback .bgs-field__req{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#bgs-modal-callback .bgs-field__label{font-size:13px;font-weight:700;color:var(--cb-ink)}
#bgs-modal-callback .bgs-field__input{min-height:48px;border:1px solid var(--cb-line);border-radius:8px;background:#fafbf9;font-size:15px}
#bgs-modal-callback .bgs-field__input:focus{border-color:var(--cb-green);outline:2px solid rgba(140,193,82,.45);outline-offset:1px;background:#fff}
#bgs-modal-callback textarea.bgs-field__input{min-height:76px;height:76px}
#bgs-modal-callback .rb-slots .bgs-field__hint{display:none}
#bgs-modal-callback .rb-slots__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#bgs-modal-callback .rb-choice{margin:0;min-height:52px;padding:10px 12px;border:1px solid var(--cb-line);border-radius:10px;background:#fff;display:flex;align-items:center;cursor:pointer;transition:border-color .15s,background .15s}
#bgs-modal-callback .rb-choice input{position:absolute;opacity:0;pointer-events:none}
#bgs-modal-callback .rb-choice .rb-choice__label{font-size:13px;line-height:1.3;color:var(--cb-ink)}
#bgs-modal-callback .rb-choice:hover{border-color:#a9b8a6}
#bgs-modal-callback .rb-choice:has(input:checked){border:2px solid var(--cb-lime);background:var(--cb-soft);padding:9px 11px}
#bgs-modal-callback .rb-choice:has(input:checked) .rb-choice__label{font-weight:700}
#bgs-modal-callback .rb-choice:has(input:focus-visible){outline:2px solid var(--cb-green);outline-offset:2px}
#bgs-modal-callback .rb-legal{font-size:12px}
#bgs-modal-callback .rb-form__actions button[type=submit]{width:100%;min-height:54px;border:0;border-radius:8px;background:var(--cb-lime);color:var(--cb-ink);font-size:16px;font-weight:700}
#bgs-modal-callback .rb-form__actions button[type=submit]:hover{background:#7db544}
@media (max-width:760px){
#bgs-modal-callback.bgs-modal{width:100vw;max-width:100vw;max-height:100dvh;margin:auto 0 0;border-radius:18px 18px 0 0}
#bgs-modal-callback .bgs-modal__dialog{grid-template-columns:1fr;border-radius:18px 18px 0 0;max-height:100dvh;overflow:auto}
#bgs-modal-callback .rb-cb-aside{padding:20px 20px 18px;gap:6px}
#bgs-modal-callback .rb-cb-aside__eyebrow,#bgs-modal-callback .rb-cb-aside__text,#bgs-modal-callback .rb-cb-aside__call{display:none}
#bgs-modal-callback .rb-cb-aside__title{font-size:30px}
#bgs-modal-callback .rb-cb-aside__title br{display:none}
#bgs-modal-callback .rb-cb-aside__list{flex-direction:row;flex-wrap:wrap;gap:4px 14px;font-size:12px}
#bgs-modal-callback .rb-cb-aside__list li{padding-left:0}
#bgs-modal-callback .rb-cb-aside__list li::before{display:none}
#bgs-modal-callback .rb-cb-main{max-height:none;overflow:visible}
#bgs-modal-callback .bgs-modal__head{padding:16px 20px 0}
#bgs-modal-callback .bgs-modal__body{padding:12px 20px 24px}
#bgs-modal-callback .rb-slots__list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
