/* Spaces build 3, lane MEMBERS-FRAME: the coach's "See it as a member" (js/spaces/member-preview.js). Prefix smp-.
   The member's own screens inside it are space-member-frame.js's (spm-, self-styled); this file is only the chrome
   around them: the label row with "Back to your space" (the artifact's .member-lrow), the "as" picker, the caption
   under a screen (.quiet), and "How someone new joins" (.nextup, .nx, .star). Fit rule: at 1440x790 the label row,
   the first card and Maya's box are in view; the member's screen scrolls inside its own column. */

.smp-frame { min-height: 0; height: calc(100vh - 120px); max-height: 980px; }
.smp-app { overflow-y: auto; min-height: 0; align-content: start; gap: 12px; padding-bottom: 24px; }
.smp-frame .spx-maya { min-height: 0; }
@media (max-width: 899.98px) { .smp-frame { height: auto; max-height: none; } .smp-app { overflow: visible; } }

.smp-lrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; }
.smp-label { font-family: var(--spx-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.smp-back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.smp-back .spx-i { width: 15px; height: 15px; }
.smp-as { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.smp-as select { font: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; background: #fff; color: var(--text); max-width: 260px; }

.smp-stage { max-width: 780px; width: 100%; justify-self: center; }
.smp-note { margin: 0; text-align: center; color: var(--text-3); font-size: 15px; }
.smp-cap { max-width: 760px; justify-self: center; margin: 0; text-align: center; font-size: 13.5px; color: var(--text-3); }
.smp-home { display: grid; gap: 10px; max-width: 360px; }

/* How someone new joins (the artifact's .nextup) */
.smp-join { display: grid; gap: 8px; max-width: 460px; width: 100%; justify-self: center; }
.smp-from { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 13.5px; font-weight: 600; color: var(--accent-deep); background: var(--accent-softer); border: 1px solid var(--accent-soft); border-radius: 999px; padding: 4px 12px 4px 4px; }
.smp-crumb2 { font-family: var(--spx-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.smp-nx { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; align-items: center; text-align: left; font: inherit; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; cursor: pointer; color: var(--text); }
.smp-nx b { display: block; font-size: 15px; }
.smp-d { display: block; font-size: 13.5px; color: var(--text-3); }
.smp-nx.smp-star { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.smp-nxp { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-softer); color: var(--accent-deep); }
