.asg {
  color-scheme: dark;
  --bg:#0b1119;
  --sidebar:#0d141e;
  --panel:#121c28;
  --line:#263342;
  --text:#edf3fa;
  --muted:#9aabba;
  --mint:#b2f3ce;
  --green:#77e3aa;
  --amber:#f1c177;
  --red:#fa9c9c;
}
.asg * {
  box-sizing: border-box;
}
.asg {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
.asg {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.5 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.asg button,
.asg input,
.asg select {
  font: inherit;
}
.asg button,
.asg a,
.asg input,
.asg select,
.asg summary {
  -webkit-tap-highlight-color: transparent;
}
.asg button,
.asg a,
.asg summary {
  touch-action: manipulation;
}
.asg button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
.asg button:disabled {
  cursor: wait;
  opacity: .6;
}
.asg button:focus-visible,
.asg a:focus-visible,
.asg input:focus-visible,
.asg select:focus-visible,
.asg summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
.asg a {
  color: inherit;
  text-decoration: none;
}
.asg svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.asg .symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.asg h1,
.asg h2,
.asg h3,
.asg p {
  margin: 0;
}
.asg b,
.asg strong {
  font-weight: 650;
}
.asg input {
  min-width: 0;
}
.asg small {
  font-size: 11px;
}
.asg [hidden] {
  display: none !important;
}
.asg .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.asg button.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.asg button.icon:hover,
.asg .btn.secondary:hover {
  background: #233242;
}
.asg .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 40px;
  font-size: 12px;
  font-weight: 600;
}
.asg .btn.primary {
  background: var(--mint);
  color: #163629;
  border: 1px solid var(--mint);
}
.asg .btn.primary:hover {
  background: #cdfadd;
}
.asg .btn.secondary {
  background: #1a2936;
  border: 1px solid #3a4b5c;
  color: #d2deea;
}
.asg .btn svg {
  width: 15px;
  height: 15px;
}
.asg .text-button {
  padding: 0;
  background: transparent;
  color: var(--mint);
  font-size: 11px;
}
.asg .sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  width: 216px;
  padding: 28px 16px 18px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.asg .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  margin-bottom: 44px;
}
.asg .brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}
.asg .brand strong {
  font-size: 21px;
  letter-spacing: -.75px;
}
.asg .brand strong span {
  font-weight: 400;
  color: #bbc9d8;
}
.asg .nav-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #8ca1b3;
  margin: 0 12px 10px;
  font-weight: 600;
}
.asg .side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.asg .nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  background: none;
  color: #a1b3c4;
  font-size: 12px;
}
.asg .nav-item svg {
  width: 17px;
  height: 17px;
  color: #8da5b8;
}
.asg .nav-item:hover {
  background: #172431;
}
.asg .nav-item.active {
  background: #1b302c;
  color: #c5f7dc;
  box-shadow: inset 0 0 0 1px #2c4b3f;
}
.asg .nav-item.active svg {
  color: var(--mint);
}
.asg .nav-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}
.asg .nav-sep {
  height: 1px;
  background: var(--line);
  margin: 23px 12px;
}
.asg .side-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.asg .workspace {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 8px;
  border-top: 1px solid var(--line);
}
.asg .workspace svg {
  color: var(--mint);
  width: 17px;
}
.asg .workspace b {
  display: block;
  font-size: 10px;
  font-weight: 500;
}
.asg .workspace small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.asg .side-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
  padding: 7px 8px;
}
.asg .side-foot button {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  font-size: 10px;
  color: #acbaca;
}
.asg .side-foot svg {
  width: 13px;
  height: 13px;
}
.asg .app {
  margin-left: 216px;
}
.asg .topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: #0d151f;
}
.asg .breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.asg .breadcrumb svg {
  width: 12px;
  height: 12px;
}
.asg .breadcrumb b {
  color: #dce6f0;
  font-weight: 500;
}
.asg .top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.asg .preview-tag {
  font-size: 9px;
  letter-spacing: .9px;
  color: #b6c5d4;
  background: #192431;
  border: 1px solid #2e3d4d;
  border-radius: 5px;
  padding: 5px 9px;
}
.asg .profile {
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  text-align: left;
}
.asg .avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #283b38;
  color: #caf2df;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}
.asg .profile b {
  display: block;
  font-size: 11px;
}
.asg .profile small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.asg .menu-toggle {
  display: none !important;
}
.asg main {
  padding: 29px 32px 26px;
  max-width: 1540px;
  margin: auto;
}
.asg .page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.asg .eyebrow {
  display: block;
  letter-spacing: 2px;
  font-size: 9px;
  color: #8ba69c;
  font-weight: 650;
  margin-bottom: 5px;
}
.asg .page-head h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 650;
  line-height: 1.25;
}
.asg .title-dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
}
.asg .page-head p {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.asg .head-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.asg .updated {
  text-align: right;
  font-size: 9px;
  color: #94a9ba;
}
.asg .updated b {
  display: block;
  font-size: 10px;
  color: #c4d2e0;
  margin-bottom: 3px;
  font-weight: 500;
}
.asg .page-nav {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  font-size: 11px;
  color: var(--muted);
  width: 100%;
}
.asg .page-nav a {
  display: block;
  padding: 0 0 11px;
  white-space: nowrap;
}
.asg .page-nav a:hover {
  color: var(--text);
}
.asg .page-nav .selected {
  color: var(--mint);
  border-bottom: 2px solid var(--mint);
}
.asg .kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.asg .kpi {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 19px;
  display: flex;
  flex-direction: column;
}
.asg .kpi.health {
  background:
    linear-gradient(
      112deg,
      #233c34,
      #192d29);
  border-color: #385448;
}
.asg .kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b6c6d6;
  font-size: 11px;
  gap: 7px;
}
.asg .kpi-head svg {
  color: #8498aa;
  width: 16px;
  height: 16px;
}
.asg .health .kpi-head,
.asg .health .kpi-head svg {
  color: #bce7cf;
}
.asg .kpi-value {
  font-size: 35px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  margin: 13px 0 4px;
}
.asg .health .kpi-value {
  font-size: 28px;
  line-height: 42px;
  color: #d8fbe7;
  letter-spacing: -.8px;
}
.asg .denominator {
  color: #8fa3b4;
  font-size: 25px;
  font-weight: 400;
}
.asg .kpi-note {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 15px;
}
.asg .health .kpi-note {
  color: #adc5b9;
}
.asg .kpi-foot {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #a4b5c4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.asg .kpi-foot b {
  font-size: 10px;
  color: #dbe7f2;
  font-weight: 500;
}
.asg .kpi-foot svg {
  width: 15px;
  height: 15px;
  color: var(--mint);
}
.asg .health .kpi-foot {
  border-color: #3b5349;
  color: #bceacf;
}
.asg .health .kpi-foot b {
  color: #abc8b9;
  font-size: 9px;
}
.asg .error-count,
.asg .error-count b {
  color: var(--red) !important;
}
.asg .status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.asg .status-dot:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.asg .section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 25px 0 13px;
}
.asg .section-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.2px;
}
.asg .section-head svg {
  width: 16px;
  height: 16px;
  color: #8aa392;
}
.asg .section-head > span {
  font-size: 10px;
  color: var(--muted);
}
.asg .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.asg .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 19px 0;
}
.asg .card-head h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.1px;
}
.asg .card-head p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.asg .card-head > svg {
  width: 16px;
  height: 16px;
  color: #8499ae;
}
.asg .pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  background: #1e362d;
  color: var(--mint);
  border: 1px solid #335440;
  white-space: nowrap;
}
.asg .pill i {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.asg .pill.neutral {
  background: #1c2937;
  border-color: #33475b;
  color: #acbfd1;
}
.asg .pill.amber {
  background: #322b21;
  border-color: #4a3b27;
  color: var(--amber);
}
.asg .pill.danger {
  background: #39272c;
  border-color: #59363c;
  color: var(--red);
}
.asg .routing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(290px, 1fr);
  gap: 16px;
}
.asg .routing {
  padding-bottom: 14px;
}
.asg .legend {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #a6b9c9;
  padding: 14px 19px 4px;
  font-size: 9px;
  flex-wrap: wrap;
}
.asg .legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.asg .legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
}
.asg .mint {
  background: var(--mint);
}
.asg .amber {
  background: var(--amber);
}
.asg .gray {
  background: #667888;
}
.asg .split-row {
  display: grid;
  grid-template-columns: 81px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 13px;
  padding: 11px 19px 0;
}
.asg .split-label b {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.asg .split-label small {
  color: var(--muted);
  font-size: 9px;
}
.asg .split-bar {
  height: 6px;
  display: flex;
  background: #2c3c49;
  border-radius: 5px;
  overflow: hidden;
}
.asg .split-bar span {
  height: 100%;
}
.asg .split-legend {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  font-size: 9px;
  color: #a9bbcb;
}
.asg .split-legend span:last-child {
  color: var(--amber);
}
.asg .split-value {
  text-align: right;
  font-size: 18px;
  letter-spacing: -.5px;
  color: #d5f2e0;
  font-variant-numeric: tabular-nums;
}
.asg .split-value small {
  font-size: 9px;
  display: block;
  color: var(--muted);
  letter-spacing: 0;
}
.asg .timeout-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 19px 12px;
  gap: 10px;
}
.asg .timeout-line > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.asg .timeout-line strong {
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
}
.asg .timeout-line div span {
  color: var(--muted);
  font-size: 11px;
}
.asg .recovery-pair {
  margin: 0 19px;
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}
.asg .recovery-pair > div {
  flex: 1;
}
.asg .recovery-pair b {
  font-size: 21px;
  color: #d7e8df;
  display: block;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.asg .recovery-pair > div + div b {
  color: var(--amber);
}
.asg .recovery-pair span {
  display: block;
  color: #9eafbf;
  font-size: 10px;
  margin-top: 3px;
}
.asg .inline-details {
  margin: 11px 19px 14px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.asg .inline-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #a8bdcf;
  cursor: pointer;
  list-style: none;
}
.asg .inline-details summary svg {
  width: 12px;
  height: 12px;
}
.asg .inline-details[open] summary svg {
  transform: rotate(180deg);
}
.asg summary::-webkit-details-marker {
  display: none;
}
.asg .diagnostic-list {
  margin: 12px 0 2px;
  font-size: 11px;
}
.asg .diagnostic-list > div {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.asg .diagnostic-list dt {
  color: var(--muted);
}
.asg .diagnostic-list dd {
  margin: 0;
  color: #dbe7f0;
}
.asg .latency-strip {
  display: grid;
  grid-template-columns: 1.15fr repeat(5, 1fr);
  align-items: center;
  margin-top: 14px;
  padding: 15px 19px;
  gap: 12px;
}
.asg .latency-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.asg .latency-title svg {
  color: #92ad9c;
  width: 18px;
}
.asg .latency-title h3 {
  font-size: 12px;
  font-weight: 500;
}
.asg .latency-title small {
  font-size: 9px;
  color: var(--muted);
}
.asg .latency-metric {
  border-left: 1px solid var(--line);
  padding-left: 17px;
}
.asg .latency-metric span {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.asg .latency-metric span b {
  font-weight: 400;
  color: #d2dfea;
}
.asg .latency-metric strong {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -.5px;
  display: block;
  line-height: 1.3;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.asg .latency-metric.amazon strong {
  color: #abc7e1;
}
.asg .activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(290px, 1fr);
  gap: 16px;
  align-items: start;
}
.asg .log-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 15px 19px;
}
.asg .search {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #0f1822;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  flex: 1;
  min-width: 0;
}
.asg .search svg {
  width: 14px;
  height: 14px;
  color: #8da3b6;
}
.asg .search input {
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--text);
  width: 100%;
  font-size: 11px;
}
.asg .search input::placeholder {
  color: #9cabbc;
}
.asg .search:focus-within {
  border-color: #6d987d;
}
.asg .log-toolbar select {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #192533;
  color: #cbd6e2;
  font-size: 10px;
  padding: 7px;
  width: 115px;
}
.asg .log-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.asg .log-table thead {
  font-size: 9px;
  color: #a0b1c1;
  text-align: left;
  background: #101924;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.asg .log-table th {
  font-weight: 500;
  padding: 9px 12px;
  border-block: 1px solid var(--line);
}
.asg .log-table th:first-child {
  padding-left: 19px;
  width: 25%;
}
.asg .log-table th:nth-child(2) {
  width: 40%;
}
.asg .log-table th:nth-child(3) {
  width: 17%;
}
.asg .log-table th:last-child {
  text-align: right;
  width: 18%;
  padding-right: 19px;
}
.asg .log-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #23313f;
  font-size: 11px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.asg .log-table td:first-child {
  padding-left: 19px;
}
.asg .log-table td:last-child {
  text-align: right;
  padding-right: 19px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.asg .log-table tbody tr:last-child td {
  border-bottom: 0;
}
.asg .log-table time b {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #e1e9f1;
}
.asg .log-table time small {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.asg .account-id {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-size: 10px;
  color: #dce7f1;
  overflow-wrap: anywhere;
}
.asg .account-cell .device-id {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.asg .event-error {
  font-size: 9px;
  color: var(--red);
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.asg .error-row {
  background: #37212833;
}
.asg .log-table .pill {
  font-size: 9px;
}
.asg .card-footer {
  padding: 11px 19px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #9fb2c3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.asg .device-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 19px;
  border-bottom: 1px solid #23313f;
}
.asg .device-row:last-child {
  border-bottom: 0;
}
.asg .device-symbol {
  width: 27px;
  height: 39px;
  border: 1.5px solid #60796e;
  border-radius: 6px;
  position: relative;
  background: #263c3366;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.asg .device-symbol:before {
  content: "";
  height: 2px;
  width: 10px;
  background: #769785;
  border-radius: 1px;
  position: absolute;
  top: 4px;
}
.asg .device-symbol:after {
  content: "";
  height: 4px;
  width: 4px;
  background: var(--green);
  border-radius: 50%;
}
.asg .device-symbol.off {
  background: #202935;
  border-color: #47596b;
}
.asg .device-symbol.off:before {
  background: #667b8c;
}
.asg .device-symbol.off:after {
  background: var(--amber);
}
.asg .device-info {
  min-width: 0;
  flex: 1;
}
.asg .device-info b {
  font-size: 11px;
  font-weight: 500;
  display: block;
  overflow-wrap: anywhere;
}
.asg .device-info p {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.asg .usb-on {
  color: var(--mint);
}
.asg .usb-off {
  color: var(--amber);
}
.asg .device-info small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.asg .device-keys {
  text-align: right;
  flex-shrink: 0;
}
.asg .device-keys strong {
  display: block;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  font-weight: 550;
}
.asg .device-keys small {
  font-size: 9px;
  color: var(--muted);
}
.asg .device-action {
  border-top: 1px solid var(--line);
  padding: 13px 19px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}
.asg .device-action .btn {
  width: 100%;
  min-height: 35px;
  padding: 8px;
  font-size: 11px;
}
.asg .device-action > span {
  font-size: 9px;
  color: var(--muted);
}
.asg .support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.asg .key-search {
  margin: 14px 19px 12px;
}
.asg .support-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  table-layout: fixed;
}
.asg .support-table th {
  text-transform: uppercase;
  font-size: 9px;
  color: #9cafbf;
  font-weight: 500;
  text-align: left;
  background: #101924;
  padding: 8px 19px;
  border-block: 1px solid var(--line);
}
.asg .support-table th:first-child {
  width: 57%;
}
.asg .support-table td {
  padding: 9px 19px;
  vertical-align: middle;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #23313f;
}
.asg .support-table tbody tr:last-child td {
  border-bottom: 0;
}
.asg .support-table td small {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.asg .support-table td time {
  font-size: 10px;
  color: #c5d1de;
  white-space: nowrap;
}
.asg .support-table td time small {
  font-size: 9px;
}
.asg .expiring-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 19px;
  border-bottom: 1px solid #23313f;
}
.asg .expiring-row:last-child {
  border-bottom: 0;
}
.asg .expiring-row > div {
  min-width: 0;
}
.asg .expiring-row small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.asg .support-note {
  padding: 14px 19px;
  display: flex;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.asg .support-note svg {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}
.asg .throughput-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 13px 19px 8px;
  font-size: 9px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.asg .throughput-labels span:not(:first-child) {
  text-align: right;
}
.asg .throughput-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 15px 19px;
  border-bottom: 1px solid #23313f;
  font-size: 10px;
  align-items: center;
  font-variant-numeric: tabular-nums;
}
.asg .throughput-row:last-child {
  border-bottom: 0;
}
.asg .throughput-row > span:not(:first-child) {
  text-align: right;
}
.asg .throughput-row .good {
  color: var(--mint);
  font-weight: 500;
}
.asg .throughput-row .bad {
  color: var(--red);
}
.asg .throughput-row > span:nth-child(2) {
  color: var(--muted);
  white-space: nowrap;
}
.asg .throughput-row > span:last-child {
  white-space: nowrap;
  color: #c3d3e0;
}
.asg .raw {
  margin-top: 20px;
}
.asg .raw summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 19px;
  list-style: none;
  color: #b0c2d3;
  font-size: 11px;
}
.asg .raw summary > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.asg .raw summary small {
  font-size: 9px;
  color: var(--muted);
  margin-left: 13px;
}
.asg .raw summary > svg {
  width: 14px;
  height: 14px;
}
.asg .raw[open] summary > svg {
  transform: rotate(180deg);
}
.asg .raw pre {
  font:
    11px/1.6 ui-monospace,
    SFMono-Regular,
    monospace;
  max-height: 300px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 0 19px 19px;
  color: #aebdce;
}
.asg .bottom-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 9px;
  color: #91a4b6;
}
.asg .bottom-note span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.asg .bottom-note svg {
  width: 12px;
  height: 12px;
}
.asg .empty {
  padding: 25px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.asg .state-alert {
  padding: 12px 16px;
  border: 1px solid #655435;
  background: #2c271e;
  color: #f1cd96;
  border-radius: 9px;
  margin-bottom: 16px;
  font-size: 12px;
}
.asg .toast {
  position: fixed;
  z-index: 150;
  bottom: 24px;
  left: calc(50% + 108px);
  transform: translateX(-50%);
  padding: 11px 18px;
  background: #d2f6e1;
  color: #153323;
  border: 1px solid var(--mint);
  border-radius: 9px;
  font-size: 12px;
  box-shadow: 0 8px 25px #0006;
  max-width: 85%;
  text-align: center;
}
.asg .mobile-tabs {
  display: none;
}
.asg dialog {
  background: #162230;
  color: var(--text);
  border: 1px solid #415468;
  border-radius: 16px;
  width: min(480px, calc(100vw - 32px));
  padding: 24px;
  box-shadow: 0 30px 100px #0008;
}
.asg dialog::backdrop {
  background: #030912c9;
  backdrop-filter: blur(5px);
}
.asg .dialog-head {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
}
.asg dialog h2 {
  font-size: 21px;
  letter-spacing: -.6px;
}
.asg dialog p {
  font-size: 13px;
  color: #afc0d0;
  margin: 18px 0 22px;
  line-height: 1.7;
}
.asg dialog .btn {
  width: 100%;
}
@media (min-width: 1600px) {
  .asg main {
    padding-top: 35px;
  }
  .asg .kpi {
    padding: 22px;
  }
  .asg .kpi-value {
    font-size: 39px;
  }
  .asg .health .kpi-value {
    font-size: 31px;
    line-height: 47px;
  }
  .asg .card-head h3 {
    font-size: 14px;
  }
}
@media (max-width: 1220px) {
  .asg .sidebar {
    width: 190px;
    padding-inline: 12px;
  }
  .asg .app {
    margin-left: 190px;
  }
  .asg .topbar {
    padding: 0 24px;
  }
  .asg main {
    padding: 25px 24px;
  }
  .asg .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .asg .kpi-value {
    margin-top: 10px;
  }
  .asg .routing-grid,
  .asg .activity-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(275px, 1fr);
  }
  .asg .routing .card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .asg .split-row {
    grid-template-columns: 69px minmax(0, 1fr) 58px;
    gap: 10px;
  }
  .asg .split-value {
    font-size: 16px;
  }
  .asg .split-legend {
    font-size: 8px;
  }
  .asg .legend {
    gap: 12px;
  }
  .asg .support-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  .asg .throughput-card {
    grid-column: 2;
    grid-row: 1;
  }
  .asg .expiring-card {
    grid-column: 1/-1;
  }
  .asg .expiring-card #expiring-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .asg .expiring-card .expiring-row {
    border-bottom: 0;
  }
  .asg .expiring-card .expiring-row:not(:last-child) {
    border-right: 1px solid var(--line);
  }
  .asg .latency-strip {
    padding: 14px;
    gap: 7px;
  }
  .asg .latency-metric {
    padding-left: 11px;
  }
  .asg .latency-title {
    gap: 5px;
  }
  .asg .latency-metric span {
    font-size: 8px;
  }
  .asg .latency-title svg {
    width: 15px;
  }
  .asg .log-table th,
  .asg .log-table td {
    padding-inline: 8px;
  }
  .asg .log-table th:first-child,
  .asg .log-table td:first-child {
    padding-left: 15px;
  }
  .asg .log-table th:last-child,
  .asg .log-table td:last-child {
    padding-right: 15px;
  }
  .asg .log-table th:first-child {
    width: 24%;
  }
  .asg .log-table th:nth-child(2) {
    width: 37%;
  }
  .asg .log-table th:nth-child(3) {
    width: 19%;
  }
  .asg .log-table th:last-child {
    width: 20%;
  }
  .asg .log-toolbar {
    gap: 7px;
  }
  .asg .log-toolbar select {
    width: 101px;
  }
  .asg .toast {
    left: calc(50% + 95px);
  }
}
@media (max-width: 980px) and (min-width: 851px) {
  .asg .routing-grid,
  .asg .activity-grid {
    grid-template-columns: 1fr;
  }
  .asg .routing .card-head {
    flex-direction: row;
  }
  .asg .reliability .recovery-pair {
    padding-bottom: 10px;
  }
  .asg .latency-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .asg .latency-title {
    padding-left: 10px;
  }
  .asg .device-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .asg .log-table th:first-child {
    width: 24%;
  }
  .asg .log-table th:nth-child(2) {
    width: 40%;
  }
  .asg .log-table th:nth-child(3) {
    width: 17%;
  }
  .asg .log-table th:last-child {
    width: 19%;
  }
}
@media (max-width: 850px) {
  .asg .sidebar {
    display: none;
  }
  .asg .app {
    margin-left: 0;
  }
  .asg .menu-toggle {
    display: grid !important;
  }
  .asg .breadcrumb {
    display: none;
  }
  .asg .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .asg .top-actions {
    gap: 10px;
  }
  .asg .profile > span:last-child {
    display: none;
  }
  .asg .preview-tag {
    font-size: 9px;
    letter-spacing: .5px;
  }
  .asg .sidebar.open {
    display: flex;
    width: 255px;
    box-shadow: 20px 0 80px #0008;
    overflow: auto;
  }
  .asg .backdrop {
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 45;
    border: 0;
    width: 100%;
    height: 100%;
  }
  .asg .toast {
    left: 50%;
    bottom: 80px;
  }
  .asg .mobile-tabs {
    position: fixed;
    z-index: 30;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border-top: 1px solid var(--line);
    background: #101a25;
  }
  .asg .mobile-tabs button,
  .asg .mobile-tabs a {
    height: 60px;
    background: transparent;
    color: #91a5b7;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .asg .mobile-tabs svg {
    width: 18px;
    height: 18px;
  }
  .asg .mobile-tabs .active {
    color: var(--mint);
  }
  .asg main {
    padding: 25px 20px 92px;
  }
  .asg .page-head h1 {
    font-size: 30px;
  }
  .asg .head-actions {
    gap: 12px;
  }
  .asg .updated {
    font-size: 8px;
  }
  .asg .updated b {
    font-size: 9px;
  }
  .asg .routing-grid,
  .asg .activity-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(275px, 1fr);
  }
  .asg .section-head > span {
    font-size: 9px;
  }
  .asg .card-head {
    padding-inline: 16px;
  }
  .asg .split-row {
    padding-inline: 16px;
  }
  .asg .legend {
    padding-inline: 16px;
  }
  .asg .log-toolbar {
    margin-inline: 16px;
  }
  .asg .card-footer {
    padding-inline: 16px;
  }
  .asg .device-row {
    padding-inline: 16px;
  }
  .asg .support-note {
    padding-inline: 16px;
  }
}
@media (max-width: 670px) {
  .asg .routing-grid,
  .asg .activity-grid {
    grid-template-columns: 1fr;
  }
  .asg .routing .card-head {
    flex-direction: row;
    align-items: center;
  }
  .asg .latency-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px;
    gap: 18px 6px;
  }
  .asg .latency-title {
    padding-left: 0;
  }
  .asg .latency-metric {
    padding-left: 12px;
  }
  .asg .latency-metric:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
  .asg .latency-metric span {
    font-size: 9px;
  }
  .asg .support-grid {
    grid-template-columns: 1fr;
  }
  .asg .throughput-card,
  .asg .expiring-card {
    grid-column: auto;
    grid-row: auto;
  }
  .asg .expiring-card #expiring-list {
    display: block;
  }
  .asg .expiring-card .expiring-row {
    border-bottom: 1px solid #23313f;
  }
  .asg .expiring-card .expiring-row:not(:last-child) {
    border-right: 0;
  }
  .asg .expiring-card .expiring-row:last-child {
    border-bottom: 0;
  }
  .asg .section-head > span {
    max-width: 145px;
    text-align: right;
    line-height: 1.5;
  }
  .asg .page-head p {
    max-width: 270px;
  }
  .asg .updated {
    display: none;
  }
  .asg .support-table th:first-child {
    width: 58%;
  }
  .asg .log-table th:first-child {
    width: 25%;
  }
  .asg .log-table th:nth-child(2) {
    width: 40%;
  }
  .asg .log-table th:nth-child(3) {
    width: 17%;
  }
  .asg .log-table th:last-child {
    width: 18%;
  }
  .asg .split-row {
    grid-template-columns: 81px minmax(0, 1fr) 67px;
  }
  .asg .split-legend {
    font-size: 9px;
  }
  .asg .split-value {
    font-size: 19px;
  }
  .asg .legend {
    gap: 16px;
  }
  .asg .raw summary small {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
  .asg .raw summary {
    padding-block: 13px;
  }
}
@media (max-width: 440px) {
  .asg {
    scroll-padding-top: 20px;
  }
  .asg main {
    padding: 23px 16px 90px;
  }
  .asg .topbar {
    padding-inline: 16px;
  }
  .asg .top-actions {
    gap: 8px;
  }
  .asg .top-actions > .icon {
    display: none;
  }
  .asg .preview-tag {
    font-size: 8px;
    letter-spacing: .35px;
    padding: 5px 7px;
  }
  .asg .page-head {
    align-items: flex-start;
    margin-bottom: 22px;
    gap: 8px;
  }
  .asg .page-head h1 {
    font-size: 30px;
    line-height: 1.1;
  }
  .asg .page-head p {
    font-size: 11px;
    max-width: 245px;
    line-height: 1.6;
    margin-top: 8px;
  }
  .asg .eyebrow {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .asg .head-actions {
    padding-top: 18px;
  }
  .asg .head-actions .btn {
    width: 40px;
    min-height: 40px;
    padding: 10px;
  }
  .asg .head-actions .btn span {
    display: none;
  }
  .asg .page-nav {
    gap: 0;
    justify-content: space-between;
    font-size: 10px;
    margin-bottom: 20px;
  }
  .asg .page-nav a {
    padding-bottom: 10px;
  }
  .asg .kpi-grid {
    gap: 10px;
  }
  .asg .kpi {
    padding: 15px 13px;
  }
  .asg .kpi-head {
    font-size: 10px;
    gap: 5px;
  }
  .asg .kpi-head svg {
    width: 14px;
    height: 14px;
  }
  .asg .kpi-value {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-top: 11px;
  }
  .asg .health .kpi-value {
    font-size: 21px;
    letter-spacing: -.6px;
    line-height: 36px;
  }
  .asg .denominator {
    font-size: 23px;
  }
  .asg .kpi-note {
    font-size: 9px;
    margin-bottom: 11px;
    min-height: 27px;
  }
  .asg .kpi-foot {
    font-size: 9px;
    gap: 4px;
    min-height: 40px;
    padding-top: 9px;
  }
  .asg .kpi-foot b {
    font-size: 9px;
  }
  .asg .health .kpi-foot b {
    font-size: 8px;
  }
  .asg .section-head {
    margin-top: 24px;
    align-items: flex-start;
  }
  .asg .section-head h2 {
    font-size: 14px;
    gap: 6px;
  }
  .asg .section-head svg {
    width: 14px;
    height: 14px;
  }
  .asg .section-head > span {
    font-size: 8px;
    max-width: 114px;
  }
  .asg .card-head {
    padding: 16px 16px 0;
    gap: 8px;
  }
  .asg .card-head h3 {
    font-size: 13px;
  }
  .asg .card-head p {
    font-size: 10px;
  }
  .asg .routing .card-head {
    flex-wrap: wrap;
    gap: 9px;
  }
  .asg .routing .card-head .pill {
    font-size: 9px;
  }
  .asg .legend {
    font-size: 9px;
    padding: 14px 16px 5px;
    gap: 12px;
  }
  .asg .split-row {
    grid-template-columns: 69px minmax(0, 1fr) 62px;
    gap: 10px;
    padding: 12px 16px 0;
  }
  .asg .split-label b {
    font-size: 11px;
  }
  .asg .split-label small {
    font-size: 8px;
  }
  .asg .split-legend {
    font-size: 8px;
    gap: 4px;
  }
  .asg .split-value {
    font-size: 18px;
  }
  .asg .split-value small {
    font-size: 8px;
  }
  .asg .routing {
    padding-bottom: 18px;
  }
  .asg .reliability .card-head {
    padding-top: 17px;
  }
  .asg .timeout-line {
    padding-top: 18px;
    padding-bottom: 15px;
  }
  .asg .timeout-line strong {
    font-size: 35px;
  }
  .asg .recovery-pair {
    padding-top: 14px;
    padding-bottom: 3px;
  }
  .asg .recovery-pair b {
    font-size: 23px;
  }
  .asg .recovery-pair span {
    font-size: 11px;
  }
  .asg .inline-details {
    margin-bottom: 16px;
    padding-top: 12px;
  }
  .asg .inline-details summary {
    font-size: 11px;
    min-height: 24px;
  }
  .asg .latency-strip {
    padding: 17px 16px;
    gap: 19px 7px;
  }
  .asg .latency-title h3 {
    font-size: 12px;
  }
  .asg .latency-title small {
    font-size: 8px;
  }
  .asg .latency-title {
    gap: 6px;
  }
  .asg .latency-metric strong {
    font-size: 23px;
  }
  .asg .latency-metric span {
    font-size: 8px;
  }
  .asg .log-toolbar {
    margin: 14px 16px;
    flex-wrap: wrap;
  }
  .asg .log-toolbar .search {
    min-width: 150px;
    min-height: 39px;
  }
  .asg .log-toolbar select {
    width: 109px;
    min-height: 39px;
    font-size: 10px;
  }
  .asg .search input {
    font-size: 11px;
  }
  .asg .log-table thead {
    display: none;
  }
  .asg .log-table tbody {
    display: block;
  }
  .asg .log-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    border-top: 1px solid var(--line);
    padding: 14px 16px;
  }
  .asg .log-table td {
    display: block;
    padding: 0 !important;
    border: 0;
    min-width: 0;
  }
  .asg .log-table .account-cell {
    grid-column: 1;
    grid-row: 1/3;
  }
  .asg .log-table .account-id {
    font-size: 12px;
  }
  .asg .log-table .device-id {
    font-size: 10px;
    margin-top: 4px;
  }
  .asg .log-table .event-error {
    font-size: 10px;
    margin-top: 6px;
  }
  .asg .log-table .status-cell {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .asg .log-table .latency-cell {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
    align-self: start;
  }
  .asg .log-table .when-cell {
    grid-column: 1/-1;
    grid-row: 3;
    margin-top: 3px;
  }
  .asg .log-table time {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .asg .log-table time b {
    font-size: 10px;
    font-weight: 400;
    color: #a9bbcc;
  }
  .asg .log-table time small {
    font-size: 10px;
  }
  .asg .log-table .pill {
    font-size: 9px;
  }
  .asg .card-footer {
    font-size: 9px;
    padding: 12px 16px;
  }
  .asg .card-footer > span:last-child {
    font-size: 8px;
  }
  .asg .device-row {
    padding: 16px;
    gap: 12px;
  }
  .asg .device-info b {
    font-size: 12px;
  }
  .asg .device-info p,
  .asg .device-info small {
    font-size: 10px;
  }
  .asg .device-keys strong {
    font-size: 22px;
  }
  .asg .device-keys small {
    font-size: 10px;
  }
  .asg .device-action {
    padding: 14px 16px 16px;
  }
  .asg .device-action .btn {
    min-height: 41px;
    font-size: 12px;
  }
  .asg .device-action > span {
    font-size: 10px;
  }
  .asg .key-search {
    margin-inline: 16px;
    min-height: 39px;
  }
  .asg .support-table th,
  .asg .support-table td {
    padding: 11px 16px;
  }
  .asg .support-table .account-id {
    font-size: 11px;
  }
  .asg .support-table td time {
    font-size: 11px;
  }
  .asg .support-table td small {
    font-size: 10px;
  }
  .asg .expiring-row {
    padding: 16px;
  }
  .asg .expiring-row .account-id {
    font-size: 11px;
  }
  .asg .expiring-row small {
    font-size: 10px;
  }
  .asg .expiring-row .pill {
    font-size: 10px;
  }
  .asg .throughput-labels {
    font-size: 10px;
    padding: 16px 16px 10px;
  }
  .asg .throughput-row {
    padding: 16px;
    font-size: 11px;
  }
  .asg .support-note {
    padding: 14px 16px;
    font-size: 10px;
  }
  .asg .bottom-note {
    font-size: 9px;
    align-items: flex-start;
  }
  .asg .bottom-note > span:last-child {
    display: none;
  }
}
@media (max-width: 350px) {
  .asg main {
    padding-inline: 12px;
  }
  .asg .topbar {
    padding-inline: 12px;
  }
  .asg .preview-tag {
    font-size: 7px;
    letter-spacing: .2px;
  }
  .asg .top-actions {
    gap: 6px;
  }
  .asg .page-nav {
    font-size: 9px;
  }
  .asg .kpi {
    padding: 14px 10px;
  }
  .asg .health .kpi-value {
    font-size: 18px;
  }
  .asg .kpi-head svg {
    display: none;
  }
  .asg .kpi-value {
    font-size: 28px;
  }
  .asg .section-head h2 {
    font-size: 13px;
  }
  .asg .section-head > span {
    font-size: 8px;
    max-width: 100px;
  }
  .asg .split-row {
    grid-template-columns: 63px minmax(0, 1fr) 57px;
    gap: 8px;
  }
  .asg .legend {
    font-size: 8px;
    gap: 10px;
  }
  .asg .split-legend {
    font-size: 7px;
  }
  .asg .latency-metric {
    padding-left: 8px;
  }
  .asg .latency-metric span {
    font-size: 7px;
  }
  .asg .log-toolbar .search {
    min-width: 100%;
    width: 100%;
  }
  .asg .log-toolbar select {
    width: 100%;
  }
  .asg .log-toolbar > label:last-child {
    width: 100%;
  }
  .asg .card-head h3 {
    font-size: 12px;
  }
}
.asg:not([data-farm-state=ok]) .kpi.health {
  background: #2a2724;
  border-color: #564a39;
}
.asg:not([data-farm-state=ok]) .health .kpi-value {
  color: var(--amber);
  font-size: 24px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.asg:not([data-farm-state=ok]) .health .kpi-foot {
  border-color: #514938;
  color: var(--amber);
}
.asg:not([data-farm-state=ok]) .title-dot {
  background: var(--amber);
}
@media (max-width: 440px) {
  .asg:not([data-farm-state=ok]) .health .kpi-value {
    font-size: 18px;
    min-height: 36px;
    line-height: 1.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .asg * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.admin-shell[data-apex-signature-shell=v1] {
  --bg-1:#121c28;
  --bg-2:#182533;
  --border:#263342;
  --text-1:#edf3fa;
  --text-2:#c5d3df;
  --text-3:#9aabba;
  --green:#b2f3ce;
  --shadow-glow:none;
  background: #0b1119;
  color: #edf3fa;
}
.admin-shell[data-apex-signature-shell=v1] .body {
  background: #0b1119;
  padding-top: 70px;
}
.admin-shell[data-apex-signature-shell=v1] .topbar {
  height: 70px;
  background: #0d151f;
  border-bottom: 1px solid #263342;
  box-shadow: none;
  padding: 0 25px;
}
.admin-shell[data-apex-signature-shell=v1] .topbar-logo {
  width: 32px;
  height: 32px;
}
.admin-shell[data-apex-signature-shell=v1] .logo {
  font-size: 19px;
  letter-spacing: -.65px;
  color: #edf3fa;
}
.admin-shell[data-apex-signature-shell=v1] .topbar-account {
  background: transparent;
  border-color: #314235;
}
.admin-shell[data-apex-signature-shell=v1] .topbar-avatar {
  background: #2c3934;
  color: #b2f3ce;
  border-color: #506c5d;
}
.admin-shell[data-apex-signature-shell=v1] .sidenav {
  width: 216px;
  min-width: 216px;
  flex-basis: 216px;
  padding: 25px 16px;
  border-right: 1px solid #263342;
  background: #0d141e;
  gap: 5px;
}
.admin-shell[data-apex-signature-shell=v1] .sidenav:before {
  content: "ADMIN";
  display: block;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #8395a8;
  margin: 7px 13px 13px;
}
.admin-shell[data-apex-signature-shell=v1] .nav-btn {
  background: transparent;
  color: #9aabba;
  min-height: 45px;
  border-radius: 9px;
  padding: 12px 14px;
  box-shadow: none;
  border: 0;
  gap: 12px;
}
.admin-shell[data-apex-signature-shell=v1] .nav-btn:hover {
  background: #162330;
  color: #edf3fa;
}
.admin-shell[data-apex-signature-shell=v1] .nav-btn.active {
  background: #213930;
  color: #b2f3ce;
  box-shadow: inset 2px 0 #b2f3ce;
}
.admin-shell[data-apex-signature-shell=v1] .nav-btn.active svg {
  color: #b2f3ce;
  filter: none;
}
.admin-shell[data-apex-signature-shell=v1] .nav-btn:nth-child(6) {
  margin-top: 26px;
  position: relative;
}
.admin-shell[data-apex-signature-shell=v1] .nav-btn:nth-child(6):before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: -15px;
  border-top: 1px solid #263342;
}
.admin-shell[data-apex-signature-shell=v1] .main {
  padding: 30px 32px;
  background: #0b1119;
  max-width: none;
}
.admin-shell[data-apex-signature-shell=v1] .mobile-tabbar {
  background: #101a25;
  border-top: 1px solid #263342;
  box-shadow: none;
}
.admin-shell[data-apex-signature-shell=v1] .mobile-tab {
  color: #91a5b7;
}
.admin-shell[data-apex-signature-shell=v1] .mobile-tab.active,
.admin-shell[data-apex-signature-shell=v1] .mobile-tab.active svg {
  background: transparent;
  color: #b2f3ce;
}
.asg.anx-view {
  display: block;
  max-width: 1536px;
  min-width: 0;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  font:
    14px/1.5 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #edf3fa;
  scroll-margin-top: 16px;
}
.asg .card {
  padding: 0;
  box-shadow: none;
  display: block;
}
.asg h2,
.asg h3,
.asg h4 {
  color: var(--text);
  margin: 0;
  text-transform: none;
}
.asg .page-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 650;
  line-height: 1.25;
}
.asg .page-head {
  display: flex;
  flex-direction: row;
  text-align: left;
  margin-bottom: 22px;
  padding: 0;
}
.asg .page-head > div {
  min-width: 0;
}
.asg .page-head p {
  max-width: 100%;
  margin-bottom: 0;
}
.asg .btn {
  box-shadow: none;
  transform: none;
  letter-spacing: 0;
  flex: 0 0 auto;
  width: auto;
}
.asg .btn:hover {
  box-shadow: none;
  transform: none;
}
.asg .btn svg {
  fill: none;
  stroke: currentColor;
}
.asg .text-button {
  width: auto;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}
.asg .comparison {
  border-color: #3c5a48;
  background:
    linear-gradient(
      105deg,
      #172a26,
      #121c28 70%);
  margin-bottom: 18px;
}
.asg .comparison .card-head {
  padding: 18px 20px 0;
}
.asg .comparison h3 {
  font-size: 19px;
  letter-spacing: -.45px;
  color: #e6f9ed;
}
.asg .comparison .card-head p {
  font-size: 11px;
}
.asg .compare-periods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 19px 0 16px;
}
.asg .compare-period {
  padding: 0 20px;
  min-width: 0;
}
.asg .compare-period + .compare-period {
  border-left: 1px solid #345044;
}
.asg .period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.asg .period-head h4 {
  font-size: 11px;
  font-weight: 600;
}
.asg .period-head small {
  font-size: 9px;
  color: #a0b5a9;
}
.asg .provider-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.asg .provider-pair > div {
  min-width: 0;
}
.asg .provider-pair > div > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #baccc1;
}
.asg .provider-pair i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--mint);
  flex-shrink: 0;
}
.asg .provider-pair strong {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-top: 3px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.asg .provider-pair .farm-share strong {
  color: var(--mint);
}
.asg .provider-pair .fn-share strong {
  color: var(--amber);
}
.asg .provider-pair .fn-share i {
  background: var(--amber);
}
.asg .provider-pair .fn-share > span {
  color: #d3b991;
}
.asg .compare-meter {
  height: 6px;
  background: #304039;
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 13px;
}
.asg .compare-meter > span {
  height: 100%;
  display: block;
}
.asg .compare-counts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 9px;
  color: #a6bcae;
  margin-top: 8px;
}
.asg .compare-counts > span:last-child {
  color: #94a8b6;
}
.asg .page-nav {
  margin: 0 0 21px;
  gap: 26px;
}
.asg .page-nav button {
  background: transparent;
  color: var(--muted);
  padding: 5px 0 11px;
  font-size: 11px;
  width: auto;
  min-height: 0;
  border-radius: 0;
}
.asg .page-nav button:hover {
  color: var(--mint);
}
.asg .kpi strong.kpi-value {
  display: block;
}
.asg .kpi-grid {
  margin: 0;
}
.asg .kpi {
  gap: 0;
  box-shadow: none;
  text-align: left;
}
.asg .health .kpi-value {
  line-height: 1.4;
  font-size: 26px;
  overflow-wrap: anywhere;
}
.asg .performance-grid {
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(0, 1.72fr);
  gap: 16px;
  margin-top: 18px;
  align-items: start;
}
.asg .latency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 0;
  padding: 22px 20px;
}
.asg .latency-grid .latency-metric:nth-child(3n+1) {
  border-left: 0;
  padding-left: 0;
}
.asg .latency-grid .latency-metric span {
  font-size: 10px;
}
.asg .latency-grid .latency-metric strong {
  font-size: 25px;
}
.asg .section-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.2px;
}
.asg .auto-refresh {
  max-width: 390px;
  text-align: right;
  line-height: 1.5;
}
.asg .activity-grid,
.asg .support-grid {
  margin: 0;
}
.asg .log-table td time {
  display: block;
}
.asg .log-table {
  margin: 0;
}
.asg .card-head h3 {
  line-height: 1.45;
}
.asg .throughput-row > span:first-child {
  overflow-wrap: anywhere;
  min-width: 0;
}
.asg .state-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.asg .state-alert .error-detail {
  display: block;
  margin-top: 5px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.asg .state-alert.danger {
  background: #33242b;
  border-color: #65404b;
  color: #f5b8bc;
}
.asg[data-farm-state=operational] .kpi.health {
  background:
    linear-gradient(
      112deg,
      #233c34,
      #192d29);
  border-color: #385448;
}
.asg[data-farm-state=operational] .health .kpi-value {
  color: #d8fbe7;
}
.asg[data-farm-state=operational] .health .kpi-foot {
  border-color: #3b5349;
  color: #bceacf;
}
.asg[data-farm-state=operational] .title-dot {
  background: var(--mint);
}
.asg:not([data-farm-state=operational]) .health .kpi-value {
  font-size: 23px;
}
.asg section[id],
.asg article[id] {
  scroll-margin-block: 18px;
}
@media (max-width: 1220px) {
  .asg .compare-period {
    padding: 0 16px;
  }
  .asg .provider-pair {
    gap: 8px;
  }
  .asg .provider-pair strong {
    font-size: 27px;
  }
  .asg .period-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .asg .performance-grid {
    grid-template-columns: 1fr 1.2fr;
  }
  .asg .expiring-card .expiring-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1190px) {
  .admin-shell[data-apex-signature-shell=v1] .sidenav {
    width: 190px;
    min-width: 190px;
    flex-basis: 190px;
  }
  .admin-shell[data-apex-signature-shell=v1] .main {
    padding: 26px 22px;
  }
}
@media (max-width: 850px) {
  .asg .provider-pair strong {
    font-size: 25px;
  }
  .asg .comparison h3 {
    font-size: 18px;
  }
  .asg .page-head h2 {
    font-size: 30px;
  }
  .asg .auto-refresh {
    max-width: 240px;
  }
  .asg .performance-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}
@media (max-width: 760px) {
  .asg .compare-periods {
    display: block;
    padding: 0 16px 14px;
  }
  .asg .compare-period {
    padding: 14px 0;
  }
  .asg .compare-period + .compare-period {
    border-left: 0;
    border-top: 1px solid #314639;
  }
  .asg .period-head {
    flex-direction: row;
    align-items: center;
    margin-bottom: 7px;
  }
  .asg .provider-pair {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .asg .provider-pair strong {
    font-size: 28px;
  }
  .asg .compare-meter {
    margin-top: 9px;
  }
  .asg .compare-counts {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 8px;
  }
  .asg .compare-period:last-child {
    padding-bottom: 0;
  }
  .asg .comparison .card-head {
    padding: 16px 16px 0;
    align-items: flex-start;
  }
  .asg .comparison .card-head p {
    font-size: 10px;
  }
  .asg .comparison .card-head .pill {
    font-size: 8px;
    margin-top: 4px;
  }
  .asg .comparison h3 {
    font-size: 17px;
  }
  .asg .activity-grid,
  .asg .performance-grid {
    grid-template-columns: 1fr;
  }
  .asg .support-grid {
    grid-template-columns: 1fr;
  }
  .asg .throughput-card,
  .asg .expiring-card {
    grid-column: auto;
    grid-row: auto;
  }
  .asg .expiring-card .expiring-list {
    display: block;
  }
  .asg .latency-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 0;
  }
  .asg .expiring-card .expiring-row {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .asg .expiring-card .expiring-row:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 640px) {
  .admin-shell[data-apex-signature-shell=v1] .topbar {
    height: calc(60px + env(safe-area-inset-top, 0px));
    padding: 0 14px;
  }
  .admin-shell[data-apex-signature-shell=v1] .body {
    padding-top: calc(60px + env(safe-area-inset-top, 0px));
  }
  .admin-shell[data-apex-signature-shell=v1] .sidenav {
    display: none;
  }
  .admin-shell[data-apex-signature-shell=v1] .main {
    padding: 24px 16px calc(var(--mobile-tabbar-height) + 18px);
    height: calc(100dvh - 60px - env(safe-area-inset-top, 0px));
    max-height: none;
  }
  .asg .head-actions {
    gap: 0;
  }
  .asg .updated {
    display: none;
  }
  .asg .page-head h2 {
    font-size: 28px;
  }
  .asg .page-head p {
    font-size: 11px;
  }
  .asg .page-head .btn {
    font-size: 10px;
    padding: 9px 10px;
    min-width: 40px;
    min-height: 40px;
  }
  .asg .auto-refresh {
    display: none;
  }
  .asg .page-nav {
    gap: 0;
    justify-content: space-between;
  }
  .asg .page-nav button {
    font-size: 10px;
  }
  .asg .log-table time b,
  .asg .log-table time small {
    display: inline-block;
  }
  .asg .log-table time small {
    margin-left: 7px;
  }
  .asg .log-table td time {
    display: flex;
  }
  .asg .health .kpi-value {
    font-size: 21px;
    line-height: 36px;
  }
  .asg:not([data-farm-state=operational]) .health .kpi-value {
    font-size: 18px;
    line-height: 1.3;
  }
  .asg .health .kpi-foot b {
    overflow-wrap: anywhere;
    max-width: 100%;
  }
}
@media (max-width: 440px) {
  .asg .head-actions .btn span {
    display: inline;
  }
  .asg .head-actions .btn {
    width: auto;
    min-width: 40px;
    padding: 9px;
  }
  .asg .head-actions .btn svg {
    display: none;
  }
  .asg .page-head {
    align-items: center;
    gap: 10px;
  }
  .asg .head-actions {
    padding-top: 0;
  }
  .asg .comparison h3 {
    font-size: 17px;
  }
  .asg .kpi .kpi-value {
    font-size: 30px;
  }
  .asg .health .kpi-value {
    font-size: 21px;
  }
  .asg .log-table td time {
    display: flex;
  }
  .asg .log-table time small {
    margin-left: 0;
  }
  .asg .latency-grid .latency-metric span {
    font-size: 9px;
  }
  .asg .page-head > div:first-child {
    flex: 1;
  }
  .asg .comparison .card-head {
    flex-wrap: wrap;
    gap: 6px;
  }
  .asg .compare-counts {
    font-size: 8px;
  }
  .asg .section-head h3 {
    font-size: 14px;
  }
}
@media (max-width: 350px) {
  .admin-shell[data-apex-signature-shell=v1] .main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .asg .provider-pair strong {
    font-size: 26px;
  }
  .asg .health .kpi-value {
    font-size: 18px;
  }
  .asg .comparison .card-head .pill {
    margin: 0;
  }
  .asg .comparison h3 {
    font-size: 16px;
  }
  .asg .provider-pair > div > span {
    font-size: 9px;
  }
}
@media (max-width: 1100px) {
  .asg .activity-grid {
    grid-template-columns: 1fr;
  }
}
