:root {
  --bg: #0b1220;
  --panel: #111a2d;
  --panel-2: #16233b;
  --text: #eef4ff;
  --muted: #9aa8c7;
  --primary: #2e86ff;
  --danger: #e85a5a;
  --border: #22314f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #08111d 0%, var(--bg) 100%);
  color: var(--text);
}
.shell { max-width: 1200px; margin: 0 auto; padding: 16px; }
.topbar { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.topbar h1 { margin: 0 0 6px; font-size: 28px; }
.topbar p { margin: 0; color: var(--muted); }
.card {
  background: rgba(17, 26, 45, 0.98);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
.card.compact { padding: 12px; }
.card.inset {
  background: rgba(12, 20, 37, 0.92);
  border-color: #294067;
  box-shadow: none;
}
.section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 12px; }
.section-head.align-top { align-items:flex-start; }
.compact-head { margin-bottom: 10px; }
.section-head h2, .section-head h3 { margin: 0; }
.section-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.stack { display: grid; gap: 12px; }
.stack-lg { display: grid; gap: 16px; }
.grid { display:grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.split { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: start; }
label span { display:block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #2b3b5f;
  background: #0c1425;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
textarea { resize: vertical; min-height: 110px; }
button {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 600;
  color: white;
  background: var(--primary);
  cursor: pointer;
}
button.secondary { background: #243754; }
button.danger { background: var(--danger); }
button.ghost-danger { padding: 8px 12px; }
button:disabled { opacity: 0.5; cursor: default; }
button.is-busy { opacity: 0.8; }
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 600;
  color: white;
  text-decoration: none;
  background: var(--primary);
}
.button-link.secondary { background: #243754; }
.message.inline-message { min-height: 0; margin-top: 8px; }
.row { display:flex; align-items:center; }
.gap-sm { gap: 8px; }
.wrap-actions { flex-wrap: wrap; }
.clients-list { display:grid; gap: 10px; }
.diagnostics-group {
  border: 1px solid #243754;
  border-radius: 14px;
  padding: 12px;
  background: rgba(12, 20, 37, 0.42);
}
.diagnostics-group h3 {
  font-size: 17px;
}
.diagnostics-row-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.diagnostics-open-btn {
  width: 100%;
  text-align: left;
}
.diagnostics-delete-btn {
  align-self: stretch;
  min-width: 112px;
}
.client-card {
  background: rgba(12, 20, 37, 0.96);
  border: 1px solid #243754;
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
}
.client-card.active { border-color: var(--primary); background: rgba(19, 35, 59, .98); }
.client-card .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.info-box {
  background: #0c1425;
  border: 1px solid #243754;
  border-radius: 14px;
  padding: 12px;
}
.info-box strong { display:block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.grid.two.message-columns {
  grid-template-columns: 1fr;
  align-items: start;
}
.message-columns .sheet-section {
  align-self: start;
}
.messages-list { display: grid; gap: 12px; }
.message-admin-card {
  background: rgba(12, 20, 37, 0.96);
  border: 1px solid #243754;
  border-radius: 14px;
  padding: 12px;
}
.message-admin-card h4 {
  margin: 8px 0 4px;
  font-size: 17px;
  line-height: 1.25;
}
.message-admin-card p {
  margin: 10px 0 12px;
  color: #cfe0ff;
  line-height: 1.45;
}
.message-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.message-thumb {
  width: 112px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #2b3b5f;
  background: #08111d;
}
.message-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
}
.message-pill.urgent {
  background: rgba(232, 90, 90, 0.16);
  color: #ffb4b4;
  border: 1px solid rgba(232, 90, 90, 0.38);
}
.message-pill.normal {
  background: rgba(46, 134, 255, 0.14);
  color: #b8d5ff;
  border: 1px solid rgba(46, 134, 255, 0.34);
}
.client-diagnostics-box .row { align-items: stretch; }
.client-diagnostics-box select { flex: 1 1 180px; min-width: 150px; }
.client-diagnostics-box button { flex: 0 0 auto; }
.client-diagnostics-box .hint { margin-top: 8px; }
.message { min-height: 20px; color: #87d4a1; font-size: 14px; }
.message.error { color: #ff8b8b; }
.hint { color: var(--muted); font-size: 13px; }
.hidden { display: none !important; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab-btn {
  background: #0c1425;
  border: 1px solid #2b3b5f;
  color: var(--text);
}
.tab-btn.active {
  background: linear-gradient(180deg, #3492ff 0%, #2e86ff 100%);
  border-color: #4fa0ff;
}
.tab-panel.active { display: block; }
.subscription-editor-list { display: grid; gap: 18px; }
.sub-card {
  border: 1px solid #2b3b5f;
  border-radius: 18px;
  padding: 18px;
  background: rgba(17, 26, 45, 0.96);
  margin-bottom: 6px;
}
.sub-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.sub-card-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.sub-card-rawname {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
  font-style: italic;
}
.subscription-grid-top {
  margin-bottom: 14px;
}
.credential-box {
  border: 1px solid #35507e;
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(17,40,73,.6), rgba(12,20,37,.7));
  margin-bottom: 14px;
}
.credential-title {
  font-size: 13px;
  color: #cfe0ff;
  margin-bottom: 12px;
  font-weight: 700;
}
.credential-grid {
  gap: 16px;
}
.subscription-bottom-grid {
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
  margin-bottom: 14px;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
}
.compact-checkbox {
  min-height: 48px;
  align-self: center;
  justify-content: flex-start;
}
.checkbox-line input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.checkbox-line span { margin: 0; }
.advanced-json {
  border: 1px solid #243754;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(12, 20, 37, 0.75);
}
.advanced-json summary {
  cursor: pointer;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.advanced-json[open] summary {
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .grid.two, .grid.three, .grid.split, .subscription-bottom-grid { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; }
  .section-head { flex-direction: column; align-items: stretch; }
  .section-head > div { width: 100%; }
  .sub-card-head { flex-direction: column; align-items: stretch; }
  .checkbox-line, .compact-checkbox { padding-top: 0; min-height: auto; }
}

.compact-note {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}

.ghost-danger {
  background: rgba(170, 40, 40, 0.12);
  border-color: rgba(200, 80, 80, 0.35);
}


/* Harmonisation clients smartphone */
.clients-layout { align-items: start; }
.clients-panel { position: sticky; top: 16px; }
.client-sheet { overflow: hidden; }
.client-form { gap: 14px; }
.sheet-section {
  background: rgba(12, 20, 37, 0.7);
  border: 1px solid #243754;
  border-radius: 16px;
  padding: 14px;
}
.sheet-section-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}
.sheet-section-head h3 { margin: 0; font-size: 18px; }
.mini-status {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.mini-chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#0c1425;
  border:1px solid #243754;
  border-radius:999px;
  padding:8px 12px;
  color:var(--muted);
  font-size:13px;
}
.mini-chip strong { color: var(--text); font-size: 12px; }
.search-block input { font-size: 15px; }
.client-card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.status-pill {
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight:700;
  text-transform:capitalize;
  border:1px solid #2b3b5f;
  background:#0c1425;
  color:var(--text);
}
.status-pill.blocked { background: rgba(232,90,90,0.12); border-color: rgba(232,90,90,0.4); color:#ffb2b2; }
.status-pill.inactive { background: rgba(154,168,199,0.12); border-color: rgba(154,168,199,0.35); color:#c8d3eb; }
.status-pill.active { background: rgba(46,134,255,0.12); border-color: rgba(46,134,255,0.35); color:#a9cbff; }

.fold-card {
  background: rgba(12, 20, 37, 0.7);
  border: 1px solid #243754;
  border-radius: 16px;
  padding: 0;
}
.fold-card > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
}
.fold-card > summary::-webkit-details-marker { display:none; }
.fold-card[open] > summary {
  border-bottom: 1px solid #243754;
}
.details-body { padding: 14px 16px 16px; }

.subscription-editor-list {
  display:grid;
  gap:14px;
}
.sub-card {
  background:#0c1425;
  border:1px solid #243754;
  border-radius:16px;
  padding:16px;
  display:grid;
  gap:14px;
}
.sub-card-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.sub-card-head strong { display:block; font-size:16px; }
.sub-card-subtitle { color: var(--muted); font-size: 13px; margin-top:4px; }
.credential-box {
  background: rgba(17, 26, 45, 0.95);
  border: 1px solid #243754;
  border-radius: 14px;
  padding: 12px;
}
.credential-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}
.inline-input-action {
  display:grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap:8px;
  align-items:center;
}
.mini-btn {
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.compact-head .secondary { align-self: center; }

@media (max-width: 980px) {
  .clients-panel { position: static; }
  .grid.split,
  .clients-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar { flex-direction: column; }
  .topbar-actions { width:100%; }
  .row.wrap-actions { width:100%; }
  .row.wrap-actions > button,
  .row.wrap-actions > .secondary,
  .row.wrap-actions > .danger {
    flex: 1 1 calc(50% - 4px);
  }
  .grid.two,
  .grid.three,
  .subscription-bottom-grid,
  .credential-grid,
  .subscription-grid-top {
    grid-template-columns: 1fr;
  }
  .sheet-section-head,
  .sub-card-head,
  .section-head.align-top {
    flex-direction: column;
    align-items: stretch;
  }
  .mini-status {
    justify-content:flex-start;
  }
  .inline-input-action {
    grid-template-columns: 1fr;
  }
  .mini-btn {
    width: 100%;
  }
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--border);
  background: rgba(8, 17, 29, 0.85);
  padding: 20px;
  display: grid;
  gap: 12px;
  align-content: start;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sidebar .tab-btn {
  width: 100%;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  min-height: 58px;
}
.main-content {
  padding: 20px;
}
.auth-card {
  max-width: 460px;
  margin: 40px auto;
}
.gap-lg { gap: 18px; }

.status-stack {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.status-stack.right {
  justify-items: end;
  text-align: right;
}
.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #2b3b5f;
  background: #0c1425;
  color: var(--text);
}
.state-badge.tone-ok {
  background: rgba(78, 201, 140, 0.12);
  border-color: rgba(78, 201, 140, 0.38);
  color: #b8f2cf;
}
.state-badge.tone-warn {
  background: rgba(255, 191, 71, 0.12);
  border-color: rgba(255, 191, 71, 0.38);
  color: #ffe0a2;
}
.state-badge.tone-error {
  background: rgba(232, 90, 90, 0.12);
  border-color: rgba(232, 90, 90, 0.38);
  color: #ffb2b2;
}
.state-badge.tone-neutral {
  background: rgba(154, 168, 199, 0.12);
  border-color: rgba(154, 168, 199, 0.28);
  color: #d0dbf2;
}
.state-note {
  max-width: 360px;
}
.compact-sheet h3 {
  margin: 0;
  font-size: 16px;
}
.compact-fold {
  background: rgba(12, 20, 37, 0.52);
}
.maintenance-block {
  overflow: hidden;
}
.maintenance-block > summary {
  background: rgba(12, 20, 37, 0.55);
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .main-content {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .status-stack.right {
    justify-items: start;
    text-align: left;
  }
}


.address-test-card {
  background: rgba(12, 20, 37, 0.78);
  border: 1px solid #243754;
  border-radius: 16px;
  padding: 14px;
}
.address-test-card h4 {
  margin: 0 0 6px;
  font-size: 17px;
}
.address-provider-box .address-provider-main {
  font-weight: 700;
  margin-bottom: 6px;
}
.address-provider-box.tone-ok {
  border-color: rgba(135, 212, 161, 0.35);
}
.address-provider-box.tone-warn {
  border-color: rgba(255, 196, 106, 0.35);
}
.address-provider-box.tone-error {
  border-color: rgba(232, 90, 90, 0.35);
}

.stats-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.compact-tools {
  align-items: end;
}
.compact-tools-right {
  align-items: end;
}
.filter-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  background: #0c1425;
  border: 1px solid #243754;
  color: var(--text);
  padding: 9px 12px;
}
.filter-chip.active {
  background: rgba(46, 134, 255, 0.16);
  border-color: rgba(46, 134, 255, 0.45);
}
.pagination-head {
  justify-content: space-between;
}
.pagination-head.between {
  justify-content: space-between;
}
.center { align-items: center; }
.between { justify-content: space-between; }
.clients-list-compact .client-card {
  display: grid;
  gap: 8px;
}
.tab-toggle-row .secondary.active {
  background: var(--primary);
}
.compact-summary-grid .info-box {
  min-height: 84px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid #243754;
  border-radius: 14px;
  background: #0c1425;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(36, 55, 84, 0.7);
  text-align: left;
  vertical-align: middle;
}
.data-table th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  background: rgba(17, 26, 45, 0.92);
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.subscriptions-table-wrap {
  margin-top: 4px;
}
@media (max-width: 980px) {
  .stats-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .stats-grid.four,
  .compact-summary-grid {
    grid-template-columns: 1fr;
  }
  .pagination-head {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V14 clients UI refinements */
.right-side-actions {
  justify-items: end;
  gap: 6px;
  min-width: 180px;
}
.right-side-actions .message {
  text-align: right;
}
.client-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat-card {
  background: rgba(240, 243, 248, 0.06);
  border: 1px solid #314567;
  border-radius: 16px;
  padding: 18px 16px;
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 14px;
}
.stat-label {
  font-size: 15px;
  line-height: 1.3;
  color: #dce6f8;
}
.stat-value {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  color: #eef4ff;
}
.stat-card.tone-default { border-color: #35507e; }
.stat-card.tone-default .stat-value { color: #cfe0ff; }
.stat-card.tone-warm { border-color: #c59a5b; background: rgba(197,154,91,0.08); }
.stat-card.tone-warm .stat-value { color: #ffb04a; }
.stat-card.tone-danger { border-color: #d96d7c; background: rgba(217,109,124,0.08); }
.stat-card.tone-danger .stat-value { color: #ff6f8f; }
.stat-card.tone-pro { border-color: #b18cff; background: rgba(177,140,255,0.08); }
.stat-card.tone-pro .stat-value { color: #b98bff; }
.stat-card.tone-sub { border-color: #8ea2ff; background: rgba(142,162,255,0.08); }
.stat-card.tone-sub .stat-value { color: #7f7fff; }

.stat-filter-card {
  cursor: pointer;
  width: 100%;
  text-align: left;
  appearance: none;
}
.stat-filter-card.active-filter {
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(46, 134, 255, 0.18) inset;
  transform: translateY(-1px);
}
.stat-filter-card:focus-visible {
  outline: 2px solid #69a8ff;
  outline-offset: 2px;
}
.admin-only-card {
  max-width: 980px;
}
.compact-tools-wide {
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  align-items: end;
}
.search-block-large { grid-column: auto; }
.search-block-large input {
  min-height: 56px;
  font-size: 17px;
  padding: 15px 16px;
}
.equal-buttons-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.equal-buttons-row button {
  width: 100%;
  min-height: 54px;
}
.status-pill.former { background: rgba(255,176,74,0.12); border-color: rgba(255,176,74,0.4); color: #ffd195; }
.status-pill.pro { background: rgba(185,139,255,0.12); border-color: rgba(185,139,255,0.4); color: #d3b6ff; }
.subscriptions-table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.data-table th,
.data-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #243754;
  vertical-align: middle;
}
.data-table thead th {
  color: #b9c8e7;
  font-size: 13px;
  font-weight: 700;
  background: rgba(15, 23, 40, 0.92);
  position: sticky;
  top: 0;
}
.data-table tbody tr:hover {
  background: rgba(46, 134, 255, 0.06);
}
@media (max-width: 1180px) {
  .client-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .client-stats-grid {
    grid-template-columns: 1fr;
  }
  .compact-tools-wide,
  .equal-buttons-row {
    grid-template-columns: 1fr;
  }
  .right-side-actions {
    justify-items: stretch;
  }
  .right-side-actions .message {
    text-align: left;
  }
}


/* V15 compact client dashboard + manual creation */
.client-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.compact-stat-card {
  padding: 14px 14px;
  min-height: 96px;
  gap: 10px;
  border-radius: 14px;
}
.compact-stat-card .stat-label {
  font-size: 13px;
  line-height: 1.25;
}
.compact-stat-card .stat-value {
  font-size: 28px;
}
.client-tools-stack {
  gap: 12px;
}
.full-width-search {
  width: 100%;
}
.full-width-search input {
  min-height: 60px;
  font-size: 18px;
  padding: 16px 18px;
}
.tools-row-under-search {
  grid-template-columns: repeat(2, minmax(180px, 220px));
  justify-content: start;
}
.filters-below-search {
  margin-top: 2px;
}
.manual-create-block,
.add-subscription-block {
  margin-top: 6px;
}
.full-span {
  grid-column: 1 / -1;
}
@media (max-width: 1380px) {
  .client-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .client-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tools-row-under-search {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .client-stats-grid {
    grid-template-columns: 1fr;
  }
  .tools-row-under-search {
    grid-template-columns: 1fr;
  }
}

.small-btn { padding: 0.55rem 0.9rem; font-size: 0.95rem; }
.auth-grid { margin-top: 0.25rem; }



/* V24 abonnement cards */
.subscription-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.subscriptions-summary-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
  margin-bottom: 14px;
}
.subscription-card {
  margin-bottom: 0;
  gap: 14px;
  display: grid;
}
.subscription-card-head {
  margin-bottom: 0;
}
.subscription-card-credentials {
  margin-bottom: 0;
}
.subscription-card-credentials .credential-box {
  margin-bottom: 0;
  min-height: 150px;
}
.credential-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #eef4ff;
  word-break: normal;
  overflow-wrap: anywhere;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.subscription-meta-grid {
  gap: 12px;
}
.subscription-addresses {
  display: grid;
  gap: 8px;
}
.subscription-addresses strong {
  color: var(--muted);
  font-size: 13px;
}
.subscription-addresses > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.server-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(46,134,255,0.10);
  border: 1px solid rgba(46,134,255,0.25);
  color: #cfe0ff;
  font-size: 13px;
  max-width: 100%;
  word-break: break-all;
}
.subscription-actions-row {
  justify-content: flex-end;
}
@media (max-width: 1180px) {
  .subscription-cards-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .subscriptions-summary-bar {
    grid-template-columns: 1fr;
  }
  .credential-value {
    font-size: 16px;
  }
  .mono {
    font-size: 15px;
  }
  .subscription-actions-row {
    justify-content: stretch;
  }
}
