/* ==========================================================================
   WEEM — Identidad 2026 "ink + ember", para todo el sitio y el panel admin.
   Es la misma identidad de Operaciones: tinta casi negra, superficies frías,
   ámbar/brasa como único acento y movimiento sobrio. Se carga al final de cada
   página y solo redefine tokens de las hojas existentes más algunos detalles
   comunes (tipografía, botones, tarjetas, foco y entrada animada).
   ========================================================================== */
html:root{
  /* Operaciones / admin / app-shell */
  --bg-adm:#F3F4F6;--bg-ops:#F3F4F6;--panel-adm:#FFFFFF;--panel-ops:#FFFFFF;--topbar:#FFFFFF;--hover:#EEF0F3;--sub-on:#EEF0F3;
  --line-2:#E8EAEE;--line-3:#D6D9E0;--line-ops:#D6D9E0;--line-4:#C5C9D2;--line-5:#9EA4AF;--cool-bg:#F1F3F6;--cool-line:#D6D9E0;--cool-line-2:#D6D9E0;
  --ink-strong:#0B0D12;--ink-2:#2E333C;--ink-3:#2E333C;--muted:#50565F;--muted-2:#5E646E;--muted-3:#5E646E;--dim:#5E646E;
  --accent:#C73A08;--accent-bg:#FFE8DC;--accent-bg-2:#FFF1EA;--accent-line:#FFC9AE;--chip:rgba(11,13,18,.05);
  /* Páginas públicas (layout.css / families.css) */
  --paper:#F3F4F6;--surface:#FFFFFF;--ink:#0B0D12;--secondary:#50565F;--line:#E4E6EB;--brand:#C73A08;--link:#A8320A;
  --c-fono:199 58 8;--c-interactivo:168 50 10;--c-fono-dark:168 50 10;--c-fono-light:199 58 8;--c-fono-text:168 50 10;--c-fono-glow:199 58 8;--c-fono-soft:255 232 220;
  --c-ink-900:243 244 246;--c-ink-800:255 255 255;--c-ink-700:238 240 243;--c-ink-600:214 217 224;--c-ink-500:107 113 123;--c-fore:11 13 18;--c-mute:80 86 95;
  /* Kit (calculadora, evaluador, importación, home, formación) */
  --kit-on-ink:#F3F4F6;--kit-paper:#F3F4F6;--kit-paper2:#EEF0F3;--kit-card:#FFFFFF;--kit-ink:#0B0D12;--kit-ink2:#2E333C;--kit-muted:#50565F;--kit-line:#E4E6EB;
  --c-accion:199 58 8;--c-accion-tinta:168 50 10;--c-paper:243 244 246;
  /* Encabezado y pie compartidos */
  --site-panel:#FFFFFF;--site-panel-ink:#0B0D12;--site-ink:#0B0D12;--site-muted:#50565F;--site-line:#E4E6EB;--site-accent:#C73A08;--site-accent-ink:#FFFFFF;
  --site-focus:#C73A08;--site-wash:rgba(11,13,18,.035);--site-hover:rgba(11,13,18,.06);
  /* Identidad */
  --weem-ember:#C73A08;--weem-glow:rgba(199,58,8,.18);--weem-radius-sm:10px;--weem-radius:14px;--weem-radius-lg:20px;
  --weem-ease:cubic-bezier(.2,.7,.2,1);--weem-shadow:0 1px 2px rgba(11,13,18,.04),0 12px 32px -18px rgba(11,13,18,.18);
  --weem-cn:#0A7EA0;--weem-py:#2F7D1F;
}
html:root[data-theme=dark],html:root.dark{
  --bg-adm:#0A0B0E;--bg-ops:#0A0B0E;--panel-adm:#12141A;--panel-ops:#12141A;--topbar:#0D0F14;--hover:#1A1D24;--sub-on:#181B22;
  --line-2:#22262E;--line-3:#2B3039;--line-ops:#2B3039;--line-4:#3A3F4A;--line-5:#4C525E;--cool-bg:#161922;--cool-line:#252A33;--cool-line-2:#252A33;
  --ink-strong:#FFFFFF;--ink-2:#C9CBD1;--ink-3:#B9BCC4;--muted:#A3A7B0;--muted-2:#8D919B;--muted-3:#8D919B;--dim:#8D919B;
  --accent:#FF7A3D;--accent-bg:#2A160C;--accent-bg-2:#22130B;--accent-line:#5A2A12;--chip:rgba(255,255,255,.07);
  --paper:#0A0B0E;--surface:#12141A;--ink:#ECEDEF;--secondary:#A3A7B0;--line:#1F232B;--brand:#FF7A3D;--link:#FF9A66;
  --c-fono:255 122 61;--c-interactivo:255 154 102;--c-fono-dark:255 154 102;--c-fono-light:255 122 61;--c-fono-text:255 154 102;--c-fono-glow:255 122 61;--c-fono-soft:42 22 12;
  --c-ink-900:10 11 14;--c-ink-800:18 20 26;--c-ink-700:26 29 36;--c-ink-600:43 48 57;--c-ink-500:141 145 155;--c-fore:236 237 239;--c-mute:163 167 176;
  --kit-on-ink:#ECEDEF;--kit-paper:#0A0B0E;--kit-paper2:#12141A;--kit-card:#12141A;--kit-ink:#ECEDEF;--kit-ink2:#C9CBD1;--kit-muted:#A3A7B0;--kit-line:#262A33;
  --c-accion:255 122 61;--c-accion-tinta:255 154 102;--c-paper:10 11 14;--c-ink:18 20 26;
  --site-panel:#12141A;--site-panel-ink:#ECEDEF;--site-ink:#ECEDEF;--site-muted:#A3A7B0;--site-line:#262A33;--site-accent:#FF7A3D;--site-accent-ink:#1A0D05;
  --site-focus:#FF9A66;--site-wash:rgba(255,255,255,.04);--site-hover:rgba(255,255,255,.07);
  --weem-ember:#FF7A3D;--weem-glow:rgba(255,122,61,.28);--weem-shadow:0 1px 2px rgba(0,0,0,.3),0 16px 40px -20px rgba(0,0,0,.7);
  --weem-cn:#3DD6F5;--weem-py:#B8F25C;
}

/* --control is a color in the public layout but a size (44px) in the admin shell: only public pages get it. */
html:root:has(body[data-site-shell]){--control:#6B717B}
html:root[data-theme=dark]:has(body[data-site-shell]){--control:#8D919B}

/* Tipografía: Instrument Sans con números tabulares en cifras. */
html:root body{font-feature-settings:'ss01','cv11';-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body h1,body h2{letter-spacing:-.03em}
body h3{letter-spacing:-.015em}
body :is(.num,.mono,[data-amount],.amount,.kpi-value,.stat-value,td.num,output){font-variant-numeric:tabular-nums}

/* Encabezado compartido: vidrio sobre el contenido, como Operaciones. */
body .site-header{background:color-mix(in srgb,var(--site-panel) 86%,transparent);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--site-line)}
body .site-nav__link{border-radius:10px;transition:background .2s var(--weem-ease),color .2s var(--weem-ease)}
body .site-nav__link[aria-current]{color:var(--site-ink);background:var(--site-hover);box-shadow:inset 0 -2px 0 var(--weem-ember)}
body .site-nav__link[href="/operaciones"]{font-weight:650}
body .site-button{border-radius:12px;transition:transform .2s var(--weem-ease),box-shadow .2s var(--weem-ease),background .2s var(--weem-ease)}
body .site-button:not(.site-button--quiet):hover{transform:translateY(-1px);box-shadow:0 10px 24px -12px var(--weem-glow)}

/* Botones y controles comunes. */
body :is(.btn,.primary-action,.admin-primary,.btn-primary,button.primary,.site-button){border-radius:12px}
body :is(.primary-action,.admin-primary,.btn-primary,.btn.primary){background:var(--weem-ember);border-color:var(--weem-ember);color:#fff}
html:root[data-theme=dark] body :is(.primary-action,.admin-primary,.btn-primary,.btn.primary),html:root.dark body :is(.primary-action,.admin-primary,.btn-primary,.btn.primary){color:#1A0D05}
body :is(.primary-action,.admin-primary,.btn-primary,.btn){transition:transform .2s var(--weem-ease),box-shadow .2s var(--weem-ease),background .2s var(--weem-ease),border-color .2s var(--weem-ease)}
body :is(.primary-action,.admin-primary,.btn-primary):hover{box-shadow:0 10px 24px -12px var(--weem-glow)}
body :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){border-radius:var(--weem-radius-sm)}
body :is(input,select,textarea):focus-visible{outline:0;box-shadow:0 0 0 4px var(--weem-glow);border-color:var(--weem-ember)}
body :is(a,button,summary,[tabindex]):focus-visible{outline:2px solid var(--weem-ember);outline-offset:2px}

/* Tarjetas: radio amplio, borde fino y sombra suave. */
body :is(.card,.kit-card,.oc-card,.landing-chapter .landing-detail,.education-offers article,.application-feature,.result-card,.stat-card,.kpi,.admin-card,.panel-card,.weem-card){border-radius:var(--weem-radius-lg);box-shadow:var(--weem-shadow)}
body ::selection{background:var(--weem-glow)}

/* Pasos del flujo (Evaluar → Calcular → Comparar → Operaciones). */
body :is(.site-steps,.oc-import-steps) a{border-radius:12px;transition:background .2s var(--weem-ease),border-color .2s var(--weem-ease)}
body :is(.site-steps,.oc-import-steps) a[aria-current]{border-color:var(--weem-ember);box-shadow:inset 0 0 0 1px var(--weem-ember)}
body :is(.site-steps__n,.oc-step-number){font-family:'JetBrains Mono',ui-monospace,monospace}
body :is(.site-steps,.oc-import-steps) a[aria-current] :is(.site-steps__n,.oc-step-number){background:var(--weem-ember);color:#fff}

/* Panel admin: misma capa que Operaciones. */
body.ui-app .ui-topbar,body .admin-topbar{background:color-mix(in srgb,var(--topbar) 86%,transparent);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px)}
body.ui-app .ui-rail-nav :is(.nav-item.active,[aria-current=page]){box-shadow:inset 3px 0 0 var(--accent)}
body.ui-app h1{letter-spacing:-.03em}

/* Entrada animada, sobria y desactivable. */
@keyframes weem-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  body > main > section:nth-child(-n+3),body main > .home-opening,body .site-steps,body .oc-import-workflow{animation:weem-rise .55s var(--weem-ease) both}
  body > main > section:nth-child(2){animation-delay:.06s}
  body > main > section:nth-child(3){animation-delay:.12s}
}

/* Pasos del flujo: los no actuales en tinta, el actual con brasa. */
body :is(.site-steps,.oc-import-steps) a:not([aria-current]){color:var(--site-ink)}

/* Sin pantallas de carga (2026-10-20): el panel abre directo. */
#loadingScreen{display:none!important}

/* ==========================================================================
   Densidad (2026-10-20): la herramienta se ve de entrada, sin bajar.
   Títulos y márgenes más contenidos en todas las páginas de la app.
   ========================================================================== */
body[data-site-shell] .site-header__bar{min-height:60px;padding-top:8px;padding-bottom:8px}
body[data-site-shell] main.kit-tool{padding-top:16px}
body[data-site-shell] .site-toolbar{margin-bottom:8px}
body[data-site-shell] .site-steps a{font-size:13.5px}
body[data-site-shell] .kit-tool-direction{margin-top:12px;gap:12px}
body[data-site-shell] .kit-tool-heading h1,body[data-site-shell] main.kit-tool h1{font-size:clamp(26px,2.6vw,36px)!important;line-height:1.1!important;margin:4px 0 6px!important}
body[data-site-shell] .kit-tool-heading p{font-size:15px;margin-top:0}
body[data-site-shell] .family-heading{padding-top:12px;padding-bottom:12px}
body[data-site-shell] .family-heading h1{font-size:clamp(26px,2.8vw,36px)!important;line-height:1.1}
body[data-site-shell] .kit-learning-hero{padding-top:40px!important;padding-bottom:40px!important}
body[data-site-shell] .kit-learning-hero h1{font-size:clamp(34px,4.6vw,60px)!important}
body[data-site-shell] .home-opening{padding-top:32px!important}
body[data-site-shell] .home-opening h1{font-size:clamp(40px,5.6vw,72px)!important}
@media (max-width:700px){
  body[data-site-shell] main.kit-tool{padding-top:8px}
  body[data-site-shell] .kit-tool-heading h1,body[data-site-shell] main.kit-tool h1,body[data-site-shell] .family-heading h1{font-size:26px!important}
}

/* Primera vista de herramientas (2026-10-21): Evaluar, Calcular y Comparar se usan sin bajar.
   Sin migas ni bajada, título corto, pasos y tarjetas más bajas. */
body[data-site-shell] main.kit-tool{row-gap:10px!important;gap:10px!important;padding-top:10px!important}
body[data-site-shell] main.kit-tool .site-toolbar{margin:0!important;min-height:0}
body[data-site-shell] main.kit-tool .site-steps a{min-height:34px!important;padding-top:4px!important;padding-bottom:4px!important;font-size:13px}
body[data-site-shell] main.kit-tool .site-steps__n{width:22px!important;height:22px!important;font-size:11px}
body[data-site-shell] main.kit-tool .btn-auth{min-height:36px!important;padding-top:6px!important;padding-bottom:6px!important}
body[data-site-shell] main.kit-tool .kit-tool-direction{margin:0!important;align-items:center}
body[data-site-shell] main.kit-tool .kit-tool-heading>.mono,body[data-site-shell] main.kit-tool .kit-tool-heading>p{display:none!important}
body[data-site-shell] main.kit-tool .kit-tool-heading h1{font-size:22px!important;line-height:1.2!important;margin:0!important;max-width:none!important}
body[data-site-shell] main.kit-tool .kit-tool-heading h1 br{display:none}
body[data-site-shell] main.kit-tool .product-mode-toggle{padding:3px!important}
body[data-site-shell] main.kit-tool .product-mode-btn{min-height:34px!important;padding-top:4px!important;padding-bottom:4px!important;font-size:13px}
body[data-site-shell] main.kit-tool .kit-step-label{font-size:11px!important;margin:0 0 4px!important}
body[data-site-shell] main.kit-tool :is(.kit-evaluation-product,.card.work-section,.kit-result-empty,.score-bar){padding:14px 18px!important}
body[data-site-shell] main.kit-tool .kit-evaluation-product>:is(.kit-step-label,h2){display:none!important}
body[data-site-shell] main.kit-tool .kit-evaluation-product .product-input{display:flex;align-items:center;gap:12px;margin:0}
body[data-site-shell] main.kit-tool .kit-evaluation-product .product-input label{margin:0;white-space:nowrap;font-weight:600}
body[data-site-shell] main.kit-tool .kit-evaluation-product .product-input input{flex:1;min-height:40px!important;height:40px!important;margin:0!important}
body[data-site-shell] main.kit-tool .evidence-entry h2,body[data-site-shell] main.kit-tool .work-section h2,body[data-site-shell] main.kit-tool .work-section h3{font-size:16px!important;margin:0 0 8px!important}
body[data-site-shell] main.kit-tool .kit-criteria-tabs{margin:0 0 8px!important}
body[data-site-shell] main.kit-tool .kit-criteria-tabs button{min-height:0!important;padding:8px 12px!important}
body[data-site-shell] main.kit-tool input:not([type=checkbox]):not([type=radio]):not([type=range]),body[data-site-shell] main.kit-tool select{min-height:40px!important}
body[data-site-shell] main.kit-tool .kit-step-label,body[data-site-shell] main.kit-tool .criteria-header,body[data-site-shell] main.kit-tool #formGuide{display:none!important}
body[data-site-shell] main.kit-tool .kit-evaluation-product .product-input{display:flex!important;flex-direction:row!important;text-align:left!important}
body[data-site-shell] main.kit-tool .kit-evaluation-product .product-input label{text-align:left!important}
body[data-site-shell] main.kit-tool .criteria-section>*:not(.criteria-header){padding-top:10px!important;padding-bottom:10px!important}
body[data-site-shell] main.kit-tool :is(.form-section-label,.section-title,.work-section>h2,.work-section>h3){font-size:15px!important;margin:6px 0 8px!important;padding:0!important}
body[data-site-shell] main.kit-tool .ig{margin-bottom:8px!important}
body[data-site-shell] main.kit-tool .ig label{margin-bottom:4px!important}
body[data-site-shell] main.kit-tool .data-row{gap:10px!important;margin-bottom:4px!important}
body[data-site-shell] main.kit-tool .kit-result-empty{min-height:0!important}
body[data-site-shell] main.kit-tool .data-row{display:flex!important;flex-wrap:wrap}
body[data-site-shell] main.kit-tool .data-row>.ig{flex:1 1 150px;min-width:0;width:auto!important}
body[data-site-shell] main.kit-tool .data-row>.ig.grow{flex:1 1 240px}
body[data-site-shell] main.kit-tool .kit-fieldset{margin:0 0 8px!important;padding:0!important}
body[data-site-shell] main.kit-tool .kit-fieldset legend{font-size:15px!important;margin:0 0 8px!important;padding:0!important}
body[data-site-shell] main.kit-tool .cbm-input-toggle{margin:0 0 8px!important}
body[data-site-shell] main.kit-tool .cbm-toggle-btn{min-height:34px!important;padding:4px 12px!important}
body[data-site-shell] main.kit-tool .ig{display:flex!important;flex-direction:column;gap:4px!important}
body[data-site-shell] main.kit-tool .ig>label{margin:0!important;line-height:1.3!important;min-height:0!important}
body[data-site-shell] main.kit-tool .ig :is(input,select,.isuf){margin:0!important}
/* El aviso de cookies: una barra baja que no tapa la herramienta. */
body #cookieBanner,body #cookieConsent{padding:8px 14px!important;gap:10px!important;font-size:13px!important}
body :is(#cookieBanner,#cookieConsent) button{min-height:32px!important;padding:4px 14px!important;font-size:13px!important}

/* ==========================================================================
   Biblioteca WEEM UI — un solo tipo de ventana emergente para todo el sitio.
   Cada popup (guía, formación, cotizar, iniciar sesión, salida) usa la misma
   caja, el mismo encabezado, los mismos campos (nombre, correo, WhatsApp) y
   los mismos botones; solo cambia su contenido.
   Tokens: --wui-* · Piezas: fondo, caja, cerrar, marca, título, campo, fila,
   teléfono, botón principal, nota.
   ========================================================================== */
:root{--wui-radius:18px;--wui-field-h:46px;--wui-gap:12px;--wui-pad:24px}
/* Fondo */
body :is(.popup-overlay,.lead-overlay,.modal-overlay,.exit-overlay,#serviceModal){background:rgba(8,9,12,.62)!important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);padding:16px!important}
/* Caja */
body :is(.popup,.lead-popup,.modal-box,.exit-popup,#serviceModal > div){width:min(460px,100%)!important;max-width:460px!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;border:1px solid var(--site-line)!important;border-radius:var(--wui-radius)!important;background:var(--site-panel)!important;color:var(--site-ink)!important;padding:var(--wui-pad)!important;box-shadow:0 30px 80px -30px rgba(0,0,0,.55)!important;outline:0!important;text-align:left}
/* Cerrar */
body :is(.popup-close,.lead-close,.modal-close,.exit-close,#serviceModal > div > button:first-child){position:absolute!important;top:14px!important;right:14px!important;width:34px!important;height:34px!important;min-height:0!important;padding:0!important;border-radius:10px!important;border:1px solid var(--site-line)!important;background:transparent!important;color:var(--site-muted)!important;font-size:18px!important;line-height:1!important;display:grid!important;place-items:center}
body :is(.popup,.lead-popup,.modal-box,.exit-popup,#serviceModal > div){position:relative}
/* Marca: chica, sin bloque */
body :is(.popup-logo,[data-weem-dialog-brand]),body :is(.lead-popup,.modal-box) > div:first-of-type:not(.popup-form-scroll){background:none!important;padding:0!important;margin:0 0 12px!important;min-height:0!important;font-size:15px!important;letter-spacing:.02em;font-weight:800;color:var(--site-ink)!important;border:0!important}
body [data-weem-dialog-brand] img,body .popup-logo img{height:20px!important;width:auto!important}
/* Título y texto */
body :is(.popup,.lead-popup,.modal-box,.exit-popup,#serviceModal > div) :is(h2,h3){font-size:22px!important;line-height:1.2!important;letter-spacing:-.02em;margin:0 40px 6px 0!important;color:var(--site-ink)!important}
body :is(.popup,.lead-popup,.modal-box,.exit-popup,#serviceModal > div) > p,body :is(.popup .subtitle,.modal-sub){font-size:14px!important;line-height:1.5!important;color:var(--site-muted)!important;margin:0 0 16px!important}
/* Campos */
body :is(.popup,.lead-popup,.modal-box,#serviceModal > div) form{display:flex;flex-direction:column;gap:var(--wui-gap)}
body :is(.popup,.lead-popup,.modal-box,#serviceModal > div) form :is(.popup-form-scroll){display:flex;flex-direction:column;gap:var(--wui-gap);max-height:none!important;overflow:visible!important}
body :is(.popup,.lead-popup,.modal-box,#serviceModal > div) label{display:block;font-size:13px!important;font-weight:600!important;color:var(--site-ink)!important;margin:0 0 6px!important;letter-spacing:0!important;text-transform:none!important}
body :is(.popup,.lead-popup,.modal-box,#serviceModal > div) :is(input:not([type=checkbox]):not([type=radio]):not(.oc-contract-field):not([type=hidden]),select,textarea){width:100%!important;min-height:var(--wui-field-h)!important;height:var(--wui-field-h);padding:0 14px!important;border:1px solid var(--site-line)!important;border-radius:12px!important;background:var(--site-wash)!important;color:var(--site-ink)!important;font:inherit!important;font-size:15px!important;box-sizing:border-box}
body :is(.popup,.lead-popup,.modal-box,#serviceModal > div) textarea{height:auto;min-height:88px!important;padding:12px 14px!important}
body :is(.popup,.lead-popup,.modal-box,#serviceModal > div) :is(input,select,textarea)::placeholder{color:var(--site-muted);opacity:.8;font-family:inherit}
body :is(.popup,.lead-popup,.modal-box,#serviceModal > div) :is(input,select,textarea):focus{border-color:var(--weem-ember)!important;box-shadow:0 0 0 4px var(--weem-glow)!important;outline:0!important}
/* Fila de dos campos (nombre + apellido) */
body :is(.popup .row,.popup-form-scroll > div:first-child:has(> div + div),#serviceForm > div:first-child){display:grid!important;grid-template-columns:1fr 1fr;gap:var(--wui-gap)}
@media (max-width:420px){body :is(.popup .row,.popup-form-scroll > div:first-child:has(> div + div),#serviceForm > div:first-child){grid-template-columns:1fr}}
/* Teléfono: código + número en una fila */
body #ccBtn{height:var(--wui-field-h)!important;min-height:var(--wui-field-h)!important;border:1px solid var(--site-line)!important;border-radius:12px!important;background:var(--site-wash)!important;color:var(--site-ink)!important;padding:0 12px!important;display:inline-flex!important;align-items:center;gap:6px;font-size:15px!important}
/* Botón principal */
body :is(.popup,.lead-popup,.modal-box,.exit-popup,#serviceModal > div) :is(button[type=submit],.btn-primary,.btn-red,.popup-submit,.lead-submit){width:100%!important;min-height:48px!important;border-radius:12px!important;border:0!important;background:var(--weem-ember)!important;color:#fff!important;font-weight:650!important;font-size:15px!important;margin-top:4px!important;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
html:root[data-theme=dark] body :is(.popup,.lead-popup,.modal-box,.exit-popup,#serviceModal > div) :is(button[type=submit],.btn-primary,.btn-red,.popup-submit,.lead-submit){color:#1A0D05!important}
/* Nota inferior */
body :is(.popup,.lead-popup,.modal-box,.exit-popup,#serviceModal > div) :is(.popup-note,.privacy,small,form + p,form > p:last-child){font-size:12.5px!important;color:var(--site-muted)!important;text-align:center;margin:10px 0 0!important}
/* WEEM UI — ajustes sobre el sistema .weem-dialog (todas las ventanas comparten estas piezas). */
body :is(.weem-dialog,#serviceModal > div) .weem-dialog-brand{background:none!important;padding:0!important;margin:0 48px 14px 0!important;min-height:0!important;border-radius:0!important}
body :is(.weem-dialog,#serviceModal > div) .weem-dialog-brand img{width:auto!important;height:22px!important;max-height:22px!important}
html:root:not([data-theme=dark]):not(.dark) body :is(.weem-dialog,#serviceModal > div) .weem-dialog-brand img{filter:none!important}
body :is(.weem-dialog,#serviceModal > div) > div:not([class]):not([id]):has(> span > span){display:none!important}
body :is(.weem-dialog,#serviceModal > div) :is(.field,.popup-form-scroll > div,form > div){margin:0!important}
body :is(.weem-dialog,#serviceModal > div) .popup-form-scroll{gap:var(--wui-gap)!important}
body :is(.weem-dialog,#serviceModal > div) .popup-sticky-cta{position:static!important;background:none!important;padding:0!important;margin:4px 0 0!important;border:0!important;box-shadow:none!important}
body :is(.weem-dialog,#serviceModal > div) :is(.popup-sticky-cta p,form > p,.skip){font-size:12.5px!important;line-height:1.4!important;color:var(--site-muted)!important;text-align:center!important;margin:10px 0 0!important}
body :is(.weem-dialog,#serviceModal > div) :is(.btn-submit,#leadSubmitBtn,#svcSubmitBtn,#submitBtn){width:100%!important;min-height:48px!important;border-radius:12px!important;border:0!important;background:var(--weem-ember)!important;color:#fff!important;font-weight:650!important;font-size:15px!important}
html:root[data-theme=dark] body :is(.weem-dialog,#serviceModal > div) :is(.btn-submit,#leadSubmitBtn,#svcSubmitBtn,#submitBtn){color:#1A0D05!important}
body :is(.weem-dialog,#serviceModal > div) .oc-contract-country,body :is(.weem-dialog,#serviceModal > div) #ccBtn{height:var(--wui-field-h)!important;min-height:var(--wui-field-h)!important;border:1px solid var(--site-line)!important;border-radius:12px!important;background:var(--site-wash)!important;color:var(--site-ink)!important;box-shadow:none!important}
body :is(.weem-dialog,#serviceModal > div) .oc-smart-input{height:var(--wui-field-h)!important;border-radius:12px!important;background:var(--site-wash)!important;border-color:var(--site-line)!important;font-size:15px!important}
body :is(.weem-dialog,#serviceModal > div) .success-msg,body :is(.weem-dialog,#serviceModal > div) [id$=Success]{text-align:center}
body :is(.weem-dialog,#serviceModal > div) .weem-dialog-brand span{font-size:12px;font-weight:600;color:var(--site-muted);margin-left:10px;letter-spacing:.04em;text-transform:uppercase}
body :is(.weem-dialog,#serviceModal > div) form > div:empty{display:none!important}
/* Campos originales que el editor accesible reemplaza: ocultos en todas las páginas (antes el inicio los mostraba duplicados). */
body .oc-contract-field:not(.oc-smart-input),body .oc-contract-country{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}
body #serviceModal [for=svcPhone] + div > div:not([class]):not(:has(*)){display:none!important}
body :is(.weem-dialog,#serviceModal > div) form div{margin-top:0!important;margin-bottom:0!important}
body :is(.weem-dialog,#serviceModal > div) form :is(.row,div:has(> div > label) ){gap:var(--wui-gap)}
body #serviceModal div:has(> #svcPhone) > div:not([class]):not(:has(*)){display:none!important}
body :is(.weem-dialog,#serviceModal > div) form{gap:0!important}
body :is(.weem-dialog,#serviceModal > div) form > :is(div,.popup-form-scroll > div):not(:empty){margin-bottom:12px!important}
body :is(.weem-dialog,#serviceModal > div) form .popup-form-scroll{gap:0!important}
body :is(.weem-dialog,#serviceModal > div) form .popup-form-scroll > div:not(:empty){margin-bottom:12px!important}
