html[data-expert="1"],html[data-expert="1"] body{height:auto;min-height:100%;overflow:auto}
html[data-expert="1"] body{min-width:0}
html[data-expert="1"]:not([data-expert-ready="1"]) .side-nav,html[data-expert="1"]:not([data-expert-ready="1"]) .app-shell{display:none!important}
html[data-expert="1"] .side-nav[hidden],html[data-expert="1"] .app-shell[hidden]{display:none!important}
html[data-expert="1"] .app-shell{height:auto;min-height:100vh;overflow:visible}
html[data-expert="1"] .detail-view,html[data-expert="1"] .list-view,html[data-expert="1"] .knowledge-view,html[data-expert="1"] .finance-view{overflow:visible}
html[data-expert="1"] .expert-only{display:none}
html[data-expert="1"] .expert-login{min-height:100vh;display:grid;place-items:center;box-sizing:border-box;padding:24px;background:#f8fafc}
html[data-expert="1"] .expert-login .panel{width:min(100%,380px);padding:28px;border:1px solid #e7e9f1;border-radius:8px;background:#fff}
html[data-expert="1"] .expert-login label{display:grid;gap:7px;margin:12px 0}
html[data-expert="1"] .expert-login input{width:100%;min-height:44px}
html[data-expert="1"] .expert-login button[type=submit]{min-height:44px}
html[data-expert="1"] .expert-password-field{position:relative}
html[data-expert="1"] .expert-password-field input{padding-right:94px}
html[data-expert="1"] .expert-password-field [data-action=show-password]{position:absolute;right:2px;bottom:2px;min-width:88px;min-height:44px}
html[data-expert="1"] .expert-page-content{padding:20px 24px}
html[data-expert="1"] #modelsView.models-view{padding:0}
html[data-expert="1"] #modelsView > .expert-page-content{padding:20px 0}
html[data-expert="1"] #skill-upload{margin-bottom:24px}
html[data-expert="1"] .expert-page-content .row{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #e7e9f1}
html[data-expert="1"] .expert-page-content .row-main{flex:1;min-width:0}
html[data-expert="1"] .expert-page-content .row-main p{margin:4px 0;color:#687386}
html[data-expert="1"] .expert-page-content .panel{padding:18px;margin:14px 0;background:#fff;border:1px solid #e7e9f1}
html[data-expert="1"] #expertEvaluation .panel{padding:18px;margin:14px 0;background:#fff;border:1px solid #e7e9f1}
html[data-expert="1"] #expertEvaluation form{display:grid;gap:12px}
html[data-expert="1"] #expertEvaluation form label{display:grid;gap:6px}
html[data-expert="1"] .expert-page-content form{display:grid;gap:12px}
html[data-expert="1"] .expert-page-content form label{display:grid;gap:6px}
html[data-expert="1"] .expert-page-content form > button[type=submit],html[data-expert="1"] #expertEvaluation form > button[type=submit],html[data-expert="1"] #modal form > button[type=submit]{justify-self:start;width:max-content;min-width:120px;min-height:44px}
html[data-expert="1"] .expert-page-content .form-error:empty,html[data-expert="1"] #expertEvaluation .form-error:empty,html[data-expert="1"] #modal .form-error:empty,html[data-expert="1"] .expert-login .form-error:empty{display:none}
html[data-expert="1"] [hidden]{display:none!important}
html[data-expert="1"] .expert-page-content .form-error{color:#b63b43}
html[data-expert="1"] .expert-page-content .notice{padding:12px;background:#f7f8fc;color:#5d6879}
html[data-expert="1"] #modal{width:min(92vw,640px);max-height:85vh;padding:22px;border:1px solid #e7e9f1;border-radius:8px;box-shadow:0 18px 60px #20263330;overflow:auto}
html[data-expert="1"] #modal::backdrop{background:#20263380}
html[data-expert="1"] #modal form{display:grid;gap:12px}
html[data-expert="1"] #modal label{display:grid;gap:7px}
html[data-expert="1"] #modal .btn{height:34px;padding:0 16px;border:1px solid #dfe3ee;border-radius:6px;background:#fff;color:#283044;font-size:14px;font-weight:600}
html[data-expert="1"] .agent-card-mark{width:58px;height:58px;display:grid;place-items:center;border-radius:12px;background:#eef1ed;color:#b93f0b;font-size:22px;font-weight:700}
html[data-expert="1"] .agent-card{cursor:pointer}
@media(max-width:780px){
 html[data-expert="1"] .side-nav{position:static;width:100%;height:auto;padding:10px 12px;display:flex;align-items:center;gap:12px;overflow-x:auto}
 html[data-expert="1"] .side-nav .logo{flex:none}
 html[data-expert="1"] .side-nav .side-item{flex:none;width:auto;min-width:max-content;height:36px;margin:0;padding:0 12px}
 html[data-expert="1"] .app-shell{margin-left:0;min-height:calc(100vh - 80px);padding:16px}
 html[data-expert="1"] .creator-layout{display:block;overflow:visible}
 html[data-expert="1"] .prompt-column,html[data-expert="1"] .config-column,html[data-expert="1"] .preview-column{min-height:0;max-height:none;overflow:visible}
 html[data-expert="1"] .agent-page-tabs,html[data-expert="1"] .config-tabs{gap:12px;overflow-x:auto}
 html[data-expert="1"] .agent-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:590px){html[data-expert="1"] .agent-card-grid{grid-template-columns:1fr}html[data-expert="1"] .app-shell{padding:12px}html[data-expert="1"] .agent-header{display:block}}
