/* Shared market visual layer; retain all existing studio interaction hooks. */
body.pg_hl_aigen #wp{width:100%;max-width:none;min-width:0;overflow-x:clip}
body.pg_hl_aigen .topbar,body.pg_hl_aigen .studio-nav,body.pg_hl_aigen .workbench,body.pg_hl_aigen .studio-panel{box-sizing:border-box}
body.pg_hl_aigen .topbar{width:calc(100% - 40px);max-width:1200px!important;margin:20px auto 12px;min-height:68px;padding:12px 20px;border-radius:16px;position:relative;top:auto}
body.pg_hl_aigen .studio-nav{width:calc(100% - 40px);max-width:1200px;margin:0 auto 24px;padding:0 12px;border:1px solid #dce7f4;border-radius:16px;min-height:58px;justify-content:space-between;gap:4px}
body.pg_hl_aigen .studio-nav-btn{min-height:58px;padding:0 14px;font-size:14px;flex-shrink:0}
body.pg_hl_aigen .workbench{width:100%;max-width:1240px!important;margin:0 auto;padding:0 20px 32px;display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:18px;align-items:start}
body.pg_hl_aigen .studio-welcome{min-width:0;min-height:0;margin:0;padding:24px;overflow:hidden;border:1px solid #dce7f4;border-radius:18px;box-shadow:none;gap:24px}
body.pg_hl_aigen .studio-welcome:after{display:none}
body.pg_hl_aigen .studio-welcome:before{content:"";position:absolute;inset:0;width:auto;height:auto;transform:none;border:0;border-radius:inherit;box-shadow:none;z-index:-1}
body.pg_hl_aigen .studio-welcome>div:first-child{min-width:0;flex:1}
body.pg_hl_aigen .studio-welcome h1{font-size:28px;line-height:1.4;letter-spacing:-.5px;margin-top:8px}
body.pg_hl_aigen .studio-welcome p{font-size:15px;line-height:1.9;margin-top:14px}
body.pg_hl_aigen .studio-welcome .section-kicker{font-size:13px}
body.pg_hl_aigen .welcome-pills{min-width:280px;padding:10px;border-radius:14px;backdrop-filter:none}
body.pg_hl_aigen .welcome-pills span{font-size:12px;min-height:60px;padding:8px}
body.pg_hl_aigen .welcome-pills b{font-size:25px}
body.pg_hl_aigen .studio-flow-strip{padding:16px 20px;border-radius:16px}
body.pg_hl_aigen .studio-flow-strip strong{font-size:14px}
body.pg_hl_aigen .studio-flow-strip small{font-size:12px;line-height:1.6}
body.pg_hl_aigen .workbench-subnav{gap:14px}
body.pg_hl_aigen .mode-btn{min-height:64px;border-radius:12px;font-size:14px;grid-template-columns:36px 1fr;padding:10px 14px;gap:10px}
body.pg_hl_aigen .mode-btn svg{width:36px;height:36px;padding:9px;border-radius:10px}
body.pg_hl_aigen .studio-flow-help{grid-column:1/-1;min-width:0;padding:0 4px;color:#607995;font-size:13px}
body.pg_hl_aigen .studio-flow-help>summary{cursor:pointer;width:fit-content;padding:4px 0;line-height:1.6}
body.pg_hl_aigen .studio-flow-help>summary:focus-visible{outline:2px solid #1677ff;outline-offset:3px}
body.pg_hl_aigen .studio-flow-help[open]>.studio-flow-strip{margin-top:12px}
body.pg_hl_aigen .controls,body.pg_hl_aigen .stagecol{min-width:0;gap:22px}
body.pg_hl_aigen .hl-aigen-card{padding:20px;border-radius:19px}
body.pg_hl_aigen .hl-aigen-card-title{font-size:15px;letter-spacing:0}
body.pg_hl_aigen .hl-aigen-card-note{font-size:12px}
body.pg_hl_aigen .hl-aigen-stage-card:before{margin:-20px -20px 20px}
body.pg_hl_aigen .studio-panel{width:calc(100% - 40px);max-width:1200px!important;margin:0 auto 28px;padding:26px;border-radius:19px}
body.pg_hl_aigen:not(.is-dim){background:#fff}
body.pg_hl_aigen:not(.is-dim) #wp{background:linear-gradient(#f5f8fc,#f5f8fc) center/min(1240px,100%) 100% no-repeat;padding-bottom:16px}
body.pg_hl_aigen:not(.is-dim) .topbar{color:#203f60;border:1px solid #dce7f4;background:#fff;box-shadow:0 8px 24px rgba(39,77,126,.035)}
body.pg_hl_aigen:not(.is-dim) .topbar:after{display:none}
body.pg_hl_aigen:not(.is-dim) .brand-mark{color:#1677ff;background:#edf5ff;border-color:#cfe2fb;box-shadow:none}
body.pg_hl_aigen:not(.is-dim) .brand-text strong,body.pg_hl_aigen:not(.is-dim) .mp-name{color:#203f60}
body.pg_hl_aigen:not(.is-dim) .brand-text small,body.pg_hl_aigen:not(.is-dim) .mp-tag{color:#70849b}
body.pg_hl_aigen:not(.is-dim) .btn-top-action,body.pg_hl_aigen:not(.is-dim) .mp-btn,body.pg_hl_aigen:not(.is-dim) .conn{color:#536983;border-color:#dce7f4;background:#f5f8fc}
body.pg_hl_aigen:not(.is-dim) .mp-icon,body.pg_hl_aigen:not(.is-dim) .mp-caret{color:#2776da}
body.pg_hl_aigen:not(.is-dim) .btn-top-action:hover,body.pg_hl_aigen:not(.is-dim) .mp-btn:hover{color:#1767c5;background:#edf5ff;border-color:#bdd8fa}
body.pg_hl_aigen:not(.is-dim) .studio-nav{background:#fff;box-shadow:0 8px 24px rgba(39,77,126,.035)}
body.pg_hl_aigen:not(.is-dim) .studio-welcome{color:#183958;background:transparent}
body.pg_hl_aigen:not(.is-dim) .studio-welcome:before{background:radial-gradient(circle at 84% 8%,rgba(245,190,70,.18),transparent 28%),linear-gradient(120deg,#edf5ff 0%,#f7f9fd 55%,#fffaf0 100%);border-bottom:1px solid #dce7f4}
body.pg_hl_aigen:not(.is-dim) .studio-welcome h1{color:#183958}
body.pg_hl_aigen:not(.is-dim) .studio-welcome p{color:#607995}
body.pg_hl_aigen:not(.is-dim) .studio-welcome .section-kicker{color:#1767c5;border-color:#cfe2fb;background:#f5f9ff}
body.pg_hl_aigen:not(.is-dim) .welcome-pills{border:1px solid #dce7f4;background:#fff;box-shadow:0 10px 30px rgba(39,77,126,.045)}
body.pg_hl_aigen:not(.is-dim) .welcome-pills span{color:#70849b;border-color:#e1ebf8}
body.pg_hl_aigen:not(.is-dim) .welcome-pills b{color:#2169c7}
body.pg_hl_aigen:not(.is-dim) .hl-aigen-card,body.pg_hl_aigen:not(.is-dim) .studio-panel,body.pg_hl_aigen:not(.is-dim) .studio-flow-strip,body.pg_hl_aigen:not(.is-dim) .mode-btn{border-color:#dce7f4;background:#fff;box-shadow:0 8px 24px rgba(39,77,126,.035)}
body.pg_hl_aigen:not(.is-dim) .mode-btn.is-active{border-color:#8abaff;background:#edf5ff;box-shadow:0 0 0 2px rgba(22,119,255,.05)}
body.pg_hl_aigen:not(.is-dim) .mode-btn.is-active:before,body.pg_hl_aigen:not(.is-dim) .hl-aigen-stage-card:before,body.pg_hl_aigen:not(.is-dim) .studio-panel-head:after{background:linear-gradient(90deg,#1677ff,#88cfff)}
@media(max-width:1100px){
 body.pg_hl_aigen .studio-welcome{flex-direction:column;align-items:stretch;gap:24px}
 body.pg_hl_aigen .welcome-pills{width:100%;min-width:0}
 body.pg_hl_aigen .studio-nav{justify-content:flex-start;overflow-x:auto}
}
@media(max-width:980px){
 body.pg_hl_aigen .workbench{grid-template-columns:1fr}
 body.pg_hl_aigen .controls{position:static}
 body.pg_hl_aigen .studio-welcome h1{font-size:32px}
}
@media(max-width:780px){
 body.pg_hl_aigen .topbar{width:calc(100% - 32px);margin-top:16px;padding:14px;flex-wrap:wrap;gap:14px}
 body.pg_hl_aigen .topbar-right{width:100%;overflow:visible;flex-wrap:wrap}
 body.pg_hl_aigen .studio-nav{width:calc(100% - 32px);margin-bottom:20px;padding:0 8px}
 body.pg_hl_aigen .studio-nav-btn{font-size:13px;padding:0 12px;min-height:54px}
 body.pg_hl_aigen .workbench{padding:0 16px 24px;gap:18px}
 body.pg_hl_aigen .studio-welcome{margin:0;padding:20px 16px;text-align:left}
 body.pg_hl_aigen .studio-welcome h1{font-size:28px}
 body.pg_hl_aigen .studio-welcome p{font-size:14px}
 body.pg_hl_aigen .welcome-pills{padding:10px}
 body.pg_hl_aigen .welcome-pills span{font-size:12px;min-height:64px}
 body.pg_hl_aigen .welcome-pills b{font-size:22px}
 body.pg_hl_aigen .studio-flow-strip{padding:10px;gap:8px}
 body.pg_hl_aigen .studio-flow-strip strong{font-size:13px}
 body.pg_hl_aigen .studio-flow-strip small{font-size:11px}
 body.pg_hl_aigen .workbench-subnav{gap:10px}
 body.pg_hl_aigen .hl-aigen-card{padding:16px}
 body.pg_hl_aigen .hl-aigen-stage-card:before{margin:-16px -16px 16px}
 body.pg_hl_aigen .studio-panel{width:calc(100% - 32px);padding:20px 16px}
}
