:root{color:#14201b;background:#f3f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f3f6f8}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh;display:grid;grid-template-columns:284px minmax(0,1fr);background:radial-gradient(circle at top left,rgba(31,122,87,.08),transparent 34%),#f3f6f8}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;background:#10241b;border-right:1px solid rgba(255,255,255,.08);padding:20px 16px;display:flex;flex-direction:column;gap:16px;color:#eef8f1;transition:padding .18s ease,width .18s ease}.brand-block,.login-brand{display:flex;align-items:center;gap:12px}.brand-block{min-width:0}.brand-block>div:nth-child(2){min-width:0}.sidebar-collapse-button{width:34px;height:34px;margin-left:auto;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#ffffff12;color:#eef8f1d1;display:grid;place-items:center;flex:0 0 auto}.sidebar-collapse-button:hover,.sidebar-collapse-button:focus-visible{background:#ffffff24;color:#fff;outline:0}.brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#32d583,#0d7a55);color:#fff;font-weight:800;box-shadow:0 10px 30px #19c77933}.brand-block strong,.login-brand h1{display:block;font-size:17px;line-height:1.2;letter-spacing:0}.brand-block span,.login-brand p,.topbar p,td span,.item-card span,.compact-row span,.connection-row span{display:block;color:#68746c;font-size:12px;line-height:1.5}.brand-block span{color:#eef8f1a8}.tenant-card,.sidebar-ops-card{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#ffffff0f;padding:14px}.tenant-card{display:grid;gap:4px}.tenant-card span,.tenant-card small,.sidebar-ops-card span{color:#eef8f19e;font-size:12px}.tenant-card strong,.sidebar-ops-card strong{color:#fff;font-size:15px;line-height:1.35}.nav-list{display:flex;flex-direction:column;gap:14px}.nav-group{display:grid;gap:6px}.nav-group>p{margin:0 0 2px;padding:0 10px;color:#eef8f16b;font-size:11px;font-weight:800;letter-spacing:.08em}.sidebar-ops-card{margin-top:auto;display:flex;align-items:center;gap:10px}.sidebar-ops-card svg{color:#8bf2b8}.nav-item{width:100%;border:0;background:transparent;color:#eef8f1c7;border-radius:12px;min-height:54px;padding:9px 10px;display:flex;align-items:flex-start;gap:10px;text-align:left}.nav-item span{display:grid;gap:2px}.nav-item strong{color:inherit;font-size:14px;line-height:1.25}.nav-item small{color:#eef8f17a;font-size:11px;line-height:1.3}.nav-item.active{background:#e7fff1;color:#0f6849;font-weight:700;box-shadow:0 10px 30px #00000029}.nav-item.active small{color:#33745c}@media(min-width:901px){.app-shell.sidebar-collapsed{grid-template-columns:82px minmax(0,1fr)}.sidebar.collapsed{padding:18px 12px;align-items:center;gap:14px}.sidebar.collapsed .brand-block{width:100%;display:grid;justify-items:center;gap:10px}.sidebar.collapsed .brand-block>div:nth-child(2),.sidebar.collapsed .tenant-card span,.sidebar.collapsed .tenant-card small,.sidebar.collapsed .tenant-card strong,.sidebar.collapsed .nav-group>p,.sidebar.collapsed .nav-item span,.sidebar.collapsed .sidebar-ops-card div{display:none}.sidebar.collapsed .sidebar-collapse-button{margin-left:0}.sidebar.collapsed .tenant-card,.sidebar.collapsed .sidebar-ops-card{width:50px;min-height:50px;padding:0;display:grid;place-items:center;border-radius:16px}.sidebar.collapsed .tenant-card:before{content:"企";width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#ffffff1a;color:#fff;font-size:13px;font-weight:900}.sidebar.collapsed .nav-list{width:100%;gap:10px}.sidebar.collapsed .nav-group{justify-items:center;gap:8px}.sidebar.collapsed .nav-item{width:50px;min-height:50px;padding:0;justify-content:center;align-items:center;border-radius:16px}.sidebar.collapsed .nav-item svg{width:20px;height:20px}.sidebar.collapsed .nav-item.active{box-shadow:0 8px 22px #0000002e}}.workspace{min-width:0;padding:26px 28px 34px}.compliance-footer{margin-top:18px;display:flex;justify-content:center;color:#7a877f;font-size:12px;line-height:1.6}.compliance-footer.compact{margin-top:14px}.compliance-footer a{color:inherit;text-decoration:none}.compliance-footer a:hover,.compliance-footer a:focus-visible{color:#176b4d;text-decoration:underline}.topbar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.topbar h1,.section-title h2,.login-brand h1{margin:0}.topbar h1{font-size:26px;line-height:1.2;letter-spacing:0}.topbar p{margin:0 0 4px;color:#7a877f;font-weight:700}.topbar-title>span{display:block;margin-top:4px;color:#5c6a62;font-size:13px}.topbar-actions{display:flex;align-items:center;gap:10px}.icon-button,.admin-entry-button,.user-chip,.error-pill,.sync-pill{height:38px;border-radius:999px;border:1px solid #d9e1d9;background:#fff;color:#243128;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px}.icon-button{width:38px;padding:0}.admin-entry-button{font-weight:800;white-space:nowrap}.admin-entry-button:hover,.admin-entry-button:focus-visible{border-color:#1f7a57;color:#1f7a57}.admin-entry-button--active{background:#1f7a57;border-color:#1f7a57;color:#fff}.admin-entry-button svg{color:#1f7a57}.admin-entry-button--active svg{color:#fff}.error-pill{color:#8b2e22;background:#fff1ed;border-color:#ffcfc3;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sync-pill{color:#176b4d;background:#e9f7ef;border-color:#c6ead5;font-size:13px;font-weight:800}.sync-pill.loading{color:#805400;background:#fff3d6;border-color:#ffe1a3}.module-panel{min-height:calc(100vh - 112px)}.ops-dashboard{display:grid;gap:16px}.ops-hero{min-height:178px;border-radius:22px;padding:24px;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;color:#fff;background:linear-gradient(135deg,#081d15f0,#146748e6),radial-gradient(circle at 82% 20%,rgba(139,242,184,.46),transparent 34%);box-shadow:0 18px 50px #10241b2e;overflow:hidden;position:relative}.ops-hero:after{content:"";position:absolute;inset:18px 28px auto auto;width:220px;height:90px;border:1px solid rgba(255,255,255,.12);border-radius:999px;transform:rotate(-14deg)}.ops-hero>div{position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:6px;min-height:26px;border-radius:999px;padding:0 10px;background:#ffffff1f;color:#dff9e9;font-size:12px;font-weight:800}.ops-hero h2{max-width:760px;margin:14px 0 8px;font-size:clamp(26px,3vw,38px);line-height:1.12;letter-spacing:-.04em}.ops-hero p{max-width:720px;margin:0;color:#ffffffb8;line-height:1.7}.hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hero-actions .text-button{color:#fff;border-color:#fff3;background:#ffffff1a}.hero-actions .primary-button{color:#103222;background:#dfffe9}.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stats-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.visual-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.stat-card,.data-section,.form-panel,.item-card{background:#fff;border:1px solid #dde4dd;border-radius:8px;box-shadow:0 1px 2px #27372e0d}.stat-card{min-height:112px;padding:16px;display:grid;align-content:space-between;gap:8px}.visual-stat{min-height:150px;border-radius:18px;padding:16px;overflow:hidden;position:relative}.visual-stat:after{content:"";position:absolute;right:-28px;bottom:-34px;width:92px;height:92px;border-radius:999px;background:currentColor;opacity:.08}.visual-stat.green{color:#176b4d}.visual-stat.blue{color:#1d5e9f}.visual-stat.amber{color:#8a5a00}.visual-stat.gray{color:#657168}.stat-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:currentColor;color:#fff}.visual-stat .stat-icon svg{color:#fff}.stat-card svg{color:#1f7a57}.stat-card span{color:#68746c;font-size:13px}.stat-card strong{font-size:25px;line-height:1.1;letter-spacing:0}.visual-stat strong{color:#18231d;font-size:clamp(23px,2vw,30px);letter-spacing:-.03em}.visual-stat small{color:#6a776f;font-size:12px;line-height:1.4}.visual-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.visual-main,.visual-side{min-width:0;display:grid;gap:16px}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-header .section-title{margin-bottom:0}.panel-header>span{color:#7a877f;font-size:12px;white-space:nowrap}.growth-panel{border-radius:18px}.stage-funnel{display:grid;gap:12px}.mini-bar-row{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:center}.mini-bar-row>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.mini-bar-row span{color:#68746c;font-size:12px;font-weight:700}.mini-bar-row strong{color:#223028;font-size:15px}.mini-bar-track{height:12px;border-radius:999px;background:#edf2ef;overflow:hidden}.mini-bar-track span{display:block;height:100%;border-radius:inherit}.mini-bar-track .green{background:#20a66d}.mini-bar-track .blue{background:#4c8fdc}.mini-bar-track .amber{background:#f2a93b}.mini-bar-track .gray{background:#9aa79f}.operation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.operation-card{border:1px solid #dfe7e1;border-radius:18px;background:#fff;min-height:164px;padding:16px;display:grid;gap:10px;text-align:left;color:#1f2d25;box-shadow:0 1px 2px #27372e0d}.operation-card:hover{border-color:#b8d9c8;transform:translateY(-1px);box-shadow:0 12px 30px #27372e14}.operation-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#edf2ef;color:#146246}.operation-card.green .operation-icon{background:#e5f4ec;color:#146246}.operation-card.blue .operation-icon{background:#e6f0fb;color:#1d4e89}.operation-card.amber .operation-icon{background:#fff3d6;color:#805400}.operation-card strong{font-size:16px}.operation-card p{margin:0;color:#5e6b63;line-height:1.55}.operation-card small{margin-top:auto;display:inline-flex;align-items:center;gap:4px;color:#1f7a57;font-size:12px;font-weight:800}.operation-card.gray small{color:#68746c}.data-section,.form-panel{padding:16px;min-width:0}.span-2{grid-column:span 2}.span-3{grid-column:1 / -1}.section-title{display:flex;align-items:center;gap:8px;margin-bottom:14px;color:#243128}.section-title h2{font-size:16px;line-height:1.2;letter-spacing:0}.split-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:14px;align-items:start}.split-grid.single-column{grid-template-columns:minmax(0,1fr)}.side-stack{display:grid;gap:14px;align-self:start}.side-stack .form-panel{position:static}.main-table,.card-list-section{min-height:calc(100vh - 132px);overflow:auto}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.toolbar .section-title{margin-bottom:0}.table-actions{display:flex;justify-content:flex-end;margin:-4px 0 10px}.item-card footer{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px}.item-card footer>span{min-width:0;color:#68746c;font-size:12px}.item-card .text-button,td .text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.commerce-dialog{width:min(680px,100%)}.commerce-dialog header h2{margin:0;color:#18231d;font-size:20px}.ai-config-dialog-form footer.commerce-dialog-actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center}.search-box{width:min(300px,100%);height:38px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #d8e0d8;border-radius:8px;background:#fbfcfb}.search-box input{width:100%;border:0;outline:0;background:transparent}table{width:100%;border-collapse:collapse;table-layout:fixed}th,td{padding:12px 10px;border-bottom:1px solid #edf1ed;text-align:left;vertical-align:middle;word-break:break-word}th{color:#657168;font-size:12px;font-weight:700;background:#f8faf8}td{color:#243128;font-size:14px}td strong{display:block;line-height:1.4}.status-badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 9px;font-size:12px;font-weight:700;white-space:nowrap}.status-badge.green{color:#146246;background:#e5f4ec}.status-badge.blue{color:#1d4e89;background:#e6f0fb}.status-badge.amber{color:#805400;background:#fff3d6}.status-badge.gray{color:#59635c;background:#edf1ed}.form-panel{position:sticky;top:18px;display:flex;flex-direction:column;gap:12px}.settings-form{display:grid;gap:12px}.table-select{max-width:150px}.matrix-table th,.matrix-table td{width:15%}.matrix-table th:first-child,.matrix-table td:first-child{width:40%}.field{display:flex;flex-direction:column;gap:6px}.field span{color:#5b675f;font-size:13px;font-weight:700}.field-hint{color:#6b766e;font-size:12px;font-weight:650;line-height:1.45}.field input,.field select,.field textarea,.login-box input,.table-select{width:100%;border:1px solid #d6ded6;border-radius:8px;background:#fbfcfb;color:#17201b;min-height:40px;padding:9px 10px;outline:0}.field textarea{resize:vertical;min-height:108px}.field input:focus,.field select:focus,.field textarea:focus,.login-box input:focus{border-color:#1f7a57;box-shadow:0 0 0 3px #1f7a571f}.primary-button{min-height:42px;border:0;border-radius:8px;background:#1f7a57;color:#fff;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px}.primary-button:disabled{background:#a6b2ab;cursor:not-allowed}.text-button{min-height:32px;border:1px solid #d6ded6;border-radius:8px;background:#fbfcfb;color:#1f7a57;font-weight:800;padding:0 10px}.text-button:disabled{color:#8b968f;cursor:not-allowed}.text-button.danger{border-color:#f2b8ad;color:#b42318}.item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.item-card{padding:14px}.item-card header,.connection-row,.timeline-item{display:flex;align-items:center;justify-content:space-between;gap:12px}.item-card p{color:#435047;min-height:44px;margin:12px 0;line-height:1.55}.knowledge-workspace{display:grid;gap:18px}.knowledge-workspace.embedded{gap:14px}.knowledge-workspace.embedded .knowledge-start-section{border-color:#cfe9dc;background:linear-gradient(135deg,#1f7a5714,#fff0 54%),#fff}.knowledge-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,420px);align-items:start;gap:14px 18px;border-color:#cfe9dc;background:linear-gradient(135deg,#fff,#f5fbf7)}.knowledge-hero-copy{display:grid;gap:8px}.knowledge-eyebrow{width:fit-content;border-radius:999px;padding:5px 10px;background:#e7f7ee;color:#0f6d4b;font-size:12px;font-weight:900}.knowledge-hero p{max-width:780px;margin:0;color:#5d6b62;line-height:1.6}.knowledge-flow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;grid-column:1 / -1;border-radius:16px;border:1px solid #d9eadf;background:#fbfdfb;padding:10px 12px;color:#547264;font-size:12px;font-weight:800}.knowledge-flow svg{color:#a5b5ac}.knowledge-flow span{border-radius:999px;padding:7px 10px;background:#eef8f1;color:#17644a}.knowledge-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.knowledge-status-grid.simple{display:none;grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-status-grid>div{border-radius:16px;border:1px solid #dce8e0;background:#f7faf8;padding:14px;display:grid;gap:6px}.knowledge-status-grid.simple>div{padding:11px 12px}.knowledge-status-grid span{color:#68746c;font-size:12px;font-weight:700}.knowledge-status-grid strong{color:#14211b;font-size:24px}.knowledge-status-grid.simple strong{font-size:22px}.knowledge-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}.knowledge-layout.read-only{grid-template-columns:minmax(0,1fr)}.knowledge-layout.read-only .knowledge-asset-section{grid-column:1}.knowledge-asset-section{grid-column:1;grid-row:2;display:grid;gap:14px}.knowledge-section-head{display:grid;gap:12px}.knowledge-section-head p{margin:0;color:#5d6b62;line-height:1.55}.knowledge-start-section{display:grid;gap:14px;border-color:#cfe9dc;background:linear-gradient(135deg,#fff,#f5fbf7)}.knowledge-guide-steps{display:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.knowledge-guide-step{border-radius:14px;border:1px solid #dce8e0;background:#ffffffc7;padding:10px 12px;display:grid;gap:4px}.knowledge-guide-step strong{color:#1e2d25;font-size:13px}.knowledge-guide-step span{color:#708078;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.knowledge-guide-step.active{border-color:#24b374;background:#e9f8ef;box-shadow:0 8px 18px #1e87591a}.knowledge-guide-notice{min-height:38px;border-radius:14px;border:1px solid #cce9db;background:#eefaf3;color:#135e43;padding:9px 12px;display:flex;align-items:center;gap:8px;font-weight:800}.knowledge-start-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.knowledge-start-actions button{min-height:72px;border-radius:18px;border:1px solid #d8e7df;background:#fff;padding:12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;color:#1c2c24;cursor:pointer;box-shadow:0 6px 18px #1d4c330d}.knowledge-choice-topline{display:flex;align-items:center;gap:8px}.knowledge-choice-index{width:28px;height:28px;border-radius:999px;display:inline-grid;place-items:center;background:#113d2d;color:#fff;font-size:13px;font-weight:900}.knowledge-start-actions button svg{color:#19a86d}.knowledge-start-actions button strong,.knowledge-template-list button strong{font-size:14px}.knowledge-start-actions button>span:not(.knowledge-choice-topline),.knowledge-template-list button span{color:#5e6e65;line-height:1.45;font-size:12px}.knowledge-start-actions button>span:not(.knowledge-choice-topline){display:none}.knowledge-start-actions button small{justify-self:end;border-radius:999px;padding:5px 9px;background:#eef8f1;color:#14704e;font-weight:800}.knowledge-start-actions button.active,.knowledge-start-actions button:hover,.knowledge-start-actions button:focus-visible,.knowledge-template-list button.active,.knowledge-template-list button:hover,.knowledge-template-list button:focus-visible{border-color:#35b577;outline:0;box-shadow:0 10px 24px #188f5b1f}.knowledge-start-actions button.active{background:#effaf4}.knowledge-start-actions button.active .knowledge-choice-index{background:#16a464}.knowledge-template-list button.active{background:#eaf8ef}.knowledge-template-block{display:grid;gap:10px}.knowledge-template-helper{border-radius:14px;border:1px solid #d9eadf;background:#fbfdfb;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.knowledge-template-helper strong{color:#1e2d25;font-size:13px}.knowledge-template-helper span{color:#66756c;font-size:12px;line-height:1.5}.knowledge-template-shortcuts{display:flex;flex-wrap:wrap;gap:8px}.knowledge-template-list.collapsed{display:none}.knowledge-template-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.knowledge-template-list button{border-radius:16px;border:1px dashed #cfe2d8;background:#fbfdfb;padding:12px;display:grid;gap:6px;text-align:left;color:#1e2c25;cursor:pointer}.knowledge-template-list button small{justify-self:start;border-radius:999px;padding:4px 8px;background:#edf8f1;color:#157250;font-size:11px;font-weight:800}.knowledge-advanced-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.knowledge-advanced-head>div{display:grid;gap:6px}.knowledge-filter-bar{display:grid;grid-template-columns:minmax(0,1fr) 168px;gap:12px;align-items:end}.knowledge-purpose-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.knowledge-purpose-tabs button{min-height:54px;border-radius:14px;border:1px solid #d7e3dc;background:#f7faf8;color:#526158;padding:8px 10px;display:grid;gap:2px;text-align:left;cursor:pointer}.knowledge-purpose-tabs button strong{color:#223028;font-size:12px}.knowledge-purpose-tabs button span{color:#738178;font-size:11px}.knowledge-purpose-tabs button.active,.knowledge-purpose-tabs button:hover,.knowledge-purpose-tabs button:focus-visible{border-color:#35b577;color:#0d5b40;background:#e6f6ee;outline:0}.knowledge-category-select{display:grid;gap:6px;color:#536158;font-size:12px;font-weight:800}.knowledge-category-select select{width:100%;min-height:40px;border:1px solid #d7e3dc;border-radius:12px;background:#fff;color:#1f2d26;padding:0 10px;font:inherit}.knowledge-category-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-gutter:stable}.knowledge-category-tabs button{white-space:nowrap;border-radius:999px;border:1px solid #d7e3dc;background:#f7faf8;color:#526158;padding:7px 10px;font-size:12px}.knowledge-category-tabs button.active,.knowledge-category-tabs button:hover,.knowledge-category-tabs button:focus-visible{border-color:#35b577;color:#0d5b40;background:#e6f6ee;outline:0}.knowledge-category-tabs.compact button{padding:6px 9px;font-size:11px}.knowledge-asset-list{display:grid;gap:12px}.knowledge-collapsed-summary{border-radius:16px;border:1px dashed #cfe2d8;background:#fbfdfb;padding:14px;display:grid;gap:6px}.knowledge-collapsed-summary strong{color:#1f3028}.knowledge-collapsed-summary span{color:#65746c;line-height:1.5;font-size:13px}.knowledge-asset-card{border-radius:16px;border:1px solid #dce8e0;background:#fff;padding:14px;display:grid;gap:10px}.knowledge-asset-card header,.knowledge-asset-card footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.knowledge-asset-card header>div{display:grid;gap:3px}.knowledge-asset-card header span,.knowledge-asset-card footer small{color:#718078;font-size:12px}.knowledge-asset-card p{margin:0;color:#526158;line-height:1.55}.knowledge-usage-chips{display:flex;flex-wrap:wrap;gap:7px}.knowledge-usage-chips span{border-radius:999px;padding:5px 8px;background:#f1f6f3;color:#53645a;font-size:12px;font-weight:700}.knowledge-asset-card footer button{min-height:32px;border-radius:999px;padding:0 12px;color:#116047;background:#e7f5ed}.knowledge-side-stack{grid-column:1;grid-row:1;display:grid;gap:14px}.knowledge-test-panel,.knowledge-add-panel form{display:grid;gap:12px}.knowledge-add-panel{border-color:#bde8d0;box-shadow:0 14px 34px #14593a14}.knowledge-form-tip{border-radius:14px;border:1px solid #d7e9df;background:#f3fbf6;padding:10px 12px;color:#3f5448;font-size:12px;line-height:1.5}.knowledge-test-panel label,.knowledge-add-panel label{display:grid;gap:6px;color:#4e5c54;font-size:13px;font-weight:700}.knowledge-test-panel textarea,.knowledge-add-panel input,.knowledge-add-panel select,.knowledge-add-panel textarea{width:100%;border:1px solid #d8e2dc;border-radius:12px;padding:10px 12px;background:#fbfdfb;color:#17231d;font:inherit}.knowledge-test-panel textarea,.knowledge-add-panel textarea{resize:vertical;min-height:92px}.knowledge-add-panel label:focus-within span,.knowledge-test-panel label:focus-within span{color:#0f6d4b}.knowledge-answer-preview{border-radius:16px;border:1px solid #d7e9df;background:#f3fbf6;padding:12px;display:grid;gap:8px}.knowledge-answer-preview span{color:#126145;font-size:12px;font-weight:800}.knowledge-answer-preview p{margin:0;color:#34443b;line-height:1.55}.knowledge-hit-list{display:grid;gap:4px}.knowledge-hit-list small{color:#5f7168;line-height:1.4}.secondary-action{min-height:34px;border:1px solid #cfe3d7;background:#f6fbf8;color:#126145;border-radius:999px;padding:0 12px;font-weight:800;cursor:pointer}.secondary-action:disabled{cursor:not-allowed;opacity:.55}.knowledge-check-list{display:grid;gap:8px}.knowledge-advanced-options{border-radius:14px;border:1px solid #dce8e0;background:#fbfdfb;padding:10px 12px;display:grid;gap:10px}.knowledge-advanced-options summary{cursor:pointer;color:#126145;font-size:13px;font-weight:900}.knowledge-advanced-options[open]{background:#f5fbf7}.knowledge-add-panel button[type=submit],.knowledge-test-panel .secondary-action,.knowledge-enable-button{width:100%;min-height:42px}.knowledge-add-panel button[type=submit]{border:0;border-radius:14px;background:#16a464;color:#fff;font-weight:900;cursor:pointer}.knowledge-add-panel button[type=submit]:disabled{cursor:not-allowed;opacity:.55}.knowledge-check-list label{display:flex;align-items:center;gap:8px;min-height:34px;border-radius:12px;padding:0 10px;background:#f4f8f5;font-size:12px}.knowledge-check-list input{width:auto}.knowledge-enable-button{min-height:40px;justify-content:center}.knowledge-add-panel small{color:#75827a;line-height:1.45}.timeline-list,.compact-list,.connection-list,.kv-list{display:grid;gap:10px}.timeline-item,.compact-row,.connection-row{min-height:46px;padding:10px;border-radius:8px;background:#f8faf8}.empty-state{min-height:46px;display:flex;align-items:center;padding:10px;border:1px dashed #d8e0d8;border-radius:8px;color:#68746c;background:#fbfcfb}.timeline-item time{color:#68746c;font-size:12px;white-space:nowrap}.kv-list{grid-template-columns:86px minmax(0,1fr);align-items:center}.kv-list span{color:#68746c}.big-number{font-size:42px;font-weight:900;line-height:1.1;letter-spacing:0;color:#1f7a57}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,rgba(31,122,87,.08),transparent 38%),#f5f7f4}.login-content{width:min(420px,100%);display:grid}.login-box{width:100%;border-radius:8px;border:1px solid #dbe4dc;background:#fff;padding:24px;display:grid;gap:16px}.login-brand{margin-bottom:8px}.login-brand p{margin:0 0 2px}.segmented-control{min-height:40px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border-radius:8px;background:#eef3ef;border:1px solid #dbe4dc}.segmented-control.tabs-4{grid-template-columns:repeat(4,minmax(0,1fr))}.segmented-control.tabs-5{grid-template-columns:repeat(5,minmax(0,1fr))}.segmented-control button{min-width:0;min-height:34px;border:0;border-radius:6px;background:transparent;color:#526158;font-size:14px;font-weight:800;white-space:nowrap}.segmented-control button.active{background:#fff;color:#146246;box-shadow:0 1px 2px #27372e14}.login-box label{display:grid;gap:6px;color:#5b675f;font-size:13px;font-weight:700}.login-mode-note{margin:-5px 0 0;border-radius:8px;background:#f3f8f5;color:#526158;font-size:12px;font-weight:750;line-height:1.55;padding:9px 10px}.login-field-note{color:#6b766e;font-size:12px;font-weight:650;line-height:1.45}.compact-login-message{padding:10px;text-align:left}.form-error{min-height:38px;border-radius:8px;background:#fff1ed;border:1px solid #ffcfc3;color:#8b2e22;display:flex;align-items:center;padding:0 10px}.compact-error{margin-bottom:12px}.ai-model-grid{align-items:start}.ai-model-main,.ai-test-section,.ai-compat-section{display:grid;gap:14px}.ai-model-main{min-width:0}.ai-test-section{align-self:start;position:sticky;top:18px}.ai-config-console,.ai-provider-board,.ai-config-form.simple{display:grid;gap:12px}.ai-provider-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-provider-toolbar div{display:grid;gap:2px}.ai-provider-toolbar span,.ai-provider-picker header span{color:#5b675f;font-size:12px;font-weight:800}.ai-provider-toolbar strong,.ai-provider-picker header strong{color:#17201b;font-size:16px;line-height:1.3}.ai-provider-add{width:40px;height:40px;border:0;border-radius:999px;background:#ff7a1a;color:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 8px 18px #ff7a1a38}.ai-provider-add:hover,.ai-provider-add:focus-visible{background:#f06e10;outline:0}.ai-active-model-card{width:100%;min-width:0;min-height:68px;border:1px solid #cfe0d6;border-radius:12px;background:#fff;color:#17201b;display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px}.ai-status-dot{width:8px;height:8px;border-radius:999px;background:#c7d1ca}.ai-status-dot.online{background:#1f7a57;box-shadow:0 0 0 4px #1f7a571f}.ai-active-model-card div{min-width:0;display:grid;gap:3px}.ai-active-model-card span,.ai-editor-header span{display:block;color:#5b675f;font-size:12px;font-weight:800}.ai-active-model-card strong,.ai-editor-header strong{color:#17201b;font-size:17px;line-height:1.35;overflow-wrap:anywhere}.ai-active-model-card small{overflow:hidden;color:#526158;font-size:13px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.ai-editor-protocol,.ai-channel-badge{border:1px solid #d6ded6;border-radius:999px;background:#fff;color:#344139;line-height:1;padding:7px 9px}.ai-provider-action{border-radius:999px;background:#eaf7ef;color:#1f6d4f;font-size:12px;font-weight:900;line-height:1;padding:8px 10px;white-space:nowrap}.ai-provider-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.ai-provider-actions button{min-height:32px;border:1px solid #cfe0d6;border-radius:8px;background:#fff;color:#1f6d4f;cursor:pointer;font-size:12px;font-weight:900;padding:0 10px;white-space:nowrap}.ai-provider-actions button:hover,.ai-provider-actions button:focus-visible{border-color:#1f7a57;outline:0}.ai-provider-picker{display:grid;gap:10px;border:1px solid #d9e1dc;border-radius:12px;background:#fbfcfb;padding:12px}.ai-provider-picker header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-provider-picker header div{min-width:0;display:grid;gap:2px}.ai-provider-picker header button{width:34px;height:34px;border:1px solid #dce4df;border-radius:999px;background:#fff;color:#526158;cursor:pointer;font-size:22px;line-height:1}.ai-provider-tabs{min-height:40px;display:grid;grid-template-columns:1fr 1fr;gap:4px;border-radius:8px;background:#f0f0f2;padding:4px}.ai-provider-tabs button{border:0;border-radius:7px;background:transparent;color:#777e87;cursor:pointer;font-size:13px;font-weight:900}.ai-provider-tabs button.active{background:#1f7a57;color:#fff}.ai-provider-option-grid{max-height:280px;overflow-y:auto;display:grid;grid-template-columns:1fr;gap:6px;padding-right:2px;scrollbar-gutter:stable}.ai-provider-option{min-width:0;min-height:54px;border:1px solid #e1e6e3;border-radius:10px;background:#fff;color:#17201b;cursor:default;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;text-align:left}.ai-provider-option:hover,.ai-provider-option:focus-visible,.ai-provider-option.selected{border-color:#1f7a57;background:#f3fbf6;outline:0}.ai-provider-option.active{border-color:#1f7a57;background:#f0fbf5}.ai-provider-option:disabled{cursor:wait;opacity:.74}.ai-provider-option-main{min-width:0;display:flex;align-items:center;gap:10px}.ai-provider-avatar{width:40px;height:40px;border-radius:12px;background:#f4eee9;color:#d36f31;display:grid;place-items:center;font-size:18px;font-weight:900}.ai-provider-avatar.small{width:32px;height:32px;border-radius:9px;font-size:14px}.ai-provider-option-main>span:last-child{min-width:0;display:grid;gap:2px}.ai-provider-option-main strong{color:#17201b;font-size:14px;line-height:1.3}.ai-provider-option-main small{overflow:hidden;color:#657268;display:-webkit-box;font-size:12px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ai-provider-option-meta{display:flex;align-items:center;gap:6px}.ai-channel-badge{flex:0 0 auto;background:#edf7f1;border-color:#c9e6d3;color:#1f6d4f;font-size:12px;font-weight:800}.ai-channel-badge.muted{background:#f2f3f2;border-color:#d9dfdb;color:#647069}.ai-provider-option-meta em{flex:0 0 auto;border-radius:999px;background:#1f7a57;color:#fff;font-size:12px;font-style:normal;font-weight:800;padding:4px 7px}.ai-config-placeholder{min-height:96px;border:1px dashed #bdd5c8;border-radius:12px;background:#fbfdfb;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px}.ai-config-placeholder div:first-child{min-width:0;display:grid;gap:4px}.ai-config-placeholder strong{color:#17201b;font-size:16px;line-height:1.35}.ai-config-placeholder span{color:#5b675f;font-size:13px;line-height:1.45}.ai-setup-actions{flex:0 0 auto;display:flex;align-items:center;gap:8px}.ai-setup-actions button{min-height:36px;border:1px solid #cfe0d6;border-radius:8px;background:#fff;color:#1f6d4f;cursor:pointer;font-size:13px;font-weight:900;padding:0 12px}.ai-setup-actions button:first-child{border-color:#1f7a57;background:#1f7a57;color:#fff}.ai-compat-grid div{min-width:0;border:1px solid #dde4dd;border-radius:8px;background:#fbfcfb;padding:10px}.ai-compat-grid span,.ai-empty-hint{display:block;color:#5b675f;font-size:13px;line-height:1.55}.ai-compat-grid strong{display:block;margin-top:4px;color:#17201b;overflow-wrap:anywhere}.ai-config-form{gap:10px}.ai-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-editor-protocol{flex:0 0 auto;background:#edf7f1;border-color:#c9e6d3;color:#1f6d4f}.ai-editor-protocol.warning{background:#fff3d6;border-color:#f1d386;color:#684600}.ai-config-card{display:grid;gap:12px;border:1px solid #cfe0d6;border-radius:12px;background:#fff;padding:14px}.ai-config-note{margin:0;border-radius:8px;background:#f4faf7;color:#345545;font-size:13px;line-height:1.55;padding:9px 10px}.ai-main-fields{display:grid;gap:10px}.ai-save-row{display:flex;justify-content:flex-end}.ai-save-row .primary-button{min-width:148px}.ai-advanced-panel{border:1px solid #dde4dd;border-radius:12px;background:#fff;padding:0}.ai-advanced-panel.subtle{background:#fbfcfb;border-color:#e1e6e3}.ai-advanced-panel summary{cursor:pointer;padding:10px 12px;color:#243128;font-size:13px;font-weight:800}.ai-advanced-panel .settings-form{padding:0 12px 12px}.ai-help-copy{margin:0;padding:0 12px 12px;color:#5b675f;font-size:13px;line-height:1.6}.ai-compat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.kv-list.compact{gap:8px 10px}.ai-result-panel{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid #d6ded6;border-radius:8px;background:#fbfcfb;min-width:0}.ai-result-panel.compact{gap:6px}.ai-result-panel span{color:#5b675f;font-size:13px}.ai-result-panel pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#17201b;font:inherit;line-height:1.6}.ai-model-workspace{display:grid;gap:14px}.ai-config-status-panel{display:grid;gap:12px}.admin-ai-model-workspace>.data-section{border:0;background:transparent;box-shadow:none;padding:0}.ai-status-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-status-heading .section-title{margin-bottom:0}.ai-config-workbench{display:grid;grid-template-columns:minmax(230px,.84fr) minmax(320px,1.2fr) minmax(270px,.98fr);gap:14px;align-items:stretch}.ai-config-workbench.admin-settings{grid-template-columns:minmax(360px,1.12fr) minmax(320px,.88fr)}.account-ai-model-workspace .ai-config-workbench{align-items:start}.ai-model-selector-panel,.ai-test-panel,.ai-config-editor-panel{display:grid;gap:12px;align-content:start;min-width:0}.ai-test-panel{grid-template-rows:auto auto minmax(268px,1fr) auto auto}.account-ai-test-panel{grid-template-rows:auto auto minmax(180px,1fr) auto}.account-ai-test-panel .ai-answer-box{height:clamp(180px,28vh,320px);min-height:180px}.account-ai-test-panel .ai-answer-loading{min-height:120px}.account-ai-test-panel .ai-composer-actions{justify-content:flex-end}.ai-panel-copy{color:#5b675f;font-size:13px;font-weight:700;line-height:1.5}.ai-model-section-note{color:#66766c;font-size:12px;font-weight:750;line-height:1.5;margin:-4px 0 0}.ai-model-choice-list{display:grid;max-height:604px;gap:12px;overflow-y:auto;padding-right:4px}.ai-model-choice-section{display:grid;gap:8px}.ai-model-choice-section>span{color:#68746c;font-size:12px;font-weight:900}.ai-model-selector-empty{min-height:178px;align-content:center}.ai-model-option{min-height:84px;border-color:#dce2df;border-radius:14px;gap:12px;padding:12px}.ai-model-option:hover,.ai-model-option:focus-within{border-color:#8bbbf5;background:#f4f9ff}.ai-model-option.selected{border-color:#4a9cff;background:#edf6ff;box-shadow:0 0 0 1px #4a9cff}.ai-model-option.active{border-color:#1f7a57}.ai-model-option.saved{background:#fbfdfb}.ai-model-option .ai-provider-option-main{gap:12px}.ai-model-select-button{min-width:0;width:100%;border:0;background:transparent;color:inherit;cursor:pointer;padding:0;text-align:left}.ai-model-select-button:disabled{cursor:wait}.ai-model-select-button:focus-visible{outline:2px solid #8bbbf5;outline-offset:4px}.ai-model-option .ai-provider-avatar.small{width:38px;height:38px;border-radius:999px;background:#f5f6f7;color:#526158}.ai-model-option .ai-provider-avatar.small.custom{background:#e8f5ee;color:#1f6d4f}.ai-model-option .ai-provider-option-main strong{font-size:15px}.ai-model-option .ai-provider-option-main small{display:block;color:#006be6;line-height:1.45;-webkit-line-clamp:1}.ai-model-option .ai-provider-option-meta{justify-self:end}.ai-model-enable-button{min-height:34px;border:0;border-radius:10px;background:#1f7a57;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:900;padding:0 12px;white-space:nowrap}.ai-model-enable-button:hover,.ai-model-enable-button:focus-visible{background:#176b4d;outline:0}.ai-model-enable-button.active{background:#e7f4ed;color:#1f6d4f}.ai-model-enable-button:disabled{cursor:wait;opacity:.72}.ai-selected-model-detail{border:1px solid #dce4df;border-radius:12px;background:#fbfcfb;display:grid;gap:5px;padding:12px}.ai-selected-model-detail span{color:#5b675f;font-size:12px;font-weight:900}.ai-selected-model-detail strong{color:#17201b;font-size:15px}.ai-selected-model-detail p{margin:0;color:#5b675f;font-size:13px;line-height:1.55}.ai-selected-model-detail small{color:#6a766e;font-size:12px;line-height:1.5}.ai-test-panel.dragging{border-color:#1f7a57;background:#f6fff9}.ai-test-channel-card{border:1px solid #d9e1dc;border-radius:10px;background:#fbfcfb;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px}.ai-test-channel-card div{min-width:0;display:grid;gap:3px}.ai-test-channel-card span{color:#5b675f;font-size:12px;font-weight:800}.ai-test-channel-card strong{color:#17201b;overflow-wrap:anywhere}.ai-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.ai-attachment-list{display:grid;gap:8px}.ai-attachment-chip{min-width:0;border:1px solid #dce4df;border-radius:10px;background:#fff;display:grid;grid-template-columns:24px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:8px}.ai-attachment-chip>svg{color:#1f7a57}.ai-attachment-chip div{min-width:0;display:grid;gap:2px}.ai-attachment-chip strong{overflow:hidden;color:#17201b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.ai-attachment-chip span{color:#5b675f;font-size:12px}.ai-attachment-chip button{width:28px;height:28px;border:1px solid #dce4df;border-radius:8px;background:#fff;color:#5b675f;cursor:pointer;font-size:18px;line-height:1}.ai-attachment-chip button:hover,.ai-attachment-chip button:focus-visible{border-color:#d65f46;color:#8b2e22;outline:0}.ai-custom-preset-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.ai-attachment-notice{border-radius:8px;background:#fff8e6;color:#6b4a00;font-size:13px;font-weight:700;line-height:1.5;padding:9px 10px}.ai-config-notice{border:1px solid #c9e6d3;border-radius:10px;background:#f2fbf6;color:#1f6d4f;font-size:13px;font-weight:800;line-height:1.5;padding:10px 12px}.ai-answer-box{height:clamp(280px,48vh,520px);min-height:268px;border:1px solid #d6ded6;border-radius:12px;background:#fbfcfb;display:grid;align-content:start;gap:8px;overflow-y:auto;overscroll-behavior:contain;padding:12px;scrollbar-gutter:stable}.ai-answer-box::-webkit-scrollbar{width:10px}.ai-answer-box::-webkit-scrollbar-thumb{border:3px solid #fbfcfb;border-radius:999px;background:#c7d3cc}.ai-answer-box strong{color:#17201b;font-size:13px}.ai-answer-box p,.ai-answer-box pre{margin:0;color:#17201b;font:inherit;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.ai-answer-box .ai-answer-error{border:1px solid #ffd1c6;border-radius:10px;background:#fff4f1;color:#8b2e22;font-weight:800;padding:10px}.ai-answer-hint{color:#5b675f;font-weight:700}.ai-answer-placeholder{min-height:100%}.ai-answer-loading{min-height:136px;border:1px dashed #cbd8d1;border-radius:12px;background:#fff;color:#344139;display:flex;align-items:center;justify-content:center;gap:12px;padding:16px}.ai-answer-loading>div{display:grid;gap:4px}.ai-answer-loading strong{font-size:14px}.ai-answer-loading p{color:#5b675f;font-size:13px;font-weight:700}.ai-loading-dots{width:42px;height:42px;border-radius:999px;background:#edf7f1;display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:0 0 auto}.ai-loading-dots i{width:6px;height:6px;border-radius:999px;background:#1f7a57;animation:ai-loading-dot .9s ease-in-out infinite}.ai-loading-dots i:nth-child(2){animation-delay:.14s}.ai-loading-dots i:nth-child(3){animation-delay:.28s}.ai-chat-composer{border:1px solid #d6ded6;border-radius:14px;background:#fff;display:grid;grid-template-columns:1fr;gap:10px;padding:10px}.ai-chat-composer textarea{width:100%;min-height:76px;max-height:170px;border:0;background:transparent;color:#17201b;outline:0;padding:6px 4px;resize:vertical}.ai-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.ai-composer-add{min-width:86px;height:38px;border:1px solid #d6ded6;border-radius:999px;background:#fbfcfb;color:#1f7a57;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:900;padding:0 12px}.ai-composer-add:hover,.ai-composer-add:focus-visible{border-color:#1f7a57;background:#edf7f1;outline:0}.ai-send-button{min-width:96px;min-height:38px;border-radius:999px}.ai-send-button.waiting{background:#176b4d}.ai-send-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:999px;animation:ai-send-spin .8s linear infinite}@keyframes ai-loading-dot{0%,to{opacity:.38;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}@keyframes ai-send-spin{to{transform:rotate(360deg)}}.ai-custom-preset-row button{min-height:34px;border:1px solid #d6ded6;border-radius:999px;background:#fff;color:#344139;cursor:pointer;font-size:12px;font-weight:900;padding:0 10px}.ai-custom-preset-row button:hover,.ai-custom-preset-row button:focus-visible,.ai-custom-preset-row button.active{border-color:#1f7a57;background:#edf7f1;color:#1f6d4f;outline:0}.ai-custom-preset-row button:disabled{cursor:wait;opacity:.72}.ai-config-editor-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-config-editor-header .section-title{margin-bottom:0}.ai-add-config-button{min-height:34px;border:1px solid #1f7a57;border-radius:999px;background:#1f7a57;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:900;padding:0 12px;white-space:nowrap}.ai-add-config-button:hover,.ai-add-config-button:focus-visible{background:#176b4d;outline:0}.ai-add-config-button:disabled{cursor:wait;opacity:.66}.ai-custom-model-list{display:grid;gap:10px;max-height:484px;overflow-y:auto;padding-right:3px}.ai-custom-model-card{border:1px solid #dce4df;border-radius:12px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px}.ai-custom-model-card:hover,.ai-custom-model-card.selected{border-color:#8bbbf5;background:#f6faff}.ai-custom-model-card.active{border-color:#1f7a57;background:#f4fbf7}.ai-custom-model-main{min-width:0;border:0;background:transparent;color:inherit;cursor:pointer;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:0;text-align:left}.ai-custom-model-main:disabled{cursor:wait}.ai-custom-model-main:focus-visible{outline:2px solid #8bbbf5;outline-offset:4px}.ai-provider-avatar.custom{width:38px;height:38px;border-radius:999px;background:#f5f6f7;color:#526158}.ai-custom-model-main>span:last-child{min-width:0;display:grid;gap:3px}.ai-custom-model-main strong{color:#17201b;font-size:14px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-custom-model-main small{color:#006be6;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-custom-model-main em{color:#5b675f;font-size:12px;font-style:normal;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-custom-model-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.ai-config-icon-button{width:34px;height:34px;border:1px solid #d6ded6;border-radius:10px;background:#fff;color:#526158;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.ai-config-icon-button:hover,.ai-config-icon-button:focus-visible{border-color:#8bbbf5;color:#1b5ca8;outline:0}.ai-config-icon-button.danger:hover,.ai-config-icon-button.danger:focus-visible{border-color:#f1b5a6;background:#fff4f1;color:#9a321f}.ai-config-icon-button:disabled{cursor:wait;opacity:.62}.ai-custom-config-empty{border:1px dashed #bcd3c6;border-radius:12px;background:#fbfdfb;display:grid;gap:6px;padding:16px}.ai-custom-config-empty strong{color:#17201b;font-size:15px}.ai-custom-config-empty p{margin:0;color:#5b675f;font-size:13px;font-weight:700;line-height:1.55}.ai-custom-selected-detail{background:#f7fbf8}.ai-config-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:20px;background:#0f181461}.ai-config-dialog{width:min(520px,100%);max-height:min(720px,calc(100vh - 40px));overflow-y:auto;border:1px solid #d7e5dd;border-radius:18px;background:#fff;box-shadow:0 24px 80px #0f18143d;display:grid;gap:14px;padding:16px}.ai-config-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-config-dialog header div{min-width:0;display:grid;gap:4px}.ai-config-dialog header span{color:#68746c;font-size:12px;line-height:1.5}.ai-config-dialog header strong{color:#18231d;font-size:20px;line-height:1.2}.ai-config-dialog header button{width:34px;height:34px;border:0;border-radius:999px;background:#f2f6f4;color:#536158;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.ai-config-dialog header button:hover,.ai-config-dialog header button:focus-visible{background:#e5f4eb;color:#146246;outline:0}.ai-config-dialog-form{display:grid;gap:12px}.ai-config-dialog-form p{margin:0;border-radius:10px;background:#f4f8f6;color:#536158;font-size:12px;font-weight:700;line-height:1.55;padding:10px}.ai-config-dialog-form footer{display:flex;justify-content:flex-end;gap:10px;padding-top:2px}.ai-config-dialog-form footer .primary-button,.ai-config-dialog-form footer .text-button{min-height:38px}.platform-model-dialog{width:min(760px,100%)}.account-custom-model-dialog{width:min(620px,100%)}.account-custom-model-form,.platform-model-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:4px}.account-custom-model-form label,.account-custom-model-form .ai-model-discovery-field,.platform-model-form label{min-width:0;display:grid;gap:6px}.account-custom-model-form label>span,.account-custom-model-form .ai-model-discovery-field>span,.platform-model-form label>span{color:#53625a;font-size:12px;font-weight:900;line-height:1.35}.account-custom-model-form input,.platform-model-form input{width:100%;min-height:42px;border:1px solid #d4e3da;border-radius:10px;background:#fff;color:#17201b;font:inherit;font-size:13px;font-weight:700;padding:9px 11px;transition:border-color .16s ease,box-shadow .16s ease}.account-custom-model-form input:hover,.platform-model-form input:hover{border-color:#accbbb}.account-custom-model-form input:focus,.platform-model-form input:focus{border-color:#1f7a57;box-shadow:0 0 0 3px #1f7a571f;outline:0}.ai-model-discovery-field{align-content:start}.ai-model-discovery-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.ai-model-select{min-width:0;position:relative}.account-custom-model-form .ai-model-select>input{padding-right:40px}.ai-model-select-trigger{width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#53625a;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;position:absolute;right:4px;top:4px}.ai-model-select-trigger:hover,.ai-model-select-trigger:focus-visible{background:#edf7f1;color:#176b4d;outline:0}.ai-model-select-trigger:disabled{cursor:default;opacity:.38}.ai-model-options{max-height:232px;border:1px solid #d4e3da;border-radius:10px;background:#fff;box-shadow:0 12px 28px #17201b24;display:grid;gap:2px;left:0;overflow-y:auto;padding:5px;position:absolute;right:0;top:calc(100% + 5px);z-index:20}.ai-model-option-choice{width:100%;min-height:36px;border:0;border-radius:7px;background:transparent;color:#26332c;cursor:pointer;font:inherit;font-size:13px;font-weight:700;overflow-wrap:anywhere;padding:8px 10px;text-align:left}.ai-model-option-choice:hover,.ai-model-option-choice:focus-visible,.ai-model-option-choice[aria-selected=true]{background:#edf7f1;color:#176b4d;outline:0}.ai-model-discovery-button{min-height:42px;border:1px solid #1f7a57;border-radius:10px;background:#fff;color:#176b4d;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:13px;font-weight:900;padding:0 12px;white-space:nowrap}.ai-model-discovery-button:hover,.ai-model-discovery-button:focus-visible{background:#edf7f1;outline:0}.ai-model-discovery-button:disabled{cursor:not-allowed;opacity:.58}.ai-model-discovery-button .spinning{animation:spin .9s linear infinite}.ai-model-discovery-notice{color:#5e6d65;font-size:12px;line-height:1.45}.admin-ai-model-workspace .ai-custom-model-actions button{min-height:38px;border:1px solid #1f7a57;border-radius:10px;background:#fff;color:#176b4d;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:900;padding:0 13px;white-space:nowrap}.admin-ai-model-workspace .ai-custom-model-actions button:hover,.admin-ai-model-workspace .ai-custom-model-actions button:focus-visible{background:#edf7f1;outline:0}.admin-ai-model-workspace .ai-custom-model-actions button:disabled{cursor:not-allowed;opacity:.58}.platform-price-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;border:1px solid #e0e8e2;border-radius:10px;background:#f8fbf9;padding:12px}.account-custom-model-form>footer,.platform-model-form>footer{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px}.agent-workspace{display:grid;gap:14px}.ai-auto-reply-anchor{scroll-margin-top:18px}.ai-auto-reply-hero{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(520px,1.28fr);align-items:stretch;gap:18px;border-color:#cfe9dc;background:linear-gradient(135deg,#1f7a571f,#fff0 52%),#fff}.ai-auto-reply-hero-copy{min-width:0;display:grid;align-content:start;gap:9px}.ai-auto-reply-hero-copy .section-title{margin-bottom:0}.ai-auto-reply-hero-copy p{max-width:620px;margin:0;color:#526158;font-size:14px;font-weight:730;line-height:1.62}.ai-auto-reply-status-strip{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ai-auto-reply-status-item{min-width:0;min-height:86px;border:1px solid #d7e8df;border-radius:16px;background:#ffffffe0;color:inherit;display:grid;align-content:start;gap:5px;padding:13px 14px;text-align:left;text-decoration:none;box-shadow:0 10px 22px #1462460d}button.ai-auto-reply-status-item{cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}button.ai-auto-reply-status-item:hover{border-color:#20a464;box-shadow:0 14px 28px #1e7e531f;transform:translateY(-1px)}.ai-auto-reply-status-item.warning{border-color:#f0d5ad;background:#fff9ed}.ai-auto-reply-status-item span{color:#4d755f;font-size:12px;font-weight:950}.ai-auto-reply-status-item strong{overflow:hidden;color:#17201b;font-size:15px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.ai-auto-reply-status-item small{overflow:hidden;color:#657268;font-size:12px;font-weight:760;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1180px){.ai-auto-reply-hero{grid-template-columns:1fr}.ai-auto-reply-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.ai-auto-reply-status-strip{grid-template-columns:1fr}}.agent-advanced-settings{min-width:0;border:1px solid #dce8e0;border-radius:16px;background:#fff;display:grid;gap:12px;padding:0;overflow:hidden}.agent-advanced-settings>summary{min-height:48px;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,auto) auto;align-items:center;gap:12px;padding:12px 14px;color:#17201b;font-weight:900;list-style:none}.agent-advanced-settings>summary::-webkit-details-marker{display:none}.agent-advanced-settings>summary:after{content:"展开";border-radius:999px;background:#eff8f3;color:#126145;font-size:12px;font-weight:900;padding:5px 10px}.agent-advanced-settings[open]>summary:after{content:"收起"}.agent-advanced-settings>summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-advanced-settings>summary small{justify-self:end;overflow:hidden;color:#657268;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.agent-advanced-settings[open]{padding-bottom:12px}.agent-advanced-settings[open]>*:not(summary){margin:0 12px}.agent-command-center{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#1f7a571c,#fff0 48%),#fff;scroll-margin-top:18px}.agent-command-center .section-title{margin-bottom:6px}.agent-command-center p{max-width:760px;margin:0;color:#526158;font-size:14px;font-weight:700;line-height:1.6}.agent-command-stats{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.agent-command-stats span{min-height:38px;border:1px solid #d7e8df;border-radius:999px;background:#f6fbf8;color:#526158;display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:800;padding:0 12px;white-space:nowrap}.agent-command-stats strong{color:#146246;font-size:16px}.agent-ai-model-card{border:1px solid #d7e8df;border-radius:16px;background:linear-gradient(135deg,#1f7a571a,#fff0 52%),#fff;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;box-shadow:0 10px 24px #1462460f}.agent-ai-model-card.warning{border-color:#f3d6b5;background:linear-gradient(135deg,#f59e0b1c,#fff0 52%),#fffdf8}.agent-ai-model-card>div{min-width:0;display:grid;gap:3px}.agent-ai-model-card span:not(.ai-status-dot),.agent-run-model-strip span{color:#5b675f;font-size:12px;font-weight:900}.agent-ai-model-card strong,.agent-run-model-strip strong{overflow:hidden;color:#17201b;font-size:15px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.agent-ai-model-card small{overflow:hidden;color:#5f6c64;font-size:12px;font-weight:750;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.agent-ai-model-card .text-button{min-height:34px;border-radius:999px;white-space:nowrap}.agent-run-model-strip{border:1px solid #d7e8df;border-radius:12px;background:#f6fbf8;display:grid;gap:3px;padding:10px 12px}.agent-run-model-strip.warning{border-color:#f2d6b3;background:#fff8ed}.reply-strategy-panel{display:grid;gap:16px;border-color:#cfe5d9;background:radial-gradient(circle at top left,rgba(28,145,91,.08),transparent 34%),#fff;overflow:visible;position:relative;scroll-margin-top:18px}.reply-strategy-select-panel{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:center}.reply-strategy-select-head{min-width:0;display:grid;gap:5px}.reply-strategy-select-head .section-title{margin:0}.reply-strategy-select-head p,.reply-strategy-form>header,.reply-strategy-form>footer{margin:0}.reply-strategy-form>header,.reply-strategy-form>footer,.reply-strategy-menu-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.reply-strategy-select-head p,.reply-strategy-form small,.reply-strategy-select-button small,.reply-strategy-menu-title small,.reply-strategy-option small,.reply-strategy-add-option small{margin:0;color:#637166;font-size:12px;font-weight:750;line-height:1.55}.reply-strategy-select-wrap{position:relative;justify-self:end;width:min(360px,100%)}.reply-strategy-select-button{width:100%;border:1px solid #d8eadf;border-radius:14px;background:#f6fbf8;display:grid;gap:3px;padding:10px 12px;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.reply-strategy-select-button:hover,.reply-strategy-select-button:focus-visible,.reply-strategy-select-button[aria-expanded=true]{border-color:#20a464;box-shadow:0 14px 28px #1e7e531f;outline:none;transform:translateY(-1px)}.reply-strategy-select-button span,.reply-strategy-option span{color:#4d755f;font-size:12px;font-weight:950}.reply-strategy-select-button strong{color:#14231a;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:17px}.reply-strategy-dropdown{width:min(520px,calc(100vw - 48px));max-height:min(70vh,560px);border:1px solid #cfe5d9;border-radius:18px;background:#fff;box-shadow:0 22px 60px #0824162e;display:grid;gap:12px;overflow:auto;padding:12px;position:absolute;right:0;top:calc(100% + 10px);z-index:30}.reply-strategy-menu-group{display:grid;gap:8px}.reply-strategy-menu-title strong,.reply-strategy-option strong,.reply-strategy-add-option strong{color:#17201b;font-size:14px}.reply-strategy-option,.reply-strategy-add-option{width:100%;border:1px solid #dce9e1;border-radius:15px;background:#fbfdfb;color:inherit;display:grid;gap:5px;padding:11px 12px;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.reply-strategy-option:hover,.reply-strategy-option:focus-visible,.reply-strategy-add-option:hover,.reply-strategy-add-option:focus-visible{border-color:#20a464;box-shadow:0 12px 24px #1e7e531f;outline:none;transform:translateY(-1px)}.reply-strategy-option.selected{border-color:#20a464;background:linear-gradient(135deg,#20a4641a,#fffffff5)}.reply-strategy-option:disabled,.reply-strategy-option-main:disabled{cursor:wait;opacity:.72}.reply-strategy-option.custom{padding:0;overflow:hidden}.reply-strategy-option-main{width:100%;border:0;background:transparent;color:inherit;display:grid;gap:5px;padding:11px 12px;text-align:left}.reply-strategy-add-option{grid-template-columns:auto minmax(0,1fr);align-items:center;background:#f2fbf6;border-style:dashed}.reply-strategy-add-option svg{color:#20a464}.reply-strategy-actions{border-top:1px solid #e5eee8;display:flex;flex-wrap:wrap;gap:8px;padding:8px 10px 10px}.reply-strategy-actions .text-button{min-height:30px;border-radius:999px}.reply-strategy-empty{min-height:58px;border-radius:14px;padding:14px}.reply-strategy-modal{overflow:auto}.reply-strategy-dialog{width:min(680px,100%);max-height:min(86vh,680px);box-shadow:0 24px 80px #071a1147}.reply-strategy-form{border:1px solid #d8eadf;border-radius:16px;background:#f8fcf9;display:grid;gap:12px;padding:14px}.reply-strategy-dialog.reply-strategy-form{border-radius:20px;background:#fff;overflow:auto;padding:16px}.reply-strategy-dialog>header{align-items:flex-start}.reply-strategy-dialog>header span{color:#126145;font-size:12px;font-weight:950}.reply-strategy-dialog>header strong{color:#17201b;font-size:20px}.reply-strategy-dialog>footer>div{display:flex;justify-content:flex-end;gap:10px}.reply-strategy-dialog>footer .primary-button,.reply-strategy-dialog>footer .text-button,.reply-strategy-dialog>header .text-button{min-height:36px;border-radius:999px}.reply-strategy-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reply-strategy-form-grid label{display:grid;gap:6px}.reply-strategy-form-grid label.wide{grid-column:1 / -1}.reply-strategy-form-grid span{color:#53625a;font-size:12px;font-weight:950}.reply-strategy-form-grid input,.reply-strategy-form-grid textarea{width:100%;border:1px solid #d4e3da;border-radius:12px;background:#fff;color:#17201b;font:inherit;font-size:13px;font-weight:700;padding:10px 12px}.reply-strategy-form-grid textarea{min-height:120px;resize:vertical;line-height:1.6}@media(max-width:640px){.reply-strategy-select-panel{grid-template-columns:1fr}.reply-strategy-select-wrap{width:100%}.reply-strategy-dropdown{left:0;right:auto;width:100%}.reply-strategy-dialog{max-height:calc(100vh - 24px)}.reply-strategy-form-grid{grid-template-columns:1fr}.reply-strategy-dialog>footer,.reply-strategy-dialog>footer>div{align-items:stretch;flex-direction:column}.reply-strategy-dialog>footer .primary-button,.reply-strategy-dialog>footer .text-button{justify-content:center;width:100%}}.admin-models-stack{display:grid;gap:16px}.admin-reply-strategy-panel{display:grid;gap:12px}.admin-reply-strategy-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.admin-reply-strategy-card{border:1px solid #dce9e1;border-radius:16px;background:#fbfdfb;display:grid;gap:12px;padding:14px}.admin-reply-strategy-card.default{border-color:#20a464;background:linear-gradient(135deg,#20a4641a,#fffffff5)}.admin-reply-strategy-card>div:first-child{display:grid;gap:5px}.admin-reply-strategy-card span{color:#4d755f;font-size:12px;font-weight:950}.admin-reply-strategy-card strong{color:#17201b;font-size:16px}.admin-reply-strategy-card p{margin:0;color:#657268;font-size:12px;font-weight:750;line-height:1.55}.admin-reply-strategy-actions{display:flex;flex-wrap:wrap;gap:8px}.admin-reply-strategy-form{margin-top:2px}.agent-workbench-grid{display:grid;grid-template-columns:minmax(260px,.86fr) minmax(360px,1.18fr) minmax(300px,.96fr);gap:14px;align-items:start}.agent-workbench-grid.no-runner{grid-template-columns:minmax(280px,.82fr) minmax(420px,1.18fr)}.agent-list-panel,.agent-detail-panel,.agent-run-panel{min-width:0;display:grid;align-content:start;gap:12px}.agent-template-board{max-width:none}.agent-template-workbench{display:grid;grid-template-columns:minmax(310px,.78fr) minmax(540px,1.22fr);align-items:start;gap:16px;scroll-margin-top:18px}.agent-template-test-panel{min-width:0;min-height:500px;position:sticky;top:18px;display:grid;align-content:start;gap:12px}.agent-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.agent-list-head .section-title{margin:0}.agent-list-head .secondary-action{min-height:32px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.agent-detail-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.agent-detail-title .section-title{margin:0}.agent-detail-title>span{color:#6d7a71;font-size:12px;font-weight:850;white-space:nowrap}.agent-template-search{min-height:40px;border:1px solid #d7e3dc;border-radius:999px;background:#fbfdfb;color:#657268;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:0 12px}.agent-template-search svg{color:#7a8a80}.agent-template-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#17201b;font:inherit;font-size:13px;font-weight:750}.agent-template-search input::placeholder{color:#87938c}.agent-card-list{max-height:720px;overflow-y:auto;display:grid;gap:10px;padding-right:3px;scrollbar-gutter:stable}.agent-card{min-width:0;border:1px solid #dce5df;border-radius:14px;background:#fff;display:grid;gap:10px;padding:12px;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.agent-card.selected{border-color:#1f7a57;background:#f2fbf6;box-shadow:0 0 0 1px #1f7a571f,0 10px 22px #1f7a5714}.agent-card-main{min-width:0;width:100%;border:0;background:transparent;color:inherit;cursor:pointer;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;padding:0;text-align:left}.agent-card-main:focus-visible{border-radius:10px;outline:2px solid rgba(31,122,87,.32);outline-offset:4px}.agent-card-icon{width:40px;height:40px;border-radius:13px;background:#e9f6ef;color:#1f7a57;display:grid;place-items:center}.agent-card-main strong,.agent-detail-hero strong{display:block;overflow:hidden;color:#17201b;font-size:15px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.agent-card-main small{display:block;overflow:hidden;color:#657268;font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.agent-card-note{width:fit-content;max-width:100%;border:1px solid #cfe8da;border-radius:999px;background:#edf8f1;color:#126145;overflow:hidden;font-size:12px;font-weight:900;padding:5px 9px;text-overflow:ellipsis;white-space:nowrap}.agent-card p{margin:0;color:#526158;display:-webkit-box;font-size:13px;font-weight:650;line-height:1.55;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.agent-card-meta,.agent-card-actions,.agent-result-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.agent-card-meta>span:not(.status-badge),.agent-result-meta span{color:#657268;font-size:12px;font-weight:800}.agent-card-actions .text-button{min-height:30px;border-radius:999px}.agent-card-actions .text-button.danger{border-color:#ffd1c7;background:#fff6f3;color:#9a3526}.agent-card-actions .text-button.active{border-color:#bfe6d1;background:#eaf8f0;color:#0e704d}.agent-status-switch{min-height:32px;border:1px solid #d8e5de;border-radius:999px;background:#f8fbf9;color:#66756b;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:950;padding:4px 11px 4px 5px;transition:border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease}.agent-status-switch:hover{border-color:#bfe6d1;box-shadow:0 8px 18px #1962461a}.agent-status-switch:disabled{cursor:wait;opacity:.7}.agent-status-switch.is-on{border-color:#8ed0ae;background:#e8f7ef;color:#0c6f4d}.agent-status-switch-track{width:38px;height:22px;border-radius:999px;background:#ccd8d0;display:inline-flex;align-items:center;padding:2px;transition:background .2s ease}.agent-status-switch.is-on .agent-status-switch-track{background:#1f9d68}.agent-status-switch-thumb{width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 2px 7px #122e202e;transform:translate(0);transition:transform .2s ease}.agent-status-switch.is-on .agent-status-switch-thumb{transform:translate(16px)}.template-test-header,.template-view-title,.template-chat-composer{display:flex;align-items:center;justify-content:space-between;gap:10px}.template-test-header .section-title{margin:0}.template-view-card{border:1px solid #dce8e1;border-radius:16px;background:linear-gradient(135deg,#1f7a5714,#fff0 58%),#fff;display:grid;gap:12px;padding:12px}.template-view-title{justify-content:space-between;flex-wrap:wrap}.template-view-title-main{min-width:0;display:flex;align-items:center;gap:4px}.template-view-title-main>div{min-width:0;display:grid;gap:4px}.template-view-title>.text-button{flex:0 0 auto;min-height:32px;border-radius:999px}.template-view-title strong{overflow:hidden;color:#17201b;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.template-view-title strong.current-template-name{display:block;max-width:min(420px,100%)}.template-view-title small{color:#657268;font-size:12px;font-weight:800;line-height:1.45}.template-view-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.template-view-stats,.template-view-stats div{min-width:0}.template-view-stats{display:grid;gap:10px}.template-view-stats div{border:1px solid #dce8e1;border-radius:13px;background:#fff;display:grid;gap:5px;padding:11px 12px}.template-view-stats span{color:#657268;font-size:12px;font-weight:900}.template-view-stats strong{overflow:hidden;color:#17201b;font-size:14px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}@media(max-width:720px){.template-view-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.template-view-stats{grid-template-columns:1fr}}.template-chat-message span{color:#5b675f;font-size:12px;font-weight:950}.template-chat-message p,.template-chat-empty p,.template-test-empty p{margin:0;color:#425047;font-size:13px;font-weight:700;line-height:1.58;overflow-wrap:anywhere;white-space:pre-wrap}.template-chat-window{min-height:360px;max-height:560px;border:1px solid #dce8e1;border-radius:18px;background:linear-gradient(180deg,#eaf8f0d1,#fffffff0),#f6faf7;display:grid;align-content:start;gap:10px;overflow-y:auto;padding:12px}.template-chat-message{max-width:84%;border:1px solid #dce8e1;border-radius:15px;background:#fff;display:grid;gap:5px;padding:10px 12px;box-shadow:0 8px 18px #16251d0a}.template-chat-message.system{max-width:100%;border-style:dashed;background:#fbfdfb}.template-chat-message.user{justify-self:end;border-color:#bfe6d1;background:#eaf8f0}.template-chat-message.media{border-style:dashed}.template-chat-message.ai{justify-self:start}.template-chat-message.ai.sending{border-color:#bfe6d1;background:#f3fbf6}.template-chat-message.ai.sending p{color:#126145}.template-chat-message.ai.failed{border-color:#f1c8c3;background:#fff7f6}.template-chat-message.ai.failed p,.template-chat-error{color:#a83b2e!important}.template-chat-retry{width:fit-content;min-height:30px;border:1px solid #f1c8c3;border-radius:999px;background:#fff;color:#a83b2e;cursor:pointer;font-size:12px;font-weight:900;padding:5px 10px}.template-chat-retry:disabled{cursor:not-allowed;opacity:.62}.template-chat-message small{color:#7a877f;font-size:12px;font-weight:800}.template-chat-knowledge{width:fit-content;border:1px solid #bfe6d1;border-radius:999px;background:#eefaf3;color:#126145!important;padding:4px 8px}.template-chat-knowledge.empty{border-color:#f0ddaa;background:#fff8e5;color:#8a5a00!important}.template-chat-empty,.template-test-empty{min-height:190px;color:#779084;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;padding:22px}.template-chat-empty strong,.template-test-empty strong{color:#17201b;font-size:16px}.template-chat-composer{align-items:stretch}.template-chat-composer-main{min-width:0;flex:1 1 auto;display:grid;gap:8px}.template-chat-composer textarea{min-width:0;width:100%;min-height:78px;max-height:180px;resize:vertical;border:1px solid #d5ded8;border-radius:16px;background:#fbfdfb;color:#17201b;font:inherit;font-size:13px;font-weight:750;line-height:1.55;padding:11px 12px}.template-chat-selected-image,.template-chat-attachment{border:1px solid #dce8e1;border-radius:14px;background:#fff;display:flex;align-items:center;gap:10px;margin:0;padding:8px}.template-chat-selected-image img,.template-chat-attachment img{width:58px;height:58px;border-radius:11px;flex:0 0 auto;object-fit:cover}.template-chat-selected-image div,.template-chat-attachment figcaption{min-width:0;display:grid;gap:3px}.template-chat-selected-image strong,.template-chat-attachment strong{overflow:hidden;color:#17201b;font-size:13px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.template-chat-selected-image small,.template-chat-attachment small{color:#657268!important;font-size:12px;font-weight:750}.template-chat-selected-image button{width:28px;height:28px;border:1px solid #d8e5de;border-radius:999px;background:#fbfdfb;color:#657268;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;margin-left:auto}.template-chat-selected-image button:hover,.template-chat-selected-image button:focus-visible{border-color:#ffc8b8;background:#fff1ec;color:#9a3526}.template-chat-composer .primary-button{flex:0 0 auto;align-self:end;min-height:44px;border-radius:999px}.template-chat-composer-side{flex:0 0 auto;display:grid;gap:8px;align-self:end}.template-chat-composer-side .text-button{min-height:36px;border-radius:999px;justify-content:center}.template-media-test-bar{border:1px solid #dce8e1;border-radius:14px;background:#fbfdfb;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 10px}.template-media-test-bar>span{color:#5b675f;font-size:12px;font-weight:950}.template-media-test-bar button{min-height:30px;border:1px solid #d8e5de;border-radius:999px;background:#fff;color:#126145;cursor:pointer;display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:900;padding:0 10px}.template-media-test-bar button:hover,.template-media-test-bar button:focus-visible{border-color:#bfe6d1;background:#eaf8f0}.template-media-test-bar button:disabled{cursor:wait;opacity:.64}.template-test-image-input{display:none}.template-media-support-note{margin:0;color:#657268;font-size:12px;font-weight:750;line-height:1.55}.template-media-support-note.error{color:#9a3526}.agent-detail-hero{border:1px solid #cfe5d8;border-radius:16px;background:linear-gradient(135deg,#1f7a571a,#fff0 54%),#fbfdfb;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px}.simple-template-detail .agent-detail-hero{align-items:center}.agent-detail-hero div{min-width:0;display:grid;gap:5px}.agent-detail-hero span,.agent-prompt-card>span,.agent-section-block header span,.agent-insight-grid span,.agent-result-head span{color:#5b675f;font-size:12px;font-weight:900}.agent-detail-hero strong{font-size:20px}.agent-detail-hero p{margin:0;color:#425047;font-size:13px;font-weight:700;line-height:1.55}.template-status-toggle{min-width:74px;min-height:42px;border:1px solid #bfe6d1;border-radius:999px;background:#eaf8f0;color:#0e704d;cursor:pointer;font-size:14px;font-weight:950;padding:0 16px}.template-status-toggle.danger{border-color:#ffd8c8;background:#fff2e8;color:#9a3526}.template-status-toggle:disabled{cursor:wait;opacity:.68}.template-simple-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.template-simple-actions .primary-button,.template-simple-actions .text-button{min-height:40px;justify-content:center;border-radius:999px}.template-setting-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.template-setting-list div{min-width:0;border:1px solid #dce8e1;border-radius:13px;background:#fff;display:grid;gap:5px;padding:11px 12px}.template-setting-list span,.template-limit-note span{color:#657268;font-size:12px;font-weight:900}.template-setting-list strong{overflow:hidden;color:#17201b;font-size:14px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.template-plain-section header{align-items:flex-start}.template-plain-section header span{max-width:52%;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.template-limit-note{border:1px solid #f2ddc0;border-radius:14px;background:#fffaf1;display:grid;gap:6px;padding:12px}.template-limit-note p{margin:0;color:#5a4730;font-size:13px;font-weight:750;line-height:1.55}.compact-agent-rules{margin-top:0}.agent-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.agent-insight-grid div{min-width:0;border:1px solid #dde7e0;border-radius:12px;background:#fff;display:grid;gap:5px;padding:11px}.agent-insight-grid strong{overflow:hidden;color:#17201b;font-size:14px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.agent-section-block,.agent-prompt-card,.agent-result-panel{border:1px solid #dce5df;border-radius:14px;background:#fff;display:grid;gap:12px;padding:12px}.agent-section-block header,.agent-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.agent-section-block header strong,.agent-result-head strong{color:#17201b;font-size:15px}.agent-step-list,.agent-knowledge-list,.agent-run-form{display:grid;gap:10px}.agent-step{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:9px}.agent-step>span{width:28px;height:28px;border-radius:999px;background:#e9f6ef;color:#146246;display:grid;place-items:center;font-size:12px;font-weight:900}.agent-step p,.agent-knowledge-list p{margin:0;color:#425047;font-size:13px;font-weight:700;line-height:1.55}.agent-knowledge-chip{min-width:0;border:1px solid #dce5df;border-radius:12px;background:#f8fbf9;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 10px}.agent-knowledge-chip svg{color:#1f7a57}.agent-knowledge-chip span{overflow:hidden;color:#17201b;font-size:13px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.agent-knowledge-chip small{color:#657268;font-size:12px;font-weight:800;white-space:nowrap}.agent-industry-plan-card header{align-items:center}.agent-industry-plan-card header>div{min-width:0;display:grid;gap:4px}.agent-industry-plan-card .text-button{flex:0 0 auto;min-height:32px;border-radius:999px}.agent-plan-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px}.agent-plan-summary div{min-width:0;border:1px solid #dce5df;border-radius:12px;background:#f8fbf9;display:grid;gap:4px;padding:10px}.agent-plan-summary span,.agent-plan-path span,.agent-plan-step p,.agent-plan-test-preview span,.agent-plan-dialog header span,.agent-plan-dialog footer small{color:#657268;font-size:12px;font-weight:850}.agent-plan-summary strong{overflow:hidden;color:#17201b;font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.agent-plan-empty{border:1px dashed #c8dcd2;border-radius:12px;background:#fbfdfb;color:#425047;display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:11px}.agent-plan-empty svg{color:#1f7a57}.agent-plan-empty p{margin:0;font-size:13px;font-weight:700;line-height:1.55}.agent-plan-path{border-radius:999px;background:#edf7f1;color:#1f7a57;display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px 10px}.agent-plan-path svg{color:#7aa894}.agent-plan-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:#0a16107a;display:grid;place-items:center;padding:24px}.auto-reply-template-panel{border-color:#bfe6cf;background:linear-gradient(135deg,#1f7a5714,#fff0 58%),#f8fcf9;scroll-margin-top:18px}.auto-reply-template-modal{align-items:center;overflow:auto}.auto-reply-template-dialog{width:min(980px,100%);max-height:min(88vh,860px);box-shadow:0 24px 80px #071a1147}.auto-reply-template-form-card{border:1px solid #d7e8df;border-radius:20px;background:#f7faf8;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.auto-reply-template-form-card>header,.auto-reply-template-form-card>footer{background:#fff;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 20px}.auto-reply-template-form-card>header{border-bottom:1px solid #dfe9e3;background:linear-gradient(135deg,#1f7a571f,#fff0 54%),#fff}.auto-reply-template-form-card>footer{align-items:center;border-top:1px solid #dfe9e3}.auto-reply-template-form-card>header div{display:grid;gap:5px}.auto-reply-template-form-card>header span,.auto-reply-template-form-card>footer small{color:#657268;font-size:12px;font-weight:850}.auto-reply-template-form-card>header strong{color:#17201b;font-size:22px}.auto-reply-template-form-card>header p{margin:0;color:#526158;font-size:13px;font-weight:750;line-height:1.55}.auto-reply-template-form-card>header .text-button{flex:0 0 auto;min-height:34px;border-radius:999px}.auto-reply-template-body{min-height:0;overflow:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:14px;padding:16px}.auto-reply-template-body.inline{overflow:visible}.auto-reply-template-dialog-body{min-height:0;overflow:auto;display:grid;gap:14px;padding:16px}.template-dialog-section{min-width:0;border:1px solid #dce5df;border-radius:16px;background:#fff;display:grid;gap:12px;padding:14px}.template-dialog-section-head{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px}.template-dialog-section-head>span{width:30px;height:30px;border-radius:999px;background:#e9f6ef;color:#146246;display:grid;place-items:center;font-size:12px;font-weight:950}.template-dialog-section-head strong{color:#17201b;font-size:15px}.template-dialog-section-head p{margin:3px 0 0;color:#657268;font-size:12px;font-weight:780;line-height:1.45}.auto-reply-template-form,.auto-reply-template-preview{min-width:0;border:1px solid #dce5df;border-radius:16px;background:#fff;display:grid;align-content:start;gap:12px;padding:14px}.auto-reply-template-form{grid-template-columns:repeat(2,minmax(0,1fr))}.template-dialog-section .auto-reply-template-form{border:0;border-radius:0;background:transparent;gap:12px;padding:0}.template-dialog-grid label.wide{grid-column:1 / -1}.auto-reply-template-form label{display:grid;gap:6px}.auto-reply-template-form label:nth-child(n+3),.auto-reply-template-form label.wide{grid-column:1 / -1}.auto-reply-template-form label span{color:#425047;font-size:13px;font-weight:900}.auto-reply-template-form input,.auto-reply-template-form textarea{width:100%;border:1px solid #d5ded8;border-radius:12px;background:#fbfdfb;color:#17201b;font:inherit;font-size:13px;font-weight:700;padding:10px 11px}.auto-reply-template-form textarea{resize:vertical}.template-document-upload{display:grid;gap:10px;border:1px dashed #bdd0c5;border-radius:12px;background:#f6fbf8;padding:10px}.template-document-upload.has-document{border-color:#8bc5a8;background:linear-gradient(135deg,#25875b14,#fff0 58%),#f7fcf9}.template-document-status{display:flex;gap:9px;align-items:flex-start}.template-document-status svg{flex:0 0 auto;color:#17875b;margin-top:1px}.template-document-status div{display:grid;gap:2px;min-width:0}.auto-reply-template-form label .template-document-status strong,.auto-reply-template-form label .template-document-file-card strong{color:#17201b;font-size:13px;font-weight:900;line-height:1.35}.auto-reply-template-form label .template-document-status span,.auto-reply-template-form label .template-document-file-card span{color:#62746a;font-size:12px;font-weight:700;line-height:1.45}.template-document-bound-list{display:flex;flex-wrap:wrap;gap:6px}.auto-reply-template-form label .template-document-bound-list span{max-width:100%;border:1px solid #d5e5dc;border-radius:999px;background:#fff;color:#245d43;font-size:12px;font-weight:800;line-height:1.25;padding:5px 8px}.template-document-bound-panel{display:grid;gap:8px;border:1px solid #dbe9e1;border-radius:12px;background:#ffffffc7;padding:9px}.template-document-bound-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.auto-reply-template-form label .template-document-bound-head strong{color:#183326;font-size:12px;font-weight:900;line-height:1.3}.auto-reply-template-form label .template-document-bound-head span,.template-document-bound-empty,.template-document-bound-more{color:#6b7b72;font-size:12px;font-weight:800;line-height:1.4}.template-document-bound-files{display:grid;gap:7px}.template-document-bound-file{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid #d8e8df;border-radius:10px;background:#fff;padding:8px}.template-document-bound-file>svg{color:#17875b}.template-document-bound-file div{display:grid;gap:2px;min-width:0}.auto-reply-template-form label .template-document-bound-file strong{color:#17201b;font-size:12px;font-weight:900;line-height:1.3}.auto-reply-template-form label .template-document-bound-file span{color:#62746a;font-size:11px;font-weight:750;line-height:1.35}.template-document-bound-file strong,.template-document-bound-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-document-bound-file button{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid #e5d8d8;border-radius:999px;background:snow;color:#9f4a4a;cursor:pointer;font-size:11px;font-weight:900;line-height:1;padding:7px 9px}.template-document-bound-file button:hover:not(:disabled),.template-document-bound-file button.is-confirming{border-color:#d76363;background:#fff2f2;color:#b83232}.template-document-bound-file button:disabled{cursor:not-allowed;opacity:.58}.auto-reply-template-form label .template-document-bound-file button span{color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}.template-document-file-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;border:1px solid #d7e6dd;border-radius:11px;background:#fff;box-shadow:0 8px 20px #165e3d0f;padding:9px}.template-document-file-card>svg{color:#17875b}.template-document-file-card div{display:grid;gap:2px;min-width:0}.template-document-file-card strong,.template-document-file-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-document-file-card button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #d9e5dd;border-radius:999px;background:#f8fbf9;color:#62746a;cursor:pointer}.template-document-file-card button:hover{border-color:#efb6b6;background:#fff4f4;color:#b43a3a}.template-document-picker{display:inline-flex;justify-self:start;align-items:center;gap:6px;width:auto;border:1px solid #a7d4bb;border-radius:999px;background:#fff;color:#126145;cursor:pointer;font-size:12px;font-weight:900;line-height:1;padding:8px 11px}.template-document-picker:hover{border-color:#17875b;background:#f0faf4}.template-document-picker:focus-within{border-color:#17875b;box-shadow:0 0 0 3px #17875b24}.template-document-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.auto-reply-template-form label .template-document-picker span{color:inherit;font-size:inherit;font-weight:inherit}.template-document-upload small{color:#64746b;font-size:12px;line-height:1.45}.auto-reply-template-preview{position:sticky;top:0;background:linear-gradient(135deg,#1f7a571a,#fff0 52%),#fff}.auto-reply-template-preview>span{color:#126145;font-size:12px;font-weight:900}.auto-reply-template-preview>strong{color:#17201b;font-size:18px;line-height:1.35}.auto-reply-template-preview>p{margin:0;color:#425047;font-size:13px;font-weight:750;line-height:1.65}.auto-reply-template-preview div{border:1px dashed #c8dcd2;border-radius:14px;background:#fbfdfb;display:grid;gap:8px;padding:12px}.auto-reply-template-preview small{color:#657268;font-size:12px;font-weight:850}.auto-reply-template-preview em{border-radius:999px;background:#edf8f1;color:#126145;font-size:12px;font-style:normal;font-weight:900;padding:7px 10px}.template-dialog-tip{border:1px dashed #c8dcd2;border-radius:16px;background:linear-gradient(135deg,#1f7a5714,#fff0 58%),#fbfdfb;display:grid;gap:7px;padding:13px 14px}.template-dialog-tip strong{color:#17201b;font-size:14px;line-height:1.35}.template-dialog-tip span{color:#526158;font-size:13px;font-weight:760;line-height:1.55}.template-dialog-tip em{width:fit-content;border-radius:999px;background:#edf8f1;color:#126145;font-size:12px;font-style:normal;font-weight:900;padding:6px 9px}.auto-reply-template-form-card>footer>div{display:flex;justify-content:flex-end;gap:10px}.auto-reply-template-form-card>footer .primary-button,.auto-reply-template-form-card>footer .text-button{min-height:38px;border-radius:999px}@media(max-width:720px){.auto-reply-template-modal{padding:12px}.auto-reply-template-dialog{max-height:calc(100vh - 24px)}.auto-reply-template-form-card>header,.auto-reply-template-form-card>footer{flex-direction:column;padding:14px}.auto-reply-template-dialog-body{padding:12px}.auto-reply-template-form{grid-template-columns:1fr}.auto-reply-template-form-card>footer>div{width:100%}.auto-reply-template-form-card>footer .primary-button,.auto-reply-template-form-card>footer .text-button{flex:1;justify-content:center}}.agent-plan-dialog{width:min(1040px,100%);max-height:min(88vh,880px);border:1px solid #d7e8df;border-radius:22px;background:#f7faf8;box-shadow:0 24px 80px #071a1147;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.agent-plan-dialog>header{border-bottom:1px solid #dfe9e3;background:linear-gradient(135deg,#1f7a571f,#fff0 54%),#fff;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px}.agent-plan-dialog>header div{display:grid;gap:5px}.agent-plan-dialog>header strong{color:#17201b;font-size:22px}.agent-plan-dialog>header p{margin:0;color:#526158;font-size:13px;font-weight:750;line-height:1.55}.agent-plan-dialog>header button{width:34px;height:34px;border:1px solid #d7e8df;border-radius:999px;background:#fff;color:#526158;cursor:pointer;font-size:22px;font-weight:800;line-height:1}.agent-plan-dialog-body{min-height:0;overflow:auto;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:14px;padding:16px}.agent-plan-builder,.agent-plan-preview-panel{min-width:0;border:1px solid #dce5df;border-radius:16px;background:#fff;display:grid;align-content:start;gap:14px;padding:14px}.agent-plan-step{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:9px}.agent-plan-step.compact{margin-bottom:-2px}.agent-plan-step>span{width:30px;height:30px;border-radius:999px;background:#e9f6ef;color:#146246;display:grid;place-items:center;font-size:12px;font-weight:950}.agent-plan-step strong{color:#17201b;font-size:15px}.agent-plan-step p{margin:3px 0 0;line-height:1.45}.agent-plan-choice-grid,.agent-plan-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.agent-plan-custom-row,.agent-plan-skill-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.agent-plan-custom-row label{min-width:0;display:grid;gap:6px}.agent-plan-custom-row label span{color:#425047;font-size:13px;font-weight:900}.agent-plan-custom-row input,.agent-plan-skill-input input{width:100%;min-height:40px;border:1px solid #d5ded8;border-radius:12px;background:#fbfdfb;color:#17201b;font:inherit;font-size:13px;font-weight:750;padding:0 11px}.agent-plan-custom-row button,.agent-plan-skill-input button{min-height:40px;border:1px solid #1f7a57;border-radius:999px;background:#1f7a57;color:#fff;cursor:pointer;font-size:12px;font-weight:900;padding:0 13px;white-space:nowrap}.agent-plan-custom-row button:disabled,.agent-plan-skill-input button:disabled{cursor:not-allowed;opacity:.5}.agent-plan-choice-grid button,.agent-plan-check-grid label,.agent-plan-rule-list label{min-height:40px;border:1px solid #dce5df;border-radius:12px;background:#fbfdfb;color:#24312a;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:850;padding:9px 10px;text-align:left}.agent-plan-choice-grid button.active,.agent-plan-choice-grid button:hover,.agent-plan-check-grid label.active,.agent-plan-rule-list label.active{border-color:#1f7a57;background:#edf7f1;color:#146246}.agent-plan-check-grid input,.agent-plan-rule-list input{accent-color:#1f7a57}.agent-plan-rule-list{display:grid;gap:8px}.agent-plan-custom-skills{border:1px solid #dce5df;border-radius:14px;background:#f8fbf9;display:grid;gap:10px;padding:11px}.agent-plan-skill-chips{min-height:36px;display:flex;flex-wrap:wrap;gap:8px}.agent-plan-skill-chips span{min-height:30px;border:1px solid #cfe5d8;border-radius:999px;background:#fff;color:#146246;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:850;padding:4px 8px 4px 10px}.agent-plan-skill-chips button{width:20px;height:20px;border:0;border-radius:999px;background:#e8f3ed;color:#146246;cursor:pointer;font-weight:900;line-height:1}.agent-plan-skill-chips small{color:#657268;font-size:12px;font-weight:750}.agent-plan-field{display:grid;gap:6px}.agent-plan-field>span{color:#425047;font-size:13px;font-weight:900}.agent-plan-field select,.agent-plan-field textarea{width:100%;border:1px solid #d5ded8;border-radius:12px;background:#fbfdfb;color:#17201b;font:inherit;font-size:13px;font-weight:700;padding:10px 11px}.agent-plan-field textarea{resize:vertical}.agent-plan-bound-knowledge{border:1px solid #dce5df;border-radius:14px;background:#f8fbf9;display:grid;gap:8px;padding:11px}.agent-plan-bound-knowledge strong{color:#17201b;font-size:14px}.agent-plan-bound-knowledge span,.agent-plan-bound-knowledge button{min-width:0;border:1px solid #dce5df;border-radius:999px;background:#fff;color:#1f7a57;display:inline-flex;align-items:center;gap:6px;justify-self:start;font-size:12px;font-weight:850;padding:6px 9px}.agent-plan-bound-knowledge button{cursor:pointer}.agent-plan-test-preview{border:1px dashed #c8dcd2;border-radius:14px;background:#fbfdfb;display:grid;gap:6px;padding:12px}.agent-plan-test-preview p{margin:0;color:#24312a;font-size:13px;font-weight:750;line-height:1.6}.agent-plan-dialog>footer{border-top:1px solid #dfe9e3;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}.agent-plan-dialog>footer>div{display:flex;align-items:center;justify-content:flex-end;gap:10px}.agent-plan-dialog>footer .primary-button,.agent-plan-dialog>footer .text-button{min-height:36px;border-radius:999px}.agent-prompt-card pre,.agent-result-panel pre{max-height:260px;overflow:auto;margin:0;border-radius:10px;background:#f6f8f6;color:#17201b;font:inherit;font-size:13px;line-height:1.65;padding:10px;white-space:pre-wrap;overflow-wrap:anywhere}.agent-run-panel{position:sticky;top:18px}.agent-run-form .field textarea{min-height:96px;max-height:220px}.agent-run-form .primary-button{border-radius:999px}.agent-result-panel{min-height:220px;background:#fbfcfb}.agent-result-head div{min-width:0;display:grid;gap:3px}.agent-result-head small{color:#657268;font-size:12px;font-weight:800;white-space:nowrap}.agent-result-empty{min-height:180px;border:1px dashed #c8dcd2;border-radius:12px;background:#fff;color:#5b675f;display:grid;place-items:center;align-content:center;gap:7px;padding:16px;text-align:center}.agent-result-empty svg{color:#1f7a57}.agent-result-empty strong{color:#17201b;font-size:15px}.agent-result-empty span{max-width:280px;font-size:13px;font-weight:700;line-height:1.5}.admin-stat-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));border:1px solid #e2e9e3;border-radius:8px;overflow:hidden;background:#fbfcfb}.admin-stat-strip>:where(div,button){min-width:0;border:0;background:transparent;padding:12px 14px;display:grid;gap:5px;text-align:left}.admin-stat-strip>:where(div,button)+:where(div,button){border-left:1px solid #e2e9e3}.admin-stat-strip span{color:#66726b;font-size:12px;font-weight:800}.admin-stat-strip strong{color:#17201b;font-size:24px;line-height:1.1}.admin-stat-tile{color:inherit;cursor:pointer;font:inherit}.admin-stat-tile:hover,.admin-stat-tile:focus-visible{background:#fff;outline:0}.admin-stat-tile-alert{background:#fff6f3}.admin-stat-tile-alert span,.admin-stat-tile-alert strong{color:#b42318}.admin-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.admin-list-toolbar .search-box{width:min(360px,100%)}.admin-filter-select{width:auto;min-width:128px}.admin-workspace,.settings-overview{align-items:start}.admin-route-shell{grid-template-columns:264px minmax(0,1fr)}.admin-route-shell .workspace{padding-left:16px}.admin-sidebar .brand-block{padding-right:0}.admin-sidebar .nav-list{flex:1}.admin-sidebar-panel-nav{display:grid;gap:6px}.admin-sidebar-panel-item{position:relative;min-height:50px}.admin-sidebar-panel-item svg{flex:0 0 auto;color:#8bf2b8c7}.admin-sidebar-panel-item span{min-width:0}.admin-sidebar-panel-item strong,.admin-sidebar-panel-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-sidebar-panel-item.active svg{color:#0f6849}.nav-alert-badge{min-width:18px;height:18px;border-radius:999px;background:#d92d20;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-style:normal;font-weight:900;line-height:1;padding:0 5px;margin-left:auto}.admin-denied{max-width:760px}.admin-denied p{margin:-4px 0 0;color:#5c6a62;font-size:14px;line-height:1.65}.admin-denied-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-command-center,.admin-console,.admin-pane-main,.admin-pane-side,.admin-security-stack,.admin-side-form,.admin-subsection{display:grid;gap:14px;min-width:0}.admin-command-center>div:first-child p{margin:-6px 0 0;color:#68746c;font-size:13px;line-height:1.55}.admin-console-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}.admin-panel-content{min-width:0;display:grid;gap:14px}.admin-overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.admin-action-card{min-height:124px;border:1px solid #dfe7e1;border-radius:8px;background:#fbfcfb;color:#1f2d25;padding:14px;display:grid;gap:8px;text-align:left}.admin-action-card.attention{border-color:#f2b8ad;background:#fff7f5}.admin-action-card.attention svg,.admin-action-card.attention strong{color:#b42318}.admin-action-card:hover,.admin-action-card:focus-visible{border-color:#b8d9c8;background:#fff;outline:0;box-shadow:0 10px 24px #27372e14}.admin-action-card svg{color:#1f7a57}.admin-action-card strong{font-size:15px;line-height:1.3}.admin-action-card span,.admin-mini-stats,.table-muted{color:#68746c;font-size:12px;line-height:1.5}.admin-pane-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.admin-registration-stack{display:grid;gap:18px}.registration-subtabs-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.registration-subtabs{width:min(320px,100%);grid-template-columns:repeat(2,minmax(0,1fr))}.registration-tab-panel{display:grid;gap:12px}.registration-table-header{padding-top:2px}.registration-table-scroll{width:100%;max-width:100%;overflow-x:auto}.registration-token-table{min-width:820px}.registration-invite-email-col{width:20%}.registration-token-role-col{width:10%}.registration-token-status-col{width:11%}.registration-token-expiry-col{width:15%}.registration-token-value-col{width:30%}.registration-token-actions-col{width:14%}.admin-pane-side{position:sticky;top:18px}.admin-side-form{border:1px solid #e2e9e3;border-radius:8px;background:#fbfcfb;padding:14px}.registration-flow-note{display:flex;align-items:center;min-height:36px;border-left:3px solid #b8d9c8;background:#f7faf7;padding:8px 12px}.registration-flow-note span{color:#5f6b64;font-size:12px;font-weight:600;line-height:1.5}.registration-token-record-actions{display:flex;align-items:center;flex-wrap:nowrap;justify-content:flex-start;gap:8px;min-width:0}.registration-token-cell{min-width:0}.registration-token-value{display:block;width:100%;min-width:0;border:1px solid #d6ded6;border-radius:6px;background:#f8faf8;color:#17201b;font-size:12px;line-height:1.45;overflow:hidden;padding:4px 7px;text-overflow:ellipsis;white-space:nowrap}.admin-token-dialog{width:min(560px,100%);border-radius:12px}.admin-token-dialog .form-error{margin:0}.admin-token-result{display:grid;gap:12px}.token-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.token-dialog-actions .primary-button,.token-dialog-actions .text-button{min-height:38px}.admin-user-management-grid{min-width:0}.admin-user-management-grid .admin-pane-main{gap:12px}.admin-user-stats{padding-bottom:2px}.admin-user-filters{display:flex;align-items:center;justify-content:flex-end;gap:10px}.admin-user-table-scroll{width:100%;max-width:100%;overflow-x:auto;padding-bottom:3px}.admin-user-table{width:100%;min-width:1020px;table-layout:fixed}.admin-user-col-identity{width:26%}.admin-user-col-permission{width:15%}.admin-user-col-status{width:13%}.admin-user-col-member{width:20%}.admin-user-col-login{width:12%}.admin-user-col-actions{width:14%}.admin-user-table th,.admin-user-table td{vertical-align:middle}.admin-user-row.active{background:#f4fbf7}.admin-member-child-row{background:#f8faf9}.admin-member-child-row:hover{background:#f2f7f4}.admin-user-identity{display:flex;align-items:flex-start;gap:8px;min-width:0}.admin-member-expand-button,.admin-member-expand-placeholder,.admin-member-branch{width:28px;min-width:28px;height:28px}.admin-member-expand-button{border:0;border-radius:6px;background:transparent;color:#52645a;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}.admin-member-expand-button:hover,.admin-member-expand-button:focus-visible{background:#e8f1eb;color:#146246}.admin-member-expand-button:focus-visible{outline:2px solid rgba(31,122,87,.22);outline-offset:1px}.admin-member-child-identity{padding-left:16px}.admin-member-branch{position:relative}.admin-member-branch:before{position:absolute;top:0;left:7px;width:13px;height:14px;border-bottom:1px solid #b9c8bf;border-left:1px solid #b9c8bf;content:""}.admin-user-link{min-width:0;border:0;background:transparent;color:inherit;cursor:pointer;display:grid;gap:2px;padding:0;text-align:left}.admin-user-cell{display:grid;gap:5px;min-width:0}.admin-user-link:hover strong,.admin-user-link:focus-visible strong{color:#146246}.admin-user-link:focus-visible{outline:2px solid rgba(31,122,87,.22);outline-offset:3px}.admin-user-link span{overflow-wrap:anywhere}.admin-user-tags{display:flex;gap:6px;flex-wrap:wrap}.admin-user-tags small,.admin-user-link small{width:fit-content;border-radius:999px;background:#eaf4ff;color:#1b5c8c;font-size:11px;font-weight:850;padding:1px 7px}.admin-member-inline{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.admin-member-status-pill{min-height:24px;border-radius:999px;display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:0 9px;font-size:12px;font-weight:900;line-height:1;white-space:nowrap}.admin-member-status-pill.green{background:#e7f7ed;color:#127347}.admin-member-status-pill.amber{background:#fff2d6;color:#9a5b00}.admin-member-status-pill.gray{background:#eef2ef;color:#66726b}.admin-member-quota{color:#68746c;font-size:12px;font-weight:800;white-space:nowrap}.compact-action{min-height:28px;padding:0 8px}.admin-row-actions,.admin-user-detail-actions,.admin-user-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.admin-drawer-head .section-title{margin-bottom:0}.admin-user-profile-card{border:1px solid #dfe9e2;border-radius:8px;background:#fff;display:grid;gap:6px;padding:12px}.admin-user-create-dialog{width:min(520px,100%)}.admin-user-detail-dialog{width:min(680px,100%)}.admin-user-profile{display:grid;gap:14px;min-width:0}.admin-user-profile-card strong{color:#17201b;font-size:17px;line-height:1.25}.admin-user-profile-card span{color:#68746c;font-size:13px}.admin-permission-panel{display:grid;gap:10px;border:1px solid #dfe9e2;border-radius:8px;background:#f8fbf8;padding:12px}.admin-permission-panel-head{display:grid;gap:3px}.admin-permission-panel-head strong{color:#17201b;font-size:14px;line-height:1.3}.admin-permission-panel-head span{color:#68746c;font-size:12px;line-height:1.45}.member-request-highlight strong,.member-request-highlight span{color:#9a5b00}.member-request-notice{border:1px solid #f1c982;border-radius:8px;background:#fff8e6;color:#8a4b00;font-size:12px;font-weight:800;line-height:1.45;padding:8px 10px}.admin-permission-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-permission-inline strong{min-width:72px;color:#17201b;font-size:13px;line-height:1.35}.admin-permission-dialog{width:min(460px,100%)}.danger-button{border-color:#f2b8ad;color:#b42318}.admin-member-setting-panel .admin-user-detail-grid{border-top:0;padding-top:0}.member-management-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:16px;align-items:start}.member-management-workspace .data-section{align-content:start;min-width:0}.member-status-banner{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:14px}.member-status-banner p{margin:-4px 0 0;color:#59655d;font-size:13px;line-height:1.55}.member-status-banner>strong{border-radius:999px;padding:8px 12px;font-size:13px;white-space:nowrap}.member-status-banner.green{border-color:#b9e5c8;background:#f2fbf5}.member-status-banner.green>strong{background:#dff4e7;color:#127347}.member-status-banner.amber{border-color:#f1c982;background:#fff8e6}.member-status-banner.amber>strong{background:#ffedc2;color:#9a5b00}.member-status-banner.gray{border-color:#dfe7e1;background:#fbfcfb}.member-status-banner.gray>strong{background:#eef2ef;color:#66726b}.member-status-card{gap:14px}.member-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.member-panel-heading>div{display:grid;gap:4px}.member-panel-heading span{color:#68746c;font-size:12px;font-weight:800}.member-panel-heading strong{color:#17201b;font-size:15px;line-height:1.35}.member-quota-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.member-quota-grid>div{border:1px solid #e0e7e2;border-radius:8px;background:#fbfcfb;display:grid;gap:5px;padding:10px}.member-quota-grid span{color:#68746c;font-size:12px;font-weight:800}.member-quota-grid strong{color:#17201b;font-size:16px;line-height:1.25;overflow-wrap:anywhere}.member-inline-message{border:1px solid #b9e5c8;border-radius:8px;background:#f2fbf5;color:#127347;font-size:13px;font-weight:800;line-height:1.5;padding:10px 12px}.member-list-panel{grid-column:1 / -1;min-width:0}.member-empty-state{min-height:90px;border:1px dashed #d8e0d8;border-radius:8px;background:#fbfcfb;color:#68746c;display:grid;place-items:center;padding:18px;text-align:center;font-size:13px;font-weight:800}.member-create-panel{gap:14px}.member-create-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.member-table-scroll{margin:0 -4px;overflow-x:auto;padding:0 4px 4px}.member-table{width:100%;min-width:920px;table-layout:fixed}.member-table th,.member-table td{vertical-align:middle}.member-col-name{width:18%}.member-col-login{width:30%}.member-col-role{width:14%}.member-col-status{width:12%}.member-col-actions{width:320px}.member-name-text{color:#17201b;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.member-login-cell{display:flex;align-items:center;gap:8px;min-width:0}.member-login-cell code{display:inline-block;max-width:100%;border-radius:6px;background:#f3f7f4;color:#17201b;font-size:12px;line-height:1.4;overflow:hidden;padding:4px 6px;text-overflow:ellipsis;white-space:nowrap}.member-table-actions{min-width:304px;display:flex;align-items:center;gap:6px;flex-wrap:nowrap;white-space:nowrap}.member-table-actions .text-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:32px;padding:0 9px;white-space:nowrap}.member-table-actions .member-reset-password{min-width:88px}.member-password-dialog{width:min(480px,100%)}@media(max-width:960px){.member-management-workspace,.member-create-fields{grid-template-columns:minmax(0,1fr)}.member-status-banner{align-items:flex-start;flex-direction:column}.member-table{min-width:860px}}.admin-user-detail-grid{display:grid;grid-template-columns:minmax(86px,auto) minmax(0,1fr);gap:9px 12px;border-top:1px solid #e6ece7;padding-top:12px}.admin-user-detail-grid span,.admin-user-empty-detail p{color:#68746c;font-size:12px;line-height:1.5}.admin-user-detail-grid strong{min-width:0;color:#17201b;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.admin-user-empty-detail p{margin:0}.admin-reset-dialog{width:min(560px,100%)}.admin-password-mode{width:100%}.admin-default-password-preview,.admin-password-result-value{border:1px solid #dfe8e2;border-radius:8px;background:#f7faf8;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 14px}.admin-default-password-preview span{color:#647169;font-size:13px;font-weight:700}.admin-default-password-preview code,.admin-password-result-value code{min-width:0;color:#17201b;font-size:16px;font-weight:850;overflow-wrap:anywhere}.admin-password-fields,.admin-password-result{display:grid;gap:14px}.admin-password-result{padding:18px}.admin-password-result-message{display:grid;gap:4px}.admin-password-result p{margin:0;color:#647169;line-height:1.55}.admin-password-result-icon{width:38px;height:38px;border-radius:50%;background:#e7f7ed;color:#127347;display:inline-flex;align-items:center;justify-content:center}.admin-password-result-value .text-button{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.admin-password-result footer{display:flex;justify-content:flex-end}.admin-pane-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.admin-pane-header .section-title{margin-bottom:0}.registration-pane-header{align-items:flex-start}.registration-title-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.admin-mini-stats,.admin-inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-mini-stats span{min-height:24px;display:inline-flex;align-items:center;border-radius:999px;background:#f2f6f3;padding:0 8px;font-weight:800}.admin-mini-stats .admin-mini-stat-alert{background:#fff0ed;color:#b42318}.admin-subsection{padding-top:16px;border-top:1px solid #edf1ed}.admin-billing-workspace{display:grid;gap:14px}.admin-billing-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-billing-stats>div{min-width:0;border:1px solid #dce6df;border-radius:8px;background:#f8faf8;padding:12px 14px;display:grid;gap:4px}.admin-billing-stats span,.admin-credit-selected span{color:#68746c;font-size:12px;font-weight:800}.admin-billing-stats strong{overflow:hidden;color:#18231d;font-size:22px;text-overflow:ellipsis}.admin-billing-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:14px;align-items:start}.admin-credit-accounts,.admin-credit-history,.admin-credit-form{min-width:0}.admin-credit-accounts .search-box{width:min(320px,100%)}.admin-credit-form{display:grid;gap:12px}.admin-credit-selected{min-width:0;border:1px solid #d8e7de;border-radius:8px;background:#f4faf6;padding:12px;display:grid;gap:4px}.admin-credit-selected strong,.admin-credit-selected small{overflow-wrap:anywhere}.admin-credit-selected small{color:#617068}.segmented-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border-radius:8px;background:#eef2ef;padding:4px}.segmented-control button{min-height:36px;border:0;border-radius:6px;background:transparent;color:#5c6961;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:800}.segmented-control button.active{background:#fff;color:#16704e;box-shadow:0 1px 4px #1836261f}.segmented-control button.active.danger{color:#b42318}.admin-success-message{border:1px solid #b7dfca;border-radius:8px;background:#edf9f2;color:#126342;padding:10px 12px;font-weight:800}.table-scroll{width:100%;overflow-x:auto}.table-scroll table{min-width:680px}tr.selected-row td{background:#eff8f2}.credit-positive{color:#13704d;font-weight:900}.credit-negative{color:#b42318;font-weight:900}@media(max-width:980px){.admin-billing-layout{grid-template-columns:minmax(0,1fr)}.admin-billing-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.admin-billing-stats{grid-template-columns:minmax(0,1fr)}}.token-box{display:grid;gap:6px;border:1px solid #d6ded6;border-radius:8px;background:#f8faf8;padding:10px}.token-box-list{display:grid;gap:10px;max-height:min(58vh,520px);overflow:auto;padding-right:2px}.token-box-header,.token-box-meta,.registration-request-actions{display:flex;align-items:center;gap:8px}.token-box-header{justify-content:space-between}.token-box span{color:#5b675f;font-size:12px;font-weight:800}.token-copy-button{min-height:28px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;white-space:nowrap}.token-box code{display:block;max-width:100%;overflow-wrap:anywhere;color:#17201b;font-size:12px;line-height:1.5}.token-box-meta{flex-wrap:wrap}.token-box small,.form-hint{color:#68746c;display:block;font-size:12px;line-height:1.5}.token-copy-feedback{color:#8b2e22}.registration-request-actions{flex-wrap:wrap}.table-muted{color:#68746c;font-size:12px;font-weight:700}.wecom-preview-panel{border-radius:22px;padding:16px;background:#fff;border:1px solid #dfe7e1;box-shadow:0 1px 2px #27372e0d;display:grid;gap:14px}.workbench-header.compact{align-items:flex-start}.wecom-preview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wecom-preview-metrics span{min-width:0;border-radius:14px;background:#f4f8f5;color:#5f6c64;padding:10px;display:grid;gap:3px;font-size:12px}.wecom-preview-metrics strong{color:#163923;font-size:22px;line-height:1}.wecom-preview-list{display:grid;gap:8px}.preview-conversation-item{width:100%;border:1px solid transparent;border-radius:15px;background:#f8fbf9;padding:9px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;color:inherit;text-align:left}.preview-conversation-item:hover,.preview-conversation-item:focus-visible{border-color:#bfe2cd;background:#eef8f2;outline:0}.preview-conversation-item span:nth-child(2){min-width:0;display:grid;gap:2px}.preview-conversation-item strong{overflow:hidden;color:#18231d;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.preview-conversation-item small{overflow:hidden;color:#6b7870;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.preview-conversation-item b{border-radius:999px;background:#e8f5ee;color:#146246;padding:4px 7px;font-size:11px}.wecom-preview-actions{display:grid;grid-template-columns:1fr;gap:8px}.wecom-page{display:grid;gap:16px}.wecom-page-toolbar{border-radius:24px;border:1px solid #d9e7de;background:linear-gradient(135deg,#1f7a571f,#fffffff0),#fff;padding:18px;display:grid;gap:14px;box-shadow:0 14px 42px #223e2e14}.wecom-page-heading h2{margin:8px 0 6px;color:#17261e;font-size:clamp(26px,3vw,36px);font-weight:900;letter-spacing:-.03em;line-height:1.08}.wecom-page-heading p{margin:0;max-width:760px;color:#627169;line-height:1.55}.wecom-toolbar-meta{display:flex;flex-wrap:wrap;gap:8px}.wecom-toolbar-meta span{min-height:34px;border-radius:999px;border:1px solid #dce8e0;background:#ffffffd1;color:#395247;display:inline-flex;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:600}.seat-filter-bar{display:flex;flex-wrap:wrap;gap:8px}.seat-filter-button{min-height:42px;border:1px solid #d5e2da;border-radius:14px;background:#fff;color:#46574e;display:inline-flex;align-items:center;gap:9px;padding:0 12px;font-weight:600}.seat-filter-button:hover,.seat-filter-button:focus-visible{border-color:#b5dcc6;outline:0}.seat-filter-button.active{border-color:#1f7a57;background:#eaf7ef;color:#135a40}.seat-filter-button strong{min-width:22px;height:22px;border-radius:999px;background:#1f7a571f;display:inline-grid;place-items:center;font-size:12px}.wecom-chat-workbench{border-radius:22px;padding:16px;background:linear-gradient(135deg,#1f7a5724,#ecf8f1d1),#f7fbf8;border:1px solid #cfebdc;box-shadow:0 20px 54px #1949331a;display:grid;gap:14px}.wecom-chat-workbench.full{padding:16px}.workbench-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.workbench-header strong{display:block;color:#13241b;font-size:19px;line-height:1.25}.workbench-header p{margin:4px 0 0;color:#617169;font-size:13px;line-height:1.5}.workbench-grid{min-height:570px;display:grid;grid-template-columns:220px minmax(310px,1fr) 230px;overflow:hidden;border-radius:20px;border:1px solid #dce7df;background:#eef2ef}.wecom-chat-workbench.full .workbench-grid{min-height:calc(100vh - 300px);grid-template-columns:280px minmax(520px,1fr) 320px}.conversation-list,.customer-profile-panel{min-width:0;background:#fff}.conversation-list{display:grid;grid-template-rows:auto auto 1fr;gap:10px;padding:14px;border-right:1px solid #dce5df}.conversation-list-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.conversation-title-tabs{min-width:0;display:flex;align-items:center;gap:8px}.conversation-list-head strong,.customer-profile-panel>div:first-child strong,.ai-suggestion-list>strong{color:#18231d;font-size:15px;line-height:1.35}.conversation-mode-tabs{border-radius:999px;background:#f6f8f6;display:inline-flex;align-items:center;gap:3px;padding:3px}.conversation-mode-tabs button{min-height:24px;border:0;border-radius:999px;background:transparent;color:#607168;cursor:pointer;display:inline-flex;align-items:center;gap:4px;padding:0 8px;font-size:11px;font-weight:800;white-space:nowrap}.conversation-mode-tabs button:hover,.conversation-mode-tabs button:focus-visible,.conversation-mode-tabs button.active{background:#e5f4eb;color:#126344;outline:0}.conversation-list-head span,.customer-profile-panel small{color:#7a877f;font-size:12px}.conversation-search{min-height:34px;border-radius:10px;background:#f2f5f3;color:#718078;display:flex;align-items:center;gap:7px;padding:0 10px;font-size:12px}.conversation-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#18231d;font:inherit}.conversation-search input::placeholder{color:#718078}.conversation-search:focus-within{background:#fff;box-shadow:0 0 0 2px #1f7a5724}.wechat-search-summary{margin:-4px 16px 8px;padding:8px 10px;border:1px solid #dce8e0;border-radius:12px;background:#f8fbf9;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#64746b;font-size:12px}.wechat-search-summary strong{color:#146246;font-size:12px}.wechat-search-results{margin:-4px 16px 8px;display:grid;gap:6px}.wechat-search-results button{border:1px solid #dce8e0;border-radius:10px;background:#fff;color:#26352d;cursor:pointer;display:grid;gap:2px;padding:8px 10px;text-align:left}.wechat-search-results button:hover,.wechat-search-results button:focus-visible{border-color:#b7d9c7;background:#f2faf5;outline:0}.wechat-search-results span,.wechat-search-results strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wechat-search-results span{color:#7a877f;font-size:11px}.wechat-search-results strong{color:#18231d;font-size:12px}.conversation-item{width:100%;border:0;border-radius:14px;background:transparent;padding:10px 8px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;text-align:left;align-items:center;color:inherit}.conversation-item:hover,.conversation-item:focus-visible,.conversation-item.active{background:#e9f7ef;outline:0}.conversation-avatar,.message-avatar{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;color:#fff;background:#1f7a57;font-weight:700;flex:0 0 auto}.conversation-copy{min-width:0;display:grid;gap:2px}.conversation-copy strong,.thread-header strong{overflow:hidden;color:#18231d;font-size:14px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.conversation-copy small,.thread-header span{overflow:hidden;color:#68746c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.conversation-copy em{overflow:hidden;color:#8a958e;font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.conversation-item b{min-width:20px;height:20px;border-radius:999px;background:#e85d45;color:#fff;display:inline-grid;place-items:center;font-size:11px}.conversation-empty{display:grid;gap:6px;padding:14px;border-radius:14px;background:#f7faf8;color:#657168;font-size:12px}.conversation-thread{min-width:0;display:grid;grid-template-rows:auto 1fr auto;background:#f2f4f2}.thread-header{min-width:0;min-height:62px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dce5df;background:#ffffffd1}.thread-header>div{min-width:0;display:grid;gap:2px}.thread-action,.message-composer button,.ai-suggestion-list button{border:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:700}.thread-action{min-height:34px;padding:0 10px;color:#146246;background:#e4f4eb;white-space:nowrap}.thread-messages{min-width:0;min-height:0;overflow-y:auto;display:grid;align-content:start;gap:14px;padding:16px;scrollbar-gutter:stable}.message-row{display:flex;gap:10px;align-items:flex-start}.message-row.outgoing{justify-content:flex-end}.message-avatar-wrap{width:42px;flex:0 0 auto;display:grid;justify-items:center;gap:4px}.message-avatar.staff{background:#0f6849}.message-bubble{max-width:min(78%,360px);border-radius:16px;padding:9px 12px;background:#fff;box-shadow:0 1px 2px #1f31260f}.message-row.outgoing .message-bubble{color:#fff;background:#1f7a57}.message-bubble small{display:block;margin-bottom:4px;color:#859188;font-size:11px}.message-row.outgoing .message-bubble small{color:#ffffffbd}.message-delivery-status{color:#6f7d74}.message-delivery-status.sent,.message-delivery-status.received{color:#43805f}.message-delivery-status.failed,.message-delivery-status.not_supported{color:#b35f2a}.message-delivery-error{display:block;max-width:320px;margin-top:4px;color:#a1602e;font-size:11px;font-style:normal}.message-bubble p,.sop-card p,.order-card p{margin:0;font-size:13px;line-height:1.55}.message-image-attachment,.message-emoji-attachment,.message-voice-attachment,.message-video-attachment{display:grid;gap:7px}.message-image-attachment img{display:block;max-width:min(260px,58vw);max-height:220px;border-radius:12px;object-fit:cover;background:#ffffff47}.message-emoji-attachment img{display:block;width:96px;height:96px;object-fit:contain}.message-voice-attachment span{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800}.message-voice-attachment audio{width:min(240px,56vw);height:32px}.message-video-attachment video{display:block;width:min(280px,60vw);max-height:220px;border-radius:12px;background:#0f1814}.message-file-attachment{min-width:min(260px,58vw);border-radius:14px;display:flex;align-items:center;gap:10px;padding:10px;color:inherit;text-decoration:none;background:#ffffff29}.message-row.incoming .message-file-attachment{background:#f0f4f2}.message-file-attachment span{min-width:0;display:grid;gap:2px}.message-file-attachment strong,.message-file-attachment small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-file-attachment small{opacity:.72;font-size:11px}.sop-card,.order-card{border-radius:16px;border:1px solid #dce5df;background:#fff;padding:12px;display:grid;gap:6px}.sop-card{border-color:#cfe8db;background:#f6fcf8}.sop-card span,.order-card span{color:#146246;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700}.sop-card strong,.order-card strong{color:#18231d;font-size:14px;line-height:1.35}.order-card p{color:#1f7a57;font-weight:700}.message-composer-shell{min-height:130px;max-height:360px;border-top:1px solid #dce5df;background:#fff;display:grid;grid-template-rows:12px minmax(0,1fr) auto auto;position:relative}.message-composer-resizer{width:100%;height:12px;border:0;border-radius:0;background:transparent;cursor:ns-resize;display:grid;place-items:center;padding:0;touch-action:none}.message-composer-resizer:before{width:42px;height:4px;border-radius:999px;background:#cbd8d1;content:""}.message-composer-resizer:hover:before,.message-composer-resizer:focus-visible:before{background:#6ea68d}.visually-hidden-file-input{position:fixed;width:1px;height:1px;opacity:0;pointer-events:none}.message-composer{min-height:0;padding:0 12px 8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.message-composer-input{height:100%;min-height:44px;width:100%;min-width:0;border:0;outline:0;border-radius:12px;background:#f3f6f4;color:#18231d;padding:10px 12px;resize:none;overflow-y:auto;font-size:13px;line-height:1.45;font-family:inherit}.message-composer-input::placeholder{color:#849089}.message-composer-input:focus{background:#fff;box-shadow:0 0 0 2px #1f7a5724}.message-composer button{min-height:38px;align-self:end;padding:0 12px;color:#fff;background:#1f7a57}.message-composer button:disabled{opacity:.58;cursor:not-allowed}.customer-profile-panel{border-left:1px solid #dce5df;padding:14px;display:grid;align-content:start;gap:14px}.customer-profile-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer-profile-heading>div{display:grid;gap:4px;min-width:0}.customer-profile-heading .status-badge{flex:0 0 auto}.customer-profile-panel>div:first-child{display:grid;gap:4px}.customer-profile-panel>.customer-profile-heading{display:flex}.customer-profile-panel>div:first-child span{color:#68746c;font-size:12px}.customer-profile-panel>.customer-profile-heading .status-badge.green{color:#146246}.customer-profile-panel>.customer-profile-heading .status-badge.blue{color:#1d4e89}.customer-profile-panel>.customer-profile-heading .status-badge.amber{color:#805400}.customer-profile-panel>.customer-profile-heading .status-badge.gray{color:#59635c}.profile-tags{display:flex;flex-wrap:wrap;gap:7px}.profile-tags span{border-radius:999px;padding:5px 9px;color:#146246;background:#e8f5ee;font-size:12px;font-weight:700}.profile-metrics{display:grid;gap:8px}.profile-metrics span{min-height:42px;border-radius:13px;background:#f7faf8;color:#526158;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;font-size:12px}.profile-metrics strong{color:#18231d;font-size:13px}.customer-insight-card,.next-action-card{border-radius:16px;border:1px solid #d8e7de;background:#fff;padding:12px;display:grid;gap:10px}.customer-insight-card-head,.next-action-card>span{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#17644a;font-size:12px;font-weight:800}.customer-insight-card-head span,.next-action-card>span{display:flex;align-items:center;gap:6px}.customer-insight-card-head strong{color:#0f7a52}.customer-insight-card p,.next-action-card strong{margin:0;color:#233129;font-size:13px;line-height:1.55}.customer-insight-grid{display:grid;grid-template-columns:64px minmax(0,1fr);gap:7px 10px;align-items:start;border-radius:12px;background:#f6faf7;padding:10px}.customer-insight-grid span{color:#738079;font-size:12px}.customer-insight-grid strong{color:#27342d;font-size:12px;line-height:1.45}.insight-signal-list{display:flex;flex-wrap:wrap;gap:6px}.insight-signal-list span{border-radius:999px;background:#eef7f2;color:#28654d;padding:5px 8px;font-size:11px;font-weight:800}.analysis-action-row{display:grid;gap:7px}.analysis-action-row button{min-height:34px;border-radius:11px;justify-content:center;background:#edf7f1;color:#126145;font-size:12px}.analysis-action-row button:hover,.analysis-action-row button:focus-visible{background:#dff2e8;outline:0}.ai-suggestion-list{display:grid;gap:8px}.ai-suggestion-list button{min-height:38px;border-radius:12px;padding:9px 10px;justify-content:flex-start;color:#425047;background:#f3f7f4;font-size:12px;line-height:1.45;text-align:left}.ai-suggestion-list button:hover,.ai-suggestion-list button:focus-visible{color:#146246;background:#e8f5ee;outline:0}.wechat-chat-shell{height:min(760px,calc(100vh - 230px));min-height:570px;display:grid;grid-template-columns:88px minmax(270px,330px) minmax(420px,1fr) minmax(280px,340px);overflow:hidden;border-radius:20px;border:1px solid #d6ded8;background:#eff1ef}.wecom-chat-workbench.full .wechat-chat-shell{height:calc(100vh - 220px);min-height:620px}.wechat-account-rail{min-width:0;overflow:hidden;padding:12px 8px;border-right:1px solid #cfd8d2;background:#dfe3df;display:flex;flex-direction:column;justify-content:space-between;gap:14px}.wechat-account-rail-main{min-width:0;min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;display:grid;align-content:start;justify-items:center;gap:10px;padding:2px 0;scrollbar-gutter:stable}.wechat-account-switcher,.wechat-account-rail-actions{display:grid;gap:10px;justify-items:center}.wechat-account-switcher{width:100%}.wechat-account-empty{width:64px;min-height:64px;border:1px dashed rgba(31,122,87,.42);border-radius:12px;background:#ffffff80;color:#1f6f50;display:grid;place-items:center;gap:3px;padding:7px 4px}.wechat-account-empty span{font-size:10px;line-height:1.2}.wechat-account-rail-actions{flex:0 0 auto}.wechat-account-card{position:relative;width:72px;min-height:54px;border-radius:15px;display:grid;grid-template-columns:42px 24px;align-items:center;justify-content:center;gap:4px}.wechat-account-card:hover,.wechat-account-card.active{background:#ffffffb3}.wechat-account-button,.wechat-account-rail-actions button{position:relative;width:42px;min-height:44px;border:0;border-radius:14px;background:transparent;color:#344039;display:grid;place-items:center}.wechat-account-button:hover,.wechat-account-button:focus-visible,.wechat-account-rail-actions button:hover,.wechat-account-rail-actions button:focus-visible{background:#ffffffb8;outline:0}.wechat-account-card.active:before{content:"";position:absolute;left:-8px;width:3px;height:26px;border-radius:999px;background:#1f7a57}.wechat-account-avatar{width:38px;height:38px;border-radius:12px;background:#1f7a57;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:700;letter-spacing:-.02em}.wechat-account-avatar.large{width:44px;height:44px;border-radius:14px;font-size:16px}.wechat-account-avatar.pending{background:#b9892f}.wechat-account-avatar.offline{background:#8a958e}.wechat-account-unread,.wechat-contact-meta b{min-width:18px;height:18px;border-radius:999px;background:#e3533f;color:#fff;display:inline-grid;place-items:center;font-size:10px;line-height:1}.wechat-account-unread{position:absolute;top:4px;right:4px;border:2px solid #dfe3df}.wechat-contact-pane{min-width:0;border-right:1px solid #d6ded8;background:#eceeed;padding:12px;display:grid;grid-template-rows:auto auto auto auto 1fr;gap:10px}.wechat-current-account{min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center}.auto-reply-mini-status{border-radius:999px;background:#e6f8ee;color:#126344;padding:5px 8px;font-size:11px;font-weight:800;white-space:nowrap}.auto-reply-mini-status.paused{background:#fff3de;color:#965b05}.wechat-current-account div,.wechat-contact-copy{min-width:0;display:grid;gap:2px}.wechat-current-account span,.wechat-current-account small,.wechat-contact-copy small,.wechat-contact-copy em,.wechat-contact-meta time{color:#6f7a73;font-size:12px}.wechat-current-account strong,.wechat-contact-copy strong,.wechat-chat-titlebar strong{overflow:hidden;color:#18231d;font-size:14px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.wechat-message-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.auto-reply-status{color:#68746c;font-size:12px;font-weight:700;line-height:1.4}.auto-reply-toggle{min-height:30px;border:1px solid #c6ead8;border-radius:999px;background:#e6f8ee;color:#126344;cursor:pointer;padding:0 10px;font-size:12px;font-weight:800;white-space:nowrap}.auto-reply-toggle:hover,.auto-reply-toggle:focus-visible{background:#d8f4e6;box-shadow:0 0 0 3px #1f7a571f;outline:0}.auto-reply-toggle.paused{border-color:#f1c88d;background:#fff3de;color:#965b05}.auto-reply-toggle.paused:hover,.auto-reply-toggle.paused:focus-visible{background:#ffe9c2;box-shadow:0 0 0 3px #cb7d1a21}.account-auto-reply-toggle{width:48px;min-height:28px;padding:0 6px;border-radius:10px;font-size:11px;line-height:1}.account-auto-reply-toggle.vertical{width:22px;min-height:44px;padding:5px 0;border-radius:10px;line-height:1.1;writing-mode:vertical-rl;text-orientation:upright}.account-auto-reply-toggle:disabled{opacity:.62;cursor:wait}.wechat-contact-list{min-height:0;overflow:auto;display:grid;align-content:start;gap:4px;padding-right:2px;scrollbar-gutter:stable}.wechat-contact-section{min-width:0;display:grid;gap:4px}.wechat-contact-letter{position:sticky;top:0;z-index:1;min-height:22px;border-radius:8px;background:#eceeedeb;color:#718079;display:flex;align-items:center;padding:0 8px;font-size:12px;font-weight:800;letter-spacing:.04em}.wechat-contact-item{width:100%;min-width:0;border:0;border-radius:12px;background:transparent;color:inherit;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:4px;text-align:left}.wechat-contact-item:hover,.wechat-contact-item:focus-within{background:#dfe9e2;outline:0}.wechat-contact-item.active{background:#d3e4d9;box-shadow:inset 4px 0 #1f7a57,0 1px #1f7a570f;outline:0}.wechat-contact-item.active .conversation-avatar{background:#1f7a57;color:#fff}.wechat-contact-item.auto-paused{opacity:.78}.wechat-contact-main{min-width:0;border:0;border-radius:10px;background:transparent;color:inherit;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 6px;text-align:left}.wechat-contact-main:focus-visible{outline:2px solid rgba(31,122,87,.32);outline-offset:2px}.wechat-contact-item.active .wechat-contact-copy strong{color:#0f5138}.wechat-contact-copy strong{display:flex;align-items:center;gap:6px}.wechat-contact-copy strong i{border-radius:999px;background:#e3e8e4;color:#6b766f;padding:2px 5px;font-size:10px;font-style:normal;font-weight:700}.wechat-contact-copy small,.wechat-contact-copy em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wechat-contact-copy em{font-style:normal;color:#8a958e}.wechat-contact-meta{align-self:stretch;display:grid;align-content:start;justify-items:end;gap:8px}.contact-auto-reply-toggle{width:30px;min-height:34px;border:1px solid #c6ead8;border-radius:10px;background:#e6f8ee;color:#126344;cursor:pointer;font-size:12px;font-weight:800}.contact-auto-reply-toggle.paused{border-color:#f1c88d;background:#fff3de;color:#965b05}.contact-auto-reply-toggle:hover,.contact-auto-reply-toggle:focus-visible{box-shadow:0 0 0 3px #1f7a571a;outline:0}.contact-auto-reply-toggle:disabled{cursor:wait;opacity:.62}.wechat-workbench-notice{border-radius:10px;background:#eef8f3;color:#146246;font-size:12px;font-weight:700;line-height:1.45;padding:8px 10px}.wechat-workbench-notice.error{background:#fff2e7;color:#9a4f11}.wechat-section-toggle{min-width:0;border-radius:12px;background:#ffffffad;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px}.wechat-section-toggle span{color:#445149;font-size:12px;font-weight:800;white-space:nowrap}.bulk-auto-reply-switch{min-height:28px;border-radius:999px;cursor:pointer;color:#126344;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;-webkit-user-select:none;user-select:none}.bulk-auto-reply-switch input{position:absolute;opacity:0;pointer-events:none}.bulk-auto-reply-switch strong{min-width:54px;color:inherit;font-size:11px;text-align:right;white-space:nowrap}.bulk-switch-track{width:38px;height:22px;border:1px solid #b9e5ce;border-radius:999px;background:#dff7ea;display:inline-flex;align-items:center;padding:2px;transition:background .16s ease,border-color .16s ease}.bulk-switch-track i{width:16px;height:16px;border-radius:999px;background:#1f7a57;box-shadow:0 1px 2px #13412d33;transform:translate(16px);transition:transform .16s ease,background .16s ease}.bulk-auto-reply-switch.paused,.bulk-auto-reply-switch.partial{color:#8a590d}.bulk-auto-reply-switch.paused .bulk-switch-track{border-color:#f1d1a5;background:#fff2dc}.bulk-auto-reply-switch.partial .bulk-switch-track{border-color:#d6e0bb;background:#f7edcf}.bulk-auto-reply-switch.paused .bulk-switch-track i{background:#bf7b1e;transform:translate(0)}.bulk-auto-reply-switch.partial .bulk-switch-track i{background:#bf7b1e;transform:translate(8px)}.bulk-auto-reply-switch:focus-within .bulk-switch-track{box-shadow:0 0 0 3px #1f7a571f}.bulk-auto-reply-switch:has(input:disabled){cursor:not-allowed;opacity:.58}.wechat-chat-panel{min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;background:#f5f5f5}.wechat-chat-titlebar{min-width:0;min-height:62px;border-bottom:1px solid #dcdedc;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}.wechat-chat-titlebar>div{min-width:0;display:grid;gap:3px}.wechat-chat-titlebar span{overflow:hidden;color:#6f7a73;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.message-stack{min-width:0;display:grid;gap:5px;justify-items:start}.message-stack>small{color:#7c8780;font-size:12px}.chat-message-origin{margin-right:6px;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:800}.message-avatar-origin{min-height:16px;display:inline-flex;justify-content:center}.message-avatar-origin .chat-message-origin{margin-right:0;padding:1px 5px;transform:scale(.92);transform-origin:center top}.chat-message-origin.ai{background:#e7f4ee;color:#136246}.chat-message-origin.human{background:#eef0f2;color:#46515a}.message-row.outgoing .message-stack{justify-items:end}.wechat-message-actions{min-height:38px;background:#fff;display:flex;align-items:center;gap:6px;padding:0 12px 10px}.wechat-message-actions button{min-height:28px;border:0;border-radius:8px;background:transparent;color:#536158;display:inline-flex;align-items:center;gap:4px;padding:0 8px;font-size:12px;font-weight:600}.wechat-message-actions button:hover,.wechat-message-actions button:focus-visible{color:#146246;background:#edf6f1;outline:0}.wechat-message-actions button.active{color:#146246;background:#e5f4eb}.wechat-message-actions button:disabled{opacity:.46;cursor:not-allowed}.composer-tools-wrap{position:relative;min-width:0}.reply-review-strip{margin:0 12px 8px;border:1px solid #cfe5d8;border-radius:10px;background:#f3fbf6;color:#38624b;display:flex;align-items:center;gap:7px;padding:7px 9px;font-size:12px;font-weight:700}.reply-review-strip span{min-width:0;flex:1}.reply-review-strip button{border:0;border-radius:999px;background:#fff;color:#146246;cursor:pointer;font-size:12px;font-weight:800;padding:5px 8px}.composer-tool-popover{position:absolute;left:12px;right:12px;bottom:calc(100% + 8px);z-index:18;overflow:hidden;border:1px solid #d8e8df;border-radius:16px;background:#fff;box-shadow:0 18px 46px #14201b29}.composer-tool-popover-head{min-height:42px;border-bottom:1px solid #edf3ef;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px}.composer-tool-popover-head strong{color:#18231d;font-size:13px}.composer-tool-popover-head button{width:28px;height:28px;border:0;border-radius:999px;background:#f2f6f4;color:#536158;font-size:18px;line-height:1}.composer-tool-popover-head button:hover,.composer-tool-popover-head button:focus-visible{background:#e5f4eb;color:#146246;outline:0}.composer-tool-panel{min-height:0;max-height:220px;overflow-y:auto;padding:10px}.quick-reply-grid,.material-reply-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-reply-grid button,.material-reply-grid button,.sop-reply-panel button{border:1px solid #dce8e0;border-radius:12px;background:#fff;color:#26352d;cursor:pointer;display:grid;gap:3px;min-width:0;padding:8px 10px;text-align:left}.quick-reply-grid button:hover,.quick-reply-grid button:focus-visible,.material-reply-grid button:hover,.material-reply-grid button:focus-visible,.sop-reply-panel button:hover,.sop-reply-panel button:focus-visible{border-color:#b7d9c7;background:#f3fbf6;outline:0}.quick-reply-grid strong,.material-reply-grid strong{color:#18231d;font-size:12px}.quick-reply-grid span,.material-reply-grid small{overflow:hidden;color:#657168;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.material-reply-grid button>span{width:fit-content;border-radius:999px;background:#edf7f1;color:#146246;font-size:11px;font-weight:800;padding:2px 6px}.sop-reply-panel{display:grid;gap:8px}.sop-reply-panel span{color:#526158;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800}.sop-reply-panel button{display:inline-flex;justify-content:center;color:#146246;font-weight:800}.wechat-profile-panel{min-height:0;overflow-y:auto;background:#fff;scrollbar-gutter:stable}.chat-side-panel{min-width:0}.side-info-card{border-radius:14px;border:1px solid #dce8e0;background:#f8fbf9;display:grid;gap:6px;padding:12px}.side-info-card span{color:#146246;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800}.side-info-card strong{color:#18231d;font-size:14px;line-height:1.35}.side-info-card p{margin:0;color:#64746b;font-size:12px;line-height:1.55}.profile-search-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-search-actions button{min-height:34px;border:1px solid #dce8e0;border-radius:10px;background:#f8fbf9;color:#265742;cursor:pointer;font-size:12px;font-weight:800}.profile-search-actions button:hover,.profile-search-actions button:focus-visible{border-color:#b9dcca;background:#eef8f3;outline:0}.profile-search-actions button:disabled{cursor:not-allowed;opacity:.55}.profile-search-results{display:grid;gap:8px;padding:10px;border:1px solid #dce8e0;border-radius:14px;background:#fbfdfb}.profile-search-results>strong{color:#18231d;font-size:13px}.profile-search-results button{border:0;border-radius:12px;padding:8px 10px;background:#eef8f3;text-align:left;display:grid;gap:3px}.profile-search-results span{color:#4d6d5c;font-size:11px}.profile-search-results small{color:#1f2f27;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auto-reply-rule-panel{border:1px solid #dce8e0;border-radius:14px;background:#f8fbf9;display:grid;gap:10px;padding:12px}.auto-reply-rule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.auto-reply-rule-head>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.auto-reply-rule-head span{color:#146246;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:900}.auto-reply-rule-head button,.auto-reply-rule-item button{border:1px solid #cde2d6;border-radius:999px;background:#fff;color:#146246;cursor:pointer;font-size:12px;font-weight:800;padding:5px 10px}.auto-reply-rule-head button:disabled,.auto-reply-rule-item button:disabled{cursor:not-allowed;opacity:.58}.auto-reply-rule-form{border:1px solid #e1ebe4;border-radius:12px;background:#fff;display:grid;gap:8px;padding:10px}.auto-reply-rule-form label{display:grid;gap:4px;min-width:0}.auto-reply-rule-form label>span{color:#607168;font-size:11px;font-weight:900}.auto-reply-rule-form input,.auto-reply-rule-form select,.auto-reply-rule-form textarea{width:100%;min-width:0;border:1px solid #dce8e0;border-radius:10px;background:#f8fbf9;color:#18231d;font:inherit;font-size:12px;outline:0;padding:8px 9px}.auto-reply-rule-form textarea{min-height:82px;resize:vertical}.auto-reply-rule-form input:focus,.auto-reply-rule-form select:focus,.auto-reply-rule-form textarea:focus{border-color:#9bcfb4;background:#fff;box-shadow:0 0 0 2px #1f7a571a}.rule-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rule-knowledge-picker{border:1px solid #dce8e0;border-radius:12px;background:#f8fbf9;display:grid;gap:8px;padding:10px}.rule-knowledge-picker>div:first-child{display:grid;gap:2px}.rule-knowledge-picker strong{color:#18231d;font-size:12px}.rule-knowledge-picker small{color:#6d7a72;font-size:11px;line-height:1.45}.rule-knowledge-options{display:grid;gap:6px;max-height:148px;overflow:auto;padding-right:2px}.rule-knowledge-options label{border:1px solid #e3ece6;border-radius:10px;background:#fff;display:grid;grid-template-columns:auto 1fr;gap:8px;padding:8px}.rule-knowledge-options label.selected{border-color:#16a66a;background:#edf9f2}.rule-knowledge-options input{margin-top:2px;width:auto}.auto-reply-rule-form-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px}.rule-enabled-check{margin-right:0;display:inline-flex!important;grid-template-columns:auto auto;align-items:center;gap:6px!important;color:#536158;font-size:12px;font-weight:800}.rule-enabled-check input{width:auto}.rule-policy-check span{color:#1f6f52}.auto-reply-rule-form-actions button:first-of-type{margin-left:auto}.auto-reply-rule-form-actions button{border:1px solid #cde2d6;border-radius:999px;background:#fff;color:#146246;cursor:pointer;font-size:12px;font-weight:800;padding:6px 10px}.auto-reply-rule-form-actions button[type=submit]{background:#1f7a57;border-color:#1f7a57;color:#fff}.auto-reply-rule-form-actions button:disabled{cursor:not-allowed;opacity:.58}.rule-policy-note{color:#6a7a70;font-size:11px;line-height:1.55;margin:-2px 0 0}.auto-reply-rule-list{display:grid;gap:8px}.auto-reply-rule-item{border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px}.auto-reply-rule-item.paused{background:#fff6e9}.auto-reply-rule-item>div:first-child{min-width:0;display:grid;gap:3px}.rule-item-actions{flex:0 0 auto;display:inline-flex!important;gap:5px!important}.auto-reply-rule-item strong,.auto-reply-rule-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auto-reply-rule-item strong{color:#18231d;font-size:13px}.auto-reply-rule-item small,.auto-reply-rule-empty{color:#64746b;font-size:12px;line-height:1.5}.auto-reply-rule-empty{margin:0}.wechat-context-menu{position:fixed;z-index:50;width:178px;border:1px solid #d8ddd9;border-radius:8px;background:#fff;box-shadow:0 14px 34px #19261f2e;padding:6px}.wechat-context-menu button{width:100%;min-height:34px;border:0;border-radius:6px;background:transparent;color:#26322c;display:flex;align-items:center;padding:0 10px;text-align:left;font-size:13px}.wechat-context-menu button:hover,.wechat-context-menu button:focus-visible{background:#f1f4f2;outline:0}.wechat-context-menu button.danger{color:#d34235}.wechat-add-account-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;padding:20px;background:#0f181461}.wechat-add-account-dialog{width:min(520px,100%);max-height:min(720px,calc(100vh - 40px));overflow-y:auto;border-radius:20px;border:1px solid #d7e5dd;background:#fff;box-shadow:0 24px 80px #0f18143d;display:grid;gap:14px;padding:16px}.wechat-account-manager-dialog{width:min(640px,100%)}.wechat-account-manager-list{display:grid;gap:10px}.wechat-account-manager-item{border:1px solid #dce8e0;border-radius:10px;background:#fff;display:grid;gap:12px;padding:12px}.wechat-account-manager-item.disconnected{background:#f7f8f7;opacity:.78}.wechat-account-manager-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px}.wechat-account-manager-summary>div{min-width:0;display:grid;gap:2px}.wechat-account-manager-summary strong{color:#18231d;font-size:14px}.wechat-account-manager-summary span,.wechat-account-manager-summary small,.wechat-account-manager-empty span{color:#68746c;font-size:12px}.wechat-account-manager-summary em{border-radius:999px;background:#eaf7ef;color:#146246;display:inline-flex;align-items:center;gap:4px;font-size:11px;font-style:normal;font-weight:800;padding:5px 8px}.wechat-account-manager-actions{display:flex;flex-wrap:wrap;gap:8px;padding-left:52px}.wechat-account-manager-actions button,.wechat-account-manager-empty button{min-height:32px;border:1px solid #cde2d6;border-radius:8px;background:#fff;color:#146246;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:700;padding:0 10px}.wechat-account-manager-actions button.danger{border-color:#efc9c5;color:#c63f34}.wechat-account-manager-actions button:disabled{cursor:not-allowed;opacity:.55}.wechat-account-manager-empty{border:1px dashed #cde2d6;border-radius:10px;display:grid;justify-items:start;gap:7px;padding:18px}.wechat-add-account-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.wechat-add-account-dialog header div{min-width:0;display:grid;gap:4px}.wechat-add-account-dialog header span,.wechat-add-account-status span,.wechat-add-account-status small,.wechat-add-account-help{color:#68746c;font-size:12px;line-height:1.5}.wechat-add-account-dialog header strong{color:#18231d;font-size:20px;line-height:1.2}.wechat-add-account-dialog header button{width:34px;height:34px;border:0;border-radius:999px;background:#f2f6f4;color:#536158;font-size:22px;line-height:1}.wechat-add-account-dialog header button:hover,.wechat-add-account-dialog header button:focus-visible{background:#e5f4eb;color:#146246;outline:0}.wechat-add-account-status{border-radius:14px;background:#f4f8f6;display:grid;gap:3px;padding:12px}.wechat-add-account-status strong{color:#146246;font-size:14px}.wechat-add-account-options{display:grid;gap:10px}.wechat-add-account-options button{width:100%;min-height:76px;border:1px solid #dce8e0;border-radius:16px;background:#fff;color:#26352d;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:12px;padding:12px;text-align:left}.wechat-add-account-options button:hover,.wechat-add-account-options button:focus-visible{border-color:#b7d9c7;background:#f3fbf6;outline:0}.wechat-add-account-options button.primary{border-color:#1f7a57;background:#eaf7ef}.wechat-add-account-options button.selected{border-color:#1f7a57;background:#f3fbf6;box-shadow:inset 4px 0 #1f7a57}.wechat-add-account-options button:disabled{cursor:not-allowed;opacity:.58}.wechat-add-account-options button>svg{color:#1f7a57}.wechat-add-account-options span{min-width:0;display:grid;gap:3px}.wechat-add-account-options strong{color:#18231d;font-size:14px}.wechat-add-account-options small{color:#64746b;font-size:12px;line-height:1.45}.wechat-add-account-help{margin:0}.wechat-add-account-self-built{border:1px solid #dce8e0;border-radius:16px;background:#fbfdfb;display:grid;gap:12px;padding:12px}.wechat-add-account-status.compact{padding:10px}.wechat-add-account-form{display:grid;gap:10px}.wechat-add-account-form label{min-width:0;display:grid;gap:5px}.wechat-add-account-form label>span{color:#526158;font-size:12px;font-weight:800}.wechat-add-account-form input{width:100%;min-width:0;min-height:38px;border:1px solid #dce8e0;border-radius:10px;background:#fff;color:#18231d;outline:0;padding:0 10px}.wechat-add-account-form input:focus{border-color:#9bcfb4;box-shadow:0 0 0 2px #1f7a571f}.wechat-add-account-form>button,.wechat-add-account-inline-actions button{min-height:36px;border:1px solid #cde2d6;border-radius:999px;background:#fff;color:#146246;cursor:pointer;font-size:12px;font-weight:800;padding:0 12px}.wechat-add-account-form>button{border-color:#1f7a57;background:#1f7a57;color:#fff}.wechat-add-account-form>button:disabled,.wechat-add-account-inline-actions button:disabled{cursor:not-allowed;opacity:.58}.wechat-add-account-inline-actions{display:flex;flex-wrap:wrap;gap:8px}.wechat-add-account-sync-runs{display:grid;gap:6px}.wechat-add-account-sync-runs span{border-radius:10px;background:#f0f6f3;color:#536158;font-size:12px;padding:7px 9px}@media(max-width:1120px){.stats-grid,.visual-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-grid,.ai-compat-grid{grid-template-columns:1fr}.ai-test-section{position:static}.ai-provider-option-grid,.ai-config-workbench,.agent-workbench-grid,.agent-workbench-grid.no-runner,.agent-template-workbench,.reply-strategy-form-grid{grid-template-columns:1fr}.agent-run-panel,.agent-template-test-panel{position:static}.agent-plan-dialog-body,.auto-reply-template-body{grid-template-columns:1fr}.auto-reply-template-preview{position:static}.ai-model-choice-list,.ai-custom-model-list{max-height:none}.visual-layout{grid-template-columns:1fr}.workbench-grid{grid-template-columns:220px minmax(320px,1fr) 240px}.wecom-chat-workbench.full .workbench-grid{grid-template-columns:230px minmax(320px,1fr) 260px}.wechat-chat-shell{grid-template-columns:82px minmax(240px,280px) minmax(360px,1fr) minmax(240px,300px)}.knowledge-layout{grid-template-columns:1fr}.knowledge-asset-section,.knowledge-side-stack{grid-column:auto;grid-row:auto}.knowledge-side-stack{order:-1}.knowledge-start-actions,.knowledge-template-list,.knowledge-guide-steps,.operation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.span-2{grid-column:auto}}@media(max-width:900px){.account-custom-model-form,.platform-model-form{grid-template-columns:1fr}.platform-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;height:auto;max-height:none;z-index:5;padding:12px;border-right:0;border-bottom:1px solid #dde4dd}.brand-block,.tenant-card,.sidebar-ops-card{display:none}.nav-list{flex-direction:row;overflow-x:auto;padding-bottom:2px;gap:10px}.nav-group{display:flex;gap:8px}.nav-group>p{display:none}.nav-item{width:auto;min-width:152px;justify-content:flex-start;flex:0 0 auto}.workspace{padding:16px}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{width:100%;flex-wrap:wrap}.split-grid,.knowledge-hero{grid-template-columns:1fr}.knowledge-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-filter-bar{grid-template-columns:1fr}.knowledge-purpose-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-advanced-head{display:grid}.form-panel{position:static}.workbench-grid,.wecom-chat-workbench.full .workbench-grid{grid-template-columns:210px minmax(0,1fr)}.wechat-chat-shell{grid-template-columns:82px minmax(220px,280px) minmax(0,1fr)}.wechat-profile-panel{display:none}.customer-profile-panel{grid-column:1 / -1;border-left:0;border-top:1px solid #dce5df}.profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-overview-grid,.admin-pane-grid{grid-template-columns:1fr}.admin-pane-side{position:static}.admin-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-stat-strip>:where(div,button){border-left:0;border-top:1px solid #e2e9e3}.admin-stat-strip>:where(div,button):nth-child(-n+2){border-top:0}.admin-stat-strip>:where(div,button):nth-child(2n){border-left:1px solid #e2e9e3}}@media(max-width:640px){.platform-price-grid,.stats-grid,.visual-stats,.item-grid{grid-template-columns:1fr}.ops-hero{align-items:flex-start;flex-direction:column;padding:20px}.admin-stat-strip{grid-template-columns:1fr}.admin-stat-strip>:where(div,button),.admin-stat-strip>:where(div,button):nth-child(2n){border-left:0}.admin-stat-strip>:where(div,button):nth-child(n+2){border-top:1px solid #e2e9e3}.admin-list-toolbar{align-items:stretch;flex-direction:column}.admin-user-filters{align-items:stretch;flex-direction:column;width:100%}.admin-filter-select,.admin-list-toolbar .search-box{width:100%}.admin-inline-actions,.admin-inline-actions .primary-button,.registration-pane-header>.primary-button,.registration-subtabs-row,.registration-subtabs,.registration-title-actions,.registration-title-actions .primary-button{width:100%}.admin-inline-actions .primary-button,.registration-pane-header>.primary-button,.registration-title-actions .primary-button{justify-content:center}.registration-token-record-actions{flex-wrap:nowrap;max-width:100%;min-width:0}.segmented-control.tabs-5{grid-template-columns:repeat(2,minmax(0,1fr))}.segmented-control.tabs-5 button:last-child{grid-column:1 / -1}.hero-actions,.hero-actions .primary-button,.hero-actions .text-button{width:100%}.operation-grid,.knowledge-status-grid,.knowledge-start-actions,.knowledge-template-list,.knowledge-guide-steps,.knowledge-purpose-tabs{grid-template-columns:1fr}.knowledge-asset-card header,.knowledge-asset-card footer{align-items:flex-start;flex-direction:column}.ai-active-model-card{grid-template-columns:10px minmax(0,1fr)}.ai-provider-action{justify-self:start;grid-column:2}.ai-provider-option-grid{grid-template-columns:1fr}.ai-editor-header{align-items:stretch;flex-direction:column}.ai-custom-model-card{grid-template-columns:1fr}.ai-custom-model-actions{justify-content:flex-start;flex-wrap:wrap}.ai-config-editor-header,.ai-config-dialog-form footer,.account-custom-model-form>footer,.platform-model-form>footer{align-items:stretch;flex-direction:column}.ai-add-config-button,.ai-config-dialog-form footer .primary-button,.ai-config-dialog-form footer .text-button,.account-custom-model-form>footer .primary-button,.account-custom-model-form>footer .text-button,.platform-model-form>footer .primary-button,.platform-model-form>footer .text-button{width:100%}.ai-status-heading,.ai-test-channel-card{align-items:stretch;flex-direction:column}.ai-model-discovery-control{grid-template-columns:1fr}.ai-answer-box{height:clamp(240px,42vh,420px)}.ai-answer-loading{align-items:flex-start;justify-content:flex-start}.ai-composer-actions{align-items:stretch;flex-direction:column}.ai-composer-add,.ai-send-button{width:100%}.agent-command-center,.agent-ai-model-card,.agent-detail-hero,.agent-section-block header,.agent-result-head{align-items:stretch;flex-direction:column;grid-template-columns:1fr}.agent-command-stats{justify-content:flex-start}.agent-ai-model-card .text-button{width:100%}.agent-insight-grid{grid-template-columns:1fr}.agent-detail-title,.simple-template-detail .agent-detail-hero{align-items:stretch;flex-direction:column}.simple-template-detail .agent-detail-hero{grid-template-columns:1fr}.agent-detail-title>span{white-space:normal}.template-simple-actions,.template-setting-list{grid-template-columns:1fr}.template-test-header,.template-chat-composer{align-items:stretch;flex-direction:column}.template-chat-composer .primary-button{width:100%;justify-content:center}.template-chat-composer-side,.template-chat-composer-side .text-button{width:100%}.template-plain-section header span{max-width:none;text-align:left;white-space:normal}.template-status-toggle{width:100%}.agent-knowledge-chip{grid-template-columns:22px minmax(0,1fr)}.agent-knowledge-chip small{grid-column:2}.agent-plan-summary,.agent-plan-choice-grid,.agent-plan-check-grid,.agent-plan-custom-row,.agent-plan-skill-input{grid-template-columns:1fr}.agent-plan-custom-row button,.agent-plan-skill-input button{width:100%}.agent-plan-modal{padding:10px}.agent-plan-dialog,.auto-reply-template-form-card{max-height:calc(100vh - 20px);border-radius:18px}.agent-plan-dialog>header,.agent-plan-dialog>footer,.auto-reply-template-form-card>header,.auto-reply-template-form-card>footer{align-items:stretch;flex-direction:column}.agent-plan-dialog>footer>div,.agent-plan-dialog>footer .primary-button,.agent-plan-dialog>footer .text-button,.auto-reply-template-form-card>footer>div,.auto-reply-template-form-card>footer .primary-button,.auto-reply-template-form-card>footer .text-button{width:100%}.auto-reply-template-form,.agent-advanced-settings>summary{grid-template-columns:1fr}.agent-advanced-settings>summary small{justify-self:start;white-space:normal}.mini-bar-row{grid-template-columns:78px minmax(0,1fr)}.workbench-header,.thread-header,.message-composer{align-items:stretch;grid-template-columns:1fr;flex-direction:column}.workbench-grid,.wecom-chat-workbench.full .workbench-grid{grid-template-columns:1fr}.wechat-chat-shell{grid-template-columns:1fr;height:auto;max-height:none}.wechat-account-rail{flex-direction:row;align-items:center;overflow:visible;border-right:0;border-bottom:1px solid #cfd8d2;padding:8px}.wechat-account-rail-main{grid-auto-flow:column;grid-auto-columns:max-content;align-items:center;overflow-x:auto;overflow-y:hidden;padding:0}.wechat-account-switcher,.wechat-account-rail-actions{grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto}.wechat-account-card.active:before{left:11px;bottom:-8px;width:26px;height:3px}.wechat-account-manager-summary{grid-template-columns:42px minmax(0,1fr);align-items:start}.wechat-account-manager-summary em{grid-column:2;justify-self:start}.wechat-account-manager-actions{padding-left:0}.wechat-contact-pane{min-height:300px;max-height:420px;border-right:0;border-bottom:1px solid #d6ded8}.wechat-chat-titlebar,.message-composer{align-items:stretch;flex-direction:column}.conversation-list,.customer-profile-panel{border:0}.conversation-list{border-bottom:1px solid #dce5df}.conversation-item{grid-template-columns:36px minmax(0,1fr) auto}.message-bubble{max-width:82%}.profile-metrics{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}table{min-width:720px}.main-table{overflow-x:auto}}
