/*
 * LDG ESG Carbon Footprint LCA v5.2.12a
 * Viewport Scale & Navigation Transition Recovery
 * Presentation layer only. Root authority: .ldg5212-canonical-spa
 */
.ldg40-root.ldg5212-canonical-spa{
  --ldg5212-navy:#073b63;
  --ldg5212-navy-2:#062f4f;
  --ldg5212-blue:#0b72d1;
  --ldg5212-cyan:#0f7db8;
  --ldg5212-lime:#8fcd00;
  --ldg5212-ink:#071f35;
  --ldg5212-muted:#4c687d;
  --ldg5212-line:#d8e7f0;
  --ldg5212-soft:#f5f9fc;
  --ldg5212-panel:#ffffff;
  --ldg5212-warn:#c96d00;
  --ldg5212-shadow:0 8px 24px rgba(7,47,79,.07);
  --ldg5212-shadow-strong:0 12px 30px rgba(7,47,79,.11);
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
  background:#f3f8fb!important;
  color:var(--ldg5212-ink)!important;
  font-size:16px!important;
  line-height:1.48!important;
}
.ldg40-root.ldg5212-canonical-spa,
.ldg40-root.ldg5212-canonical-spa *{box-sizing:border-box}

/* Canonical desktop shell: bounded reading width, no ultrawide stretching. */
.ldg40-root.ldg5212-canonical-spa .ldg40-layout{
  display:grid!important;
  grid-template-columns:224px minmax(0,1fr)!important;
  gap:16px!important;
  width:calc(100% - 32px)!important;
  max-width:2280px!important;
  margin:0 auto!important;
  padding:16px 0 30px!important;
  align-items:start!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-layout>main{
  min-width:0!important;
  width:100%!important;
  overflow:visible!important;
}

/* Sidebar: one compact navigation authority. */
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar{
  position:sticky!important;
  top:16px!important;
  align-self:start!important;
  width:224px!important;
  min-width:224px!important;
  max-width:224px!important;
  max-height:calc(100vh - 32px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:13px!important;
  border:0!important;
  border-radius:18px!important;
  background:var(--ldg5212-navy-2)!important;
  color:#fff!important;
  box-shadow:var(--ldg5212-shadow-strong)!important;
  scrollbar-width:thin;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-brand{
  display:grid!important;
  gap:3px!important;
  margin:0 0 8px!important;
  padding:4px 4px 10px!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-brand img{display:none!important}
.ldg40-root.ldg5212-canonical-spa .ldg40-brand strong{
  color:#fff!important;
  font-size:15px!important;
  line-height:1.22!important;
  font-weight:850!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-brand span{
  color:#d9ecf7!important;
  font-size:11.5px!important;
  line-height:1.3!important;
  font-weight:650!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:center!important;
  min-height:46px!important;
  padding:7px 9px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a:hover{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.12)!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a.active,
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a.is-active{
  background:rgba(255,255,255,.13)!important;
  border-color:rgba(255,255,255,.22)!important;
  box-shadow:inset 4px 0 0 var(--ldg5212-lime)!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a em{
  display:grid!important;
  place-items:center!important;
  width:32px!important;
  height:32px!important;
  margin:0!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:850!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a.active em,
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a.is-active em{
  background:var(--ldg5212-lime)!important;
  color:#08243b!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a span{min-width:0!important}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a strong{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#fff!important;
  font-size:13.5px!important;
  line-height:1.2!important;
  font-weight:820!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  margin-top:2px!important;
  color:#d9ecf7!important;
  font-size:10.5px!important;
  line-height:1.18!important;
  font-weight:600!important;
}
/* Global menu labels were duplicated (Clienti/Clienti etc.). */
.ldg40-root.ldg5212-canonical-spa[data-global="1"] .ldg40-sidebar nav a small{display:none!important}
.ldg40-root.ldg5212-canonical-spa[data-global="1"] .ldg40-sidebar nav a{min-height:44px!important}
.ldg40-root.ldg5212-canonical-spa .ldg40-access{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin-top:9px!important;
  padding:9px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-access strong{color:#fff!important;font-size:11.5px!important}
.ldg40-root.ldg5212-canonical-spa .ldg40-access span{
  flex:0 0 auto!important;
  margin:0!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--ldg5212-navy-2)!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:850!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-access p{display:none!important}

/* Hero becomes a contextual application header, not a landing-page banner. */
.ldg40-root.ldg5212-canonical-spa .ldg40-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 230px!important;
  gap:14px!important;
  align-items:center!important;
  min-height:100px!important;
  margin:0!important;
  padding:18px 20px!important;
  border:0!important;
  border-radius:18px!important;
  background:linear-gradient(120deg,#073b63 0%,#0a4c78 70%,#0b5d88 100%)!important;
  box-shadow:var(--ldg5212-shadow-strong)!important;
  overflow:hidden!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero:before{
  right:9%!important;
  top:-75px!important;
  width:190px!important;
  height:190px!important;
  opacity:.28!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero:after{display:none!important}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero p{
  margin:0 0 4px!important;
  color:#d9edf8!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  font-weight:800!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero h1{
  margin:0!important;
  max-width:980px!important;
  color:#fff!important;
  font-size:clamp(28px,2vw,36px)!important;
  line-height:1.04!important;
  letter-spacing:-.025em!important;
  font-weight:900!important;
  text-transform:none!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero>div>span{
  display:block!important;
  max-width:920px!important;
  margin-top:5px!important;
  color:#e8f4fa!important;
  font-size:13.5px!important;
  line-height:1.38!important;
  font-weight:650!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero aside{
  display:grid!important;
  gap:2px!important;
  min-height:66px!important;
  width:auto!important;
  padding:12px 14px!important;
  border:1px solid rgba(255,255,255,.23)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.11)!important;
  box-shadow:none!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero aside small{
  color:#e6f4fb!important;
  font-size:9.5px!important;
  line-height:1.1!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  font-weight:850!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero aside strong{
  color:#fff!important;
  font-size:17px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-hero aside em{
  color:#e8f4fa!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  font-style:normal!important;
  font-weight:650!important;
}

/* The old injected guide duplicated every page. Help remains available in the product header. */
.ldg40-root.ldg5212-canonical-spa .ldg500-guided-panel{display:none!important}

/* Practice switch = compact contextual toolbar. */
.ldg40-root.ldg5212-canonical-spa .ldg40-switch{
  display:grid!important;
  grid-template-columns:165px minmax(0,1fr) auto auto!important;
  gap:8px!important;
  align-items:center!important;
  min-width:0!important;
  margin:10px 0 0!important;
  padding:10px 12px!important;
  border:1px solid var(--ldg5212-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:var(--ldg5212-shadow)!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-switch>div{min-width:0!important}
.ldg40-root.ldg5212-canonical-spa .ldg40-switch label{
  display:block!important;
  color:var(--ldg5212-ink)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-switch p{display:none!important}
.ldg40-root.ldg5212-canonical-spa .ldg40-switch select{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  height:42px!important;
  padding:0 10px!important;
  border:1px solid #c8dce8!important;
  border-radius:10px!important;
  background:#f8fbfd!important;
  color:var(--ldg5212-ink)!important;
  font-size:13px!important;
  font-weight:650!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-switch button,
.ldg40-root.ldg5212-canonical-spa .ldg40-switch a{
  min-height:42px!important;
  height:42px!important;
  padding:0 13px!important;
  border-radius:10px!important;
  font-size:12.5px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* Global Registry creation is now a workflow, not a permanent dashboard wall. */
.ldg40-root.ldg5212-canonical-spa[data-global="1"]:not([data-view="nuovo"]) .ldg523-registry-control{
  display:none!important;
}

/* Main content rhythm. */
.ldg40-root.ldg5212-canonical-spa .ldg40-content{
  display:grid!important;
  gap:14px!important;
  min-width:0!important;
  margin-top:12px!important;
  padding:0!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-content>.ldg40-card,
.ldg40-root.ldg5212-canonical-spa .ldg40-content>.ldg451-view,
.ldg40-root.ldg5212-canonical-spa .ldg40-content>.ldg43-control,
.ldg40-root.ldg5212-canonical-spa .ldg40-content>.ldg44-panel{
  min-width:0!important;
  border:1px solid var(--ldg5212-line)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:var(--ldg5212-shadow)!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg451-view{
  padding:16px!important;
}
/* Hero is the page title. Remove the duplicated global page title, retain its primary action. */
.ldg40-root.ldg5212-canonical-spa[data-global="1"] .ldg451-view-head{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  min-height:42px!important;
  margin:0 0 12px!important;
}
.ldg40-root.ldg5212-canonical-spa[data-global="1"] .ldg451-view-head>span,
.ldg40-root.ldg5212-canonical-spa[data-global="1"] .ldg451-view-head>h2,
.ldg40-root.ldg5212-canonical-spa[data-global="1"] .ldg451-view-head>p{display:none!important}
.ldg40-root.ldg5212-canonical-spa .ldg451-view-head a,
.ldg40-root.ldg5212-canonical-spa .ldg43-primary{
  min-height:42px!important;
  padding:0 15px!important;
  border-radius:10px!important;
  font-size:11.5px!important;
  line-height:1!important;
  font-weight:850!important;
}

.ldg40-root.ldg5212-canonical-spa .ldg40-section-head,
.ldg40-root.ldg5212-canonical-spa .ldg44-panel-head,
.ldg40-root.ldg5212-canonical-spa .ldg462-section-head{
  margin-bottom:12px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-section-head>span,
.ldg40-root.ldg5212-canonical-spa .ldg44-panel-head>div>span,
.ldg40-root.ldg5212-canonical-spa .ldg450-pill{
  font-size:9.5px!important;
  letter-spacing:.08em!important;
  line-height:1.2!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-section-head h2,
.ldg40-root.ldg5212-canonical-spa .ldg44-panel-head h2,
.ldg40-root.ldg5212-canonical-spa .ldg462-section-head h2{
  margin:5px 0 4px!important;
  color:var(--ldg5212-ink)!important;
  font-size:clamp(22px,1.55vw,28px)!important;
  line-height:1.12!important;
  letter-spacing:-.018em!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-section-head p,
.ldg40-root.ldg5212-canonical-spa .ldg44-panel-head p,
.ldg40-root.ldg5212-canonical-spa .ldg462-section-head p{
  max-width:92ch!important;
  margin:0!important;
  color:var(--ldg5212-muted)!important;
  font-size:13.5px!important;
  line-height:1.45!important;
}

/* KPIs: dense but readable, no dead half-row on wide screens. */
.ldg40-root.ldg5212-canonical-spa .ldg43-metrics{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 12px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-metric{
  display:grid!important;
  align-content:center!important;
  gap:3px!important;
  min-height:94px!important;
  padding:12px 14px!important;
  border:1px solid var(--ldg5212-line)!important;
  border-top-width:3px!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-metric span{
  color:var(--ldg5212-muted)!important;
  font-size:10.5px!important;
  line-height:1.18!important;
  letter-spacing:.07em!important;
  font-weight:850!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-metric strong{
  color:var(--ldg5212-ink)!important;
  font-size:25px!important;
  line-height:1!important;
  font-weight:900!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-metric small{
  color:var(--ldg5212-muted)!important;
  font-size:11.5px!important;
  line-height:1.25!important;
}

.ldg40-root.ldg5212-canonical-spa .ldg43-global-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;
  gap:12px!important;
  align-items:start!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-panel{
  min-width:0!important;
  padding:13px!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-panel h3{
  margin:0 0 8px!important;
  color:var(--ldg5212-ink)!important;
  font-size:16px!important;
  line-height:1.22!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-list{gap:6px!important}
.ldg40-root.ldg5212-canonical-spa .ldg43-list a{
  grid-template-columns:34px minmax(0,1fr) auto!important;
  gap:8px!important;
  min-height:48px!important;
  padding:7px 9px!important;
  border-radius:10px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-list a b{
  width:32px!important;
  height:32px!important;
  border-radius:9px!important;
  font-size:10px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-list a strong{font-size:12px!important;line-height:1.2!important}
.ldg40-root.ldg5212-canonical-spa .ldg43-list a small{font-size:10.5px!important;line-height:1.2!important}
.ldg40-root.ldg5212-canonical-spa .ldg43-list a em{font-size:10.5px!important;white-space:nowrap!important}
.ldg40-root.ldg5212-canonical-spa .ldg43-checks{gap:6px!important}
.ldg40-root.ldg5212-canonical-spa .ldg43-checks div{
  grid-template-columns:28px minmax(0,1fr)!important;
  gap:8px!important;
  min-height:42px!important;
  padding:7px 9px!important;
  border-radius:10px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-checks b{
  width:24px!important;
  height:24px!important;
  border-radius:7px!important;
  font-size:10px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg43-checks span{font-size:11.5px!important;line-height:1.25!important}

/* Tables: readable text with controlled horizontal overflow, never scale the whole page down. */
.ldg40-root.ldg5212-canonical-spa .ldg451-table-wrap,
.ldg40-root.ldg5212-canonical-spa .ldg44-table-wrap,
.ldg40-root.ldg5212-canonical-spa .ldg40-table-wrap,
.ldg40-root.ldg5212-canonical-spa .table-responsive{
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  border-radius:12px!important;
  scrollbar-width:thin;
}
.ldg40-root.ldg5212-canonical-spa table,
.ldg40-root.ldg5212-canonical-spa .ldg451-table,
.ldg40-root.ldg5212-canonical-spa .ldg44-table{
  width:100%!important;
  max-width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  color:var(--ldg5212-ink)!important;
  font-size:13.5px!important;
  line-height:1.4!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg451-table{min-width:720px!important}
.ldg40-root.ldg5212-canonical-spa table th,
.ldg40-root.ldg5212-canonical-spa .ldg451-table th,
.ldg40-root.ldg5212-canonical-spa .ldg44-table th{
  padding:8px 9px!important;
  background:var(--ldg5212-navy)!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1.25!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  font-weight:850!important;
  white-space:normal!important;
}
.ldg40-root.ldg5212-canonical-spa table td,
.ldg40-root.ldg5212-canonical-spa .ldg451-table td,
.ldg40-root.ldg5212-canonical-spa .ldg44-table td{
  padding:8px 9px!important;
  background:#fff!important;
  color:var(--ldg5212-ink)!important;
  font-size:13px!important;
  line-height:1.4!important;
  vertical-align:middle!important;
}
.ldg40-root.ldg5212-canonical-spa table td small,
.ldg40-root.ldg5212-canonical-spa .ldg451-table td small,
.ldg40-root.ldg5212-canonical-spa .ldg44-table td small{
  color:var(--ldg5212-muted)!important;
  font-size:11.5px!important;
  line-height:1.3!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg527b-regulatory-table{
  min-width:1120px!important;
  table-layout:fixed!important;
}

/* Client-side compact table tools: no pagination, progressive disclosure only. */
.ldg40-root.ldg5212-canonical-spa .ldg5212-table-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0 0 8px!important;
  padding:8px!important;
  border:1px solid var(--ldg5212-line)!important;
  border-radius:11px!important;
  background:var(--ldg5212-soft)!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg5212-table-tools input{
  flex:1 1 320px!important;
  min-width:0!important;
  min-height:36px!important;
  padding:0 10px!important;
  border:1px solid #c6dbe8!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--ldg5212-ink)!important;
  font-size:13px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg5212-table-tools span{
  flex:0 0 auto!important;
  color:var(--ldg5212-muted)!important;
  font-size:11.5px!important;
  font-weight:750!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg5212-table-more{
  min-height:34px!important;
  padding:0 11px!important;
  border:1px solid #c6dbe8!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--ldg5212-navy)!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
.ldg40-root.ldg5212-canonical-spa tr.ldg5212-row-hidden{display:none!important}

/* Registry picker is compact in the only place where it belongs: new-practice workflow. */
.ldg40-root.ldg5212-canonical-spa .ldg523-new-wizard,
.ldg40-root.ldg5212-canonical-spa .ldg430-new-wizard,
.ldg40-root.ldg5212-canonical-spa .ldg43-wizard{
  padding:16px!important;
  border-radius:16px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg523-registry-picker{
  grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr)!important;
  gap:10px!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg523-registry-search{min-height:44px!important;height:44px!important}
.ldg40-root.ldg5212-canonical-spa .ldg5211-company-picker-helper{padding:7px 9px!important;border-radius:10px!important}
.ldg40-root.ldg5212-canonical-spa .ldg5211-company-results{max-height:280px!important;border-radius:11px!important}
.ldg40-root.ldg5212-canonical-spa .ldg5211-company-selected{padding:9px 11px!important;border-radius:11px!important}

/* Technical / sources screens: preserve data width, increase reading density. */
.ldg40-root.ldg5212-canonical-spa .ldg44-panel{
  min-width:0!important;
  padding:16px!important;
  border-radius:15px!important;
  box-shadow:none!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg44-engine,
.ldg40-root.ldg5212-canonical-spa .ldg440-engine,
.ldg40-root.ldg5212-canonical-spa .ldg40-data-columns{min-width:0!important}
.ldg40-root.ldg5212-canonical-spa .ldg44-source-grid,
.ldg40-root.ldg5212-canonical-spa .ldg40-data-columns{gap:10px!important}

/* Inputs/buttons: consistent interaction size, no giant pills. */
.ldg40-root.ldg5212-canonical-spa input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ldg40-root.ldg5212-canonical-spa select,
.ldg40-root.ldg5212-canonical-spa textarea{
  max-width:100%!important;
  border-radius:9px!important;
  color:var(--ldg5212-ink)!important;
}
.ldg40-root.ldg5212-canonical-spa button,
.ldg40-root.ldg5212-canonical-spa .button,
.ldg40-root.ldg5212-canonical-spa a.ldg40-btn,
.ldg40-root.ldg5212-canonical-spa .ldg451-link{
  border-radius:9px!important;
}

/* 1440-ish notebooks. */
@media(max-width:1480px){
  .ldg40-root.ldg5212-canonical-spa .ldg40-layout{
    grid-template-columns:210px minmax(0,1fr)!important;
    width:calc(100% - 24px)!important;
    gap:12px!important;
    padding-top:12px!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-sidebar{width:210px!important;min-width:210px!important;max-width:210px!important}
  .ldg40-root.ldg5212-canonical-spa .ldg43-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-hero{grid-template-columns:minmax(0,1fr) 205px!important}
}

/* Small notebooks/tablets: navigation becomes a compact top rail. */
@media(max-width:1100px){
  .ldg40-root.ldg5212-canonical-spa .ldg40-layout{
    display:block!important;
    width:calc(100% - 20px)!important;
    max-width:none!important;
    padding:10px 0 22px!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-sidebar{
    position:static!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    max-height:none!important;
    margin:0 0 10px!important;
    padding:10px!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-brand{
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    gap:14px!important;
    padding:2px 2px 8px!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a{
    grid-template-columns:28px minmax(0,1fr)!important;
    min-height:42px!important;
    padding:5px 7px!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a em{width:26px!important;height:26px!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-access{display:none!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-hero{grid-template-columns:1fr 180px!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch{grid-template-columns:120px minmax(0,1fr) auto auto!important}
  .ldg40-root.ldg5212-canonical-spa .ldg43-global-grid{grid-template-columns:1fr!important}
  .ldg40-root.ldg5212-canonical-spa .ldg523-registry-picker{grid-template-columns:1fr!important}
}

@media(max-width:760px){
  .ldg40-root.ldg5212-canonical-spa{font-size:14px!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-layout{width:calc(100% - 14px)!important;padding-top:7px!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-sidebar{border-radius:14px!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-brand span{display:none!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-hero{
    grid-template-columns:1fr!important;
    min-height:0!important;
    padding:13px!important;
    border-radius:14px!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-hero h1{font-size:24px!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-hero aside{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    column-gap:8px!important;
    min-height:0!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-hero aside em{grid-column:1/-1!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch{
    grid-template-columns:1fr 1fr!important;
    padding:8px!important;
  }
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch>div,
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch select{grid-column:1/-1!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch button,
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch a{width:100%!important}
  .ldg40-root.ldg5212-canonical-spa .ldg43-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ldg40-root.ldg5212-canonical-spa .ldg5212-table-tools{align-items:stretch!important;flex-direction:column!important}
  .ldg40-root.ldg5212-canonical-spa .ldg5212-table-tools input{flex:0 0 auto!important;width:100%!important}
  .ldg40-root.ldg5212-canonical-spa .ldg451-view{padding:10px!important}
}

@media(max-width:480px){
  .ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav{grid-template-columns:1fr!important}
  .ldg40-root.ldg5212-canonical-spa .ldg43-metrics{grid-template-columns:1fr!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch{grid-template-columns:1fr!important}
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch>div,
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch select,
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch button,
  .ldg40-root.ldg5212-canonical-spa .ldg40-switch a{grid-column:1!important}
}



/* v5.2.12b fast navigation: native page navigation with a delayed, non-blocking progress cue. */
.ldg40-root.ldg5212-canonical-spa.ldg5212b-navigating::before{
  content:"";
  position:fixed!important;
  left:0!important;
  top:0!important;
  z-index:2147483000!important;
  width:100%!important;
  height:3px!important;
  background:var(--ldg5212-blue)!important;
  transform:scaleX(.08)!important;
  transform-origin:left center!important;
  opacity:0!important;
  pointer-events:none!important;
  animation:ldg5212b-nav-progress 1.1s ease-out .32s both!important;
}
.ldg40-root.ldg5212-canonical-spa .ldg40-sidebar nav a.ldg5212b-pending{
  box-shadow:inset 4px 0 0 var(--ldg5212-lime)!important;
}
@keyframes ldg5212b-nav-progress{
  0%{opacity:0;transform:scaleX(.08)}
  10%{opacity:1;transform:scaleX(.22)}
  65%{opacity:1;transform:scaleX(.72)}
  100%{opacity:1;transform:scaleX(.94)}
}
@media(prefers-reduced-motion:reduce){
  .ldg40-root.ldg5212-canonical-spa.ldg5212b-navigating::before{
    animation:none!important;
    opacity:1!important;
    transform:scaleX(.55)!important;
  }
}
