@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&family=Special+Gothic+Expanded+One&display=swap');

:root {
  --nexolux-bg: #000000;
  --nexolux-surface: #090909;
  --nexolux-surface-alt: #111111;
  --nexolux-border: #262626;
  --nexolux-title: #f0f0f0;
  --nexolux-text: #c7c7c7;
  --nexolux-label: #8e8e8e;
  --nexolux-accent: #52bb2f;
  --nexolux-accent-soft: #84c464;
  --nexolux-radius: 14px;
  --nexolux-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.nexolux-dashboard,
.nexolux-card {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  color: var(--nexolux-text);
  --nexolux-divider: rgba(255, 255, 255, 0.11);
  --nexolux-error-border: rgba(161, 93, 103, 0.76);
  --nexolux-error-bg: rgba(38, 16, 20, 0.92);
  --nexolux-error-text: #f3b6c0;
  --nexolux-detail-bg: rgba(14, 14, 14, 0.92);
  --nexolux-detail-border: rgba(255, 255, 255, 0.14);
  --nexolux-detail-value: #e0e0e0;
  --nexolux-table-bg: rgba(9, 9, 9, 0.96);
  --nexolux-table-border: rgba(255, 255, 255, 0.16);
  --nexolux-table-head-bg: #1a1a1a;
  --nexolux-table-row-alt: rgba(255, 255, 255, 0.035);
  --nexolux-table-num: #efefef;
  --nexolux-iso-legend: #d1d1d1;
}

.nexolux-dashboard.nexolux-dark {
  border-radius: calc(var(--nexolux-radius) + 4px);
  box-shadow: var(--nexolux-shadow);
}

.nexolux-dashboard.nexolux-light,
.nexolux-card.nexolux-light {
  --nexolux-bg: #e3e3e3;
  --nexolux-surface: #ffffff;
  --nexolux-surface-alt: #f5f5f5;
  --nexolux-border: #dbdbdb;
  --nexolux-title: #323232;
  --nexolux-text: #666666;
  --nexolux-label: #8e8e8e;
  --nexolux-accent: #c81400;
  --nexolux-accent-soft: #e32711;
  --nexolux-shadow: 0 10px 24px rgba(17, 28, 45, 0.09);
  --nexolux-divider: rgba(29, 49, 80, 0.12);
  --nexolux-error-border: rgba(191, 135, 145, 0.55);
  --nexolux-error-bg: rgba(255, 241, 244, 0.95);
  --nexolux-error-text: #8c3e4e;
  --nexolux-detail-bg: rgba(248, 250, 254, 0.9);
  --nexolux-detail-border: rgba(133, 155, 185, 0.35);
  --nexolux-detail-value: #23344e;
  --nexolux-table-bg: rgba(252, 253, 255, 0.96);
  --nexolux-table-border: rgba(133, 155, 185, 0.32);
  --nexolux-table-head-bg: #eef3fb;
  --nexolux-table-row-alt: rgba(39, 67, 109, 0.04);
  --nexolux-table-num: #22344d;
  --nexolux-iso-legend: #334964;
}

.nexolux-dashboard.nexolux-light {
  background: radial-gradient(circle at top right, #ffffff 0%, #eef3fb 65%);
  border: 1px solid var(--nexolux-border);
  border-radius: calc(var(--nexolux-radius) + 4px);
  box-shadow: var(--nexolux-shadow);
  padding: 24px;
}

.nexolux-dashboard__header {
  margin-bottom: 20px;
}

.nexolux-title {
  color: var(--nexolux-title);
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 0.02em;
  font-family: 'Special Gothic Expanded One', 'DM Sans', sans-serif;
}

.nexolux-subtitle {
  color: var(--nexolux-label);
  margin: 6px 0 0;
  font-size: 0.95rem;
}

.nexolux-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.nexolux-card {
  background: #151515;
  border-radius: var(--nexolux-radius);
  padding: 16px;
  min-height: 145px;
}

.nexolux-card.nexolux-dark {
  box-shadow: none;
}

.nexolux-card.nexolux-light {
  box-shadow: 0 8px 18px rgba(17, 28, 45, 0.08);
}

.nexolux-card--standalone {
  margin: 16px 0;
}

.nexolux-dashboard .nexolux-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.nexolux-dashboard .nexolux-card__body {
  flex: 1 1 auto;
}

.nexolux-card__title {
  color: var(--nexolux-title);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;
  font-family: 'Special Gothic Expanded One', 'DM Sans', sans-serif;
}

.nexolux-card__meta {
  display: none;
}

.nexolux-label {
  color: var(--nexolux-label);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nexolux-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  cursor: help;
  outline: none;
}

.nexolux-tip em {
  display: inline-grid;
  place-items: center;
  width: 1.06em;
  height: 1.06em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--nexolux-label);
  font-size: 0.72em;
  font-style: normal;
  line-height: 1;
  opacity: 0.8;
}

.nexolux-light .nexolux-tip em {
  border-color: rgba(29, 49, 80, 0.25);
}

.nexolux-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  min-width: 180px;
  max-width: 320px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(14, 14, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e9e9ea;
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
  pointer-events: none;
}

.nexolux-tip:hover::after,
.nexolux-tip:focus::after,
.nexolux-tip:active::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nexolux-light .nexolux-tip::after {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(29, 49, 80, 0.24);
  color: #20324f;
}

.nexolux-value {
  color: var(--nexolux-accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.nexolux-card__body {
  margin-top: 12px;
  min-height: 52px;
}

.nexolux-error {
  border: 1px solid var(--nexolux-error-border);
  background: var(--nexolux-error-bg);
  color: var(--nexolux-error-text);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.nexolux-error strong {
  display: block;
  font-size: 0.74rem;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nexolux-error span {
  display: block;
}

.nexolux-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.nexolux-detalles-v2 {
  border-radius: 12px;
  padding: 14px;
}

.nexolux-detalles-top {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.nexolux-detalles-titulo {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--nexolux-title);
  font-weight: 300;
}

.nexolux-detalles-barra {
  position: relative;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--nexolux-detail-border);
  background: rgba(255, 255, 255, 0.06);
}

.nexolux-detalles-barra span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f12a3d 0%, #f7be2b 50%, #3cd64a 100%);
}

.nexolux-detalles-barra strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #151a23;
  font-size: 0.95rem;
}

.nexolux-detalles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.nexolux-detalles-col {
  display: grid;
  gap: 9px;
  align-content: start;
}

.nexolux-detalles-par {
  display: grid;
  gap: 2px;
}

.nexolux-detalles-par span {
  font-size: 0.78rem;
  color: var(--nexolux-label);
}

.nexolux-detalles-par strong {
  font-size: 1rem;
  color: var(--nexolux-detail-value);
  font-weight: 600;
  line-height: 1.3;
}

.nexolux-detalles-icono {
  margin: 8px 0;
  display: grid;
  place-items: start center;
  transform: scale(0.85);
  transform-origin: center top;
}

.nexolux-bulbo {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 30%, #ffffff 0%, #cfd6e4 40%, #aeb8ca 100%);
  border: 1px solid rgba(45, 59, 84, 0.35);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.35);
  position: relative;
}

.nexolux-bulbo::before {
  content: "";
  width: 48px;
  height: 24px;
  border-radius: 4px;
  background: #9faabf;
  border: 1px solid rgba(45, 59, 84, 0.35);
  position: absolute;
  left: 23px;
  top: -22px;
}

.nexolux-bulbo--panel {
  width: 116px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f2f5fb 0%, #b8c3d8 100%);
}

.nexolux-bulbo--panel::before {
  width: 36px;
  height: 8px;
  left: 40px;
  top: -12px;
}

.nexolux-bulbo--campana {
  width: 118px;
  height: 82px;
  border-radius: 58px 58px 24px 24px;
  background: radial-gradient(circle at 50% 22%, #eff3fb 0%, #c5cfde 48%, #919db4 100%);
}

.nexolux-bulbo--campana::before {
  width: 64px;
  height: 14px;
  left: 27px;
  top: -14px;
}

.nexolux-bulbo--vial {
  width: 38px;
  height: 124px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f3f6fc 0%, #c6d0e0 54%, #9ca8bf 100%);
}

.nexolux-bulbo--vial::before {
  width: 50px;
  height: 10px;
  left: -6px;
  top: -12px;
}

.nexolux-bulbo--reflector {
  width: 120px;
  height: 88px;
  border-radius: 60px 60px 42px 42px;
  background: conic-gradient(from 180deg at 50% 0%, #c9d3e4 0deg, #f0f4fa 80deg, #a4b0c6 180deg, #c9d3e4 360deg);
}

.nexolux-bulbo--reflector::before {
  width: 26px;
  height: 20px;
  left: 47px;
  top: -18px;
}

.nexolux-detalles-lista {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

.nexolux-detalles-lista div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
}

.nexolux-detalles-lista span {
  color: var(--nexolux-label);
}

.nexolux-detalles-lista strong {
  color: var(--nexolux-detail-value);
  font-weight: 500;
}

.nexolux-detail-item {
  background: var(--nexolux-detail-bg);
  border: 1px solid var(--nexolux-detail-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.nexolux-detail-label {
  color: var(--nexolux-label);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nexolux-detail-value {
  color: var(--nexolux-detail-value);
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.nexolux-table-wrap {
  border: 1px solid var(--nexolux-table-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--nexolux-table-bg);
}

.nexolux-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--nexolux-table-border);
  color: var(--nexolux-accent-soft);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nexolux-table-scroll {
  max-height: 320px;
  overflow: auto;
}

.nexolux-table {
  width: 100%;
  border-collapse: collapse;
}

.nexolux-table th,
.nexolux-table td {
  padding: 8px 12px;
  text-align: left;
  font-size: 0.8rem;
}

.nexolux-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--nexolux-table-head-bg);
  color: var(--nexolux-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nexolux-table tbody tr {
  border-bottom: 1px solid rgba(135, 159, 190, 0.12);
}

.nexolux-table tbody tr:nth-child(even) {
  background: var(--nexolux-table-row-alt);
}

.nexolux-table tbody td:last-child {
  color: var(--nexolux-table-num);
  font-variant-numeric: tabular-nums;
}

.nexolux-table-foot {
  padding: 8px 12px 10px;
  border-top: 1px solid var(--nexolux-table-border);
  color: var(--nexolux-label);
  font-size: 0.72rem;
}

.nexolux-dashboard .nexolux-module-table {
  grid-column: 1 / -1;
}

.nexolux-candela-wrap {
  border: 1px solid var(--nexolux-table-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--nexolux-table-bg);
}

.nexolux-candela-scroll {
  max-height: none;
  overflow: hidden;
  --nexolux-candela-font-size: 0.72rem;
  --nexolux-candela-pad-y: 6px;
  --nexolux-candela-pad-x: 7px;
  --nexolux-candela-row-height: 16px;
}

.nexolux-candela-table {
  width: 100%;
  min-width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.nexolux-candela-table th,
.nexolux-candela-table td {
  padding: var(--nexolux-candela-pad-y) var(--nexolux-candela-pad-x);
  height: var(--nexolux-candela-row-height);
  box-sizing: border-box;
  text-align: center;
  font-size: var(--nexolux-candela-font-size);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nexolux-candela-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #3b3f4a;
  color: #d8d8de;
  font-weight: 700;
}

.nexolux-candela-table thead th.nexolux-candela-corner {
  left: 0;
  z-index: 4;
}

.nexolux-candela-table tbody th {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #5f616d;
  color: #efeff1;
  font-weight: 700;
}

.nexolux-candela-table tbody td {
  color: #e7e7eb;
  font-variant-numeric: tabular-nums;
}

.nexolux-light .nexolux-candela-table thead th {
  background: #dde3ef;
  color: #2d3f57;
}

.nexolux-light .nexolux-candela-table tbody th {
  background: #c8d2e4;
  color: #20334f;
}

.nexolux-iso-legend {
  margin-top: 6px;
  display: grid;
  gap: 6px;
}

.nexolux-iso-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  color: var(--nexolux-iso-legend);
  font-size: 0.9rem;
}

.nexolux-iso-item strong {
  color: var(--nexolux-detail-value);
  font-weight: 500;
  font-size: 0.92rem;
}

.nexolux-iso-swatch {
  width: 100%;
  height: 14px;
  border-radius: 2px;
  display: inline-block;
}

.nexolux-iso-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 34%);
  gap: 14px;
  align-items: start;
}

.nexolux-iso-plot-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.nexolux-iso-plot {
  width: 100%;
}

.nexolux-iso-side {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.nexolux-iso-extra {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.nexolux-iso-extra div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 1rem;
}

.nexolux-iso-extra span {
  color: var(--nexolux-label);
}

.nexolux-iso-extra strong {
  color: var(--nexolux-detail-value);
  font-weight: 500;
}

.nexolux-module-polar .nexolux-plot {
  border-radius: 8px;
  border: 1px solid var(--nexolux-detail-border);
  background: var(--nexolux-bg);
}

.nexolux-module-linear .nexolux-plot {
  border-radius: 8px;
  border: 1px solid var(--nexolux-detail-border);
  background: var(--nexolux-bg);
}

.nexolux-module-isoilluminance .nexolux-plot {
  border-radius: 8px;
}

.nexolux-module-bugrating .nexolux-plot {
  border-radius: 8px;
}

.nexolux-dashboard .nexolux-module-beamintensities {
  grid-column: 1 / -1;
}

.nexolux-beam {
  display: grid;
  gap: 12px;
}

.nexolux-beam-top,
.nexolux-beam-bottom {
  display: grid;
  grid-template-columns: 220px repeat(5, minmax(72px, 1fr));
  gap: 8px;
  align-items: center;
}

.nexolux-beam-row-label {
  color: var(--nexolux-detail-value);
  font-size: 0.82rem;
  font-weight: 700;
}

.nexolux-beam-cell {
  color: var(--nexolux-text);
  font-size: 0.82rem;
  text-align: center;
}

.nexolux-beam-scene {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  align-items: stretch;
}

.nexolux-beam-left {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
}

.nexolux-beam-lamp {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: radial-gradient(circle at 35% 30%, #fffcb6 0%, #efe98f 46%, #d5cd6d 100%);
  box-shadow: 0 0 0 22px rgba(224, 214, 128, 0.42);
}

.nexolux-beam-angle {
  color: var(--nexolux-detail-value);
  font-size: 0.95rem;
  font-weight: 600;
}

.nexolux-beam-side-label {
  color: var(--nexolux-text);
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.55;
}

.nexolux-beam-side-label--bottom {
  margin-top: 52px;
}

.nexolux-beam-note {
  margin-top: 8px;
  color: var(--nexolux-label);
  font-size: 0.76rem;
  text-align: center;
}

.nexolux-beam-cone-wrap {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--nexolux-detail-border);
  border-radius: 8px;
}

.nexolux-beam-center-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.nexolux-beam-cone {
  position: absolute;
  left: 8%;
  right: 2%;
  top: 8%;
  bottom: 8%;
  background: rgba(214, 214, 214, 0.55);
  clip-path: polygon(0 50%, 100% 10%, 100% 90%);
  z-index: 1;
}

.nexolux-beam-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 3;
}

.nexolux-beam-line {
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.34);
}

.nexolux-beam-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(210, 210, 210, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nexolux-beam-lux,
.nexolux-beam-fcd {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
}

.nexolux-beam-lux {
  top: 11%;
  color: var(--nexolux-detail-value);
}

.nexolux-beam-fcd {
  bottom: 11%;
  color: var(--nexolux-text);
}

.nexolux-beam-mobile-only {
  display: none;
}

.nexolux-beam-mobile-meta {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.nexolux-beam-mobile-meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.nexolux-beam-mobile-meta span {
  color: var(--nexolux-label);
  font-size: 0.82rem;
}

.nexolux-beam-mobile-meta strong {
  color: var(--nexolux-detail-value);
  font-size: 0.9rem;
}

.nexolux-beam-mobile-meta p {
  margin: 0;
  color: var(--nexolux-label);
  font-size: 0.72rem;
}

.nexolux-beam-mobile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nexolux-beam-mobile-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nexolux-detail-border);
  border-radius: 8px;
  padding: 8px;
  min-width: 0;
}

.nexolux-beam-mobile-title {
  color: var(--nexolux-title);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.nexolux-beam-mobile-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.nexolux-beam-mobile-row span {
  color: var(--nexolux-label);
  font-size: 0.72rem;
}

.nexolux-beam-mobile-row strong {
  color: var(--nexolux-detail-value);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.nexolux-bug-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 42%);
  gap: 14px;
  align-items: start;
}

.nexolux-bug-plot-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.nexolux-bug-side {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.nexolux-bug-rating {
  color: var(--nexolux-label);
  font-size: 1.05rem;
}

.nexolux-bug-rating strong {
  color: var(--nexolux-detail-value);
  font-weight: 600;
}

.nexolux-bug-table {
  display: grid;
  gap: 10px;
}

.nexolux-bug-section h4 {
  margin: 0 0 6px;
  color: var(--nexolux-title);
  font-size: 1rem;
  font-weight: 600;
}

.nexolux-bug-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: baseline;
  padding: 2px 0;
}

.nexolux-bug-row span {
  color: var(--nexolux-label);
  font-size: 0.9rem;
}

.nexolux-bug-row strong {
  color: var(--nexolux-detail-value);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.nexolux-bug-row em {
  color: var(--nexolux-label);
  font-style: normal;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nexolux-bug-total {
  border-top: 1px solid var(--nexolux-table-border);
  padding-top: 8px;
  display: grid;
  gap: 6px;
}

.nexolux-bug-total div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: baseline;
}

.nexolux-bug-total span {
  color: var(--nexolux-label);
}

.nexolux-bug-total strong {
  color: var(--nexolux-detail-value);
  font-weight: 600;
  white-space: nowrap;
}

.nexolux-bug-total em {
  color: var(--nexolux-label);
  font-style: normal;
  white-space: nowrap;
}

.nexolux-bug-foot {
  margin-top: 10px;
  color: var(--nexolux-label);
  font-size: 0.92rem;
  line-height: 1.35;
}

.nexolux-dashboard .nexolux-module-isocandela .nexolux-iso-layout,
.nexolux-dashboard .nexolux-module-isoilluminance .nexolux-iso-layout,
.nexolux-dashboard .nexolux-module-bugrating .nexolux-bug-layout {
  grid-template-columns: 1fr;
}

.nexolux-polar-info {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.nexolux-polar-info div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.nexolux-polar-info span {
  color: var(--nexolux-label);
  font-size: 0.95rem;
}

.nexolux-polar-info strong {
  color: var(--nexolux-detail-value);
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .nexolux-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nexolux-dashboard {
    padding: 16px;
  }

  .nexolux-card {
    padding: 12px;
    border-radius: 12px;
  }

  .nexolux-card__title {
    font-size: 0.84rem;
    margin-top: 6px;
    margin-bottom: 8px;
  }

  .nexolux-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nexolux-dashboard .nexolux-card {
    min-height: 220px;
  }

  .nexolux-detalles-grid {
    grid-template-columns: 1fr;
  }

  .nexolux-iso-layout {
    grid-template-columns: 1fr;
  }

  .nexolux-bug-layout {
    grid-template-columns: 1fr;
  }

  .nexolux-beam-top,
  .nexolux-beam-bottom {
    display: none;
  }

  .nexolux-beam-scene {
    grid-template-columns: 1fr;
    order: 1;
    min-height: 210px;
    height: auto !important;
  }

  .nexolux-beam-left {
    display: none;
  }

  .nexolux-beam-cone-wrap {
    min-height: 210px;
  }

  .nexolux-beam-mobile-only {
    display: grid;
    gap: 10px;
    order: 2;
  }

  .nexolux-beam-side-label,
  .nexolux-beam-note {
    display: none;
  }

  .nexolux-candela-scroll {
    max-height: none;
    overflow: hidden;
  }

  .nexolux-candela-table {
    min-width: 100%;
  }

  .nexolux-candela-table th,
  .nexolux-candela-table td {
    font-size: 0.54em;
    padding: 0.16em 0.18em;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 1360px) {
  .nexolux-dashboard .nexolux-module-isocandela .nexolux-iso-layout,
  .nexolux-dashboard .nexolux-module-isoilluminance .nexolux-iso-layout,
  .nexolux-dashboard .nexolux-module-bugrating .nexolux-bug-layout {
    grid-template-columns: 1fr;
  }
}

