/* Chill Hosting (/hosting and /account/hosting): the brief block, the
   command lines and the "what you get" cards. Colours come from the shared
   tokens, so dark mode follows styles.css. */

.hosting-brief {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin: var(--space-4) 0;
  min-width: 0;
}
.hosting-brief pre {
  margin: 0;
  max-height: 22rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--color-ink-2);
  user-select: all;
}
.hosting-brief--full pre { max-height: none; }
/* Inside a Learn guide (/learn/build-your-website-with-ai) the prompt keeps the
   brief's look, not the lesson's dark code block. */
.lesson .hosting-brief pre { background: none; color: var(--color-ink-2); padding: 0; border-radius: 0; margin: 0; font-size: var(--fs-xs); }
.hosting-brief__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.hosting-brief__bar p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }

.hosting-cmd {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  margin: var(--space-2) 0;
  font-size: var(--fs-xs);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: all;
}

.hosting-facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--space-1) var(--space-4);
  margin: var(--space-3) 0;
  font-size: var(--fs-sm);
}
.hosting-facts dt { color: var(--text-muted); }
.hosting-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .hosting-facts { grid-template-columns: 1fr; } .hosting-facts dd { margin-bottom: var(--space-2); } }

.hosting-service {
  background: var(--bg-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: var(--space-5);
  min-width: 0;
}
.hosting-service h2 { margin: 0 0 var(--space-2); overflow-wrap: anywhere; }
.hosting-service__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0; }

.hosting-password {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-lg);
  letter-spacing: 0.04em;
  user-select: all;
  overflow-wrap: anywhere;
}
