.provider-logo-fallback {
  flex: 0 0 50px;
}

.customer-panel {
  display: none;
}

.customer-panel.active {
  display: block;
}

.public-search-controls {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.network-status {
  position: fixed;
  top: 82px;
  left: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(127, 209, 193, .35);
  border-radius: 12px;
  background: rgba(25, 56, 62, .96);
  color: #eaf8f5;
  box-shadow: var(--shadow);
  font-size: 12px;
}

.network-status[hidden] {
  display: none;
}

.has-network-request {
  cursor: progress;
}

.input-action {
  align-items: stretch;
}

.input-action .lookup-button {
  width: auto;
  min-width: max-content;
  min-height: 42px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.2;
}

.lookup-result {
  min-height: 58px;
  margin-top: 10px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .018);
  color: var(--muted);
}

.lookup-result[data-state="loading"] {
  border-color: var(--amber);
  color: var(--amber-soft);
}

.lookup-result[data-state="verified"] {
  border-style: solid;
  border-color: rgba(127, 209, 193, .55);
  background: rgba(127, 209, 193, .07);
  color: var(--text);
}

.lookup-result[data-state="error"] {
  border-color: var(--danger);
  background: rgba(240, 139, 108, .05);
  color: var(--danger);
}

.lookup-result small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.provider-profile__logo {
  object-fit: contain;
  padding: 4px;
}

.system-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.system-card__row {
  min-width: 0;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.system-card__row:last-child {
  border-bottom: 0;
}

.system-card__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.system-card__row strong {
  color: var(--text);
}

.system-card__url {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.system-card__url span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-card__url b {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(127, 209, 193, .1);
}

.system-card__guide p {
  margin: 0;
  color: #c8d6d3;
  line-height: 1.9;
  font-size: 13px;
}

.system-searchbar {
  min-height: 54px;
  margin-bottom: 14px;
  padding: 5px 7px 5px 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(127, 209, 193, .25);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(27, 57, 64, .9), rgba(16, 39, 45, .96));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .13);
}

.system-searchbar > span {
  color: var(--primary);
  font-size: 24px;
  text-align: center;
}

.system-searchbar input {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none !important;
}

.system-searchbar kbd {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
}

.result-summary {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.system-table-wrap {
  overflow: auto;
  border: 1px solid rgba(127, 209, 193, .2);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
}

.system-table-wrap table {
  min-width: 920px;
}

.system-table-wrap th:nth-child(1) { width: 24%; }
.system-table-wrap th:nth-child(2) { width: 38%; }
.system-table-wrap th:nth-child(3) { width: 15%; }
.system-table-wrap th:nth-child(4) { width: 23%; }

.google-featured-row td {
  padding: 10px;
  background:
    radial-gradient(circle at 8% 50%, rgba(66, 133, 244, .17), transparent 27%),
    linear-gradient(120deg, rgba(255, 255, 255, .045), rgba(127, 209, 193, .045));
  border-bottom-color: rgba(127, 209, 193, .28);
}

.google-featured {
  min-height: 96px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(220px, 1.15fr) minmax(320px, 1.5fr);
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(127, 209, 193, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(24, 52, 58, .96), rgba(15, 35, 40, .97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 28px rgba(0, 0, 0, .13);
}

.google-featured__identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.google-featured__identity > div {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.google-mark {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 17px;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from -35deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4) border-box;
  color: #4285f4;
  font: 900 34px/1 Arial, sans-serif;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .24);
}

.google-featured__badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(242, 169, 59, .13);
  color: var(--amber-soft);
  font-size: 9px;
  font-weight: 900;
}

.google-featured__identity strong {
  color: #fff;
  font-size: 16px;
}

.google-featured__identity small {
  margin: 0;
  color: #8ab4f8;
}

.google-featured > p {
  margin: 0;
  color: #d3dfdc;
  line-height: 1.9;
  font-size: 12px;
}

.google-featured__privacy {
  display: block;
  margin-top: 4px;
  color: #9fb3af;
  font-size: 9px;
  line-height: 1.8;
}

.google-search-admin-note {
  margin-bottom: 14px;
}

.google-query-text {
  display: block;
  max-width: 520px;
  color: #f1f7f5;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.google-featured__search {
  min-width: 0;
  padding: 5px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  border: 1px solid rgba(138, 180, 248, .3);
  border-radius: 14px;
  background: rgba(7, 23, 28, .72);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.google-featured__search:focus-within {
  border-color: #8ab4f8;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, .12);
}

.google-featured__search input {
  min-width: 0;
  height: 42px;
  padding: 8px 11px;
  border: 0;
  background: transparent;
  box-shadow: none !important;
}

.google-featured__search button {
  min-height: 42px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #4285f4, #3367d6);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(51, 103, 214, .25);
}

.google-featured__search button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.system-url-preview {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--primary) !important;
}

.system-guide {
  max-width: 480px;
  margin: 0;
  color: #d7e2df;
  line-height: 1.9;
  font-size: 13px;
}

.usage-pill {
  width: max-content;
  min-width: 82px;
  padding: 8px 12px;
  display: grid;
  justify-items: center;
  border: 1px solid rgba(127, 209, 193, .25);
  border-radius: 12px;
  background: rgba(127, 209, 193, .07);
}

.usage-pill strong {
  color: var(--primary);
  font-size: 20px;
}

.usage-pill small {
  margin: 0;
  font-size: 10px;
}

.system-actions {
  flex-wrap: wrap;
}

.system-actions .table-action {
  text-decoration: none;
}

.pending-edit-pill {
  min-height: 36px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(242, 169, 59, .3);
  border-radius: 10px;
  background: rgba(242, 169, 59, .07);
  color: var(--amber-soft);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.load-more-row {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.tab-count {
  min-width: 22px;
  height: 22px;
  margin-right: 5px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: rgba(240, 139, 108, .14);
  color: var(--danger);
  font-size: 10px;
}

.edit-request-change {
  display: grid;
  gap: 5px;
  min-width: 260px;
}

.edit-request-change a {
  max-width: 330px;
  overflow: hidden;
  color: var(--primary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edit-request-change p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 620px) {
  .network-status {
    top: 72px;
    left: 10px;
  }

  .public-search-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .input-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .system-card__row {
    grid-template-columns: 80px minmax(0, 1fr);
    padding: 13px;
  }

  .system-searchbar kbd {
    display: none;
  }

  .system-searchbar {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .google-featured {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
