/*
 * Nome azienda: UESE ITALIA S.p.A., con sede in Milano, Piazza Trivulziana 4/A, 20126 Milano
 * Autore: Giuseppe prof. Izzo
 * Contatto: info@uese.it
 * Versione: 1.0
 * Ultimo aggiornamento: 04/04/2027
 * Lingua: Italiano / Inglese
 */

:root{--bg:#f5f7fb;--card:#fff;--text:#142033;--muted:#6f7b8e;--line:#e6ebf3;--primary:#4d4d4d;--success:#0c8f5c;--danger:#c93636;--radius:22px;--shadow:0 14px 40px rgba(18,31,53,.08)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}.container{max-width:1240px;margin:0 auto;padding:0 20px}.public-header,.public-footer{background:#fff;border-bottom:1px solid var(--line)}.public-footer{border-top:1px solid var(--line);border-bottom:0;padding:22px 0}.footer-grid{display:flex;justify-content:space-between;gap:20px;align-items:center}.brand{font-weight:800;font-size:20px}.brand-wrap{display:flex;align-items:center;gap:12px}.brand-logo{width:42px;height:42px;object-fit:contain;border-radius:12px;background:#fff}.toolbar{display:flex;gap:12px;align-items:center}.gap-12{gap:12px}.flex{display:flex}.between{justify-content:space-between}.center{align-items:center}.hero{padding:72px 0 40px}.grid-2,.cards-3,.cards-4,.stats-grid{display:grid;gap:20px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding:30px 20px 60px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}.soft-card{background:#f8fbff}.hero-card{min-height:280px;display:flex;align-items:center}.lead{font-size:18px;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;padding:12px 18px;text-decoration:none;border:1px solid transparent;font-weight:700;cursor:pointer;background:#fff;color:var(--text)}.btn-primary{background:var(--primary);color:#fff;border-color:var(--primary)}.btn-light{background:#fff;color:var(--text);border-color:var(--line)}.btn-danger{background:#fff1f1;color:var(--danger);border-color:#ffd4d4}.badge{display:inline-block;padding:8px 12px;background:#eef3ff;color:var(--primary);border-radius:999px;font-weight:700;font-size:12px}.lang-pill{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;border:1px solid var(--line);text-decoration:none}.price{font-size:32px;font-weight:800}.w-full{width:100%}.auth-wrap{min-height:80vh;display:flex;align-items:center;justify-content:center;padding:40px 20px}.auth-wrap.wide .auth-card,.checkout-card{max-width:980px}.auth-card{width:100%;max-width:430px}.auth-card label,.form-grid label{display:flex;flex-direction:column;gap:8px;font-weight:600;color:var(--text)}input,select,textarea{width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px 14px;font:inherit}textarea{min-height:120px;resize:vertical}.app-shell{display:grid;grid-template-columns:290px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:24px;display:flex;flex-direction:column;justify-content:space-between}.nav{display:flex;flex-direction:column;gap:8px;margin-top:28px}.nav a{text-decoration:none;color:var(--text);padding:12px 14px;border-radius:14px}.nav a.active,.nav a:hover{background:#f1f5ff;color:var(--primary)}.main-panel{padding:24px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.muted{color:var(--muted)}.small{font-size:12px}.alert{padding:14px 18px;border-radius:14px;margin:0 0 18px}.alert.success{background:#ecfbf4;color:var(--success)}.alert.error{background:#fff1f1;color:var(--danger)}.stat span{display:block;color:var(--muted);margin-bottom:6px}.stat strong{font-size:28px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}h1,h2,h3{margin-top:0}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.mt-24{margin-top:24px}.mb-24{margin-bottom:24px}.mt-12{margin-top:12px}.thumb{width:84px;height:84px;object-fit:contain;border-radius:16px;background:#fff;border:1px solid var(--line)}.actions,.inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.action-card{text-decoration:none;color:inherit}.action-card:hover{transform:translateY(-1px)}.text-center{text-align:center}.col-span-2{grid-column:span 2}.plan-card,.stat{text-align:left}
@media (max-width: 992px){.app-shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:10}.cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-3,.grid-2,.stats-grid{grid-template-columns:1fr}.col-span-2{grid-column:auto}.footer-grid{flex-direction:column;align-items:flex-start}}
@media (max-width: 640px){.toolbar{flex-wrap:wrap}.cards-4,.cards-3{grid-template-columns:1fr}.main-panel{padding:16px}.sidebar{padding:16px}.topbar{flex-direction:column;gap:12px;align-items:flex-start}}
.cards-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.plain-list{padding-left:18px;margin:0}.plain-list li{margin:8px 0}.table-responsive{overflow:auto}.badge.paid{background:#ecfbf4;color:#127a4a}.badge.pending{background:#fff8e8;color:#9a6a00}.badge.failed,.badge.cancelled{background:#fff1f1;color:#b42318}@media (max-width:960px){.cards-2,.cards-3,.cards-4,.grid-2,.info-grid,.stats-grid{grid-template-columns:1fr}.app-shell{grid-template-columns:1fr}.sidebar{position:static;border-right:0;border-bottom:1px solid var(--line)}}
.flex-between{display:flex;justify-content:space-between;align-items:center;gap:12px}.mb-16{margin-bottom:16px}.mt-16{margin-top:16px}
body.public-shell{background:#f6f8fb;min-height:100vh;display:flex;flex-direction:column}
.public-header{display:flex;justify-content:space-between;align-items:center;padding:18px 28px;background:#fff;border-bottom:1px solid #e5eaf1;position:sticky;top:0;z-index:10}
.public-brand{display:flex;align-items:center;gap:12px}.public-logo{height:168px;width:auto}.public-brand-text{font-weight:800;font-size:20px;color:#0f172a}.public-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.public-nav a{text-decoration:none;color:#0f172a;padding:8px 10px;border-radius:10px}.public-nav a:hover{background:#eef2ff}.public-main{flex:1;max-width:1200px;width:100%;margin:0 auto;padding:28px}.public-footer{text-align:center;padding:18px 20px;color:#64748b}
.landing-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:26px;align-items:center;min-height:420px}.landing-hero.single-column{grid-template-columns:1fr}.hero-copy h1{font-size:56px;line-height:1.05;margin:10px 0 16px;color:#0f172a}.hero-note{font-size:18px;line-height:1.7;color:#53627a;max-width:760px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.hero-card{padding:26px}.hero-image,.feature-image{width:100%;height:auto;border-radius:16px;margin-top:16px}.auth-card{max-width:480px;margin-left:auto}.narrow-card{max-width:460px;margin:0 auto}.price{font-size:42px;font-weight:800;color:#0f172a;margin:16px 0}.price small{font-size:16px;color:#64748b;font-weight:600}.feature-card .feature-image{height:180px;object-fit:cover}.center-copy{text-align:center}.login-landing{align-items:start}.nav-group-title{padding:12px 14px 4px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.soft-card{background:#f8fafc;border:1px solid #e5eaf1;border-radius:16px;padding:16px}.price-card{text-align:center}.col-span-2{grid-column:1 / -1}.inline-form{display:flex;gap:8px;align-items:center}.feature-card h3,.action-card h3{margin-bottom:8px}.mt-16{margin-top:16px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-0{margin-bottom:0}@media (max-width:960px){.landing-hero{grid-template-columns:1fr}.public-header{flex-direction:column;gap:12px}.public-nav{justify-content:center}.auth-card{max-width:none;margin-left:0}}

.crm-grid{display:grid;gap:20px}
.crm-hero{grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr);align-items:stretch}
.crm-gradient{background:linear-gradient(135deg,#0f172a 0%,#172554 58%,#2146ff 100%);color:#fff;border:none;min-height:100%}
.crm-gradient h1,.crm-gradient .hero-note,.crm-gradient .mini-kpi strong,.crm-gradient .mini-kpi span{color:#fff}
.crm-gradient .btn-light{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.24);color:#fff}
.crm-side-stack{display:grid;gap:20px}
.crm-panel,.crm-wide-panel,.crm-side-panel,.crm-feature-card,.crm-stat-card{border-color:#dde5f0}
.panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.panel-head h2,.panel-head h3{margin-bottom:0}
.crm-inline-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.mini-kpi{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:14px 16px}.mini-kpi span{display:block;font-size:12px;opacity:.88}.mini-kpi strong{display:block;font-size:22px;margin-top:6px}
.pipeline-list{display:grid;gap:14px}.pipeline-item{display:flex;gap:12px;align-items:flex-start}.pipeline-item strong{display:block;margin-bottom:2px}.pipeline-dot{width:14px;height:14px;border-radius:999px;background:#cbd5e1;box-shadow:0 0 0 6px #eef2ff;flex:0 0 auto;margin-top:6px}.pipeline-dot.is-done{background:#16a34a;box-shadow:0 0 0 6px #ecfdf5}.pipeline-dot.is-active{background:#2146ff;box-shadow:0 0 0 6px #eef2ff}
.crm-main-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr)}
.crm-workflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.crm-workflow-grid .soft-card{min-height:100%}
.crm-side-panel{align-self:start}.crm-list li{margin:12px 0}.crm-panel-copy{margin-bottom:0}.crm-feature-top{margin-bottom:12px}.crm-feature-card .badge{margin-bottom:8px}.crm-stat-card{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
@media (max-width:960px){.crm-hero,.crm-main-grid,.crm-inline-metrics,.crm-workflow-grid{grid-template-columns:1fr}}

/* Enterprise public home */
.enterprise-hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.75fr);gap:20px;align-items:stretch}.enterprise-gradient{background:radial-gradient(circle at top right,rgba(255,255,255,.18),transparent 28%),linear-gradient(135deg,#0f172a 0%,#172554 55%,#2146ff 100%);color:#fff;border:none;overflow:hidden}.enterprise-gradient h1{font-size:58px;line-height:1.02;margin:16px 0}.enterprise-gradient .hero-note,.enterprise-gradient .badge,.enterprise-gradient .enterprise-trust-row span{color:#fff}.enterprise-hero-card{padding:34px;min-height:100%}.enterprise-trust-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.enterprise-trust-row span{display:inline-flex;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:13px;font-weight:700}.enterprise-side-stack{display:grid;gap:20px}.enterprise-side-card{padding:24px}.legal-card strong{display:block;line-height:1.7}.center-text{max-width:860px;margin:0 auto}.enterprise-section{display:grid;gap:24px}.section-head{display:grid;gap:10px}.enterprise-benefits-grid .soft-card,.enterprise-feature-card{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}.enterprise-showcase-grid,.enterprise-features-grid,.dashboard-grid{align-items:start}.seo-stat-card strong{font-size:24px}.enterprise-cta-card{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#ffffff 0%,#eef4ff 100%)}.enterprise-footer{margin-top:auto}.dashboard-head{margin-bottom:24px}.dashboard-actions{display:flex;gap:12px;flex-wrap:wrap}.alert-stack{display:grid;gap:14px}.alert-card{padding:16px 18px;border-radius:18px;border:1px solid var(--line);background:#fff}.alert-card.warning{background:#fff8e8;border-color:#f7d889}.alert-card.error{background:#fff1f1;border-color:#ffd4d4}.alert-card.success{background:#ecfbf4;border-color:#b7e8cf}.alert-card p{margin:8px 0 0}.onboarding-stack{display:grid;gap:12px}.progress-item{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-radius:16px;background:#f8fbff;border:1px solid #dde5f0}.progress-item strong{font-size:24px}.payments-feed{display:grid;gap:12px}.payment-item{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.payment-item:last-child{border-bottom:0;padding-bottom:0}.payment-meta{display:grid;justify-items:end;gap:8px}.public-nav .lang-pill,.toolbar .lang-pill{width:auto;min-width:42px;padding:0 12px;font-weight:800;color:#0f172a;background:#fff}
@media (max-width:1100px){.enterprise-hero-grid,.dashboard-grid,.enterprise-showcase-grid,.enterprise-features-grid,.enterprise-benefits-grid,.enterprise-cta-card{grid-template-columns:1fr}.enterprise-cta-card{align-items:flex-start}.enterprise-gradient h1{font-size:46px}}
@media (max-width:640px){.public-main{padding:16px}.public-header{padding:14px 16px}.public-brand{width:100%;justify-content:space-between}.public-nav{width:100%;justify-content:flex-start}.enterprise-hero-card,.enterprise-side-card,.card{padding:18px}.enterprise-gradient h1{font-size:34px}.hero-note{font-size:16px}.enterprise-trust-row{gap:8px}.enterprise-trust-row span{font-size:12px;padding:8px 10px}.payment-item{flex-direction:column;align-items:flex-start}.payment-meta{justify-items:start}.footer-grid{padding:0 4px}}

.section-eyebrow{text-align:center;font-weight:800;color:#4d4d4d;font-size:22px;line-height:1.3}.centered-title{text-align:center}.centered-copy{text-align:center}.footer-centered{text-align:center;max-width:1200px;margin:0 auto}.icon-stat-card{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:220px}.icon-glyph{font-size:58px;line-height:1;color:#4d4d4d}.icon-stat-title{font-size:20px;font-weight:800;color:#142033;text-align:center}.centered-subtitle{text-align:center;max-width:220px}.public-brand{gap:10px}.public-logo{flex:0 0 auto}.public-brand-text{font-weight:800;font-size:20px;color:#0f172a}.enterprise-side-stack{grid-template-rows:1fr}.enterprise-side-card{display:flex;flex-direction:column;justify-content:center}.public-footer.enterprise-footer{padding:18px 20px}.badge{background:#ececec;color:#4d4d4d}.enterprise-gradient .badge{background:rgba(255,255,255,.16);color:#fff}.crm-feature-card .badge{background:#ececec;color:#4d4d4d}@media (max-width:640px){.section-eyebrow{font-size:20px}.icon-stat-card{min-height:180px}.icon-glyph{font-size:46px}}


.enterprise-auth-shell,.enterprise-checkout-grid{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:28px;align-items:stretch}
.enterprise-auth-copy{display:flex;flex-direction:column;justify-content:center}
.enterprise-auth-card{padding:28px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.enterprise-form-grid{display:grid;gap:14px}
.auth-feature-list{display:grid;gap:14px;margin-top:22px;max-width:760px}.auth-feature-item{padding:16px 18px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.auth-feature-item strong{display:block;margin-bottom:4px}.auth-feature-item span{display:block;color:var(--muted)}
.enterprise-page-hero{min-height:auto;padding:8px 0 4px}.enterprise-copy-card{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.enterprise-copy-card .icon-glyph{margin-bottom:4px}
.enterprise-plan-grid{align-items:stretch}.enterprise-plan-card{display:flex;flex-direction:column;gap:14px;justify-content:space-between;text-align:center;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}.plan-points{display:grid;gap:10px;margin:6px 0 10px}.plan-points span{display:inline-flex;justify-content:center;padding:10px 12px;border-radius:999px;background:#f3f6fb;border:1px solid #dde5f0;color:#4d4d4d;font-weight:700;font-size:13px}
.checkout-card-compact{max-width:none}
@media (max-width:960px){.enterprise-auth-shell,.enterprise-checkout-grid{grid-template-columns:1fr}.auth-feature-list{max-width:none}}


/* ClearSkies-inspired enterprise refresh */
:root{--ink:#0d1321;--ink-2:#111827;--surface:#ffffff;--surface-soft:#f8fafc;--surface-dark:#0f172a;--surface-dark-2:#162033;--line-soft:#dbe3ef;--blue-soft:#edf2fb;--shadow-strong:0 24px 60px rgba(10,21,40,.12)}
body.public-shell{background:linear-gradient(180deg,#f7f9fc 0%,#eef3f9 100%)}
.public-header{padding:18px 34px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid rgba(219,227,239,.9)}
.public-brand-text{letter-spacing:-.02em}
.public-nav a{font-weight:600;color:#243041}
.public-nav a:hover{background:#eff4fb;color:#0f172a}
.public-main{max-width:1240px;padding:34px 24px 42px}
.btn{border-radius:14px;padding:13px 18px;transition:.2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:#4d4d4d;border-color:#4d4d4d;color:#fff;box-shadow:0 12px 30px rgba(77,77,77,.22)}
.btn-light{background:#fff;color:#142033;border-color:#dbe3ef}
.btn-dark-outline{background:rgba(255,255,255,.08);border-color:#cad3df;color:#142033}
.cs-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,.78fr);gap:24px;align-items:stretch;margin-top:8px}
.cs-hero-copy,.cs-page-hero{background:linear-gradient(135deg,#0f172a 0%,#172033 45%,#23314a 100%);border-radius:30px;padding:42px;box-shadow:var(--shadow-strong);position:relative;overflow:hidden}
.cs-hero-copy:before,.cs-page-hero:before{content:"";position:absolute;inset:auto -100px -140px auto;width:340px;height:340px;background:radial-gradient(circle,rgba(255,255,255,.14),transparent 60%)}
.cs-hero-copy>*,.cs-page-hero>*{position:relative;z-index:1}
.cs-hero-copy h1,.cs-page-hero h1{font-size:58px;line-height:1.02;letter-spacing:-.03em;color:#fff;margin:16px 0 18px;max-width:900px}
.cs-hero-copy .hero-note,.cs-page-hero .hero-note{color:rgba(255,255,255,.8);max-width:760px;font-size:18px}
.cs-hero-copy .badge,.cs-page-hero .badge{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.16)}
.cs-trust-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.cs-trust-row span{display:inline-flex;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.15);font-size:13px;font-weight:700}
.cs-side-card,.cs-story-card,.cs-feature-panel,.cs-plan-card,.cs-form-card,.cs-kpi-card,.cs-surface-card,.cs-action-card,.cs-cta-band,.cs-icon-card{border:1px solid #dfe6f0;box-shadow:0 18px 45px rgba(18,31,53,.08);border-radius:26px;background:#fff}
.cs-side-card{padding:28px;background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%)}
.cs-icon-grid{margin-top:10px}.cs-icon-card{padding:30px 22px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:220px}.cs-icon{font-size:54px;line-height:1;color:#4d4d4d;margin-bottom:6px}.cs-icon-card h3{margin:0 0 8px;font-size:22px;letter-spacing:-.02em}.cs-icon-card p{max-width:220px;margin:0}
.cs-section{display:grid;gap:24px}.cs-story-grid,.cs-feature-panels,.cs-kpi-grid,.cs-action-grid{align-items:stretch}.cs-story-card,.cs-feature-panel,.cs-cta-band{padding:30px}.dark-card{background:linear-gradient(135deg,#111827 0%,#1e293b 100%);color:#fff;border:none}.dark-card p,.dark-card li,.dark-card .muted{color:rgba(255,255,255,.8)}.dark-card .badge{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.16)}
.cs-feature-panel h3,.cs-story-card h2,.cs-story-card h3,.cs-cta-band h2,.cs-kpi-card strong{letter-spacing:-.02em}
.cs-feature-panel{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.cs-cta-band{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(135deg,#ffffff 0%,#eff4fb 100%)}
.cs-page-hero{text-align:center}
.cs-auth-shell .hero-copy h1{max-width:720px}
.app-shell{grid-template-columns:300px 1fr;background:linear-gradient(180deg,#f6f8fb 0%,#eef3f9 100%)}
.sidebar{background:linear-gradient(180deg,#0f172a 0%,#172033 100%);border-right:none;color:#fff;padding:26px;box-shadow:18px 0 40px rgba(15,23,42,.12)}
.sidebar .brand,.sidebar .small,.sidebar .muted{color:rgba(255,255,255,.78)}
.sidebar .brand{color:#fff}
.nav a{color:rgba(255,255,255,.82);padding:13px 14px;border-radius:14px;font-weight:600}.nav a.active,.nav a:hover{background:rgba(255,255,255,.11);color:#fff}.nav-group-title{color:rgba(255,255,255,.52)}
.main-panel{padding:28px}
.topbar.card{border-radius:24px;border:1px solid #dde5f0;box-shadow:0 12px 35px rgba(18,31,53,.08)}
.cs-dashboard-hero{padding:28px 30px;border-radius:28px;background:linear-gradient(135deg,#fff 0%,#eff4fb 100%);border:1px solid #dbe3ef;box-shadow:0 16px 36px rgba(18,31,53,.08)}
.cs-dashboard-hero h1{margin-bottom:8px;letter-spacing:-.03em}.cs-kpi-card{padding:24px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}.cs-kpi-card span{font-weight:600;color:#607087}.cs-kpi-card strong{font-size:34px}
.cs-surface-card{padding:26px}.cs-action-card{padding:24px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}.cs-action-card:hover{transform:translateY(-2px)}
.public-footer.enterprise-footer{background:transparent;border-top:none;padding-top:10px}
.footer-centered{font-weight:600;color:#64748b}
@media (max-width:1100px){.cs-hero,.cs-cta-band{grid-template-columns:1fr}.cs-hero-copy h1,.cs-page-hero h1{font-size:46px}}
@media (max-width:960px){.sidebar{position:static}.public-header{padding:14px 18px}.public-main{padding:20px 16px 34px}.cs-dashboard-hero,.cs-side-card,.cs-story-card,.cs-feature-panel,.cs-kpi-card,.cs-action-card,.cs-form-card,.cs-cta-band{padding:22px}}
@media (max-width:640px){.cs-hero-copy,.cs-page-hero{padding:28px 20px;border-radius:24px}.cs-hero-copy h1,.cs-page-hero h1{font-size:34px}.cs-icon-card{min-height:180px}.cs-cta-band{flex-direction:column;align-items:flex-start}.public-nav{gap:8px}}

/* Minimal public portal pages for /portal/login, /portal/register, /portal/plans */
body.public-shell-minimal{background:#f5f5f2}
.public-header-minimal{position:static;justify-content:center;padding:34px 20px 8px;background:transparent;border:0;box-shadow:none}
.public-brand-centered{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.public-shell-minimal .public-logo{height:232px}
.public-main-minimal{max-width:1120px;padding:12px 16px 32px}
.public-footer-minimal{background:transparent;border:0;padding:12px 20px 28px}
.alert-floating{max-width:560px;margin:0 auto 18px}
.auth-center-stage{min-height:calc(100vh - 220px);display:flex;align-items:center;justify-content:center;padding:12px 0 24px}
.auth-modal-card{width:100%;max-width:460px;background:#fff;border:1px solid #e5e1d8;border-radius:26px;box-shadow:0 24px 50px rgba(35,38,44,.08);padding:34px 30px}
.auth-modal-card-wide{max-width:520px}
.auth-modal-head{text-align:center;margin-bottom:24px}.auth-modal-head h1{margin:10px 0 8px;font-size:34px;letter-spacing:-.03em;color:#1f2937}.auth-modal-head p{margin:0;color:#667085;font-size:15px;line-height:1.6}
.auth-kicker{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:#f1efe9;color:#525252;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.auth-modal-form{gap:14px}.auth-modal-form input,.auth-modal-form select,.auth-modal-form textarea{border-radius:14px;border:1px solid #ddd7cb;background:#fcfcfa;padding:13px 14px}.auth-modal-form label{font-size:14px;font-weight:700;color:#344054}
.auth-modal-links{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px;color:#98a2b3;font-size:14px}.auth-modal-links a{text-decoration:none;color:#525252;font-weight:700}.auth-modal-links a:hover{color:#111827}
.plans-minimal-shell{max-width:1040px;margin:0 auto;padding:8px 0 18px}.plans-minimal-hero{text-align:center;max-width:700px;margin:0 auto 26px}.plans-minimal-hero h1{margin:10px 0 10px;font-size:42px;letter-spacing:-.03em;color:#1f2937}.plans-minimal-hero p{margin:0;color:#667085;font-size:16px;line-height:1.65}
.plans-minimal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.plans-minimal-card{background:#fff;border:1px solid #e5e1d8;border-radius:24px;box-shadow:0 18px 40px rgba(35,38,44,.06);padding:24px;display:flex;flex-direction:column;gap:14px}.plans-minimal-card h3{margin:0;font-size:22px}.plans-minimal-card p{margin:0;color:#667085}.plans-minimal-top{display:grid;gap:8px}.plans-minimal-price{font-size:32px;font-weight:800;letter-spacing:-.03em;color:#1f2937}.plans-minimal-price small{font-size:14px;color:#667085;font-weight:700}.plans-links{margin-top:24px}

/* Kopage-aligned internal dashboard */
.app-shell-kopage{grid-template-columns:280px 1fr;background:#f6f4ef}.sidebar-kopage{background:#fbfaf7;border-right:1px solid #e5e1d8;color:#2f3947;box-shadow:none}.sidebar-kopage .brand,.sidebar-kopage .small,.sidebar-kopage .muted{color:#667085}.brand-wrap-kopage{align-items:center;gap:14px}.sidebar-kopage .brand{color:#243041;font-size:18px;font-weight:800}.brand-wrap-kopage{justify-content:center;display:flex}.sidebar-kopage .brand-logo{display:block;width:86%;max-width:240px;height:auto;max-height:none;border-radius:0;background:transparent;border:none;padding:0;margin:0 auto}
.nav-kopage a{color:#344054;background:transparent;border:1px solid transparent}.nav-kopage a.active,.nav-kopage a:hover{background:#ffffff;border-color:#e5e1d8;color:#111827;box-shadow:0 8px 20px rgba(35,38,44,.04)}.nav-kopage .nav-group-title{color:#98a2b3}
.main-panel-kopage{padding:28px;background:linear-gradient(180deg,#f6f4ef 0%,#f3f1ec 100%)}.topbar-kopage{background:#fff;border:1px solid #e5e1d8;box-shadow:0 12px 30px rgba(35,38,44,.05)}.toolbar .lang-pill{border-color:#ddd7cb;background:#fff}
.sidebar-footnote{padding-top:12px;border-top:1px solid #e5e1d8}
.dashboard-company-shell{display:grid;gap:22px}.dashboard-company-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;background:#fff;border:1px solid #e5e1d8;border-radius:28px;padding:30px;box-shadow:0 18px 42px rgba(35,38,44,.05)}.dashboard-company-hero h1{margin:10px 0 8px;font-size:38px;letter-spacing:-.04em}.dashboard-company-hero p{margin:0;max-width:680px;color:#667085;line-height:1.7}.dashboard-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:#f1efe9;color:#525252;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.dashboard-company-brand{display:grid;gap:6px;min-width:220px;padding:18px 20px;border-radius:20px;background:#f8f6f1;border:1px solid #e5e1d8}.dashboard-company-brand strong{font-size:20px;color:#1f2937}.dashboard-company-brand span,.dashboard-company-brand em{font-style:normal;color:#667085}
.dashboard-company-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.minimal-kpi-card{background:#fff;border:1px solid #e5e1d8;box-shadow:0 14px 28px rgba(35,38,44,.04);border-radius:22px}.minimal-kpi-card span{color:#667085;font-size:13px;font-weight:700}.minimal-kpi-card strong{font-size:28px;color:#1f2937;word-break:break-word}
.dashboard-company-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:18px}.dashboard-section-card{border:1px solid #e5e1d8;box-shadow:0 16px 36px rgba(35,38,44,.04);background:#fff;border-radius:28px}.section-heading h2{margin:0 0 6px;font-size:24px;letter-spacing:-.03em}.section-heading p{margin:0;color:#667085}.dashboard-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.dashboard-action-card{border:1px solid #e8e2d8;box-shadow:none;border-radius:22px;background:#faf8f4;text-decoration:none;color:inherit}.dashboard-action-card h3{margin-bottom:8px;font-size:18px}.dashboard-action-card p{margin:0;color:#667085}.dashboard-side-card{align-self:start}.workspace-status-list{display:grid;gap:14px;margin-top:18px}.workspace-status-list div{display:grid;gap:4px;padding:14px 16px;border-radius:18px;background:#faf8f4;border:1px solid #e8e2d8}.workspace-status-list span{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#98a2b3}.workspace-status-list strong{font-size:18px;color:#1f2937}
.btn-primary{background:#5d5d5d;border-color:#5d5d5d;box-shadow:none}.btn-primary:hover{background:#4f4f4f;border-color:#4f4f4f}.btn-light{border-color:#ddd7cb;background:#fff}.badge,.auth-kicker,.dashboard-kicker{background:#f1efe9;color:#525252}
@media (max-width:980px){.plans-minimal-grid,.dashboard-company-kpis,.dashboard-action-grid,.dashboard-company-grid{grid-template-columns:1fr}.dashboard-company-hero{flex-direction:column}.dashboard-company-brand{min-width:0;width:100%}}
@media (max-width:640px){.auth-modal-card{padding:26px 18px;border-radius:22px}.auth-modal-head h1{font-size:28px}.plans-minimal-hero h1{font-size:32px}.public-header-minimal{padding-top:24px}.main-panel-kopage{padding:16px}.dashboard-company-hero,.dashboard-section-card{padding:20px}}

/* enterprise restore for internal workspace on v7 */
.app-shell-enterprise{grid-template-columns:300px 1fr;background:linear-gradient(180deg,#f4f6fa 0%,#eef2f7 100%)}
.sidebar-enterprise{background:linear-gradient(180deg,#111827 0%,#182235 100%);border-right:none;color:#fff;padding:28px 22px;box-shadow:18px 0 42px rgba(15,23,42,.12)}
.sidebar-enterprise .brand,.sidebar-enterprise .small,.sidebar-enterprise .muted{color:rgba(255,255,255,.76)}
.sidebar-enterprise .brand{color:#fff;font-size:18px;font-weight:800}
.brand-wrap-enterprise{align-items:center;gap:14px}
.sidebar-enterprise .brand-logo{width:46px;height:46px;border-radius:14px;background:#fff;border:1px solid rgba(255,255,255,.12);padding:4px}
.nav-enterprise{margin-top:26px}
.nav-enterprise a{color:rgba(255,255,255,.84);padding:12px 14px;border-radius:14px;font-weight:600;border:1px solid transparent}
.nav-enterprise a.active,.nav-enterprise a:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.08);color:#fff}
.sidebar-enterprise .nav-group-title{padding:16px 14px 6px;color:rgba(255,255,255,.42);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.sidebar-enterprise-foot{padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}
.main-panel-enterprise{padding:28px}
.topbar-enterprise{background:#fff;border:1px solid #dde5ef;border-radius:24px;box-shadow:0 12px 34px rgba(15,23,42,.06)}
.topbar-enterprise .lang-pill{background:#fff;border-color:#d7dfea;color:#253247}
.enterprise-dashboard-shell{display:grid;gap:22px}
.enterprise-dashboard-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;background:linear-gradient(135deg,#ffffff 0%,#eef4ff 100%);border:1px solid #dbe4f0;border-radius:28px;padding:30px;box-shadow:0 18px 42px rgba(15,23,42,.06)}
.enterprise-dashboard-hero h1{margin:10px 0 8px;font-size:40px;letter-spacing:-.04em;color:#172033}
.enterprise-dashboard-hero p{margin:0;max-width:760px;color:#617187;line-height:1.7}
.enterprise-hero-side{display:grid;gap:6px;min-width:220px;padding:18px 20px;border-radius:20px;background:#fff;border:1px solid #dbe4f0}
.enterprise-hero-side strong{font-size:22px;color:#172033}.enterprise-hero-side span,.enterprise-hero-side em{font-style:normal;color:#617187}
.enterprise-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.enterprise-kpi-card{background:#fff;border:1px solid #dbe4f0;border-radius:22px;padding:22px;box-shadow:0 12px 28px rgba(15,23,42,.04)}
.enterprise-kpi-card span{display:block;color:#617187;font-size:13px;font-weight:700;margin-bottom:10px}
.enterprise-kpi-card strong{display:block;font-size:30px;color:#172033;line-height:1.15;word-break:break-word}
.enterprise-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:18px}
.enterprise-dashboard-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}
.enterprise-panel-card{background:#fff;border:1px solid #dbe4f0;border-radius:28px;padding:26px;box-shadow:0 16px 36px rgba(15,23,42,.04)}
.enterprise-side-card{align-self:start}
.enterprise-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.enterprise-action-card{display:block;text-decoration:none;color:inherit;padding:20px;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid #e2e9f3;box-shadow:0 10px 22px rgba(15,23,42,.03)}
.enterprise-action-card:hover{transform:translateY(-1px)}
.enterprise-action-card h3{margin:0 0 8px;font-size:18px;color:#172033}.enterprise-action-card p{margin:0;color:#617187}
.enterprise-status-list{display:grid;gap:14px;margin-top:18px}.enterprise-status-list div{display:grid;gap:4px;padding:14px 16px;border-radius:18px;background:#f8fbff;border:1px solid #e2e9f3}.enterprise-status-list span{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8}.enterprise-status-list strong{font-size:18px;color:#172033}
@media (max-width:980px){.app-shell-enterprise{grid-template-columns:1fr}.sidebar-enterprise{position:static}.enterprise-kpi-grid,.enterprise-action-grid,.enterprise-dashboard-grid,.enterprise-dashboard-grid-wide{grid-template-columns:1fr}.enterprise-dashboard-hero{flex-direction:column}.enterprise-hero-side{min-width:0;width:100%}}
@media (max-width:640px){.main-panel-enterprise{padding:16px}.sidebar-enterprise{padding:18px 16px}.enterprise-dashboard-hero,.enterprise-panel-card,.enterprise-kpi-card{padding:20px}.enterprise-dashboard-hero h1{font-size:32px}}


/* portal v15 minimal public + kopage aligned dashboard */
body.public-shell-minimal{background:linear-gradient(180deg,#f7f3ec 0%,#f3efe7 100%)}
.public-header-minimal,.public-footer-minimal{background:transparent;border:none}.public-brand-centered{margin:0 auto}.public-footer-minimal{padding-top:0;padding-bottom:26px}.footer-centered{text-align:center;width:100%}
.auth-stage-clean{min-height:calc(100vh - 170px);display:flex;align-items:center;justify-content:center;padding:24px 16px 10px}.auth-popup-card{max-width:460px;width:100%;border-radius:28px;border:1px solid #e5e1d8;box-shadow:0 22px 46px rgba(35,38,44,.08);background:#fff}.auth-popup-card-wide{max-width:720px}.auth-popup-form{margin-top:22px}.auth-popup-form-2col{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.auth-form-full{grid-column:1 / -1}.auth-popup-links{margin-top:20px}.text-center{text-align:center}
.plans-clean-shell{padding-top:10px;padding-bottom:10px}.plans-clean-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.plans-clean-card{min-height:100%}
.dashboard-company-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-dashboard-hero{align-items:flex-start}.dashboard-actions{display:flex;gap:12px;flex-wrap:wrap}.alert-stack,.payments-feed,.onboarding-stack{display:grid;gap:14px}.alert-card,.payment-item,.progress-item{padding:16px 18px;border:1px solid #e5e1d8;border-radius:18px;background:#faf8f4}.alert-card.success{background:#eef9f2}.alert-card.warning{background:#fff8e8}.alert-card.error{background:#fff1f1}.payment-item,.progress-item{display:flex;justify-content:space-between;align-items:center;gap:14px}.payment-meta{display:grid;gap:8px;justify-items:end}.cs-surface-card{border:1px solid #e5e1d8;box-shadow:0 16px 36px rgba(35,38,44,.04);background:#fff;border-radius:28px}.cs-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cs-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-action-card{border-radius:22px;border:1px solid #e5e1d8;background:#faf8f4;box-shadow:none}.btn-dark-outline{border-color:#ddd7cb}
@media (max-width:980px){.auth-popup-form-2col,.dashboard-company-grid-wide,.cs-kpi-grid,.cs-action-grid{grid-template-columns:1fr}}


.workspace-shell{display:block}.workspace-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.workspace-eyebrow{display:inline-block;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:#ece7dc;color:#5d6472;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.workspace-subtitle{max-width:760px;color:#667085;margin:0}.workspace-grid{display:grid;gap:20px}.workspace-grid-2col{grid-template-columns:minmax(0,1.4fr) minmax(320px,.8fr)}.workspace-stack{display:grid;gap:20px}.workspace-card{border-radius:24px;background:#fffdfa;border:1px solid #e7e1d4;box-shadow:0 12px 30px rgba(20,24,40,.05)}.workspace-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.workspace-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.workspace-kpi-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-kpi-card{background:linear-gradient(180deg,#fffdfa 0%,#f7f2e8 100%);border-color:#e7e1d4}.workspace-kpi-card span{display:block;color:#667085;font-size:13px;margin-bottom:8px}.workspace-kpi-card strong{display:block;font-size:26px;line-height:1.15;color:#243041}.workspace-kpi-card small{display:block;margin-top:8px;color:#8a94a6}.workspace-form textarea{min-height:132px}.workspace-form-actions{display:flex;justify-content:flex-start;margin-top:18px}.workspace-upload input[type=file]{background:#fff}.workspace-logo-preview{display:flex;flex-direction:column;justify-content:flex-start;padding:14px;border:1px dashed #d8d0c0;border-radius:18px;background:#fcfaf5;min-height:140px}.workspace-empty-logo{display:flex;align-items:center;justify-content:center;height:84px;border-radius:16px;background:#f5f1e8;color:#8a94a6;margin-top:12px}.workspace-aside-card h3{margin-bottom:12px}.workspace-mini-metrics{display:grid;gap:14px}.workspace-mini-metrics div{padding:14px 16px;border:1px solid #ece7dc;border-radius:18px;background:#fcfaf5}.workspace-mini-metrics span{display:block;color:#667085;font-size:12px;margin-bottom:6px}.workspace-mini-metrics strong{font-size:18px;color:#243041}.workspace-list-tight{padding-left:18px}.workspace-list-tight li{margin:10px 0;color:#475467}.workspace-table-wrap{border:1px solid #ece7dc;border-radius:18px}.workspace-empty-state{padding:28px;border:1px dashed #d8d0c0;border-radius:20px;background:#fcfaf5;text-align:center}.workspace-site-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.workspace-site-card{padding:22px;border:1px solid #ece7dc;border-radius:22px;background:#fcfaf7;display:grid;gap:14px}.workspace-site-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.workspace-site-head h4{margin:0;font-size:18px;color:#243041}.workspace-site-body p{margin:0 0 8px}.workspace-actions{display:flex;gap:12px;align-items:center}.enterprise-fade-in{animation:enterpriseFade .28s ease-out}@keyframes enterpriseFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:980px){.workspace-header{flex-direction:column}.workspace-grid-2col,.workspace-kpi-grid,.workspace-kpi-grid-4,.workspace-site-grid{grid-template-columns:1fr}}


/* v22 language switcher flags */
.lang-pill{font-size:18px;line-height:1}
.public-nav .lang-pill,.toolbar .lang-pill,.auth-popup-links .lang-pill{min-width:44px;padding:0 10px}


/*
 * Nome azienda: UESE ITALIA S.p.A., con sede in Milano, Piazza Trivulziana 4/A, 20126 Milano
 * Autore: Giuseppe prof. Izzo
 * Contatto: info@uese.it
 * Versione: 1.0
 * Ultimo aggiornamento: 04/04/2027
 * Lingua: Italiano / Inglese
 */
.uese-guide-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:18px 20px;
  margin:0 0 24px;
}
.uese-guide-kicker{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:#eef3ff;
  color:var(--primary);
  font-weight:700;
  font-size:12px;
  margin-bottom:10px;
}
.uese-guide-title{
  margin:0 0 8px;
  font-size:20px;
  font-weight:800;
  color:#111827;
}
.uese-guide-copy{
  margin:0;
  color:#475569;
  line-height:1.7;
}
.uese-guide-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:16px;
}
.uese-guide-item{
  background:#f8fbff;
  border:1px solid #dbe7ff;
  border-radius:14px;
  padding:14px 15px;
}
.uese-guide-item strong{
  display:block;
  margin-bottom:6px;
  color:#0f172a;
}
.uese-guide-item span{
  color:#475569;
  font-size:14px;
  line-height:1.65;
}
.uese-field-help{
  display:block;
  margin-top:6px;
  padding:9px 11px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#475569;
  font-size:12px;
  line-height:1.6;
}
.uese-field-help strong{
  color:#0f172a;
}
.uese-inline-note{
  display:block;
  margin:10px 0 0;
  color:#64748b;
  font-size:12px;
  line-height:1.6;
}
.uese-details-help{
  margin:0 0 24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.uese-details-help summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:700;
  color:#111827;
}
.uese-details-help summary::-webkit-details-marker{display:none}
.uese-details-help[open] summary{
  border-bottom:1px solid #e5e7eb;
  background:#fafcff;
}
.uese-details-body{
  padding:16px 18px 18px;
  color:#475569;
  line-height:1.7;
}
.uese-details-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.uese-table-guide{
  margin:0 0 16px;
  padding:14px 16px;
  border-radius:14px;
  background:#f8fbff;
  border:1px solid #dbe7ff;
}
.uese-table-guide strong{
  display:block;
  margin-bottom:6px;
}
@media (max-width: 900px){
  .uese-guide-grid,.uese-details-grid{grid-template-columns:1fr}
}


/* UESE refined instruction layout */
.uese-form-shell{
  display:grid;
  grid-template-columns:minmax(300px, 380px) minmax(0, 1fr);
  gap:24px;
  align-items:start;
  margin:0 0 24px;
}
.uese-form-instructions{
  position:sticky;
  top:24px;
}
.uese-form-panel{
  min-width:0;
}
.uese-guide-card--separated{
  margin:0;
}
.uese-guide-card--separated .uese-guide-title{
  font-size:18px;
}
.uese-guide-card--separated .uese-guide-copy{
  font-size:14px;
}
.uese-guide-card--separated .uese-guide-grid{
  grid-template-columns:1fr;
  gap:12px;
}
.uese-guide-card--separated .uese-guide-item{
  background:#fff;
}
.uese-details-help--separated{
  margin:16px 0 0;
}
.uese-details-help--separated summary{
  font-size:14px;
}
.uese-form-panel .uese-field-help{
  margin-top:8px;
}
@media (max-width: 980px){
  .uese-form-shell{
    grid-template-columns:1fr;
  }
  .uese-form-instructions{
    position:relative;
    top:0;
  }
}


/* responsive logo, public nav, plans language, login cleanup */
.public-logo{height:134px;max-width:100%;object-fit:contain}
@media (max-width:960px){
  .public-header{flex-direction:column;align-items:center;text-align:center;padding:16px 18px}
  .public-brand{width:100%;justify-content:center;flex-direction:column}
  .public-nav{justify-content:center}
  .public-logo{height:108px}
}
@media (max-width:640px){
  .public-logo{height:92px}
  .public-brand-text{font-size:18px}
}


/* CQSA commercial landing and pricing v2.2 */
.saas-hero{padding:22px 0 8px}
.saas-hero-center{max-width:1040px;margin:0 auto}
.saas-hero-card{background:linear-gradient(135deg,#0f172a 0%,#142856 58%,#1d4ed8 100%);border:none;color:#fff;box-shadow:0 22px 50px rgba(15,23,42,.16)}
.saas-hero-card h3,.saas-hero-card p,.saas-hero-card span,.saas-hero-card strong{color:#fff}
.saas-hero-card .mini-badge{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.2)}
.hero-trust-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.hero-trust-row span{display:inline-flex;align-items:center;padding:10px 12px;border-radius:999px;background:#fff;border:1px solid #e5eaf1;color:#334155;font-size:13px;font-weight:700}
.mini-badge{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#eef4ff;border:1px solid #dbe7ff;color:#1d4ed8;font-size:12px;font-weight:800;letter-spacing:.02em}
.saas-hero-metrics{display:grid;gap:12px;margin-top:18px}
.saas-hero-metrics div{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18)}
.saas-hero-metrics span{display:block;font-size:12px;opacity:.84;margin-bottom:6px}
.saas-hero-metrics strong{display:block;font-size:18px;line-height:1.35}
.saas-stat-grid{align-items:stretch}
.saas-stat-card{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.saas-stat-card strong{display:block;font-size:34px;color:#0f172a;margin:10px 0}
.saas-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);gap:22px;align-items:end;margin:22px 0}
.saas-section-head.compact-head{align-items:start}
.saas-section-head h2{margin:10px 0 0;font-size:34px;line-height:1.12}
.saas-section-head p{margin:0;color:#5b6b81;line-height:1.75}
.saas-feature-card{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);padding:28px;border-radius:24px}
.saas-feature-card h3{margin:14px 0 10px;font-size:24px;line-height:1.2}
.saas-feature-card p{color:#5b6b81;line-height:1.78;margin-bottom:0}
.saas-duo-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.85fr);gap:20px}
.saas-wide-card,.saas-side-card{padding:28px;border-radius:24px}
.saas-wide-card h3,.saas-side-card h3{margin:14px 0 12px;font-size:28px;line-height:1.18}
.saas-list-check{list-style:none;padding-left:0}
.saas-list-check li{position:relative;padding-left:26px;margin:12px 0;color:#475569}
.saas-list-check li:before{content:'✓';position:absolute;left:0;top:0;color:#16a34a;font-weight:800}
.saas-cta-card{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:30px;background:linear-gradient(135deg,#0f172a 0%,#172554 62%,#1d4ed8 100%);border:none;color:#fff}
.saas-cta-card h2,.saas-cta-card p{color:#fff}
.saas-cta-card .badge{background:rgba(255,255,255,.12);color:#fff}
.saas-cta-card .btn-light{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:#fff}
.pricing-grid{align-items:stretch}
.pricing-card{position:relative;padding:28px;border-radius:26px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.pricing-card.is-featured{border:1px solid #bfd2ff;box-shadow:0 22px 48px rgba(29,78,216,.12);transform:translateY(-6px)}
.pricing-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.plan-pill{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:800}
.pricing-headline{font-size:18px;font-weight:800;color:#0f172a;margin:8px 0 10px;line-height:1.4}
.pricing-copy{min-height:118px}
.pricing-feature-list{margin-top:18px}
.comparison-card{padding:28px;border-radius:26px}
.comparison-table-wrap{border:1px solid #e6ebf3;border-radius:20px}
.table-wrap.comparison-table-wrap table{margin:0}
.comparison-table thead th{background:#f8fbff;color:#0f172a;font-size:14px;font-weight:800}
.comparison-table tbody td:first-child{font-weight:700;color:#0f172a}
.comparison-table td,.comparison-table th{text-align:left}
@media (max-width:980px){.saas-section-head,.saas-duo-grid,.saas-cta-card{grid-template-columns:1fr;display:grid}.saas-cta-card{display:block}.pricing-card.is-featured{transform:none}.pricing-copy{min-height:0}}
@media (max-width:640px){.hero-copy h1{font-size:40px}.saas-section-head h2{font-size:28px}.saas-wide-card h3,.saas-side-card h3{font-size:24px}.pricing-card,.comparison-card,.saas-feature-card,.saas-wide-card,.saas-side-card{padding:22px}}

/* CQSA v2.2.1 enterprise responsive red theme */
:root{--primary:#b91c1c;--primary-dark:#991b1b;--primary-soft:#fef2f2;--primary-soft-2:#fee2e2;--line-strong:#e7caca}
html{scroll-behavior:smooth}img{max-width:100%;height:auto}.container{width:min(1240px,100% - 32px)}
.btn{transition:all .2s ease}.btn-primary{background:var(--primary)!important;border-color:var(--primary)!important;color:#fff!important}.btn-primary:hover{background:var(--primary-dark)!important;border-color:var(--primary-dark)!important}.btn-light{border-color:var(--primary)!important;color:var(--primary-dark)!important}.btn-light:hover{background:var(--primary-soft)!important}.badge{background:var(--primary-soft)!important;color:var(--primary-dark)!important}.lang-pill{border-color:var(--line-strong)!important;color:var(--primary-dark)!important;background:#fff!important;font-weight:800}.lang-pill:hover{background:var(--primary-soft)!important}
.public-header{padding:16px 24px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);gap:18px}.public-brand{gap:14px}.public-brand-text-wrap{display:flex;flex-direction:column;gap:4px}.public-brand-subtext{font-size:13px;color:#6b7280}.public-logo{height:77px!important;width:auto;object-fit:contain}.public-nav a{font-weight:700}.public-nav a:hover{background:var(--primary-soft)!important;color:var(--primary-dark)!important}.public-menu-toggle{display:none;align-items:center;gap:8px;border:1px solid var(--line-strong);background:#fff;color:var(--primary-dark);border-radius:14px;padding:10px 14px;font-weight:800;cursor:pointer}.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:16px;top:16px;z-index:999;background:#111827;color:#fff;padding:10px 14px;border-radius:10px}.public-main{padding:32px 20px}.footer-grid-public{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.footer-links a{color:var(--primary-dark);text-decoration:none;font-weight:700}.footer-links a:hover{text-decoration:underline}
.hero-trust-row span,.mini-badge{border-color:#f3d0d0!important;background:var(--primary-soft)!important;color:var(--primary-dark)!important}.saas-hero-card{background:linear-gradient(135deg,#7f1d1d 0%,#991b1b 60%,#dc2626 100%)!important}.saas-cta-card{background:linear-gradient(135deg,#7f1d1d 0%,#991b1b 60%,#dc2626 100%)!important}.saas-stat-card{background:linear-gradient(180deg,#fff 0%,#fff7f7 100%)!important}.saas-feature-card,.pricing-card,.comparison-card,.saas-wide-card,.saas-side-card{border-color:#f1d3d3!important}.pricing-card.is-featured{border-color:#f0aaaa!important;box-shadow:0 24px 48px rgba(185,28,28,.14)!important}.plan-pill{background:#fee2e2!important;color:var(--primary-dark)!important}.comparison-table thead th{background:#fff5f5!important}.saas-list-check li:before{color:#b91c1c!important}
.nav a.active,.nav a:hover{background:var(--primary-soft)!important;color:var(--primary-dark)!important}
input:focus,select:focus,textarea:focus{outline:none;border-color:#f08b8b;box-shadow:0 0 0 4px rgba(185,28,28,.12)}
@media (max-width:960px){
  .public-header{padding:14px 16px;align-items:center;flex-wrap:wrap}
  .public-menu-toggle{display:inline-flex}
  .public-nav{display:none;width:100%;flex-direction:column;align-items:stretch;padding-top:8px}
  .public-nav a{width:100%;text-align:left;padding:12px 14px;border:1px solid #f3d6d6;background:#fff}
  body.public-nav-open .public-nav{display:flex}
  .public-brand{flex:1;min-width:0}
  .public-logo{height:58px!important}
  .landing-hero,.saas-duo-grid,.grid-2,.cards-2,.cards-3,.cards-4,.info-grid,.stats-grid{grid-template-columns:1fr!important}
  .hero-copy h1{font-size:38px!important}
  .saas-section-head{grid-template-columns:1fr!important}
  .footer-grid-public{flex-direction:column;align-items:flex-start}
}
@media (max-width:640px){
  .public-main{padding:20px 14px}
  .public-logo{height:51px!important}
  .public-brand-text{font-size:18px!important}
  .public-brand-subtext{font-size:12px}
  .hero-copy h1{font-size:32px!important}
  .hero-note{font-size:16px!important}
  .card,.pricing-card,.comparison-card,.saas-feature-card,.saas-wide-card,.saas-side-card,.saas-cta-card{padding:20px!important;border-radius:20px!important}
  .hero-actions,.footer-links{width:100%}
  .hero-actions .btn,.footer-links a{justify-content:center}
}

/* v2.3 public enterprise legal and faq */
.mb-24{margin-bottom:24px}.mt-16{margin-top:16px}.compact-head{margin-bottom:14px}.faq-grid{display:grid;gap:14px}.faq-preview-card{padding:24px}.legal-hero{margin-bottom:24px}.legal-content h1,.legal-content h2,.legal-content h3{font-weight:800;color:#0f172a}.legal-content h1{font-size:34px;line-height:1.15;margin:8px 0 18px}.legal-content h2{font-size:22px;margin:24px 0 12px}.legal-content h3{font-size:18px;margin:20px 0 10px}.legal-content p,.legal-content li{color:#475569;line-height:1.85;text-align:justify}.legal-content ul{padding-left:22px}.legal-content .badge{margin-bottom:10px}.footer-links{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:flex-end}.footer-links a{text-decoration:none}.saas-side-card a{color:#142033;text-decoration:none;font-weight:700}.saas-side-card a:hover{text-decoration:underline}
@media (max-width:900px){.legal-content h1{font-size:28px}.footer-grid-public{align-items:flex-start}.footer-links{justify-content:flex-start}}

/* v2.3.1 marketing, consent, footer compact */
.footer-links-compact a{font-size:13px;font-weight:600}
.consent-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;font-weight:500!important;color:#334155!important;line-height:1.6}
.consent-check input[type=checkbox]{width:18px;height:18px;min-width:18px;margin-top:2px}
.consent-check a{color:var(--primary-dark);font-weight:700}
.consent-check-optional{opacity:.95}
.consent-check-inline{padding:0;border:0;background:transparent}
.consent-check-inline.is-disabled{opacity:.7}
.auth-card-wide{max-width:560px}
.pricing-grid-home .pricing-card-home{display:grid;gap:14px;align-content:start}
.cookie-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:9999}
.cookie-consent__panel{max-width:1120px;margin:0 auto;background:#ffffff;border:1px solid #dbe3ef;border-radius:20px;box-shadow:0 24px 50px rgba(15,23,42,.18);padding:18px 20px;display:grid;gap:16px}
.cookie-consent__copy strong{display:block;margin-bottom:6px;color:#0f172a}
.cookie-consent__copy p{margin:0;color:#475569;line-height:1.65}
.cookie-consent__actions{display:flex;gap:12px;flex-wrap:wrap}
.cookie-consent__prefs{display:grid;gap:12px;padding-top:6px;border-top:1px solid #e5e7eb}
.cookie-consent__prefs-actions{display:flex;justify-content:flex-start}
@media (max-width:900px){.cookie-consent__actions .btn{width:100%}.cookie-consent__prefs-actions .btn{width:100%}.footer-links-compact{justify-content:flex-start}}

/* v2.3.1.1 fixes */
.public-main h1,.public-main h2,.public-main h3,.public-main h4,.public-main h5,.public-main h6{font-weight:800;color:#0f172a}
.public-main section p,.public-main section li,.public-main article p,.public-main article li,.public-main .card p,.public-main .card li{ text-align:justify; }
.public-main .hero-actions .btn,.public-main nav a,.public-main .footer-links a{text-align:center}
.saas-hero-icon-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hero-icon-item{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 10px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);min-height:116px}
.hero-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;background:rgba(255,255,255,.16);font-size:18px;margin-bottom:10px}
.hero-icon-item span{display:block;font-size:12px;letter-spacing:.02em;text-transform:uppercase;color:rgba(255,255,255,.86);margin-bottom:6px}
.hero-icon-item strong{font-size:17px;line-height:1.25;color:#fff}
@media (max-width:900px){.saas-hero-icon-row{grid-template-columns:1fr}}


/* v2.3.1.1 premium refinements */
.footer-links-compact a{font-size:12px!important}
.saas-hero-card,.saas-cta-card{color:#fff!important}
.saas-hero-card h1,.saas-hero-card h2,.saas-hero-card h3,.saas-hero-card p,.saas-hero-card span,.saas-hero-card strong,.saas-hero-card .hero-icon,.saas-cta-card h1,.saas-cta-card h2,.saas-cta-card h3,.saas-cta-card p,.saas-cta-card span,.saas-cta-card strong{color:#fff!important}
.saas-hero-card .mini-badge,.saas-cta-card .badge{background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.24)!important}
.public-main .saas-hero-card p,.public-main .saas-hero-card li,.public-main .saas-cta-card p,.public-main .saas-cta-card li{color:#fff!important}

.auth-helper-links{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.auth-helper-links a{color:var(--primary);font-weight:700;text-decoration:none}.auth-helper-links a:hover{text-decoration:underline}

/* V2.3.1.3 auth premium */
.justify-text{text-align:justify}.auth-upgraded-shell{align-items:stretch}.auth-copy{display:flex;flex-direction:column;justify-content:center}.auth-premium-card{max-width:520px}.auth-benefit-row{display:flex;gap:10px;flex-wrap:wrap}.auth-benefit-pill{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid rgba(255,255,255,.45);color:#991b1b;font-weight:700;font-size:13px}.twofa-setup-grid{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:start}.twofa-qr-card{text-align:center}.twofa-qr-image{width:100%;max-width:220px;height:auto;border-radius:14px;background:#fff;padding:10px;border:1px solid #e2e8f0}.log-status-success{color:#166534;font-weight:700}.log-status-failed{color:#b91c1c;font-weight:700}.log-status-pending{color:#92400e;font-weight:700}@media (max-width:760px){.twofa-setup-grid{grid-template-columns:1fr}.auth-benefit-row{justify-content:flex-start}}


/* v24 legal pages, flags and dynamic landing media */
.lang-pill{font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:42px}
.legal-doc{display:grid;gap:16px}.legal-doc h1,.legal-doc h2{margin-bottom:0}.legal-icon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.legal-mini-card{padding:16px;border-radius:18px;border:1px solid var(--line);display:grid;gap:6px}.legal-list{margin:0;padding-left:20px;display:grid;gap:8px}.security-grid .legal-mini-card{min-height:110px}.landing-dynamic-banner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:24px;align-items:center;background:linear-gradient(135deg,#fff 0%,#f6f9ff 100%)}.landing-dynamic-copy{display:grid;gap:12px}.landing-dynamic-copy h3{font-size:32px;line-height:1.08;margin:0}.landing-dynamic-media{display:flex;justify-content:center;align-items:center}.landing-dynamic-media img,.landing-feature-media img{width:100%;max-width:420px;max-height:280px;object-fit:cover;border-radius:20px;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}.landing-feature-dynamic{display:grid;gap:16px}.landing-feature-media{display:flex;justify-content:center;align-items:center;min-height:180px}.landing-feature-copy{display:grid;gap:10px}.landing-icon-fallback{width:160px;height:160px;border-radius:32px;display:flex;align-items:center;justify-content:center;font-size:72px;background:linear-gradient(135deg,#eef4ff 0%,#f8fbff 100%);border:1px solid var(--line)}.landing-icon-fallback.sm{width:120px;height:120px;font-size:54px}.landing-info-card{display:grid;gap:10px}.landing-info-top{display:flex;align-items:center;gap:10px}.landing-info-icon{display:inline-flex;width:40px;height:40px;border-radius:14px;align-items:center;justify-content:center;background:#eef4ff;border:1px solid var(--line);font-size:18px}@media (max-width:860px){.landing-dynamic-banner{grid-template-columns:1fr}.landing-dynamic-copy h3{font-size:26px}}


/* v23 custom portal glyphs and alternating home media cards */
.uese-portal-icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(180deg,#f8fbff 0%,#eef4ff 100%);border:1px solid #d9e6ff;box-shadow:0 8px 20px rgba(37,99,235,.08);flex:0 0 auto}
.uese-portal-svg{display:block;width:34px;height:34px}
.landing-info-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.landing-info-top strong{font-size:18px;color:#172033}
.landing-feature-stack{display:grid;gap:20px}
.landing-feature-dynamic{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:26px;align-items:center;padding:28px}
.landing-feature-dynamic.media-left .landing-feature-copy{order:2}
.landing-feature-dynamic.media-left .landing-feature-media{order:1}
.landing-feature-dynamic.media-right .landing-feature-copy{order:1}
.landing-feature-dynamic.media-right .landing-feature-media{order:2}
.landing-feature-copy h3{font-size:30px;line-height:1.15;margin:10px 0 14px;color:#0f172a}
.landing-feature-copy p{margin:0;color:#53627a;line-height:1.8;font-size:17px}
.landing-feature-copy .btn{margin-top:20px}
.landing-feature-media{display:flex;align-items:center;justify-content:center}
.landing-feature-media img{width:100%;max-width:420px;max-height:280px;object-fit:cover;border-radius:22px;border:1px solid #dbe4f0;box-shadow:0 18px 40px rgba(15,23,42,.08)}
.landing-icon-fallback-svg{width:100%;min-height:260px;border-radius:24px;background:linear-gradient(135deg,#f8fbff 0%,#eef4ff 100%);border:1px solid #dbe4f0;display:flex;align-items:center;justify-content:center}
.landing-icon-fallback-svg .uese-portal-icon{width:110px;height:110px;border-radius:32px}
.landing-icon-fallback-svg .uese-portal-svg{width:70px;height:70px}
.legal-icon-grid.no-emoji strong,.legal-list.no-emoji li{font-weight:700}
.legal-list.no-emoji{list-style:none;padding-left:0;display:grid;gap:10px}
@media (max-width:960px){.landing-feature-dynamic{grid-template-columns:1fr;padding:22px}.landing-feature-dynamic.media-left .landing-feature-copy,.landing-feature-dynamic.media-left .landing-feature-media,.landing-feature-dynamic.media-right .landing-feature-copy,.landing-feature-dynamic.media-right .landing-feature-media{order:initial}.landing-feature-media img{max-width:100%;max-height:none}.landing-feature-copy h3{font-size:26px}.landing-feature-copy p{font-size:16px}}


.landing-info-card .uese-portal-icon{width:30px;height:30px;border-radius:10px;padding:0;box-shadow:none}
.landing-info-card .uese-portal-svg{width:18px;height:18px}
.landing-info-top strong{font-size:14px;line-height:1.2}
.uese-feature-illustration{width:100%;max-width:420px;min-height:250px;border-radius:24px;border:1px solid #dbe4f0;background:linear-gradient(135deg,#f8fbff 0%,#eef4ff 100%);box-shadow:0 18px 40px rgba(15,23,42,.08);overflow:hidden;display:flex;align-items:center;justify-content:center;padding:0}
.uese-feature-svg{display:block;width:100%;height:auto}
.landing-feature-media img{width:100%;max-width:360px;max-height:240px;object-fit:cover;border-radius:22px;border:1px solid #dbe4f0;box-shadow:0 18px 40px rgba(15,23,42,.08)}
@media (max-width:960px){.uese-feature-illustration{max-width:100%;min-height:220px}.landing-info-card .uese-portal-icon{width:30px;height:30px}}
