/* Each strategy exposes its actual browser context and request path. */
.access-visual {
  min-width: 0;
  align-self: start;
  padding: 22px;
  border: 1px solid #37577780;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 30%, #234b7340, transparent 70%), #152b46;
  box-shadow: inset 0 1px 0 #b9dcff08;
}
.access-visual [data-access-view] {
  display: none;
}
.access-visual[data-mode="proxy"] [data-access-view="proxy"],
.access-visual[data-mode="iframe"] [data-access-view="iframe"],
.access-visual[data-mode="redirect"] [data-access-view="redirect"] {
  display: block;
}
.access-live-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9fc9f1;
}
.access-live-label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9dd4ff;
  box-shadow: 0 0 7px #83c3ff70;
}
.access-browser {
  margin-top: 17px;
  border: 1px solid #547da16b;
  border-radius: 8px;
  overflow: hidden;
  background: #102338;
}
.access-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: #243e5a;
  border-bottom: 1px solid #5e7c9830;
}
.access-address {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  border-radius: 4px;
  padding: 5px 8px;
  color: #b9d5ef;
  background: #132a42;
  font: 9px var(--mono);
  transition:
    background 0.3s,
    color 0.3s;
}
.access-address > .icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: #8cc5f4;
}
#mode-address {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.access-viewport {
  padding: 12px;
  background-image: radial-gradient(#688bae22 0.6px, transparent 0.6px);
  background-size: 9px 9px;
}
.access-context-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: #7e9bbb;
  font: 8px var(--mono);
  margin-bottom: 9px;
}
.access-context-label > .icon {
  width: 12px;
  height: 12px;
}
.access-document {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid #588bb464;
  border-radius: 5px;
  background: linear-gradient(120deg, #294a6b, #1c3550);
  transition:
    border-color 0.3s,
    margin 0.3s,
    background 0.3s;
}
.access-document-content {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.access-document-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 1px solid #8bbfe44a;
  border-radius: 9px;
  flex-shrink: 0;
  background: #81bdf015;
}
.access-document-icon .icon {
  width: 30px;
  height: 30px;
  color: #9ecef7;
  stroke-width: 1;
}
.access-document-content > div {
  flex: 1;
  min-width: 0;
}
.access-document-content strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #e2efff;
}
.access-document-content div > span {
  display: block;
  font: 7px var(--mono);
  letter-spacing: 0.6px;
  color: #80a1c2;
  margin-top: 5px;
}
.access-document-content div > i {
  display: block;
  width: 75%;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6088af 60%, #3e5e7e 60%);
  opacity: 0.5;
}
.access-document-badge {
  color: #9fc9f0;
  text-align: right;
  font: 7px/1.7 var(--mono);
  letter-spacing: 0.4px;
}
.access-frame-address {
  padding-bottom: 6px;
  margin-bottom: 7px;
  border-bottom: 1px dashed #609ebd60;
  color: #95ccd9;
  font: 8px var(--mono);
}
.access-frame-address > span {
  font-size: 6px;
  color: #b6e5e8;
  margin-right: 7px;
}
.access-visual[data-mode="iframe"] .access-document {
  border: 1px dashed #8cd0e0;
  padding-block: 7px;
  margin-inline: 6px;
  background: linear-gradient(120deg, #284c60, #19394a);
}
.access-visual[data-mode="iframe"] .access-document-icon {
  width: 34px;
  height: 34px;
}
.access-visual[data-mode="iframe"] .access-document-icon .icon {
  width: 23px;
  height: 23px;
}
.access-visual[data-mode="redirect"] .access-address {
  color: #e0efff;
  background: #345f8a;
}
.access-visual[data-mode="redirect"] .access-document {
  border-color: #82b2e58a;
  background: linear-gradient(120deg, #315778, #213c59);
}
.access-topology {
  margin-top: 18px;
}
.access-topology-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7493b3;
  font: 8px var(--mono);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.access-topology-heading > span:last-child {
  font: 8px var(--font);
}
.access-visual[data-mode="proxy"] .access-request-path {
  display: grid;
  grid-template-columns: 1fr 0.65fr 1.15fr 0.65fr 1fr;
  align-items: center;
  min-height: 85px;
}
.access-endpoint {
  text-align: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.access-endpoint > .icon {
  display: block;
  color: #8bbcf0;
  width: 21px;
  height: 21px;
  margin: 0 auto 6px;
}
.access-endpoint > strong {
  color: #bbd4ee;
  display: block;
  font-size: 10px;
  font-weight: 500;
}
.access-endpoint > small {
  display: block;
  font: 7px var(--mono);
  color: #7899bd;
  margin-top: 4px;
}
.access-endpoint-active {
  padding: 10px 2px;
  border: 1px solid #7dadde60;
  background: #4f91d81a;
  border-radius: 7px;
  box-shadow: 0 0 24px #6fb7ff0d;
}
.access-wire {
  height: 1px;
  position: relative;
  background: #608cb670;
  min-width: 10px;
}
.access-wire > i {
  position: absolute;
  height: 2px;
  width: 9px;
  left: 0;
  top: -0.5px;
  background: #a2d3fa;
  box-shadow: 0 0 6px #83c7ff;
  animation: access-packet 2.6s linear infinite;
}
.access-wire::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #8fb9dc;
  border-right: 1px solid #8fb9dc;
  transform: rotate(45deg);
}
.access-wire-return {
  transform: translateY(-8px);
  box-shadow: 0 9px #53889640;
}
.access-wire-return::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 7px;
  height: 2px;
  background: #8cd2dd;
  animation: access-packet 2.6s 1.3s linear infinite reverse;
}
.access-visual[data-mode="iframe"] .access-embed-path {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr;
  align-items: center;
  min-height: 85px;
}
.access-context-stack {
  border: 1px solid #6b93b064;
  padding: 8px;
  border-radius: 6px;
  background: #233b54;
  min-width: 0;
}
.access-context-stack > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a8c3dd;
  font-size: 9px;
  white-space: nowrap;
}
.access-context-stack .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.access-context-stack strong {
  margin-top: 7px;
  padding: 7px 5px;
  display: block;
  border: 1px dashed #74b5c580;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 400;
  text-align: center;
  color: #b2dbe2;
  background: #2c586348;
}
.access-context-stack strong > span {
  margin-right: 6px;
  color: #73b9d3;
}
.access-redirect-path {
  min-height: 85px;
}
.access-handoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #82a2c2;
  font: 8px var(--mono);
}
.access-handoff i {
  width: 24px;
  border-top: 1px dashed #7ea1c280;
}
.access-direct-path {
  display: grid;
  grid-template-columns: 1fr 0.6fr auto 0.6fr 1fr;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}
.access-direct-path .access-endpoint-active {
  padding-block: 5px;
}
.access-direct-path .access-endpoint > .icon {
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
}
.access-direct-label {
  color: #a3cef4;
  font: 7px var(--mono);
}
.access-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 17px 0 0;
  padding-top: 13px;
  border-top: 1px solid #54729340;
}
.access-facts > div + div {
  padding-left: 10px;
  border-left: 1px solid #54729340;
}
.access-facts dt {
  color: #819ebb;
  font-size: 9px;
}
.access-facts dd {
  margin: 6px 0 0;
  color: #b9d6f1;
  font-size: 10px;
  white-space: nowrap;
}
.access-protocol {
  margin-top: 16px;
  color: #84a6c8;
  font: 8px/1.7 var(--mono);
  letter-spacing: 0.4px;
  text-align: center;
  overflow-wrap: anywhere;
  padding-top: 12px;
  border-top: 1px solid #54729340;
}
.access-inspection {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid #55739240;
  max-width: 350px;
}
.access-inspection > .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  color: #81a9d5;
}
.access-inspection p {
  font-size: 10px;
  line-height: 1.9;
  color: #88a2c2;
}
@keyframes access-packet {
  0% {
    left: 0;
    opacity: 0;
  }
  10%,
  80% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 9px);
    opacity: 0;
  }
}
@media (min-width: 700px) {
  #panel-modes {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
@media (max-width: 1199px) {
  .access-visual {
    padding: 16px;
  }
  .access-visual .visual-topline {
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .access-visual .visual-topline > span:last-child {
    font-size: 8px;
  }
  .access-document-content {
    gap: 9px;
  }
  .access-document-icon {
    width: 40px;
    height: 40px;
  }
  .access-document-badge {
    font-size: 6px;
  }
  .access-facts {
    gap: 6px;
  }
  .access-facts > div + div {
    padding-left: 6px;
  }
  .access-facts dd {
    font-size: 9px;
  }
}
@media (min-width: 700px) and (max-width: 899px) {
  .access-chrome {
    padding-inline: 8px;
    gap: 7px;
  }
  .access-chrome .browser-dots {
    display: none;
  }
  .access-document {
    padding-inline: 8px;
  }
  .access-document-content strong {
    font-size: 11px;
  }
  .access-document-badge {
    display: none;
  }
  .access-context-stack > span {
    font-size: 8px;
  }
  .access-context-stack .icon {
    display: none;
  }
  .access-facts dd {
    font-size: 8px;
  }
}
@media (max-width: 699px) {
  .access-visual {
    padding: 16px;
  }
  .access-document-content strong {
    font-size: 12px;
  }
  .access-chrome {
    padding-inline: 8px;
    gap: 7px;
  }
  .access-context-label {
    font-size: 7px;
  }
  .access-document-content div > span {
    letter-spacing: 0;
    font-size: 6px;
  }
  .access-direct-path {
    gap: 4px;
  }
}
@media (max-width: 379px) {
  .access-visual {
    padding: 13px;
  }
  .access-chrome .browser-dots,
  .access-document-badge {
    display: none;
  }
  .access-viewport {
    padding: 9px;
  }
  .access-document {
    padding-inline: 9px;
  }
  .access-document-icon {
    width: 33px;
    height: 33px;
  }
  .access-document-icon .icon {
    width: 23px;
    height: 23px;
  }
  .access-facts dd {
    font-size: 8px;
  }
  .access-context-stack > span {
    font-size: 8px;
    gap: 4px;
  }
  .access-context-stack .icon {
    width: 11px;
    height: 11px;
  }
  .access-direct-label {
    font-size: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.motion-enabled) .access-wire > i,
  body:not(.motion-enabled) .access-wire-return::before {
    animation: none;
  }
}
