/* Private profile surface only; original lab/discovery/social styles stay frozen. */
:root{font-family:"Manrope",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f7f4f1;background:#171717;line-height:1.65;--ink:#f7f4f1;--muted:#c8c1c6;--accent:#ec61b0;--accent-strong:#f5acd9;--surface:#222;--border:#484248;--mint:#92eee7;--lilac:#c3afff;--pink:#f5acd9;--chromatic:linear-gradient(120deg,#92eee7,#c3afff 52%,#f5acd9)}
.profile-shell{max-width:1280px;margin:auto;padding:2.5rem 2rem;color:var(--ink)}
.profile-shell h1,.profile-shell h2,.profile-shell h3,.profile-shell h4,.brand{font-family:"Space Grotesk","Manrope",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.brand small{font-size:.72em;font-weight:500}.brand-mark{border-radius:7px}.site-header{padding-inline:2rem}.local-badge{max-width:28rem}
.profile-intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(350px,1fr);gap:3rem;align-items:start}.profile-story{min-width:0;animation:hero-enter 350ms ease-out}
.profile-intro h1{font-size:clamp(2.5rem,5vw,4rem);line-height:1.05;letter-spacing:-.045em;margin:1rem 0 1.5rem}.profile-story>p{max-width:62ch;margin:1rem 0}.profile-intro .intro-copy{font-size:1.1rem;max-width:62ch;color:var(--muted)}
.profile-notice{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1rem 1.2rem;margin:1.4rem 0}.profile-notice p{margin:.7rem 0 0;font-size:.94rem;color:var(--muted)}
.profile-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.2rem 0}.profile-shell .button,dialog .button{min-height:44px;white-space:normal;line-height:1.4;text-align:center;transition:background-color 160ms ease,border-color 160ms ease,transform 160ms ease,box-shadow 160ms ease}
.profile-shell .button.primary,dialog .button.primary{background:#ec61b0;border-color:#ec61b0;color:#171717}.profile-shell .button.primary:hover,dialog .button.primary:hover{background:#f5acd9;border-color:#f5acd9}
.profile-shell .button.secondary,dialog .button.secondary{background:#222;border-color:#9e929c;color:#f7f4f1}.profile-shell .button.secondary:hover,dialog .button.secondary:hover{background:#323032;border-color:#c3afff}
.profile-shell .button:not(:disabled):hover,dialog .button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 3px 0 #c3afff}.profile-shell .button:not(:disabled):active,dialog .button:not(:disabled):active{transform:none;box-shadow:none}
.profile-shell button:disabled{opacity:.65;cursor:not-allowed}.profile-field{display:flex;flex-direction:column;gap:.5rem;max-width:720px;font-size:1rem;font-weight:600;margin:1.3rem 0;min-width:0}
.profile-field input,.profile-field select,.profile-field textarea,.entry-value{font:inherit;font-weight:400;line-height:1.6;width:100%;min-width:0;min-height:48px;color:#f7f4f1;background:#171717;border:1px solid #9e929c;border-radius:8px;padding:.75rem;color-scheme:dark}.profile-field textarea,.entry-value{resize:vertical}.profile-field :is(textarea,input)::placeholder{color:#c8c1c6;opacity:1}
.profile-check{display:flex;align-items:flex-start;gap:.6rem;max-width:740px;min-height:44px;line-height:1.6;margin:.5rem 0;padding:.4rem 0}.profile-check input{flex-shrink:0;width:20px;height:20px;accent-color:#ec61b0;margin-top:.2rem;color-scheme:dark}
.profile-status{color:#f5acd9;min-height:1.5em}.profile-shell section[data-profile-view]{border-top:1px solid var(--border);padding-top:1.8rem;margin:2rem 0}.profile-shell h2{font-size:1.8rem;letter-spacing:-.025em}.profile-shell h3{margin-bottom:.7rem}.profile-card,.profile-entry{background:#222;border:1px solid var(--border);border-radius:12px;padding:1.2rem;margin:1rem 0}.profile-entry h4{font-size:1rem;margin:0}.profile-entry .field-hint{margin:.6rem 0}.entry-value{margin:.6rem 0}.profile-group{margin:2rem 0}.entry-warning,#exportError{color:#ffb5bf;line-height:1.6}.entry-source{font-size:.85rem;color:var(--muted)}.profile-shell .field-hint{color:var(--muted);font-size:.85rem}
.profile-entry:has([data-choice=approve]:checked){border-color:#f5acd9;box-shadow:inset 4px 0 0 #f5acd9}.profile-entry:has([data-choice=private]:checked){border-color:#c3afff;box-shadow:inset 4px 0 0 #c3afff}
.profile-export{border-top:1px solid var(--border);padding-top:1.2rem;margin-top:2rem}#profilePreview{white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:32rem;font:.9rem/1.65 ui-monospace,monospace;background:#171717;border:1px solid #9e929c;border-radius:8px;padding:1rem}.profile-footer{border-top:1px solid var(--border);margin:2rem 0;padding-top:1.2rem;font-size:.9rem;color:var(--muted)}.profile-footer details{margin:1rem 0}.profile-footer summary,#paidConcept summary{min-height:44px;cursor:pointer}.profile-footer a{color:#f5acd9;text-underline-offset:4px}
.profile-shell :is(button,input,select,textarea,a,summary,pre):focus-visible,dialog :is(button,input,select,textarea):focus-visible{outline:3px solid #c3afff;outline-offset:3px}.profile-shell [tabindex="-1"]:focus{outline:2px solid #c3afff;outline-offset:4px}.skip-link{color:#171717;background:#f5acd9}#nextView{border-top:1px solid var(--border);margin-top:2rem;padding-top:1.5rem}#saveCopyExample{border-style:dashed}#copyBuild{overflow-wrap:anywhere}dialog{background:#222;color:#f7f4f1;border-color:#9e929c}dialog::backdrop{background:#0009}dialog p{color:#c8c1c6}
.product-preview{position:sticky;top:2rem;margin-top:1.3rem;border:1px solid #9e929c;border-top:3px solid #f5acd9;border-radius:18px;background:#222;padding:1.5rem;box-shadow:5px 5px 0 #c3afff;min-width:0}.product-preview h2{font-size:1.8rem;margin:.7rem 0}.product-preview>p{font-size:1rem}.product-preview .eyebrow{font-size:.7rem;letter-spacing:.08em;color:#f5acd9}.product-preview>.field-hint{font-size:.85rem;margin:1rem 0}.product-preview>.button{width:100%}
.sample-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;margin:1.3rem 0 .6rem}.sample-stages button{min-height:48px;min-width:0;font-size:.85rem;line-height:1.3;border:1px solid #9e929c;border-radius:7px;background:#171717;padding:.6rem .25rem;color:#f7f4f1;transition:background-color 160ms ease}.sample-stages button[aria-pressed="true"]{color:#171717;background:#f5acd9;border-color:#f5acd9;font-weight:700}.sample-stages button:hover{border-color:#f5acd9}
.sample-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;margin:.7rem 0}.sample-progress span{height:3px;background:#484248}.sample-progress span[data-active="true"]{background:#c3afff}.sample-count{display:inline-block;color:#171717;background:#f5acd9;border-radius:99px;padding:.2rem .55rem;font-size:.75rem!important;font-weight:700;margin:.5rem 0 1rem}.sample-stage{min-height:375px;animation:stage-enter 220ms ease-out}.sample-stage .profile-field{font-size:1rem;margin:.5rem 0 1rem}.sample-stage h3{font-size:1.15rem}.sample-stage p{overflow-wrap:anywhere}.sample-label{font-size:.85rem;color:#c8c1c6;margin:1rem 0 .3rem;font-weight:600}.sample-fields{padding:0;margin:1.1rem 0}.sample-fields legend{font-size:.85rem;font-weight:650}.sample-fields .profile-check{font-size:.9rem;border-bottom:1px solid var(--border)}.sample-output{padding:1rem;background:#171717;border:1px solid var(--border);border-radius:10px;min-height:220px}#sampleText{font:1rem/1.65 "Manrope",Inter,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.profile-shell section[data-profile-view]:not([hidden]){animation:stage-enter 220ms ease-out}@keyframes hero-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes stage-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:900px){.profile-intro{grid-template-columns:1fr;gap:1.5rem}.product-preview{position:static;max-width:620px;margin:0 5px 1.5rem 0}.profile-intro h1{font-size:clamp(2.3rem,7vw,3.5rem)}}
@media(max-width:600px){.profile-shell{padding:1.5rem 1rem}.site-header{padding:1rem;align-items:flex-start;gap:1rem}.local-badge{font-size:.75rem}.profile-actions .button{flex:1 1 100%}.profile-entry,.profile-card,.profile-notice{padding:1rem}.profile-intro h1{font-size:2.5rem}.profile-field{max-width:100%}.profile-shell h2{font-size:1.65rem}.product-preview{padding:1rem}.sample-stage{min-height:425px}.sample-stages button{font-size:.8rem}#sampleText{font-size:1rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important;transform:none!important}}
/* Preserve reading and navigation when text/zoom leaves very narrow inline space. */
.brand>span:last-child{min-width:0;white-space:normal}.profile-shell :is(h1,h2,h3,h4){overflow-wrap:anywhere}.profile-intro,.profile-story,.profile-notice,.sample-stage{min-width:0}
