.service-switch-card.owner-whitelist-switcher {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

button.service-switch-option.service-switch-whitelist {
  appearance: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
}

.service-switch-whitelist .service-switch-copy b {
  font-size: clamp(13px, 1.6vw, 20px);
  line-height: 1.1;
}

.service-whitelist-mark .service-whitelist-lines,
.service-whitelist-mark .service-whitelist-checks {
  fill: none;
  stroke: #83e5ca;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-whitelist-mark .service-whitelist-checks {
  stroke: #8fbfff;
}

@media (max-width: 640px) {
  .service-switch-card.owner-whitelist-switcher {
    gap: 8px;
  }

  .service-switch-whitelist {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 430px) {
  .service-switch-card.owner-whitelist-switcher .service-switch-copy small {
    font-size: 10px;
  }

  .service-switch-card.owner-whitelist-switcher .service-switch-icon {
    flex-shrink: 0;
  }
}

.owner-whitelist-panel {
  --ow-accent: #63dcbf;
  --ow-blue: #6fb5ff;
  color: var(--text, #edf5ff);
  display: grid;
  gap: 18px;
  padding: 2px 0 12px;
}

.ow-private {
  color: var(--ow-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
}

#owContent { display: grid; gap: 20px; }

.ow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ow-steps li {
  align-items: center;
  color: var(--muted, #8ea2bd);
  display: flex;
  font-size: 12px;
  gap: 7px;
  min-width: 0;
}

.ow-step-number {
  align-items: center;
  border: 1px solid rgba(142, 162, 189, .3);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 25px;
  height: 25px;
  justify-content: center;
}

.ow-steps li.is-active { color: var(--text, #edf5ff); }
.ow-steps li.is-active .ow-step-number { background: var(--ow-blue); border-color: var(--ow-blue); color: #071426; }
.ow-steps li.is-done .ow-step-number { border-color: var(--ow-accent); color: var(--ow-accent); }
.ow-section { display: grid; gap: 14px; }
.ow-eyebrow { color: var(--ow-blue); font-size: 11px; font-weight: 800; letter-spacing: .09em; margin: 0; }
.ow-title { font-size: clamp(21px, 4vw, 28px); line-height: 1.15; margin: 0; outline: none; }
.ow-muted, .ow-help { color: var(--muted, #9bacc3); line-height: 1.5; margin: 0; }
.ow-device-selected { color: var(--ow-accent); font-weight: 700; margin: -6px 0 0; }

.ow-device-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ow-device-card {
  background: linear-gradient(145deg, rgba(111, 181, 255, .1), rgba(99, 220, 191, .035));
  border: 1px solid rgba(142, 176, 213, .2);
  border-radius: 18px;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 176px;
  padding: 16px;
  text-align: left;
  transition: border-color .18s, transform .18s;
}

.ow-device-card:hover, .ow-device-card:focus-visible { border-color: var(--ow-blue); transform: translateY(-2px); }
.ow-device-top { align-items: center; display: flex; justify-content: space-between; gap: 6px; }
.ow-device-icon { color: var(--ow-blue); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.ow-current { background: rgba(99, 220, 191, .12); border-radius: 20px; color: var(--ow-accent); font-size: 9px; padding: 4px 7px; }
.ow-device-card strong { font-size: 17px; line-height: 1.25; }
.ow-device-action { align-self: end; color: var(--ow-blue); font-size: 13px; font-weight: 700; }

.ow-app-card {
  align-items: center;
  background: rgba(111, 181, 255, .06);
  border: 1px solid rgba(111, 181, 255, .18);
  border-radius: 18px;
  display: flex;
  gap: 14px;
  padding: 16px;
}

.ow-app-icon {
  align-items: center;
  background: linear-gradient(145deg, #4c8eff, #77d9d0);
  border-radius: 14px;
  color: #071426;
  display: flex;
  flex: 0 0 52px;
  font-size: 22px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
}

.ow-app-copy { display: grid; gap: 6px; }
.ow-app-copy p { font-size: 13px; }
.ow-note, .ow-warning { background: rgba(99, 220, 191, .065); border-left: 3px solid var(--ow-accent); border-radius: 10px; padding: 12px 14px; }
.ow-note p, .ow-warning p { line-height: 1.5; margin: 5px 0 0; }
.ow-warning { background: rgba(255, 196, 101, .065); border-left-color: #ffc465; }

.ow-button {
  align-items: center;
  background: linear-gradient(135deg, #68b0ff, #73d5c1);
  border: 0;
  border-radius: 13px;
  color: #071426;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  text-align: center;
  text-decoration: none;
}

.ow-button:hover { filter: brightness(1.07); }
.ow-secondary { background: rgba(111, 181, 255, .11); border: 1px solid rgba(111, 181, 255, .32); color: var(--text, #edf5ff); }
.ow-quiet { background: transparent; border: 1px solid rgba(142, 162, 189, .25); color: var(--muted, #b1bfd1); }
.ow-connect { font-size: 16px; min-height: 52px; width: 100%; }
.ow-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.ow-copy-row { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) auto; }
.ow-link-input { background: rgba(2, 10, 24, .55); border: 1px solid rgba(142, 162, 189, .25); border-radius: 12px; color: var(--muted, #b1bfd1); font: 12px/1.4 ui-monospace, monospace; min-width: 0; padding: 10px; text-overflow: ellipsis; }
.ow-copy-status { color: var(--ow-accent); font-size: 12px; margin: 0; min-height: 18px; }
.ow-instructions { color: var(--text, #edf5ff); display: grid; gap: 10px; line-height: 1.45; margin: 0; padding-left: 22px; }

@media (max-width: 640px) {
  .ow-device-grid { grid-template-columns: 1fr; }
  .ow-device-card { min-height: 0; }
  .ow-steps li { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ow-copy-row { grid-template-columns: 1fr; }
  .ow-actions .ow-button { flex: 1 1 140px; }
  .ow-app-card { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .ow-device-card { transition: none; }
  .ow-device-card:hover, .ow-device-card:focus-visible { transform: none; }
}
