/* =====================================================================
   Tema zi / noapte (04.11.2026), ca în aplicația WikiDoc.
   Se încarcă ultimul, pe toate paginile (blocul <!-- TEMA --> din tools/antet.py).
   <html data-tema="zi|noapte" data-zi="alb|bleu">: scriptul din <head> o pune înainte de primul paint,
   din localStorage['sh-tema'] sau, fără alegere, din tema sistemului.

   - fundalul: grila care se stinge spre margini, din WikiDoc (app.css, „grila-stinsa”), pe html::before;
   - ziua: fundal bleu #bccce4 (nuanța 30) și panouri G = alb amestecat cu fundalul (#e1e8f3), alese de Ștefan
     pe 06.11.2026 din tools/nuante-test.html; --t-panou înlocuiește, doar ziua, fundalurile albe din toate
     foile de stil (var(--t-panou, <albul vechi>): noaptea variabila lipsește și rămâne valoarea veche);
   - noaptea e paleta aplicațiilor (#0b0f19 / #141e33 / #1e293b / #334155);
   - antetul și subsolul rămân bleumarin în ambele teme, ca bara de sus din aplicații.
   ===================================================================== */

/* Auriul și albastrul (14.11.2026, Ștefan): auriul se citea greu pe fundalul bleu, așa că ziua toate culorile aurii de
   pe site devin albastre, cu excepția barei de navigație de sus. Toate foile de stil folosesc variabilele --aur*
   în loc de codurile aurii; noaptea ele rămân aurii. */
html {
  --aur: #E8B340; --aur-2: #C9941F; --aur-3: #F7D376; --aur-4: #F5C842; --aur-5: #A67200; --aur-6: #B07D12;
  --aur-soft: #FDF4DC; --aur-text: #2b1d02;
  --aur-rgb: 232, 179, 64; --aur2-rgb: 201, 148, 31; --aur3-rgb: 255, 199, 44;
}
html:not([data-tema="noapte"]) {
  --aur: #2563eb; --aur-2: #1e40af; --aur-3: #2563eb; --aur-4: #3b82f6; --aur-5: #1e3a8a; --aur-6: #1e40af;
  --aur-soft: #dbeafe; --aur-text: #ffffff;
  --aur-rgb: 37, 99, 235; --aur2-rgb: 30, 64, 175; --aur3-rgb: 59, 130, 246;
}
/* bara de sus rămâne aurie și ziua: variabilele și cele care le folosesc se redefinesc pe ea */
html:not([data-tema="noapte"]) body > header {
  --aur: #E8B340; --aur-2: #C9941F; --aur-3: #F7D376; --aur-4: #F5C842; --aur-5: #A67200; --aur-6: #B07D12;
  --aur-soft: #FDF4DC; --aur-text: #2b1d02;
  --aur-rgb: 232, 179, 64; --aur2-rgb: 201, 148, 31; --aur3-rgb: 255, 199, 44;
  --accent: var(--aur); --accent-2: var(--aur-2); --accent-soft: var(--aur-soft); --accent-bright: var(--aur-4); --st-gold: var(--aur);
}
/* subsolul e bleumarin: albastrul închis nu s-ar vedea pe el, așa că ziua primește un albastru deschis */
html:not([data-tema="noapte"]) body > footer { --accent: #60a5fa; --st-gold: #60a5fa; --aur: #60a5fa; --aur-rgb: 96, 165, 250; }
/* butoanele care erau aurii cu text închis devin albastre cu text alb */
html:not([data-tema="noapte"]) body > :not(header) .btn-accent { color: #fff; }

html {
  --t-base: #bccce4;
  --t-line: rgba(15, 23, 42, 0.088);
  --t-glow: rgba(37, 99, 235, 0.01);
  --t-surface: #ffffff;
  --t-surface-2: #f6f8fb;
  --t-border: rgba(11, 42, 74, 0.10);
  --t-ink: #0B2A4A;
  --t-ink-2: #3b4a63;
  --t-muted: #5b6779;
  --t-shadow: 0 1px 2px rgba(11, 42, 74, 0.05), 0 14px 32px -22px rgba(11, 42, 74, 0.45);
  background-color: var(--t-base);
}
html:not([data-tema="noapte"]) {
  --t-panou: #e1e8f3;
}
/* petele albastre din panouri, mai stinse pe fundalul bleu */
html:not([data-tema="noapte"]) .design-e :is(section.e-lt, .iso-bar, .wdn .wdn-mu-band) {
  background-image:
    radial-gradient(ellipse 45% 55% at 6% 0%, rgba(37, 99, 235, 0.03), transparent 70%),
    radial-gradient(ellipse 35% 45% at 100% 100%, rgba(24, 95, 165, 0.021), transparent 70%) !important;
}
html[data-tema="noapte"] {
  --t-base: #0b0f19;
  --t-line: rgba(255, 255, 255, 0.045);
  --t-glow: rgba(37, 99, 235, 0.16);
  --t-surface: #141e33;
  --t-surface-2: #1e293b;
  --t-border: #334155;
  --t-ink: #f1f5f9;
  --t-ink-2: #cbd5e1;
  --t-muted: #94a3b8;
  --t-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

/* ---------- fundalul: grila din WikiDoc ---------- */
html::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 0%, var(--t-glow), transparent 70%),
    linear-gradient(to right, var(--t-line) 1px, transparent 1px),
    linear-gradient(var(--t-line) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
html body, html body.design-e, html body.pagina-acasa, html body.design-e.pagina-contact, html body:not(.pagina-acasa):not(.fundal-granulat) {
  background: transparent !important; background-image: none !important;
}
html body.pagina-acasa::before { background-image: none; }

/* ---------- butonul zi / noapte ---------- */
.tema-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0 !important; margin-right: 4px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); color: #e2e8f0; cursor: pointer; transition: background 0.2s, color 0.2s; }
.tema-btn:hover { background: rgba(255, 255, 255, 0.12); color: var(--aur-3); }
.tema-btn svg { width: 18px; height: 18px; }
html[data-tema="noapte"] .tema-btn .tema-luna, html:not([data-tema="noapte"]) .tema-btn .tema-soare { display: none; }
.tema-btn-fix { position: fixed; top: 18px; right: 18px; z-index: 50; background: var(--t-panou, var(--t-surface)); color: var(--t-ink); border-color: var(--t-border); box-shadow: var(--t-shadow); }
.tema-btn-fix:hover { color: var(--aur-2); background: var(--t-surface); }
html[data-tema="noapte"] .tema-btn-fix:hover { color: var(--aur-3); }
.nav-actions { display: flex; align-items: center; }

/* =====================================================================
   ZIUA pe paginile care erau închise: pagina principală, contact, situații critice
   ===================================================================== */
html:not([data-tema="noapte"]) .pagina-acasa { color: var(--t-ink-2); }
html:not([data-tema="noapte"]) .pagina-acasa .acasa { --st-strong: var(--t-ink); --st-text: var(--t-ink-2); --st-muted: var(--t-muted); --st-gold: var(--aur-2); }
/* ziua, titlul și logoul din pagina principală sunt albastre: auriul se citea greu pe fundalul bleu (Ștefan, 14.11.2026) */
html:not([data-tema="noapte"]) .ed-titlu em { color: #1e40af; }
html:not([data-tema="noapte"]) .ed-app { background: var(--t-panou, var(--t-surface)) !important; border-color: var(--t-border) !important; box-shadow: var(--t-shadow); }
html:not([data-tema="noapte"]) .ed-app:hover { border-color: rgba(var(--c-rgb), 0.55) !important; }
html:not([data-tema="noapte"]) .ed-chips span { border-color: var(--t-border); color: var(--t-ink); background: var(--t-panou, var(--t-surface-2)); }
html:not([data-tema="noapte"]) .ed-tag { color: var(--c); }
html:not([data-tema="noapte"]) .ed-rg .ed-tag { color: var(--aur-6); }
html:not([data-tema="noapte"]) .pagina-acasa .ed-act .btn-outline { color: var(--t-ink); background: var(--t-panou, var(--t-surface)); border-color: rgba(11, 42, 74, 0.18); box-shadow: none; }
html:not([data-tema="noapte"]) .pagina-acasa .ed-act .btn-outline:hover { background: var(--t-surface-2); color: var(--t-ink); }
html:not([data-tema="noapte"]) .ed-afla { color: var(--t-ink); }
html:not([data-tema="noapte"]) .ed-app:hover .ed-afla, html:not([data-tema="noapte"]) .ed-afla:hover { color: var(--t-ink); }
html:not([data-tema="noapte"]) .ed-extra { background: var(--t-panou, var(--t-surface)); border-color: var(--t-border); box-shadow: var(--t-shadow); }
html:not([data-tema="noapte"]) .ed-extra a + a { border-left-color: var(--t-border); }
html:not([data-tema="noapte"]) .ed-extra-t { color: var(--t-ink); }
html:not([data-tema="noapte"]) .ed-extra-r small, html:not([data-tema="noapte"]) .ed-extra-sag { color: var(--t-muted); }
html:not([data-tema="noapte"]) .ed-extra-r svg { color: var(--aur-2); }
html:not([data-tema="noapte"]) .ed-eticheta { color: var(--aur-6); }
.logo-zi { display: none !important; }
html:not([data-tema="noapte"]) .logo-zi { display: block !important; }
html:not([data-tema="noapte"]) .logo-noapte { display: none !important; }

/* contact + situații critice, ziua */
html:not([data-tema="noapte"]) .pagina-contact :is(.contact-channel, .contact-info, .contact-form-wrap, .interventie-quick-item, .interventie-form-wrap) {
  background: var(--t-panou, var(--t-surface)) !important; border-color: var(--t-border) !important; box-shadow: var(--t-shadow) !important; color: var(--t-ink-2); }
html:not([data-tema="noapte"]) .pagina-contact :is(h1, h2, h3, h4, .contact-channel h3, .contact-info h4, .contact-form-wrap h2, .interventie-form-wrap h2) { color: var(--t-ink) !important; }
html:not([data-tema="noapte"]) .pagina-contact :is(h1, h2) em { color: var(--aur-2) !important; }
html:not([data-tema="noapte"]) .pagina-contact :is(.contact-header p, .contact-channel p, .contact-form-wrap > p, .contact-form-note, .interventie-header p, .interventie-form-wrap > p, .interventie-critica) { color: var(--t-ink-2) !important; }
html:not([data-tema="noapte"]) .pagina-contact :is(.contact-info-item, .contact-info-item a, .contact-field label) { color: var(--t-ink) !important; border-color: var(--t-border) !important; }
html:not([data-tema="noapte"]) .pagina-contact :is(.contact-channel-target, .interventie-quick-value) { color: var(--aur-6) !important; }
html:not([data-tema="noapte"]) .pagina-contact :is(.contact-info-label, .interventie-quick-label, .article-domain, .interventie-badge) { color: var(--aur-6) !important; }
html:not([data-tema="noapte"]) .pagina-contact .resource-page-back { color: var(--t-muted); }
html:not([data-tema="noapte"]) .pagina-contact .contact-field :is(input, textarea, select) { background-color: var(--t-surface) !important; border-color: rgba(11, 42, 74, 0.18) !important; color: var(--t-ink) !important; }
html:not([data-tema="noapte"]) .pagina-contact .contact-field option { background: #fff; color: var(--t-ink); }
html:not([data-tema="noapte"]) .pagina-contact input[type="date"] { color-scheme: light; }
html:not([data-tema="noapte"]) .pagina-contact .contact-form-status.is-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
html:not([data-tema="noapte"]) .pagina-contact .contact-form-status.is-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* =====================================================================
   NOAPTEA pe paginile deschise: Despre, WikiDoc, REGES-ULTRA, consultanți, prețuri, restul
   ===================================================================== */
html[data-tema="noapte"] .design-e {
  --e-ink: #f1f5f9; --e-ink-2: #cbd5e1; --e-ink-3: #94a3b8; --e-albastru: #7cb2f0; --e-aur-inchis: var(--aur);
  --e-card: #141e33; --e-linie: rgba(255, 255, 255, 0.09); --e-umbra: 0 4px 14px -2px rgba(0, 0, 0, 0.55);
  color: var(--t-ink-2);
}
html[data-tema="noapte"] .design-e section.e-lt { background-color: rgba(20, 30, 51, 0.78) !important; border-color: #25334a !important; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.8); }
html[data-tema="noapte"] .design-e :is(.e-row, .feature-card, .sec-item, .problem-card, .wdn-card, .wdn-step, .wdn-plan, .persona, .domain-card, .how-step, .e-d, .resource-card,
  .wdn-faq, .faq-list, .e-cifre > div, .wdn-about-facts div, .wdn-stat, .iso-bar, .wdn-mu-band, .wdn-calc-out, .wdn-check, .pricing-commitment, .about-stat, .wdn-portfolio-row, .wdn-integr) {
  background-color: var(--t-panou, var(--t-surface)) !important; border-color: var(--t-border) !important; box-shadow: var(--t-shadow) !important; }
html[data-tema="noapte"] .design-e :is(h1, h2, h3, h4, h5, .section-title, .e-hero h1, .wdn h1, .wdn h2, .wdn h3, .wdn-plan-name, .faq-q, .wdn-faq summary, .iso-item, .resource-title, .domain-name) { color: var(--t-ink) !important; }
html[data-tema="noapte"] .design-e :is(h1, h2, h3, .section-title) em { color: var(--aur) !important; }
html[data-tema="noapte"] .design-e :is(p, li, .section-sub, .faq-a, .wdn-hero-sub, .wdn-micro span, .wdn-role-sub, .e-ph p, .e-quote p, .wdn-plan-notes, .wdn-note, .iso-item span, .resource-list a, .wdn-calc-det li, .wdn-check span span) { color: var(--t-ink-2) !important; }
html[data-tema="noapte"] .design-e :is(strong, b) { color: var(--t-ink) !important; }
html[data-tema="noapte"] .design-e .e-quote blockquote { color: var(--t-ink); }
html[data-tema="noapte"] .design-e :is(.e-kick, .section-eyebrow, .wdn-eyebrow, .wdn-badge, .e-medalion) { color: #7cb2f0 !important; }
html[data-tema="noapte"] .design-e :is(main, section) a:not(.btn):not(.e-btn):not(.wdn-btn):not(.wdn-role):not(.resource-button):not(.e-d):not(.ed-link):not(.wdn-domain) { color: #7cb2f0; }
html[data-tema="noapte"] .design-e :is(.btn-outline, .e-btn.e-sticla, .wdn-btn-outline, .wdn-hero-links a) { color: #f1f5f9 !important; background: rgba(255, 255, 255, 0.04) !important; border-color: rgba(255, 255, 255, 0.16) !important; }
html[data-tema="noapte"] .design-e a.wdn-role:not(.primary) { background: var(--t-panou, var(--t-surface)) !important; border-color: var(--t-border) !important; color: var(--t-ink) !important; }
html[data-tema="noapte"] .design-e a.wdn-role:not(.primary)::after { background: rgba(255, 255, 255, 0.10) !important; color: #f8fafc !important; }
html[data-tema="noapte"] .design-e a.wdn-role:not(.primary) .wdn-role-sub { color: var(--t-muted) !important; }
html[data-tema="noapte"] .design-e .wdn-btn-despre { background: linear-gradient(180deg, #2a4f80, #1b3f6b) !important; }
html[data-tema="noapte"] .design-e :is(.problem-card.after, .feature-card.highlight, .wdn-step.last, .wdn-plan.featured) { background-color: rgba(var(--aur-rgb), 0.07) !important; border-color: rgba(var(--aur-rgb), 0.45) !important; }
html[data-tema="noapte"] .design-e .problem-card.before { border-left: 3px solid #f87171 !important; }
html[data-tema="noapte"] .design-e .problem-card.before li::before { color: #f87171; }
html[data-tema="noapte"] .design-e .problem-card.after li::before { color: #4ade80; }
html[data-tema="noapte"] .design-e .wdn-hero-links a:hover { background: rgba(255, 255, 255, 0.09) !important; }
html[data-tema="noapte"] .design-e .wdn-hero .wdn-micro span { background: rgba(74, 222, 128, 0.08); border-color: rgba(74, 222, 128, 0.2); }
html[data-tema="noapte"] .design-e .wdn-integr-logo { background: rgba(255, 255, 255, 0.06) !important; }
html[data-tema="noapte"] .design-e .wdn-integr-anaf em, html[data-tema="noapte"] .design-e .wdn-integr-anaf svg { color: #f1f5f9; }
/* SmartBill noaptea: varianta cu textul alb și iconița în culorile ei (smartbill-noapte.svg), nu tot logoul alb (08.11.2026) */
html[data-tema="noapte"] .design-e .wdn-toggle, html[data-tema="noapte"] .design-e .wdn-billing { background: var(--t-panou, var(--t-surface-2)) !important; border-color: var(--t-border) !important; }
html[data-tema="noapte"] .design-e .resource-button { color: var(--t-ink) !important; }
html[data-tema="noapte"] .design-e .wdn-app { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
html[data-tema="noapte"] .design-e .e-emblema { filter: drop-shadow(0 12px 22px rgba(var(--aur-rgb), 0.25)); }

/* paginile simple (termeni, politici, resurse, cercul de încredere, test, 404), noaptea */
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) :is(.article, .legal-article, .static-block, .reason-item, .test-shell, .test-question, .article-related, .static-callout, .static-note) {
  background-color: var(--t-panou, var(--t-surface)) !important; border-color: var(--t-border) !important; box-shadow: var(--t-shadow) !important; }
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main :is(h1, h2, h3, h4, h5, strong, b, .article-title, .legal-article-title, .static-block-title, .reason-item-body strong, .test-question-title) { color: var(--t-ink) !important; }
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main :is(p, li, td, th, .legal-article-meta, .static-intro, .test-question-body, .reason-item-body, .article-body) { color: var(--t-ink-2) !important; }
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main :is(h1, h2) em { color: var(--aur) !important; }
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main a:not(.btn) { color: #7cb2f0; }
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main :is(table, td, th, hr) { border-color: var(--t-border) !important; }
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main .btn-outline { color: #f1f5f9; border-color: rgba(255, 255, 255, 0.2); background: transparent; }
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main .test-btn { background: var(--t-panou, var(--t-surface-2)); color: var(--t-ink); border-color: var(--t-border); }

/* corecturi noaptea (04.11.2026) */
html[data-tema="noapte"] .design-e .wdn > section a.wdn-role:not(.primary) { background: var(--t-panou, var(--t-surface)) !important; border-color: var(--t-border) !important; color: var(--t-ink) !important; box-shadow: var(--t-shadow) !important; }
html[data-tema="noapte"] .design-e .hero-trust-item { color: var(--t-ink-2) !important; }
html[data-tema="noapte"] .design-e :is(.trust-logo, .trust-logos span) { background: var(--t-panou, var(--t-surface)) !important; color: var(--t-ink) !important; border-color: var(--t-border) !important; }
html[data-tema="noapte"] .pagina-contact .contact-localhost-banner, html:not([data-tema="noapte"]) .pagina-contact .contact-localhost-banner { }
html:not([data-tema="noapte"]) .pagina-contact .contact-localhost-banner { background: #fffbeb; border-color: #fde68a; color: #78350f; }
html:not([data-tema="noapte"]) .pagina-contact .contact-localhost-banner :is(strong, code) { color: #451a03; background: rgba(0, 0, 0, 0.05); }

/* noaptea pe pagina WikiDoc: textele pe care wikidoc-nou.css le colorează închis (prețuri, calculator, întrebări, fapte) */
html[data-tema="noapte"] body.design-e .wdn :is(.wdn-price, .wdn-plan-name, .wdn-calc-total, .wdn-calc legend, .wdn-calc-row, .wdn-calc-row span, .wdn-calc-row b, .wdn-faq summary, .wdn-about-facts b, .wdn-integr b, .wdn-persona-rec, .wdn-persona-rec strong) { color: var(--t-ink) !important; }
html[data-tema="noapte"] body.design-e .wdn :is(.wdn-period, .wdn-plan-for, .wdn-price em, .wdn-faq details > div, .wdn-faq details p, .wdn-integr > span:last-child, .wdn-calc-out p, .wdn-note) { color: var(--t-muted) !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-about-facts div { background: var(--t-panou, var(--t-surface)) !important; border-color: var(--t-border) !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-calc-vs { background: rgba(37, 99, 235, 0.16) !important; color: #dbeafe !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-calc-vs strong { color: #fff !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-plan .wdn-btn-outline { color: var(--t-ink) !important; background: transparent !important; border-color: rgba(255, 255, 255, 0.2) !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-toggle button { color: var(--t-muted) !important; background: transparent !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-toggle button.active { color: var(--t-ink) !important; background: var(--t-panou, var(--t-surface-2)) !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-plan li { color: var(--t-ink-2) !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-check input { accent-color: #3b82f6; }
html[data-tema="noapte"] body.design-e .wdn > section .wdn-plan a.wdn-btn.wdn-btn-outline.wdn-btn-outline { color: var(--t-ink) !important; background: transparent !important; border-color: rgba(255, 255, 255, 0.22) !important; }
html[data-tema="noapte"] body.design-e .wdn > section .wdn-plan a.wdn-btn.wdn-btn-outline.wdn-btn-outline:hover { background: rgba(255, 255, 255, 0.08) !important; }

/* fundalul paginilor simple vine din <main>, nu din body: îl lăsăm să vadă grila, în ambele teme */
html main:is(.legal-page-main, .resource-page-main, .static-main, .test-main, .interventie-main, .contact-main) { background: transparent !important; }
/* noaptea: tabelul de comparație (prețuri) și titlurile cardurilor de alegere */
html[data-tema="noapte"] body.design-e .wdn :is(.wdn-table-wrap) { background: var(--t-panou, var(--t-surface)) !important; border-color: var(--t-border) !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-table :is(th, td) { background: transparent !important; color: var(--t-ink-2) !important; border-color: var(--t-border) !important; }
html[data-tema="noapte"] body.design-e .wdn .wdn-table th { background: var(--t-panou, var(--t-surface-2)) !important; color: var(--t-ink) !important; }
html[data-tema="noapte"] body.design-e .wdn > section a.wdn-role:not(.primary) .wdn-role-title { color: var(--t-ink) !important; }
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main em { color: var(--aur); }

/* =====================================================================
   Cardurile de pe pagina principală (06.11.2026): contur în degradeu auriu → albastru și un halou în culoarea
   produsului (auriu REGES-ULTRA, albastru WikiDoc), ca să se desprindă de grilă. Variantele 10 + 4 din comparație.
   ===================================================================== */
html body .acasa .ed-extra { --c-rgb: 11, 42, 74; }
html[data-tema="noapte"] body .acasa .ed-extra { --c-rgb: 148, 163, 184; }
html body .acasa :is(.ed-app, .ed-extra) {
  border: 1.5px solid transparent !important;
  background: linear-gradient(var(--t-panou, var(--t-surface)), var(--t-panou, var(--t-surface))) padding-box, linear-gradient(135deg, var(--aur), #3b82f6) border-box !important;
  box-shadow: 0 0 0 1px rgba(var(--c-rgb), 0.22), 0 22px 60px -16px rgba(var(--c-rgb), 0.55) !important;
}
/* animația de dezvelire: pornește de la marginea cardului (fără bandă de halou în stânga lui) și la final lasă 90px
   în jurul cardului, ca haloul să nu fie tăiat */
@keyframes ed-dezv2 { from { clip-path: inset(0 100% 0 0 round 18px); } to { clip-path: inset(-90px -90px -90px -90px round 18px); } }
html.anim-ed body .acasa .ed-app { clip-path: inset(0 100% 0 0 round 18px); animation-name: ed-dezv2; }

/* cardul mic, pe telefon: linia dintre cele doua parti, ziua */
@media (max-width: 640px) {
  html:not([data-tema="noapte"]) .ed-extra a + a { border-top-color: var(--t-border); }
}

/* corecturi noaptea (08.11.2026): panourile care rămâneau albe noaptea, cu textul deschis al temei peste ele
   (cardurile „01 / 02 / 03” și pastilele de încredere din WikiDoc, blogul, echipa, cercul de încredere, listele din
   politici). Primesc suprafața închisă a aplicațiilor. Machetele de aplicație din REGES-ULTRA rămân albe: arată
   ecranul aplicației, cu textul lor închis. */
html[data-tema="noapte"] .design-e .wdn > section .wdn-problem { background: var(--t-surface) !important; border-color: var(--t-border) !important; box-shadow: var(--t-shadow) !important; }
html[data-tema="noapte"] .design-e .wdn-trust span { background: rgba(255, 255, 255, 0.05); border-color: var(--t-border); color: var(--t-ink-2); }
html[data-tema="noapte"] .design-e .wdn-trust strong { color: var(--t-ink) !important; }
html[data-tema="noapte"] :is(main.blog-page-main, .blog-images) { background: transparent !important; }
html[data-tema="noapte"] :is(.blog-card, .blog-post, .blog-article, .team-card, .reward-list li, .legal-article-body ul) { background: var(--t-surface) !important; border-top-color: var(--t-border) !important; border-right-color: var(--t-border) !important; border-bottom-color: var(--t-border) !important; box-shadow: var(--t-shadow) !important; }
html[data-tema="noapte"] .legal-article-body ul { background: var(--t-surface-2) !important; }
html[data-tema="noapte"] :is(.blog-card, .blog-post, .blog-article, .team-card, .reward-list li) :is(h1, h2, h3, h4, strong, b) { color: var(--t-ink) !important; }
html[data-tema="noapte"] :is(.blog-card, .blog-post, .blog-article, .team-card, .reward-list li) :is(p, li, span, div, td, th, small, time) { color: var(--t-ink-2); }
html[data-tema="noapte"] :is(.reward-list li, .legal-article-body ul, .legal-article-body ul li) { color: var(--t-ink-2) !important; }
/* REGES-ULTRA noaptea: în machetele albe ale aplicației textul îngroșat rămâne închis (regula generală pentru strong îl
   făcea alb pe alb); angajamentul de la prețuri primește textul deschis al temei. */
html[data-tema="noapte"] .design-e :is(.app-window, .multi-screen) :is(strong, b) { color: #0B2A4A !important; }
html[data-tema="noapte"] .design-e .pricing-commitment-text, html[data-tema="noapte"] .design-e .pricing-commitment-text * { color: var(--t-ink-2) !important; }
html[data-tema="noapte"] .design-e .pricing-commitment-text :is(strong, b) { color: var(--t-ink) !important; }
/* termenii: textul scris direct în corpul articolului (nu în <p>) rămânea bleumarin; etichetele roșii de domeniu, mai
   deschise noaptea */
html[data-tema="noapte"] body:not(.design-e):not(.pagina-acasa) main .legal-article-body { color: var(--t-ink-2) !important; }
html[data-tema="noapte"] :is(.domain-tag, .article-title-badge) { color: #f87171 !important; }

/* Pagina principală, ziua (14.11.2026, Ștefan): auriul se citea greu pe fundalul bleu, așa că în cardurile celor două
   platforme și în cardul mic auriul devine albastru: textul logourilor (ULTRA, DOC), lebăda din panou, eticheta,
   butonul „Creează cont gratuit”, conturul și haloul. REGES-ULTRA primește un albastru mai închis decât WikiDoc, ca
   cele două carduri să rămână diferite. Noaptea rămâne auriu. */
html:not([data-tema="noapte"]) .acasa .ed-rg { --c: #1e40af; --c-rgb: 30, 64, 175; }
html:not([data-tema="noapte"]) .acasa .ed-rg .ed-tag { color: #1e40af; }
html:not([data-tema="noapte"]) .acasa .ed-extra-r svg { color: #1e40af; }
html:not([data-tema="noapte"]) body .acasa :is(.ed-app, .ed-extra) {
  background: linear-gradient(var(--t-panou, var(--t-surface)), var(--t-panou, var(--t-surface))) padding-box, linear-gradient(135deg, #1e40af, #3b82f6) border-box !important;
}
html:not([data-tema="noapte"]) .acasa .ed-act .btn-accent,
html:not([data-tema="noapte"]) .acasa .ed-act .btn-accent:hover {
  color: #fff;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 8px 20px -8px rgba(37, 99, 235, 0.65);
}

/* Titlurile din cardul mic (Despre Shareal / Situații critice), îngroșate (14.11.2026, Ștefan: literele erau prea
   subțiri). Michroma are o singură grosime, deci îngroșarea se face cu un contur în culoarea textului. Ziua, albastre. */
.acasa .ed-extra-t { -webkit-text-stroke: 0.8px currentColor; paint-order: stroke fill; }
html:not([data-tema="noapte"]) .acasa .ed-extra-t { color: #1e40af; }

/* Cardul mic (14.11.2026, Ștefan): la trecerea cu mouse-ul nuanța e albastră, nu aurie (ziua și noaptea); săgețile din
   colțuri au fost scoase din pagină. */
.acasa .ed-extra a:hover { background: rgba(37, 99, 235, 0.10); }

/* săgeata listelor din formularul Situații critice, ziua albastră (14.11.2026) */
html:not([data-tema="noapte"]) .pagina-interventie .interventie-form .contact-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e40af'%3E%3Cpath d='M8 11.5 3 6.5h10z'/%3E%3C/svg%3E"); }

/* banda de cookie-uri: butonul de acceptare, ziua albastru în loc de galben (14.11.2026); culoarea vine din
   js/cookie-init.js, ca stil al bibliotecii, deci se suprascrie aici */
html:not([data-tema="noapte"]) .cc-window .cc-btn.cc-allow { background-color: #2563eb !important; border-color: #2563eb !important; color: #fff !important; }
html:not([data-tema="noapte"]) .cc-window .cc-btn.cc-allow:hover { background-color: #1e40af !important; border-color: #1e40af !important; }

/* Contact, ziua: „Trimite” din textul formularului era alb pe fundal deschis (regula de noapte din design-e.css) */
html:not([data-tema="noapte"]) .pagina-contact .contact-form-wrap > p strong { color: var(--t-ink); }

/* WikiDoc, cardurile „Pentru firma mea / Pentru clienții mei” (14.11.2026, Ștefan): fără săgeata din cercul din dreapta;
   pe cardul albastru textul mic e alb (negrul nu se vedea bine pe albastru). */
.design-e .wdn a.wdn-role { padding-right: 24px; }
.design-e .wdn a.wdn-role::after { display: none !important; }
html:not([data-tema="noapte"]) body .wdn a.wdn-role.primary,
html:not([data-tema="noapte"]) body .wdn a.wdn-role.primary .wdn-role-title { color: #fff !important; }
html:not([data-tema="noapte"]) body .wdn a.wdn-role.primary .wdn-role-sub { color: rgba(255, 255, 255, 0.88) !important; }

/* Prima pagină (14.11.2026, Ștefan): pastilele „Cont gratuit fără card bancar” / „Date stocate în UE”, mutate de pe
   pagina WikiDoc; același aspect ca acolo (bifă verde, fond verde deschis). */
.ed-garantii { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ed-garantii span { padding: 5px 12px; border-radius: 999px; font-size: 13px; line-height: 1.4; color: var(--t-ink-2); background: rgba(22, 163, 74, 0.08); border: 1px solid rgba(22, 163, 74, 0.18); }
.ed-garantii span::before { content: "✓ "; color: #16a34a; font-weight: 700; }
html[data-tema="noapte"] .ed-garantii span { color: #cbd5e1; background: rgba(74, 222, 128, 0.08); border-color: rgba(74, 222, 128, 0.2); }
html[data-tema="noapte"] .ed-garantii span::before { color: #4ade80; }
html.anim-ed .ed-st > .ed-garantii { animation-delay: calc(var(--ed-p) + 0.7s); }

/* Pastilele de pe prima pagină, mutate sub logoul Shareal și mai vizibile (14.11.2026, Ștefan): fond galben — excepție
   de la regula „ziua fără auriu”, ca să iasă în evidență —, chenar și text albastre. Același aspect ziua și noaptea. */
.ed-logo-wrap { margin-bottom: 14px; }
.ed-garantii { margin: 0 0 clamp(18px, 3.5vh, 36px); gap: 10px; }
.ed-garantii span, html[data-tema="noapte"] .ed-garantii span {
  padding: 6px 14px; font-size: 14px; font-weight: 600; color: #1e40af;
  background: #FEF3C7; border: 1.5px solid #1e40af;
  box-shadow: 0 6px 16px -8px rgba(30, 64, 175, 0.55);
}
.ed-garantii span::before, html[data-tema="noapte"] .ed-garantii span::before { color: #1e40af; }
html.anim-ed .ed-st > .ed-garantii { animation-delay: calc(var(--ed-p) + 0.2s); }

/* Politici și Termeni (14.11.2026, Ștefan): un singur font (Geist) pentru titluri și text, și spații mai mici între
   capitole. Rândurile goale puse cu <br> între blocuri (și după fiecare rând din cuprins) nu se mai afișează; cele din
   interiorul paragrafelor rămân, ele despart ideile. */
.legal-page-main :is(.article-domain, .legal-article-title, .legal-article-meta, .legal-toc h3, .legal-article-body, .legal-article-body :is(h1, h2, h3, h4, h5)) {
  font-family: 'Geist', sans-serif;
}
.legal-page-main .legal-article-title { font-weight: 700; font-size: 34px; letter-spacing: -0.01em; }
.legal-page-main .legal-article-meta { letter-spacing: 0.02em; }
.legal-article-body :is(h1, h2, h3, h4) { font-weight: 700; letter-spacing: 0; }
.legal-article-body > br, .legal-article-body :is(ul, ol) > br { display: none; }
.legal-article-body h1 { font-size: 22px; margin: 30px 0 12px; padding-top: 18px; }
.legal-article-body h1:first-child { margin-top: 0; padding-top: 0; }
.legal-article-body h2 { font-size: 17px; margin: 20px 0 8px; }
.legal-article-body h3 { font-size: 15.5px; margin: 14px 0 4px; }
.legal-article-body p { margin: 0 0 0.8em; }
.legal-article-header { margin-bottom: 24px; padding-bottom: 20px; }

/* Contrast, ziua (14.11.2026, Ștefan: „rezolvă problema de contrast pe toate butoanele”). Găsite cu o verificare
   automată pe toate paginile: unde auriul devenit albastru stătea pe fond bleumarin, sau textul închis pe albastru. */
html:not([data-tema="noapte"]) .design-e .persona-icon { color: #dbeafe; }                       /* I. II. III. pe cercul bleumarin */
html:not([data-tema="noapte"]) .static-callout strong { color: #93c5fd; }                         /* Cercul de încredere, caseta bleumarin */
html:not([data-tema="noapte"]) .faq-item[open] .faq-icon { color: #fff; }                         /* „+” / „−” pe cercul albastru */
html:not([data-tema="noapte"]) body .wdn-plan-tag { color: #fff !important; }                     /* „Recomandat” */
html:not([data-tema="noapte"]) body .wdn a.wdn-btn-ghost-light { color: var(--t-ink) !important; border-color: rgba(11, 42, 74, 0.35) !important; }
html:not([data-tema="noapte"]) body .wdn a.wdn-btn-ghost-light:hover { background: rgba(37, 99, 235, 0.08) !important; }
html:not([data-tema="noapte"]) .acasa .ed-wd .ed-tag { color: #1d4ed8; }                          /* eticheta WikiDoc de pe prima pagină */
html:not([data-tema="noapte"]) .pagina-acasa .acasa .ed-sub { color: var(--t-ink-2); }           /* textul de sub titlul primei pagini */
footer .fb-jos { color: #94a3b8; }                                                                /* adresa din subsol, pe bleumarin */
/* noaptea: „+” din întrebările frecvente și „−10%” de la prețuri, prea stinse pe fondul închis */
html[data-tema="noapte"] .faq-icon { color: #94a3b8; }
html[data-tema="noapte"] .wdn-toggle .save { color: #4ade80; }

/* REGES-ULTRA, capul paginii (14.11.2026): în rama de browser e captura reală a pontajului (firma de test, date
   fictive), în locul machetei vechi desenate din cod. */
.app-window .app-captura { display: block; width: 100%; height: auto; }

/* Prima pagină, cardul WikiDoc (14.11.2026, Ștefan): lista documentelor, ca text mic sub etichete */
.ed-corp .ed-lista { grid-column: 1 / -1; margin: -2px 0 0; font-size: 11.5px; line-height: 1.55; letter-spacing: 0.02em; color: var(--t-ink-2, #3b4a63); }
html[data-tema="noapte"] .ed-corp .ed-lista { color: #cbd5e1; }
.ed-corp .ed-lista span { white-space: nowrap; }
.ed-corp .ed-lista { font-size: 11px; line-height: 1.45; letter-spacing: 0.01em; }
/* cardul WikiDoc are acum mai mult conținut: spații verticale mai mici, ca butoanele să încapă și pe ecrane de laptop */
.acasa .ed-wd .ed-corp { row-gap: 8px; padding-top: clamp(14px, 2vh, 22px); padding-bottom: clamp(14px, 2vh, 22px); }

/* Cardurile de pe prima pagină (14.11.2026, Ștefan): fără „Află mai multe” (tot cardul e legătură), cele două carduri
   egale, iar textele proporționate între ele: eticheta, etichetele rotunjite și lista au aproape aceeași mărime. */
.acasa .ed-tag { font-size: 11.5px; }
.acasa .ed-chips span { font-size: 12.5px; padding: 4px 10px; }
.acasa .ed-corp .ed-lista { font-size: 12.5px; line-height: 1.5; letter-spacing: 0; }
.acasa .ed-corp .ed-logo-app { max-width: 100%; }
.acasa .ed-wd .ed-corp, .acasa .ed-rg .ed-corp { row-gap: 10px; padding-top: clamp(14px, 2vh, 22px); padding-bottom: clamp(14px, 2vh, 22px); }
.acasa .ed-rg .ed-logo-app, .acasa .ed-wd .ed-logo-app { margin: 4px 0 6px; }
.acasa .ed-wd .ed-corp, .acasa .ed-rg .ed-corp { row-gap: 8px; }
/* lista din cardul WikiDoc, cât de mare permite panoul pe toate ecranele măsurate (1280×720 … 2560×1440) */
.acasa .ed-corp .ed-lista { font-size: 13.5px; line-height: 1.45; }

/* Cardul REGES-ULTRA: la trecerea cu mouse-ul, același efect albastru ca la WikiDoc (nu auriu), ziua și noaptea
   (14.11.2026, Ștefan) */
.acasa .ed-rg:hover, .acasa .ed-rg:focus-within { --c: #3b82f6; --c-rgb: 59, 130, 246; }

/* Noaptea, cardul WikiDoc are panoul din stânga (cu lebăda) în același degradeu auriu ca REGES-ULTRA; la trecerea cu
   mouse-ul ambele trec pe degradeul albastru (14.11.2026, Ștefan). Ziua ambele panouri sunt deja albastre. */
html[data-tema="noapte"] .acasa .ed-wd:not(:hover):not(:focus-within) .ed-panou {
  background: linear-gradient(160deg, rgba(232, 179, 64, 0.30), rgba(232, 179, 64, 0.06));
  border-right-color: rgba(232, 179, 64, 0.25);
}

/* Cardurile de pe prima pagină: „Cont gratuit” lipit de stânga, „Intră în cont” de dreapta (14.11.2026, Ștefan) */
.acasa .ed-corp .ed-act { justify-content: space-between; }

/* Cardurile de pe prima pagină: întâi „Intră în cont”, la dreapta „Cont gratuit”; la trecerea cu mouse-ul butoanele
   se schimbă vizibil (14.11.2026, Ștefan) */
.acasa .ed-act .btn { transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s, filter 0.2s; }
.acasa .ed-act .btn:hover { transform: translateY(-2px); }
/* noaptea */
html[data-tema="noapte"] .acasa .ed-act .btn-accent:hover { filter: brightness(1.18) saturate(1.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 2px rgba(247, 211, 118, 0.55), 0 12px 28px -8px rgba(232, 179, 64, 0.9); }
html[data-tema="noapte"] .acasa .ed-act .btn-outline:hover { background: rgba(255, 255, 255, 0.16) !important; border-color: #e2e8f0 !important; color: #fff !important; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8); }
/* ziua */
html:not([data-tema="noapte"]) .acasa .ed-act .btn-accent:hover { background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 55%, #1e3a8a 100%); box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35), 0 12px 28px -8px rgba(30, 64, 175, 0.75); }
html:not([data-tema="noapte"]) .pagina-acasa .ed-act .btn-outline:hover { background: #ffffff !important; border-color: var(--t-ink) !important; color: var(--t-ink) !important; box-shadow: 0 10px 24px -12px rgba(11, 42, 74, 0.5); }

/* Perechea de butoane „Intră în cont” / „Cont gratuit”, la fel peste tot (14.11.2026, Ștefan): copia exactă a
   butoanelor din cardurile primei pagini. Se folosește cu clasele .btn-cont și .btn-gratuit, într-un .pereche-cont. */
.pereche-cont { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
a.btn-cont, a.btn-gratuit {
  display: inline-flex !important; align-items: center; justify-content: center; height: 46px; padding: 0 20px !important;
  border-radius: 12px !important; font: 500 15px/1 'Geist', -apple-system, system-ui, sans-serif !important; letter-spacing: normal;
  text-decoration: none !important; white-space: nowrap; transform: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s, filter 0.2s;
}
a.btn-gratuit { font-weight: 600 !important; border: 0 !important; }
a.btn-cont:hover, a.btn-gratuit:hover { transform: translateY(-2px); }
/* noaptea */
html[data-tema="noapte"] a.btn-cont { background: rgba(255, 255, 255, 0.04) !important; color: #f8fafc !important; border: 1px solid rgba(255, 255, 255, 0.12) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important; }
html[data-tema="noapte"] a.btn-cont:hover { background: rgba(255, 255, 255, 0.16) !important; border-color: #e2e8f0 !important; color: #fff !important; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8) !important; }
html[data-tema="noapte"] a.btn-gratuit { background: linear-gradient(180deg, #F7D376 0%, #E8B340 55%, #C9941F 100%) !important; color: #2b1d02 !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 8px 20px -8px rgba(232, 179, 64, 0.65) !important; }
html[data-tema="noapte"] a.btn-gratuit:hover { filter: brightness(1.18) saturate(1.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 2px rgba(247, 211, 118, 0.55), 0 12px 28px -8px rgba(232, 179, 64, 0.9) !important; }
/* ziua */
html:not([data-tema="noapte"]) a.btn-cont { background: var(--t-panou, #e1e8f3) !important; color: var(--t-ink) !important; border: 1px solid rgba(11, 42, 74, 0.18) !important; box-shadow: none !important; }
html:not([data-tema="noapte"]) a.btn-cont:hover { background: #ffffff !important; border-color: var(--t-ink) !important; box-shadow: 0 10px 24px -12px rgba(11, 42, 74, 0.5) !important; }
html:not([data-tema="noapte"]) a.btn-gratuit { background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 8px 20px -8px rgba(37, 99, 235, 0.65) !important; }
html:not([data-tema="noapte"]) a.btn-gratuit:hover { background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 55%, #1e3a8a 100%) !important; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35), 0 12px 28px -8px rgba(30, 64, 175, 0.75) !important; }
.wdn-pereche { margin: 22px 0 6px; }
/* între cele două butoane, cam cât lățimea unui buton (14.11.2026, Ștefan); pe telefon, distanță obișnuită */
.pereche-cont { column-gap: 128px; row-gap: 12px; }
@media (max-width: 480px) { .pereche-cont { column-gap: 12px; } }

/* WikiDoc, „Pentru firma mea / Pentru clienții mei”: cât textul, nu pe toată lățimea (14.11.2026, Ștefan) */
.design-e .wdn .wdn-roles { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: none !important; }
.design-e .wdn a.wdn-role { flex: 0 0 auto; width: auto; padding: 14px 24px !important; gap: 2px; }
.design-e .wdn-role-title { font-size: 16px !important; }
.design-e .wdn-role-sub { font-size: 13px !important; }

/* Aliniere pe aceeași lățime (14.11.2026, Ștefan, „valabil pentru toate paginile”): sub textul unui titlu centrat,
   rândurile de butoane, cardurile „Pentru firma mea / Pentru clienții mei”, butoanele rotunjite de dedesubt și
   imaginea au aceeași lățime ca textul (720 px) și se întind de la marginea lui stângă la cea dreaptă. */
:root { --latime-text: 720px; }
.pereche-cont, .design-e .wdn .wdn-roles, .design-e .wdn-hero-links {
  width: 100%; max-width: var(--latime-text) !important; margin-left: auto !important; margin-right: auto !important;
}
.pereche-cont { justify-content: space-between !important; column-gap: 24px; }
.design-e .wdn .wdn-roles, .design-e .wdn-hero-links { display: flex !important; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.design-e .wdn .wdn-roles > a.wdn-role { flex: 1 1 260px; }
.design-e .wdn-hero-links > a { flex: 1 1 260px; text-align: center; justify-content: center; }
.design-e .wdn-hero .wdn-app, .design-e .hero-visual { max-width: var(--latime-text) !important; width: 100%; }
@media (max-width: 480px) { .pereche-cont { justify-content: center !important; } }

/* Noaptea, eticheta de sub sigla WikiDoc e aurie ca la REGES-ULTRA; la trecerea cu mouse-ul trece pe albastru, ca
   restul cardului (14.11.2026, Ștefan) */
html[data-tema="noapte"] .acasa .ed-wd:not(:hover):not(:focus-within) .ed-tag { color: var(--aur); }

/* ===== O singură lățime pe paginile de prezentare (14.11.2026, Ștefan, 960 px ales) =====
   Înainte blocurile aveau 720, 760/780, 800, 860, 924/980 și 1052/1136 px și păreau când înguste, când late la
   derulare. Acum marginile vizibile ale tuturor blocurilor sunt la aceeași lățime, 960 px: panourile rotunjite,
   textele, grilele de carduri, imaginile și rândurile de butoane. Pe ecrane mai înguste totul se strânge la fel. */
:root { --latime-pagina: 960px; --latime-text: 960px; }
/* panourile rotunjite au exact 960 px; conținutul lor are o margine interioară */
.design-e section.e-lt { max-width: var(--latime-pagina) !important; }
.design-e section.e-lt > :is(.container, .wdn-wrap) { max-width: none !important; padding-left: 48px !important; padding-right: 48px !important; }
/* secțiunile fără panou: conținutul are 960 px */
.design-e :is(section:not(.e-lt), div.trust-bar) > :is(.container, .wdn-wrap) { max-width: calc(var(--latime-pagina) + 48px) !important; padding-left: 24px !important; padding-right: 24px !important; }
/* blocurile care aveau o lățime proprie mai mică ocupă toată lățimea disponibilă */
.design-e :is(.section-head, .faq-list, .about-grid, .security-grid, .pricing-commitment, .wdn-head, .wdn-faq, .wdn-about,
  .wdn-grid-3, .hero-sub, .wdn-hero-sub, .hero-visual, .wdn-app, .hero-title, .wdn-hero-grid > div:first-child, .final-cta h2,
  .final-cta p, .wdn-final h2, .wdn-final p) { max-width: 100% !important; }
.design-e .hero > .container > div, .design-e .hero-grid, .design-e .hero-grid > div { max-width: 100% !important; }
@media (max-width: 640px) {
  .design-e section.e-lt > :is(.container, .wdn-wrap) { padding-left: 20px !important; padding-right: 20px !important; }
  .design-e :is(section:not(.e-lt), div.trust-bar) > :is(.container, .wdn-wrap) { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Pagina principală în italiană: „SITUAZIONI CRITICHE” e mai lung decât „SITUAȚII CRITICE” și ieșea din cardul mic */
html:not([lang="ro"]) .acasa .ed-extra-t { font-size: 14px; white-space: normal; }
html:not([lang="ro"]) .ed-garantii span { font-size: 12.5px; padding: 5px 10px; }
html:not([lang="ro"]) .pagina-acasa .acasa .ed-sub { font-size: 15px; line-height: 1.55; }

/* Paginile în arabă (dreapta–stânga, 15.11.2026): numerele de telefon și WhatsApp se citesc mereu de la stânga
   la dreapta; altfel „+40 721 209 298” apare „298 209 721 40+”. */
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }

/* Hindi, nepaleză, thailandeză, arabă (15.11.2026): fără spațiere între litere. Aceste scrieri leagă literele
   între ele, iar spațierea folosită la etichetele mici cu majuscule le rupe. */
html:is([lang="hi"], [lang="ne"], [lang="th"], [lang="ar"]) * { letter-spacing: normal !important; }

/* Traducerile (16.11.2026): textele mai lungi decât în română nu mai ies din chenare. Regulile de mai sus pentru
   prima pagină (titlurile cardurilor mici, pastilele, subtitlul) se aplică tuturor limbilor, nu doar italienei. */
/* cuvintele lungi (germană: „Stellenbeschreibungen”) se despart în silabe în loc să iasă din card */
html:not([lang="ro"]) :is(h1, h2, h3, h4, .feature-card, .feature-card *, .ed-extra-t, .wdn-plan *, .resource-card *) {
  overflow-wrap: anywhere; hyphens: auto;
}
/* câmpurile formularelor nu se mai lățesc după cea mai lungă opțiune */
:is(.interventie-form, .contact-form) :is(input, select, textarea) { max-width: 100%; min-width: 0; }
:is(.interventie-form, .contact-form) > *, .interventie-form-wrap, .contact-form-wrap { min-width: 0; }
/* macheta aplicației (REGES-ULTRA, Multiuser): meniul de sus trece pe rândul următor în loc să fie tăiat */
html:not([lang="ro"]) .multi-header { flex-wrap: wrap; row-gap: 6px; }
html:not([lang="ro"]) .multi-nav { flex-wrap: wrap; row-gap: 4px; }
/* etichetele mici de domeniu (RM, SSM, GDPR, SU) nu se rup */
html:not([lang="ro"]) .resource-card .domain-tag { overflow-wrap: normal; hyphens: manual; white-space: nowrap; }
/* câmpurile din rândurile formularelor se pot îngusta (altfel lista „Tipul situației” lățește rândul după cea mai
   lungă opțiune și iese din card pe telefon) */
.contact-form-row > .contact-field, .contact-field { min-width: 0; }
