/* Embedded Result Sample — self-contained, like maptracking: the page is public and does not
   load tool-page.css. */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1d2a33;
  background: #eef1f4;
  line-height: 1.45;
}
code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; }

.rs-head { background: #11212b; color: #fff; padding: 22px 16px; }
.rs-head > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.rs-head h1 { margin: 0 0 4px; font-size: 1.6rem; }
.rs-head p { margin: 0; color: #c3d0d8; }

.rs-main { max-width: 1200px; margin: 0 auto; padding: 20px 16px 40px; }
.rs-card {
  background: #fff;
  border: 1px solid #d6dde3;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.rs-card h2 { margin: 0 0 12px; font-size: 1.15rem; }
.rs-muted { color: #6b7a85; }

.rs-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 18px; }
.rs-field { display: flex; flex-direction: column; gap: 4px; }
.rs-label { font-weight: 600; font-size: .92rem; }
.rs-label code { font-weight: 400; color: #6b7a85; }
.rs-field input {
  font: inherit;
  padding: 7px 10px;
  border: 1px solid #b9c4cc;
  border-radius: 5px;
}
.rs-field input:focus { outline: 2px solid #2a7bbf; outline-offset: -1px; border-color: #2a7bbf; }
.rs-help { font-size: .8rem; color: #6b7a85; }
.rs-actions { margin-top: 16px; display: flex; gap: 10px; }

.rs-btn {
  font: inherit;
  font-size: .92rem;
  padding: 7px 14px;
  border: 1px solid #b9c4cc;
  border-radius: 5px;
  background: #fff;
  color: #1d2a33;
  text-decoration: none;
  cursor: pointer;
}
.rs-btn:hover { background: #f2f5f7; }
.rs-btn-primary { background: #2a7bbf; border-color: #2a7bbf; color: #fff; }
.rs-btn-primary:hover { background: #22679f; }

.rs-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rs-table th, .rs-table td { text-align: left; padding: 6px 10px; border-bottom: 1px solid #e3e8ec; }
.rs-table th { background: #f5f7f9; font-weight: 600; }
.rs-table tr.rs-ok  td:last-child { color: #1f7a3a; }
.rs-table tr.rs-bad td:last-child { color: #b3261e; font-weight: 600; }
.rs-table tr.rs-none td:last-child { color: #6b7a85; }

.rs-embed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rs-link { color: #2a7bbf; font-size: .9rem; }

.rs-code { margin-bottom: 12px; position: relative; }
.rs-code summary { cursor: pointer; color: #2a7bbf; font-size: .9rem; }
.rs-code pre {
  margin: 8px 0 0;
  padding: 12px 14px;
  background: #f5f7f9;
  border: 1px solid #e3e8ec;
  border-radius: 5px;
  overflow-x: auto;
  font-size: .85rem;
}
.rs-copy { position: absolute; right: 8px; top: 34px; padding: 3px 10px; font-size: .8rem; }

/* Stands in for the customer's page: a plain white block with no styling of ours inside it. */
.rs-frame { display: block; width: 100%; height: 160px; border: 1px dashed #c3ccd3; border-radius: 4px; background: #fff; }
