/* Call/Text Settings, the Calling page's fourth tab. */

/* icon() emits an SVG with no width or height and there is a global 16px
   default, so anything here that draws one sets its own size. */
.cs-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin: 20px 0 8px;
}

/* The money marker. Small, quiet, and hoverable: the rate lives in its title
   rather than in body copy nobody reads twice. */
.cs-cost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fef3c7;
  color: #92400e;
  font-size: 10.5px;
  font-weight: 800;
  cursor: help;
  vertical-align: middle;
}

.cs-hooks { margin-bottom: 4px; }

.cs-url {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 3px 0;
}
.cs-url span { color: var(--muted); font-size: 12px; font-weight: 700; }
/* Grid children default to min-width:auto, so a long URL would push the card
   sideways instead of wrapping. */
.cs-url code {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  background: var(--bg);
  border-radius: 5px;
  padding: 2px 6px;
}

.cs-num { margin-bottom: 10px; }
.cs-num .card-head h3 { flex: none; }

.cs-hooktable { width: 100%; border-collapse: collapse; font-size: 13px; }
.cs-hooktable td { padding: 5px 8px 5px 0; vertical-align: middle; }
.cs-hooktable td:first-child { width: 130px; color: var(--muted); font-weight: 600; }
.cs-hooktable td:nth-child(2) { width: 130px; }
.cs-was {
  color: var(--muted);
  font-size: 11.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  min-width: 0;
  overflow-wrap: anywhere;
}

.cs-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.cs-avail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.cs-avail:last-child { border-bottom: none; }

.cs-routing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }

.cs-hr { border: none; border-top: 1px solid var(--border); margin: 16px 0 12px; }

@media (max-width: 860px) {
  .cs-routing-grid { grid-template-columns: 1fr; }
  .cs-hooktable td:first-child, .cs-hooktable td:nth-child(2) { width: auto; }
}
