.sw-net {
  position: fixed;
  z-index: 140;
  top: var(--sw-net-top, 72px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  max-width: min(680px, calc(100vw - 16px));
  min-height: 46px;
  padding: 6px 8px 6px 14px;
  border-radius: 14px;
  border: 2px solid var(--aviso, #f0a91a);
  background: var(--tinta, #1f2716);
  color: var(--claro, #f5f8f1);
  box-shadow: var(--sombra, 0 10px 30px rgba(15, 20, 10, 0.35));
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.sw-net[data-state=restored] {
  border-color: var(--ok, #58b43a);
}
.sw-net__msg {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.sw-net__ring {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 3px solid rgba(255, 194, 26, 0.3);
  border-top-color: var(--oro, #ffc21a);
  animation: sw-net-spin 0.9s linear infinite;
}
.sw-net[data-state=restored] .sw-net__ring {
  animation: none;
  border-color: var(--ok, #58b43a);
  background: var(--ok, #58b43a);
}
.sw-net[data-state=restored] .sw-net__ring::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.sw-net__retry {
  flex: none;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 2px solid var(--oro-borde, #7d4f00);
  background: var(--oro, #ffc21a);
  color: #3b2300;
  font-weight: 800;
  font-size: 0.84rem;
}
.sw-net__retry:disabled {
  opacity: 0.6;
  cursor: default;
}
@keyframes sw-net-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 520px) {
  .sw-net {
    left: 8px;
    right: 8px;
    transform: none;
    max-width: none;
    flex-wrap: wrap;
  }
  .sw-net__msg {
    flex-basis: calc(100% - 40px);
  }
  .sw-net__retry {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-net__ring {
    animation: none;
  }
}
.sw-a11y {
  padding: 0;
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 3px solid var(--madera-clara, #93673a);
  border-radius: 16px;
  color: var(--claro, #f5f8f1);
  background:
    linear-gradient(
      180deg,
      var(--tinta-2, #313e23),
      var(--tinta, #1f2716));
  box-shadow: 0 8px 0 var(--madera, #5b3a1a), var(--sombra, 0 10px 30px rgba(15, 20, 10, 0.35));
}
.sw-a11y::backdrop {
  background: rgba(13, 17, 9, 0.7);
}
.sw-a11y__in {
  margin: 0;
  padding: 20px 22px 18px;
}
.sw-a11y__title {
  margin: 0 0 12px;
  font: 700 1.35rem/1.1 var(--f-display, system-ui, sans-serif);
  color: var(--oro, #ffc21a);
}
.sw-a11y__group {
  margin: 0 0 12px;
  padding: 6px 12px 8px;
  border: 1px solid var(--linea, rgba(180, 192, 166, 0.22));
  border-radius: 10px;
  min-width: 0;
}
.sw-a11y__group legend {
  padding: 0 6px;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: var(--oro-claro, #ffe27a);
}
.sw-a11y__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.95rem;
}
.sw-a11y__opt input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--oro, #ffc21a);
}
.sw-a11y__hint {
  margin: 4px 0 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--apagado, #b4c0a6);
}
.sw-a11y__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
@media (pointer: coarse) {
  .gm-bar__btn {
    min-height: 44px;
    min-width: 44px;
  }
  .sw-net__retry {
    min-height: 44px;
  }
}
html[data-sw-font-scale="115%"] {
  font-size: 115%;
}
html[data-sw-font-scale="130%"] {
  font-size: 130%;
}
html[data-sw-font-scale] body.sw-body {
  font-size: 1rem;
}
@media (max-width: 640px) {
  html[data-sw-font-scale] .sw-nav a[aria-current=page],
  html[data-sw-font-scale] .sw-nav button[aria-current=page] {
    flex: 2.2 1 0;
    min-width: 0;
  }
}
html.sw-hc {
  --apagado: #f7faf4;
  --texto-suave: #13180d;
  --texto: #000000;
  --claro: #ffffff;
  --linea: rgba(255, 255, 255, 0.7);
  --tinta: #0a0d07;
  --tinta-2: #10150a;
}
html.sw-hc body.sw-body {
  background: #0a0d07;
  color: #ffffff;
}
html.sw-hc a:not(.sw-btn):not(.sw-brand):not(.sw-skip) {
  text-decoration: underline;
  text-underline-offset: 2px;
}
html.sw-hc :focus-visible {
  outline: 4px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px #000000;
}
html.sw-hc .sw-header {
  border-bottom-color: #ffffff;
}
html.sw-hc .sw-btn,
html.sw-hc .gm-bar__btn,
html.sw-hc .sw-nav a,
html.sw-hc .sw-nav button {
  border: 2px solid #ffffff;
}
html.sw-hc .sw-btn-secondary,
html.sw-hc .gm-bar__btn {
  background: #000000;
  color: #ffffff;
}
html.sw-hc .gm-bar__status,
html.sw-hc .cd-hint,
html.sw-hc .cd-typing {
  color: #ffffff;
}
html.sw-hc .sw-net,
html.sw-hc .sw-a11y {
  border-color: #ffffff;
  background: #000000;
}
html.sw-hc .sw-net__retry {
  border-color: #ffffff;
}
