/* BookshopKit launch-readiness UI: availability holding pages, legal pages, support threads, DMCA form.
   Uses the shared --sp-* tokens from app.css. */

/* ---- holding page (Coming Soon / Under Construction / Maintenance) */
.sp-site-mode { min-height: 70vh; display: flex; align-items: center; padding: 3rem 0; }
.sp-mode-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid rgba(31, 42, 60, .1); border-radius: 18px; padding: 2.5rem 1.75rem; box-shadow: 0 10px 30px rgba(31, 42, 60, .07); }
.sp-mode-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: var(--sp-accent-soft, #f6ead2); color: var(--sp-accent-600, #9a6a14); }
.sp-eyebrow-text { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 600; color: var(--sp-accent-600, #9a6a14); margin-bottom: .25rem; }
.sp-mode-announce { margin-top: 1.25rem; padding: .85rem 1rem; border-radius: 10px; background: #f4f1ea; text-align: left; }
.sp-preview-banner { background: #1f2a3c; color: #fff; padding: .6rem 1rem; text-align: center; font-size: .9rem; }
.sp-preview-banner a { color: #f0c36a; }

/* ---- legal pages */
.sp-legal { max-width: 820px; }
.sp-legal h1 { margin-bottom: .25rem; }
.sp-legal-body h2 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.sp-legal-body h3 { font-size: 1.1rem; margin: 1.25rem 0 .4rem; }
.sp-legal-body p, .sp-legal-body li { line-height: 1.65; }
.sp-legal-body ul { padding-left: 1.25rem; }
mark.sp-placeholder { background: #fff3bf; color: #5c4a00; padding: 0 .3em; border-radius: 4px; font-size: .92em; }
.sp-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem; font-size: .88rem; }
.sp-legal-links a { color: inherit; opacity: .8; }
.sp-legal-links a:hover, .sp-legal-links a:focus { opacity: 1; }
.sp-mkt-footer a { text-decoration: none; }

/* honeypot: present for bots, invisible and unreachable for people */
.sp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- support threads */
.sp-thread { padding: 0; }
.sp-thread-msg { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(31, 42, 60, .08); }
.sp-thread-msg:last-child { border-bottom: 0; }
.sp-thread-msg.staff { background: #f7f5ef; }
.sp-thread-msg.internal { background: #fff8e1; border-left: 4px solid #e0a800; }
.sp-thread-msg .meta { font-size: .85rem; margin-bottom: .35rem; display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; }
.sp-thread-msg .body { overflow-wrap: anywhere; line-height: 1.55; }
.sp-steps .sp-step-num { flex: 0 0 auto; }

@media (max-width: 575.98px) {
  .sp-mode-card { padding: 2rem 1.1rem; }
  .sp-thread-msg { padding: .85rem .9rem; }
}
