.speed-shell {
  max-width: min(1080px, calc(100% - 32px));
  margin: 24px auto 60px;
  padding: 0;
  color: #111827;
  display: grid;
  gap: 18px;
}

.speed-head {
  display: grid;
  gap: 10px;
}

.speed-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}

.speed-breadcrumbs a {
  color: #6b7280;
  text-decoration: none;
}

.speed-breadcrumbs a:hover,
.speed-breadcrumbs a:focus-visible {
  color: #1d4ed8;
  text-decoration: underline;
}

.speed-head h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  color: #0f172a;
}

.speed-intro {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%;
}

.speed-card > h1 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #101828;
}

.speed-card > .speed-intro {
  margin: 0 0 12px;
}

.speed-card {
  background: #ffffff;
  border: 1px solid #d8e0ee;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
}

.speed-embed-toolbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.speed-reload-btn {
  border: 1px solid #b6c5e2;
  background: #ffffff;
  color: #0f2e6d;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

.speed-reload-btn:hover,
.speed-reload-btn:focus-visible {
  border-color: #2563eb;
  color: #1d4ed8;
}

.speed-reload-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.speed-mobile-warning {
  margin: 0;
  font-size: 13px;
  color: #475569;
}

.speed-reload-note {
  min-height: 20px;
  margin: 0 0 12px;
  font-size: 13px;
  color: #1e3a8a;
}

.speed-attribution {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
  text-align: right;
}

.speed-reference h2 {
  margin: 18px 0 8px;
  font-size: 1.85rem;
  line-height: 1.2;
  color: #0f172a;
}

.speed-reference h2:first-child {
  margin-top: 0;
}

.speed-reference p {
  margin: 0;
  color: #334155;
  line-height: 1.65;
}

.speed-reference p + p,
.speed-reference p + ul,
.speed-reference ul + p,
.speed-reference ul + h2,
.speed-reference .speed-faq + h2 {
  margin-top: 10px;
}

.speed-reference ul {
  margin: 0;
  padding-left: 20px;
  color: #334155;
  display: grid;
  gap: 6px;
}

.speed-reference li {
  line-height: 1.55;
}

.speed-reference a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.speed-reference a:hover,
.speed-reference a:focus-visible {
  color: #1e40af;
}

.speed-faq {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.speed-faq-item {
  border: 1px solid #d4d9e1;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.speed-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.speed-faq-item summary::-webkit-details-marker {
  display: none;
}

.speed-faq-item summary::before {
  content: "\25B6";
  font-size: 11px;
  color: #334155;
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}

.speed-faq-item[open] summary::before {
  transform: rotate(90deg) translateX(1px);
}

.speed-faq-item > p {
  margin: 0;
  padding: 0 14px 14px 34px;
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
}

@media (max-width: 720px) {
  .speed-shell {
    margin-top: 16px;
    padding: 0;
    gap: 14px;
  }

  .speed-card {
    padding: 14px;
    border-radius: 14px;
  }

  .speed-reference h2 {
    font-size: 1.45rem;
  }

  .speed-faq-item summary {
    font-size: 18px;
  }
}
