:root{--brand:#f60;--page:#f5f6fa;--text:rgba(0,0,0,.85);--muted:#8c8c8c;--line:#e8e8e8;--sidebar:160px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:var(--text);font-size:13px;font-weight:400}
[hidden]{display:none!important}.table.library-table td{padding-top:10px;padding-bottom:10px}.info-card .section-title .icon{width:12px;height:12px}.confirm-buttons .button{font-size:14px}.confirm-title{line-height:22px}
.radio-line input[type=radio],.table input[type=checkbox]{appearance:none;-webkit-appearance:none;background:#fff;border:1px solid #d9d9d9;position:relative;flex:none;outline:none}.radio-line input[type=radio]{border-radius:50%}.radio-line input[type=radio]:checked{background:var(--brand);border-color:var(--brand);box-shadow:inset 0 0 0 3px #fff}.table input[type=checkbox]{border-radius:4px}.table input[type=checkbox]:checked{background:var(--brand);border-color:var(--brand)}.table input[type=checkbox]:checked:after{content:'';position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.radio-line input:focus-visible,.table input[type=checkbox]:focus-visible{outline:2px solid #ffb77d;outline-offset:2px}.resource-footer .button{min-width:64px;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--page)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;background:transparent;border:0}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:2px solid #ffb77d;outline-offset:2px}a{color:inherit;text-decoration:none}input,textarea{outline:none}input:focus,textarea:focus{border-color:#ff944d!important}input::placeholder,textarea::placeholder{color:#bfbfbf}h1,h2,h3,p{margin:0}h1{font-size:16px;font-weight:600}h2{font-size:16px;font-weight:500}h3{font-size:14px;font-weight:500}.muted{color:var(--muted)}.small{font-size:12px}.grow{flex:1;min-width:0}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.spacer{flex:1}.icon{width:18px;height:18px;object-fit:contain;vertical-align:middle;flex:none}.icon-button{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;color:#595959}.icon-button:hover{background:#f0f0f0}.icon-button .icon{width:16px;height:16px}.button{height:32px;padding:0 15px;background:#fff;border:1px solid #d9d9d9;border-radius:6px;display:inline-flex;gap:6px;align-items:center;justify-content:center;white-space:nowrap}.button:hover{color:var(--brand);border-color:#ff944d}.button.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.button.primary:hover{background:#ff8533}.button.outline{color:var(--brand);border-color:var(--brand)}.link{color:#1677ff;padding:0}.link:hover{text-decoration:underline}.control{height:32px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;padding:5px 11px;width:100%}textarea.control{height:110px;resize:vertical;line-height:1.6}.search{height:32px;width:232px;display:flex;border:1px solid #d9d9d9;border-radius:6px;background:#fff;overflow:hidden;flex:none}.search:focus-within{border-color:#ff944d}.search input{border:0;width:100%;min-width:0;padding:4px 11px;font-size:13px}.search button{border-left:1px solid #d9d9d9;width:32px;flex:none}.search .icon{width:15px}.select{position:relative;width:168px;flex:none}.select-trigger{width:100%;height:32px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px}.chevron{width:7px;height:7px;border-right:1px solid #bfbfbf;border-bottom:1px solid #bfbfbf;transform:rotate(45deg);margin:-4px 3px 0 10px}.dropdown{position:absolute;top:36px;left:0;min-width:100%;padding:4px;background:#fff;border-radius:6px;box-shadow:0 3px 12px #0002;z-index:40}.dropdown button{height:32px;text-align:left;padding:0 12px;width:100%;white-space:nowrap;border-radius:4px}.dropdown button:hover{background:#f5f5f5}.dropdown button.selected{background:#fff2e8;color:var(--brand);font-weight:500}.switch{display:inline-block;width:28px;height:16px;border-radius:12px;background:#bfbfbf;position:relative;padding:0;vertical-align:middle;flex:none;transition:background .15s}.switch:before{content:"";position:absolute;width:12px;height:12px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:left .15s}.switch.on{background:var(--brand)}.switch.on:before{left:14px}.dot{width:8px;height:8px;display:inline-block;border-radius:100%;background:#5ce5a0;margin-right:8px;flex:none}.tag{font-size:12px;line-height:20px;border:1px solid #d9d9d9;background:#fafafa;border-radius:3px;padding:0 6px;color:#8c8c8c;white-space:nowrap}.avatar{width:24px;height:24px;border-radius:100%;background:var(--brand);border:1px solid #fff;color:white;display:flex;align-items:center;justify-content:center;font-size:14px}
.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 12px;gap:20px}.topbar .back{height:24px;width:24px;background:#fff;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;font-size:24px;line-height:1;margin-right:12px}.topbar-title{display:flex;align-items:center;min-width:0}.top-tools{display:flex;align-items:center;gap:16px;background:#ffffffa8;padding:8px 10px;border-radius:7px}.top-tools .icon{width:18px;height:18px}.shop-button{display:flex;align-items:center;gap:8px;position:relative;font-size:14px}.shop-button img{width:16px;height:16px}.switch-shop{font-size:16px;position:relative}.notification-count{position:absolute;top:-8px;right:-9px;background:#ff4d4f;font-size:10px;line-height:13px;border-radius:8px;padding:0 3px;color:white}.shop-dropdown{position:absolute;right:126px;top:51px;width:180px;z-index:60;left:auto;min-width:0}.shell .topbar{margin-left:var(--sidebar);background:#fff;border-bottom:1px solid #f0f0f0}.global-nav{position:fixed;width:var(--sidebar);top:0;bottom:0;left:0;background:#f0f3fb url('assets/nav-background2.00f8003b.svg') center/cover;display:flex;flex-direction:column;z-index:30;padding:10px 8px 12px}.brand{height:54px;display:flex;align-items:center;padding-left:12px}.brand img{width:112px;height:auto}.nav-list{display:flex;flex-direction:column;gap:4px;padding-top:10px}.nav-item{height:42px;display:flex;align-items:center;gap:12px;padding:0 14px;border-radius:6px;font-size:14px;color:#253545}.nav-item .icon{width:20px;height:20px}.nav-item.active{background:var(--brand);color:#fff}.nav-item.active .icon{filter:brightness(0) invert(1)}.nav-item:hover:not(.active){background:#fff9}.nav-plan{margin-top:auto;background:#ffffff80;border-radius:8px;padding:10px 12px;font-size:11px;line-height:24px;color:#79808b}.nav-plan b{color:#b48330;font-size:13px}.global-nav .settings{margin-top:10px}.shell-main{margin-left:var(--sidebar);padding:0 24px 24px;min-height:calc(100vh - 64px)}.module-tabs{height:56px;display:flex;align-items:stretch;gap:28px;border-bottom:1px solid #e8e8e8;margin-bottom:24px}.module-tabs button{position:relative;font-size:14px;padding:0 2px}.module-tabs .active{color:var(--brand)}.module-tabs .active:after{content:"";height:2px;position:absolute;bottom:0;left:0;right:0;background:var(--brand)}.toolbar{display:flex;align-items:center;gap:28px;margin-bottom:16px}.toolbar .right{margin-left:auto}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:20px}.library-tile{background:#fff;border:1px solid #e5e6ec;border-radius:8px;padding:20px;min-height:180px;display:flex;flex-direction:column;cursor:pointer;text-align:left}.library-tile:hover{border-color:#ffb787}.library-tile h3{font-size:14px;margin-bottom:12px}.library-tile p{line-height:22px;color:#8c8c8c;font-size:12px;min-height:44px}.library-tile footer{display:flex;justify-content:flex-end;gap:24px;margin-top:auto;padding-top:16px;font-size:12px}.section-title{font-size:14px;display:flex;align-items:center;gap:12px;font-weight:500}.section-title:before{content:"";height:12px;width:2px;background:var(--brand);flex:none}
.library-layout{display:grid;grid-template-columns:288px minmax(0,1fr);gap:24px;padding:16px 24px 40px}.library-aside{display:flex;flex-direction:column;gap:12px}.card{border-radius:8px;background:#fff}.info-card{padding:20px 16px}.info-card .section-title{margin-bottom:12px}.info-card .section-title .icon-button{margin-left:auto;width:16px;height:16px}.info-body{padding-left:14px;font-size:12px;line-height:22px}.library-description{color:#999;margin:4px 0 12px;line-height:22px}.meta-line{display:flex;gap:16px;line-height:24px;font-size:12px}.meta-line .label{min-width:64px;color:#667085}.info-body .dot{width:7px;height:7px}.table-panel{padding:16px;align-self:start;min-width:0}.table-wrap{overflow:auto}.table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left;font-size:13px}.table th{background:#fafafa;font-weight:600;height:46px;padding:12px 16px;position:relative;text-align:left}.table th:first-child{border-radius:8px 0 0 8px}.table th:last-child{border-radius:0 8px 8px 0}.table th+th:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:1px;background:#f0f0f0}.table td{height:64px;padding:12px 16px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}.table .product-name{display:flex;align-items:center;gap:8px;min-width:0}.product-name .dot{width:8px;height:8px;margin-right:0}.thumb{width:24px;height:24px;object-fit:cover;border-radius:3px;flex:none;background:#f0f0f0}.product-name .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.desc-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:22px}.table .more{font-size:20px;letter-spacing:1px;line-height:24px;color:#bfbfbf;padding:0 4px}.table .more:hover{background:#f5f5f5;color:var(--text)}.count-link{border-bottom:1px dashed #333;padding:2px 0}.empty{padding:64px 20px;text-align:center;color:#bfbfbf}.empty-symbol{font-size:34px;line-height:50px;color:#d9d9d9}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:16px 0 2px;font-size:12px}.page-button{min-width:24px;height:24px;border-radius:5px}.page-button.active{border:1px solid var(--brand);color:var(--brand)}.page-button:hover{background:#fff7ef}.row-menu{position:fixed;width:120px;background:#fff;border-radius:6px;box-shadow:0 3px 14px #0002;padding:4px;z-index:80}.row-menu button{height:34px;display:block;width:100%;text-align:left;padding-left:12px;border-radius:4px}.row-menu button:hover{background:#fff4e8}
.detail-page{padding:0 24px 40px}.product-card{padding:16px;margin-bottom:16px}.product-summary{height:42px;display:flex;align-items:center;gap:12px}.product-summary .thumb{width:40px;height:40px}.product-title{font-size:13px;margin-bottom:4px;font-weight:400}.product-description{font-size:12px;line-height:20px;color:#8c8c8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-summary .link{margin:0 16px;font-size:14px}.status-area{border-top:1px solid #f0f0f0;margin-top:16px;padding-top:16px}.status-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.status-help{border:1px solid #d9d9d9;border-radius:7px;padding:10px 16px;display:flex;gap:8px;color:#8c8c8c;font-size:12px;font-weight:400;line-height:20px}.info-circle{width:14px;height:14px;line-height:12px;border:1px solid currentColor;border-radius:50%;text-align:center;font-family:serif;font-size:11px;flex:none;margin-top:3px}.segmented{display:inline-flex;gap:0;padding:2px;border:1px solid #e1e3e8;background:#f3f3f3;border-radius:7px;height:34px;margin-bottom:16px}.segmented button{min-width:104px;padding:0 20px;color:#8c8c8c;border-radius:6px;font-size:14px}.segmented button.active{background:#fff;color:var(--brand);box-shadow:0 1px 4px #0002;font-weight:500}.detail-table th{height:54px}.detail-table td{height:78px;line-height:22px}.detail-table .desc-clamp{-webkit-line-clamp:2}
.overlay{position:fixed;inset:0;background:#0006;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.overlay.confirm-layer{z-index:130;align-items:flex-start;padding-top:100px}.modal{background:#fff;border-radius:8px;box-shadow:0 8px 24px #0002;max-height:calc(100vh - 48px);display:flex;flex-direction:column;position:relative;max-width:100%}.modal-heading{padding:20px 24px 16px;display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:500}.modal-body{padding:0 24px 24px;overflow:auto}.modal-footer{padding:12px 24px 20px;display:flex;gap:8px;justify-content:flex-end}.confirm-modal{width:416px;min-height:138px;padding:20px 24px;border-radius:8px;display:block}.confirm-content{display:flex;gap:12px}.warning-icon{width:22px;height:22px;border-radius:100%;background:#faad14;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:15px;flex:none;margin-top:1px;border:1px solid #eea20a}.confirm-title{font-size:16px;font-weight:600;margin:0 0 8px}.confirm-body{font-size:14px;line-height:22px}.confirm-buttons{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}.confirm-buttons .button{min-width:64px}
.agent-card{padding:20px;border:1px solid #e9e9ef;background:white;border-radius:8px;min-height:175px}.agent-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:20px}.agent-orb{width:32px;height:32px;border-radius:100%;background:conic-gradient(#90c5ff,#85d1b4,#c5c4f5,#90c5ff);flex:none}.agent-card footer{margin-top:24px;display:flex;gap:16px;align-items:center;color:#8c8c8c;font-size:12px}.agent-editor .topbar{height:60px;padding-left:12px}.editor-tools{display:flex;align-items:center;gap:12px}.editor-layout{height:calc(100vh - 60px);display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,1fr) minmax(280px,.55fr);gap:8px;padding:0 10px 10px}.editor-persona,.editor-preview{background:#fff;border:1px solid #e9e9e9;border-radius:8px;min-height:0;display:flex;flex-direction:column}.panel-heading{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #f0f0f0;font-size:16px;flex:none}.editor-persona textarea{border:0;resize:none;flex:1;padding:20px 24px;line-height:24px;width:100%;background:transparent;font-size:14px}.word-count{text-align:right;color:#bfbfbf;font-size:12px;padding:8px 24px 16px}.editor-center{overflow:auto;min-width:0;scrollbar-width:thin}.config-block{background:#fff;border:1px solid #e9e9e9;border-radius:8px;padding:20px 24px;margin-bottom:10px}.config-block h3{font-size:14px;margin-bottom:12px}.config-block h3:last-child{margin-bottom:0}.hint{font-size:12px;color:#8c8c8c;line-height:20px}.config-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.config-row:last-child{margin-bottom:0}.config-content{padding:12px;background:#fafafa;border-radius:6px;line-height:22px;font-size:12px}.config-content .icon{width:16px;height:16px;margin-right:6px}.editor-preview .preview-blank{flex:1;display:flex;align-items:center;justify-content:center;color:#bfbfbf;text-align:center;line-height:24px}.preview-compose{border:1px solid #d9d9d9;border-radius:7px;margin:24px;padding:16px;min-height:120px}.preview-compose textarea{width:100%;border:0;resize:none;height:48px;font-size:13px}.preview-compose .row{justify-content:flex-end;margin-top:8px}
.resource-modal{width:900px;border-radius:12px}.resource-modal .modal-heading{font-size:13px;padding:24px 24px 12px}.resource-modal .modal-body{padding:0 24px 16px}.library-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 4px 28px 14px}.library-choice{border:1px solid #dfe1e8;border-radius:9px;min-height:118px;padding:16px 24px;text-align:left;position:relative}.library-choice.active{border-color:#ff9a63;box-shadow:0 0 0 3px #fff5ed}.library-choice h3{font-weight:500;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-choice p{margin-top:8px;font-size:12px;color:#8c8c8c;line-height:20px;height:32px}.library-choice footer{text-align:right;font-size:12px;margin-top:8px}.corner-check{position:absolute;right:0;top:0;width:16px;height:16px;background:var(--brand);color:white;border-radius:0 8px 0 8px;text-align:center;font-size:13px}.resource-section{margin-left:14px}.radio-line{display:flex;gap:16px;margin:16px 0}.radio-line label{display:flex;align-items:center;gap:8px;cursor:pointer}.radio-line input,.table input[type=checkbox]{accent-color:var(--brand);width:16px;height:16px;margin:0;vertical-align:middle;cursor:pointer}.resource-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.resource-table th{height:46px}.resource-table td{height:48px;padding:10px 16px}.resource-table .checked{background:#fff3e6}.resource-table .product-name{gap:8px}.resource-table .name{flex:none;max-width:calc(100% - 110px)}.resource-table .check-cell{width:32px;padding-right:0}.resource-footer{display:flex;justify-content:center;padding:14px 24px 40px}.resource-note{font-size:12px;color:#8c8c8c;line-height:20px;margin-bottom:14px}.resource-all{padding:24px;background:#fafafa;border-radius:6px;line-height:24px;color:#8c8c8c;margin:12px 0 24px}.resource-all strong{display:block;color:var(--text);font-weight:400;margin-bottom:8px}.field{margin-bottom:20px}.field>label{display:block;margin-bottom:8px;font-size:14px}.view-product{display:grid;grid-template-columns:160px 1fr;gap:24px}.view-product img{width:160px;height:160px;object-fit:cover;border-radius:8px}.view-product p{font-size:13px;line-height:24px;color:#8c8c8c}.knowledge-item{border:1px solid #e8e8e8;border-radius:6px;padding:12px 16px;margin-bottom:8px;display:flex;justify-content:space-between}
.demo-toggle{position:fixed;bottom:14px;left:14px;z-index:95;color:#7d8795;font-size:11px;padding:6px 10px;background:#fff;border:1px solid #e6e8ed;border-radius:6px;box-shadow:0 2px 8px #00000008}.demo-toggle:hover{color:var(--brand)}#demo-panel{position:fixed;left:14px;bottom:52px;width:300px;max-height:calc(100vh - 80px);overflow:auto;background:#fff;border:1px solid #ddd;border-radius:10px;padding:18px;z-index:96;box-shadow:0 6px 30px #0002;font-size:12px}#demo-panel h3{margin-bottom:12px}#demo-panel p{color:#8c8c8c;line-height:20px;margin-bottom:12px}#demo-panel .demo-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}#demo-panel .button{font-size:12px;padding:0 10px}#demo-panel hr{border:0;border-top:1px solid #eee;margin:14px 0}#demo-panel label{display:flex;align-items:center;gap:8px;margin:12px 0}#toast{position:fixed;left:50%;top:24px;transform:translate(-50%,-12px);background:#fff;padding:10px 18px;border-radius:7px;box-shadow:0 3px 14px #0002;opacity:0;pointer-events:none;z-index:200;transition:.15s;white-space:nowrap;font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}#toast[data-kind=error]{color:#ff4d4f}#toast[data-kind=success]:before{content:'✓';color:#52c41a;margin-right:8px}
@media(min-width:1600px){.library-table .col-name{width:23%}.library-table .col-desc{width:23%}}@media(max-width:1400px){.library-layout{grid-template-columns:250px minmax(0,1fr);gap:20px}.library-table{min-width:900px}.table td,.table th{padding-left:12px;padding-right:12px}.editor-layout{grid-template-columns:minmax(270px,1fr) minmax(340px,1.05fr) minmax(260px,.75fr)}.config-block{padding:18px}.top-tools{gap:12px}.editor-tools .draft-time{display:none}.library-choice{padding:16px}.chat-layout{grid-template-columns:210px minmax(350px,1fr) 250px}}@media(max-width:1100px){.library-grid,.agent-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.editor-layout{grid-template-columns:280px minmax(330px,1fr)}.editor-preview{display:none}.chat-layout{grid-template-columns:200px minmax(330px,1fr)}.chat-customer{display:none}}@media(max-width:760px){.global-nav{width:64px}.global-nav .nav-item{padding:0;justify-content:center}.nav-item span,.nav-plan,.brand{display:none}.shell .topbar,.shell-main,.chat-layout{margin-left:64px}.shell-main{padding:0 16px 20px}.library-layout{display:flex;flex-direction:column;padding:12px}.library-aside{display:none}.table-panel{width:100%}.top-tools{gap:6px}.top-tools>.icon-button{display:none}.library-grid,.agent-grid{grid-template-columns:1fr}.detail-page{padding:0 12px}.product-description{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-summary{height:auto;min-height:58px}.editor-layout{display:flex;flex-direction:column;height:auto}.editor-persona{min-height:180px}.editor-center{overflow:visible}.editor-persona textarea{min-height:140px}.library-choices{grid-template-columns:1fr;margin-left:0;gap:8px}.library-choice{min-height:90px}.library-choice:not(.active){display:none}.resource-modal .modal-body{padding:0 16px 16px}.resource-section{margin:0}.resource-table{min-width:550px}.overlay{padding:12px}.confirm-layer{padding-top:100px!important}.topbar{padding-right:10px}.editor-tools .button:first-of-type{display:none}.chat-sidebar{display:none}.chat-layout{display:flex}.chat-panel{width:100%}.demo-toggle{left:auto;right:12px}#demo-panel{left:auto;right:12px}}
