/* LDG ESG Carbon Footprint LCA V5.4.0 — NormaCloud Modules Launcher Integration Lock */
.ldg540-modules-launcher-lock .ldg540-modules-nav .ldg540-nav-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 9px;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.ldg540-modules-launcher-lock .ldg540-modules-nav .ldg540-nav-icon svg { width: 17px; height: 17px; fill: currentColor; }
.ldg540-modules-launcher-lock .ldg540-modules-nav.active .ldg540-nav-icon,
.ldg540-modules-launcher-lock .ldg540-modules-nav:hover .ldg540-nav-icon { background: rgba(255,255,255,.18); }

.ldg540-dashboard-widget,
.ldg540-fallback {
  border: 1px solid rgba(15, 54, 85, .12);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #f6faff 100%);
  box-shadow: 0 12px 34px rgba(10, 44, 72, .07);
}
.ldg540-dashboard-widget { padding: 18px 20px; margin: 0 0 20px; }
.ldg540-widget-head,
.ldg540-fallback-head,
.ldg540-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.ldg540-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #315d7e;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
}
.ldg540-widget-head h2,
.ldg540-fallback-head h2,
.ldg540-panel-head h2 { margin: 0; color: #102f46; font-size: 21px; line-height: 1.2; }
.ldg540-widget-head p,
.ldg540-fallback-head p,
.ldg540-panel-head p { margin: 6px 0 0; color: #557186; font-size: 13px; line-height: 1.55; }
.ldg540-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf5fb;
  color: #244e6e;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.ldg540-widget-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 15px; }
.ldg540-mini-icons { display: flex; align-items: center; padding-left: 4px; }
.ldg540-mini-icons > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -4px;
  border: 3px solid #fff;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(15, 54, 85, .12);
}
.ldg540-mini-icons svg { width: 15px; height: 15px; fill: currentColor; }
.ldg540-open-all,
.ldg540-card-cta,
.ldg540-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
  cursor: pointer;
}
.ldg540-open-all { padding: 9px 14px; background: #0b67b2; color: #fff !important; }
.ldg540-open-all:hover { background: #085892; }

.ldg540-fallback { padding: 26px; }
.ldg540-fallback-head { margin-bottom: 22px; }
.ldg540-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ldg540-module-card {
  --ldg540-tone: #eaf4ff;
  --ldg540-ink: #155991;
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(19, 65, 97, .11);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 28%, var(--ldg540-tone) 130%);
  box-shadow: 0 9px 22px rgba(16, 52, 78, .055);
}
.ldg540-module-card.tone-1, .ldg540-mini-icons .tone-1 { --ldg540-tone:#e7f3ff; --ldg540-ink:#1165a5; background-color:#e7f3ff; color:#1165a5; }
.ldg540-module-card.tone-2, .ldg540-mini-icons .tone-2 { --ldg540-tone:#ebf8f3; --ldg540-ink:#187154; background-color:#ebf8f3; color:#187154; }
.ldg540-module-card.tone-3, .ldg540-mini-icons .tone-3 { --ldg540-tone:#f4efff; --ldg540-ink:#6852a7; background-color:#f4efff; color:#6852a7; }
.ldg540-module-card.tone-4, .ldg540-mini-icons .tone-4 { --ldg540-tone:#fff3e8; --ldg540-ink:#9b5b18; background-color:#fff3e8; color:#9b5b18; }
.ldg540-module-card.tone-5, .ldg540-mini-icons .tone-5 { --ldg540-tone:#eef7e7; --ldg540-ink:#557b21; background-color:#eef7e7; color:#557b21; }
.ldg540-module-card.tone-6, .ldg540-mini-icons .tone-6 { --ldg540-tone:#fceff2; --ldg540-ink:#a44d67; background-color:#fceff2; color:#a44d67; }
.ldg540-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--ldg540-tone);
  color: var(--ldg540-ink);
}
.ldg540-card-icon svg { width: 19px; height: 19px; fill: currentColor; }
.ldg540-card-copy { flex: 1; min-width: 0; }
.ldg540-card-copy h3 { margin: 0; color: #15364e; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.ldg540-card-copy p { margin: 8px 0 16px; color: #60798b; font-size: 12.5px; line-height: 1.5; }
.ldg540-card-cta { align-self: flex-start; padding: 8px 11px; background: #edf5fb; color: #0b5d9d !important; }
.ldg540-card-cta:hover { background: #dcecf8; }
.ldg540-empty { padding: 28px; border: 1px dashed #b6cad8; border-radius: 15px; background: #f8fbfd; color: #34566d; }
.ldg540-empty strong { display: block; color: #173d57; }
.ldg540-empty p { margin: 5px 0 0; font-size: 13px; }

.ldg540-overlay { position: fixed; inset: 0; z-index: 999999; display: none; }
.ldg540-overlay.is-open { display: block; }
.ldg540-overlay-backdrop { position: absolute; inset: 0; background: rgba(7, 24, 38, .62); backdrop-filter: blur(3px); }
.ldg540-panel {
  position: absolute;
  inset: 5vh 4vw;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 24px;
  background: #f7fafc;
  box-shadow: 0 30px 90px rgba(0, 20, 36, .35);
  outline: none;
}
.ldg540-panel-head { padding: 24px 26px 20px; border-bottom: 1px solid #e4edf3; background: #fff; }
.ldg540-panel-meta { display: flex; align-items: center; gap: 10px; }
.ldg540-close { min-height: 34px; padding: 7px 12px; background: #eef3f6; color: #284b63; }
.ldg540-close:hover { background: #e0e9ee; }
.ldg540-panel-body { height: calc(90vh - 112px); overflow: auto; padding: 24px 26px 30px; }
.ldg540-panel .ldg540-module-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.ldg540-launcher-open { overflow: hidden; }

@media (min-width: 1500px) {
  .ldg540-panel .ldg540-module-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ldg540-module-grid,
  .ldg540-panel .ldg540-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ldg540-widget-head,
  .ldg540-fallback-head,
  .ldg540-panel-head { flex-direction: column; }
  .ldg540-widget-actions { align-items: flex-start; flex-direction: column; }
  .ldg540-module-grid,
  .ldg540-panel .ldg540-module-grid { grid-template-columns: 1fr; }
  .ldg540-panel { inset: 2vh 12px; border-radius: 18px; }
  .ldg540-panel-body { height: calc(96vh - 170px); padding: 18px; }
  .ldg540-panel-head { padding: 20px 18px; }
  .ldg540-panel-meta { width: 100%; justify-content: space-between; }
  .ldg540-fallback { padding: 20px; }
}
@media print {
  .ldg540-dashboard-widget,
  .ldg540-modules-nav,
  .ldg540-overlay { display: none !important; }
}
