/* The hosted console's own pages (sign-in, sites, users) on top of the site
   console's app.css, so the two read as one product in light and dark. */

.hosted { min-height: 100vh; display: flex; flex-direction: column; }
.hosted-top {
  display: flex; align-items: center; gap: 16px; padding: 14px 24px;
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.hosted-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.hosted-brand img { width: 34px; height: 34px; border-radius: 9px; }
.hosted-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.hosted-brand b { letter-spacing: .08em; font-size: 14px; }
.hosted-brand small { color: var(--ink-3); font-size: 12px; }
.hosted-nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.hosted-nav a { padding: 7px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 550; font-size: 13.5px; }
.hosted-nav a:hover { background: var(--surface-2); color: var(--ink); }
.hosted-main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 28px 24px 40px; }
.hosted-foot { text-align: center; color: var(--ink-4); font-size: 12px; padding: 16px; }
.hosted-narrow { max-width: 460px; margin: 4vh auto 0; }
.hosted h1 { font-size: 22px; }

.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.site-card .t { font-weight: 650; font-size: 15px; }
.site-card .s { color: var(--ink-3); font-size: 12.5px; }
.site-card form { margin: 0; }

code.key, pre.key {
  display: block; margin-top: 4px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line); font: 13px/1.5 ui-monospace, Consolas, monospace;
  word-break: break-all; user-select: all; color: var(--ink);
}
.key-card { border-color: var(--brand); margin-bottom: 20px; }

@media (max-width: 640px) {
  .hosted-top { padding: 12px 16px; flex-wrap: wrap; }
  .hosted-nav { margin-left: 0; width: 100%; }
  .hosted-main { padding: 20px 16px 32px; }
}
