body.agent-chat-page{--agent-base:#fff;--agent-ink:#151518;--agent-muted:#73737d;--agent-line:#18181b1b;--agent-surface:#ffffffed;--agent-soft:#f5f5f6;--agent-accent:#6b32d1;--agent-hover:#eee9f7;--agent-shadow:0 6px 22px #21122e08;background:var(--agent-base);color:var(--agent-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
body.agent-chat-page.platform-dark{--agent-base:#121214;--agent-ink:#f5f5f7;--agent-muted:#a2a0aa;--agent-line:#ffffff23;--agent-surface:#1c1c20ee;--agent-soft:#27272c;--agent-accent:#b58af7;--agent-hover:#342840;--agent-shadow:0 7px 24px #0002;color-scheme:dark}
body.agent-chat-page.agent-background-on{--agent-surface:#ffffffb3;--agent-soft:#ffffff7a}
body.agent-chat-page.agent-background-on.platform-dark{--agent-surface:#1d1b23b8;--agent-soft:#22212885}
.agent-chat-page button,.agent-chat-page input,.agent-chat-page textarea,.agent-chat-page select{font-family:inherit}
.agent-chat-page .platform-announcement{display:none!important}
.agent-chat-page .platform-header{top:0!important;height:55px;padding:0 20px;gap:13px;background:var(--agent-surface);border:0;color:var(--agent-ink);backdrop-filter:blur(20px);z-index:65}
.agent-chat-page .platform-brand strong{font-size:17px;color:var(--agent-ink)}
.agent-chat-page .platform-brand img{width:31px;height:31px;object-fit:contain}
.agent-chat-page .platform-layout-tag{font-size:10px;padding:5px 8px;border-color:var(--agent-line);color:var(--agent-muted)}
.agent-chat-page .platform-header-tools{gap:10px;color:var(--agent-muted)}
.agent-chat-page .platform-header-tools>a,.agent-chat-page .platform-header-tools>button:not(.platform-login){width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:7px;border-radius:9px;font-size:15px;color:var(--agent-muted);flex-shrink:0}
.agent-chat-page .platform-header-tools svg,.agent-sidebar-toggle svg{width:19px;height:19px}
.agent-chat-page .platform-header-tools .platform-guide-link{width:auto;font-size:11px;padding:6px 10px;border:0;background:transparent;color:var(--agent-muted)}
.agent-chat-page .platform-header-tools>.platform-console-entry{width:auto;min-width:76px;font-size:11px;padding:7px 10px;border:1px solid var(--agent-line);color:var(--agent-ink);background:var(--agent-soft)}
.agent-chat-page .platform-header-tools>button:hover,.agent-chat-page .platform-header-tools>a:hover{background:var(--agent-hover)}
.agent-chat-page .platform-header-tools .agent-top-button[aria-pressed=true]{color:var(--agent-accent);background:var(--agent-hover)}
.agent-chat-page .platform-preview{font-size:10px;background:var(--agent-hover);color:var(--agent-accent);padding:6px 9px}
.agent-chat-page .platform-login{height:31px;padding:7px 12px;border-radius:5px;font-size:11px;background:#6826c9;color:#fff}
.agent-chat-page .platform-header-tools #platform-unified-logout{width:auto;font-size:10px;padding:6px;color:var(--agent-muted)}
.agent-sidebar-toggle{display:flex;align-items:center;justify-content:center;width:30px;height:30px;color:var(--agent-muted);margin-left:20px;border-radius:7px}
.agent-chat-page .platform-sidebar{position:fixed;left:8px;top:64px!important;bottom:12px;width:287px;padding:8px 9px 0;border:1px solid var(--agent-line);border-radius:19px;background:var(--agent-surface);color:var(--agent-ink);box-shadow:none;backdrop-filter:blur(18px);z-index:51;transition:transform .25s,opacity .25s}
.agent-chat-page .platform-main-nav{gap:3px 6px;padding:0 2px 6px;border-bottom:0;grid-template-columns:repeat(5,1fr)}
.agent-chat-page .platform-main-nav a{border-radius:12px;gap:4px;min-height:49px;padding:6px 2px;color:var(--agent-muted)}
.agent-chat-page .platform-main-nav a b{font-size:10px;font-weight:500;white-space:nowrap}
.agent-chat-page .platform-main-nav a>span{font-size:18px;line-height:21px}
.agent-chat-page .platform-main-nav a.active{background:var(--agent-hover);border-color:#ac83f4;color:var(--agent-accent);box-shadow:0 2px 12px #7b41df1c}
.agent-chat-page .platform-main-nav a:nth-child(n+6){grid-column:auto;min-height:25px;border-radius:5px;display:flex;flex-direction:row;gap:5px;background:var(--agent-soft);padding:4px}
.agent-chat-page .platform-main-nav a:nth-child(6){grid-column:span 2}.agent-chat-page .platform-main-nav a:nth-child(7){grid-column:span 1}.agent-chat-page .platform-main-nav a:nth-child(8){grid-column:span 2}
.agent-chat-page .platform-main-nav a:nth-child(n+6)>span{font-size:13px;line-height:15px}.agent-chat-page .platform-main-nav a:nth-child(n+6)>b{font-size:9px}
.agent-chat-page .platform-model-types{background:var(--agent-soft);border:1px solid var(--agent-line);border-radius:11px;padding:3px;margin:9px 2px 6px;gap:1px}
.agent-chat-page .platform-model-types button{padding:6px 2px;font-size:11px;color:var(--agent-muted);border-radius:8px}
.agent-chat-page .platform-model-types button[aria-pressed=true]{background:var(--agent-base);color:var(--agent-ink);box-shadow:0 1px 4px #0001}
.agent-chat-page .platform-model-search{margin:0 2px;gap:8px}.agent-chat-page .platform-model-search select,.agent-chat-page .platform-model-search input{font-size:10px;min-height:34px;padding:7px 9px;border:1px solid var(--agent-line);border-radius:10px;background:transparent;color:var(--agent-ink)}
.agent-chat-page .platform-model-search select{width:93px;min-width:0}.agent-chat-page .platform-model-search input{min-width:0;width:calc(100% - 100px)}
.agent-chat-page .platform-model-note{font-size:8px;color:var(--agent-muted);padding:7px 5px 0;margin:0}
.agent-super-entry{display:flex;align-items:center;gap:9px;text-align:left;width:100%;border:1px solid var(--agent-line);background:var(--agent-surface);border-radius:12px;padding:12px 11px;margin:9px 0 5px;color:var(--agent-ink)}
.agent-super-entry .agent-super-symbol{font-size:31px;line-height:30px}.agent-super-entry>span:nth-child(2){min-width:0;flex:1}.agent-super-entry strong{display:block;font-size:12px}.agent-super-entry small{display:block;font-size:9px;color:var(--agent-muted);margin-top:4px}.agent-super-entry svg{width:14px;height:14px}
.agent-chat-page #platform-model-list{padding:0 2px;scrollbar-width:thin;scrollbar-color:#aaa5b766 transparent}
.agent-chat-page .platform-model-item{display:flex;align-items:flex-start;gap:9px;min-height:85px;padding:12px 4px;border:0;border-radius:11px;background:transparent;color:var(--agent-ink);width:100%;text-align:left}
.agent-chat-page .platform-model-item:hover{background:var(--agent-soft)}
.agent-chat-page .platform-model-icon{width:32px;height:32px;border-radius:50%;background:#fff;box-shadow:0 4px 16px #542c9617;display:grid;place-items:center;flex-shrink:0;font-size:18px;margin-top:2px}.agent-chat-page .platform-model-icon img{width:27px;height:27px;object-fit:contain}
.agent-chat-page .platform-model-item>div{flex:1;min-width:0}.agent-chat-page .platform-model-item strong{font-size:11px;color:var(--agent-ink);line-height:1.5;font-weight:600;display:block}.agent-chat-page .platform-model-item p{font-size:9px;line-height:1.6;margin-top:5px;color:var(--agent-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.agent-chat-page .platform-model-item>small{font-size:8px;white-space:nowrap;padding-top:3px;color:var(--agent-muted)}
.agent-chat-page .platform-sidebar-foot{margin:0 -9px;padding:10px 12px;border-top:1px solid var(--agent-line);background:transparent;font-size:10px}.agent-chat-page .platform-sidebar-foot span{color:var(--agent-muted)}.agent-chat-page .platform-sidebar-foot .platform-login{padding:3px 4px;height:auto;background:transparent;color:var(--agent-accent);font-size:10px}
body.agent-chat-page:not(.platform-entry) #main{position:relative;z-index:1;background:transparent;margin-left:309px;padding-top:69px;min-height:100svh;transition:margin-left .25s}
.agent-chat-page #page-home{min-height:calc(100svh - 69px)}.agent-chat-page #page-home>:not(.workspace-chat){display:none!important}
.agent-chat-page .workspace-chat.home-chat-panel{padding:0!important;margin:0!important;min-height:0;background:transparent;border:0;box-shadow:none;display:block;width:100%;max-width:none;border-radius:0}
.agent-chat-page .workspace-chat>.platform-chat-welcome,.agent-chat-page .workspace-chat>.agent-original-hidden,.agent-chat-page .home-chat-welcome,.agent-chat-page .workspace-chat>.home-chat-body,.agent-chat-page .workspace-chat>.home-chat-form{display:none!important}
.agent-chat-shell{width:100%;max-width:1600px;margin:0 auto;padding:6px 22px 18px;color:var(--agent-ink)}
.agent-chat-top{display:flex;align-items:center;justify-content:space-between;gap:16px;height:36px;padding:0 2px}
.agent-chat-heading{display:flex;align-items:center;gap:9px;font-size:11px}.agent-chat-heading>span{padding:7px 10px;border:1px solid var(--agent-line);background:var(--agent-surface);border-radius:18px;font-size:10px;color:var(--agent-muted)}.agent-chat-heading strong{font-size:12px;font-weight:600;max-width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.agent-chat-heading small{font-size:9px;color:var(--agent-muted)}
.agent-chat-top-tools{display:flex;align-items:center;gap:8px}.agent-chat-top-tools button{display:flex;align-items:center;gap:7px;padding:6px 8px;font-size:11px;color:var(--agent-muted);border-radius:8px}.agent-chat-top-tools svg{width:16px;height:16px}.agent-chat-top-tools button:hover{background:var(--agent-soft)}
.agent-welcome{text-align:center;padding-top:43px;margin:0 0 27px}.agent-bot{width:77px;height:77px;border-radius:49% 51% 48% 52%;background:#050505;display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 24px;transform:rotate(-13deg);transition:transform .25s,background .25s;box-shadow:0 2px 15px #00000005}.agent-bot:hover{transform:rotate(0) translateY(-3px)}.agent-bot-eye{width:7px;height:13px;border-radius:9px;background:#fff;animation:agent-blink 7s infinite}.agent-bot-eye:nth-child(2){animation-delay:.09s}.agent-bot[data-variant=violet]{background:#6b32d1}.agent-bot[data-variant=mint]{background:#288a75}
.agent-welcome h1{font-size:37px;letter-spacing:-1.3px;line-height:1.35;font-weight:720;color:var(--agent-ink);margin:0}.agent-welcome>p{font-size:13px;line-height:1.8;color:var(--agent-muted);margin:15px 0 0}
@keyframes agent-blink{0%,45%,49%,100%{scale:1 1}47%{scale:1 .15}}
.agent-composer-stage{position:relative;max-width:830px;width:calc(100% - 70px);margin:0 auto}
.agent-composer-rail{position:absolute;left:-42px;top:37px;display:flex;flex-direction:column;gap:6px}.agent-composer-rail button{width:33px;height:34px;padding:8px;display:flex;border:1px solid var(--agent-line);border-radius:11px;background:var(--agent-surface);color:var(--agent-muted);backdrop-filter:blur(14px)}.agent-composer-rail button:hover{color:var(--agent-accent);border-color:var(--agent-accent)}.agent-composer-rail svg{width:17px;height:17px}
.agent-chat-page .agent-chat-body{padding:0!important;min-height:0;display:none}.agent-chat-page .agent-chat-body.has-messages{display:block;margin:18px 0}.agent-chat-page .home-chat-log{max-height:calc(100svh - 390px);background:transparent;border:0;padding:0;scrollbar-width:thin}.agent-chat-page .home-message{font-size:13px}.agent-chat-page .home-message.assistant{background:var(--agent-surface);border-color:var(--agent-line);color:var(--agent-ink)}
.agent-chat-page #quick-create.home-chat-form{display:block!important;position:relative;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.agent-composer{padding:17px 17px 11px;border:1px solid var(--agent-line);border-radius:25px;background:var(--agent-surface);box-shadow:0 1px 0 #0000000d inset,var(--agent-shadow);backdrop-filter:blur(20px);transition:border-color .2s,box-shadow .2s}
.agent-composer:focus-within{border-color:#8c56d86b;box-shadow:0 0 0 3px #9465d109,var(--agent-shadow)}.agent-composer.is-dragging{border:1px dashed var(--agent-accent);background:var(--agent-hover)}
.agent-chat-page #agent-prompt{display:block;width:100%;min-height:76px;max-height:220px;resize:none;padding:0 0 14px;background:transparent;border:0;border-radius:0;outline:0!important;box-shadow:none;color:var(--agent-ink);font-size:14px;line-height:1.8;overflow-y:auto}.agent-chat-page #agent-prompt::placeholder{color:var(--agent-muted);opacity:.9}
.agent-composer-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.agent-control-left{display:flex;align-items:center;flex:1;min-width:0;gap:6px;flex-wrap:wrap}.agent-control-right{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto}
.agent-control-chip{min-height:30px;max-width:175px;display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--agent-line);border-radius:9px;background:var(--agent-surface);color:var(--agent-ink);font-size:10px;line-height:1.4;white-space:nowrap}.agent-control-chip>svg{width:14px;height:14px;flex-shrink:0}.agent-control-chip>span{overflow:hidden;text-overflow:ellipsis}.agent-control-chip>i{font-style:normal;color:var(--agent-muted);font-size:10px}.agent-control-chip:hover{border-color:#8562bd60}.agent-attachment-button{width:23px;height:30px;display:grid;place-items:center;color:var(--agent-ink)}.agent-attachment-button svg{width:17px;height:17px}
.agent-switch{display:inline-block;width:24px;height:13px;border-radius:10px;background:#a7a7ad;position:relative;flex-shrink:0}.agent-switch:after{content:"";position:absolute;left:2px;top:2px;width:9px;height:9px;border-radius:50%;background:white;transition:translate .2s}.agent-control-chip[aria-pressed=true] .agent-switch{background:var(--agent-ink)}.agent-control-chip[aria-pressed=true] .agent-switch:after{translate:11px 0;background:var(--agent-base)}
.agent-thinking select{border:0!important;background:transparent!important;font-size:10px;color:var(--agent-ink);padding:0 2px;max-width:38px;outline:0}.agent-thinking{margin:0}
.agent-chat-page #home-chat-send{display:flex;align-items:center;justify-content:center;gap:7px;min-width:75px;height:34px;padding:6px 10px;border:1px solid var(--agent-line);background:var(--agent-ink);color:var(--agent-base);border-radius:18px;font-size:11px}.agent-chat-page #home-chat-send:disabled{background:var(--agent-surface);border-color:var(--agent-line);color:var(--agent-muted);opacity:.45;cursor:not-allowed}.agent-chat-page #home-chat-send svg{width:17px;height:17px}.agent-chat-page #home-chat-stop{font-size:11px;color:var(--agent-ink)}
.agent-composer-lower{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.agent-memory{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--agent-line);border-radius:7px;background:var(--agent-surface);font-size:10px;color:var(--agent-muted)}.agent-memory svg{width:12px;height:12px}.agent-draft-note{font-size:9px;color:var(--agent-muted)}
.agent-channel-settings{margin-top:10px;color:var(--agent-muted);font-size:10px}.agent-channel-settings summary{cursor:pointer;list-style:none;display:flex;gap:8px;align-items:center}.agent-channel-settings summary:before{content:'›';font-size:16px}.agent-channel-settings[open] summary:before{rotate:90deg}.agent-channel-grid{padding:13px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.agent-channel-grid label{font-size:11px;display:grid;gap:7px}.agent-channel-grid select{width:100%;padding:8px;border:1px solid var(--agent-line);border-radius:8px;background:var(--agent-surface);color:var(--agent-ink);font-size:10px}.agent-channel-grid p{grid-column:1/-1;font-size:10px;line-height:1.7}
.agent-attachments{display:flex;gap:8px;overflow-x:auto}.agent-attachments:empty{display:none}.agent-attachment{display:flex;align-items:center;gap:7px;background:var(--agent-soft);border:1px solid var(--agent-line);border-radius:9px;padding:5px 7px;margin-bottom:10px;max-width:170px;flex-shrink:0}.agent-attachment>img{width:30px;height:30px;object-fit:cover;border-radius:5px}.agent-attachment>svg{width:19px;height:19px}.agent-attachment>span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-attachment button{width:15px;height:15px;flex-shrink:0}.agent-attachment button svg{width:13px;height:13px}.agent-selected-skill{display:flex;gap:6px;align-items:center;width:max-content;max-width:100%;background:var(--agent-hover);border:1px solid #9d7bd34d;border-radius:8px;padding:6px 8px;margin-bottom:11px;color:var(--agent-accent);font-size:11px}.agent-selected-skill>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-selected-skill button svg{width:12px;height:12px}
.agent-module-cards{max-width:830px;width:calc(100% - 70px);display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px auto 32px}.agent-module-cards a{display:flex;gap:12px;align-items:center;text-decoration:none;border:1px solid var(--agent-line);border-radius:17px;padding:11px 14px;background:var(--agent-surface);color:var(--agent-ink);backdrop-filter:blur(15px)}.agent-module-cards a>svg{width:34px;height:34px;padding:8px;background:var(--agent-soft);border-radius:7px}.agent-module-cards strong{display:block;font-size:12px;font-weight:600}.agent-module-cards small{display:block;font-size:10px;margin-top:5px;color:var(--agent-muted)}.agent-module-cards a:hover{border-color:#8c56d875}
.agent-skills{scroll-margin-top:74px}.agent-skill-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:22px}.agent-skill-categories{display:flex;align-items:center;gap:7px;overflow:auto;min-width:0;flex:1;padding:1px 0 4px;scrollbar-width:none}.agent-skill-categories button{flex-shrink:0;padding:7px 13px;min-height:32px;border:1px solid var(--agent-line);border-radius:20px;background:var(--agent-surface);color:var(--agent-ink);font-size:11px;font-weight:500;white-space:nowrap;backdrop-filter:blur(13px)}.agent-skill-categories button[aria-pressed=true]{background:var(--agent-hover);border-color:#a27ae6;color:var(--agent-accent)}
.agent-skill-search{display:flex;align-items:center;gap:6px;border:1px solid var(--agent-line);background:var(--agent-surface);border-radius:18px;padding:7px 10px;width:135px;flex-shrink:0;backdrop-filter:blur(15px)}.agent-skill-search>svg{width:13px;height:13px;color:var(--agent-muted)}.agent-skill-search input{border:0;outline:0;background:transparent;width:100%;min-width:0;font-size:10px;color:var(--agent-ink)}
.agent-skill-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.agent-skill-card{display:flex;align-items:stretch;gap:13px;min-width:0;height:115px;border:1px solid var(--agent-line);border-radius:19px;padding:12px;background:var(--agent-surface);backdrop-filter:blur(18px);box-shadow:none;transition:transform .2s,border-color .2s}
.agent-skill-card:hover{transform:translateY(-2px);border-color:#a679e275}.agent-skill-cover{position:relative;width:88px;flex:0 0 88px;border-radius:11px;background:linear-gradient(135deg,#f1f1f3,#e9e5ef);overflow:hidden;display:grid;place-items:center;color:#171020;text-align:center}.agent-skill-cover>img{width:100%;height:100%;object-fit:cover}.agent-skill-cover>span{font-weight:950;font-size:22px;letter-spacing:-2px;text-shadow:3px 3px 0 #8754d037}.agent-skill-cover .agent-video-mark{position:absolute;right:6px;bottom:6px;border-radius:5px;padding:3px 5px;background:#0009;color:white;font-size:9px;font-style:normal}.agent-skill-copy{min-width:0;flex:1;overflow:hidden}.agent-skill-title{display:flex;align-items:center;gap:7px;margin-bottom:7px}.agent-skill-title h3{margin:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--agent-ink);font-size:12px;font-weight:650;line-height:1.5}.agent-skill-title>button{padding:5px 11px;border:1px solid var(--agent-line);border-radius:20px;background:var(--agent-surface);color:var(--agent-ink);font-size:10px;flex-shrink:0}.agent-skill-copy>p{font-size:11px;line-height:1.7;color:var(--agent-muted);margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.agent-skill-bottom{display:flex;justify-content:center;align-items:center;gap:14px;margin:23px 0;font-size:10px;color:var(--agent-muted)}.agent-skill-bottom button{padding:8px 15px;border:1px solid var(--agent-line);border-radius:9px;background:var(--agent-surface);color:var(--agent-ink);font-size:11px}.agent-workspace-footer{text-align:center;color:var(--agent-muted);font-size:9px;margin:25px 0 5px}
.agent-session-panel{position:fixed;right:16px;top:67px;bottom:16px;width:270px;padding:17px;background:var(--agent-surface,#fff);border:1px solid var(--agent-line,#ddd);border-radius:18px;backdrop-filter:blur(25px);z-index:62;color:var(--agent-ink,#161616);box-shadow:0 15px 60px #0002}.agent-panel-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px}.agent-panel-heading button{font-size:23px;color:var(--agent-muted)}#agent-new-session{margin:18px 0 4px;padding:10px;width:100%;background:var(--agent-hover);color:var(--agent-accent);border-radius:9px;font-size:12px}.agent-session-hint{font-size:10px;color:var(--agent-muted);margin:11px 0}.agent-draft-row{display:flex;gap:5px;border-bottom:1px solid var(--agent-line);padding:10px 0}.agent-draft-row>button:first-child{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:11px;color:var(--agent-ink)}.agent-draft-row>button:last-child svg{width:14px;height:14px;color:var(--agent-muted)}#agent-session-list{overflow-y:auto;max-height:calc(100% - 125px)}
.agent-dialog{box-sizing:border-box;width:min(850px,calc(100vw - 30px));max-width:850px;max-height:calc(100svh - 40px);padding:24px;border:1px solid var(--agent-line,#dedbe3);border-radius:23px;background:var(--agent-surface,#fff);color:var(--agent-ink,#151518);backdrop-filter:blur(28px);box-shadow:0 25px 100px #0003;overflow-y:auto;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}.agent-dialog::backdrop{background:#0c091960;backdrop-filter:blur(5px)}.agent-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.agent-dialog>header span{font-size:9px;color:var(--agent-muted,#777)}.agent-dialog>header h2{font-size:22px;line-height:1.5;margin:6px 0 0;font-weight:600}.agent-dialog>header button{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--agent-soft,#f3f2f5)}.agent-dialog>header svg{width:17px;height:17px}.agent-dialog [hidden],.agent-chat-page [hidden],.agent-notice[hidden],.agent-session-panel[hidden]{display:none!important}
.agent-empty{font-size:12px;line-height:2;color:var(--agent-muted,#777);text-align:center;padding:35px 20px}.agent-modal-primary,.agent-modal-secondary{display:block;width:100%;padding:13px 18px;border-radius:11px;background:#7235ce;color:white;font-size:12px;margin-top:20px;text-align:center}.agent-modal-secondary{background:var(--agent-soft,#eee);color:var(--agent-muted,#777)}.agent-modal-link{display:block;text-align:center;margin:15px 0;font-size:12px;color:var(--agent-accent,#783db8)}
.agent-dialog-tabs{display:flex;gap:8px;margin-bottom:20px}.agent-dialog-tabs button{padding:8px 12px;border:1px solid var(--agent-line,#ddd);border-radius:9px;background:transparent;font-size:12px}.agent-dialog-tabs button.active{background:var(--agent-hover,#f2eafa);color:var(--agent-accent,#7136bf)}.agent-assets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.agent-asset-tile{display:block;min-width:0;border:1px solid var(--agent-line,#ddd);border-radius:13px;overflow:hidden;background:var(--agent-soft,#f8f8f8);text-align:left}.agent-asset-tile img,.agent-asset-tile video{width:100%;height:150px;object-fit:cover;display:block}.agent-asset-tile>svg{display:block;width:50px;height:100px;margin:auto;padding:20px 0}.agent-asset-tile span{font-size:11px;color:var(--agent-ink,#222);display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:10px}.agent-add-asset{min-height:110px;border:1px dashed var(--agent-line,#ccc);border-radius:13px;font-size:13px;color:var(--agent-accent,#7136bf)}.agent-assets-grid>.agent-empty{grid-column:1/-1}.agent-media-body>img,.agent-media-body>video{width:100%;max-height:65svh;object-fit:contain;border-radius:12px;background:#09090b}.agent-media-body>audio{width:100%;margin:30px 0}
.agent-skill-detail>img,.agent-skill-detail>video{width:100%;max-height:390px;object-fit:contain;border-radius:14px;background:#151318}.agent-skill-detail p{font-size:13px;line-height:2;color:var(--agent-muted,#777);margin-top:20px}.agent-model-options{display:grid;gap:9px}.agent-model-option{display:flex;gap:13px;align-items:center;width:100%;padding:13px;border:1px solid var(--agent-line,#ddd);border-radius:12px;text-align:left;color:var(--agent-ink,#222)}.agent-model-option>img{width:30px;height:30px;object-fit:contain}.agent-model-option>span:nth-child(2){min-width:0;flex:1}.agent-model-option strong{display:block;font-size:13px}.agent-model-option small{display:block;font-size:11px;color:var(--agent-muted,#777);margin-top:5px;line-height:1.7}.agent-setting-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--agent-line,#ddd);padding:18px 0}.agent-setting-row strong{display:block;font-size:13px}.agent-setting-row small{display:block;font-size:11px;color:var(--agent-muted,#777);margin-top:7px}.agent-setting-row input{width:18px;height:18px;accent-color:#793dd5}.agent-settings-description{font-size:12px;line-height:1.9;color:var(--agent-muted,#777)}.agent-bot-options{display:flex;gap:12px;margin-top:25px}.agent-bot-options button{padding:14px 20px;border:1px solid var(--agent-line,#ddd);border-radius:11px;font-size:12px}.agent-bot-options button[data-bot=violet]{color:#9164d3}.agent-bot-options button[data-bot=mint]{color:#288a75}
.agent-notice{position:fixed;left:50%;bottom:27px;translate:-50% 0;z-index:220;max-width:calc(100% - 32px);padding:13px 20px;border:1px solid #b3a3c048;border-radius:12px;background:#26212ff0;color:#fff;box-shadow:0 8px 35px #0003;backdrop-filter:blur(15px);font:12px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.agent-chat-page.agent-sidebar-collapsed .platform-sidebar{transform:translateX(-320px);opacity:0;pointer-events:none}body.agent-chat-page.agent-sidebar-collapsed #main{margin-left:0}.agent-chat-page.agent-sessions-open .agent-chat-shell{padding-right:300px}
@media(min-width:1700px){.agent-composer-stage,.agent-module-cards{max-width:900px}.agent-welcome{padding-top:63px}}
@media(max-width:1280px){.agent-skill-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-chat-shell{padding-inline:18px}.agent-skill-cover{width:76px;flex-basis:76px}.agent-chat-page .platform-header-tools{gap:6px}.agent-chat-page.agent-sessions-open .agent-chat-shell{padding-right:18px}.agent-welcome h1{font-size:34px}.agent-control-chip{font-size:9px;padding-inline:6px}.agent-control-left{gap:4px}}
@media(max-width:1050px){.agent-chat-page .platform-sidebar{width:255px}body.agent-chat-page:not(.platform-entry) #main{margin-left:270px}.agent-chat-page .platform-header-tools .platform-guide-link{display:none}.agent-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-welcome h1{font-size:30px}.agent-composer-stage,.agent-module-cards{width:calc(100% - 35px)}.agent-composer-rail{left:-36px}.agent-composer{padding:15px 13px 10px}.agent-draft-note{font-size:8px}.agent-skill-search{width:110px}.agent-control-right{flex-basis:100%}.agent-composer-lower{margin-top:4px}.agent-welcome{padding-top:30px}}
@media(max-width:700px){.agent-chat-page .platform-header{height:55px;padding:0 12px;gap:8px}.agent-chat-page .platform-header .platform-layout-tag,.agent-chat-page .platform-header .agent-sidebar-toggle{display:none}.agent-chat-page .platform-header-tools{gap:4px}.agent-chat-page .platform-brand img{width:26px;height:26px}.agent-chat-page .platform-brand strong{font-size:15px}.agent-chat-page .platform-header-tools>a,.agent-chat-page .platform-header-tools>button:not(.platform-login){width:28px;height:28px;padding:5px}.agent-chat-page .platform-header-tools #platform-theme{display:flex}.agent-chat-page .platform-header-tools #platform-help,.agent-chat-page .platform-header-tools>a[href="#square"],.agent-chat-page .platform-header-tools #agent-sessions-toggle{display:none}.agent-chat-page .platform-header-tools>.platform-console-entry{display:flex;min-width:57px;width:auto;font-size:9px;padding:5px 6px}.agent-chat-page .platform-header-tools #platform-unified-logout{font-size:9px;width:auto;padding:4px}.agent-chat-page .platform-login{height:29px;max-width:80px;padding:6px 8px;font-size:9px}.agent-chat-page .platform-preview{display:none}.agent-chat-page .platform-sidebar{width:280px;left:8px;top:63px!important;bottom:9px;translate:-110% 0;transform:none;opacity:1;border-radius:18px}.agent-chat-page.platform-sidebar-open .platform-sidebar{translate:0 0}.agent-chat-page.agent-sidebar-collapsed .platform-sidebar{transform:none;opacity:1;pointer-events:auto}body.agent-chat-page:not(.platform-entry) #main{margin-left:0;padding-top:63px}.agent-chat-shell{padding:5px 15px 16px}.agent-chat-top{height:31px}.agent-chat-heading{font-size:10px;gap:6px}.agent-chat-heading strong{font-size:11px;max-width:100px}.agent-chat-top-tools button{font-size:10px;padding:5px}.agent-chat-top-tools button svg{width:14px;height:14px}.agent-welcome{padding-top:33px;margin-bottom:25px}.agent-bot{width:62px;height:62px;margin-bottom:22px;gap:10px}.agent-bot-eye{width:6px;height:11px}.agent-welcome h1{font-size:26px;letter-spacing:-.8px;max-width:320px;margin:auto}.agent-welcome>p{font-size:10px;margin-top:12px;max-width:300px;margin-inline:auto}.agent-composer-stage,.agent-module-cards{width:100%}.agent-composer-rail{position:static;display:flex;flex-direction:row;justify-content:flex-end;gap:5px;margin-bottom:7px}.agent-composer-rail button{width:29px;height:29px;padding:6px;border-radius:8px}.agent-composer{padding:14px 12px 10px;border-radius:21px}.agent-chat-page #agent-prompt{font-size:16px;min-height:88px;line-height:1.6}.agent-control-left{gap:5px}.agent-control-chip{max-width:155px;padding:6px;font-size:9px;min-height:29px}.agent-control-chip>svg{width:12px;height:12px}.agent-control-right{flex-basis:auto}.agent-control-chip.agent-thinking>span{display:none}.agent-thinking select{font-size:10px}.agent-chat-page #home-chat-send{min-width:58px;font-size:10px;height:30px;padding:5px 7px}.agent-chat-page #home-chat-send svg{width:14px}.agent-draft-note{font-size:8px}.agent-channel-settings{font-size:9px}.agent-module-cards{margin:12px auto 25px;gap:8px}.agent-module-cards a{padding:10px;gap:8px;border-radius:13px}.agent-module-cards a>svg{width:29px;height:29px;padding:7px}.agent-module-cards strong{font-size:11px}.agent-module-cards small{font-size:9px;line-height:1.4}.agent-skill-toolbar{gap:8px;margin-bottom:15px;flex-wrap:wrap}.agent-skill-categories{flex-basis:100%}.agent-skill-categories button{font-size:10px;padding:6px 11px;min-height:30px}.agent-skill-search{width:100%;padding:8px 12px}.agent-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.agent-skill-card{height:auto;min-height:169px;padding:9px;border-radius:14px;gap:9px;flex-direction:column}.agent-skill-cover{width:100%;height:104px;flex-basis:auto;border-radius:9px}.agent-skill-cover>img{height:104px}.agent-skill-cover>span{font-size:26px}.agent-skill-copy{flex:auto}.agent-skill-title{gap:4px;margin-bottom:5px}.agent-skill-title h3{font-size:10px}.agent-skill-title>button{font-size:9px;padding:4px 7px}.agent-skill-copy>p{font-size:9px;line-height:1.7;-webkit-line-clamp:2}.agent-skill-bottom{font-size:9px}.agent-session-panel{top:64px;right:10px;bottom:10px;width:min(290px,calc(100vw - 20px))}.agent-dialog{padding:20px 16px;max-height:calc(100svh - 24px);border-radius:18px}.agent-dialog>header h2{font-size:19px}.agent-assets-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.agent-asset-tile img,.agent-asset-tile video{height:115px}.agent-asset-tile span{font-size:10px}.agent-model-option{padding:10px}.agent-model-option strong{font-size:12px}.agent-model-option small{font-size:10px}.agent-channel-grid{grid-template-columns:1fr}.agent-settings-description{font-size:11px}.agent-bot-options{gap:8px}.agent-bot-options button{padding:12px 14px;font-size:11px}.agent-chat-page.agent-sessions-open .agent-chat-shell{padding-right:15px}}
@media(prefers-reduced-motion:reduce){.agent-bot-eye{animation:none}.agent-bot,.agent-skill-card,.agent-sidebar,.agent-switch:after{transition:none}}
body:not(.agent-chat-page) .agent-top-button,body:not(.agent-chat-page) .agent-sidebar-toggle,body:not(.agent-chat-page) .agent-super-entry{display:none!important}
#platform-model-list .platform-model-icon>img{width:26px;height:26px;object-fit:contain}
body.agent-chat-page #quick-create.home-chat-form #home-chat-send:disabled{background:var(--agent-surface);border-color:var(--agent-line);color:var(--agent-muted);opacity:.45}
