.astra-live-speed-r14b{
  --als-border:rgba(100,116,139,.22);
  --als-soft:rgba(148,163,184,.075);
  --als-softer:rgba(148,163,184,.045);
  --als-muted:rgba(100,116,139,.88);
  margin-top:14px;
  padding:17px;
  border:1px solid var(--als-border);
  border-radius:16px;
  background:
    linear-gradient(
      145deg,
      rgba(148,163,184,.065),
      rgba(148,163,184,.025)
    );
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 10px 30px rgba(15,23,42,.035);
}

.astra-live-speed-r14b *,
.astra-live-speed-r14b *::before,
.astra-live-speed-r14b *::after{
  box-sizing:border-box;
}

.als-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.als-head-main{
  min-width:0;
  flex:1 1 auto;
}

.als-title-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.als-title{
  font-size:15px;
  line-height:1.25;
  letter-spacing:-.01em;
}

.als-passive-badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 7px;
  border:1px solid rgba(59,130,246,.18);
  border-radius:999px;
  background:rgba(59,130,246,.08);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  white-space:nowrap;
}

.als-subtitle{
  margin-top:4px;
  font-size:11px;
  line-height:1.4;
  opacity:.66;
}

.als-binding-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}

.als-binding-label{
  font-size:10px;
  font-weight:700;
  opacity:.58;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.als-binding{
  min-width:0;
  padding:3px 7px;
  border-radius:6px;
  background:var(--als-soft);
  font-size:11px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.als-state{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  min-height:28px;
  padding:5px 10px;
  border:1px solid var(--als-border);
  border-radius:999px;
  background:var(--als-soft);
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
  white-space:nowrap;
}

.als-now{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.als-now-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
  padding:14px 15px;
  border:1px solid var(--als-border);
  border-radius:13px;
  background:rgba(148,163,184,.055);
}

.als-now-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
}

.als-download-card::before{
  background:rgba(37,99,235,.82);
}

.als-upload-card::before{
  background:rgba(8,145,178,.82);
}

.als-now-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.als-now-top>span:first-child{
  font-size:11px;
  font-weight:650;
  opacity:.72;
}

.als-direction{
  font-size:10px;
  font-weight:750;
  opacity:.48;
}

.als-now-card>strong{
  margin-top:1px;
  font-size:26px;
  line-height:1.08;
  letter-spacing:-.035em;
  font-variant-numeric:tabular-nums;
}

.als-now-card>small{
  min-height:16px;
  font-size:10.5px;
  line-height:1.35;
  opacity:.68;
}

.als-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:15px;
  margin-bottom:7px;
}

.als-section-head>span{
  font-size:11px;
  font-weight:750;
  letter-spacing:.015em;
}

.als-section-head>small{
  font-size:10px;
  opacity:.54;
}

.als-summary-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:6px;
}

.als-summary-item,
.als-meta-item{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:8px 9px;
  border-radius:9px;
  background:var(--als-softer);
}

.als-summary-item span,
.als-meta-item span{
  font-size:9.5px;
  line-height:1.25;
  opacity:.61;
}

.als-summary-item strong{
  font-size:11.5px;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.als-charts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:9px;
}

.als-chart-card{
  min-width:0;
  padding:10px;
  border:1px solid var(--als-border);
  border-radius:11px;
  background:rgba(148,163,184,.035);
}

.als-chart-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}

.als-chart-head>div{
  display:flex;
  flex-direction:column;
  gap:1px;
  min-width:0;
}

.als-chart-head>div>strong{
  font-size:10.5px;
}

.als-chart-head>div>span{
  font-size:9px;
  opacity:.52;
}

.als-chart-head>strong{
  flex:0 0 auto;
  font-size:10.5px;
  font-variant-numeric:tabular-nums;
}

.als-chart{
  position:relative;
  height:68px;
  display:flex;
  align-items:flex-end;
  gap:2px;
  overflow:hidden;
  padding:7px 6px 5px;
  margin-top:7px;
  border-radius:8px;
  background-color:rgba(15,23,42,.035);
  background-image:
    linear-gradient(
      to top,
      rgba(100,116,139,.10) 1px,
      transparent 1px
    );
  background-size:100% 25%;
}

.als-chart i{
  position:relative;
  z-index:1;
  display:block;
  flex:1 1 0;
  min-width:2px;
  max-width:13px;
  border-radius:3px 3px 1px 1px;
  background:currentColor;
  opacity:.46;
  transition:height .18s ease;
}

.als-chart i:last-child{
  opacity:.95;
}

.als-chart-download{
  color:rgb(37,99,235);
}

.als-chart-upload{
  color:rgb(8,145,178);
}

.als-session-head{
  margin-top:13px;
}

.als-meta-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}

.als-meta-item strong{
  font-size:10.5px;
  line-height:1.3;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.als-mono{
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;
}

.als-error{
  margin-top:10px;
  padding:8px 10px;
  border:1px solid rgba(190,18,60,.14);
  border-radius:8px;
  background:rgba(190,18,60,.08);
  font-size:11px;
  line-height:1.4;
}

.als-safety{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid rgba(100,116,139,.14);
  font-size:9.5px;
  line-height:1.4;
}

.als-safety strong{
  flex:0 0 auto;
  font-size:9.5px;
}

.als-safety span{
  opacity:.58;
}

@media(max-width:1100px){
  .als-summary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .astra-live-speed-r14b{
    padding:14px;
  }

  .als-charts{
    grid-template-columns:1fr;
  }

  .als-meta-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .als-head{
    gap:10px;
  }

  .als-title-row{
    align-items:flex-start;
  }

  .als-state{
    min-width:auto;
    min-height:25px;
    padding:5px 8px;
  }

  .als-now{
    grid-template-columns:1fr;
  }

  .als-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .als-binding-row{
    display:block;
  }

  .als-binding-label{
    display:block;
    margin-bottom:4px;
  }

  .als-binding{
    display:block;
    max-width:100%;
  }

  .als-section-head>small{
    display:none;
  }

  .als-safety{
    display:block;
  }

  .als-safety strong{
    display:block;
    margin-bottom:3px;
  }
}

@media(max-width:390px){
  .als-summary-grid,
  .als-meta-grid{
    grid-template-columns:1fr 1fr;
  }

  .als-now-card>strong{
    font-size:23px;
  }
}
