body.alt-ui-v10 .drr-launcher:focus-visible,
body.alt-ui-v10 .drr-card:focus-within {
  outline: 2px solid #07508d;
  outline-offset: 2px;
}

body.alt-ui-v10 .drr-launcher:disabled {
  cursor: wait;
  opacity: .6;
}

body.alt-ui-v10 .drr-sidebar {
  --v6-panel-width: 430px;
  z-index: 1700 !important;
}

body.alt-ui-v10 .drr-bands[hidden] {
  display: none !important;
}

body.alt-ui-v10 #drrInfoFooter[hidden] {
  display: none !important;
}

.drr-info-dialog {
  width: min(500px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  box-sizing: border-box;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(231, 246, 255, .72));
  color: #142238;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 26px 72px rgba(15, 23, 42, .25);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  font: 15px/1.55 Inter, system-ui, Arial, sans-serif;
}

.drr-info-dialog::backdrop {
  background: rgba(15, 23, 42, .36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.drr-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  box-sizing: border-box;
  padding: 14px 18px 14px 22px;
  border-bottom: 1px solid rgba(82, 153, 220, .22);
}

.drr-info-icon {
  flex: none;
  color: #07508d;
  font-size: 21px;
}

.drr-info-dialog h2 {
  min-width: 0;
  margin: 0;
  color: #172033;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
}

.drr-info-icon-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(232, 243, 255, .58));
  color: #17356b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 8px 18px rgba(15, 23, 42, .12);
  cursor: pointer;
}

.drr-info-icon-close .material-icons {
  font-size: 20px;
}

.drr-info-dialog p {
  margin: 0;
  padding: 20px 24px 22px;
}

.drr-info-footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 22px 16px;
  border-top: 1px solid rgba(255, 255, 255, .58);
}

.drr-info-close {
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(232, 244, 255, .48));
  color: #07508d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 8px 20px rgba(15, 23, 42, .1);
  font: 850 13px Inter, system-ui, Arial, sans-serif;
  cursor: pointer;
}

.drr-info-close:hover,
.drr-info-icon-close:hover {
  border-color: rgba(82, 153, 220, .55);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(7, 80, 141, .18);
}

.drr-info-close:focus-visible,
.drr-info-icon-close:focus-visible {
  outline: 2px solid #07508d;
  outline-offset: 2px;
}

body.alt-ui-v10 .drr-sidebar .drr-bands {
  display: grid;
  grid-row: 2;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: 100%;
}

body.alt-ui-v10 .drr-sidebar.is-v6-scrollable .drr-bands {
  min-height: 0;
  max-height: calc(var(--v6-panel-max-height, 80vh) - 140px);
  overflow-y: auto;
  align-content: start;
  padding-right: 4px;
}

body.alt-ui-v10 .drr-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 137, 216, .58);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(239, 248, 255, .42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 20px 46px rgba(7, 80, 141, .14);
  backdrop-filter: blur(16px) saturate(1.28);
}

body.alt-ui-v10 .drr-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 6px 14px;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(38, 122, 189, .94), rgba(131, 206, 221, .76));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26);
}

body.alt-ui-v10 .drr-card-icon {
  flex: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .18);
}

body.alt-ui-v10 .drr-card-body {
  padding: 8px 12px;
}

body.alt-ui-v10 .drr-card .lever-row {
  margin: 0 !important;
}

body.alt-ui-v10 .drr-card .lever-name {
  gap: 8px;
}

body.alt-ui-v10 .drr-card .lever-name span:last-child {
  white-space: nowrap;
}

body.alt-ui-v10 .sidebar:not(.drr-sidebar):not(.is-v6-widget-collapsed) .sidebar-title::before {
  content: "Riesgos";
}

body.alt-ui-v10 .drr-sidebar:not(.is-v6-widget-collapsed) .sidebar-title::before {
  content: "DRR - Riesgo de inundación";
}

body.alt-ui-v10 .drr-sidebar.is-v6-widget-collapsed .sidebar-title::before {
  content: "DRR - Riesgo de inundación";
}
