/* Personal's five reference screens. Every rule is scoped to the sandbox editor. */
.sg-root[data-stage=personal] .sg-screen { max-width:1280px; padding:0 32px 80px; }
.ps-flow { color:#f3f4f6; font-family:"Inter",system-ui,sans-serif; }
.ps-stepper { display:flex; align-items:center; gap:20px; margin:0 0 24px; padding:10px 20px; border:1px solid #ffffff1a; border-radius:16px; background:#21212b; }
.ps-step-count { flex-shrink:0; padding:5px 10px; border:1px solid #ffffff1a; border-radius:8px; background:#ffffff0a; color:#d1d5db; font-size:11px; line-height:1.4; font-weight:600; }
.ps-stepper ol { display:flex; flex:1; align-items:center; justify-content:space-between; gap:8px; min-width:0; padding:3px 0 3px 20px; margin:0; list-style:none; border-left:1px solid #ffffff1a; overflow-x:auto; scrollbar-width:thin; }
.ps-stepper li { flex-shrink:0; }.ps-stepper button { display:flex; align-items:center; gap:8px; min-height:36px; padding:6px 10px; border:0; border-radius:12px; color:#9ca3af; background:none; white-space:nowrap; font-size:12px; font-weight:500; }
.ps-step-number { display:grid; place-items:center; width:23px; height:23px; border:1px solid #ffffff26; border-radius:50%; background:#ffffff08; font-size:11px; font-weight:600; }
.ps-stepper .is-active { color:white; background:#ff00801f; }.ps-stepper .is-active .ps-step-number { border-color:transparent; background:linear-gradient(135deg,#ff006e,#8338ec); }
.ps-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:24px; align-items:start; }.ps-main { min-width:0; }
.ps-panel,.ps-summary { border:1px solid #ffffff1a; border-radius:24px; background:#21212b; box-shadow:0 8px 32px #0002; }
.ps-panel { display:grid; gap:24px; padding:32px; }.ps-panel>header h2 { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0; color:#f3f4f6; font:700 24px/1.3 var(--v28-display); }.ps-panel h2>.sg-fa { font-size:18px; color:#ff006e; }.ps-panel h2 small { font:400 12px/1.5 "Inter",system-ui,sans-serif; color:#9ca3af; }
.ps-panel>header p { margin:4px 0 0; color:#9ca3af; font-size:14px; line-height:1.5; }.ps-panel h3 { margin:0; font:700 18px/1.4 var(--v28-display); }.ps-hint { margin:3px 0 14px; color:#9ca3af; font-size:12px; line-height:1.5; }
.ps-card { min-width:0; padding:20px; border:1px solid #ffffff1a; border-radius:16px; background:#ffffff04; }.ps-title-card { border-color:#ff006e40; }
.ps-field { display:grid; gap:8px; min-width:0; margin:0; color:#f3f4f6; font-size:14px; font-weight:600; line-height:1.5; }.ps-input-wrap { display:block; position:relative; min-width:0; }
#sg-personal input:not([type=range]),#sg-personal textarea,#sg-personal select { display:block; box-sizing:border-box; width:100%; min-width:0; margin:0; padding:12px 16px; border:1px solid #ffffff1a; border-radius:12px; background:#18181f; color:#f3f4f6; font:400 14px/1.5 "Inter",system-ui,sans-serif; color-scheme:dark; }
#sg-personal input:not([type=range]),#sg-personal select { min-height:48px; }#sg-personal input::placeholder,#sg-personal textarea::placeholder { color:#9ca3af; }#sg-personal textarea { resize:vertical; }#sg-personal .ps-field input,#sg-personal .ps-field textarea { padding-right:44px; }
#sg-personal select option { background:#24242e; color:#f3f4f6; }#sg-personal .ps-title-card input { font-weight:600; }
.ps-clear { position:absolute; top:9px; right:9px; display:grid; place-items:center; width:28px; height:28px; padding:0; border:0; border-radius:8px; background:#ffffff0a; color:#9ca3af; font-size:18px; }
.ps-suggestions { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:16px; color:#d1d5db; font-size:12px; }.ps-suggestions .sg-fa { color:#ff006e; }.ps-suggestions button { padding:4px 10px; border:1px solid #ffffff1a; border-radius:8px; background:#ffffff0d; color:#d1d5db; font-size:11px; }
.ps-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px; }.ps-option { display:flex; align-items:center; gap:12px; min-width:0; min-height:56px; padding:12px 16px; border:1px solid #ffffff1a; border-radius:16px; background:#ffffff08; color:#f3f4f6; text-align:left; }
.ps-option strong { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; line-height:1.4; }.ps-option>.sg-fa { flex-shrink:0; color:#777b89; font-size:14px; }.ps-radio { display:grid; place-items:center; flex-shrink:0; width:20px; height:20px; border:1px solid #ffffff40; border-radius:50%; background:#ffffff0d; }.ps-option[aria-pressed=true] { border-color:#ff006e99; background:#ff006e14; }.ps-option[aria-pressed=true] .ps-radio { border-color:#ff006e; }.ps-option[aria-pressed=true] .ps-radio::after { content:''; width:10px; height:10px; border-radius:50%; background:#ff006e; }.ps-option[aria-pressed=true]>.sg-fa { color:#ff006e; }
.ps-two-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:16px 0; }.ps-divided { padding-top:20px; border-top:1px solid #ffffff1a; }.ps-panel [data-ps-condition] { margin-top:14px; }
.ps-anchors { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.ps-anchors .ps-card { padding:14px; }.ps-anchors .ps-field { font-size:12px; }#sg-personal .ps-anchors textarea { font-size:12px; padding:12px 32px 12px 12px; }
.ps-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding-top:20px; border-top:1px solid #ffffff1a; }.ps-primary,.ps-secondary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 20px; border:1px solid #ffffff26; border-radius:12px; color:#e5e7eb; background:#ffffff0a; font:600 13px/1.4 "Inter",system-ui,sans-serif; text-decoration:none; }
.ps-primary { min-height:48px; padding:12px 28px; border:0; color:white; background:linear-gradient(135deg,#ff006e,#8338ec); box-shadow:0 10px 20px -8px #ff006e66; font-size:14px; font-weight:700; }.ps-primary:not(:disabled):hover { transform:translateY(-1px); filter:brightness(1.08); }.ps-secondary:not(:disabled):hover { background:#ffffff14; }.ps-text-button { border:0; background:none; color:#9ca3af; text-decoration:underline; font-size:11px; }
#sg-personal button { cursor:pointer; }#sg-personal button:disabled { cursor:default; opacity:.45; }#sg-personal button:focus-visible,#sg-personal summary:focus-visible { outline:2px solid #31e1e7; outline-offset:3px; }
.ps-summary { position:sticky; top:min(calc(var(--sg-header-height,80px) + var(--sg-workbench-height,62px) + 24px),calc(100dvh - var(--ps-summary-height,620px) - 24px)); min-width:0; padding:24px; }.ps-summary>header { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-bottom:16px; border-bottom:1px solid #ffffff1a; }.ps-summary h3 { margin:0; font:700 16px/1.4 var(--v28-display); }.ps-summary header p { margin:5px 0 0; color:#6b7280; font-size:11px; }#ps-completed,.ps-flow .is-done { color:#6ee7b7; }#ps-pending,.ps-flow .is-pending { color:#fcd34d; }.ps-summary header button { flex-shrink:0; width:32px; height:32px; border:0; border-radius:8px; background:none; color:#9ca3af; font-size:20px; }
.ps-summary-row { display:grid; grid-template-columns:14px minmax(52px,.75fr) minmax(0,1fr) auto; align-items:center; gap:7px; width:100%; min-width:0; padding:14px 0; border:0; border-bottom:1px solid #ffffff12; background:none; color:#9ca3af; text-align:left; font-size:12px; }.ps-summary-row:last-child { border-bottom:0; }.ps-summary-row strong,.ps-summary-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.ps-summary-row strong { color:#f3f4f6; font-size:12px; font-weight:700; }.ps-summary-row small { padding:4px 7px; border:1px solid #ffffff1a; background:#ffffff08; border-radius:999px; font-size:9px; font-weight:700; white-space:nowrap; }.ps-summary-dot { font-size:12px; color:#fcd34d; }
#sg-personal .pc-families { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }#sg-personal .pc-family-choose,#sg-personal .pc-families>button { display:grid; grid-template-columns:26px minmax(0,1fr); grid-template-rows:1fr 1fr; align-content:center; gap:0 10px; min-height:72px; padding:12px; }#sg-personal .pc-family-choose>.sg-fa,#sg-personal .pc-families>button>.sg-fa { grid-row:1/3; align-self:center; font-size:19px; }#sg-personal .pc-family strong { padding-right:30px; font-size:13px; }#sg-personal .pc-family small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding-right:30px; font-size:10px; }#sg-personal .pc-preview { top:20px; right:12px; width:32px; height:32px; border-radius:8px; background:linear-gradient(135deg,#ff006e,#8338ec); }#sg-personal .pc-preview>.sg-fa { color:white; font-size:12px; }#sg-personal .pc-styles>.pc-row { align-items:flex-start; }#sg-personal .pc-style-selection { justify-content:flex-end; }#sg-personal .pc-style-selection .sg-chip { font-size:11px; }
.ps-sound-preferences { margin:0; }#ps-tempo-host>.pc-card { margin:0; }#ps-energy { width:100%; height:6px; margin:20px 0; accent-color:#ff006e; }#ps-energy-value { color:#ff5c9b; font-size:12px; }#ps-curve-details>summary { color:#d1d5db; cursor:pointer; font-size:12px; }#ps-curve-host { margin-top:16px; }#ps-curve-host>.pc-card { padding:16px; }
.ps-narrative { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }.ps-narrative .ps-card { padding:14px; }.ps-narrative strong { font-size:12px; }.ps-narrative p { margin:4px 0 0; color:#9ca3af; font-size:12px; line-height:1.4; }
.ps-review-data { border:1px solid #ffffff1a; border-radius:16px; padding:8px 16px; background:#ffffff05; }.ps-review-data>header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:8px 0 12px; font-size:12px; border-bottom:1px solid #ffffff1a; }.ps-review-data header small { color:#9ca3af; font-size:11px; }.ps-review-row { display:grid; grid-template-columns:minmax(90px,.8fr) minmax(0,1.6fr); align-items:center; gap:16px; padding:14px 8px; border-bottom:1px solid #ffffff1a; }.ps-review-row:last-child { border:0; }.ps-review-label { color:#9ca3af; font-size:13px; }.ps-review-control { display:grid; gap:8px; min-width:0; }.ps-review-control>.ps-field>label,.ps-review-control>.ps-field>span[data-i18n] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }.ps-review-control>strong,.ps-style-review { color:#e5e7eb; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }.ps-style-review { background:none; border:0; padding:0; text-align:left; }.ps-review-control details>summary { padding:6px 0; cursor:pointer; color:#d1d5db; font-size:12px; }.ps-review-control details .ps-field { margin-top:12px; }#sg-personal .ps-review-control input:not([type=range]),#sg-personal .ps-review-control select { min-height:42px; padding-top:8px; padding-bottom:8px; font-size:13px; }.ps-field>label { display:block; }
.ps-ai-card { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; border-color:#ff006e4d; }.ps-ai-card strong { font-size:14px; }.ps-ai-card p { margin:4px 0 0; color:#9ca3af; font-size:12px; line-height:1.5; }.ps-ai-card .ps-primary { min-height:44px; padding:10px 20px; font-size:12px; }.ps-status,.ps-stale { margin:0; padding:14px; border:1px solid #ff006e66; border-radius:12px; background:#ff006e14; color:#fbcfe8; font-size:13px; line-height:1.5; }.ps-stale { border-color:#fbbf2440; background:#fbbf2410; color:#fcd34d; }
.ps-variants { display:grid; gap:12px; }.ps-variants>strong { color:#d1d5db; font-size:11px; text-transform:uppercase; letter-spacing:.025em; }.ps-variants .pc-segments { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:6px; border-radius:16px; }.ps-variants .pc-segments button { min-height:44px; font-size:14px; border-radius:12px; }
.ps-drafts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }.ps-draft-card { display:flex; flex-direction:column; gap:14px; padding:20px; min-width:0; border:1px solid #ffffff1a; border-radius:16px; background:#ffffff06; }.ps-draft-card.is-selected { border-color:#ff006e; background:#ff006e14; box-shadow:0 0 0 1px #ff006e66; }.ps-draft-card>header { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:8px; }.ps-draft-select { display:flex; align-items:center; gap:10px; min-width:0; padding:0; border:0; background:none; color:#f3f4f6; text-align:left; }.ps-draft-select strong { min-width:0; overflow-wrap:anywhere; font-size:14px; line-height:1.5; }.ps-draft-check { display:grid; place-items:center; flex-shrink:0; width:20px; height:20px; border:1px solid #ffffff4d; border-radius:50%; color:white; font-size:10px; }.is-selected .ps-draft-check { border-color:#ff006e; background:#ff006e; }.ps-draft-badge { padding:4px 9px; border:1px solid #ffffff1a; border-radius:999px; color:#9ca3af; font-size:10px; font-weight:700; }.is-selected .ps-draft-badge { color:#6ee7b7; background:#10b98126; border-color:#34d3994d; }
#sg-personal .ps-draft-card textarea { flex:1; min-height:300px; font-size:12px; line-height:1.65; padding:14px; background:#0006; }.ps-draft-card>footer { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; color:#9ca3af; font-size:10px; }.ps-draft-card footer button { border:0; background:none; color:#f9a8d4; padding:0; font-size:12px; }.ps-draft-card [data-ps-draft-meta] { overflow-wrap:anywhere; }
.ps-eyebrow { display:block; margin-bottom:4px; font-size:11px; font-weight:600; color:#9ca3af; text-transform:uppercase; letter-spacing:.04em; }.ps-final-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:16px 0 20px; }.ps-final-summary>button { display:grid; gap:7px; padding:16px; min-width:0; border:1px solid #ffffff1a; border-radius:16px; background:#ffffff08; color:#e5e7eb; text-align:left; }.ps-final-summary small { font-size:10px; text-transform:uppercase; color:#9ca3af; }.ps-final-summary strong { font-size:13px; overflow-wrap:anywhere; }.ps-final-summary span { font-size:11px; line-height:1.5; color:#9ca3af; overflow-wrap:anywhere; }
.ps-direction>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; list-style:none; cursor:pointer; font-size:14px; }.ps-direction summary small { color:#9ca3af; font-size:11px; }.ps-direction>.pc-row { margin-top:16px; }.ps-direction textarea { margin-top:14px!important; }.ps-direction .ps-secondary { min-height:32px; padding:6px 10px; font-size:11px; }.ps-produce { text-align:right; }.ps-produce p { margin:0 0 10px; color:#9ca3af; font-size:12px; }#ps-anchor-audit ul { padding-left:18px; margin-bottom:0; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }#ps-anchor-audit .ps-secondary { min-height:34px; padding:6px 10px; font-size:11px; }
.sg-fa[data-sg-icon=calendar]::before { content:'\f274'; }.sg-fa[data-sg-icon=anchor]::before { content:'\f13d'; }.sg-fa[data-sg-icon=lightbulb]::before { content:'\f0eb'; }.sg-fa[data-sg-icon=cheers]::before { content:'\f79f'; }.sg-fa[data-sg-icon=cake]::before { content:'\f1fd'; }.sg-fa[data-sg-icon=hand-heart]::before { content:'\f4be'; }.sg-fa[data-sg-icon=star]::before { content:'\f005'; }.sg-fa[data-sg-icon=smile]::before { content:'\f118'; }.sg-fa[data-sg-icon=hourglass]::before { content:'\f252'; }.sg-fa[data-sg-icon=sun]::before { content:'\f185'; }
@container sg-page (max-width:1000px) { .ps-panel { padding:24px; }.ps-summary { padding:20px; }.ps-options { gap:10px; }.ps-option { padding:12px; gap:8px; } }
@container sg-page (max-width:760px) { .sg-root[data-stage=personal] .sg-screen { padding:0 20px 60px; }.ps-grid { grid-template-columns:1fr; }.ps-summary { position:static; }.ps-stepper { padding:8px 12px; gap:10px; }.ps-stepper ol { padding-left:10px; gap:4px; }.ps-stepper button { font-size:11px; padding:5px 8px; }.ps-step-count { font-size:10px; padding:5px 7px; }.ps-options { grid-template-columns:repeat(2,minmax(0,1fr)); }.ps-panel { padding:20px; }.ps-panel>header h2 { font-size:22px; }.ps-footer .ps-primary { margin-left:auto; }.ps-review-row { grid-template-columns:80px minmax(0,1fr); gap:12px; }.ps-summary-row { grid-template-columns:14px 85px minmax(0,1fr) auto; } }
@container sg-page (max-width:440px) { .ps-two-fields,.ps-narrative,.ps-anchors,.ps-drafts,.ps-final-summary { grid-template-columns:1fr; }.ps-option strong { font-size:12px; }.ps-option { gap:7px; padding:10px; }.ps-radio { width:17px; height:17px; }.ps-primary { font-size:12px; padding:12px 16px; }.ps-summary-row { grid-template-columns:14px 68px minmax(0,1fr) auto; }.ps-panel { padding:16px; }.ps-review-row .ps-options { grid-template-columns:1fr; }.ps-produce { width:100%; }.ps-produce>.ps-primary { width:100%; }#sg-personal .pc-family-choose,#sg-personal .pc-families>button { grid-template-columns:20px minmax(0,1fr); padding:10px; }#sg-personal .pc-family small { display:none; }#sg-personal .pc-family strong { font-size:12px; padding-right:24px; }#sg-personal .pc-preview { right:7px; width:26px; height:26px; } }

.sg-root[data-stage=personal] .sg-mode-badge { border-color:#b22de366; background:#b22de326; color:#e9a8fc; }
.ps-summary-row small.is-done { background:#10b98126; border-color:#34d3994d; }.ps-summary-row small.is-pending { background:#fbbf2410; border-color:#fbbf2426; }

#sg-personal #pc-style-search,#sg-personal label[for=pc-style-search],#sg-personal .pc-custom-style { display:none; }

.ps-flow .ps-over-limit { color:#fb7185; }#sg-personal .ps-draft-card textarea[aria-invalid=true] { border-color:#fb7185; }

#sg-personal .pc-preview .sg-fa::before { content:"\f04b"; }#sg-personal .pc-families>[data-sg-action=custom-all-styles]>.sg-fa::before { content:"\f00a"; }
