/* A shared visual language for the gated customer workspace and UX preview. */
:root{font-family:'Noto Sans KR','Malgun Gothic',system-ui,sans-serif;color:#22233b;background:#f6f6fa}
main{max-width:1440px;padding:26px 36px 60px}
header{background:#17182e;color:#eae9fa;border:0;border-radius:17px;padding:22px 28px;gap:20px}
header .brand{color:white;letter-spacing:-.05em}
header span{color:#b9b9d1;font-size:13px}header button{background:#302c55;color:white;border:1px solid #4d466a}
#status{background:#edeafd;border:1px solid #ded7fa;color:#564988;margin:25px 0 0;font-size:13px;line-height:1.65}
.toolbar{background:white;border:1px solid #e8e6f2;padding:20px 24px;border-radius:17px;margin:20px 0}
.toolbar label{font-size:12px}.toolbar select{margin-top:9px}.toolbar #role{background:#f1eeff;padding:8px 12px;border-radius:999px;color:#6757b4;font-weight:700;font-size:12px}
.toolbar #new{margin-left:auto;color:#fff;background:#6853d6;border:0}
.columns{grid-template-columns:270px minmax(0,1fr);gap:20px}.columns>nav,.columns>section{border:1px solid #eae9f1;border-radius:20px;padding:27px;box-shadow:0 12px 36px #25274806}
.columns>nav h2{margin-top:0}.columns>nav{align-self:start}#studies button{font-size:13px;text-align:left;background:#f9f8fe}
.research-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px}.research-head h2{font-size:26px;margin:0}
.eyebrow{font-size:10px;color:#6c57dc;letter-spacing:.17em;font-weight:800;margin:0 0 9px}.draft-badge{font-size:11px;white-space:nowrap;border-radius:999px;padding:8px 12px;background:#fff6e4;color:#926e27;font-weight:800}
#version{font-size:12px;color:#8e8ba2;margin:6px 0}
.research-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 24px}
.research-steps button{padding:14px 10px;border:1px solid #e4e2ee;text-align:left;font-size:12px;font-weight:800;color:#7f7e95}
.research-steps button[aria-selected="true"]{border-color:#afa4f1;background:#f3f0ff;color:#5542b1}
.research-steps small{display:block;font-size:10px;font-weight:500;margin-top:5px;color:#aba8ba}
.storage-notice{border:1px solid #f0deb9;background:#fff9ed;color:#8a6b35;font-size:12px;padding:15px 16px;line-height:1.8;border-radius:12px;margin-bottom:19px}
.storage-notice.actual{background:#f6f4ff;border-color:#e4dfff;color:#6e639e}
#study-form textarea{min-height:80px}#study-form label{font-size:13px}
#ux-sandbox section h3{font-size:22px;margin:12px 0 8px}#ux-sandbox section>p{font-size:13px;color:#928fa3}
#ux-sandbox button{font-size:13px}#ux-sandbox input,#ux-sandbox textarea,#ux-sandbox select{margin:8px 0 12px}#ux-sandbox label{font-size:13px}
.ux-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}
.ux-age-bands{display:flex;flex-wrap:wrap;gap:6px 17px;border:1px solid #ebe7f5;border-radius:12px;padding:15px 16px;margin:8px 0 15px}
.ux-age-bands legend{font-size:12px;font-weight:800;color:#696180;padding:0 6px}
.ux-age-bands label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px!important}
.ux-age-bands input{margin:0!important;accent-color:#6853d6;width:15px;height:15px}
.ux-footnote{font-size:12px;color:#928fa3;margin-top:20px;line-height:1.7}
#ux-audience-feedback{font-weight:700;font-size:13px;color:#3f8e78}#ux-audience-feedback[data-error="true"]{color:#bc5c61}
.ux-persona-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}
.ux-persona-grid:empty{display:none}
.ux-persona-card{min-width:0;padding:17px;text-align:left;background:#fff;min-height:130px;overflow-wrap:anywhere}
.ux-persona-card[aria-pressed="true"]{border-color:#8a78df;background:#f8f6ff}.ux-persona-card strong{display:block;font-size:13px}.ux-persona-card span{display:block;margin-top:12px;color:#9592a9;font-size:11px;line-height:1.6}
.ux-persona-card.stored{min-height:88px;background:#f8f9fd;border-color:#dae0ea}
.ux-stored-detail{margin-top:12px;padding:17px;border:1px solid #e1e5ef;background:#fafbfe;border-radius:14px}
#ux-sandbox #ai-pilot-wording-unavailable{color:#55516f}
#ai-pilot-results{margin:12px 0;padding-inline-start:1.5em;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
#ai-pilot-results:empty{display:none}
#ai-pilot-results>li{margin-block:10px;padding:12px;border:1px solid #e1e5ef;border-radius:10px;background:#fff}
#ai-pilot-results h4{margin:0;font-size:15px}
#ai-pilot-results p{margin:5px 0 0;color:#55516f;font-size:13px}
#ai-pilot-results ul{margin:8px 0;padding:0;list-style:none}
#ai-pilot-results ul>li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-top:1px solid #ebe7f5}
#ai-pilot-results ul strong{flex-shrink:0;font-variant-numeric:tabular-nums}
.ux-profile-detail{display:grid;grid-template-columns:160px minmax(0,1fr);gap:10px;margin:10px 0 0;font-size:12px}
.ux-profile-detail dt{font-weight:800;color:#74718b}
.ux-profile-detail dd{margin:0;overflow-wrap:anywhere;color:#393750}
#ux-persona-editor{border-top:1px solid #ece9f3;margin-top:20px;padding-top:20px}
.ux-stored-panel,.ux-demo-head,.ux-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.ux-stored-panel{padding:18px;border-radius:14px;background:#f4f5fa;border:1px solid #e1e4ee;margin:19px 0 23px}
.ux-stored-panel strong,.ux-demo-head strong,.ux-editor-head strong{font-size:14px;color:#35324e}
.ux-stored-panel p,.ux-demo-head p{font-size:12px;line-height:1.7;color:#838298;margin:7px 0 0}
.ux-demo-head{align-items:center;margin-bottom:13px}
.ux-state{flex-shrink:0;display:inline-flex;border-radius:999px;background:#e7e9f0;color:#71768c;padding:6px 10px;font-size:10px;font-weight:800}
.ux-state.demo{background:#fff0df;color:#936a2d}
.ux-editor-head{align-items:center;margin:0 0 15px}
.ux-editor-head span:not(.ux-state){font-size:11px;color:#94869b}
.ux-form-help{font-size:12px;color:#8d8ba0;line-height:1.8}
.ux-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#ux-persona-editor textarea{min-height:65px}
#ux-persona-validation,#ux-question-feedback{font-size:12px;line-height:1.75;color:#36866e}
#ux-persona-validation[data-error="true"],#ux-question-feedback[data-error="true"]{color:#b14e5c}
.ux-question-list{margin:16px 0;padding:13px;background:#f8f7fc;border:1px solid #ece8f4;border-radius:12px;color:#85829a;font-size:12px}
.ux-question-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid #e9e5f0;padding:7px 0}
.ux-question-row:last-child{border-bottom:0}
.ux-question-row p{flex:1;overflow-wrap:anywhere;color:#55516f;line-height:1.7}
.ux-question-row button{flex-shrink:0}
.ux-stored-questions{margin:12px 0 0;padding-left:22px;font-size:12px;line-height:1.8;color:#504a70}
.ux-stored-questions li{padding:5px 0;overflow-wrap:anywhere}
#ux-add-question{background:#6853d6;color:#fff;border:0}
#ux-cancel-question{margin-left:8px}
.ux-modes{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 20px}.ux-modes button[aria-selected="true"]{background:#6853d6;color:#fff;border-color:#6853d6}
.ux-chat{min-height:190px;border:1px solid #e8e5f2;background:#f9f8ff;padding:16px;border-radius:14px;font-size:12px;color:#8f8ca5;line-height:1.7}
.ux-bubble{max-width:87%;padding:12px;border-radius:12px;clear:both;overflow-wrap:anywhere;margin:8px 0}.ux-bubble.question{background:#6e59d6;color:white;margin-left:auto}.ux-bubble.reply{background:white;border:1px solid #e6e3f1;color:#575270;margin-right:auto}
#ux-send-turn,#ux-load-personas{background:#6853d6;color:white;border:0}
[hidden]{display:none!important}
@media(max-width:1050px){.columns{grid-template-columns:1fr}.research-steps button{padding:12px 8px}}
@media(max-width:640px){main{padding:15px}.columns>nav,.columns>section{padding:19px}.toolbar{padding:15px}.research-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-grid,.ux-persona-grid,.ux-evidence-grid{grid-template-columns:1fr}.ux-profile-detail{grid-template-columns:1fr;gap:4px}.ux-profile-detail dd{margin-bottom:9px}.ux-stored-panel,.ux-demo-head,.ux-editor-head{flex-wrap:wrap}.toolbar #new{margin-left:0}.research-head h2{font-size:22px}header{padding:18px}}
