/* Simple Jacks E-File Desk — Hosted Web Edition gate & ribbon styles (simplejacks-firm palette). */
.sj-hosted-door {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg, #f7f6f2);
  color: var(--ink, #171717);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
.sj-hosted-card {
  width: min(520px, 100%);
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, rgba(23, 23, 23, 0.12));
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.sj-hosted-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sj-hosted-wordmark {
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}
.sj-hosted-product {
  color: var(--ink-2, #525252);
  font-size: 0.9375rem;
}
.sj-hosted-badge {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink, #171717);
}
.sj-hosted-title {
  margin: 0 0 10px;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
}
.sj-hosted-lead {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2, #404040);
}
.sj-hosted-detail {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.22);
  font-size: 0.875rem;
  line-height: 1.45;
  color: #78350f;
}
.sj-hosted-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.sj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.12s ease;
}
.sj-btn:hover { opacity: 0.9; }
.sj-btn-primary {
  background: #171717;
  color: #ffffff;
}
.sj-btn-secondary {
  background: transparent;
  color: #171717;
  border-color: rgba(23, 23, 23, 0.2);
}
.sj-hosted-footer {
  margin: 18px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #666666;
}
.sj-hosted-ribbon {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 14px;
  background: #18181b;
  color: #f4f4f5;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sj-hosted-ribbon-left,
.sj-hosted-ribbon-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sj-hosted-ribbon-pill {
  font-weight: 650;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.sj-hosted-ribbon-text { color: #d4d4d8; }
.sj-hosted-ribbon-user { color: #a1a1aa; font-size: 0.78rem; }
.sj-hosted-ribbon-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
