:root{--ink:#18243a;--text:#445068;--muted:#8792a6;--line:#e7eaf0;--soft:#f5f7fb;--blue:#315be8;--blue2:#557cf0;--violet:#7458dd;--green:#15956e;--orange:#df7c32;--red:#cc4e5a;--nav:#111d36;--shadow:0 12px 34px rgba(30,49,86,.08);--sidebar:238px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Manrope,"Noto Sans SC",sans-serif;color:var(--ink);background:#f4f6fa}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(180deg,#111d36,#15223d 56%,#111a30);color:#fff;padding:24px 14px 16px;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 22px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{width:39px;height:39px;border-radius:11px;background:linear-gradient(145deg,#5279ef,#315be8);display:grid;place-items:center;font-size:14px;font-weight:800;box-shadow:0 8px 22px rgba(49,91,232,.28)}.brand strong,.brand span{display:block}.brand strong{font-size:13px;white-space:nowrap}.brand span{font-size:12px;letter-spacing:1.3px;color:#7f91b2;margin-top:4px}.nav-list{padding-top:14px;overflow:auto}.nav-label{color:#596b8c;font-size:12px;letter-spacing:1.5px;padding:18px 12px 7px}.nav-item{width:100%;height:42px;border:0;border-radius:8px;background:transparent;color:#aeb9ce;display:flex;align-items:center;gap:10px;padding:0 11px;margin:2px 0;text-align:left;font-size:14px;transition:.18s}.nav-item:hover{background:rgba(255,255,255,.045);color:#fff}.nav-item.active{background:linear-gradient(90deg,rgba(61,99,229,.27),rgba(61,99,229,.1));color:#fff;box-shadow:inset 2px 0 #6f92ff}.nav-icon{width:22px;text-align:center;font-size:15px;color:#8091b1}.nav-item.active .nav-icon{color:#83a0ff}.nav-icon.spark{color:#9d8af3}.nav-item>b,.nav-item>i{margin-left:auto;font-style:normal;font-size:12px;border-radius:999px;padding:2px 6px;background:rgba(255,255,255,.08);color:#8596b6}.nav-item>i{background:#283e89;color:#aabaff}.sidebar-bottom{margin-top:auto}.policy-card{border:1px solid rgba(94,132,242,.2);background:rgba(47,78,164,.12);border-radius:10px;padding:11px;display:flex;align-items:center;gap:9px;margin:10px 2px}.policy-card>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:rgba(93,132,244,.18);color:#7eddbd;font-size:14px}.policy-card strong,.policy-card small{display:block}.policy-card strong{font-size:13px}.policy-card small{font-size:12px;color:#7e91b3;margin-top:3px}.user-card{display:flex;align-items:center;gap:8px;padding:12px 5px 0;border-top:1px solid rgba(255,255,255,.07)}.avatar{width:31px;height:31px;border-radius:50%;background:#2e467d;color:#c8d6ff;display:grid;place-items:center;font-size:14px;font-weight:700}.user-card strong,.user-card small{display:block}.user-card strong{font-size:13px}.user-card small{font-size:12px;color:#7384a4;margin-top:3px}.logout-mini{margin-left:auto;border:1px solid rgba(255,255,255,.1);background:transparent;color:#8999b7;border-radius:6px;padding:4px 6px;font-size:12px}.main{margin-left:var(--sidebar);min-height:100vh}.topbar{height:62px;background:rgba(255,255,255,.93);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:25;backdrop-filter:blur(12px)}.breadcrumb{display:flex;gap:8px;align-items:center;font-size:14px}.breadcrumb span{color:#9aa3b1}.breadcrumb b{color:#c5cbd5}.breadcrumb strong{color:#40506b}.top-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.online-dot{font-size:13px;color:#708098;display:flex;align-items:center;gap:6px}.online-dot i{width:6px;height:6px;border-radius:50%;background:#22ad81;box-shadow:0 0 0 4px rgba(34,173,129,.09)}.help-button{border:1px solid var(--line);background:#fff;border-radius:8px;height:32px;padding:0 10px;color:#66748d;font-size:13px}.mobile-menu{display:none;border:0;background:transparent;font-size:20px;margin-right:12px}.page{display:none;padding:30px 30px 46px;max-width:1520px;margin:0 auto}.page.active{display:block}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.page-heading h1{font-size:25px;letter-spacing:-.5px;margin:4px 0 6px}.page-heading p:not(.eyebrow){margin:0;color:#7f899a;font-size:14px;line-height:1.7}.eyebrow{margin:0!important;color:#6a7ee1!important;font-size:12px!important;font-weight:800;letter-spacing:1.5px}.primary-button,.outline-button{height:39px;border-radius:8px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:700}.primary-button{border:0;background:linear-gradient(90deg,#315be8,#4770e9);color:#fff;box-shadow:0 7px 17px rgba(49,91,232,.2)}.primary-button.small{height:34px;font-size:13px}.primary-button.full{width:100%;height:46px}.outline-button{border:1px solid #dce1eb;background:#fff;color:#536078}.text-button{border:0;background:transparent;color:var(--blue);font-size:13px}.content-card{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 5px 18px rgba(31,45,74,.025)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.section-head.padded{padding:18px 20px;border-bottom:1px solid var(--line)}.section-head h2{font-size:14px;margin:3px 0 0}.section-head span:not(.eyebrow),.section-head p{color:#8a94a5;font-size:13px;margin:4px 0 0}.search-box{height:36px;border:1px solid #dfe3eb;border-radius:8px;background:#fff;display:flex;align-items:center;padding:0 10px;gap:7px;color:#8b96a9}.search-box:focus-within{border-color:#7891e8;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.search-box input{border:0;outline:0;width:230px;font-size:14px;color:#344158;background:transparent}.search-box.wide input{width:330px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{background:#fafbfc;color:#8c96a7;font-weight:600;text-align:left;padding:11px 14px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:13px 14px;border-bottom:1px solid #eef0f4;color:#5b687f}tr:last-child td{border-bottom:0}.loading-cell{text-align:center!important;color:#99a2b1!important;padding:35px!important}.empty-state{display:none;text-align:center;padding:70px 20px;color:#8c96a8}.empty-state span,.empty-state strong,.empty-state small{display:block}.empty-state span{font-size:26px}.empty-state strong{font-size:13px;color:#4a5870;margin:10px 0 5px}.empty-state small{font-size:13px}.form-feedback{min-height:21px;padding:4px;font-size:13px}.form-feedback.success{color:var(--green)}.form-feedback.error{color:var(--red)}
.home-hero{min-height:360px;border-radius:18px;padding:42px 44px;background:radial-gradient(circle at 75% 12%,rgba(87,110,224,.34),transparent 25%),radial-gradient(circle at 100% 100%,rgba(89,54,170,.22),transparent 31%),linear-gradient(125deg,#122044,#1c2d68 58%,#2b2266);color:#fff;display:grid;grid-template-columns:1.12fr .88fr;gap:45px;align-items:center;position:relative;overflow:hidden}.home-hero:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.055);border-radius:50%;right:-105px;top:-60px;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.015)}.hero-copy,.hero-flow{position:relative;z-index:1}.hero-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(153,176,255,.18);background:rgba(87,113,205,.15);border-radius:999px;padding:7px 10px;color:#b8c7ff;font-size:12px;letter-spacing:.6px}.hero-copy h1{font-size:34px;line-height:1.42;margin:17px 0 13px;letter-spacing:-1px}.hero-copy>p{max-width:540px;color:#b3bfda;font-size:14px;line-height:1.9;margin:0}.hero-actions{display:flex;gap:10px;margin-top:25px}.hero-primary,.hero-secondary{height:42px;border-radius:9px;padding:0 17px;font-size:14px;font-weight:700}.hero-primary{border:0;background:#fff;color:#294ebc;box-shadow:0 9px 25px rgba(3,11,40,.25)}.hero-primary span{margin-left:10px}.hero-secondary{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);color:#d4dcf2}.hero-flow{border:1px solid rgba(169,184,240,.15);background:rgba(9,18,48,.35);border-radius:15px;padding:17px;backdrop-filter:blur(8px)}.flow-head{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}.bot-orb{width:36px;height:36px;border-radius:10px;background:linear-gradient(145deg,#718dec,#6e54da);display:grid;place-items:center}.flow-head strong,.flow-head small{display:block}.flow-head strong{font-size:14px}.flow-head small{font-size:12px;color:#8296c0;margin-top:4px}.flow-head em{margin-left:auto;font-style:normal;color:#74dfbd;background:rgba(67,195,152,.1);border-radius:999px;padding:4px 7px;font-size:12px}.flow-steps{display:grid;gap:5px;padding-top:12px}.flow-steps>div{border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035);border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:9px}.flow-steps>div.active{border-color:rgba(100,137,246,.35);background:rgba(61,96,204,.14)}.flow-steps b{width:24px;height:24px;border-radius:6px;background:rgba(255,255,255,.06);display:grid;place-items:center;color:#8ea5e8;font-size:12px}.flow-steps strong,.flow-steps small{display:block}.flow-steps strong{font-size:13px}.flow-steps small{font-size:12px;color:#7e91b9;margin-top:2px}.flow-steps>i{text-align:center;height:5px;line-height:5px;color:#536890;font-style:normal;font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:17px 0}.metric-card{min-height:104px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;align-items:center;gap:14px}.metric-card>span{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;font-size:18px}.metric-card.blue>span{background:#edf2ff;color:var(--blue)}.metric-card.violet>span{background:#f1edff;color:var(--violet)}.metric-card.green>span{background:#eaf8f3;color:var(--green)}.metric-card.orange>span{background:#fff1e7;color:var(--orange)}.metric-card small,.metric-card strong,.metric-card em{display:block}.metric-card small{font-size:12px;color:#8b95a6}.metric-card strong{font-size:23px;margin:4px 0}.metric-card em{font-size:12px;color:#8c96a8;font-style:normal}.metric-card em b{color:#5d6b82}.home-grid{display:grid;grid-template-columns:1.17fr .83fr;gap:16px}.focus-card,.brain-card{padding:20px}.focus-list{display:grid;margin-top:9px}.focus-list>button{border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:14px 2px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left}.focus-list>button:last-child{border:0}.focus-index{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:13px;font-weight:700}.focus-index.danger{background:#fff0f1;color:var(--red)}.focus-index.warning{background:#fff3e7;color:var(--orange)}.focus-index.calm{background:#edf2ff;color:var(--blue)}.focus-list strong,.focus-list small{display:block}.focus-list strong{font-size:14px}.focus-list small{font-size:12px;color:#8b95a7;margin-top:4px}.focus-list em{font-size:12px;color:var(--blue);font-style:normal}.source-policy{border-radius:999px;background:#eaf8f3;color:var(--green)!important;padding:5px 8px}.brain-map{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.brain-map button{min-height:70px;border:1px solid #eceef3;background:#fafbfc;border-radius:9px;padding:11px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;text-align:left}.dot{width:7px;height:7px;border-radius:50%}.dot.blue{background:var(--blue)}.dot.violet{background:var(--violet)}.dot.green{background:var(--green)}.dot.orange{background:var(--orange)}.brain-map strong,.brain-map small{display:block}.brain-map strong{font-size:13px}.brain-map small{font-size:12px;color:#919aaa;margin-top:4px}.brain-map b{font-size:13px;color:#536078}.target-progress{margin-top:14px;padding:12px;background:#f5f7fb;border-radius:8px}.target-progress>div{display:flex;justify-content:space-between;font-size:12px;color:#7f899b}.target-progress strong{color:#4a5871}.target-progress>i{display:block;height:5px;background:#e4e8f0;border-radius:9px;margin-top:8px;overflow:hidden}.target-progress em{display:block;height:100%;width:0;background:linear-gradient(90deg,#315be8,#7558dd);border-radius:9px;transition:.3s}.module-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}.module-strip button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:16px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;text-align:left}.module-icon{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;font-size:16px}.module-icon.blue{background:#edf2ff;color:var(--blue)}.module-icon.violet{background:#f1edff;color:var(--violet)}.module-icon.green{background:#eaf8f3;color:var(--green)}.module-strip strong,.module-strip small{display:block}.module-strip strong{font-size:14px}.module-strip small{font-size:12px;color:#8d96a5;margin-top:4px;line-height:1.5}.module-strip b{font-size:12px;color:var(--blue)}
.knowledge-policy{background:linear-gradient(90deg,#eff4ff,#f7f4ff);border:1px solid #e0e6f7;border-radius:12px;padding:15px 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;margin-bottom:16px}.shield{width:34px;height:34px;border-radius:10px;background:#315be8;color:#fff;display:grid;place-items:center}.knowledge-policy strong{font-size:14px}.knowledge-policy p{font-size:12px;color:#78859b;margin:4px 0 0;line-height:1.6}.knowledge-policy>div:last-child{text-align:right}.knowledge-policy>div:last-child small,.knowledge-policy>div:last-child strong{display:block}.knowledge-policy>div:last-child small{font-size:12px;color:#8a94a6}.knowledge-policy>div:last-child strong{font-size:15px;margin-top:3px}.knowledge-layout{display:grid;grid-template-columns:215px 1fr;gap:15px}.library-tree{padding:13px;height:max-content}.tree-title{display:flex;justify-content:space-between;align-items:center;padding:6px 5px 11px;font-size:13px;color:#7c8799}.tree-title button{border:0;background:transparent;color:var(--blue);font-size:12px}.tree-root{width:100%;height:38px;border:0;border-radius:7px;background:transparent;display:flex;align-items:center;gap:8px;padding:0 8px;color:#4f5c72;font-size:13px;text-align:left}.tree-root:hover,.tree-root.active{background:#f0f4ff;color:#244dc4}.tree-root b{margin-left:auto;color:#8893a7;font-size:12px}.tree-icon{width:25px;height:25px;border-radius:7px;display:grid;place-items:center;font-size:12px}.tree-icon.all{background:#edf2ff;color:var(--blue)}.tree-icon.blue{background:#eaf0ff;color:var(--blue)}.tree-icon.violet{background:#f1edff;color:var(--violet)}.tree-icon.green{background:#eaf8f3;color:var(--green)}.tree-icon.orange{background:#fff1e7;color:var(--orange)}.tree-children{display:grid;margin:1px 0 6px 39px;border-left:1px solid #e6e9f0;padding-left:8px}.tree-children button{height:28px;border:0;background:transparent;color:#8c95a4;text-align:left;font-size:12px}.tree-children button:hover,.tree-children button.active{color:var(--blue)}.knowledge-table-card{overflow:hidden}.table-toolbar{min-height:65px;border-bottom:1px solid var(--line);padding:13px 17px;display:flex;justify-content:space-between;align-items:center;gap:15px}.table-toolbar h2{font-size:13px;margin:0}.table-toolbar>div span{font-size:12px;color:#909aaa}.knowledge-summary-row{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);background:#fafbfc}.knowledge-summary-row>div{padding:10px 16px;border-right:1px solid var(--line)}.knowledge-summary-row>div:last-child{border:0}.knowledge-summary-row small,.knowledge-summary-row strong{display:block}.knowledge-summary-row small{font-size:12px;color:#929baa}.knowledge-summary-row strong{font-size:14px;margin-top:2px}.knowledge-name{display:flex;align-items:center;gap:9px;min-width:250px}.file-badge{width:31px;height:36px;border-radius:6px;display:grid;place-items:center;background:#edf2ff;color:var(--blue);font-size:12px;font-weight:800}.file-badge.manual{background:#f1edff;color:var(--violet)}.knowledge-name strong,.knowledge-name small{display:block}.knowledge-name strong{font-size:13px;color:#35435a}.knowledge-name small{font-size:12px;color:#96a0af;margin-top:4px;max-width:390px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-cell strong,.category-cell small{display:block}.category-cell strong{font-size:12px}.category-cell small{font-size:12px;color:#97a0ae;margin-top:3px}.state-chip,.risk-chip,.role-chip,.type-chip{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 7px;font-size:12px}.state-chip i,.risk-chip i{width:5px;height:5px;border-radius:50%}.state-chip.ready{background:#eaf8f3;color:var(--green)}.state-chip.ready i{background:var(--green)}.state-chip.needs_review,.state-chip.processing{background:#fff2e7;color:var(--orange)}.state-chip.needs_review i,.state-chip.processing i{background:var(--orange)}.row-actions{white-space:nowrap}.row-actions button,.admin-actions button{border:1px solid #dfe3eb;background:#fff;border-radius:6px;padding:5px 7px;color:#5c6980;font-size:12px;margin-right:4px}.row-actions button.danger,.admin-actions button.danger{color:var(--red);border-color:#f0d7da}
.customer-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:16px}.customer-filters{display:flex;gap:4px;background:#e9edf4;border-radius:8px;padding:3px}.customer-filters button{height:29px;border:0;background:transparent;border-radius:6px;padding:0 10px;font-size:12px;color:#737f92}.customer-filters button.active{background:#fff;color:#35435a;box-shadow:0 2px 7px rgba(27,39,65,.08)}.risk-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.risk-dot.high{background:var(--red)}.risk-dot.medium{background:var(--orange)}.risk-dot.low{background:var(--green)}.customer-layout{display:grid;grid-template-columns:335px 1fr;gap:15px;align-items:start}.customer-list{max-height:calc(100vh - 190px);min-height:560px;overflow:auto;padding:10px}.customer-card{width:100%;border:1px solid transparent;border-bottom-color:#edf0f4;background:#fff;border-radius:9px;padding:13px;text-align:left;display:block}.customer-card:hover{background:#fafbfe}.customer-card.active{border-color:#cfd9f5;background:#f5f7ff}.customer-card-head{display:flex;align-items:center;gap:9px}.customer-logo{width:35px;height:35px;border-radius:9px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:14px;font-weight:700}.customer-card-head>div{min-width:0;flex:1}.customer-card strong,.customer-card small{display:block}.customer-card strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-card small{font-size:12px;color:#8b95a5;margin-top:4px}.risk-chip.high{background:#fff0f1;color:var(--red)}.risk-chip.medium{background:#fff3e8;color:var(--orange)}.risk-chip.low{background:#eaf8f3;color:var(--green)}.customer-card-meta{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:11px}.customer-card-meta span{font-size:12px;color:#8b95a6}.customer-card-meta b{color:#536078}.customer-detail{min-height:560px;overflow:hidden}.customer-empty{padding:155px 20px;text-align:center;color:#8d97a8}.customer-empty>span{font-size:36px;color:#bdc5d3}.customer-empty h2{font-size:15px;margin:12px 0 5px;color:#4c596f}.customer-empty p{font-size:13px;margin:0}.customer-detail-head{padding:20px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#fbfcff,#fff);display:flex;align-items:flex-start;gap:13px}.customer-detail-head .customer-logo{width:44px;height:44px;font-size:14px}.customer-title{flex:1}.customer-title h2{font-size:16px;margin:1px 0 5px}.customer-title p{font-size:12px;color:#8893a4;margin:0}.detail-actions{display:flex;gap:7px}.customer-facts{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid var(--line)}.customer-facts>div{padding:13px 15px;border-right:1px solid var(--line)}.customer-facts>div:last-child{border:0}.customer-facts small,.customer-facts strong{display:block}.customer-facts small{font-size:12px;color:#939cac}.customer-facts strong{font-size:13px;margin-top:4px;color:#4d5a70}.folder-section{padding:18px}.folder-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.folder-section-head h3{font-size:12px;margin:0}.folder-section-head span{font-size:12px;color:#8c96a7}.folder-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.folder-card{min-height:86px;border:1px solid #e8ebf1;background:#fff;border-radius:9px;padding:11px;text-align:left;position:relative}.folder-card:hover{border-color:#aebcea;background:#fafbff}.folder-card>span{font-size:17px;color:#7a8cb8}.folder-card strong,.folder-card small{display:block}.folder-card strong{font-size:12px;margin:7px 0 3px}.folder-card small{font-size:12px;color:#979fac}.folder-card b{position:absolute;top:8px;right:8px;background:#eef2f8;color:#718097;border-radius:999px;font-size:12px;padding:2px 5px}.file-summary{margin:0 18px 18px;border-top:1px solid var(--line);padding-top:15px}.file-summary h3{font-size:14px;margin:0 0 10px}.customer-file-list{display:grid;gap:7px}.customer-file-item{border:1px solid #ebedf2;border-radius:8px;padding:10px;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center}.customer-file-item>span{width:28px;height:32px;border-radius:5px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px}.customer-file-item strong,.customer-file-item small,.customer-file-item em{display:block}.customer-file-item strong{font-size:12px}.customer-file-item small{font-size:12px;color:#8d97a8;margin-top:3px;line-height:1.5}.customer-file-item em{font-size:12px;color:#8993a4;font-style:normal}.customer-file-item button{border:0;background:transparent;color:var(--blue);font-size:12px}.loading-state{text-align:center;padding:55px 20px;color:#919bac;font-size:13px}
.policy-chip{border:1px solid #d9eee7;background:#eaf8f3;color:var(--green);border-radius:999px;padding:7px 11px;font-size:12px}.renewal-assistant-hero{border-radius:17px;background:radial-gradient(circle at 90% 20%,rgba(126,102,232,.35),transparent 26%),linear-gradient(125deg,#192959,#283d85 62%,#4b347f);color:#fff;padding:30px 34px;display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}.assistant-priority{display:inline-block;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:5px 8px;font-size:12px;color:#c9d4ff}.renewal-copy h2{font-size:23px;margin:11px 0 8px}.renewal-copy>p{color:#b9c5e1;font-size:13px;line-height:1.8;margin:0;max-width:560px}.renewal-actions{display:flex;gap:8px;margin-top:19px}.primary-button.light{background:#fff;color:#284fbf;box-shadow:0 8px 20px rgba(7,14,45,.2)}.ghost-light{height:39px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);color:#d6def2;border-radius:8px;padding:0 14px;font-size:13px}.renewal-capabilities{display:grid;grid-template-columns:1fr 1fr;gap:8px}.renewal-capabilities>div{border:1px solid rgba(255,255,255,.1);background:rgba(13,23,60,.24);border-radius:10px;padding:13px}.renewal-capabilities span,.renewal-capabilities strong,.renewal-capabilities small{display:block}.renewal-capabilities span{font-size:12px;color:#8fa6ea}.renewal-capabilities strong{font-size:14px;margin:6px 0 4px}.renewal-capabilities small{font-size:12px;color:#8fa0c4}.assistant-section{margin-top:22px}.workflow-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:13px}.workflow-card{min-height:150px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:17px;text-align:left;display:flex;flex-direction:column;transition:.2s}.workflow-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#cbd4ed}.workflow-card.renewal{border-color:#ddd7f7;background:linear-gradient(145deg,#fff,#faf8ff)}.workflow-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;font-size:14px;font-weight:700}.workflow-icon.renewal{background:#f1edff;color:var(--violet)}.workflow-icon.operation{background:#edf2ff;color:var(--blue)}.workflow-icon.management{background:#fff1e7;color:var(--orange)}.workflow-icon.sales{background:#eaf8f3;color:var(--green)}.workflow-card strong{font-size:14px;margin:11px 0 5px}.workflow-card small{font-size:12px;color:#8d96a6;line-height:1.55;flex:1}.workflow-card em{font-style:normal;color:var(--blue);font-size:12px;margin-top:12px}.assistant-standards{margin-top:16px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:16px 20px;display:flex;align-items:center;justify-content:center;gap:17px}.assistant-standards article{display:flex;align-items:center;gap:8px}.assistant-standards article>span{width:27px;height:27px;border-radius:8px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:700}.assistant-standards strong,.assistant-standards small{display:block}.assistant-standards strong{font-size:13px}.assistant-standards small{font-size:12px;color:#929baa;margin-top:3px}.assistant-standards>i{color:#c6ccd6;font-style:normal}
.question-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:15px}.gap-list{padding:6px 20px 14px}.gap-item{padding:14px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center}.gap-item:last-child{border:0}.gap-item strong{font-size:14px}.gap-item p{font-size:12px;color:#8993a4;margin:5px 0}.gap-meta{display:flex;gap:8px}.gap-meta span{font-size:12px;border-radius:999px;background:#f0f3f7;color:#718096;padding:3px 6px}.gap-meta span.count{background:#fff1e7;color:var(--orange)}.gap-item button{border:1px solid #dfe3eb;background:#fff;color:#536178;border-radius:7px;padding:6px 8px;font-size:12px}.hot-list{padding:10px 20px}.hot-item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.hot-item:last-child{border:0}.hot-rank{font-size:13px;font-weight:800;color:#c3cad5}.hot-item strong{font-size:13px}.hot-bar{height:4px;background:#edf0f5;border-radius:5px;margin-top:6px;overflow:hidden}.hot-bar i{display:block;height:100%;background:linear-gradient(90deg,#315be8,#7458dd);border-radius:5px}.hot-item em{font-size:12px;color:#7e899a;font-style:normal}
.acceptance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:15px}.acceptance-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px}.acceptance-card>div{display:flex;align-items:center;gap:10px}.acceptance-icon{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;font-size:16px}.acceptance-icon.blue{background:#edf2ff;color:var(--blue)}.acceptance-icon.violet{background:#f1edff;color:var(--violet)}.acceptance-icon.green{background:#eaf8f3;color:var(--green)}.acceptance-card p{margin:0}.acceptance-card strong,.acceptance-card small{display:block}.acceptance-card strong{font-size:14px}.acceptance-card small{font-size:12px;color:#909aaa;margin-top:4px}.acceptance-card b{margin-left:auto;font-size:14px}.acceptance-card>i{height:5px;background:#edf0f5;border-radius:7px;display:block;margin:14px 0 8px;overflow:hidden}.acceptance-card>i em{display:block;height:100%;background:linear-gradient(90deg,#315be8,#7458dd);border-radius:7px}.acceptance-card>p{font-size:12px;color:#8792a4}.insights-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.coverage-list,.workflow-usage{padding:14px 20px}.coverage-row,.workflow-usage-row{display:grid;grid-template-columns:105px 1fr 35px;gap:10px;align-items:center;padding:8px 0;font-size:12px}.coverage-row>i,.workflow-usage-row>i{height:6px;background:#edf0f5;border-radius:7px;overflow:hidden}.coverage-row em,.workflow-usage-row em{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#315be8,#6c7ce5)}.coverage-row b,.workflow-usage-row b{text-align:right;color:#66748b}.roadmap-card{margin-top:15px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:22px 28px;display:flex;align-items:center}.roadmap-card>div{min-width:210px}.roadmap-card span,.roadmap-card strong,.roadmap-card small{display:block}.roadmap-card span{font-size:12px;color:var(--blue);font-weight:700}.roadmap-card strong{font-size:14px;margin:5px 0}.roadmap-card small{font-size:12px;color:#8e97a7}.roadmap-card>i{height:1px;background:#dfe3eb;flex:1;margin:0 22px}
.version-badge{background:#edf2ff;color:var(--blue);border-radius:999px;padding:7px 10px;font-size:12px}.admin-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.admin-metrics>div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px}.admin-metrics small,.admin-metrics strong{display:block}.admin-metrics small{font-size:12px;color:#8c96a7}.admin-metrics strong{font-size:20px;margin-top:4px}.admin-console{overflow:hidden}.admin-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 18px;overflow:auto}.admin-tabs button{height:53px;border:0;border-bottom:2px solid transparent;background:transparent;padding:0 15px;color:#788497;font-size:13px;white-space:nowrap}.admin-tabs button.active{color:var(--blue);border-color:var(--blue);font-weight:700}.admin-pane{display:none;padding:22px}.admin-pane.active{display:block}.admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.admin-section-head h2{font-size:14px;margin:0 0 4px}.admin-section-head p{font-size:12px;color:#8b95a6;margin:0}.admin-form{display:grid;gap:11px;align-items:end;background:#f8f9fc;border:1px solid #edf0f5;border-radius:10px;padding:15px}.user-form{grid-template-columns:1fr 1fr 1fr .8fr .9fr auto}.resource-form{grid-template-columns:1.2fr .8fr 1fr 1fr auto}.model-form{grid-template-columns:1fr 1fr}.admin-form label,.form-grid label,#workflowForm>label{display:grid;gap:6px;font-size:12px;color:#59667c;font-weight:600}.admin-form input,.admin-form select,.form-grid input,.form-grid select,.form-grid textarea,#workflowForm select,#workflowForm textarea{width:100%;border:1px solid #dce1eb;border-radius:8px;background:#fff;outline:0;padding:0 10px;color:#344158;font-size:13px}.admin-form input,.admin-form select,.form-grid input,.form-grid select,#workflowForm select{height:38px}.admin-form textarea,.form-grid textarea,#workflowForm textarea{padding:10px;resize:vertical;line-height:1.7}.admin-form input:focus,.admin-form select:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,#workflowForm select:focus,#workflowForm textarea:focus{border-color:#7690eb;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.admin-form small{font-size:12px;color:#9aa3b2;font-weight:400}.model-form .wide{grid-column:1/-1}.model-form button{justify-self:start}.switch-field{display:flex!important;align-items:center;grid-template-columns:auto 1fr!important;cursor:pointer}.switch-field>input{display:none}.switch-field>span{width:41px;height:22px;border-radius:15px;background:#c9d0db;position:relative}.switch-field>span:before{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;top:3px;left:3px;transition:.2s}.switch-field>input:checked+span{background:var(--blue)}.switch-field>input:checked+span:before{transform:translateX(19px)}.switch-field p{margin:0}.switch-field p strong,.switch-field p small{display:block}.switch-field p small{margin-top:2px;color:#8e98aa;font-weight:400}.admin-table{border:1px solid #edf0f5;border-radius:9px}.person-cell{display:flex;align-items:center;gap:8px}.person-cell>span{width:27px;height:27px;border-radius:50%;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-weight:700}.person-cell strong,.person-cell small{display:block}.person-cell small{font-size:12px;color:#919baa;margin-top:2px}.role-chip.admin{background:#f1edff;color:var(--violet)}.role-chip.staff{background:#edf2ff;color:var(--blue)}.type-chip.sheet{background:#eaf8f3;color:var(--green)}.type-chip.doc{background:#edf2ff;color:var(--blue)}.status-text.active{color:var(--green)}.status-text.disabled{color:#9aa3b1}.policy-lock{border:1px solid #dbe8e4;background:#f1faf7;border-radius:10px;padding:13px 15px;display:flex;align-items:center;gap:11px;margin-bottom:17px}.policy-lock>span{width:31px;height:31px;border-radius:9px;background:var(--green);color:#fff;display:grid;place-items:center}.policy-lock strong{font-size:13px}.policy-lock p{font-size:12px;color:#6f827b;margin:3px 0 0}.policy-lock em{margin-left:auto;font-style:normal;font-size:12px;color:var(--green);background:#e0f3ec;border-radius:999px;padding:4px 7px}.key-status{font-size:12px;border-radius:999px;padding:5px 8px;background:#fff2e7;color:var(--orange)}.key-status.ready{background:#eaf8f3;color:var(--green)}.integration-roadmap{display:flex;align-items:center;margin-top:17px;border:1px solid #edf0f5;border-radius:10px;padding:17px}.integration-roadmap>div{text-align:center;min-width:105px}.integration-roadmap span{width:25px;height:25px;border-radius:50%;background:#eef1f6;color:#8893a5;display:grid;place-items:center;margin:0 auto 6px;font-size:12px}.integration-roadmap .done span{background:var(--blue);color:#fff}.integration-roadmap strong,.integration-roadmap small{display:block}.integration-roadmap strong{font-size:12px}.integration-roadmap small{font-size:12px;color:#969fad;margin-top:3px}.integration-roadmap>i{height:1px;background:#e2e6ed;flex:1}.usage-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.usage-summary>div{background:#f8f9fc;border:1px solid #edf0f5;border-radius:8px;padding:13px}.usage-summary small,.usage-summary strong{display:block}.usage-summary small{font-size:12px;color:#8d97a8}.usage-summary strong{font-size:17px;margin-top:3px}
.admin-only{display:none!important}.admin-only.visible{display:flex!important}.login-screen{position:fixed;inset:0;z-index:100;background:#fff;display:grid;grid-template-columns:minmax(440px,49%) 1fr;transition:.25s}.login-screen.hidden{opacity:0;visibility:hidden;pointer-events:none}.login-visual{padding:42px 55px;color:#fff;background:radial-gradient(circle at 18% 14%,#5277f0 0,transparent 30%),radial-gradient(circle at 90% 78%,#5b48be 0,transparent 28%),linear-gradient(145deg,#102044,#172861 55%,#251f57);display:flex;flex-direction:column;position:relative;overflow:hidden}.login-visual:after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(255,255,255,.06);border-radius:50%;right:-170px;top:19%;box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.015)}.login-brand{display:flex;align-items:center;gap:11px;z-index:1}.login-brand span,.mobile-login-brand span{width:40px;height:40px;border-radius:11px;background:#fff;color:var(--blue);display:grid;place-items:center;font-weight:800}.login-brand strong{font-size:14px}.login-message{margin:auto 0;z-index:1}.login-message>p{font-size:12px;letter-spacing:2px;color:#a8b8ef}.login-message h1{font-size:33px;line-height:1.48;margin:14px 0 25px}.login-points{display:grid;gap:11px}.login-points>div{display:flex;align-items:center;gap:10px}.login-points>div>span{width:31px;height:31px;border-radius:8px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#8fa8ff}.login-points p{margin:0}.login-points strong,.login-points small{display:block}.login-points strong{font-size:13px}.login-points small{font-size:12px;color:#96a7cd;margin-top:3px}.login-visual>small{color:#8090b7;font-size:12px;z-index:1}.login-panel{display:grid;place-items:center;padding:35px;background:#fbfcfe}.login-card{width:min(385px,100%)}.mobile-login-brand{display:none}.login-card h2{font-size:25px;margin:7px 0}.login-subtitle{color:#8993a5;margin:0 0 27px;font-size:14px}.login-card>label{display:block;color:#566278;font-size:13px;font-weight:600;margin-bottom:14px}.login-input{height:47px;margin-top:7px;border:1px solid #dce1eb;border-radius:9px;display:flex;align-items:center;padding:0 12px;background:#fff}.login-input:focus-within{border-color:#6681e7;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.login-input span{color:#8591a5;font-size:15px;width:27px}.login-input input{border:0;outline:0;width:100%;height:100%;color:#28354c}.login-error{min-height:22px;color:var(--red);font-size:13px}.login-submit{width:100%;height:47px;border:0;border-radius:9px;background:linear-gradient(90deg,#315be8,#456ee9);color:#fff;font-weight:700;display:flex;justify-content:center;align-items:center;gap:14px;box-shadow:0 9px 22px rgba(49,91,232,.2);font-size:14px}.login-help{display:block;text-align:center;color:#9aa3b2;font-size:12px;margin-top:17px}
.modal-backdrop,.drawer-backdrop{position:fixed;inset:0;background:rgba(8,17,42,.62);z-index:70;display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}.modal-backdrop.open{display:flex}.modal{width:min(540px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:15px;padding:25px;position:relative;box-shadow:0 25px 70px rgba(6,14,35,.3)}.wide-modal{width:min(740px,100%)}.modal-close{position:absolute;right:14px;top:11px;border:0;background:transparent;color:#8c96a6;font-size:22px}.modal-head{display:flex;align-items:center;gap:11px;margin-bottom:20px}.modal-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;font-size:17px}.modal-icon.blue{background:#edf2ff;color:var(--blue)}.modal-icon.violet{background:#f1edff;color:var(--violet)}.modal-icon.green{background:#eaf8f3;color:var(--green)}.modal-head h2{font-size:16px;margin:0 0 4px}.modal-head p{font-size:12px;color:#8b95a6;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid .wide{grid-column:1/-1}.file-drop{border:1px dashed #bfc8d9!important;border-radius:9px;padding:12px!important;display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;cursor:pointer;background:#fafbfc}.file-drop input{display:none}.file-drop>span{width:33px;height:33px;border-radius:8px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:16px}.file-drop p{margin:0}.file-drop strong,.file-drop small{display:block}.file-drop strong{font-size:12px}.file-drop small{font-size:12px;color:#969fad;margin-top:3px}.file-drop.compact{align-self:end;height:67px}.modal-note{background:#f6f8fc;border-radius:8px;padding:9px 11px;color:#7f8a9d;font-size:12px;line-height:1.55;margin-top:12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.drawer-backdrop.open{display:block;padding:0}.workflow-drawer{position:absolute;right:0;top:0;bottom:0;width:min(620px,100%);background:#fff;box-shadow:-20px 0 55px rgba(4,12,31,.25);padding:25px;overflow:auto}.drawer-close{position:absolute;right:17px;top:13px;border:0;background:transparent;color:#8b95a5;font-size:23px}.drawer-head{display:flex;align-items:center;gap:11px;padding-right:35px}.workflow-drawer-icon{width:43px;height:43px;border-radius:11px;background:#f1edff;color:var(--violet);display:grid;place-items:center;font-size:13px;font-weight:800}.drawer-head small,.drawer-head h2{display:block}.drawer-head small{font-size:12px;color:#7a86a0}.drawer-head h2{font-size:18px;margin:4px 0 0}.drawer-policy{display:flex;gap:9px;align-items:center;background:#f1faf7;border:1px solid #dceee8;border-radius:9px;padding:10px 12px;margin:17px 0}.drawer-policy>span{width:25px;height:25px;border-radius:7px;background:var(--green);color:#fff;display:grid;place-items:center}.drawer-policy p{margin:0}.drawer-policy strong,.drawer-policy small{display:block}.drawer-policy strong{font-size:12px}.drawer-policy small{font-size:12px;color:#788c85;margin-top:2px}#workflowForm{display:grid;gap:13px}.workflow-hint{background:#f6f8fc;border-radius:8px;padding:9px 11px;font-size:12px;color:#7d899b;line-height:1.6}.workflow-result{display:none;margin-top:20px;border-top:1px solid var(--line);padding-top:18px}.workflow-result.show{display:block}.result-head{border-radius:10px;background:linear-gradient(125deg,#172856,#293e84);color:#fff;padding:16px}.result-head>div{display:flex;align-items:center;justify-content:space-between}.result-head h3{font-size:14px;margin:0}.confidence-chip{font-size:12px;border-radius:999px;padding:4px 7px;background:rgba(255,255,255,.1);color:#c7d4f4}.result-head p{font-size:12px;color:#b8c4df;line-height:1.7;margin:8px 0 0}.result-section{padding:15px 2px;border-bottom:1px solid var(--line)}.result-section h4{font-size:14px;margin:0 0 8px}.result-section ul{margin:0;padding-left:18px;display:grid;gap:6px}.result-section li{font-size:12px;line-height:1.7;color:#5e6b81}.next-action-card,.supervisor-card{border-radius:9px;padding:11px 12px;margin-top:11px}.next-action-card{background:#edf2ff;color:#43557c}.supervisor-card{background:#fff1e7;color:#855833}.next-action-card strong,.supervisor-card strong{display:block;font-size:12px;margin-bottom:4px}.next-action-card p,.supervisor-card p{font-size:12px;line-height:1.6;margin:0}.source-list{margin-top:14px}.source-list>strong{display:block;font-size:13px;margin-bottom:8px}.source-item{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;border:1px solid #e8ebf1;border-radius:8px;padding:9px;margin-bottom:6px}.source-item>span{width:25px;height:25px;border-radius:7px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px}.source-item.customer>span{background:#f1edff;color:var(--violet)}.source-item strong,.source-item small{display:block}.source-item strong{font-size:12px}.source-item small{font-size:12px;color:#909aaa;margin-top:2px}.source-item button{border:0;background:transparent;color:var(--blue);font-size:12px}.toast{position:fixed;right:22px;bottom:22px;background:#152139;color:#fff;border-radius:9px;padding:11px 14px;display:flex;align-items:center;gap:9px;z-index:120;opacity:0;transform:translateY(15px);pointer-events:none;transition:.22s;box-shadow:0 12px 34px rgba(11,18,37,.3)}.toast.show{opacity:1;transform:none}.toast span{color:#62ddb8}.toast p{margin:0;font-size:13px}
.is-hidden{display:none!important}.password-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.password-field button,.secret-box button{border:1px solid #dce1eb;border-radius:8px;background:#fff;color:var(--blue);padding:0 10px;font-size:12px;font-weight:700}.secure-backdrop{z-index:130}.security-modal{width:min(480px,100%)}.security-setup-modal{width:min(760px,100%)}.secure-field{display:grid;gap:7px;font-size:13px;color:#59667c;font-weight:600}.secure-field input{height:42px;border:1px solid #dce1eb;border-radius:8px;padding:0 11px;outline:0;color:#344158}.secure-field input:focus{border-color:#7690eb;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.turnstile-slot{min-height:65px;margin:0 0 10px;display:flex;justify-content:center}.password-rules{grid-column:1/-1;background:#f5f7fb;border:1px solid #e9edf4;border-radius:9px;padding:11px 12px;color:#657188}.password-rules strong,.password-rules small{display:block}.password-rules strong{font-size:13px}.password-rules small{font-size:12px;line-height:1.7;margin-top:4px}.mfa-intro{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;background:#f5f7fb;border:1px solid #e8ecf3;border-radius:10px;padding:15px}.mfa-intro>span{width:34px;height:34px;border-radius:9px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-weight:800}.mfa-intro strong{font-size:14px}.mfa-intro p,.mfa-manual>p{font-size:12px;color:#7f899b;line-height:1.65;margin:4px 0 0}.mfa-manual{display:grid;gap:13px}.secret-box{display:grid;grid-template-columns:1fr auto;gap:8px;background:#101d38;border-radius:9px;padding:10px}.secret-box code{align-self:center;color:#dce6ff;font-size:12px;letter-spacing:1.5px;overflow-wrap:anywhere}.secret-box button{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff}.recovery-warning{background:#fff4e9;border:1px solid #f5dfca;border-radius:10px;padding:13px;color:#805a39}.recovery-warning strong{font-size:14px}.recovery-warning p{font-size:12px;line-height:1.65;margin:4px 0 0}.recovery-codes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:13px}.recovery-codes code{background:#f5f7fb;border:1px solid #e5e9f0;border-radius:8px;padding:10px;text-align:center;color:#344158;font-size:14px;letter-spacing:1px}.security-readiness{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border:1px solid #f0d7bd;background:#fff6ec;border-radius:11px;padding:14px 16px;margin-bottom:14px}.security-readiness>span{width:36px;height:36px;border-radius:10px;background:var(--orange);color:#fff;display:grid;place-items:center;font-weight:800}.security-readiness strong{font-size:14px}.security-readiness p{font-size:12px;color:#876f58;line-height:1.6;margin:4px 0 0}.security-readiness em{font-style:normal;font-size:12px;color:#9b632d;background:#fff;border-radius:999px;padding:6px 9px;white-space:nowrap}.security-readiness.ready{border-color:#cee9df;background:#effaf6}.security-readiness.ready>span{background:var(--green)}.security-readiness.ready p{color:#627e73}.security-readiness.ready em{color:var(--green)}.security-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.security-metrics>div{background:#f8f9fc;border:1px solid #edf0f5;border-radius:9px;padding:13px}.security-metrics small,.security-metrics strong{display:block}.security-metrics small{font-size:12px;color:#8d97a8}.security-metrics strong{font-size:19px;margin-top:4px}.security-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}.security-grid article{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:11px;border:1px solid #edf0f5;border-radius:10px;padding:13px;background:#fff}.security-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:13px;font-weight:800}.security-icon.green{background:#eaf8f3;color:var(--green)}.security-icon.blue{background:#edf2ff;color:var(--blue)}.security-icon.violet{background:#f1edff;color:var(--violet)}.security-icon.orange{background:#fff1e7;color:var(--orange)}.security-grid strong,.security-grid small{display:block}.security-grid strong{font-size:13px}.security-grid small{font-size:12px;color:#8b95a6;line-height:1.55;margin-top:4px}.security-actions{display:flex;align-items:center;gap:9px;border-top:1px solid #edf0f5;padding:17px 0 13px}.security-actions>div{margin-right:auto}.security-actions h2{font-size:12px;margin:0 0 4px}.security-actions p{font-size:12px;color:#8b95a6;margin:0}.security-level{display:inline-block;border-radius:999px;padding:4px 7px;font-size:12px}.security-level.info{background:#edf2ff;color:var(--blue)}.security-level.warning{background:#fff2e7;color:var(--orange)}.security-level.critical{background:#fff0f1;color:var(--red)}#securityAuditTable td strong,#securityAuditTable td small{display:block}#securityAuditTable td small{font-size:12px;color:#9aa3b1;margin-top:3px}#securityAuditTable code{font-size:12px;color:#66738a}.status-text.warning{color:var(--orange)}
@media(max-width:1180px){.metric-grid{grid-template-columns:1fr 1fr}.home-grid,.question-layout,.insights-grid{grid-template-columns:1fr}.workflow-grid{grid-template-columns:repeat(3,1fr)}.customer-layout{grid-template-columns:290px 1fr}.folder-grid{grid-template-columns:repeat(3,1fr)}.user-form{grid-template-columns:1fr 1fr 1fr}.user-form button{justify-self:start}.renewal-assistant-hero{grid-template-columns:1fr}.form-grid.three{grid-template-columns:1fr 1fr}.module-strip{grid-template-columns:1fr 1fr}.module-strip button:last-child{grid-column:1/-1}.roadmap-card>div{min-width:175px}}
@media(max-width:900px){:root{--sidebar:218px}.home-hero{grid-template-columns:1fr;padding:34px}.hero-flow{display:none}.knowledge-layout{grid-template-columns:1fr}.library-tree{display:grid;grid-template-columns:1fr 1fr;gap:4px}.tree-title{grid-column:1/-1}.tree-children{display:none}.customer-layout{grid-template-columns:1fr}.customer-list{min-height:auto;max-height:350px}.workflow-grid{grid-template-columns:1fr 1fr}.assistant-standards{display:grid;grid-template-columns:1fr 1fr}.assistant-standards>i{display:none}.folder-grid{grid-template-columns:repeat(5,1fr)}.customer-facts{grid-template-columns:repeat(3,1fr)}.admin-form,.resource-form{grid-template-columns:1fr 1fr}.integration-roadmap>div{min-width:80px}.login-screen{grid-template-columns:minmax(350px,42%) 1fr}.login-visual{padding:38px}.login-message h1{font-size:27px}}
@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:none}.main{margin-left:0}.mobile-menu{display:block}.topbar{padding:0 16px}.online-dot{display:none}.page{padding:22px 14px 36px}.page-heading{align-items:flex-start}.page-heading h1{font-size:21px}.home-hero{padding:27px 22px;min-height:380px}.hero-copy h1{font-size:27px}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{padding:13px;min-height:95px}.metric-card>span{display:none}.metric-card strong{font-size:20px}.module-strip{grid-template-columns:1fr}.module-strip button:last-child{grid-column:auto}.brain-map{grid-template-columns:1fr}.knowledge-policy{grid-template-columns:auto 1fr}.knowledge-policy>div:last-child{display:none}.table-toolbar{display:block}.table-toolbar .search-box{margin-top:10px}.search-box input,.search-box.wide input{width:100%}.customer-toolbar{display:block}.customer-filters{margin-top:10px;overflow:auto}.folder-grid{grid-template-columns:1fr 1fr}.customer-facts{grid-template-columns:1fr 1fr}.workflow-grid{grid-template-columns:1fr 1fr}.renewal-assistant-hero{padding:24px 20px}.renewal-capabilities{grid-template-columns:1fr 1fr}.acceptance-grid{grid-template-columns:1fr}.roadmap-card{display:grid;gap:15px}.roadmap-card>i{width:1px;height:18px;margin:0 0 0 15px}.admin-metrics{grid-template-columns:1fr 1fr}.admin-pane{padding:15px}.admin-form,.resource-form,.model-form,.user-form{grid-template-columns:1fr}.model-form .wide{grid-column:auto}.usage-summary{grid-template-columns:1fr 1fr}.integration-roadmap{display:grid;grid-template-columns:1fr 1fr;gap:15px}.integration-roadmap>i{display:none}.form-grid,.form-grid.three{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.login-screen{display:block;overflow:auto;background:linear-gradient(145deg,#102044,#172861 55%,#251f57);padding:20px}.login-visual{display:none}.login-panel{min-height:calc(100vh - 40px);border-radius:16px;padding:25px;background:#fff}.mobile-login-brand{display:flex;align-items:center;gap:10px;margin-bottom:36px}}
@media(max-width:460px){.top-actions .help-button span{display:none}.page-heading{display:block}.page-heading>button,.page-heading>.policy-chip,.page-heading>.version-badge{margin-top:14px}.metric-grid{grid-template-columns:1fr}.hero-actions,.renewal-actions{display:grid}.workflow-grid{grid-template-columns:1fr}.renewal-capabilities{grid-template-columns:1fr}.assistant-standards{grid-template-columns:1fr}.customer-facts{grid-template-columns:1fr}.folder-grid{grid-template-columns:1fr 1fr}.knowledge-summary-row{grid-template-columns:1fr 1fr}.knowledge-summary-row>div:last-child{display:none}.library-tree{grid-template-columns:1fr}.admin-metrics,.usage-summary{grid-template-columns:1fr}.login-screen{padding:10px}.login-panel{min-height:calc(100vh - 20px);padding:21px}.modal-backdrop{padding:10px}.modal{padding:21px}.workflow-drawer{padding:22px 17px}}
@media(max-width:720px){.security-metrics{grid-template-columns:1fr 1fr}.security-grid{grid-template-columns:1fr}.security-readiness{grid-template-columns:auto 1fr}.security-readiness em{grid-column:1/-1;justify-self:start}.security-actions{align-items:flex-start;flex-wrap:wrap}.security-actions>div{width:100%;margin-right:0}.mfa-intro{grid-template-columns:auto 1fr}.mfa-intro button{grid-column:1/-1}.recovery-codes{grid-template-columns:1fr}}
@media(max-width:460px){.security-metrics{grid-template-columns:1fr}.password-field{grid-template-columns:1fr}.password-field button{height:36px}.security-setup-modal{padding:20px}.security-actions button{width:100%}}

/* V1.4.0 domestic enterprise intelligent work platform */
html,body{font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC",Arial,sans-serif}
.legacy-home{display:none!important}.management-only{display:none!important}.management-only.visible{display:flex!important}.management-surface{display:none!important}.management-surface.visible{display:block!important}.live-chip{display:inline-flex!important;align-items:center;gap:6px;border-radius:999px;background:#eaf8f3;color:var(--green)!important;padding:5px 8px}.live-chip i{width:5px;height:5px;border-radius:50%;background:var(--green)}
.command-hero{min-height:285px;border-radius:18px;padding:37px 40px;color:#fff;background:radial-gradient(circle at 82% 12%,rgba(95,126,241,.32),transparent 28%),linear-gradient(125deg,#101f43,#1c306f 64%,#2d286d);display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;overflow:hidden;position:relative}.command-hero:after{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(255,255,255,.05);border-radius:50%;right:-130px;bottom:-180px;box-shadow:0 0 0 65px rgba(255,255,255,.018),0 0 0 130px rgba(255,255,255,.012)}.command-copy{position:relative;z-index:1}.command-date{font-size:13px;color:#8fa4d6;margin:18px 0 0}.command-copy h1{font-size:31px;margin:6px 0 10px}.command-copy h1 span{color:#d9e2ff}.command-copy>p:not(.command-date){font-size:14px;color:#aebddd;line-height:1.8;margin:0;max-width:660px}.command-principle{position:relative;z-index:1;min-width:305px;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:rgba(8,18,52,.32);padding:22px;display:flex;align-items:center;gap:15px;backdrop-filter:blur(8px)}.command-principle>span{width:56px;height:56px;border-radius:15px;background:linear-gradient(145deg,#728ef0,#7058da);display:grid;place-items:center;font-weight:800}.command-principle small,.command-principle strong,.command-principle p{display:block}.command-principle small{font-size:12px;letter-spacing:1.3px;color:#8397c6}.command-principle strong{font-size:12px;margin-top:7px}.command-principle p{font-size:12px;color:#9aabd1;margin:6px 0 0}.command-metrics{margin-top:16px}.dashboard-quadrants{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cockpit-card{padding:19px;min-height:285px}.cockpit-list{margin-top:9px;display:grid}.workspace-task{min-height:58px;border-bottom:1px solid #edf0f4;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:8px 2px}.workspace-task:last-child{border-bottom:0}.workspace-task.compact{min-height:49px}.task-check{width:24px;height:24px;border:2px solid #d9deea;border-radius:7px;display:grid;place-items:center;color:#fff;font-size:12px}.task-check.done{background:var(--green);border-color:var(--green)}.workspace-task.high .task-check{border-color:#efc5c9}.workspace-task strong,.workspace-task small{display:block}.workspace-task strong{font-size:13px;color:#36445b}.workspace-task small{font-size:12px;color:#8c96a7;margin-top:4px}.task-source-chip{display:inline-flex;align-items:center;margin-top:5px;border-radius:999px;background:#eef2ff;color:#526ee0;padding:2px 6px;font-size:11px;line-height:1.3}.workspace-task em{font-size:12px;color:#7f8a9d;font-style:normal;white-space:nowrap}.workspace-task>button{border:0;background:#edf2ff;color:var(--blue);border-radius:6px;padding:5px 7px;font-size:12px}.workspace-task>.task-source-open{background:#f4f6fb;color:#64718a}.customer-reminder,.approval-reminder{width:100%;min-height:49px;border:0;border-bottom:1px solid #edf0f4;background:#fff;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;text-align:left;padding:8px 2px}.customer-reminder:last-child,.approval-reminder:last-child{border-bottom:0}.risk-marker{width:8px;height:8px;border-radius:50%}.risk-marker.high{background:var(--red);box-shadow:0 0 0 5px #fff0f1}.risk-marker.medium{background:var(--orange);box-shadow:0 0 0 5px #fff3e8}.risk-marker.low{background:var(--green);box-shadow:0 0 0 5px #eaf8f3}.customer-reminder strong,.customer-reminder small,.approval-reminder strong,.approval-reminder small{display:block}.customer-reminder strong,.approval-reminder strong{font-size:13px}.customer-reminder small,.approval-reminder small{font-size:12px;color:#8b95a6;margin-top:4px}.customer-reminder em,.approval-reminder em{font-size:12px;color:var(--blue);font-style:normal}.approval-reminder>span{width:25px;height:25px;border-radius:7px;background:#f1edff;color:var(--violet);display:grid;place-items:center;font-size:12px}.team-pulse{background:linear-gradient(145deg,#fff,#f7f9ff)}.pulse-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.pulse-grid>div{border:1px solid #e9edf4;border-radius:10px;background:#fff;padding:14px}.pulse-grid small,.pulse-grid strong{display:block}.pulse-grid small{font-size:12px;color:#8d97a8}.pulse-grid strong{font-size:20px;margin-top:4px}.team-pulse>p{font-size:12px;line-height:1.65;color:#8a94a6;background:#f2f5fb;border-radius:8px;padding:10px;margin:13px 0 0}.empty-inline{min-height:95px;display:flex;align-items:center;justify-content:center;gap:10px;color:#8792a6}.empty-inline>span{width:29px;height:29px;border-radius:50%;background:#eaf8f3;color:var(--green);display:grid;place-items:center}.empty-inline p{margin:0}.empty-inline strong,.empty-inline small{display:block}.empty-inline strong{font-size:13px}.empty-inline small{font-size:12px;margin-top:4px}.center-entry-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:15px}.center-entry-grid>button{min-height:88px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px;display:flex;align-items:center;gap:10px;text-align:left}.entry-icon{width:38px;height:38px;flex:0 0 auto;border-radius:10px;display:grid;place-items:center;font-size:14px;font-weight:800}.entry-icon.blue{background:#edf2ff;color:var(--blue)}.entry-icon.orange{background:#fff1e7;color:var(--orange)}.entry-icon.violet{background:#f1edff;color:var(--violet)}.entry-icon.green{background:#eaf8f3;color:var(--green)}.entry-icon.red{background:#fff0f1;color:var(--red)}.entry-icon.teal{background:#e8f7f8;color:#168798}.entry-icon.navy{background:#edf0f7;color:#33466e}.entry-icon.gold{background:#fff7df;color:#a87908}.center-entry-grid>button div{min-width:0;flex:1}.center-entry-grid strong,.center-entry-grid small{display:block}.center-entry-grid strong{font-size:14px}.center-entry-grid small{font-size:12px;color:#8b95a6;margin-top:5px;line-height:1.5}.center-entry-grid b{font-size:14px;color:#9aa4b4}
.platform-hub,.operation-record-card,.lifecycle-card,.team-performance-card{overflow:hidden;margin-bottom:16px}.standalone{margin:24px 1px 12px}.platform-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;padding:16px}.platform-card{min-height:130px;border:1px solid #e8ebf1;border-radius:11px;padding:14px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;background:linear-gradient(145deg,#fff,#fafbfe)}.platform-card>span{width:35px;height:35px;border-radius:9px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:13px;font-weight:800}.platform-card div{margin-top:12px}.platform-card strong,.platform-card small{display:block}.platform-card strong{font-size:13px}.platform-card small{font-size:12px;color:#8d97a7;line-height:1.6;margin-top:4px}.platform-card em{margin-top:auto;color:var(--blue);font-size:12px;font-style:normal}.store-workbench-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:18px}.store-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px;box-shadow:0 5px 18px rgba(31,45,74,.025)}.store-card>div:first-child{display:flex;justify-content:space-between;align-items:center}.store-platform{font-size:12px;border-radius:999px;background:#edf2ff;color:var(--blue);padding:5px 8px}.store-card h3{font-size:14px;margin:14px 0 4px}.store-card>p{font-size:12px;color:#8993a5;margin:0}.store-card dl{display:grid;gap:8px;background:#f7f9fc;border-radius:9px;padding:11px;margin:14px 0}.store-card dl>div{display:grid;grid-template-columns:60px 1fr;gap:8px}.store-card dt,.store-card dd{font-size:12px;margin:0}.store-card dt{color:#929baa}.store-card dd{color:#526078;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-card footer{display:flex;gap:8px}.store-card footer button{height:31px;border:1px solid #dce1eb;border-radius:7px;background:#fff;color:#536078;font-size:12px;flex:1}.store-card footer button:first-child{background:#edf2ff;border-color:#d8e1ff;color:var(--blue)}
.business-columns,.strategy-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.business-columns>.content-card{overflow:hidden}.lifecycle-track{display:flex;align-items:center;justify-content:space-between;padding:23px 20px}.lifecycle-track>div{text-align:center;min-width:85px}.lifecycle-track span{width:30px;height:30px;border-radius:50%;background:#edf2ff;color:var(--blue);display:grid;place-items:center;margin:0 auto 7px;font-size:12px;font-weight:800}.lifecycle-track strong,.lifecycle-track small{display:block}.lifecycle-track strong{font-size:12px}.lifecycle-track small{font-size:12px;color:#8e98a8;margin-top:4px}.lifecycle-track>i{font-style:normal;color:#c2c9d5;font-size:14px}.business-customer-list{padding:7px 17px 15px}.business-customer-row{min-height:63px;border-bottom:1px solid #edf0f4;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.business-customer-row:last-child{border-bottom:0}.business-customer-row strong,.business-customer-row small{display:block}.business-customer-row strong{font-size:13px}.business-customer-row small{font-size:12px;color:#8b95a6;margin-top:4px;max-width:430px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.business-customer-row button{border:0;border-radius:6px;background:#edf2ff;color:var(--blue);padding:6px 8px;font-size:12px}.renewal-day{width:32px;height:32px;border-radius:9px;background:#fff1e7;color:var(--orange);display:grid;place-items:center;font-size:14px;font-weight:800}
.collaboration-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:15px}.notice-board{grid-row:span 2;overflow:hidden}.chat-board,.collaboration-task-board{overflow:hidden}.notice-item{display:grid;grid-template-columns:auto 1fr;gap:11px;padding:15px 18px;border-bottom:1px solid #edf0f4}.notice-item:last-child{border-bottom:0}.notice-item>span{align-self:start;border-radius:999px;background:#edf2ff;color:var(--blue);padding:4px 7px;font-size:12px}.notice-item.pinned>span{background:#fff1e7;color:var(--orange)}.notice-item strong{font-size:13px}.notice-item p{font-size:12px;line-height:1.65;color:#58667d;margin:6px 0}.notice-item small{font-size:12px;color:#929baa}.chat-board>div:last-child{max-height:385px;overflow:auto}.chat-item{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:13px 17px;border-bottom:1px solid #edf0f4}.chat-item>span{width:30px;height:30px;border-radius:50%;background:#f1edff;color:var(--violet);display:grid;place-items:center;font-size:13px}.chat-item strong{font-size:13px}.chat-item strong small{font-size:12px;color:#8c96a7;font-weight:400;margin-left:6px}.chat-item p{font-size:12px;color:#5e6b81;line-height:1.65;margin:5px 0}.chat-item em{font-size:12px;color:#9ca4b2;font-style:normal}.compact-task-list{padding:5px 16px 14px}
.approval-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:15px}.approval-summary>div{background:#fff;border:1px solid var(--line);border-radius:11px;padding:15px}.approval-summary small,.approval-summary strong{display:block}.approval-summary small{font-size:12px;color:#8b95a6}.approval-summary strong{font-size:22px;margin-top:4px}.approval-filters{margin-left:auto}.approval-list{padding:5px 18px 18px}.approval-card{display:grid;grid-template-columns:auto 1fr auto;gap:13px;border-bottom:1px solid #edf0f4;padding:16px 0}.approval-card:last-child{border-bottom:0}.approval-type{align-self:start;border-radius:8px;background:#edf2ff;color:var(--blue);padding:8px;font-size:12px}.approval-card header{display:flex;justify-content:space-between;gap:12px}.approval-card header strong{font-size:14px}.approval-card header em{font-size:12px;font-style:normal;border-radius:999px;padding:4px 7px;background:#fff2e7;color:var(--orange)}.approval-card.approved header em{background:#eaf8f3;color:var(--green)}.approval-card.rejected header em{background:#fff0f1;color:var(--red)}.approval-card p{font-size:12px;line-height:1.65;color:#5f6d83;margin:7px 0}.approval-card small{font-size:12px;color:#909aaa}.approval-card blockquote{font-size:12px;background:#f7f9fc;border-left:2px solid #9aabe5;padding:8px 10px;margin:9px 0 0;color:#64718a}.approval-card footer{display:flex;gap:6px;align-self:center}.approval-card footer button{height:30px;border:0;border-radius:7px;background:#eaf8f3;color:var(--green);padding:0 10px;font-size:12px}.approval-card footer button.danger{background:#fff0f1;color:var(--red)}
.employee-layout{display:grid;grid-template-columns:360px 1fr;gap:15px;margin-bottom:15px}.attendance-card{padding:22px}.attendance-clock{text-align:center;border-bottom:1px solid var(--line);padding-bottom:17px}.attendance-clock small,.attendance-clock strong,.attendance-clock em{display:block}.attendance-clock small{font-size:12px;color:#8d97a7}.attendance-clock strong{font-size:14px;margin-top:5px}.attendance-clock em{font-size:34px;font-style:normal;font-weight:800;letter-spacing:1px;margin-top:8px;color:#253857}.attendance-status{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.attendance-status>div{background:#f7f9fc;border-radius:9px;padding:12px}.attendance-status small,.attendance-status strong{display:block}.attendance-status small{font-size:12px;color:#9099a8}.attendance-status strong{font-size:13px;margin-top:4px}.attendance-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.employee-task-card{overflow:hidden}.employee-task-list{padding:6px 18px 16px;max-height:410px;overflow:auto}
.strategy-finance-banner{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;background:#fff8e9;border:1px solid #f2e2b9;border-radius:12px;padding:15px 17px;margin-bottom:15px}.strategy-finance-banner>span{width:38px;height:38px;border-radius:10px;background:#f4c859;color:#6e520b;display:grid;place-items:center;font-weight:800}.strategy-finance-banner strong{font-size:14px}.strategy-finance-banner p{font-size:12px;color:#8c7544;line-height:1.6;margin:4px 0 0}.strategy-finance-banner em{font-style:normal;font-size:12px;border-radius:999px;background:#fff;color:#9a741d;padding:6px 9px}.strategy-customer-chart{padding:19px}.strategy-customer-chart>div{display:grid;grid-template-columns:75px 1fr 32px;gap:10px;align-items:center;margin:13px 0}.strategy-customer-chart span,.strategy-customer-chart strong{font-size:12px}.strategy-customer-chart i{height:7px;background:#eef1f5;border-radius:999px;overflow:hidden}.strategy-customer-chart em{height:100%;display:block;border-radius:999px}.strategy-customer-chart em.green{background:var(--green)}.strategy-customer-chart em.orange{background:var(--orange)}.strategy-customer-chart em.red{background:var(--red)}.strategy-customer-chart em.violet{background:var(--violet)}.strategy-analysis{min-height:245px;padding:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.strategy-analysis>span{width:42px;height:42px;border-radius:11px;background:#f1edff;color:var(--violet);display:grid;place-items:center;font-size:17px}.strategy-analysis>strong{font-size:14px;margin-top:11px}.strategy-analysis>p{font-size:12px;color:#8792a6;line-height:1.7;max-width:430px}.analysis-section{text-align:left;width:100%;border-bottom:1px solid #edf0f4;padding:12px 0}.analysis-section strong{font-size:13px}.analysis-section ul{margin:8px 0 0;padding-left:18px}.analysis-section li{font-size:12px;line-height:1.7;color:#5e6b81}.strategy-analysis>small{display:block;text-align:left;width:100%;font-size:12px;color:#98a1b0;margin-top:10px}.strategy-columns{margin-bottom:15px}.strategy-columns>.content-card{overflow:hidden}
.review-chip{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:12px;margin:0 5px 5px 0}.review-chip.pending{background:#fff2e7;color:var(--orange)}.review-chip.approved{background:#eaf8f3;color:var(--green)}.review-chip.rejected,.review-chip.discarded{background:#fff0f1;color:var(--red)}.version-label{font-style:normal;font-size:12px;color:#6b7ed3;background:#edf2ff;border-radius:999px;padding:3px 6px;margin-left:4px}.tree-icon.teal{background:#e8f7f8;color:#168798}.tree-icon.navy{background:#edf0f7;color:#33466e}.tree-icon.red{background:#fff0f1;color:var(--red)}.knowledge-summary-row{grid-template-columns:repeat(4,1fr)}
@media(max-width:1180px){.center-entry-grid{grid-template-columns:repeat(2,1fr)}.platform-grid{grid-template-columns:repeat(3,1fr)}.store-workbench-grid{grid-template-columns:repeat(2,1fr)}.lifecycle-track{overflow:auto;justify-content:flex-start}.lifecycle-track>i{min-width:18px}.collaboration-layout{grid-template-columns:1fr}.notice-board{grid-row:auto}.employee-layout{grid-template-columns:1fr}.attendance-card{display:grid;grid-template-columns:1fr 1fr;gap:16px}.attendance-clock{border-bottom:0;border-right:1px solid var(--line);padding:0 16px 0 0}.dashboard-quadrants{grid-template-columns:1fr}}
@media(max-width:900px){.command-hero{grid-template-columns:1fr}.command-principle{display:none}.platform-grid{grid-template-columns:repeat(2,1fr)}.business-columns,.strategy-columns{grid-template-columns:1fr}.store-workbench-grid{grid-template-columns:1fr}.approval-card{grid-template-columns:auto 1fr}.approval-card footer{grid-column:2}.attendance-card{display:block}.attendance-clock{border-right:0;border-bottom:1px solid var(--line);padding:0 0 17px}.nav-list{padding-bottom:20px}.sidebar-bottom .policy-card{display:none}}
@media(max-width:720px){.command-hero{padding:28px 22px;min-height:315px}.command-copy h1{font-size:25px}.center-entry-grid{grid-template-columns:1fr}.platform-grid{grid-template-columns:1fr}.approval-summary{grid-template-columns:1fr}.approval-filters{margin-top:10px;overflow:auto}.lifecycle-track{padding:18px 12px}.collaboration-layout{display:block}.collaboration-layout>.content-card{margin-bottom:14px}.strategy-finance-banner{grid-template-columns:auto 1fr}.strategy-finance-banner em{grid-column:1/-1;justify-self:start}.workspace-task{grid-template-columns:auto 1fr auto}.workspace-task>em{display:none}.knowledge-summary-row{grid-template-columns:1fr 1fr}}

/* V1.5 审批中心 */
.heading-actions{display:flex;align-items:center;gap:9px}.approval-summary{grid-template-columns:repeat(4,1fr)}
.approval-template-center{margin-bottom:15px;overflow:hidden}.approval-template-center .section-head p{font-size:12px;color:#8893a6;margin:5px 0 0}.template-private-chip{border-radius:999px;background:#eaf8f3;color:#11805e;padding:6px 9px;font-size:12px!important;white-space:nowrap}.approval-template-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:17px}.approval-template-card{min-height:176px;border:1px solid #e7eaf1;border-radius:12px;background:linear-gradient(145deg,#fff,#fafbfe);padding:16px;display:flex;flex-direction:column;position:relative;overflow:hidden}.approval-template-card:after{content:"";position:absolute;width:88px;height:88px;border-radius:50%;right:-42px;top:-42px;background:rgba(49,91,232,.04)}.approval-template-card:hover{border-color:#cfd8f7;box-shadow:0 10px 26px rgba(34,54,98,.08);transform:translateY(-1px)}.approval-template-card header{display:flex;align-items:center;gap:10px}.approval-template-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:12px;font-weight:800;background:#edf2ff;color:var(--blue)}.approval-template-icon.orange{background:#fff1e7;color:var(--orange)}.approval-template-icon.violet{background:#f1edff;color:var(--violet)}.approval-template-icon.green{background:#eaf8f3;color:var(--green)}.approval-template-icon.red{background:#fff0f1;color:var(--red)}.approval-template-icon.teal{background:#e8f7f8;color:#168798}.approval-template-card header strong,.approval-template-card header small{display:block}.approval-template-card header strong{font-size:14px}.approval-template-card header small{font-size:12px;color:#9099a9;margin-top:4px}.approval-template-card>p{font-size:12px;line-height:1.65;color:#68758b;margin:13px 0}.approval-template-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto}.approval-template-meta span{border-radius:999px;background:#f2f4f8;color:#748096;padding:4px 7px;font-size:12px}.approval-template-card>button{height:32px;border:0;border-radius:7px;background:#edf2ff;color:var(--blue);font-size:12px;font-weight:700;margin-top:12px}.approval-template-card>button:hover{background:var(--blue);color:#fff}
.approval-application-modal{width:min(1120px,calc(100vw - 42px));max-width:none;max-height:calc(100vh - 34px);overflow:auto}.approval-application-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.approval-form-panel,.approval-flow-panel{border:1px solid #e7eaf1;border-radius:12px;background:#fff;overflow:hidden}.approval-flow-panel{background:#fafbfe}.approval-form-section-title{height:52px;padding:0 17px;border-bottom:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between}.approval-form-section-title strong{font-size:14px}.approval-form-section-title span{font-size:12px;color:#929baa}.approval-dynamic-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:18px}.approval-field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#59667c}.approval-field.wide{grid-column:1/-1}.approval-field>span{font-weight:700;color:#536078}.approval-field>span em{font-style:normal;color:var(--red);margin-right:3px}.approval-field input,.approval-field select,.approval-field textarea{width:100%;border:1px solid #dfe3eb;border-radius:8px;background:#fff;color:#344158;padding:10px 11px;outline:0;font-size:13px}.approval-field input,.approval-field select{height:39px}.approval-field textarea{resize:vertical;min-height:88px}.approval-field input:focus,.approval-field select:focus,.approval-field textarea:focus{border-color:#7891e8;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.approval-field-unit{position:relative}.approval-field-unit input{padding-right:48px}.approval-field-unit b{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;color:#939cad}.approval-computed input{background:#f6f8fb;color:#526078}.approval-attachment-box{min-height:72px;border:1px dashed #cfd6e3;border-radius:9px;background:#fafbfc;display:flex;align-items:center;gap:10px;padding:11px;cursor:pointer}.approval-attachment-box input{display:none}.approval-attachment-box>i{width:31px;height:31px;border-radius:8px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-style:normal}.approval-attachment-box strong,.approval-attachment-box small{display:block}.approval-attachment-box strong{font-size:12px}.approval-attachment-box small{font-size:12px;color:#929baa;margin-top:4px}.approval-repeater{display:grid;gap:7px}.approval-repeater-row{display:grid;grid-template-columns:1fr auto;gap:7px}.approval-repeater-row button,.approval-add-detail{border:1px solid #dce1eb;border-radius:7px;background:#fff;color:#65728a;font-size:12px;padding:0 10px}.approval-add-detail{height:33px;color:var(--blue);border-style:dashed}.approval-flow-preview{padding:17px}.flow-preview-node{display:grid;grid-template-columns:auto 1fr;gap:11px;position:relative;padding-bottom:20px}.flow-preview-node:last-child{padding-bottom:0}.flow-preview-node:not(:last-child):after{content:"";position:absolute;width:1px;background:#d9dfeb;left:14px;top:31px;bottom:1px}.flow-preview-node>span{width:29px;height:29px;border-radius:50%;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:800;z-index:1}.flow-preview-node.cc>span{background:#f1edff;color:var(--violet)}.flow-preview-node strong,.flow-preview-node small,.flow-preview-node em{display:block}.flow-preview-node strong{font-size:13px;margin-top:2px}.flow-preview-node small{font-size:12px;color:#858fa1;margin-top:5px;line-height:1.55}.flow-preview-node em{font-size:12px;font-style:normal;color:#a07b22;background:#fff6de;border-radius:5px;padding:5px 7px;margin-top:7px}.flow-preview-empty{padding:20px;border-radius:9px;background:#eaf8f3;color:#167f61;font-size:12px;line-height:1.6}
.approval-builder-modal{width:min(1220px,calc(100vw - 42px));max-width:none;max-height:calc(100vh - 34px);overflow:auto}.approval-builder-basics{margin-bottom:16px}.approval-builder-layout{display:grid;grid-template-columns:1fr 1fr;gap:15px}.builder-panel{border:1px solid #e5e9f0;border-radius:12px;background:#fafbfe;overflow:hidden}.builder-panel>header{min-height:56px;padding:10px 14px;border-bottom:1px solid #e8ebf1;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}.builder-panel>header strong,.builder-panel>header small{display:block}.builder-panel>header strong{font-size:14px}.builder-panel>header small{font-size:12px;color:#909aaa;margin-top:4px}.builder-panel>header>div:last-child{display:flex;gap:4px}.builder-list{display:grid;gap:9px;padding:12px;min-height:120px}.builder-empty{border:1px dashed #d5dbe7;border-radius:9px;padding:25px 12px;text-align:center;color:#919baa;font-size:12px}.builder-row{border:1px solid #e1e5ed;border-radius:9px;background:#fff;padding:11px;display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:start}.builder-row-index{width:26px;height:26px;border-radius:7px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:800}.builder-row-content{display:grid;grid-template-columns:1.15fr .85fr;gap:8px}.builder-row-content input,.builder-row-content select{height:34px;border:1px solid #dfe3eb;border-radius:7px;padding:0 9px;font-size:12px;outline:0;background:#fff}.builder-row-content .builder-wide{grid-column:1/-1}.builder-required{display:flex;align-items:center;gap:5px;font-size:12px;color:#778399}.builder-required input{height:auto}.builder-remove{width:27px;height:27px;border:0;border-radius:7px;background:#fff0f1;color:var(--red);font-size:14px}.builder-flow-row .builder-row-index{background:#f1edff;color:var(--violet)}
.approval-card{align-items:start}.approval-card .approval-type{min-width:38px;text-align:center}.approval-card-main{min-width:0}.approval-card-flow{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:9px}.approval-card-flow span{font-size:12px;border-radius:999px;background:#f2f4f8;color:#738096;padding:4px 7px}.approval-card-flow span.current{background:#fff2e7;color:var(--orange)}.approval-card-flow span.done{background:#eaf8f3;color:var(--green)}.approval-card-flow i{font-style:normal;color:#bbc2cd;font-size:12px}.approval-card-actions{display:flex;gap:6px;align-items:center}.approval-card-actions button{height:30px;border:0;border-radius:7px;background:#edf2ff;color:var(--blue);padding:0 10px;font-size:12px}.approval-card-actions button.approve{background:#eaf8f3;color:var(--green)}.approval-card-actions button.danger{background:#fff0f1;color:var(--red)}.approval-card-attachments{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.approval-card-attachments button{border:1px solid #e1e5ed;border-radius:6px;background:#fff;color:#60708a;font-size:12px;padding:5px 7px}
.approval-detail-modal{width:min(860px,calc(100vw - 42px));max-width:none;max-height:calc(100vh - 34px);overflow:auto}.approval-detail-head{display:flex;align-items:center;gap:12px;padding-right:35px}.approval-detail-head h2{font-size:18px;margin:0}.approval-detail-head p{font-size:12px;color:#8a94a6;margin:5px 0 0}.approval-detail-status{margin-left:auto;border-radius:999px;padding:6px 9px;background:#fff2e7;color:var(--orange);font-size:12px}.approval-detail-status.approved{background:#eaf8f3;color:var(--green)}.approval-detail-status.rejected{background:#fff0f1;color:var(--red)}.approval-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.approval-detail-field{border:1px solid #e8ebf1;border-radius:9px;background:#fafbfc;padding:11px}.approval-detail-field.wide{grid-column:1/-1}.approval-detail-field small,.approval-detail-field strong{display:block}.approval-detail-field small{font-size:12px;color:#929baa}.approval-detail-field strong{font-size:13px;color:#44516a;margin-top:5px;line-height:1.6;white-space:pre-wrap}.approval-detail-section{border-top:1px solid #edf0f4;margin-top:17px;padding-top:15px}.approval-detail-section>h3{font-size:14px;margin:0 0 12px}.approval-detail-flow{display:grid;gap:8px}.approval-detail-step{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;border:1px solid #e7eaf0;border-radius:9px;padding:10px}.approval-detail-step>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#f2f4f8;color:#8490a3;font-size:12px}.approval-detail-step.pending>span{background:#fff2e7;color:var(--orange)}.approval-detail-step.completed>span,.approval-detail-step.notified>span{background:#eaf8f3;color:var(--green)}.approval-detail-step.rejected>span{background:#fff0f1;color:var(--red)}.approval-detail-step strong,.approval-detail-step small{display:block}.approval-detail-step strong{font-size:12px}.approval-detail-step small{font-size:12px;color:#929baa;margin-top:4px}.approval-detail-step em{font-size:12px;font-style:normal;color:#7f8b9e}
@media(max-width:1180px){.approval-template-grid{grid-template-columns:repeat(2,1fr)}.approval-application-layout,.approval-builder-layout{grid-template-columns:1fr}.approval-flow-panel{order:-1}.approval-flow-preview{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.flow-preview-node{padding-bottom:0}.flow-preview-node:after{display:none}}
@media(max-width:720px){.heading-actions{width:100%;flex-direction:column}.heading-actions button{width:100%}.page-heading{align-items:stretch;flex-direction:column}.approval-summary{grid-template-columns:1fr 1fr}.approval-template-grid{grid-template-columns:1fr;padding:12px}.approval-dynamic-fields,.approval-detail-grid{grid-template-columns:1fr}.approval-field.wide,.approval-detail-field.wide{grid-column:auto}.approval-flow-preview{grid-template-columns:1fr}.builder-row-content{grid-template-columns:1fr}.builder-row-content .builder-wide{grid-column:auto}.approval-card{grid-template-columns:auto 1fr}.approval-card-actions{grid-column:2;flex-wrap:wrap}.approval-application-modal,.approval-builder-modal,.approval-detail-modal{width:calc(100vw - 18px);max-height:calc(100vh - 18px)}}

/* V1.4.0 私人搭建测试环境提示 */
.test-mode-banner{min-height:38px;padding:9px 24px;background:#fff4df;border-bottom:1px solid #efd7a3;color:#765514;display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;text-align:center}.test-mode-banner strong{font-size:13px}.test-mode-banner span{color:#8b6c2e}.test-mode-notice{border:1px solid #efd7a3;background:#fff8e9;border-radius:9px;padding:11px 12px;margin:-12px 0 16px;color:#765514}.test-mode-notice strong,.test-mode-notice span{display:block}.test-mode-notice strong{font-size:13px}.test-mode-notice span{font-size:12px;line-height:1.6;margin-top:4px;color:#8b6c2e}@media(max-width:720px){.test-mode-banner{padding:8px 12px;display:block}.test-mode-banner span{display:block;margin-top:3px}}

/* V1.5.0 员工全生命周期数据中心 */
.employee-scope-banner{display:grid;grid-template-columns:auto 1fr minmax(220px,auto);gap:12px;align-items:center;border:1px solid #dbe4fb;border-radius:12px;background:linear-gradient(120deg,#f4f7ff,#fff);padding:13px 16px;margin-bottom:15px}.employee-scope-banner>span{width:36px;height:36px;border-radius:10px;background:#315be8;color:#fff;display:grid;place-items:center;font-size:14px;font-weight:800}.employee-scope-banner strong,.employee-scope-banner p{display:block;margin:0}.employee-scope-banner strong{font-size:14px;color:#35435b}.employee-scope-banner p{font-size:12px;color:#7e899b;margin-top:4px}.employee-scope-banner label{display:flex;align-items:center;gap:8px;font-size:12px;color:#68758b}.employee-scope-banner select{height:34px;min-width:155px;border:1px solid #dfe4ee;border-radius:8px;background:#fff;padding:0 9px;font-size:12px;color:#40506a}.employee-profile-layout{display:grid;grid-template-columns:.86fr 1.5fr;gap:15px;margin-bottom:15px}.employee-profile-card,.employee-month-card{min-height:245px}.employee-profile-head{display:flex;align-items:center;gap:11px;padding:17px;border-bottom:1px solid #edf0f4}.employee-profile-head>span{width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#315be8,#718ff1);color:#fff;display:grid;place-items:center;font-size:17px;font-weight:800;box-shadow:0 9px 20px rgba(49,91,232,.18)}.employee-profile-head small,.employee-profile-head h2,.employee-profile-head p{display:block;margin:0}.employee-profile-head small{font-size:12px;color:#8e98aa}.employee-profile-head h2{font-size:16px;margin-top:3px}.employee-profile-head p{font-size:12px;color:#7d899b;margin-top:4px}.employee-profile-head em{margin-left:auto;border-radius:999px;background:#eaf8f3;color:#15805f;padding:5px 8px;font-size:12px;font-style:normal}.employee-profile-details{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:4px 17px 15px}.employee-profile-details>div{padding:11px 6px;border-bottom:1px solid #f0f2f6}.employee-profile-details small,.employee-profile-details strong{display:block}.employee-profile-details small{font-size:12px;color:#929cab}.employee-profile-details strong{font-size:13px;color:#42516a;margin-top:5px}.data-live-chip{border-radius:999px;background:#edf2ff;color:#315be8;padding:5px 8px;font-size:12px}.data-live-chip.green{background:#eaf8f3;color:#15805f}.employee-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:3px 16px 16px}.employee-result-grid>div{min-height:82px;border:1px solid #e8ecf3;border-radius:10px;background:#fbfcfe;padding:11px}.employee-result-grid small,.employee-result-grid strong,.employee-result-grid em{display:block}.employee-result-grid small{font-size:12px;color:#7f8b9e}.employee-result-grid strong{font-size:14px;color:#263a61;margin-top:8px}.employee-result-grid em{font-size:12px;color:#929cab;font-style:normal;margin-top:6px}.employee-result-grid b{color:#315be8}.employee-linked-card,.employee-history-card,.employee-directory-card{margin-bottom:15px}.employee-linked-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;padding:0 16px 16px}.employee-linked-grid>div{border:1px solid #e8ecf3;border-radius:10px;padding:11px;background:#fff;min-width:0}.employee-linked-grid>div>span{width:27px;height:27px;border-radius:8px;background:#edf2ff;color:#315be8;display:grid;place-items:center;font-size:12px;font-weight:800}.employee-linked-grid small,.employee-linked-grid strong,.employee-linked-grid em{display:block}.employee-linked-grid small{font-size:12px;color:#7f8b9e;margin-top:9px}.employee-linked-grid strong{font-size:14px;color:#283b5f;margin-top:5px}.employee-linked-grid em{font-size:12px;color:#929cab;font-style:normal;margin-top:5px}.employee-linked-grid b{color:#e45757}.employee-directory-card tbody tr.selected{background:#f4f7ff}.employee-person-button{border:0;background:transparent;display:flex;align-items:center;gap:7px;color:#34435c;padding:0;cursor:pointer}.employee-person-button span{width:22px;height:22px;border-radius:7px;background:#edf2ff;color:#315be8;display:grid;place-items:center;font-size:12px}.employee-person-button strong{font-size:12px}.employee-record-modal fieldset,.customer-record-modal fieldset{border:1px solid #e5e9f0;border-radius:12px;padding:15px;margin:0 0 14px}.employee-record-modal legend,.customer-record-modal legend{padding:0 7px;font-size:14px;font-weight:800;color:#3c4c67}.employee-edit-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.modal-actions.compact{margin-top:0}.is-hidden{display:none!important}

/* V1.5.0 客户经营趋势与续费对标 */
.business-data-scope{display:flex;align-items:center;gap:11px;border:1px solid #dfe6f8;border-radius:11px;background:#f7f9ff;padding:12px 15px;margin:15px 0 10px}.business-data-scope>span{width:34px;height:34px;border-radius:10px;background:#315be8;color:#fff;display:grid;place-items:center;font-size:14px;font-weight:800}.business-data-scope strong,.business-data-scope p{display:block;margin:0}.business-data-scope strong{font-size:14px}.business-data-scope p{font-size:12px;color:#8290a5;margin-top:4px}.business-data-scope em{margin-left:auto;border-radius:999px;background:#fff;color:#315be8;padding:5px 8px;font-size:12px;font-style:normal}.business-store-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:15px}.business-store-metrics article{border:1px solid #e6eaf1;border-radius:11px;background:#fff;padding:14px;box-shadow:0 5px 14px rgba(38,55,90,.03)}.business-store-metrics article.renewal-highlight{background:linear-gradient(145deg,#315be8,#5f7fed);border-color:transparent}.business-store-metrics small,.business-store-metrics strong,.business-store-metrics em{display:block}.business-store-metrics small{font-size:12px;color:#7f8b9e}.business-store-metrics strong{font-size:20px;color:#293c61;margin-top:8px}.business-store-metrics em{font-size:12px;color:#98a1b0;font-style:normal;margin-top:6px}.business-store-metrics .renewal-highlight small,.business-store-metrics .renewal-highlight strong,.business-store-metrics .renewal-highlight em{color:#fff}.business-store-metrics .renewal-highlight em{opacity:.8}.business-trend-layout{display:grid;grid-template-columns:1.45fr .75fr;gap:15px;margin-bottom:15px}.trend-legend{display:flex;gap:8px}.trend-legend span{font-size:12px;color:#778399}.trend-legend span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:4px}.trend-legend .total:before{background:#315be8}.trend-legend .launch:before{background:#28a67a}.trend-legend .pause:before{background:#ec7c4c}.business-trend-chart{padding:0 14px 5px}.business-trend-chart svg{display:block;width:100%;height:auto;max-height:280px}.trend-grid-line{stroke:#e9edf4;stroke-width:1}.trend-axis-label,.trend-month-label,.trend-value-label{font-family:inherit;fill:#8994a6;font-size:13px}.trend-value-label{fill:#315be8;font-weight:800}.trend-total-line{fill:none;stroke:#315be8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.trend-total-dot{fill:#fff;stroke:#315be8;stroke-width:3}.trend-launch-bar{fill:#28a67a;opacity:.72}.trend-pause-bar{fill:#ec7c4c;opacity:.76}.business-history-note{font-size:12px;line-height:1.6;color:#98a1b0;padding:0 18px 15px;margin:0}.renewal-comparison{display:grid;gap:18px;padding:7px 17px 14px}.renewal-comparison header{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.renewal-comparison strong{font-size:12px;color:#4c5a72}.renewal-comparison em{font-size:14px;font-style:normal;font-weight:800;color:#304569}.renewal-comparison i{height:8px;border-radius:999px;background:#edf0f5;display:block;overflow:hidden}.renewal-comparison i span{display:block;height:100%;border-radius:999px;transition:width .3s}.renewal-comparison .scope{background:#315be8}.renewal-comparison .excellent{background:#28a67a}.renewal-comparison .average{background:#8e9bb0}.renewal-comparison-note{margin:0 17px 17px;border-radius:8px;background:#f7f8fb;color:#7c889b;padding:10px;font-size:12px;line-height:1.6}.business-renewal-top{margin-bottom:15px}.business-renewal-top .section-head>strong{font-size:13px;color:#315be8}.renewal-rank{width:25px;height:25px;border-radius:8px;background:#edf0f5;color:#66738a;display:grid;place-items:center;font-size:12px;font-weight:800}.renewal-rank.rank-1{background:#fff2d8;color:#b77812}.renewal-rank.rank-2{background:#edf1f6;color:#627087}.renewal-rank.rank-3{background:#fff0e7;color:#b06c43}

@media(max-width:1180px){.employee-linked-grid{grid-template-columns:repeat(4,1fr)}.employee-result-grid{grid-template-columns:repeat(2,1fr)}.business-store-metrics{grid-template-columns:repeat(3,1fr)}.business-trend-layout{grid-template-columns:1fr}.employee-edit-layout{grid-template-columns:1fr}}
@media(max-width:760px){.employee-scope-banner{grid-template-columns:auto 1fr}.employee-scope-banner label{grid-column:1/-1}.employee-scope-banner select{flex:1}.employee-profile-layout{grid-template-columns:1fr}.employee-linked-grid{grid-template-columns:repeat(2,1fr)}.business-store-metrics{grid-template-columns:1fr 1fr}.business-data-scope em{display:none}.employee-result-grid{grid-template-columns:1fr 1fr}}

/* V1.5.0 客户统一档案 */
.customer-record-modal{width:min(1260px,calc(100vw - 36px));max-width:none;max-height:calc(100vh - 30px);overflow:auto}.customer-record-sections{display:grid;gap:2px}.customer-record-modal .form-grid.three{grid-template-columns:repeat(3,1fr)}.customer-record-modal .form-grid.two{grid-template-columns:1fr 1fr}.credential-warning{display:flex;align-items:flex-start;gap:11px;border:1px solid #f1d6a6;border-radius:9px;background:#fff8e9;padding:11px 13px;margin-bottom:13px}.credential-warning strong{font-size:12px;color:#875e14;white-space:nowrap}.credential-warning span{font-size:12px;line-height:1.6;color:#92743b}.custom-field-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.custom-field-empty{grid-column:1/-1;border:1px dashed #dce2ec;border-radius:8px;background:#fafbfd;color:#8d98aa;padding:13px;text-align:center;font-size:12px}.customer-record-block{border-top:1px solid #edf0f4;padding:16px 0}.customer-record-block h3{font-size:14px;margin:0 0 11px;color:#394963}.customer-record-block>p{font-size:12px;color:#8a95a7;margin:-5px 0 11px}.customer-facts.expanded{grid-template-columns:repeat(4,1fr);margin:0}.credential-reference-block{background:#fffaf0;border:1px solid #f2dfb9;border-radius:10px;padding:14px;margin:12px 0}.credential-reference-block .customer-facts>div{background:#fff}.detail-actions{flex-wrap:wrap;justify-content:flex-end}.detail-actions button{white-space:nowrap}
@media(max-width:1000px){.customer-record-modal .form-grid.three,.custom-field-grid{grid-template-columns:1fr 1fr}.customer-facts.expanded{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.customer-record-modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.customer-record-modal .form-grid.three,.customer-record-modal .form-grid.two,.custom-field-grid,.customer-facts.expanded{grid-template-columns:1fr}.credential-warning{display:block}.credential-warning span{display:block;margin-top:5px}}

/* V1.5.0 企业管理员配置后台 */
.admin-tabs{flex-wrap:wrap;overflow:visible;padding:0 12px}.admin-tabs button{height:44px;padding:0 11px}
.nav-list{display:flex;flex-direction:column}.config-hidden{display:none!important}.config-form,.page-config-form,.assistant-config-form{border:1px solid #e7eaf1;border-radius:11px;background:#fafbfe;padding:14px;margin-bottom:15px}.config-card-list{display:grid;gap:8px}.config-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:11px;align-items:center;border:1px solid #e6eaf1;border-radius:10px;background:#fff;padding:11px 13px}.config-card-icon{width:34px;height:34px;border-radius:9px;background:#edf2ff;color:#315be8;display:grid;place-items:center;font-size:13px;font-weight:800}.config-card-icon.field{background:#f1edff;color:#7458dd}.config-card-icon.workflow{background:#eaf8f3;color:#15956e}.config-card-icon.assistant{background:#fff1e7;color:#d16d25}.config-card strong,.config-card small{display:block}.config-card strong{font-size:13px}.config-card small{font-size:12px;color:#8995a8;line-height:1.55;margin-top:4px}.config-card>em{border-radius:999px;background:#f1f3f7;color:#7f8b9d;padding:5px 8px;font-size:12px;font-style:normal}.config-card>em.active{background:#eaf8f3;color:#15805f}.config-card>div:last-child{display:flex;gap:5px}.config-card button,.metric-config-row>button,.permission-role-card header button{height:29px;border:1px solid #dfe4ed;border-radius:7px;background:#fff;color:#53647e;padding:0 9px;font-size:12px}.knowledge-domain-picker{border:1px solid #e1e6ef;border-radius:9px;padding:11px;display:flex;flex-wrap:wrap;gap:9px}.knowledge-domain-picker legend{padding:0 6px;font-size:12px;font-weight:700;color:#526078}.knowledge-domain-picker label{display:flex;align-items:center;gap:5px;border-radius:7px;background:#fff;padding:7px 9px;font-size:12px}.knowledge-domain-picker input{width:auto}.permission-matrix{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.permission-role-card{border:1px solid #e5e9f0;border-radius:11px;background:#fafbfe;padding:13px}.permission-role-card header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9edf3;padding-bottom:10px}.permission-role-card header strong,.permission-role-card header small{display:block}.permission-role-card header strong{font-size:14px}.permission-role-card header small{font-size:12px;color:#8b96a8;margin-top:3px}.permission-role-card header button{border:0;background:#edf2ff;color:#315be8;font-weight:700}.permission-role-card>div{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:11px}.permission-role-card label{display:flex;align-items:center;gap:6px;border-radius:7px;background:#fff;padding:8px;font-size:12px;color:#536078}.metric-config-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(170px,1.2fr) auto auto;gap:10px;align-items:center;border:1px solid #e6eaf1;border-radius:10px;background:#fff;padding:11px}.metric-config-row strong,.metric-config-row small{display:block}.metric-config-row strong{font-size:12px}.metric-config-row small{font-size:12px;color:#909aab;margin-top:3px}.metric-config-row>input{height:32px;border:1px solid #dfe4ed;border-radius:7px;padding:0 9px;font-size:12px}.switch-field.compact{min-width:85px}.switch-field.compact p small{display:none}.version-timeline{display:grid;gap:10px}.version-item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;border:1px solid #e6eaf1;border-radius:11px;background:#fff;padding:14px}.version-item.current{border-color:#bfcdf8;background:#f7f9ff}.version-item>span{width:35px;height:35px;border-radius:10px;background:#edf0f5;color:#68758b;display:grid;place-items:center;font-size:12px;font-weight:800}.version-item.current>span{background:#315be8;color:#fff}.version-item strong,.version-item small{display:block}.version-item strong{font-size:14px}.version-item small{font-size:12px;color:#8994a6;margin-top:4px}.version-item ul{margin:8px 0 0;padding-left:15px;color:#68758b;font-size:12px;line-height:1.7}.version-item>em{font-size:12px;font-style:normal;color:#15805f;align-self:center}
@media(max-width:980px){.permission-matrix{grid-template-columns:1fr}.metric-config-row{grid-template-columns:1fr 1fr}.config-card{grid-template-columns:auto 1fr}.config-card>em,.config-card>div:last-child{grid-column:2}}
@media(max-width:640px){.permission-role-card>div{grid-template-columns:1fr}.metric-config-row{grid-template-columns:1fr}.config-card{grid-template-columns:1fr}.config-card>em,.config-card>div:last-child{grid-column:auto}.config-card-icon{display:none}}

/* V1.6.0 unified information architecture and operating-data foundation */
.nav-list{display:flex;flex-direction:column;gap:3px;min-height:0;padding-bottom:16px}.nav-primary{flex:none}.nav-group{flex:none}.nav-group-title{width:100%;height:40px;border:0;border-radius:8px;background:transparent;color:#d0d8e8;display:flex;align-items:center;gap:9px;padding:0 11px;text-align:left;font-size:14px;font-weight:700}.nav-group-title:hover{background:rgba(255,255,255,.045);color:#fff}.nav-group-title>em{margin-left:auto;font-style:normal;color:#66799d;transition:.2s}.nav-group.is-open .nav-group-title>em{transform:rotate(180deg)}.nav-children{display:none;padding:2px 0 5px 14px}.nav-group.is-open .nav-children{display:flex;flex-direction:column}.nav-children .nav-item{height:34px;font-size:13px;margin:1px 0;padding-left:10px}.nav-children .nav-icon{font-size:13px;width:19px}.nav-item.nav-primary{height:42px}.sidebar-bottom{flex:none}.admin-tab-group{display:flex;align-items:center;padding:0 10px;color:#a1aaba;font-size:12px;white-space:nowrap;background:#f7f9fc;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.trend-range-toolbar{display:flex;align-items:end;gap:9px;padding:13px 18px;border-bottom:1px solid var(--line);background:#fafbfe;flex-wrap:wrap}.trend-range-toolbar>label{display:grid;gap:5px;font-size:12px;color:#778399}.trend-range-toolbar input[type=month]{height:34px;border:1px solid #dce1eb;border-radius:7px;background:#fff;padding:0 9px;color:#44516a;font-size:12px}.trend-compare-toggle{display:flex!important;align-items:center;gap:7px;height:34px;padding:0 9px;border:1px solid #dce1eb;border-radius:7px;background:#fff}.trend-compare-toggle>span{width:25px;height:14px;border-radius:9px;background:#c9d0db;position:relative}.trend-compare-toggle>span:before{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:#fff;left:2px;top:2px;transition:.2s}.trend-compare-toggle input{display:none}.trend-compare-toggle input:checked+span{background:var(--blue)}.trend-compare-toggle input:checked+span:before{transform:translateX(11px)}.trend-shortcuts{display:flex;gap:4px;flex-wrap:wrap;margin-left:auto}.trend-shortcuts button{height:29px;border:1px solid #dfe3eb;border-radius:6px;background:#fff;color:#647188;font-size:12px;padding:0 8px}.trend-legend .previous:before{background:#8a94a7!important}.business-trend-chart{overflow-x:auto}.trend-previous-line{fill:none;stroke:#8a94a7;stroke-width:2;stroke-dasharray:7 6;opacity:.85}
.v160-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:15px}.v160-summary-grid>article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;align-items:center;gap:11px}.v160-summary-grid>article>span{width:35px;height:35px;border-radius:9px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-weight:800}.v160-summary-grid small,.v160-summary-grid strong{display:block}.v160-summary-grid small{font-size:12px;color:#8994a6}.v160-summary-grid strong{font-size:20px;margin-top:3px}.v160-two-column{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}.v160-form-card{overflow:hidden}.v160-compact-form,.v160-report-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:17px}.v160-report-form{grid-template-columns:repeat(4,minmax(0,1fr))}.v160-compact-form>label,.v160-report-form>label,.v160-report-form fieldset label{display:grid;gap:6px;font-size:12px;color:#5d697e;font-weight:600}.v160-compact-form input,.v160-compact-form select,.v160-compact-form textarea,.v160-report-form input,.v160-report-form select,.v160-report-form textarea{width:100%;border:1px solid #dce1eb;border-radius:8px;background:#fff;padding:0 10px;color:#344158;font-size:13px;outline:0}.v160-compact-form input,.v160-compact-form select,.v160-report-form input,.v160-report-form select{height:38px}.v160-compact-form textarea,.v160-report-form textarea{padding:10px;resize:vertical;line-height:1.6}.v160-compact-form input:focus,.v160-compact-form select:focus,.v160-compact-form textarea:focus,.v160-report-form input:focus,.v160-report-form select:focus,.v160-report-form textarea:focus{border-color:#7690eb;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.v160-compact-form .wide,.v160-report-form .wide{grid-column:1/-1}.v160-report-form>fieldset{grid-column:1/-1;border:1px solid #e5e9f0;border-radius:9px;padding:12px}.v160-report-form>fieldset legend{font-size:12px;color:#647188;padding:0 5px}.v160-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.product-approve-now{display:none!important}.product-approve-now.visible{display:flex!important}.v160-card-list{display:grid;gap:8px;padding:12px 17px 17px;max-height:390px;overflow:auto}.v160-list-card{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start;border:1px solid #e7eaf0;border-radius:9px;padding:11px;background:#fff}.v160-list-card strong,.v160-list-card small{display:block}.v160-list-card strong{font-size:13px}.v160-list-card small{font-size:12px;color:#8b95a6;margin-top:4px}.v160-list-card p{font-size:12px;color:#647188;line-height:1.55;margin:7px 0 0}.v160-list-card>div:last-child{display:flex;gap:5px}.v160-list-card button,.table-action{border:1px solid #dfe3eb;border-radius:6px;background:#fff;color:var(--blue);font-size:12px;padding:5px 8px}.v160-list-card button.danger{color:var(--red)}.v160-status{border-radius:999px;padding:4px 7px;font-size:12px;white-space:nowrap}.v160-status.pending{background:#fff2e7;color:var(--orange)}.v160-status.approved{background:#eaf8f3;color:var(--green)}.v160-status.rejected,.v160-status.archived{background:#f2f4f8;color:#7e899b}.v160-role-chip{border-radius:999px;background:#edf2ff;color:var(--blue);padding:4px 7px;font-size:12px}.v160-table{border-top:1px solid var(--line);max-height:430px;overflow:auto}.v160-table td{max-width:280px;white-space:normal;line-height:1.55}
.sales-funnel{display:flex;align-items:center;gap:9px;margin-bottom:15px}.sales-funnel>div{flex:1;background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px;text-align:center}.sales-funnel small,.sales-funnel strong{display:block}.sales-funnel small{font-size:12px;color:#8994a6}.sales-funnel strong{font-size:22px;margin-top:4px}.sales-funnel>i{font-style:normal;color:#aeb7c7}.sales-stage,.renewal-stage{border-radius:999px;padding:5px 8px;font-size:12px;white-space:nowrap;background:#edf2ff;color:var(--blue)}.sales-stage.converted,.renewal-stage.success{background:#eaf8f3;color:var(--green)}.sales-stage.lost,.renewal-stage.lost,.renewal-stage.paused{background:#fff0f1;color:var(--red)}.renewal-stage-track{display:flex;align-items:stretch;gap:5px;margin-bottom:15px;overflow:auto}.renewal-stage-track>div{min-width:125px;flex:1;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;text-align:center}.renewal-stage-track>div.negative{background:#fffafa}.renewal-stage-track span,.renewal-stage-track strong,.renewal-stage-track small{display:block}.renewal-stage-track span{width:23px;height:23px;margin:0 auto 6px;border-radius:50%;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px}.renewal-stage-track strong{font-size:12px}.renewal-stage-track small{font-size:12px;color:#939cac;margin-top:4px}.renewal-stage-track>i{align-self:center;font-style:normal;color:#b6becb}.renewal-playbook{display:grid;gap:0;padding:12px 18px 18px}.renewal-playbook>div{display:grid;grid-template-columns:48px 1fr;gap:11px;padding:13px 0;border-bottom:1px solid #edf0f4}.renewal-playbook>div:last-child{border:0}.renewal-playbook b{width:42px;height:30px;border-radius:8px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px}.renewal-playbook strong,.renewal-playbook small{display:block}.renewal-playbook strong{font-size:13px}.renewal-playbook small{font-size:12px;color:#8e98a8;margin-top:4px}.assistant-memory-layout{margin-top:16px}.conversation-card{display:flex;align-items:center;gap:10px;border:1px solid #e8ebf1;border-radius:9px;padding:11px}.conversation-card>span{width:29px;height:29px;border-radius:8px;background:#f1edff;color:var(--violet);display:grid;place-items:center}.conversation-card strong,.conversation-card small{display:block}.conversation-card strong{font-size:13px}.conversation-card small{font-size:12px;color:#8d97a7;margin-top:4px}.memory-chip-list{display:flex;gap:6px;flex-wrap:wrap;padding:0 17px 17px}.memory-chip-list span{border-radius:999px;background:#edf2ff;color:var(--blue);font-size:12px;padding:6px 9px}.memory-chip-list small{font-size:12px;color:#929baa}.admin-pane .v160-card-list{max-height:none}
.help-tabs{display:flex;gap:6px;margin-bottom:15px;background:#e9edf4;border-radius:10px;padding:4px;width:max-content;max-width:100%;overflow:auto}.help-tabs button{height:34px;border:0;border-radius:7px;background:transparent;color:#718097;font-size:13px;padding:0 15px;white-space:nowrap}.help-tabs button.active{background:#fff;color:var(--blue);font-weight:700;box-shadow:0 3px 9px rgba(30,47,80,.08)}.help-pane{display:none}.help-pane.active{display:block}.help-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.help-quick-grid article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:21px}.help-quick-grid span{font-size:12px;color:var(--blue);font-weight:800}.help-quick-grid h2{font-size:13px;margin:12px 0 7px}.help-quick-grid p{font-size:13px;color:#68758b;line-height:1.75;margin:0}.manual-layout{display:grid;grid-template-columns:210px 1fr;gap:15px;align-items:start}.manual-toc{position:sticky;top:80px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;display:grid}.manual-toc a{height:36px;display:flex;align-items:center;padding:0 10px;border-radius:7px;color:#65728a;text-decoration:none;font-size:13px}.manual-toc a:hover{background:#edf2ff;color:var(--blue)}.manual-content{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 28px}.manual-content section{padding:10px 0 22px;border-bottom:1px solid #edf0f4;scroll-margin-top:85px}.manual-content section:last-child{border:0}.manual-content h2{font-size:16px;margin:8px 0 12px}.manual-content h3{font-size:14px;margin:16px 0 6px}.manual-content p,.manual-content li{font-size:13px;line-height:1.9;color:#5c6a81}.faq-list{display:grid;gap:9px}.faq-list details{background:#fff;border:1px solid var(--line);border-radius:11px;padding:0 17px}.faq-list summary{font-size:14px;font-weight:700;padding:16px 0;cursor:pointer}.faq-list p{font-size:13px;line-height:1.8;color:#65728a;margin:0;padding:0 0 17px}.version-help-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.version-help-head h2{font-size:16px;margin:0}.version-help-head p{font-size:13px;color:#7e899a}.version-help-head>span{border-radius:999px;background:#eaf8f3;color:var(--green);font-size:12px;padding:7px 10px}.version-entry{display:grid;grid-template-columns:54px 1fr auto;gap:13px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:16px;margin-bottom:9px}.version-entry>span{width:44px;height:25px;border-radius:999px;background:#f2f4f8;color:#7e899b;display:grid;place-items:center;font-size:12px}.version-entry.current>span{background:#eaf8f3;color:var(--green)}.version-entry header{display:flex;align-items:center;gap:10px}.version-entry header strong{font-size:14px}.version-entry header small{font-size:12px;color:#929baa}.version-entry ul{margin:9px 0 0;padding-left:17px}.version-entry li{font-size:12px;color:#65728a;line-height:1.7}.version-entry>em{font-size:12px;font-style:normal;color:#758298}
@media(max-width:1180px){.v160-report-form{grid-template-columns:repeat(2,minmax(0,1fr))}.help-quick-grid{grid-template-columns:repeat(2,1fr)}.v160-two-column{grid-template-columns:1fr}.manual-layout{grid-template-columns:170px 1fr}}
@media(max-width:900px){.sidebar-bottom{display:none}.nav-group-title{height:38px}.v160-summary-grid{grid-template-columns:1fr 1fr}.manual-layout{grid-template-columns:1fr}.manual-toc{position:static;grid-template-columns:repeat(4,1fr)}.admin-tab-group{display:none}}
@media(max-width:720px){.v160-summary-grid,.help-quick-grid{grid-template-columns:1fr}.v160-compact-form,.v160-report-form,.v160-action-grid{grid-template-columns:1fr}.v160-compact-form .wide,.v160-report-form .wide{grid-column:auto}.v160-report-form>fieldset{grid-column:auto}.sales-funnel{overflow:auto}.sales-funnel>div{min-width:90px}.trend-range-toolbar{align-items:stretch}.trend-range-toolbar>label{flex:1;min-width:125px}.trend-shortcuts{width:100%;margin:0}.manual-content{padding:15px}.manual-toc{grid-template-columns:repeat(2,1fr)}.version-entry{grid-template-columns:1fr}.version-entry>em{justify-self:start}}

/* V1.6.0 approval catalog: WeCom-style categories, search and compact workflow cards */
.approval-template-toolbar{min-height:62px;padding:11px 17px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;background:#fff}.approval-category-tabs{display:flex;align-items:center;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:thin}.approval-category-tabs button{height:36px;border:0;border-radius:7px;background:transparent;color:#66748a;font-size:13px;padding:0 13px;white-space:nowrap;transition:.18s}.approval-category-tabs button:hover{background:#f3f5f9;color:#344158}.approval-category-tabs button.active{background:#edf2ff;color:var(--blue);font-weight:800}.approval-template-search{width:220px;height:36px;margin-left:auto;flex:0 0 auto;border:1px solid transparent;border-radius:8px;background:#f3f4f6;display:flex;align-items:center;gap:7px;padding:0 11px}.approval-template-search:focus-within{border-color:#cbd6f8;background:#fff;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.approval-template-search>span{color:#8893a5;font-size:14px}.approval-template-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#344158;font-size:13px}.approval-template-search input::placeholder{color:#9aa3b2}.approval-template-grid{display:block;padding:2px 17px 20px}.approval-template-group{padding-top:17px}.approval-template-group>h3{height:23px;margin:0 0 9px;display:flex;align-items:center;gap:7px;color:#66748a;font-size:13px;font-weight:700}.approval-template-group>h3 span{min-width:20px;height:18px;border-radius:999px;background:#f2f4f8;color:#8893a5;display:grid;place-items:center;font-size:12px}.approval-template-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.approval-template-card.compact{width:100%;min-height:68px;border:1px solid #e1e5eb;border-radius:8px;background:#fff;padding:11px 12px;display:flex;flex-direction:row;align-items:center;gap:10px;text-align:left;color:#27364c;position:relative;overflow:hidden;cursor:pointer;box-shadow:none;transform:none}.approval-template-card.compact:after{display:none}.approval-template-card.compact:hover{border-color:#aac0fa;background:#f8faff;box-shadow:0 7px 18px rgba(34,54,98,.07);transform:translateY(-1px)}.approval-template-card.compact:focus-visible{outline:3px solid rgba(49,91,232,.18);outline-offset:1px}.approval-template-card.compact .approval-template-icon{width:34px;height:34px;flex:0 0 auto;border-radius:8px;font-size:14px}.approval-template-card.compact>strong{min-width:0;font-size:13px;line-height:1.45;font-weight:700}.approval-template-card.compact>i{margin-left:auto;color:#9babe0;font-size:14px;font-style:normal;opacity:0;transform:translateX(-3px);transition:.18s}.approval-template-card.compact:hover>i{opacity:1;transform:none}.approval-template-empty{min-height:180px;display:grid;place-content:center;text-align:center;color:#8a95a7;gap:7px}.approval-template-empty strong{font-size:14px;color:#5f6d83}.approval-template-empty span{font-size:12px}.approval-template-center{margin-bottom:15px;overflow:hidden}
@media(max-width:1280px){.approval-template-items{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1040px){.approval-template-toolbar{align-items:stretch;flex-direction:column;gap:9px}.approval-template-search{width:100%;margin:0}.approval-template-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.approval-template-toolbar{padding:10px 12px}.approval-category-tabs button{padding:0 11px}.approval-template-grid{padding:0 12px 16px}.approval-template-items{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-template-card.compact{min-height:62px;padding:9px}.approval-template-card.compact>i{display:none}}
@media(max-width:460px){.approval-template-items{grid-template-columns:1fr}}

/* V1.6.0 account permissions, editable approvals and scenario chat */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.is-hidden{display:none!important}
.user-form{grid-template-columns:1.1fr 1fr 1.15fr .9fr 1fr auto!important;align-items:end}.user-form .new-user-permissions{grid-column:1/-1;border:1px solid #dfe5f0;border-radius:10px;background:#f8faff;padding:13px}.new-user-permissions>header,.permission-editor-pages>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.new-user-permissions>header strong,.permission-editor-pages>header strong{font-size:13px}.new-user-permissions>header span,.permission-editor-pages>header span{font-size:12px;color:#7f8ba0}.permission-page-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.permission-page-grid label{min-height:34px;border:1px solid #e1e6ef;border-radius:7px;background:#fff;display:flex!important;align-items:center;gap:7px;padding:7px 9px!important;color:#536178!important;font-size:12px!important}.permission-page-grid label:has(input:checked){border-color:#b8c7f4;background:#f1f5ff;color:#244fc8!important}.permission-page-grid input{width:auto!important;height:auto!important;accent-color:var(--blue)}.account-batch-toolbar{display:flex;align-items:center;gap:10px;margin:15px 0 9px;padding:10px 12px;border:1px solid #e4e8f0;border-radius:9px;background:#fafbfe}.account-batch-toolbar label{display:flex;align-items:center;gap:6px;font-size:12px;color:#56647a}.account-batch-toolbar input{accent-color:var(--blue)}.account-batch-toolbar span{font-size:12px;color:#8a95a6}.account-batch-toolbar button{margin-left:auto}.selection-column{width:38px;text-align:center!important}.selection-column input{accent-color:var(--blue)}.permission-mode-chip{display:inline-flex;border-radius:999px;padding:5px 8px;background:#edf2ff;color:var(--blue);font-size:12px;white-space:nowrap}.permission-mode-chip.role{background:#f2f4f8;color:#69768a}.permission-mode-chip.admin{background:#f1edff;color:var(--violet)}.role-permission-templates{margin-top:15px;border:1px solid #e2e7ef;border-radius:10px;background:#fafbfe;overflow:hidden}.role-permission-templates>summary{cursor:pointer;padding:13px 15px;font-size:13px;font-weight:700;color:#526078}.role-permission-templates>.permission-matrix{padding:0 15px 15px}.user-permission-modal{max-width:1040px!important}.permission-targets{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}.permission-targets span{border-radius:999px;background:#edf2ff;color:#315be8;font-size:12px;padding:6px 9px}.permission-editor-basics{grid-template-columns:repeat(4,minmax(0,1fr))!important}.permission-editor-basics label small{font-size:12px;color:#8a95a7;line-height:1.5}.permission-editor-pages{margin-top:14px;border:1px solid #dfe5f0;border-radius:10px;background:#f8faff;padding:13px}
.config-card>div:last-child{justify-content:flex-end}.config-card button[data-edit-workflow]{border-color:#c7d3f6;background:#f1f5ff;color:var(--blue);font-weight:700}
.assistant-chat-workspace{overflow:hidden;margin-bottom:18px;border-color:#dbe3f5;box-shadow:0 14px 38px rgba(37,64,130,.08)}.assistant-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:19px 21px;border-bottom:1px solid #e6eaf2;background:linear-gradient(115deg,#f8faff,#fff 48%,#f5f1ff)}.assistant-chat-header h2{font-size:16px;margin:5px 0}.assistant-chat-header>div:first-child>span{display:block;font-size:12px;color:#7e899b;line-height:1.6}.assistant-chat-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap;justify-content:flex-end}.assistant-chat-controls label{display:grid;gap:5px;color:#69768c;font-size:12px;font-weight:700}.assistant-chat-controls select{height:37px;min-width:175px;border:1px solid #dbe1eb;border-radius:8px;background:#fff;padding:0 10px;color:#344158;font-size:12px;outline:0}.assistant-chat-controls select:focus{border-color:#7d95e9;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.assistant-chat-policy{min-height:48px;display:flex;align-items:center;gap:7px;padding:8px 21px;background:#15244b;color:#dce5ff;overflow:auto;white-space:nowrap}.assistant-chat-policy>span{width:24px;height:24px;border-radius:7px;background:rgba(112,143,239,.2);color:#9bb0f5;display:grid;place-items:center;font-size:12px}.assistant-chat-policy>strong{font-size:12px}.assistant-chat-policy>i{font-style:normal;color:#60729e}.assistant-chat-policy>em{margin-left:auto;border-radius:999px;background:rgba(88,207,167,.12);color:#7fe0bf;padding:5px 8px;font-size:12px;font-style:normal}.assistant-chat-welcome{height:100%;min-height:250px;display:grid;place-content:center;justify-items:center;text-align:center;color:#738096}.assistant-chat-welcome>span{width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#315be8,#7558dd);color:#fff;display:grid;place-items:center;font-size:15px;box-shadow:0 12px 24px rgba(49,91,232,.18)}.assistant-chat-welcome>strong{font-size:15px;color:#33425a;margin-top:13px}.assistant-chat-welcome>p{max-width:580px;font-size:13px;line-height:1.8;margin:8px 0}.assistant-chat-welcome>div{font-size:12px;color:#8792a5}.assistant-chat-result{border:1px solid #e0e5ef;background:#fff;border-radius:3px 13px 13px 13px;overflow:hidden;box-shadow:0 7px 18px rgba(30,48,85,.04)}.assistant-chat-result>header{padding:15px 16px;background:linear-gradient(100deg,#f6f8ff,#faf8ff);border-bottom:1px solid #e7eaf1}.assistant-chat-result>header>strong{font-size:12px}.assistant-chat-result>header>p{font-size:12px;line-height:1.7;color:#66748b;margin:6px 0 0}.assistant-chat-result>div{padding:13px 16px;border-bottom:1px solid #edf0f4}.assistant-chat-result h4{font-size:13px;margin:0 0 7px}.assistant-chat-result ul{margin:0;padding-left:16px}.assistant-chat-result li{font-size:12px;color:#58667d;line-height:1.75;margin:3px 0}.assistant-chat-result>aside{margin:12px 16px;border-radius:9px;background:#eef3ff;padding:11px 12px}.assistant-chat-result>aside.warning{background:#fff4e9}.assistant-chat-result>aside strong,.assistant-chat-result>aside p{font-size:12px}.assistant-chat-result>aside p{color:#58677f;line-height:1.7;margin:5px 0 0}.assistant-chat-result>footer{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:12px 16px;background:#fafbfc}.assistant-chat-result>footer>strong{font-size:12px;margin-right:3px}.assistant-chat-result>footer button{height:27px;border:1px solid #dfe4ed;border-radius:7px;background:#fff;color:#617087;padding:0 8px;font-size:12px}.assistant-chat-result>footer button span{color:var(--blue);font-weight:800;margin-right:4px}.assistant-chat-result>footer em{font-size:12px;color:var(--orange);font-style:normal}.assistant-chat-thinking{max-width:920px;margin:0 auto 13px;padding-left:45px;display:flex;align-items:center;gap:4px;color:#79869b}.assistant-chat-thinking span{width:6px;height:6px;border-radius:50%;background:#7b91df;animation:assistant-thinking 1s infinite ease-in-out}.assistant-chat-thinking span:nth-child(2){animation-delay:.15s}.assistant-chat-thinking span:nth-child(3){animation-delay:.3s}.assistant-chat-thinking strong{font-size:12px;margin-left:5px}@keyframes assistant-thinking{0%,70%,100%{transform:translateY(0);opacity:.45}35%{transform:translateY(-4px);opacity:1}}.assistant-chat-composer{padding:13px 18px 15px;border-top:1px solid #e2e6ee;background:#fff}.assistant-chat-composer textarea{width:100%;min-height:72px;border:1px solid #dce2ec;border-radius:10px;padding:11px 12px;resize:vertical;outline:0;color:#344158;font-size:13px;line-height:1.65}.assistant-chat-composer textarea:focus{border-color:#7890e8;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.assistant-chat-composer>div{display:flex;justify-content:space-between;align-items:center;gap:13px;margin-top:8px}.assistant-chat-composer small{font-size:12px;color:#8a95a7}.conversation-card{width:100%;background:#fff;text-align:left;cursor:pointer}.conversation-card>div{min-width:0;flex:1}.conversation-card>em{margin-left:auto;color:#8a9ee4;font-size:12px;font-style:normal;white-space:nowrap}.conversation-card:hover,.conversation-card.active{border-color:#b9c8f4;background:#f7f9ff}.conversation-card.active{box-shadow:inset 3px 0 #315be8}
@media(max-width:1180px){.user-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}.permission-editor-basics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.permission-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.assistant-chat-header{display:grid}.assistant-chat-controls{justify-content:flex-start}}
@media(max-width:720px){.user-form,.permission-editor-basics{grid-template-columns:1fr!important}.permission-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-batch-toolbar{align-items:flex-start;flex-wrap:wrap}.account-batch-toolbar button{width:100%;margin:0}.assistant-chat-controls{display:grid;grid-template-columns:1fr;width:100%}.assistant-chat-controls select,.assistant-chat-controls button{width:100%;min-width:0}.assistant-chat-policy>em{display:none}.assistant-chat-composer>div{align-items:stretch;flex-direction:column}.assistant-chat-composer button{width:100%}.assistant-chat-result>footer{align-items:stretch;flex-direction:column}.permission-page-grid{grid-template-columns:1fr}}

/* V1.6.2 Univer 在线办公中心 */
.office-context-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dfe6f7;background:linear-gradient(105deg,#f7f9ff,#fff);border-radius:12px;padding:12px 14px;margin:-8px 0 17px}.office-context-bar>div{display:flex;align-items:center;gap:9px}.office-context-bar>div:first-child>span{width:34px;height:34px;border-radius:10px;background:#315be8;color:#fff;display:grid;place-items:center;font-size:14px;font-weight:800}.office-context-bar p{margin:0}.office-context-bar strong,.office-context-bar small{display:block}.office-context-bar strong{font-size:13px}.office-context-bar small{font-size:12px;color:#8792a5;margin-top:3px}.office-context-bar button{height:34px;border:1px solid #e0e5ee;background:#fff;border-radius:8px;padding:0 10px;display:flex;align-items:center;gap:6px;color:#526078;font-size:12px}.office-context-bar button:hover{border-color:#9cafea;color:#315be8;box-shadow:0 5px 13px rgba(49,91,232,.08)}.office-context-bar.is-empty{display:none}
.office-type-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:13px;font-weight:800;flex:0 0 auto}.office-type-icon.doc{background:#eaf0ff;color:#315be8}.office-type-icon.sheet{background:#e8f8f2;color:#15956e}.office-type-icon.slides{background:#fff0e8;color:#dc7330}.office-type-icon.mindmap{background:#f0ebff;color:#7458dd}
.office-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:15px}.office-summary-grid article{min-height:84px;border:1px solid #e3e7ef;background:#fff;border-radius:12px;padding:14px;display:flex;align-items:center;gap:12px}.office-summary-grid small,.office-summary-grid strong{display:block}.office-summary-grid small{font-size:12px;color:#8a95a7}.office-summary-grid strong{font-size:21px;margin-top:4px}.office-library-card{overflow:hidden}.office-library-tabs{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 16px;border-bottom:1px solid #e8ebf1;background:#fbfcfe}.office-scope-tabs,.office-type-tabs{display:flex;align-items:center;gap:4px}.office-scope-tabs button,.office-type-tabs button{height:31px;border:0;border-radius:7px;background:transparent;padding:0 10px;color:#7c8799;font-size:12px}.office-scope-tabs button.active,.office-type-tabs button.active{background:#edf2ff;color:#315be8;font-weight:700}.office-type-tabs{padding:3px;background:#f0f2f6;border-radius:8px}.office-type-tabs button{height:27px}.office-type-tabs button.active{background:#fff;box-shadow:0 2px 7px rgba(25,40,68,.08)}.office-toolbar{min-height:63px;padding:12px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf0f4}.office-toolbar>label:first-child{display:flex;align-items:center;gap:7px;color:#7c8799;font-size:12px}.office-toolbar select{height:35px;border:1px solid #dfe4ed;border-radius:8px;background:#fff;padding:0 9px;color:#46536a;font-size:12px}.office-toolbar .search-box{margin-left:auto}.office-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;min-height:280px}.office-document-card{border:1px solid #e2e6ee;border-radius:11px;background:#fff;overflow:hidden;transition:.18s}.office-document-card:hover{transform:translateY(-2px);border-color:#c6d2f2;box-shadow:0 10px 23px rgba(31,52,91,.07)}.office-document-card.trashed{opacity:.75}.office-document-open{width:100%;min-height:84px;border:0;background:linear-gradient(115deg,#fff,#fafbff);padding:14px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left}.office-document-open>div{min-width:0}.office-document-open strong,.office-document-open small{display:block}.office-document-open strong{font-size:14px;color:#344259;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.office-document-open small{font-size:12px;color:#8b96a8;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.office-document-open em{font-style:normal;font-size:12px;color:#718099;background:#f0f2f6;border-radius:999px;padding:4px 6px}.office-document-card>p{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0;padding:9px 13px;border-top:1px solid #edf0f4;background:#fbfcfd}.office-document-card>p span{font-size:12px;color:#8490a2}.office-document-card>p span+span:before{content:"·";margin-right:6px;color:#c0c7d1}.office-document-card>p .ai-ready{margin-left:auto;color:#15956e;background:#eaf8f3;border-radius:999px;padding:3px 6px}.office-document-card>p .ai-ready:before{display:none}.office-document-card footer{display:flex;justify-content:flex-end;gap:5px;padding:9px 12px}.office-document-card footer button{height:27px;border:1px solid #dfe4ed;background:#fff;border-radius:7px;color:#67758b;padding:0 8px;font-size:12px}.office-document-card footer button.active{color:#d28b16;background:#fff9e8;border-color:#f1dfae}.office-document-card footer button.danger{color:#c9585f}.office-empty{grid-column:1/-1;min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#8a95a6}.office-empty>span{width:45px;height:45px;border-radius:14px;background:#edf2ff;color:#315be8;display:grid;place-items:center;font-size:15px;font-weight:800}.office-empty strong{font-size:12px;color:#4a5870;margin-top:12px}.office-empty small{font-size:12px;margin-top:5px}.office-empty button{margin-top:14px;height:34px;border:0;border-radius:8px;background:#315be8;color:#fff;padding:0 13px;font-size:12px}
.office-create-modal{width:min(800px,100%)}.office-create-types{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:16px}.office-create-types button{min-height:94px;border:1px solid #e2e6ee;background:#fff;border-radius:11px;padding:11px;text-align:left;display:grid;grid-template-columns:auto 1fr;gap:7px 9px;align-items:center}.office-create-types button strong{font-size:13px}.office-create-types button small{grid-column:1/-1;font-size:12px;color:#8c96a7}.office-create-types button.active{border-color:#89a1ec;background:#f5f7ff;box-shadow:0 0 0 3px rgba(49,91,232,.06)}.office-create-types button.is-disabled{display:none}.office-create-modal .form-grid label,.office-editor-meta label{display:grid;gap:6px;font-size:12px;color:#66748b;font-weight:600}.office-create-modal input,.office-create-modal select{height:40px;border:1px solid #dce2eb;border-radius:8px;background:#fff;padding:0 10px;outline:0;color:#344158}.office-create-modal input:focus,.office-create-modal select:focus{border-color:#8299e9;box-shadow:0 0 0 3px rgba(49,91,232,.06)}
.office-editor-modal{width:min(1420px,calc(100vw - 28px));height:min(900px,calc(100vh - 28px));max-height:none;padding:0;overflow:hidden;border-radius:14px;display:flex;flex-direction:column}.office-editor-modal>.modal-close{z-index:3;right:9px;top:5px}.office-editor-head{min-height:68px;padding:11px 48px 11px 15px;border-bottom:1px solid #e4e8ef;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff}.office-editor-title{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.office-editor-title>div{min-width:0;flex:1}.office-editor-title input{width:min(560px,100%);border:0;background:transparent;color:#26354e;font-size:15px;font-weight:800;outline:0;padding:3px 0}.office-editor-title p{font-size:12px;color:#8994a6;margin:3px 0 0}.office-editor-actions{display:flex;align-items:center;gap:7px}.office-editor-actions>span{font-size:12px;color:#15956e;margin-right:4px}.office-editor-actions button{height:34px}.office-editor-meta{min-height:53px;padding:8px 15px;border-bottom:1px solid #e8ebf1;background:#fafbfc;display:flex;align-items:center;gap:12px}.office-editor-meta label{display:flex;align-items:center;gap:6px}.office-editor-meta select{height:32px;min-width:145px;border:1px solid #dfe4ed;border-radius:7px;background:#fff;padding:0 8px;color:#46536a;font-size:12px}.office-editor-meta .office-ai-toggle{flex-direction:row}.office-editor-meta>small{margin-left:auto;color:#8c96a7;font-size:12px}.office-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;min-height:0;flex:1;background:#f2f4f8}.office-editor-canvas{overflow:auto;padding:22px;min-width:0}.office-version-panel{border-left:1px solid #dfe3ea;background:#fff;padding:14px;overflow:auto}.office-version-panel>header{display:flex;justify-content:space-between;align-items:center;padding-bottom:11px;border-bottom:1px solid #eceff4}.office-version-panel>header strong{font-size:14px}.office-version-panel>header small{font-size:12px;color:#315be8;background:#edf2ff;border-radius:999px;padding:4px 7px}#officeVersionList{display:grid;margin:8px 0 14px}#officeVersionList article{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;border-bottom:1px solid #edf0f4;padding:10px 2px}#officeVersionList article>span{width:29px;height:29px;border-radius:8px;background:#f0f3f8;display:grid;place-items:center;font-size:12px;font-weight:700;color:#5f6d83}#officeVersionList strong,#officeVersionList small{display:block}#officeVersionList strong{font-size:12px}#officeVersionList small{font-size:14px;color:#939cab;margin-top:3px}#officeVersionList button{border:0;background:transparent;color:#315be8;font-size:12px}.danger-button{width:100%;height:34px;border:1px solid #f0d5d8;background:#fff8f8;color:#c94f58;border-radius:8px;font-size:12px}
.office-editor-canvas.univer-mode{overflow:hidden;padding:0;background:#fff}.huasheng-univer-stage{height:100%;min-height:620px;display:flex;flex-direction:column;background:#fff}.huasheng-univer-status{height:34px;flex:0 0 34px;padding:0 12px;border-bottom:1px solid #e7eaf0;background:#f8faff;display:flex;align-items:center;gap:9px;color:#4f5f79}.huasheng-univer-status strong{font-size:12px;color:#315be8}.huasheng-univer-status span{font-size:12px;color:#8793a5}.huasheng-univer-host{position:relative;flex:1;min-width:0;min-height:0;width:100%;height:100%;background:#fff}.huasheng-univer-host>div{width:100%!important;height:100%!important}.office-editor-actions button:disabled{opacity:.55;cursor:wait}
.office-doc-toolbar,.office-sheet-toolbar,.office-slides-toolbar,.office-mindmap-toolbar{width:min(900px,100%);margin:0 auto;border:1px solid #e1e5ed;border-bottom:0;background:#fff;border-radius:10px 10px 0 0;min-height:43px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between}.office-doc-toolbar span,.office-sheet-toolbar span,.office-slides-toolbar span,.office-mindmap-toolbar span{font-size:13px;font-weight:700}.office-doc-toolbar small,.office-sheet-toolbar small,.office-mindmap-toolbar small{font-size:12px;color:#8a95a7}.office-doc-editor,.office-mindmap-editor{display:block;width:min(900px,100%);min-height:620px;margin:0 auto;border:1px solid #e1e5ed;background:#fff;padding:42px 52px;resize:none;outline:0;color:#344158;font-size:14px;line-height:1.9;box-shadow:0 8px 25px rgba(28,44,76,.04)}.office-doc-editor:focus,.office-mindmap-editor:focus{border-color:#9baee8}.office-sheet-toolbar{width:100%;border-bottom:1px solid #e1e5ed;border-radius:10px 10px 0 0}.office-sheet-toolbar button,.office-slides-toolbar button{height:27px;border:1px solid #dfe4ed;border-radius:7px;background:#fff;color:#315be8;padding:0 9px;font-size:12px;margin-right:5px}.office-sheet-grid{min-width:max-content;background:#fff;border:1px solid #dfe3ea;border-top:0}.office-sheet-row{display:grid;grid-template-columns:38px repeat(var(--office-columns),150px)}.office-sheet-row>b{height:36px;display:grid;place-items:center;background:#f4f6f9;border-right:1px solid #dfe3ea;border-bottom:1px solid #dfe3ea;color:#7d899b;font-size:12px}.office-sheet-row input{width:150px;height:36px;border:0;border-right:1px solid #e4e7ed;border-bottom:1px solid #e4e7ed;padding:0 7px;outline:0;color:#3f4c62;font-size:12px}.office-sheet-row input:focus{box-shadow:inset 0 0 0 2px #7390eb;background:#f7f9ff}.office-slides-toolbar{width:100%;border-bottom:1px solid #e1e5ed}.office-slide-list{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:15px;margin-top:15px}.office-slide-card{aspect-ratio:16/10;border:1px solid #dfe4ec;background:#fff;border-radius:10px;padding:13px;display:flex;flex-direction:column;box-shadow:0 7px 20px rgba(25,42,73,.05)}.office-slide-card header{display:flex;align-items:center;gap:7px;border-bottom:1px solid #edf0f4;padding-bottom:8px}.office-slide-card header b{width:22px;height:22px;border-radius:6px;background:#fff0e8;color:#dc7330;display:grid;place-items:center;font-size:12px}.office-slide-card header span{font-size:12px;color:#8390a3}.office-slide-card header button{margin-left:auto;border:0;background:transparent;color:#c9585f;font-size:12px}.office-slide-card>input{border:0;border-bottom:1px solid #e7eaf0;padding:14px 5px 9px;outline:0;font-size:14px;font-weight:800;color:#2d3d58}.office-slide-card>textarea{flex:1;border:0;padding:10px 5px;outline:0;resize:none;color:#526078;font-size:13px;line-height:1.7}.office-mindmap-toolbar{width:100%;border-bottom:1px solid #e1e5ed}.office-mindmap-editor{width:42%;min-height:610px;margin:0;float:left;padding:26px;border-radius:0 0 0 10px;font-size:13px}.office-mindmap-preview{width:58%;min-height:610px;float:left;border:1px solid #e1e5ed;border-left:0;background:#fff;padding:30px;overflow:auto}.office-mindmap-preview>div{position:relative;margin-left:calc(var(--mind-level) * 28px);padding:8px 10px 8px 20px}.office-mindmap-preview>div span{position:absolute;left:4px;top:12px;width:8px;height:8px;border-radius:50%;background:#7458dd;box-shadow:0 0 0 4px #f0ebff}.office-mindmap-preview>div strong{display:inline-block;border:1px solid #ddd7f4;background:#faf9ff;border-radius:8px;padding:8px 11px;font-size:12px;color:#4c3d82}
.office-config-matrix{border:1px solid #e5e9f0;border-radius:11px;overflow:hidden}.office-config-row{display:grid;grid-template-columns:minmax(170px,1.3fr) repeat(4,1fr);align-items:center;min-height:54px;border-bottom:1px solid #edf0f4}.office-config-row:last-child{border:0}.office-config-row>strong{padding:0 15px;font-size:13px}.office-config-row.heading{background:#f7f8fb;min-height:39px}.office-config-row.heading span{text-align:center;font-size:12px;color:#7e899b}.office-config-row label{height:100%;display:grid;place-items:center;border-left:1px solid #edf0f4}.office-config-row label input{display:none}.office-config-row label span{width:29px;height:29px;border-radius:8px;background:#f1f3f7;color:#a1a9b6;display:grid;place-items:center;font-size:12px;font-weight:800}.office-config-row label input:checked+span{background:#edf2ff;color:#315be8;box-shadow:inset 0 0 0 1px #bfcdf5}.office-config-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.office-config-options>label,.office-config-options fieldset{border:1px solid #e5e9f0;border-radius:10px;padding:12px;margin:0}.office-config-options fieldset{display:flex;align-items:center;gap:15px}.office-config-options legend{padding:0 5px;font-size:12px;color:#68758b}.office-config-options fieldset label{font-size:12px;color:#536078}
@media(max-width:1100px){.office-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.office-editor-layout{grid-template-columns:1fr 220px}.office-context-bar{align-items:flex-start;flex-direction:column}.office-slide-list{grid-template-columns:1fr}.office-editor-meta{flex-wrap:wrap}.office-editor-meta>small{margin-left:0}}
@media(max-width:720px){.office-summary-grid{grid-template-columns:repeat(2,1fr)}.office-library-tabs{align-items:flex-start;flex-direction:column}.office-scope-tabs,.office-type-tabs{width:100%;overflow:auto}.office-document-grid{grid-template-columns:1fr;padding:10px}.office-toolbar{align-items:stretch;flex-direction:column}.office-toolbar .search-box{margin:0}.office-toolbar .search-box input{width:100%}.office-context-bar>div:last-child{width:100%;overflow:auto}.office-create-types{grid-template-columns:repeat(2,1fr)}.office-editor-modal{width:100vw;height:100vh;border-radius:0}.office-editor-head{align-items:flex-start;flex-direction:column;padding-right:40px}.office-editor-actions{width:100%;flex-wrap:wrap}.office-editor-meta{align-items:stretch;flex-direction:column}.office-editor-meta label{justify-content:space-between}.office-editor-meta select{flex:1}.office-editor-layout{display:block;overflow:auto}.office-editor-canvas{min-height:560px;padding:10px}.office-version-panel{border-left:0;border-top:1px solid #dfe3ea}.office-doc-editor{padding:25px 20px}.office-mindmap-editor,.office-mindmap-preview{float:none;width:100%;min-height:330px}.office-config-row{grid-template-columns:120px repeat(4,1fr)}.office-config-row>strong{padding:0 8px;font-size:12px}.office-config-row.heading span{font-size:14px}.office-config-options{grid-template-columns:1fr}}
@media(max-width:720px){.office-editor-canvas.univer-mode{overflow:auto;padding:0}.huasheng-univer-stage{min-width:760px;min-height:620px}}

/* V1.7.0 people operating architecture */
.v170-hidden-source{display:none}.v170-command-hero{margin-bottom:18px}.v170-section-title{display:flex;align-items:end;justify-content:space-between;margin:23px 0 11px}.v170-section-title h2{font-size:15px;margin:3px 0 0;color:#1d2b45}.v170-section-title>span,.v170-section-title>button{font-size:12px;color:#8290a5}.v170-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v170-ai-alert{padding:17px;min-height:210px}.v170-stat-grid{display:grid;gap:12px}.v170-stat-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.v170-stat-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.v170-stat-grid>article{min-height:100px;border:1px solid #e1e6ef;background:#fff;border-radius:13px;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:7px 10px;align-items:center;box-shadow:0 8px 22px rgba(25,41,75,.025)}.v170-stat-grid>article>span{grid-row:1/4;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:13px;font-weight:800}.v170-stat-grid span.blue{background:#edf2ff;color:#315be8}.v170-stat-grid span.green{background:#eaf8f3;color:#149b73}.v170-stat-grid span.red{background:#fff0f1;color:#d34c5b}.v170-stat-grid span.orange{background:#fff2e8;color:#df762d}.v170-stat-grid span.violet{background:#f1edff;color:#7659dc}.v170-stat-grid small{font-size:12px;color:#8994a6}.v170-stat-grid strong{font-size:16px;color:#1f2c43}.v170-stat-grid em{font-style:normal;font-size:12px;color:#9aa3b1}.v170-home-lower{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0}.v170-growth-card,.v170-assistant-entry{padding:17px}.v170-growth-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}.v170-growth-summary>div{border:1px solid #e6eaf1;background:#fafbfc;border-radius:10px;padding:11px}.v170-growth-summary small,.v170-growth-summary strong{display:block}.v170-growth-summary small{font-size:12px;color:#8995a7}.v170-growth-summary strong{font-size:13px;margin-top:5px}.v170-requirements{margin-top:11px;display:grid;gap:7px}.v170-requirements>div{display:flex;gap:8px;align-items:center;font-size:12px;color:#5a687e}.v170-requirements>div span{width:18px;height:18px;border-radius:50%;background:#eef2f7;color:#96a0b0;display:grid;place-items:center}.v170-requirements>div.done span{background:#e8f8f2;color:#149b73}.v170-assistant-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.v170-assistant-grid button{border:1px solid #e2e7ef;background:#fff;border-radius:11px;padding:14px;text-align:left;display:grid;gap:6px}.v170-assistant-grid button:hover{border-color:#9db0ec;background:#f8faff}.v170-assistant-grid span{width:30px;height:30px;border-radius:9px;background:#edf2ff;color:#315be8;display:grid;place-items:center;font-size:12px;font-weight:800}.v170-assistant-grid strong{font-size:13px}.v170-assistant-grid small{font-size:12px;color:#8994a6;line-height:1.5}.v170-insight-list{display:grid;gap:8px;margin-top:10px}.v170-insight-list article{border-left:3px solid #8ca1e8;background:#f8faff;border-radius:0 9px 9px 0;padding:9px 11px}.v170-insight-list article.warning{border-color:#e59955;background:#fff9f2}.v170-insight-list article strong,.v170-insight-list article small{display:block}.v170-insight-list article strong{font-size:12px}.v170-insight-list article small{font-size:12px;color:#7f8b9d;line-height:1.6;margin-top:3px}
.v170-group-card,.v170-performance-progress{margin:15px 0}.v170-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px}.v170-group-grid button{border:1px solid #e2e7ef;background:#fff;border-radius:12px;padding:15px;text-align:left}.v170-group-grid button.active,.v170-group-grid button:hover{border-color:#8ea5ec;background:#f7f9ff}.v170-group-grid header{display:flex;justify-content:space-between;gap:8px}.v170-group-grid header strong{font-size:14px}.v170-group-grid header span{font-size:12px;color:#66758b;background:#eff3fa;border-radius:999px;padding:4px 7px}.v170-group-grid dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0}.v170-group-grid dt{font-size:12px;color:#909aab}.v170-group-grid dd{font-size:13px;font-weight:700;margin:3px 0 0}.v170-team-progress{padding:6px 17px 17px;display:grid;gap:12px}.v170-progress-row{display:grid;grid-template-columns:130px minmax(180px,1fr) 220px;gap:12px;align-items:center}.v170-progress-row strong{font-size:13px}.v170-progress-row small{font-size:12px;color:#8c97a8}.v170-progress-row i{height:9px;background:#edf0f5;border-radius:999px;overflow:hidden}.v170-progress-row i span{display:block;height:100%;background:linear-gradient(90deg,#315be8,#7559dd);border-radius:999px}.v170-progress-row em{font-style:normal;text-align:right;font-size:12px;color:#536178}.v170-person-detail{margin-top:15px;padding:18px}.v170-person-head{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e8ebf1;padding-bottom:14px}.v170-person-head>span{width:44px;height:44px;border-radius:13px;background:#edf2ff;color:#315be8;display:grid;place-items:center;font-size:14px;font-weight:800}.v170-person-head h2{font-size:14px;margin:0}.v170-person-head p{font-size:12px;color:#8995a7;margin:4px 0 0}.v170-person-head button{margin-left:auto}.v170-person-sections{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-top:14px}.v170-person-sections section{border:1px solid #e4e8ef;border-radius:11px;padding:13px}.v170-person-sections h3{font-size:13px;margin:0 0 10px}.v170-person-sections dl{display:grid;gap:7px}.v170-person-sections dl div{display:flex;justify-content:space-between;gap:8px}.v170-person-sections dt{font-size:12px;color:#8c97a7}.v170-person-sections dd{font-size:12px;font-weight:700;margin:0;text-align:right}.v170-person-sections ul{padding-left:15px;margin:0}.v170-person-sections li{font-size:12px;color:#647086;line-height:1.7}.v170-mini-trend{display:flex;align-items:end;gap:7px;height:76px;margin-top:8px}.v170-mini-trend span{flex:1;background:#8099eb;border-radius:5px 5px 0 0;min-height:4px;position:relative}.v170-mini-trend span em{position:absolute;bottom:-18px;left:50%;transform:translateX(-50%);font-style:normal;font-size:14px;color:#909aab}.v170-finance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:15px}.v170-finance-grid article{border:1px solid #e5e9f0;border-radius:11px;background:#fff;padding:14px}.v170-finance-grid small,.v170-finance-grid strong{display:block}.v170-finance-grid small{font-size:12px;color:#8b96a8}.v170-finance-grid strong{font-size:13px;margin-top:6px}.v170-department-list{padding:12px 17px 17px;display:grid;gap:9px}.v170-department-list button{display:grid;grid-template-columns:1fr repeat(4,auto);align-items:center;gap:13px;border:1px solid #e7eaf0;background:#fff;border-radius:9px;padding:11px;text-align:left}.v170-department-list strong{font-size:13px}.v170-department-list span{font-size:12px;color:#718096}.v170-ledger-toolbar{display:flex;align-items:end;justify-content:space-between;padding:16px;border-bottom:1px solid #e8ebf1}.v170-ledger-toolbar label{display:grid;gap:6px;font-size:12px;color:#67758b}.v170-ledger-toolbar input{height:36px;border:1px solid #dfe4ec;border-radius:8px;padding:0 10px}.v170-ledger-toolbar>div{display:flex;align-items:center;gap:8px}.v170-ledger-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:15px}.v170-ledger-summary div{border:1px solid #e7eaf0;background:#fafbfc;border-radius:10px;padding:12px}.v170-ledger-summary small,.v170-ledger-summary strong{display:block}.v170-ledger-summary small{font-size:12px;color:#8c97a7}.v170-ledger-summary strong{font-size:12px;margin-top:5px}.v170-status-actions{display:flex;gap:5px}.v170-status-actions button{border:1px solid #dce2ec;background:#fff;border-radius:6px;padding:5px 7px;font-size:12px}.v170-status-actions button.confirm{color:#149b73}.v170-status-actions button.reject{color:#d34c5b}
@media(max-width:1200px){.v170-stat-grid.five{grid-template-columns:repeat(3,1fr)}.v170-group-grid{grid-template-columns:repeat(2,1fr)}.v170-person-sections{grid-template-columns:repeat(2,1fr)}.v170-progress-row{grid-template-columns:100px 1fr 160px}}
@media(max-width:760px){.v170-work-grid,.v170-home-lower{grid-template-columns:1fr}.v170-stat-grid.four,.v170-stat-grid.five,.v170-finance-grid{grid-template-columns:repeat(2,1fr)}.v170-group-grid{grid-template-columns:1fr}.v170-assistant-grid{grid-template-columns:1fr}.v170-growth-summary{grid-template-columns:repeat(2,1fr)}.v170-progress-row{grid-template-columns:1fr}.v170-progress-row em{text-align:left}.v170-person-sections{grid-template-columns:1fr}.v170-department-list button{grid-template-columns:1fr 1fr}.v170-ledger-toolbar{align-items:stretch;flex-direction:column;gap:10px}}

/* V1.8.0 enterprise AI brain and agent platform */
.ai-brain-hero{margin-bottom:18px;border-radius:22px;padding:28px 30px;color:#fff;background:radial-gradient(circle at 82% 12%,rgba(120,102,255,.5),transparent 30%),linear-gradient(128deg,#12244f,#273b91 62%,#4b318f);display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:0 20px 50px rgba(25,43,100,.17)}
.ai-brain-copy{max-width:650px}.ai-brain-kicker{display:inline-flex;padding:6px 11px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.09);font-size:14px;letter-spacing:.08em}.ai-brain-copy h2{font-size:27px;margin:13px 0 9px}.ai-brain-copy p{font-size:13px;line-height:1.8;color:#dbe3ff}.ai-brain-copy>div{display:flex;gap:10px;margin-top:18px}.ai-brain-flow{min-width:420px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.ai-brain-flow article{width:120px;min-height:116px;padding:15px;border:1px solid rgba(255,255,255,.16);background:rgba(12,25,73,.4);border-radius:15px}.ai-brain-flow article span{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-weight:800}.ai-brain-flow article strong,.ai-brain-flow article small{display:block}.ai-brain-flow article strong{margin-top:10px;font-size:12px}.ai-brain-flow article small{margin-top:5px;font-size:13px;line-height:1.5;color:#cbd5fa}.ai-brain-flow>i{font-style:normal;color:#aebeff}
.agent-plaza{margin-bottom:18px;overflow:hidden}.agent-plaza-head{padding:22px 24px 16px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e9edf5}.agent-plaza-head h2{font-size:20px;margin:3px 0 4px}.agent-plaza-head span{font-size:14px;color:#7d899d}.agent-plaza-toolbar{padding:13px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #eef1f6;background:#fbfcff}.agent-scope-tabs,.agent-category-tabs,.agent-conversation-filter{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.agent-scope-tabs button,.agent-category-tabs button,.agent-conversation-filter button{border:0;background:transparent;color:#738097;border-radius:8px;padding:7px 11px;font-size:14px;cursor:pointer}.agent-scope-tabs button.active,.agent-category-tabs button.active,.agent-conversation-filter button.active{color:#2f5cf0;background:#eaf0ff;font-weight:700}.agent-plaza-grid{padding:20px 24px 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.agent-card{border:1px solid #e2e7f1;border-radius:16px;padding:18px;background:#fff;display:grid;gap:14px;transition:.2s;position:relative;overflow:hidden}.agent-card:hover{border-color:#9eb2f8;box-shadow:0 14px 32px rgba(43,71,145,.11);transform:translateY(-2px)}.agent-card::after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;background:#f1f4ff;right:-35px;top:-40px}.agent-card-head{display:flex;gap:12px;align-items:center;position:relative;z-index:1}.agent-avatar{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-weight:800;font-size:15px;color:#315be8;background:#e9efff}.agent-avatar.violet{color:#7745d7;background:#f0eaff}.agent-avatar.orange{color:#d96a24;background:#fff0e5}.agent-avatar.green{color:#149b73;background:#e7f8f2}.agent-card-head strong,.agent-card-head small{display:block}.agent-card-head strong{font-size:13px}.agent-card-head small{font-size:13px;color:#8b96a8;margin-top:4px}.agent-card>p{font-size:14px;color:#69758a;line-height:1.65;min-height:33px}.agent-tags{display:flex;gap:6px;flex-wrap:wrap}.agent-tags span{font-size:12px;color:#53617a;background:#f2f5fa;padding:4px 7px;border-radius:999px}.agent-card-meta{display:flex;justify-content:space-between;font-size:13px;color:#8a95a7}.agent-card-actions{display:flex;gap:8px}.agent-card-actions button{flex:1;border:0;border-radius:9px;padding:9px 10px;background:#edf2ff;color:#315be8;font-weight:700;cursor:pointer}.agent-card-actions button.primary{background:#315be8;color:#fff}.agent-card.empty{grid-column:1/-1;place-items:center;text-align:center;color:#7c889c;min-height:150px}
.assistant-chat-workspace{margin-bottom:18px}.agent-chat-layout{display:grid;grid-template-columns:240px minmax(420px,1fr);min-height:610px;border-top:1px solid #e9edf5}.agent-chat-sidebar{border-right:1px solid #e8ecf4;background:#fafbfe;padding:14px}.agent-chat-sidebar>header{display:flex;align-items:center;justify-content:space-between;padding:5px 2px 12px}.agent-chat-sidebar>header button{border:0;background:#eaf0ff;color:#315be8;padding:6px 9px;border-radius:7px;font-size:13px;cursor:pointer}.agent-chat-sidebar .v160-card-list{margin-top:10px;max-height:510px;overflow:auto}.agent-chat-sidebar .conversation-card{grid-template-columns:25px 1fr;padding:10px;margin-bottom:7px}.agent-chat-sidebar .conversation-card em{display:none}.agent-chat-sidebar .conversation-card div small{line-height:1.5}.conversation-card-tools{display:flex;gap:4px;margin-top:5px}.conversation-card-tools button{border:0;background:transparent;color:#8490a4;padding:2px 4px;font-size:12px;cursor:pointer}.conversation-card-tools button.active{color:#e09d2d}.agent-chat-main{min-width:0;display:flex;flex-direction:column}.assistant-feedback-actions{display:flex;align-items:center;gap:6px;margin-top:10px;flex-wrap:wrap}.assistant-feedback-actions span{font-size:12px;color:#8994a6}.assistant-feedback-actions button{border:1px solid #dfe5ef;background:#fff;color:#66738a;border-radius:7px;padding:5px 8px;font-size:12px;cursor:pointer}.assistant-feedback-actions button:hover{border-color:#8ca6f3;color:#315be8}.assistant-feedback-actions em{font-size:12px;color:#149b73;font-style:normal}.ai-memory-guide>div:last-child{padding:5px 22px 22px;display:grid;gap:9px}.ai-memory-guide p{border-left:3px solid #8098e9;background:#f8faff;border-radius:0 9px 9px 0;padding:11px}.ai-memory-guide p strong,.ai-memory-guide p small{display:block}.ai-memory-guide p strong{font-size:14px}.ai-memory-guide p small{font-size:12px;color:#79869a;margin-top:4px;line-height:1.5}
.ai-learning-center{margin:18px 0}.ai-learning-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:0 20px 18px}.ai-learning-metrics article{border:1px solid #e4e9f2;background:#fbfcff;border-radius:11px;padding:13px}.ai-learning-metrics small,.ai-learning-metrics strong{display:block}.ai-learning-metrics small{font-size:13px;color:#8691a3}.ai-learning-metrics strong{font-size:19px;margin-top:6px}.ai-learning-list{display:grid;gap:9px;padding:0 20px 22px}.ai-learning-item{border:1px solid #e2e7f0;border-radius:12px;padding:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.ai-learning-item header{display:flex;align-items:center;gap:7px}.ai-learning-item header span{font-size:12px;padding:4px 7px;border-radius:999px;background:#fff0e5;color:#cc6a2c}.ai-learning-item header span.adopted{background:#e7f8f2;color:#149b73}.ai-learning-item header span.rejected{background:#fff0f0;color:#d64c4c}.ai-learning-item header strong{font-size:14px}.ai-learning-item p{font-size:13px;color:#68758a;line-height:1.6;margin-top:7px}.ai-learning-item small{font-size:12px;color:#929cad}.ai-learning-item>button{align-self:center;border:1px solid #d8e0f0;background:#fff;color:#315be8;border-radius:8px;padding:8px 11px;cursor:pointer}
.agent-builder-steps{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:16px}.agent-builder-steps span{padding:8px 5px;text-align:center;background:#edf2ff;color:#315be8;border-radius:7px;font-size:12px}.agent-builder-config{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.agent-builder-config fieldset,.agent-switch-grid{border:1px solid #dfe5ef;border-radius:11px;padding:12px;display:flex;gap:9px;flex-wrap:wrap}.agent-builder-config legend,.agent-switch-grid legend{font-size:13px;color:#4e5d76;padding:0 5px}.agent-builder-config label,.agent-switch-grid label{font-size:13px;display:flex;align-items:center;gap:5px}.ai-review-snapshot{padding:13px;border:1px solid #e1e6f0;background:#f8faff;border-radius:11px;margin-bottom:14px}.ai-review-snapshot strong,.ai-review-snapshot p,.ai-review-snapshot small{display:block}.ai-review-snapshot p{font-size:13px;line-height:1.7;margin-top:6px;color:#68758a}.ai-review-snapshot small{font-size:12px;margin-top:5px;color:#8a95a7}.agent-admin-form{grid-template-columns:repeat(4,minmax(0,1fr))}.agent-admin-form .wide{grid-column:1/-1}
.agent-chat-sidebar .conversation-card{display:block!important;grid-template-columns:none!important}.conversation-open{width:100%;border:0;background:transparent;display:grid;grid-template-columns:25px 1fr;gap:8px;text-align:left;padding:0;cursor:pointer}.conversation-open>span{width:24px;height:24px;border-radius:7px;background:#edf2ff;color:#315be8;display:grid;place-items:center}.conversation-card-tools{margin-left:33px}
.conversation-group{margin-top:6px}
.conversation-group-title{display:flex;align-items:center;gap:6px;margin:12px 2px 5px;font-size:12px;color:#8a94a6;font-weight:700;letter-spacing:.02em}
.conversation-group-title:first-child{margin-top:2px}
.conversation-group-title span{font-weight:600;color:#9aa4b6;background:#eef1f6;border-radius:999px;padding:0 7px;font-size:11px}
.ai-conv-search{margin:4px 2px 8px;width:calc(100% - 4px);background:#fff}
.ai-conv-search input{font-size:14px}
.conversation-tag-filter{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 2px 8px;padding:7px 0 2px;border-top:1px dashed #e6eaf2}.conversation-tag-filter>span{font-size:11px;color:#8e99ab;margin-right:1px}.conversation-tag-filter button{border:1px solid #e2e7f1;background:#fff;color:#718098;border-radius:999px;padding:3px 7px;font-size:11px;line-height:1.35;cursor:pointer}.conversation-tag-filter button:hover{border-color:#b9c8f3;color:#315be8}.conversation-tag-filter button.active{border-color:#b6c6f4;background:#eaf0ff;color:#315be8;font-weight:700}
.conv-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.conv-tag{font-size:11px;color:#315be8;background:#eaf0ff;border-radius:999px;padding:1px 8px;line-height:1.7}
.conv-auto-tag{display:inline-block;font-style:normal;font-size:10px;color:#8a94a6;background:#eef1f6;border-radius:999px;padding:0 6px;margin-left:6px;vertical-align:middle}
.conversation-card-tools button[data-pin-conversation].active{color:#2f5cf0}
.conversation-card-row{display:flex;align-items:flex-start;gap:4px}.conversation-card-row .conversation-open{flex:1;min-width:0}.conversation-title.editable{cursor:text}.conversation-title.editable:hover{color:#315be8;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}.conversation-more{width:27px;height:27px;flex:0 0 27px;border:0;border-radius:7px;background:transparent;color:#7d899c;font-size:20px;line-height:1;cursor:pointer}.conversation-more:hover,.conversation-more[aria-expanded="true"]{background:#eaf0ff;color:#315be8}.conversation-card-menu{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:7px 0 1px 33px;padding:7px;border:1px solid #e1e6f1;border-radius:9px;background:#fff;box-shadow:0 8px 18px rgba(39,55,96,.08)}.conversation-card-menu button{border:0;border-radius:6px;background:#f6f8fc;color:#66758d;padding:5px 7px;font-size:12px;text-align:left;cursor:pointer}.conversation-card-menu button:hover,.conversation-card-menu button.active{background:#eaf0ff;color:#315be8}.conversation-card-menu button.danger{color:#d4545b;background:#fff5f5}.conversation-card-menu button.danger:hover{background:#ffebeb}
.is-hidden{display:none!important}
@media(max-width:1280px){.ai-brain-flow{min-width:340px}.ai-brain-flow article{width:100px}.agent-chat-layout{grid-template-columns:210px minmax(380px,1fr)}.agent-plaza-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ai-brain-hero{align-items:flex-start;flex-direction:column}.ai-brain-flow{min-width:0;width:100%;justify-content:flex-start}.agent-plaza-head,.agent-plaza-toolbar{align-items:flex-start;flex-direction:column}.agent-plaza-grid{grid-template-columns:1fr}.agent-chat-layout{grid-template-columns:1fr}.agent-chat-sidebar{border-right:0;border-bottom:1px solid #e8ecf4}.agent-chat-sidebar .v160-card-list{max-height:230px}.agent-builder-config{grid-template-columns:1fr}.agent-builder-steps{grid-template-columns:repeat(4,1fr)}.ai-learning-metrics{grid-template-columns:repeat(2,1fr)}.agent-admin-form{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.ai-brain-hero{padding:22px 18px}.ai-brain-flow{display:grid;grid-template-columns:1fr}.ai-brain-flow>i{display:none}.ai-brain-flow article{width:auto;min-height:0}.agent-plaza-grid{padding:14px}.assistant-chat-header{align-items:stretch;flex-direction:column}.assistant-chat-controls{grid-template-columns:1fr}.agent-builder-steps{grid-template-columns:repeat(2,1fr)}.ai-learning-metrics{grid-template-columns:1fr}.agent-admin-form{grid-template-columns:1fr}}

/* V1.8.0 local UI refresh: bright theme, comfortable type scale and persistent two-level navigation */
.v181-bright-ui{
  --sidebar-primary:205px;
  --sidebar-secondary:240px;
  --sidebar-total:445px;
  --ink:#172033;
  --text:#3f4a5f;
  --muted:#748096;
  --line:#e4e8ef;
  --soft:#f6f8fb;
  --blue:#315be8;
  --shadow:0 10px 30px rgba(35,50,80,.06);
  font-size:14px;
  line-height:1.65;
  background:#f5f7fa;
}
.v181-bright-ui .sidebar{
  width:var(--sidebar-total);
  padding:0;
  display:grid;
  grid-template-columns:var(--sidebar-primary) var(--sidebar-secondary);
  color:#253149;
  background:#fff;
  border-right:1px solid #dfe4eb;
  box-shadow:5px 0 18px rgba(31,45,74,.035);
  transition:width .22s ease,transform .25s ease;
}
.v181-bright-ui .primary-sidebar,.v181-bright-ui .secondary-sidebar{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}
.v181-bright-ui .primary-sidebar{border-right:1px solid #e6e9ef}
.v181-bright-ui .secondary-sidebar{background:#fbfcfe}
.v181-bright-ui .brand{height:82px;padding:0 16px;border-bottom:1px solid #edf0f4;gap:10px}
.v181-bright-ui .brand-mark{width:38px;height:38px;border-radius:11px;font-size:15px;color:#fff;box-shadow:0 7px 18px rgba(49,91,232,.18)}
.v181-bright-ui .brand strong{font-size:14px;color:#18233a;line-height:1.35;white-space:nowrap}
.v181-bright-ui .brand span{font-size:12px;letter-spacing:1.1px;color:#9aa3b2;margin-top:3px}
.v181-bright-ui .primary-nav{display:flex;flex-direction:column;gap:5px;padding:16px 12px;overflow:auto}
.v181-bright-ui .primary-nav-item{min-height:48px;width:100%;border:0;border-radius:10px;background:transparent;color:#59667b;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;padding:7px 10px;text-align:left;transition:.18s}
.v181-bright-ui .primary-nav-item>span{width:30px;height:30px;border-radius:9px;background:#f0f3f8;color:#68758b;display:grid;place-items:center;font-size:13px;font-weight:750}
.v181-bright-ui .primary-nav-item>strong{font-size:14px;line-height:1.25;font-weight:650}
.v181-bright-ui .primary-nav-item:hover{background:#f4f6fa;color:#263550}
.v181-bright-ui .primary-nav-item.active{background:#eef3ff;color:#2450d4;box-shadow:inset 3px 0 #315be8}
.v181-bright-ui .primary-nav-item.active>span{background:#dfe8ff;color:#315be8}
.v181-bright-ui .primary-nav-item.section-hidden{display:none!important}
.v181-bright-ui .secondary-nav-header{height:82px;flex:0 0 auto;border-bottom:1px solid #e7eaf0;padding:0 14px;display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:9px;background:#fff}
.v181-bright-ui .secondary-nav-header>span{width:34px;height:34px;border-radius:10px;background:#eef3ff;color:#315be8;display:grid;place-items:center;font-size:13px;font-weight:800}
.v181-bright-ui .secondary-nav-header small,.v181-bright-ui .secondary-nav-header strong{display:block}
.v181-bright-ui .secondary-nav-header small{font-size:12px;color:#98a2b2;line-height:1.2}
.v181-bright-ui .secondary-nav-header strong{font-size:15px;color:#1d2940;margin-top:4px;line-height:1.25}
.v181-bright-ui .secondary-nav-header button{width:28px;height:28px;border:0;border-radius:7px;background:#f2f4f8;color:#6f7b8f;font-size:17px}
.v181-bright-ui .secondary-nav-list{flex:1;min-height:0;padding:14px 10px 24px;overflow:auto;background:#fbfcfe}
.v181-bright-ui .nav-section{display:none;flex-direction:column;gap:3px}
.v181-bright-ui .nav-section.active{display:flex}
.v181-bright-ui .nav-section.admin-only.visible:not(.active){display:none!important}
.v181-bright-ui .nav-section.admin-only.visible.active{display:flex!important}
.v181-bright-ui .secondary-nav-group-label{padding:13px 11px 6px;color:#9aa4b4;font-size:12px;font-weight:650;letter-spacing:.08em}
.v181-bright-ui .nav-item{height:44px;flex:0 0 auto;border-radius:9px;color:#56647a;gap:10px;padding:0 11px;margin:1px 0;font-size:14px;font-weight:500}
.v181-bright-ui .nav-item:hover{background:#f0f3f8;color:#24334e}
.v181-bright-ui .nav-item.active{background:#eaf0ff;color:#2450d4;box-shadow:none;font-weight:700}
.v181-bright-ui .nav-icon{width:26px;height:26px;border-radius:7px;background:#f0f3f8;color:#718099;display:grid;place-items:center;font-size:12px;font-weight:700}
.v181-bright-ui .nav-item.active .nav-icon{background:#dbe6ff;color:#315be8}
.v181-bright-ui .nav-item>b,.v181-bright-ui .nav-item>i{font-size:12px;background:#edf1f6;color:#738098;padding:2px 7px}
.v181-bright-ui .nav-item>i{background:#dfe8ff;color:#315be8}
.v181-bright-ui .sidebar-bottom{margin-top:auto;padding:0 10px 12px}
.v181-bright-ui .policy-card{border-color:#e0e7f8;background:#f4f7ff;color:#31415f;margin:8px 0;padding:10px}
.v181-bright-ui .policy-card>span{background:#e3f6ef;color:#148760;font-size:13px}
.v181-bright-ui .policy-card strong{font-size:12px}.v181-bright-ui .policy-card small{font-size:12px;color:#7d899b}
.v181-bright-ui .user-card{border-top:1px solid #e9edf2;padding:11px 1px 0;color:#27344b}
.v181-bright-ui .avatar{background:#e6edff;color:#315be8;font-size:12px}
.v181-bright-ui .user-card strong{font-size:12px}.v181-bright-ui .user-card small{font-size:12px;color:#7c889a}
.v181-bright-ui .logout-mini{border-color:#dce2ea;color:#647188;font-size:12px;background:#fff}
.v181-bright-ui .main{margin-left:var(--sidebar-total);background:#f5f7fa;transition:margin-left .22s ease}
.v181-bright-ui .sidebar.secondary-collapsed{width:calc(var(--sidebar-primary) + 42px);grid-template-columns:var(--sidebar-primary) 42px}
.v181-bright-ui .sidebar.secondary-collapsed .secondary-sidebar{visibility:visible;overflow:hidden}
.v181-bright-ui .sidebar.secondary-collapsed .secondary-nav-header{grid-template-columns:1fr;padding:0 7px}
.v181-bright-ui .sidebar.secondary-collapsed .secondary-nav-header>span,.v181-bright-ui .sidebar.secondary-collapsed .secondary-nav-header>div,.v181-bright-ui .sidebar.secondary-collapsed .secondary-nav-list{display:none}
.v181-bright-ui .sidebar.secondary-collapsed .secondary-nav-header button{display:grid;place-items:center;margin:auto}
.v181-bright-ui .sidebar.secondary-collapsed~.main{margin-left:calc(var(--sidebar-primary) + 42px)}
.v181-bright-ui .topbar{height:66px;padding:0 28px;background:rgba(255,255,255,.97);border-bottom:1px solid #e4e8ee}
.v181-bright-ui .breadcrumb{font-size:13px}.v181-bright-ui .breadcrumb strong{font-size:14px;color:#293850}
.v181-bright-ui .online-dot,.v181-bright-ui .help-button{font-size:13px}.v181-bright-ui .help-button{height:36px;padding:0 12px}
.v181-bright-ui .test-mode-banner{min-height:40px;background:#fff9eb;border-bottom-color:#f0dfb6;color:#6f551a;font-size:12px}.v181-bright-ui .test-mode-banner strong{font-size:12px}
.v181-bright-ui .page{max-width:1600px;padding:30px 32px 52px;font-size:14px;line-height:1.65}
.v181-bright-ui .page-heading{align-items:center;margin-bottom:24px}.v181-bright-ui .page-heading h1{font-size:30px;line-height:1.3;letter-spacing:-.4px;margin:5px 0 7px}.v181-bright-ui .page-heading p:not(.eyebrow){font-size:14px;line-height:1.7;color:#6d798d}
.v181-bright-ui .page h2{font-size:20px;line-height:1.4}.v181-bright-ui .page h3{font-size:16px;line-height:1.45}
.v181-bright-ui .page :is(p,li,dt,dd,label,th,td,input,textarea,select){font-size:14px!important}
.v181-bright-ui .page :is(button,a){font-size:14px}
.v181-bright-ui .page :is(small,em,.eyebrow,.version-badge,.policy-chip,.state-chip,.risk-chip,.role-chip,.type-chip){font-size:12px!important}
.v181-bright-ui .page :is(article,section,div)>strong{font-size:14px!important}
.v181-bright-ui .eyebrow{font-size:12px!important;letter-spacing:1.2px}
.v181-bright-ui .primary-button,.v181-bright-ui .outline-button{height:42px;font-size:14px;border-radius:9px}.v181-bright-ui .primary-button.small{height:38px;font-size:13px}.v181-bright-ui .text-button{font-size:13px}
.v181-bright-ui .content-card{border-color:#e2e7ee;border-radius:15px;box-shadow:0 7px 24px rgba(35,50,80,.035)}
.v181-bright-ui .section-head h2{font-size:20px}.v181-bright-ui .section-head span:not(.eyebrow),.v181-bright-ui .section-head p{font-size:13px}
.v181-bright-ui table{font-size:14px}.v181-bright-ui th{padding:13px 15px;color:#68758a}.v181-bright-ui td{padding:14px 15px;color:#445168}
.v181-bright-ui :is(input,textarea,select){min-height:40px}.v181-bright-ui textarea{line-height:1.65}.v181-bright-ui .search-box{height:40px}.v181-bright-ui .search-box input{font-size:14px}
.v181-bright-ui .help-tabs,.v181-bright-ui .admin-tabs{display:none!important}
.v181-bright-ui .command-hero,.v181-bright-ui .home-hero,.v181-bright-ui .ai-brain-hero,.v181-bright-ui .renewal-assistant-hero{
  color:#18243a;
  background:radial-gradient(circle at 84% 5%,rgba(143,164,255,.2),transparent 34%),linear-gradient(130deg,#ffffff,#f0f4ff 58%,#f7f0ff);
  border:1px solid #dfe6f5;
  box-shadow:0 16px 38px rgba(55,75,130,.08);
}
.v181-bright-ui .command-copy h1,.v181-bright-ui .hero-copy h1{font-size:32px;color:#18243a}.v181-bright-ui .command-copy>p:not(.command-date),.v181-bright-ui .hero-copy>p,.v181-bright-ui .command-date{font-size:14px;color:#65748c}
.v181-bright-ui .hero-badge,.v181-bright-ui .ai-brain-kicker{border-color:#ced9f5;background:#edf2ff;color:#315be8;font-size:12px}
.v181-bright-ui .command-principle,.v181-bright-ui .hero-flow,.v181-bright-ui .ai-brain-flow article{border-color:#d9e1f2;background:rgba(255,255,255,.8);color:#25324a;box-shadow:0 8px 22px rgba(45,61,104,.05)}
.v181-bright-ui .command-principle small,.v181-bright-ui .command-principle p,.v181-bright-ui .ai-brain-copy p,.v181-bright-ui .ai-brain-flow article small{color:#6f7c91}
.v181-bright-ui .hero-primary{background:#315be8;color:#fff;box-shadow:0 8px 20px rgba(49,91,232,.18)}.v181-bright-ui .hero-secondary{border-color:#ccd6ed;background:#fff;color:#315be8}
.v181-bright-ui .ai-brain-copy h2{font-size:28px;color:#17233a}.v181-bright-ui .ai-brain-flow article span{background:#e8eeff;color:#315be8}
.v181-bright-ui .metric-card{min-height:112px;padding:18px;border-color:#e2e7ee}.v181-bright-ui .metric-card small{font-size:13px!important}.v181-bright-ui .metric-card strong{font-size:27px!important}.v181-bright-ui .metric-card em{font-size:12px!important}
.v181-bright-ui .v170-section-title h2{font-size:20px}.v181-bright-ui .v170-section-title>span,.v181-bright-ui .v170-section-title>button{font-size:13px}
.v181-bright-ui .v170-stat-grid>article{min-height:112px;padding:17px}.v181-bright-ui .v170-stat-grid>article>span{width:38px;height:38px;font-size:13px}.v181-bright-ui .v170-stat-grid small{font-size:13px!important}.v181-bright-ui .v170-stat-grid strong{font-size:21px!important}.v181-bright-ui .v170-stat-grid em{font-size:12px!important}
.v181-bright-ui .v170-finance-grid strong,.v181-bright-ui .v170-ledger-summary strong,.v181-bright-ui .ai-learning-metrics strong,.v181-bright-ui .usage-summary strong,.v181-bright-ui .admin-metrics strong{font-size:22px!important}
.v181-bright-ui .agent-card-head strong{font-size:16px!important}.v181-bright-ui .agent-plaza-head h2{font-size:22px}.v181-bright-ui .agent-card>p{font-size:14px}.v181-bright-ui .agent-tags span,.v181-bright-ui .agent-card-meta{font-size:12px}
.v181-bright-ui .config-card strong,.v181-bright-ui .permission-role-card header strong,.v181-bright-ui .version-item strong{font-size:14px!important}.v181-bright-ui .config-card small,.v181-bright-ui .permission-role-card small,.v181-bright-ui .version-item small{font-size:12px!important}
.v181-bright-ui .login-screen{background:#f5f7fb}.v181-bright-ui .login-visual{color:#1b2942;background:radial-gradient(circle at 12% 12%,rgba(116,145,255,.22),transparent 34%),linear-gradient(145deg,#ffffff,#eef3ff 58%,#f7f1ff)}
.v181-bright-ui .login-message>p{font-size:12px;color:#62749c}.v181-bright-ui .login-message h1{font-size:34px}.v181-bright-ui .login-points strong{font-size:14px}.v181-bright-ui .login-points small{font-size:12px;color:#6e7d96}.v181-bright-ui .login-visual>small{font-size:12px;color:#7d8ba3}
.v181-bright-ui .login-card h2{font-size:28px}.v181-bright-ui .login-subtitle,.v181-bright-ui .login-card>label,.v181-bright-ui .login-input input,.v181-bright-ui .login-submit{font-size:14px}.v181-bright-ui .login-help,.v181-bright-ui .login-error{font-size:12px}
@media(max-width:1450px){.v181-bright-ui{--sidebar-primary:185px;--sidebar-secondary:220px;--sidebar-total:405px}.v181-bright-ui .brand{padding:0 12px}.v181-bright-ui .brand strong{font-size:13px}.v181-bright-ui .primary-nav-item{padding:7px 8px}.v181-bright-ui .page{padding-left:24px;padding-right:24px}}
@media(max-width:1120px){.v181-bright-ui .sidebar{width:min(445px,92vw);grid-template-columns:minmax(180px,205px) minmax(210px,240px);transform:translateX(-100%);box-shadow:12px 0 32px rgba(25,38,66,.16)}.v181-bright-ui .sidebar.open{transform:none}.v181-bright-ui .main,.v181-bright-ui .sidebar.secondary-collapsed~.main{margin-left:0}.v181-bright-ui .mobile-menu{display:block}.v181-bright-ui .sidebar.secondary-collapsed{width:min(445px,92vw);grid-template-columns:minmax(180px,205px) minmax(210px,240px)}.v181-bright-ui .sidebar.secondary-collapsed .secondary-sidebar{visibility:visible;overflow:visible}.v181-bright-ui #secondaryNavCollapse{display:none}}
@media(max-width:720px){.v181-bright-ui .page{padding:22px 15px 38px}.v181-bright-ui .page-heading h1{font-size:25px}.v181-bright-ui .command-copy h1,.v181-bright-ui .hero-copy h1{font-size:27px}.v181-bright-ui .metric-grid{grid-template-columns:1fr}.v181-bright-ui .test-mode-banner{font-size:12px}.v181-bright-ui .secondary-nav-header strong{font-size:14px}}
@media(max-width:520px){.v181-bright-ui .sidebar{width:94vw;grid-template-columns:45% 55%}.v181-bright-ui .brand>div:last-child{display:none}.v181-bright-ui .primary-nav-item{grid-template-columns:30px 1fr}.v181-bright-ui .primary-nav-item>strong{font-size:13px}.v181-bright-ui .policy-card{display:none}.v181-bright-ui .v170-stat-grid.four,.v181-bright-ui .v170-stat-grid.five{grid-template-columns:1fr}}

/* V1.8.0 AI center landing workspace */
.v181-bright-ui .ai-center-page-heading{align-items:flex-end}.ai-center-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.ai-center-head-actions .outline-button{background:#fff}.ai-command-stage{position:relative;isolation:isolate;overflow:hidden;margin-bottom:18px;border:1px solid #dfe4f3;border-radius:18px;padding:22px 24px;background:#fff;box-shadow:0 6px 18px rgba(56,72,128,.06)}.ai-command-orb{position:absolute;z-index:-1;border-radius:50%;filter:blur(2px);opacity:.65}.ai-command-orb.one{width:260px;height:260px;right:-100px;top:-135px;background:linear-gradient(145deg,rgba(90,119,255,.17),rgba(131,87,234,.08))}.ai-command-orb.two{width:190px;height:190px;left:-85px;bottom:-130px;background:rgba(102,201,242,.13)}.ai-command-intro{display:flex;align-items:center;justify-content:flex-start;gap:14px;text-align:left;margin:0 auto 16px}.ai-command-logo{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(145deg,#6d85ff,#9c65eb);font-size:19px;box-shadow:0 12px 26px rgba(102,103,224,.22)}.ai-command-intro h2{margin:0;color:#172239;font-size:20px!important}.ai-command-intro p{margin:4px 0 0;color:#79859a!important}.ai-command-composer{width:min(980px,100%);margin:0 auto;border:1px solid #d8ddec;border-radius:19px;background:#fff;box-shadow:0 20px 45px rgba(64,68,132,.13);transition:border-color .2s,box-shadow .2s}.ai-command-composer:focus-within{border-color:#8e7bec;box-shadow:0 22px 52px rgba(98,78,203,.16),0 0 0 3px rgba(116,98,226,.06)}.ai-command-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:12px 14px 0}.ai-command-context label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;border:1px solid #edf0f5;border-radius:10px;background:#fafbfe;padding:0 9px;color:#7d899c}.ai-command-context label>span{font-size:12px}.ai-command-context select{min-width:0;height:34px!important;min-height:34px!important;border:0;background:transparent;color:#34425a;font-weight:700;outline:0;padding:0 2px}.ai-command-composer>textarea{display:block;width:100%;height:96px;min-height:96px;border:0;outline:0;resize:vertical;padding:17px 19px 9px;background:transparent;color:#29364e;line-height:1.7;font-size:15px!important}.ai-command-composer>textarea::placeholder{color:#a3abba}.ai-command-toolbar{min-height:58px;display:flex;align-items:center;gap:12px;border-top:1px solid #f0f1f5;padding:9px 12px}.ai-command-tools{display:flex;align-items:center;gap:6px;min-width:0}.ai-tool-button{height:38px;border:0;border-radius:9px;background:transparent;color:#37445a;display:flex;align-items:center;gap:6px;padding:0 10px;cursor:pointer;white-space:nowrap}.ai-tool-button:hover,.ai-tool-button.selected{background:#f1efff;color:#6549cf}.ai-tool-button.icon-only{width:38px;padding:0;justify-content:center;border-right:1px solid #e8ebf1;border-radius:9px;font-size:23px;line-height:1}.ai-tool-button span{font-size:16px}.ai-tool-button strong{font-size:14px!important}.ai-tool-button em{max-width:120px;overflow:hidden;text-overflow:ellipsis;color:#8871df;font-size:12px!important;font-style:normal}.ai-send-button{margin-left:auto;width:42px;height:42px;border:0;border-radius:12px;background:linear-gradient(145deg,#6d77e8,#8d6bdd);color:#fff;display:grid;place-items:center;font-size:17px;cursor:pointer;box-shadow:0 8px 18px rgba(101,91,205,.25)}.ai-send-button:hover{transform:translateY(-1px);box-shadow:0 11px 22px rgba(101,91,205,.3)}.ai-send-button:disabled{opacity:.5;cursor:wait}.ai-upload-status{margin-left:auto;color:#77839a;font-size:12px}.ai-upload-status:not(:empty)+.ai-send-button{margin-left:0}.ai-attach-control{position:relative}.ai-attach-menu{position:absolute;z-index:15;left:0;top:45px;width:250px;border:1px solid #e2e5ee;border-radius:13px;background:#fff;padding:7px;box-shadow:0 18px 42px rgba(39,48,84,.16)}.ai-attach-menu>button{width:100%;border:0;border-radius:9px;background:#fff;display:grid;grid-template-columns:34px 1fr;align-items:center;gap:9px;padding:10px;text-align:left;cursor:pointer}.ai-attach-menu>button:hover{background:#f6f7fc}.ai-attach-menu>button>span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eff3ff;color:#4165d5}.ai-attach-menu strong,.ai-attach-menu small{display:block}.ai-attach-menu strong{font-size:14px!important;color:#2c3950}.ai-attach-menu small{font-size:12px!important;color:#8a94a6;margin-top:2px}.ai-attachment-tray{display:none;gap:7px;flex-wrap:wrap;padding:0 14px 10px}.ai-attachment-tray.has-items{display:flex}.ai-attachment-chip{max-width:300px;display:grid;grid-template-columns:26px minmax(0,1fr) auto 22px;align-items:center;gap:6px;border:1px solid #e3e7ef;border-radius:10px;background:#f9fafc;padding:6px 7px}.ai-attachment-chip>i{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:#eaf0ff;color:#315be8;font-size:12px;font-style:normal}.ai-attachment-chip.asset>i{background:#f1ebff;color:#7354d9}.ai-attachment-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px!important;color:#35425a}.ai-attachment-chip small{white-space:nowrap;color:#9099a8}.ai-attachment-chip button{border:0;background:transparent;color:#9ba3b0;padding:0;cursor:pointer}.ai-attachment-chip button:hover{color:#e45e5e}.ai-prompt-suggestions{width:min(900px,100%);margin:18px auto 0;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.ai-prompt-suggestions button{border:1px solid #e5e7ee;border-radius:999px;background:rgba(255,255,255,.78);color:#778297;padding:8px 13px;cursor:pointer}.ai-prompt-suggestions button:hover{border-color:#bdb5ee;color:#624bd0;background:#fff}.ai-drop-overlay{position:absolute;z-index:20;inset:12px;border:2px dashed #7d6cdd;border-radius:18px;background:rgba(246,244,255,.96);display:none;place-content:center;justify-items:center;text-align:center;color:#5e48c6;pointer-events:none}.ai-drop-overlay>span{width:56px;height:56px;border-radius:16px;background:#ebe7ff;display:grid;place-items:center;font-size:24px}.ai-drop-overlay>strong{font-size:18px!important;margin-top:12px}.ai-drop-overlay>small{color:#7f769f;margin-top:4px}.ai-command-stage.is-dragging .ai-drop-overlay{display:grid}
.ai-skill-picker{margin:-5px 0 22px;overflow:hidden;border-color:#dcdff0!important}.ai-skill-picker>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid #eceef5;background:linear-gradient(120deg,#fbfaff,#fff)}.ai-skill-picker>header h2{margin:3px 0}.ai-skill-picker>header span{color:#7e899c}.icon-button{width:36px;height:36px;border:1px solid #e1e5ee;border-radius:9px;background:#fff;color:#748095;cursor:pointer}.ai-skill-picker-body{display:grid;grid-template-columns:170px 1fr;min-height:260px}.ai-skill-tabs{border-right:1px solid #eceff5;padding:14px;display:flex;flex-direction:column;gap:4px;background:#fbfcfe}.ai-skill-tabs button{border:0;border-radius:9px;background:transparent;color:#6f7b90;padding:10px 12px;text-align:left;cursor:pointer}.ai-skill-tabs button.active{background:#eeeaff;color:#6548d3;font-weight:700}.ai-skill-picker-body>div{padding:15px 18px 20px}.ai-skill-search{width:100%;margin-bottom:12px}.ai-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ai-skill-card{position:relative;min-height:104px;border:1px solid #e3e7ef;border-radius:13px;background:#fff;display:grid;grid-template-columns:38px 1fr;gap:10px;padding:14px;text-align:left;cursor:pointer}.ai-skill-card:hover,.ai-skill-card.selected{border-color:#a99aeb;background:#fbfaff;box-shadow:0 8px 20px rgba(91,75,171,.08)}.ai-skill-card>span{width:38px;height:38px;border-radius:10px;background:#f0ecff;color:#704fdb;display:grid;place-items:center;font-weight:800}.ai-skill-card strong,.ai-skill-card p,.ai-skill-card small{display:block;margin:0}.ai-skill-card strong{color:#2d3950;font-size:15px!important}.ai-skill-card p{color:#778397!important;line-height:1.55;margin-top:4px!important}.ai-skill-card small{color:#9aa2b0;margin-top:6px}.ai-skill-card>em{position:absolute;right:10px;top:10px;border-radius:999px;background:#f0edff;color:#6f54d1;padding:3px 6px;font-size:11px!important;font-style:normal}
.agent-plaza-head-actions{display:flex;align-items:center;gap:9px}.agent-plaza-head-actions .search-box{width:270px}.v181-bright-ui #page-assistants .agent-plaza{background:rgba(255,255,255,.92)}.v181-bright-ui #page-assistants .agent-plaza-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v181-bright-ui #page-assistants .agent-card{min-height:225px;padding:16px;gap:11px}.v181-bright-ui #page-assistants .agent-card.selected{border-color:#7e8ef0;box-shadow:0 12px 28px rgba(65,82,175,.12)}.v181-bright-ui #page-assistants .agent-card.planned{background:linear-gradient(145deg,#fff,#fafbfe);border-style:dashed}.v181-bright-ui #page-assistants .agent-card.planned:hover{transform:none;box-shadow:none;border-color:#d5dbe7}.agent-card-head>div{min-width:0}.agent-card-head .agent-state{position:relative;z-index:2;margin-left:auto;border-radius:999px;padding:4px 7px;white-space:nowrap;font-size:11px!important}.agent-state.ready{background:#e9f8f2;color:#168761}.agent-state.planned{background:#f1f3f6;color:#8a94a4}.agent-card.planned .agent-card-actions button{background:#f1f3f6;color:#a2a9b5;cursor:not-allowed}.agent-card-actions button:disabled{opacity:1}.assistant-chat-workspace{margin-top:22px}.assistant-chat-header>.outline-button{flex:0 0 auto}.ai-followup-composer textarea{min-height:58px!important}.ai-legacy-workflows{border:1px solid #e2e7ee;border-radius:14px;background:#fff;padding:0 20px 20px}.ai-legacy-workflows>summary{min-height:66px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.ai-legacy-workflows>summary::-webkit-details-marker{display:none}.ai-legacy-workflows>summary span,.ai-legacy-workflows>summary b,.ai-legacy-workflows>summary small{display:block}.ai-legacy-workflows>summary b{color:#34425a}.ai-legacy-workflows>summary small{color:#8a95a7;margin-top:2px}.ai-legacy-workflows>summary em{color:#315be8;font-style:normal}.ai-legacy-workflows[open]>summary em{font-size:0}.ai-legacy-workflows[open]>summary em::after{content:'收起';font-size:14px}
.ai-asset-modal{width:min(920px,100%)}.ai-asset-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}.ai-asset-toolbar .search-box{flex:1;max-width:440px}.ai-asset-tabs{display:flex;gap:5px}.ai-asset-tabs button{border:0;border-radius:8px;background:#f4f6f9;color:#738096;padding:8px 11px;cursor:pointer}.ai-asset-tabs button.active{background:#eaf0ff;color:#315be8;font-weight:700}.ai-asset-list{max-height:420px;overflow:auto;border:1px solid #e5e9f1;border-radius:12px;padding:8px;background:#fafbfe}.ai-asset-row{width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid transparent;border-radius:10px;background:transparent;padding:10px;text-align:left;cursor:pointer}.ai-asset-row:hover{background:#fff;border-color:#e3e7ef}.ai-asset-row.selected{background:#f3f1ff;border-color:#c5baf0}.ai-asset-row>span{width:36px;height:36px;border-radius:9px;background:#eaf0ff;color:#315be8;display:grid;place-items:center;font-weight:800}.ai-asset-row strong,.ai-asset-row small{display:block}.ai-asset-row strong{color:#344158;font-size:14px!important}.ai-asset-row small{color:#8994a6;margin-top:3px}.ai-asset-row em{color:#6d54d2;font-style:normal}.ai-asset-selection-count{margin-right:auto;color:#6c7890}
.assistant-chat-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.assistant-workspace-toggle{border-color:#cad5f4!important;background:#eef3ff!important;color:#315be8!important;font-weight:700}.assistant-chat-workspace.is-collapsed{box-shadow:0 8px 22px rgba(37,64,130,.06)}.assistant-chat-workspace.is-collapsed .assistant-chat-header{border-bottom:0}.assistant-chat-workspace.is-collapsed #assistantChatWorkspaceContent{display:none}.assistant-chat-workspace.is-collapsed .assistant-chat-header>div:first-child>span{max-width:720px}.assistant-chat-workspace:not(.is-collapsed) .assistant-workspace-toggle{background:#fff!important;color:#64738c!important;border-color:#dfe4ed!important}
.agent-quick-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.agent-quick-switch .agent-pill{border:1px solid #d8e0f0;background:#fff;color:#3a4a63;border-radius:999px;padding:7px 15px;font-size:13px;line-height:1.2;cursor:pointer;transition:border-color .15s,background .15s,color .15s;white-space:nowrap}.agent-quick-switch .agent-pill:hover{border-color:#9eb2f8;color:#315be8;background:#f7f9ff}.agent-quick-switch .agent-pill.active{background:#315be8;border-color:#315be8;color:#fff;font-weight:700}.agent-quick-switch .agent-pill.more{border-style:dashed;color:#7e8aa0}
@media(max-width:1480px){.v181-bright-ui #page-assistants .agent-plaza-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){.ai-center-page-heading{align-items:flex-start!important;flex-direction:column}.ai-center-head-actions{justify-content:flex-start}.ai-command-stage{padding:34px 26px 24px}.ai-command-context{grid-template-columns:1fr}.ai-skill-picker-body{grid-template-columns:145px 1fr}.v181-bright-ui #page-assistants .agent-plaza-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-plaza-head-actions{width:100%}.agent-plaza-head-actions .search-box{flex:1;width:auto}}
@media(max-width:760px){.ai-command-stage{padding:28px 14px 20px;border-radius:18px}.ai-command-intro{align-items:flex-start}.ai-command-logo{width:40px;height:40px;flex:0 0 auto}.ai-command-intro h2{font-size:22px!important}.ai-command-context label{grid-template-columns:92px 1fr}.ai-command-composer>textarea{height:115px;min-height:115px;padding:14px}.ai-command-toolbar{align-items:flex-end}.ai-command-tools{flex-wrap:wrap}.ai-tool-button em{display:none}.ai-upload-status{display:none}.ai-skill-picker-body{grid-template-columns:1fr}.ai-skill-tabs{border-right:0;border-bottom:1px solid #eceff5;flex-direction:row;overflow:auto}.ai-skill-tabs button{white-space:nowrap}.ai-skill-grid{grid-template-columns:1fr}.agent-plaza-head-actions,.ai-asset-toolbar{align-items:stretch;flex-direction:column}.agent-plaza-head-actions .search-box,.ai-asset-toolbar .search-box{width:100%;max-width:none}.v181-bright-ui #page-assistants .agent-plaza-grid{grid-template-columns:1fr}.ai-asset-tabs{overflow:auto}.ai-center-head-actions .policy-chip{width:100%}.assistant-chat-header-actions{width:100%;justify-content:flex-start}.assistant-chat-header-actions .outline-button{flex:1}}
@media(max-width:480px){.ai-command-intro{display:block;text-align:center}.ai-command-logo{margin:0 auto 10px}.ai-command-context label{grid-template-columns:1fr}.ai-command-tools{gap:2px}.ai-tool-button{padding:0 7px}.ai-tool-button.icon-only{width:34px}.ai-send-button{width:38px;height:38px}.ai-attachment-chip{max-width:100%;width:100%}.ai-prompt-suggestions{justify-content:flex-start;overflow:auto;flex-wrap:nowrap}.ai-prompt-suggestions button{white-space:nowrap}.ai-center-head-actions .outline-button{flex:1}.ai-asset-tabs button{white-space:nowrap}}

/* V1.8.0 二级智能体后台：员工端只选择智能体与客户，业务场景由后台统一配置。 */
.ai-command-context{grid-template-columns:repeat(2,minmax(0,1fr))}
.agent-lifecycle-guide{display:flex;align-items:stretch;gap:10px;margin:0 0 16px;padding:12px;border:1px solid #e3e7f1;border-radius:12px;background:linear-gradient(120deg,#f8faff,#fbf9ff)}
.agent-lifecycle-guide>span{flex:1;display:grid;gap:3px;border:1px solid #e4e8f2;border-radius:10px;background:#fff;padding:10px 12px}
.agent-lifecycle-guide b{color:#344158;font-size:14px}.agent-lifecycle-guide small{color:#8390a5;font-size:12px}.agent-lifecycle-guide>i{align-self:center;color:#9aa6bb;font-style:normal}
.config-card>em.testing,.agent-state.testing{background:#fff3df;color:#a4670e}.config-card>em.planned{background:#f1f3f7;color:#7f8b9d}
.config-card button[data-next-status="online"]{border-color:#bce6d6;background:#ecfaf5;color:#11805b;font-weight:700}
.config-card button[data-next-status="published"]{border-color:#d9d1f7;background:#f5f2ff;color:#684dc5;font-weight:700}
.ai-skill-picker-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.ai-skill-picker-actions .primary-button{height:36px}.skill-config-form{grid-template-columns:1.2fr 1.2fr .8fr .55fr}.skill-config-form .wide{grid-column:1/-1}.skill-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px}.config-card-icon.skill{background:#f0ecff;color:#6e50d3}.config-card button.danger{border-color:#f2d0d3;color:#c1434d}.config-card button.danger:hover{background:#fff5f6}.config-card.skill>div:last-child{flex-wrap:wrap}
@media(max-width:980px){.skill-config-form{grid-template-columns:1fr 1fr}.skill-config-form .wide,.skill-form-actions{grid-column:1/-1}}
@media(max-width:640px){.ai-skill-picker>header{align-items:stretch;flex-direction:column}.ai-skill-picker-actions{justify-content:space-between}.skill-config-form{grid-template-columns:1fr}.skill-config-form .wide,.skill-form-actions{grid-column:auto}.skill-form-actions{justify-content:stretch}.skill-form-actions button{flex:1}}
.agent-admin-form textarea#assistantBusinessScenarios{min-height:130px}.agent-admin-form label>small{line-height:1.55}
@media(max-width:1180px){.ai-command-context{grid-template-columns:1fr}}
@media(max-width:760px){.agent-lifecycle-guide{display:grid;grid-template-columns:1fr}.agent-lifecycle-guide>i{display:none}}

/* Knowledge-file ownership, online editing and per-person access. */
.knowledge-name .knowledge-owner{margin-top:4px;color:#748198}.knowledge-name .knowledge-owner b{color:#42516a;font-weight:700}.row-actions{white-space:normal;min-width:205px}.row-actions button{margin-bottom:4px}.row-actions button.primary-inline{border-color:#cbd7fb;background:#edf2ff;color:#315be8;font-weight:700}.row-actions button.permission-inline{border-color:#dfd7fa;background:#f6f3ff;color:#6a4fc9}.document-permission-modal{width:min(940px,100%)}.document-owner-card{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:center;border:1px solid #dfe5f2;border-radius:11px;background:#f7f9fe;padding:12px 14px}.document-owner-card>span{grid-row:1/3;width:46px;height:46px;border-radius:11px;background:#eaf0ff;color:#315be8;display:grid;place-items:center;font-size:12px;font-weight:800}.document-owner-card strong{color:#2f3d56}.document-owner-card small{color:#8591a4;margin-top:2px}.document-permission-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 10px}.document-permission-toolbar .search-box{flex:1;max-width:460px}.document-permission-toolbar>div{display:flex;gap:7px}.document-permission-toolbar button{height:34px;border:1px solid #dfe4ed;border-radius:8px;background:#fff;color:#53627b;padding:0 11px;cursor:pointer}.document-permission-table{max-height:400px;overflow:auto;border:1px solid #e3e7ef;border-radius:11px}.document-permission-table table{width:100%;border-collapse:collapse}.document-permission-table th{position:sticky;z-index:1;top:0;background:#f6f8fc;color:#758198;font-size:12px;text-align:left;padding:10px 12px;border-bottom:1px solid #e3e7ef}.document-permission-table th:nth-child(n+3),.document-permission-table td:nth-child(n+3){width:72px;text-align:center}.document-permission-table td{padding:10px 12px;border-bottom:1px solid #edf0f4;color:#4d5c74}.document-permission-table tr:last-child td{border-bottom:0}.document-permission-table strong,.document-permission-table small{display:block}.document-permission-table strong{font-size:14px}.document-permission-table small{margin-top:2px;color:#909aac}.document-permission-table input[type="checkbox"]{width:17px;height:17px;accent-color:#315be8}.document-permission-empty{text-align:center!important;color:#929caf!important;padding:30px!important}
@media(max-width:720px){.document-permission-toolbar{align-items:stretch;flex-direction:column}.document-permission-toolbar .search-box{max-width:none}.document-permission-toolbar>div{overflow:auto}.document-permission-table{max-height:52vh}.document-permission-table th,.document-permission-table td{padding:9px 7px}.document-permission-table th:nth-child(2),.document-permission-table td:nth-child(2){display:none}}
/* ===== 资料库：导航统一放入二级栏，内容区域不再保留重复侧栏。 ===== */
.library-layout{display:block}
.library-content{min-width:0}
.library-pane{display:none}
.library-pane.active{display:block;animation:libFadeIn .18s ease}
@keyframes libFadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.library-pane .page-heading:first-child{margin-top:2px}

/* 模型降级提示：AI 调用失败时明确告知员工当前为知识库降级回答 */
.assistant-degraded-note{border:1px solid #f5dfca;background:#fff4e9;color:#805a39;border-radius:8px;padding:8px 10px;margin:7px 0;font-size:12px;line-height:1.6}.assistant-degraded-note strong{display:block;margin-bottom:2px}

/* Unified AI chat: landing + conversation merged into a single left-right layout */
.assistant-chat-workspace{position:relative;border-radius:18px;background:#fff}
.assistant-chat-workspace .agent-chat-main{position:relative;min-height:0;display:flex;flex-direction:column}
.assistant-chat-workspace 
.assistant-chat-workspace .ai-command-composer{width:auto;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;border-top:1px solid #e2e6ee;background:#fff}
.assistant-chat-workspace .ai-command-composer>textarea{min-height:72px;height:auto;padding:14px 16px}
.assistant-chat-workspace .ai-command-context{padding:10px 14px 0}
.assistant-chat-workspace .ai-prompt-suggestions{width:auto;margin:16px 0 0;justify-content:center}
.assistant-chat-workspace .assistant-chat-welcome{height:auto;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 24px;gap:16px}
.assistant-chat-workspace .assistant-chat-welcome .ai-command-intro{margin:0 auto;max-width:680px}
.assistant-chat-workspace .assistant-chat-welcome .ai-command-intro h2{font-size:22px!important}
.assistant-chat-workspace .ai-drop-overlay{position:absolute;inset:0;z-index:20;border-radius:18px}
.assistant-chat-workspace.is-dragging .ai-drop-overlay{display:grid}
@media(max-width:900px){.assistant-chat-workspace .agent-chat-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr}.assistant-chat-workspace .agent-chat-sidebar{border-right:0;border-bottom:1px solid #e8ecf4;max-height:220px;overflow:auto}}
.assistant-chat-empty-hint{display:block;color:#8a95a7;font-size:12px;margin-top:4px}
.learning-pool-dashboard{margin-top:18px;border-top:1px dashed #e3e8f2;padding-top:18px}
.learning-pool-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.shadow-learning-panel{margin:14px 0 16px;padding:16px}.shadow-learning-panel .section-head{align-items:flex-start;gap:14px}.shadow-learning-state{flex:0 0 auto;border-radius:999px;padding:5px 9px;background:#edf2ff;color:#315be8;font-size:12px;font-weight:700}.shadow-learning-policy{margin:12px 0;padding:10px 12px;border:1px solid #dbe5fa;border-radius:10px;background:#f6f9ff;color:#5e6f91;font-size:13px;line-height:1.6}.shadow-learning-track-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.shadow-learning-track-list>span{min-width:118px;flex:1;border:1px solid #e4e9f2;border-radius:10px;padding:9px 11px;background:#fbfcff}.shadow-learning-track-list small,.shadow-learning-track-list strong{display:block}.shadow-learning-track-list small{font-size:12px;color:#7f8b9e}.shadow-learning-track-list strong{margin-top:3px;font-size:18px;color:#263d78}.shadow-learning-candidate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shadow-learning-candidate{border:1px solid #e4e9f2;border-left:3px solid #9db4ed;border-radius:11px;padding:11px 12px;background:#fff}.shadow-learning-candidate header{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.shadow-learning-candidate header strong{font-size:14px}.shadow-learning-candidate header em{font-size:12px;color:#697890;font-style:normal}.shadow-evidence{border-radius:999px;padding:3px 7px;background:#f0f3f8;color:#65738b;font-size:11px;font-weight:700}.shadow-evidence.direct{background:#fff0e5;color:#c76a2b}.shadow-evidence.recorded{background:#e7f8f2;color:#178462}.shadow-learning-candidate p{margin:8px 0 5px;color:#4e5d74;font-size:13px;line-height:1.55}.shadow-learning-candidate small{color:#8a95a7;font-size:12px;line-height:1.5}
.learning-pool-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}
.learning-pool-cols .content-card{padding:16px}
.pool-dist{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.pool-dist-row{flex:1;min-width:90px;background:#f6f8fc;border:1px solid #e8ecf4;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.pool-dist-row span{font-size:12px;color:#8a95a7}
.pool-dist-row strong{font-size:20px}
.pool-agent-list{display:flex;flex-direction:column;gap:6px}
.pool-agent-row{display:flex;align-items:center;gap:8px;background:#f6f8fc;border:1px solid #e8ecf4;border-radius:10px;padding:8px 12px}
.pool-agent-row span{flex:1;font-weight:600}
.pool-agent-row small{color:#8a95a7}
.pool-agent-row strong{font-size:16px;color:#2b6de8}
.pool-cluster-list,.pool-report-list{display:flex;flex-direction:column;gap:10px}
.pool-cluster-item{background:#f6f8fc;border:1px solid #e8ecf4;border-radius:12px;padding:12px 14px}
.pool-cluster-item header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.pool-cluster-item p{margin:0 0 4px;color:#33405a;font-size:14px}
.pool-cluster-item small{color:#8a95a7}
.risk-badge{font-size:12px;padding:2px 8px;border-radius:999px;font-weight:600}
.risk-badge.high{background:#fde8e8;color:#c0392b}
.risk-badge.medium{background:#fff4e0;color:#b9770e}
.risk-badge.low{background:#e7f6ec;color:#1e8e4a}
.pool-report-item{background:#f6f8fc;border:1px solid #e8ecf4;border-radius:12px;padding:12px 14px}
.pool-report-item header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.pool-report-item p{margin:0;color:#33405a;font-size:13px}
@media(max-width:900px){.learning-pool-cols,.shadow-learning-candidate-list{grid-template-columns:1fr}}
.assistant-chat-result footer button .src-title{font-weight:600;flex:1}
.assistant-chat-result footer button{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;text-align:left}

/* P5: knowledge conflict review panel */
.learning-conflict-panel{margin-top:18px}
.conflict-count{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:10px;background:#fde8e8;color:#c0392b;font-weight:800;font-size:15px}
.conflict-list{display:grid;gap:12px;margin-top:14px}
.conflict-item{border:1px solid #f0d6d6;border-left:4px solid #c0392b;border-radius:12px;padding:13px 15px;background:#fffafa}
.conflict-item.resolved{border-color:#e3e8f0;border-left-color:#9aa6b8;background:#fafbfd;opacity:.85}
.conflict-item header{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.conflict-item header strong{font-size:14px;color:#33405a}
.conflict-item header small{color:#8a95a7;font-size:12px}
.conflict-item p{margin:0 0 6px;color:#475066;font-size:13px;line-height:1.5}
.conflict-item>small{display:block;color:#8a95a7;font-size:12px;margin-bottom:8px}
.conflict-actions{display:flex;gap:10px;flex-wrap:wrap}
.conflict-actions button{border:1px solid #d7deea;background:#fff;color:#33405a;border-radius:9px;padding:8px 14px;font-size:13px;font-weight:600;cursor:pointer}
.conflict-actions button.danger{border-color:#f0c4c4;background:#fff5f5;color:#c0392b}

/* P5: agent version rollback panel */
.learning-rollback-panel{margin-top:18px}
.rollback-agent-list{display:grid;gap:14px;margin-top:14px}
.rollback-agent{border:1px solid #e8ecf4;border-radius:12px;padding:12px 14px;background:#fbfcfe}
.rollback-agent header{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.rollback-agent header strong{font-size:14px;color:#33405a}
.rollback-agent header small{color:#8a95a7;font-size:12px}
.rollback-version-list{display:grid;gap:8px}
.rollback-version{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #eef1f7;border-radius:9px;padding:8px 11px}
.rollback-version span{font-weight:700;color:#33405a;font-size:13px}
.rollback-version small{color:#8a95a7;font-size:12px;flex:1;min-width:120px}
.rollback-version button{border:1px solid #d7deea;background:#fff;color:#315be8;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600;cursor:pointer}
.rollback-deprecated{margin-top:14px;border:1px solid #e8ecf4;border-radius:10px;padding:8px 12px;background:#fbfcfe}
.rollback-deprecated summary{cursor:pointer;font-weight:600;color:#475066;font-size:13px}
.rollback-deprecated-list{display:grid;gap:8px;margin-top:10px}
.rollback-deprecated-item{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #f0d6d6;border-radius:9px;padding:8px 11px}
.rollback-deprecated-item strong{font-size:13px;color:#33405a;flex:1;min-width:140px}
.rollback-deprecated-item small{color:#8a95a7;font-size:12px}
.rollback-deprecated-item button{border:1px solid #d7deea;background:#fff;color:#1e8e4a;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600;cursor:pointer}

/* V1.8.0 AI 聊天自然对话模式：后台分析、前台自然回答 */
.ai-answer{font-size:14px;line-height:1.75;color:#2b3852;word-break:break-word}
.ai-answer h2,.ai-answer h3,.ai-answer h4{margin:12px 0 6px;color:#1f2c43;line-height:1.4}
.ai-answer h2{font-size:16px}.ai-answer h3{font-size:15px}.ai-answer h4{font-size:14px}
.ai-answer p{margin:0 0 10px}
.ai-answer p:last-child{margin-bottom:0}
.ai-answer ul,.ai-answer ol{margin:0 0 10px;padding-left:22px}
.ai-answer li{margin:3px 0}
.ai-answer code{background:#eef1f7;padding:1px 5px;border-radius:5px;font-size:12px;color:#3a4a66;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.ai-answer table.ai-md-table{width:100%;border-collapse:collapse;margin:8px 0 12px;font-size:13px;overflow:hidden}
.ai-answer table.ai-md-table th,.ai-answer table.ai-md-table td{border:1px solid #e3e8f1;padding:6px 9px;text-align:left;vertical-align:top}
.ai-answer table.ai-md-table th{background:#f6f8fd;color:#3a4a66;font-weight:700}
.ai-answer table.ai-md-table tr:nth-child(even) td{background:#fbfcfe}
.assistant-chat-thinking{padding:6px 0}
.ai-thinking-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border:1px solid #e3e9f5;border-radius:12px;background:#f7f9ff}
.ai-thinking-status{font-size:13px;color:#4a5874;font-weight:600}
.ai-thinking-dots{display:inline-flex;gap:4px;flex:0 0 auto}
.ai-thinking-dots i{width:7px;height:7px;border-radius:50%;background:#7d95e9;animation:aiThinking 1.2s infinite ease-in-out}
.ai-thinking-dots i:nth-child(2){animation-delay:.2s}
.ai-thinking-dots i:nth-child(3){animation-delay:.4s}
@keyframes aiThinking{0%,80%,100%{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}
.ai-command-composer{position:relative}
.assistant-entry-context{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#eef3ff;border:1px solid #d7e2ff;border-radius:10px;margin:0 0 12px;font-size:13px;color:#21324f}
.assistant-entry-context.is-hidden{display:none}
.entry-context-badge{background:#315be8;color:#fff;border-radius:6px;padding:2px 8px;font-size:12px}
.assistant-entry-context strong{color:#15224a}
.assistant-entry-context small{color:#5a6b8c}
.assistant-entry-context button{border:0;background:transparent;color:#8a93a6;font-size:18px;line-height:1;cursor:pointer;margin-left:auto;padding:0 4px}
.assistant-entry-context button:hover{color:#e0483c}
.assistant-linked-object,.assistant-handoff-context{display:inline-flex;align-items:center;gap:6px;min-width:0;background:#fff;border:1px solid #d8e2fb;border-radius:8px;padding:4px 7px;box-shadow:0 1px 2px rgba(24,44,84,.04)}
.assistant-linked-object b,.assistant-handoff-context b{background:#315be8;color:#fff;border-radius:5px;padding:1px 5px;font-size:11px;font-weight:700}
.assistant-linked-object strong,.assistant-handoff-context strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}
.assistant-linked-object small,.assistant-handoff-context small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.assistant-linked-object button,.assistant-handoff-context button{margin-left:0;font-size:15px}
.assistant-handoff-context{background:#fff8ed;border-color:#ffdca8}
.assistant-handoff-context b{background:#c67a12}
.mention-pop{position:absolute;left:12px;right:12px;bottom:100%;margin-bottom:6px;background:#fff;border:1px solid #d8deea;border-radius:10px;box-shadow:0 8px 24px rgba(30,48,90,.14);max-height:220px;overflow:auto;z-index:30;padding:6px}
.mention-pop.is-hidden{display:none}
.mention-pop button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;text-align:left;padding:7px 8px;border-radius:7px;cursor:pointer;font-size:13px;color:#21324f}
.mention-pop button:hover{background:#eef3ff}
.mention-pop button span{flex:none;background:#edf2ff;color:#315be8;border-radius:5px;padding:1px 6px;font-size:11px}
.ai-handoff-banner{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff7ec;border:1px solid #ffd9a3;border-radius:10px;padding:10px 12px;margin:0 0 14px;font-size:13px;color:#6b4a14}
.ai-handoff-banner b{color:#b9740a}
.ai-handoff-banner button{margin-left:auto;border:0;background:#315be8;color:#fff;border-radius:7px;padding:6px 12px;cursor:pointer;font-size:13px}
.ai-handoff-banner button.ghost{background:transparent;color:#8a93a6;margin-left:0}
.assistant-quick-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;padding-top:10px;border-top:1px dashed #e3e8f2}
.assistant-quick-actions>span{font-size:12px;color:#8792a6;margin-right:2px}
.assistant-quick-actions button{border:1px solid #d9e0ee;background:#f6f9ff;color:#315be8;border-radius:8px;padding:5px 11px;font-size:13px;cursor:pointer;transition:.15s}
.assistant-quick-actions button:hover{background:#315be8;color:#fff;border-color:#315be8}
.ai-edit-resend{margin-top:8px;border:1px solid #d9e0ee;background:#fff;color:#5a6b8c;border-radius:8px;padding:4px 10px;font-size:12px;cursor:pointer}
.ai-edit-resend:hover{color:#315be8;border-color:#315be8}
.ai-answer-collapsible[data-collapsed="1"] .ai-answer-body{max-height:9.6em;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,#000 58%,transparent);mask-image:linear-gradient(to bottom,#000 58%,transparent)}
.ai-answer-toggle{display:inline-block;margin-top:8px;background:#fff;border:1px solid #d9e0ee;color:#315be8;border-radius:8px;padding:4px 12px;font-size:13px;cursor:pointer}
.ai-answer-toggle:hover{background:#eef3ff}
.assistant-draft-hint{display:flex;align-items:center;gap:10px;margin-top:8px;background:#fff7ec;border:1px solid #ffe1b0;border-radius:8px;padding:6px 10px;font-size:12px;color:#7a5a1c}
.assistant-draft-hint.is-hidden{display:none}
.assistant-draft-hint button{margin-left:auto;border:0;background:transparent;color:#b9740a;text-decoration:underline;cursor:pointer;font-size:12px}
.memory-segment{margin-bottom:14px}
.memory-segment header{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
.memory-segment header strong{font-size:14px;color:#15224a}
.memory-segment header small{font-size:12px;color:#8792a6}
.memory-segment-items{display:flex;flex-wrap:wrap;gap:8px}
.memory-chip{display:inline-flex;align-items:center;gap:6px;background:#eef3ff;border:1px solid #d9e3ff;color:#2b3c5e;border-radius:8px;padding:5px 10px;font-size:13px;max-width:100%}
.memory-chip[title]:hover{outline:1px solid #b9ccff}
.memory-chip-del{border:0;background:transparent;color:#9aa6bd;font-size:15px;line-height:1;cursor:pointer;padding:0 2px}
.memory-chip-del:hover{color:#cc4e5a}
.memory-suggestion-panel{margin:0 17px 16px;padding:14px;border:1px solid #dce5ff;border-radius:12px;background:#f8faff}
.memory-suggestion-panel>header{margin-bottom:10px}.memory-suggestion-panel>header strong,.memory-suggestion-panel>header small{display:block}.memory-suggestion-panel>header strong{font-size:15px;color:#15224a}.memory-suggestion-panel>header small{margin-top:4px;font-size:13px;color:#75819a}
.memory-suggestion-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #e5eaff}.memory-suggestion-card:first-child{border-top:0}.memory-suggestion-card>div:first-child{min-width:0}.memory-suggestion-card strong{font-size:14px;color:#17264b}.memory-suggestion-card p{margin:5px 0;color:#43506a;font-size:14px;line-height:1.55}.memory-suggestion-card small{font-size:12px;color:#8792a6}.memory-suggestion-card>div:last-child{display:flex;gap:7px;flex-shrink:0}.memory-suggestion-empty{padding:10px 0;color:#8792a6;font-size:13px}
@media(max-width:720px){.memory-suggestion-card{align-items:flex-start;flex-direction:column}.memory-suggestion-card>div:last-child{flex-wrap:wrap}}
.memory-empty{color:#9aa6bd;font-size:12px}
.ai-quality-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:16px}
.ai-quality-grid .content-card{margin:0}
.ai-quality-chart svg{display:block;width:100%;height:auto}
.ai-quality-legend{display:flex;gap:16px;margin-top:6px;font-size:12px;color:#8792a6}
.ai-quality-legend span{display:inline-flex;align-items:center;gap:6px}
.ai-quality-legend i{width:11px;height:11px;border-radius:3px;display:inline-block}
.ai-quality-list{padding:14px 16px}
.ai-quality-row{display:flex;align-items:center;gap:10px;margin:7px 0;font-size:13px}
.ai-quality-row>span{flex:0 0 92px;color:#2b3c5e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ai-quality-row i{flex:1;height:9px;background:#eef1f7;border-radius:6px;overflow:hidden}
.ai-quality-row i em{display:block;height:100%;background:linear-gradient(90deg,#557cf0,#315be8);border-radius:6px}
.ai-quality-row b{flex:0 0 38px;text-align:right;color:#15224a;font-variant-numeric:tabular-nums}
.ai-quality-feedback{padding:14px 16px}
.ai-quality-fb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:10px}
.ai-quality-fb-grid>div{background:#f5f7fb;border:1px solid #e7eaf0;border-radius:10px;padding:10px;text-align:center}
.ai-quality-fb-grid>div small{display:block;color:#8792a6;font-size:12px}
.ai-quality-fb-grid>div strong{font-size:20px;color:#15224a}
.ai-quality-fb-grid>div.warn{background:#fff6ef;border-color:#ffd9b0}
.ai-quality-fb-grid>div.warn strong{color:#cc6a1f}
.ai-quality-fb-grid>div.total{background:#eef3ff;border-color:#d6e1ff}
@media(max-width:720px){.ai-quality-grid{grid-template-columns:1fr}}
@media(max-width:720px){.ai-thinking-box{flex-direction:column;align-items:flex-start;gap:8px}.ai-answer table.ai-md-table{display:block;overflow-x:auto;white-space:nowrap}}

/* V1.8.0 conversational chat layout: user-right / AI-left */
.assistant-chat-messages{padding:24px 20px;background:#f7f9fd}
.assistant-chat-message{display:flex;align-items:flex-start;gap:10px;margin:0 0 20px;position:relative}
.assistant-chat-message.user{flex-direction:row-reverse;justify-content:flex-start}
.assistant-chat-message.assistant{justify-content:flex-start}
.assistant-chat-message .msg-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:10px;display:grid;place-items:center;font-size:12px;font-weight:700;user-select:none}
.assistant-chat-message.is-continuation{margin-top:-12px}.assistant-chat-message .msg-avatar-placeholder{visibility:hidden}
.assistant-chat-message.user .msg-avatar{background:#315be8;color:#fff}
.assistant-chat-message.assistant .msg-avatar{background:#eeeaff;color:#7055d9}
.assistant-chat-message .msg-column{min-width:0;display:flex;flex-direction:column}
.assistant-chat-message.user .msg-column{align-items:flex-end;max-width:min(70%,860px)}
.assistant-chat-message.assistant .msg-column{align-items:flex-start;max-width:min(85%,960px)}
.assistant-chat-message .msg-meta{font-size:11px;color:#9aa3b1;margin-bottom:4px;line-height:1.4;white-space:nowrap}
.assistant-chat-message .msg-bubble{font-size:14px;line-height:1.75;padding:11px 14px;border-radius:14px;white-space:pre-wrap;word-break:break-word;max-width:100%}
.assistant-chat-message.user .msg-bubble{background:#315be8;color:#fff;border-bottom-right-radius:4px;width:fit-content;text-align:left}
.assistant-chat-message.assistant .msg-bubble{background:#fff;color:#2b3852;border:1px solid #e4e8ef;border-bottom-left-radius:4px;width:fit-content}
.assistant-chat-message .msg-bubble .ai-answer{color:#2b3852}
.assistant-chat-message.user .msg-bubble p{margin:0}
.assistant-chat-message .msg-bubble .assistant-degraded-note{margin:0 0 8px;font-size:12px;color:#805a39;background:#fff4e9;border:1px solid #f5dfca;border-radius:8px;padding:8px 10px;white-space:normal}
.assistant-chat-message .msg-actions{display:flex;align-items:center;gap:6px;margin-top:6px;flex-wrap:wrap}
.assistant-chat-message .msg-actions .ai-edit-resend{margin:0;border:0;background:transparent;color:#9aa3b1;font-size:11px;padding:3px 6px;border-radius:6px;cursor:pointer}
.assistant-chat-message .msg-actions .ai-edit-resend:hover{color:#315be8;background:#eef1f7}
.assistant-chat-message .assistant-feedback-actions{display:flex;align-items:center;gap:5px;margin-top:6px;flex-wrap:wrap}
.assistant-chat-message .assistant-feedback-actions>span{font-size:11px;color:#9aa3b1}
.assistant-chat-message .assistant-feedback-actions button{border:0;background:transparent;color:#7a87a0;font-size:12px;padding:3px 8px;border-radius:6px;cursor:pointer}
.assistant-chat-message .assistant-feedback-actions button:hover{color:#315be8;background:#eef1f7}
.assistant-chat-message .assistant-feedback-actions em{font-size:11px;color:#149b73;font-style:normal}
.assistant-answer-basis{margin-top:6px;max-width:100%;border:1px solid #e7ebf2;border-radius:8px;background:#fbfcff;color:#718098}.assistant-answer-basis summary{cursor:pointer;list-style:none;padding:5px 9px;font-size:11px;color:#718098;user-select:none}.assistant-answer-basis summary::-webkit-details-marker{display:none}.assistant-answer-basis summary::before{content:'›';display:inline-block;margin-right:5px;color:#6d83cf;font-size:14px;line-height:10px;transform:rotate(0deg);transition:.15s}.assistant-answer-basis[open] summary::before{transform:rotate(90deg)}.assistant-answer-basis>div{padding:0 9px 8px}.assistant-answer-basis p{margin:0;font-size:12px;line-height:1.6;color:#58667d;white-space:normal}.assistant-answer-basis small{display:block;margin-top:5px;font-size:11px;line-height:1.55;color:#8994a6}
.assistant-chat-message .assistant-quick-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:6px;padding-top:0;border-top:0}
.assistant-chat-message .assistant-quick-actions>span{font-size:11px;color:#9aa3b1}
.assistant-chat-message .assistant-quick-actions button{border:1px solid #e3e8f2;background:#f8faff;color:#315be8;border-radius:7px;padding:3px 9px;font-size:12px;cursor:pointer;transition:.15s}
.assistant-chat-message .assistant-quick-actions button:hover{background:#315be8;color:#fff;border-color:#315be8}
.assistant-customer-record-action{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-6px 0 13px 42px;padding:8px 10px;border:1px dashed #d9e2f0;border-radius:8px;background:#fcfdff;color:#77849c;font-size:12px}.assistant-customer-record-action button{border:0;background:transparent;color:#315be8;font-size:12px;cursor:pointer;padding:3px 5px;border-radius:6px}.assistant-customer-record-action button:hover{background:#eaf0ff}
.assistant-chat-retry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 4px;padding:11px 12px;border:1px solid #ffd9b0;background:#fffaf3;border-radius:10px;color:#6d5230}.assistant-chat-retry strong{display:block;font-size:13px;color:#664619}.assistant-chat-retry p{margin:4px 0 0;font-size:12px;line-height:1.55;color:#8a6d49}.assistant-chat-retry>div:last-child{display:flex;gap:6px;flex-shrink:0}
.assistant-chat-edit-notice{border-color:#ccd8fb;background:#f6f8ff;color:#425a9c}.assistant-chat-edit-notice strong{color:#3150a5}.assistant-chat-edit-notice p{color:#61729d}
.assistant-chat-memory-notice{border-color:#d8cdfd;background:#faf8ff;color:#5d4a94}.assistant-chat-memory-notice strong{color:#6248a9}.assistant-chat-memory-notice p{color:#75689e}
.customer-ai-record-block .folder-section-head{align-items:flex-start}
.customer-ai-record-block .folder-section-head p{margin:4px 0 0;color:#77849c;font-size:12px;line-height:1.55}
.customer-ai-record-list,.customer-ai-task-list{display:grid;gap:8px;margin-top:12px}
.customer-ai-record,.customer-ai-task{display:flex;align-items:center;gap:10px;border:1px solid #e2e8f4;background:#fbfcff;border-radius:10px;padding:10px 12px}
.customer-ai-record-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#e9efff;color:#315be8;font-size:11px;font-weight:800;flex:none}
.customer-ai-record>div,.customer-ai-task>div{min-width:0;display:grid;gap:3px;flex:1}
.customer-ai-record strong,.customer-ai-task strong{font-size:13px;color:#1d2b4d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-ai-record small,.customer-ai-task small{font-size:12px;color:#7b879b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-ai-record button{border:1px solid #cad8ff;background:#fff;color:#315be8;border-radius:7px;padding:4px 8px;font-size:12px;cursor:pointer;white-space:nowrap}
.customer-ai-record em{font-style:normal;color:#8390a5;font-size:12px;white-space:nowrap}
.customer-ai-task-list{margin-top:14px}
.customer-ai-task-list h4{margin:0;font-size:13px;color:#31415f}
.customer-ai-empty{padding:11px 12px;border:1px dashed #d7dfec;border-radius:9px;color:#8691a4;font-size:12px;line-height:1.6;background:#fcfdff}
.task-priority{font-size:11px;border-radius:999px;padding:3px 7px;background:#edf1f8;color:#64728a;white-space:nowrap}
.task-priority.high{background:#fff0ef;color:#d0524d}.task-priority.low{background:#eef8f3;color:#23835e}
.assistant-chat-thinking{width:100%;min-width:0;padding:6px 0 14px;display:flex;justify-content:flex-start}
.assistant-chat-thinking .ai-thinking-box{display:inline-flex;flex-direction:row;width:min(420px,calc(100vw - 80px));min-width:280px;max-width:100%;box-sizing:border-box;align-items:center;justify-content:flex-start;gap:10px;border:1px solid #e3e9f5;border-radius:12px;background:#f7f9ff;padding:10px 14px}
.assistant-chat-thinking .ai-thinking-status{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:480px){.assistant-chat-thinking .ai-thinking-box{width:calc(100vw - 40px);min-width:0}}
.conversation-card.deleted{background:#fafbfc;border-style:dashed}.conversation-card .conversation-open.conversation-deleted{cursor:default;opacity:.72}.conversation-card .conversation-open.conversation-deleted:disabled{color:inherit}
.memory-expiry-field{grid-column:1/-1}.memory-expiry-field small{font-weight:400;color:#8792a6;line-height:1.45}.memory-chip-list .memory-chip{display:flex;align-items:center;gap:7px;max-width:100%;padding:6px 8px}.memory-chip-list .memory-chip>span{display:grid;gap:2px;min-width:0;padding:0;background:transparent;color:inherit;border-radius:0}.memory-chip-list .memory-chip strong{font-size:12px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memory-chip-list .memory-chip small{font-size:11px;color:#74839f;line-height:1.25;white-space:nowrap}.memory-chip-edit,.memory-chip-pause{border:0;background:transparent;color:#315be8;border-radius:6px;padding:3px 5px;font-size:11px;line-height:1.2;cursor:pointer;white-space:nowrap}.memory-chip-pause{color:#7a698d}.memory-chip-edit:hover,.memory-chip-pause:hover{background:#dfe8ff}.memory-inactive-panel{margin:0 17px 16px;padding:14px;border:1px dashed #d8dfeb;border-radius:12px;background:#fcfdff}.memory-inactive-panel>header{margin-bottom:8px}.memory-inactive-panel>header strong,.memory-inactive-panel>header small{display:block}.memory-inactive-panel>header strong{font-size:14px;color:#3d4c67}.memory-inactive-panel>header small{margin-top:4px;font-size:12px;color:#8792a6;line-height:1.5}.memory-inactive-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #edf0f5}.memory-inactive-card:first-child{border-top:0}.memory-inactive-card>div:first-child{min-width:0}.memory-inactive-card strong{display:block;font-size:13px;color:#43516a}.memory-inactive-card p{margin:4px 0;color:#758198;font-size:13px;line-height:1.5;word-break:break-word}.memory-inactive-card small{color:#9a7480;font-size:12px}.memory-inactive-card>div:last-child{display:flex;align-items:center;gap:6px;flex-shrink:0}
@media(max-width:720px){
.assistant-chat-message .msg-column{max-width:min(82%,calc(100% - 48px))}
.assistant-chat-message.user .msg-column{max-width:min(78%,calc(100% - 48px))}
.assistant-chat-message .msg-bubble{font-size:14px;padding:10px 12px}
.assistant-chat-message .msg-avatar{width:28px;height:28px;flex:0 0 28px;font-size:11px}
.assistant-customer-record-action{margin-left:0;align-items:flex-start;flex-direction:column;gap:4px}
.assistant-chat-retry{align-items:flex-start;flex-direction:column}.assistant-chat-retry>div:last-child{flex-wrap:wrap}
.memory-inactive-card{align-items:flex-start;flex-direction:column}.memory-inactive-card>div:last-child{flex-wrap:wrap}
}

/* AI 图片消息与固定输入区：图片仍通过受权限保护的会话附件地址读取。 */
.assistant-user-attachments{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:8px;max-width:100%}
.assistant-user-image{display:block;max-width:min(320px,100%);border-radius:11px;overflow:hidden;border:1px solid rgba(255,255,255,.56);background:#eef2ff;box-shadow:0 4px 14px rgba(19,42,118,.16)}
.assistant-user-image img{display:block;width:100%;max-width:320px;max-height:300px;object-fit:cover;background:#eef2ff}
.assistant-user-file{display:flex;align-items:center;gap:7px;max-width:100%;padding:7px 9px;border-radius:9px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.38);color:#fff;text-decoration:none}
.assistant-user-file>span{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:rgba(255,255,255,.22);font-size:11px;font-weight:800}.assistant-user-file>strong{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.assistant-chat-message.user .msg-bubble.has-attachments{min-width:0}.assistant-chat-message.user .msg-bubble.attachment-only{padding:0;background:transparent;box-shadow:none}.assistant-chat-message.user .msg-bubble.attachment-only .assistant-user-attachments{margin:0}

/* 桌面端将 AI 中心固定为一个工作区；只有会话记录区域滚动，输入框始终留在底部。 */
@media(min-width:901px){
  .v181-bright-ui #page-aiCenter.active{display:flex;height:calc(100dvh - 106px);min-height:640px;max-width:none;overflow:hidden;flex-direction:column;padding:16px 32px 20px}
  .v181-bright-ui #page-aiCenter .ai-center-page-heading,.v181-bright-ui #page-aiCenter .agent-quick-switch,.v181-bright-ui #page-aiCenter .assistant-standards{flex:0 0 auto}
  .v181-bright-ui #page-aiCenter .ai-center-page-heading{margin-bottom:12px}.v181-bright-ui #page-aiCenter .agent-quick-switch{margin-bottom:10px}
  .v181-bright-ui #page-aiCenter .ai-skill-picker{flex:0 0 auto;max-height:38vh;overflow:auto}
  .v181-bright-ui #page-aiCenter .assistant-chat-workspace{display:flex;flex:1 1 auto;min-height:0;margin:0;flex-direction:column}
  .v181-bright-ui #page-aiCenter .assistant-chat-policy,.v181-bright-ui #page-aiCenter .assistant-entry-context{flex:0 0 auto}
  .v181-bright-ui #page-aiCenter .agent-chat-layout{flex:1 1 auto;min-height:0;height:auto}
  .v181-bright-ui #page-aiCenter .agent-chat-sidebar{display:flex;min-height:0;flex-direction:column}.v181-bright-ui #page-aiCenter .agent-chat-sidebar .v160-card-list{flex:1 1 auto;min-height:0;max-height:none}
  .v181-bright-ui #page-aiCenter .agent-chat-main{min-height:0;overflow:hidden}.v181-bright-ui #page-aiCenter .assistant-chat-messages{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .v181-bright-ui #page-aiCenter .ai-command-composer{position:relative;z-index:3;flex:0 0 auto}
  .v181-bright-ui #page-aiCenter .assistant-standards{display:none}
}
@media(max-width:900px){.assistant-user-image{max-width:min(260px,100%)}.assistant-user-image img{max-width:260px;max-height:260px}}

/* 聊天工具栏内直接选择智能体和关联客户，减少输入框上方的重复占位。 */
.ai-command-toolbar .ai-tool-select{height:38px;display:inline-flex;align-items:center;gap:6px;min-width:0;border-radius:9px;padding:0 8px;background:transparent;color:#37445a;white-space:nowrap;cursor:pointer}
.ai-command-toolbar .ai-tool-select:hover,.ai-command-toolbar .ai-tool-select:focus-within{background:#f1efff;color:#6549cf}
.ai-command-toolbar .ai-tool-select>span{font-size:16px;line-height:1}
.ai-command-toolbar .ai-tool-select select{height:30px;min-width:0;max-width:145px;border:0;outline:0;background:transparent;color:inherit;font-size:14px;font-weight:700;cursor:pointer}
.ai-command-toolbar .ai-tool-select.customer select{max-width:170px;font-weight:600}
@media(max-width:760px){.ai-command-toolbar .ai-tool-select select{max-width:112px;font-size:13px}.ai-command-toolbar .ai-tool-select.customer select{max-width:118px}.ai-command-toolbar .ai-tool-select{padding:0 5px;gap:4px}}

/* 固定输入框位于聊天区底部时，附件菜单向上弹出，避免被工作区边界裁掉。 */
.assistant-chat-workspace .ai-attach-menu{top:auto;bottom:45px;z-index:40}
