:root{--blue:#3472f6;--ink:#202b3d;--muted:#8993a4;--line:#e8ecf2;--bg:#f3f5f9;--theme:#3472f6;font:14px/1.6 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:24px;font-weight:650;letter-spacing:-.5px}h2{font-size:16px;font-weight:600}h3{font-size:14px}small,.muted{color:var(--muted);font-size:12px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a7c5ff;outline-offset:2px}input:not([type=checkbox]):not([type=color]):not([type=file]),select,textarea{width:100%;border:1px solid #dce1e9;border-radius:5px;padding:9px 11px;background:white;color:var(--ink);min-height:38px}input:disabled,select:disabled,textarea:disabled{background:#f7f8fa!important;color:#98a0ae}input[type=checkbox]{accent-color:var(--blue);width:15px;height:15px;vertical-align:middle}textarea{min-height:92px;resize:vertical}input[type=color]{width:48px;height:36px;padding:3px;border:1px solid var(--line);background:white}label{display:block;font-size:13px;margin-bottom:7px}label.inline{display:flex;gap:8px;align-items:center;margin:0}fieldset{border:0;padding:0;margin:0}.btn{border:1px solid #dce1e9;border-radius:5px;background:white;padding:8px 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;line-height:1.5;font-size:13px;min-height:36px}.btn:hover{border-color:var(--blue);color:var(--blue)}.btn.primary{background:var(--blue);border-color:var(--blue);color:white}.btn.danger{color:#cf424b}.btn.small{padding:4px 9px;min-height:28px;font-size:12px}.text-btn{background:none;border:0;padding:3px 5px;color:var(--blue);font-size:13px}.text-btn.danger{color:#cf424b}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.spacer{flex:1}.proto{height:32px;background:#fffbeb;border-bottom:1px solid #f3e7ae;color:#93814c;display:flex;align-items:center;justify-content:space-between;padding:0 23px;font-size:11px;position:sticky;top:0;z-index:40}.proto button{background:none;border:0;color:inherit;font-size:11px}.shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:calc(100vh - 32px)}.side{background:#071b2c;color:#9eacbb;position:sticky;top:32px;height:calc(100vh - 32px);padding:25px 13px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;padding:0 11px 28px}.brand-mark{width:35px;height:35px;border-radius:6px;display:grid;place-items:center;color:white;background:#3472f6;font-size:20px}.brand b{display:block;font-size:23px;color:white;line-height:1.1}.brand small{font-size:10px;letter-spacing:1.5px;color:#7e91a4}.nav-label{font-size:10px;letter-spacing:1.4px;padding:10px 14px}.nav-item{display:flex;gap:12px;align-items:center;width:100%;border:0;background:transparent;color:#a8b6c6;padding:12px 14px;border-radius:5px;text-align:left;margin:3px 0;font-size:13px}.nav-item:hover{background:#142d43}.nav-item.active{background:#3472f6;color:white}.nav-item span:first-child{width:18px;font-size:17px}.side-bottom{margin-top:auto;border-top:1px solid #1d3042;padding:17px 10px 0}.avatar{width:32px;height:32px;border-radius:50%;background:#e9f0ff;color:#3472f6;display:grid;place-items:center;font-weight:600}.side-bottom .avatar{background:#193147;color:#c4d4e5}.side-bottom b{font-size:12px;color:#e4eaf2}.topbar{height:64px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:12px;color:#8b94a2}.topbar strong{color:#526075;font-weight:500}.content{padding:28px 30px 42px;max-width:1550px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:23px}.page-title p{font-size:12px;color:var(--muted);margin-top:7px}.card{background:white;border:1px solid var(--line);border-radius:7px;margin-bottom:20px}.padded{padding:23px 25px}.card-head{padding:18px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.card-head p{font-size:12px;color:var(--muted);margin-top:4px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:6px;padding:18px 20px}.metric span{font-size:12px;color:#8390a2}.metric b{display:block;font-size:26px;font-weight:600;margin-top:6px}.metric small{font-size:11px}.robot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.robot-card{padding:23px;margin:0;transition:box-shadow .2s}.robot-card:hover{box-shadow:0 5px 18px #1438650b}.bot-icon{width:43px;height:43px;border-radius:10px;background:#edf3ff;display:grid;place-items:center;color:#3472f6;font-size:22px}.robot-card h2{font-size:16px}.robot-card .meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:12px;margin:24px 0}.meta b{display:block;font-size:14px;font-weight:500;margin-top:3px}.tag{padding:3px 8px;border-radius:3px;font-size:11px;background:#f0f3f7;color:#8290a3;display:inline-block;white-space:nowrap}.tag.green{background:#edf8f1;color:#2e936a}.tag.blue{background:#edf3ff;color:#3472f6}.tag.orange{background:#fff6e6;color:#b78321}.tag.red{background:#fff0f0;color:#ce525a}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:-2px 0 23px;overflow:auto;white-space:nowrap}.tab{border:0;background:transparent;padding:13px 2px;color:#7f8b9d;font-size:13px;border-bottom:2px solid transparent}.tab.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:550}.robot-context{display:flex;align-items:center;gap:14px;margin-bottom:20px}.robot-context h1{font-size:22px}.robot-context small{display:block;margin-top:4px}.back{border:0;background:transparent;color:#8c97a8;padding:6px;font-size:20px}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.field{margin-bottom:21px}.field small{display:block;margin-top:6px;line-height:1.7}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-max{max-width:680px}.footer{border-top:1px solid var(--line);padding-top:20px;margin-top:22px;display:flex;align-items:center;gap:13px}.switch{display:inline-flex;gap:10px;align-items:center;font-size:13px;cursor:pointer}.switch input{position:absolute;opacity:0;width:0}.switch i{display:block;width:34px;height:20px;background:#c9d1dc;border-radius:15px;position:relative;transition:.15s}.switch i:before{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:white;transition:.15s}.switch input:checked+i{background:var(--blue)}.switch input:checked+i:before{transform:translateX(14px)}.switch input:focus-visible+i{outline:3px solid #a7c5ff}.switch input:disabled+i{opacity:.5}.note{padding:12px 15px;border:1px solid #dfeaff;background:#f3f7ff;color:#6881a6;font-size:12px;border-radius:5px;line-height:1.8;margin-bottom:20px}.note.warning{background:#fffaf0;border-color:#f4e7c3;color:#a28548}.note.red{background:#fff4f4;border-color:#f3d9db;color:#bd6069}.hint-card h3{margin-bottom:12px}.hint-card p{font-size:12px;line-height:1.9;color:#8a96a7;margin:8px 0}.step{display:flex;align-items:flex-start;gap:12px;margin:18px 0}.step i{font-style:normal;border:1px solid #c9ddff;color:#3472f6;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex-shrink:0;font-size:11px}.step b{font-size:12px}.step p{font-size:11px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{background:#fafbfd;color:#7d889a;text-align:left;font-weight:500;padding:12px 20px;border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid #f0f2f6}tr:last-child td{border-bottom:0}td.title{min-width:210px;white-space:normal}td.title b{display:block;font-weight:500;font-size:13px}td small{display:block;font-size:10px;margin-top:3px}.toolbar{padding:16px 20px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.toolbar input{max-width:280px}.toolbar select{max-width:170px}.table-foot{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;color:#9aa4b2;font-size:11px}.empty{padding:65px 25px;text-align:center;color:#8e9aac}.empty .symbol{font-size:30px;color:#b9c9e2;margin-bottom:12px}.empty h3{color:#647389;font-size:14px;margin-bottom:7px}.empty .btn{margin-top:18px}.split-review{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px}.knowledge-group{border-right:1px solid var(--line);padding:10px;background:white;border-radius:6px;align-self:start}.knowledge-group button{width:100%;text-align:left;border:0;border-radius:4px;background:transparent;padding:14px 12px;font-size:12px;display:flex;justify-content:space-between;gap:12px}.knowledge-group button.active{background:#edf3ff;color:#3472f6}.review-title{padding:20px 23px;border-bottom:1px solid var(--line)}.review-title p{font-size:12px;color:#8c96a6;margin-top:7px}.review-item{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;gap:12px}.review-item:last-child{border:0}.review-item p{font-size:14px}.review-item .row{margin-top:9px}.review-item small{font-size:11px}.batch{padding:13px 22px;border-bottom:1px solid var(--line);background:#fbfcfe;display:flex;align-items:center;gap:10px;font-size:12px}.review-result{margin-top:9px;font-size:12px}.success{color:#2b976a}.error{color:#d34e57}.aliases{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.alias{border:1px solid #e3e9f2;padding:5px 9px;font-size:12px;border-radius:4px;background:#fafcff}.alias button{border:0;background:transparent;color:#a0aabb;margin-left:10px}.rich{line-height:1.9;font-size:13px;overflow-wrap:anywhere}.rich img{max-width:100%;display:block;border-radius:5px;margin:10px 0}.rich a{color:#3472f6}.rich p{margin:8px 0}.order-row{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:5px;padding:12px 14px;margin-top:10px;font-size:13px}.order-row .num{width:24px;height:24px;background:#f2f5fa;color:#8999ae;border-radius:4px;display:grid;place-items:center;font-size:11px}.order-row .text-btn{font-size:15px}.schedule{border:1px solid var(--line);border-radius:5px;padding:16px 18px;margin:12px 0}.week{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.week label{margin:0;display:flex;align-items:center;gap:4px;font-size:12px}.time-row{display:flex;align-items:center;gap:12px;margin-top:10px}.time-row input{width:135px!important}.code{font:12px/1.8 ui-monospace,monospace;padding:15px;background:#f7f9fc;border:1px solid var(--line);border-radius:5px;white-space:pre-wrap;word-break:break-all}.preview-device{border:1px solid #e0e6ee;border-radius:8px;background:#f8faff;overflow:hidden}.mini-head{background:var(--theme);padding:12px 16px;color:white;font-size:13px}.mini-chat{height:180px;padding:18px;position:relative}.mini-bubble{background:white;padding:10px;border:1px solid #e7ebf2;border-radius:4px;max-width:85%;font-size:11px}.floating-preview{height:130px;position:relative;border-top:1px dashed #dae2ee;background:#fcfdff}.float-icon{position:absolute;width:48px;height:48px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--theme);color:white;box-shadow:0 4px 14px #254c8b27;font-size:23px;padding:0;overflow:hidden}.float-icon img{width:100%;height:100%;object-fit:contain}.swatch{width:20px;height:20px;border-radius:4px;display:inline-block;background:var(--theme)}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat-cell{background:#f7f9fc;padding:12px;border-radius:5px;font-size:11px;color:#8c98a7}.stat-cell b{display:block;font-size:20px;color:#33435c;margin-top:4px}.dialog-messages{max-height:430px;overflow:auto;padding:20px;background:#f6f8fb;border-radius:5px}.dialog-messages .line{padding:12px;border-radius:5px;background:white;margin:10px 0;font-size:13px}.line small{display:block;margin-bottom:4px}.line.user-line{margin-left:40px;background:#edf3ff}.details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:18px 0;font-size:12px}.details-grid small{display:block;margin-bottom:5px}dialog{border:0;padding:0;border-radius:9px;box-shadow:0 18px 80px #0c234844;width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 64px);color:var(--ink)}dialog.wide{width:min(960px,calc(100vw - 32px))}dialog::backdrop{background:#0d1f3e59}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}.close{border:0;background:none;font-size:22px;color:#9aa4b3}.modal-content{padding:22px 24px;max-height:calc(100dvh - 220px);overflow:auto}.modal-footer{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding:16px 24px}#toast{border:0;inset:55px auto auto 50%;transform:translateX(-50%);margin:0;background:#24334a;color:white;padding:12px 22px;border-radius:6px;box-shadow:0 4px 18px #0002;max-width:90vw;font-size:13px;z-index:1000}#demo{position:fixed;right:18px;top:48px;width:320px;max-height:calc(100dvh - 65px);overflow:auto;background:white;z-index:90;padding:22px;border:1px solid #dfe6ef;box-shadow:0 10px 45px #19315330;border-radius:8px}#demo[hidden]{display:none}#demo h2{font-size:15px}#demo p{font-size:12px;color:#8c97a7;margin:12px 0}#demo .btn{margin:4px 0;width:100%}#demo label{margin-top:13px}.login-wrap{min-height:calc(100dvh - 32px);display:grid;place-items:center;background:radial-gradient(ellipse at 20% 40%,#e8f0ff,transparent 70%)}.login-card{width:min(400px,90vw);padding:35px}.login-card h1{font-size:23px;margin-bottom:10px}.login-card p{font-size:12px;color:#8c98a7;margin-bottom:23px}.login-card .btn{width:100%}.login-card .field{margin-bottom:19px}.login-logo{color:#3472f6;font-size:27px;margin-bottom:17px}.public{--theme:#3472f6;background:#f4f6fa;min-height:calc(100dvh - 32px);padding:28px;display:grid;place-items:center}.chat-box{width:min(1080px,100%);height:calc(100dvh - 88px);min-height:400px;max-height:880px;border-radius:10px;border:1px solid #dfe5ed;background:white;box-shadow:0 8px 35px #1c315c0b;overflow:hidden;display:flex;flex-direction:column}.chat-header{background:var(--theme);color:white;padding:18px 24px;display:flex;align-items:center;gap:12px;flex-shrink:0}.chat-header .chat-logo{border:1px solid #ffffff70;width:35px;height:35px;border-radius:8px;display:grid;place-items:center;font-size:21px}.chat-header b{display:block;font-size:16px;font-weight:500}.chat-header small{color:#ffffffb5;font-size:11px}.chat-header .session{margin-left:auto;max-width:220px;font-size:10px;color:#ffffffb0}.chat-body{display:grid;grid-template-columns:minmax(0,1fr) 265px;min-height:0;flex:1}.chat-main{display:flex;flex-direction:column;min-height:0;position:relative}.transcript{flex:1;overflow:auto;padding:24px 26px;background:#f7f8fa;scroll-behavior:smooth}.chat-date{text-align:center;font-size:10px;color:#a1aab8;margin:0 0 20px}.message{margin:0 0 21px;max-width:86%;width:fit-content}.message .who{font-size:10px;color:#9aa4b2;margin-bottom:5px}.bubble{padding:12px 15px;background:white;border:1px solid #e9edf3;border-radius:2px 9px 9px 9px;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.message.user{margin-left:auto}.message.user .who{text-align:right}.message.user .bubble{background:#edf3ff;border-color:#e1eaff;border-radius:9px 2px 9px 9px}.message .bubble img{max-width:100%;display:block;margin:10px 0;border-radius:4px}.message .bubble p{margin:5px 0}.message .bubble a{color:var(--theme)}.message.system{max-width:100%;width:100%;text-align:center;color:#9aa5b5;font-size:11px;margin:16px 0}.chat-compose{border-top:1px solid var(--line);padding:12px 18px;background:white;flex-shrink:0}.compose-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.transfer-btn{border:1px solid #dce5f4;background:white;border-radius:4px;color:#607797;font-size:11px;padding:4px 10px}.chat-compose textarea{border:0;resize:none;padding:5px 0;min-height:65px;height:65px;font-size:14px;outline:none}.chat-compose textarea:focus{outline:none}.send-row{display:flex;align-items:center;justify-content:space-between}.send-row small{font-size:10px}.public .btn.primary{background:var(--theme);border-color:var(--theme)}.recommend{border-left:1px solid var(--line);padding:25px 20px;background:white;overflow:auto}.recommend h3{font-size:14px;margin-bottom:7px}.recommend p{font-size:11px;color:#99a4b4;margin-bottom:23px}.rec-btn{display:block;width:100%;background:white;border:0;border-bottom:1px solid #f0f3f7;text-align:left;padding:14px 0;color:#647994;font-size:12px;line-height:1.7}.rec-btn:hover{color:var(--theme)}.rec-btn span{float:right;color:#a9b7ca}.status-band{display:flex;align-items:center;justify-content:space-between;background:#f0f5ff;padding:10px 20px;border-bottom:1px solid #dfe9fc;font-size:11px;color:#6d87ad;flex-shrink:0}.mobile-recs{display:none}.mobile-recs button{display:block;border:1px solid #e4eafa;border-radius:4px;background:white;color:#617b9d;padding:10px 12px;margin:7px 0;width:100%;text-align:left;font-size:12px}.embed-demo{min-height:calc(100dvh - 32px);background:#f7f9fc;padding:70px 8vw;position:relative}.host-nav{display:flex;gap:40px;color:#7e8b9f;padding-bottom:30px;border-bottom:1px solid #e1e7ef}.host-hero{margin-top:75px;max-width:580px}.host-hero small{letter-spacing:3px;color:#6985b7}.host-hero h1{font-size:40px;margin:15px 0}.host-hero p{color:#8a98ac;font-size:14px;line-height:2}.host-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:55px}.host-cards div{border:1px solid #e4eaf3;background:white;padding:30px;border-radius:6px}.detail-log{white-space:pre-wrap;font-size:13px;background:#f6f8fb;padding:20px;border-radius:5px;max-height:420px;overflow:auto}.demo-image{max-width:250px}.form-field-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.form-field-row .grow{flex:1}.form-field-row input[type=text]{width:180px!important}.position-box{padding:16px;border:1px solid var(--line);border-radius:5px;margin-top:15px}.position-box .field-grid{grid-template-columns:repeat(3,1fr);gap:12px}.dirty-indicator{font-size:11px;color:#a98a3e}.noaccess{padding:60px;text-align:center}.editor-area{min-height:190px;border:1px solid #dce1e9;border-radius:0 0 5px 5px;padding:15px;outline:none}.editor-tools{padding:8px;background:#f8fafc;border:1px solid #dce1e9;border-bottom:0;display:flex;gap:5px}.editor-tools button{border:0;background:white;border-radius:3px;padding:4px 10px}.editor-aliases textarea{min-height:90px}#app{min-height:100dvh}@media(min-width:1500px){.robot-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:1150px){.robot-grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:minmax(0,1fr) 270px}.content{padding:24px}.stats-strip{grid-template-columns:repeat(3,1fr)}}@media(max-width:850px){.shell{grid-template-columns:175px minmax(0,1fr)}.side{padding:25px 9px}.brand{padding:0 7px 25px}.form-grid{grid-template-columns:1fr}.robot-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.form-grid>.hint-card{display:none}.split-review{grid-template-columns:1fr}.knowledge-group{display:flex;overflow:auto}.knowledge-group button{min-width:170px}.field-grid{grid-template-columns:1fr}.topbar{padding:0 20px}.chat-body{grid-template-columns:1fr 225px}.public{padding:18px}.toolbar{flex-wrap:wrap}}@media(max-width:600px){.public{padding:0;display:block;min-height:calc(100dvh - 32px)}.chat-box{height:calc(100dvh - 32px);min-height:0;max-height:none;border:0;border-radius:0;width:100%}.chat-header{padding:14px 16px}.chat-header .session{display:none}.chat-body{grid-template-columns:1fr}.recommend{display:none}.mobile-recs{display:block;margin-top:10px}.transcript{padding:20px 15px}.message{max-width:92%}.chat-compose{padding:10px 14px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.chat-compose textarea{font-size:16px}.status-band{padding:9px 14px}.proto{padding:0 11px;font-size:9px}.proto span .hide-mobile{display:none}.shell{grid-template-columns:1fr}.side{height:auto;position:static;padding:13px}.side .brand,.side .side-bottom,.side .nav-label{display:none}.side nav{display:flex;overflow:auto}.nav-item{min-width:125px;padding:9px;font-size:12px}.topbar{height:50px}.content{padding:20px 14px}.page-title{align-items:flex-start}.page-title h1{font-size:20px}.page-title .row{flex-wrap:wrap;justify-content:flex-end}.details-grid{grid-template-columns:1fr 1fr}.stats-strip{grid-template-columns:1fr 1fr}.padded{padding:20px}.embed-demo{padding:35px 24px}.host-hero h1{font-size:30px}.host-cards{grid-template-columns:1fr}.host-nav{gap:20px}.host-nav span:last-child{display:none}}
/* V0.2.0 d01：按机器人组织操作台，设置收至顶部。 */
.workspace-back{border:0;background:none;color:#8297ad;font-size:11px;text-align:left;padding:4px 10px 17px}.workspace-identity{display:flex;gap:10px;align-items:center;padding:14px 10px;margin:0 0 18px;border:1px solid #203347;border-radius:5px}.workspace-identity .bot-icon{width:30px;height:30px;font-size:18px;background:#162e47;color:#7daaff}.workspace-identity b{font-size:12px;color:#e0e9f3;display:block}.workspace-identity small{font-size:10px;color:#637c95}.nav-badge{margin-left:auto;background:#ffffff19;color:inherit;padding:0 5px;border-radius:3px}.workspace-top{height:74px}.workspace-top strong{font-size:15px;color:#344760}.crumb-separator{color:#c4cbd5;padding:0 8px}.settings-selected{background:#edf3ff;color:#3472f6;border-color:#b7cfff}.knowledge-title{border:0;background:none;padding:0;font-size:13px;color:#354b6a;text-align:left;font-weight:550}.knowledge-title:hover{color:#3472f6}.pending-change{color:#ac883f}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:24px;align-items:start;padding-bottom:70px}.editor-layout .field:last-child{margin-bottom:0}.editor-help{position:sticky;top:52px}.section-caption{display:flex;gap:11px;align-items:center;margin-bottom:22px}.section-caption>span{display:grid;place-items:center;background:#edf3ff;color:#3472f6;border-radius:4px;font-size:11px;width:22px;height:22px}.back-editor{border:0;background:none;color:#8290a4;font-size:12px;padding:0 0 10px}.alias-explanation{color:#8d99aa;font-size:12px;margin-bottom:18px}.inline-alias-row{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #f0f3f7}.inline-alias-row input{flex:1;min-width:0}.inline-alias-row button{white-space:nowrap}.inline-alias-add{display:flex;gap:12px;margin-top:17px}.inline-alias-add input{flex:1;min-width:0}.alias-empty{font-size:12px;color:#a2acba;padding:15px 0}.alias-feedback{font-size:12px;margin-top:12px}.full-editor{min-height:320px}.editor-savebar{position:sticky;bottom:0;background:#fff;padding:16px 25px;border:1px solid var(--line);border-radius:6px;display:flex;align-items:center;gap:14px;box-shadow:0 -6px 20px #17305605;z-index:10;margin-top:-62px}.image-upload-target{border:1px dashed #c7d7ec;background:#f9fbff;border-radius:7px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;cursor:pointer}.image-upload-target input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.image-upload-target b{font-size:13px;font-weight:500;color:#5d7faa}.upload-image-preview{min-height:135px;background:#f7f9fc;border:1px solid #e9edf4;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:17px 0;color:#9da9ba;font-size:12px;gap:10px;padding:15px;border-radius:5px}.upload-image-preview img{max-width:100%;max-height:260px;object-fit:contain}.editor-content>.page-title{margin-bottom:22px}@media(max-width:1100px){.editor-layout{grid-template-columns:1fr}.editor-help{display:none}}@media(max-width:600px){.workspace-identity,.workspace-back{display:none}.workspace-top{height:auto;min-height:70px;gap:10px;flex-wrap:wrap;padding:13px}.workspace-top>.row{gap:6px}.workspace-top>.row strong{font-size:13px}.editor-savebar{padding:12px;gap:8px}.editor-savebar small{display:none}.inline-alias-row{gap:4px}.inline-alias-row .text-btn{font-size:11px}.editor-layout{padding-bottom:65px}}
.alias-tags{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.alias-chip{display:inline-flex;align-items:center;border:1px solid #dce6f4;background:#f4f7fc;border-radius:5px;padding:3px 5px 3px 9px;max-width:100%}.alias-chip button{border:0;background:none;color:#617593;padding:4px;font-size:12px;white-space:normal;text-align:left}.alias-chip button:last-child{color:#9cabbf;padding-left:9px}.preview-mode{display:flex;background:#f2f5fa;padding:3px;border-radius:5px;margin:16px 0}.preview-mode button{flex:1;border:0;background:none;color:#8a98aa;font-size:12px;padding:8px;border-radius:4px}.preview-mode button.active{background:white;color:#3472f6;box-shadow:0 1px 4px #17355c12}.device-mini{border:1px solid #dfe6f1;border-radius:6px;overflow:hidden;background:#f7f9fc}.device-mini.mobile{max-width:220px;margin:auto;border-radius:15px;border:5px solid #e1e6ef}.device-mini-body{display:flex}.device-mini .mini-chat{flex:1;min-width:0;height:210px;padding:12px}.mini-side-rec{width:75px;border-left:1px solid #e3e9f2;background:white;padding:14px 7px;font-size:9px;color:#8394ab}.mini-recommend{font-size:10px;background:white;padding:10px;margin-top:12px;color:#7186a4}.device-mini .mini-head{padding:10px 12px}.device-mini .mini-bubble{max-width:100%;font-size:10px}
.workspace-identity{padding:12px 14px}.editor-one-column{display:block;max-width:none;padding-bottom:70px}.editor-one-column>div{max-width:none}.editor-content>.page-title{margin-bottom:16px}.editor-content .back-editor{padding:0}.question-row{display:flex;align-items:center;gap:12px}.question-row>input{flex:1;min-width:0}.help-mark{display:inline-grid;place-items:center;width:17px;height:17px;border:1px solid #a6b4c5;color:#90a0b5;background:none;border-radius:50%;font-size:10px;padding:0;flex-shrink:0;cursor:help}.appearance-expanded{grid-template-columns:minmax(350px,.85fr) minmax(480px,1.25fr);gap:20px}.appearance-expanded>.hint-card{position:sticky;top:48px;display:block}.appearance-expanded .position-box .field-grid{grid-template-columns:1fr 1fr}.appearance-expanded .position-box .field{margin-bottom:12px}.appearance-expanded #style-preview{overflow:hidden}.preview-natural-stage{display:grid;place-items:center;background:#f4f6fa;border:1px solid #e2e8f1;padding:16px;min-height:340px}.preview-natural-stage .device-mini.pc{width:100%;border-radius:7px;aspect-ratio:1.35;display:flex;flex-direction:column}.preview-natural-stage .device-mini.pc .device-mini-body{flex:1;min-height:0}.preview-natural-stage .device-mini.pc .mini-chat{height:auto;padding:18px}.preview-natural-stage .device-mini.pc .mini-side-rec{width:29%;font-size:11px;padding:18px 12px}.preview-natural-stage .mini-head{font-size:14px;padding:14px 16px}.preview-natural-stage .mini-bubble{font-size:12px;line-height:1.8}.preview-natural-stage .device-mini.mobile{width:280px;max-width:100%;aspect-ratio:390/720;border-width:6px;display:flex;flex-direction:column}.preview-natural-stage .device-mini.mobile .device-mini-body{flex:1}.preview-natural-stage .device-mini.mobile .mini-chat{height:auto;padding:18px}.preview-natural-stage .mini-recommend{font-size:12px;padding:15px;line-height:2}.preview-compose-placeholder{border-top:1px solid #e0e7f1;background:white;color:#a6b2c0;font-size:11px;display:flex;align-items:center;justify-content:space-between;padding:18px}.preview-compose-placeholder button{border:0;background:var(--theme);color:white;border-radius:3px;padding:5px 12px;font-size:11px}.natural-upload{border-radius:0!important;background:transparent!important;box-shadow:none!important;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.natural-upload img{object-fit:contain!important}.floating-preview{height:170px}.appearance-expanded .floating-preview .float-icon{max-width:90%;max-height:150px}#alias-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100vw);height:100dvh;max-height:100dvh;border-radius:0;display:none;box-shadow:-12px 0 60px #142b5030}#alias-drawer[open]{display:flex;flex-direction:column}#alias-drawer::backdrop{background:#0d1f3e38}.drawer-head{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.drawer-head h2 small{margin-left:8px}.drawer-content{padding:24px;overflow:auto;flex:1}.drawer-content .alias-tags{margin:0 0 26px;gap:10px}.drawer-edit-row{display:flex;gap:8px;align-items:center;width:100%}.drawer-edit-row input{min-width:0;flex:1}.drawer-content .inline-alias-add{align-items:center}.editor-savebar .help-mark{margin-right:auto}@media(max-width:1120px){.appearance-expanded{grid-template-columns:minmax(280px,.85fr) minmax(360px,1fr)}}@media(max-width:850px){.appearance-expanded{grid-template-columns:1fr}.appearance-expanded>.hint-card{position:static}.question-row{flex-wrap:wrap}.question-row>input{min-width:200px}}
#alias-drawer[open]{animation:drawer-enter .2s ease-out}@keyframes drawer-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){#alias-drawer[open]{animation:none}}
.form-title-inline{justify-content:flex-start!important;gap:16px}.form-title-inline>[data-act=preview-form]{margin-left:auto}
.review-three{display:grid;grid-template-columns:205px minmax(310px,1fr) minmax(360px,1.1fr);gap:12px;align-items:stretch;min-height:calc(100dvh - 220px)}.review-knowledge-list,.review-knowledge-detail,.review-pending-column{background:white;border:1px solid var(--line);border-radius:4px;min-width:0}.review-knowledge-list{padding:10px;max-height:calc(100dvh - 210px);overflow:auto}.review-knowledge-list>button{width:100%;border:0;border-bottom:1px solid #f0f2f6;background:white;padding:13px 10px;display:flex;align-items:center;gap:8px;text-align:left;font-size:12px;color:#63748c;line-height:1.7}.review-knowledge-list>button span{flex:1;min-width:0}.review-knowledge-list>button small{font-size:10px;color:#9aacc1}.review-knowledge-list>button.active{color:#3472f6;background:#f0f5ff}.review-knowledge-detail{padding:0 14px 20px}.review-column-title{display:flex;align-items:center;gap:8px;min-height:58px;font-size:13px;font-weight:550}.review-column-title small{font-weight:400;margin-left:5px}.standard-question-row{display:flex;gap:10px;align-items:flex-start;padding:9px 10px;border:1px solid #e3e8f0;font-size:12px}.standard-question-row span{flex:1}.standard-question-row .text-btn{font-size:11px;padding:0}.review-alias-add{display:flex;gap:7px;margin:10px 0 14px}.review-alias-add input{min-width:0;flex:1;padding:7px 9px!important;min-height:32px!important;font-size:12px}.review-existing-aliases{border:1px solid var(--line);max-height:420px;overflow:auto;min-height:140px}.review-existing-row{display:flex;gap:5px;align-items:flex-start;font-size:12px;padding:13px 9px;border-bottom:1px solid #f0f3f7}.review-existing-row:last-child{border-bottom:0}.review-existing-row>span{flex:1;min-width:0;line-height:1.7}.review-existing-row>.text-btn{font-size:11px;padding:1px 3px}.review-answer{margin-top:18px;font-size:12px}.review-answer summary{cursor:pointer;color:#677b96;padding:6px 0}.review-answer .rich{padding:12px 0;font-size:12px}.review-pending-column>.review-column-title{padding:0 16px;border-bottom:1px solid var(--line)}.review-check-all{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;background:#fcfdff;border-bottom:1px solid var(--line)}.review-check-all small{font-size:10px}.review-pending-column .review-item{padding:18px 16px;gap:10px}.review-pending-column .review-item p{font-size:13px;line-height:1.8}.review-pending-column .review-item>input{margin-top:5px;flex-shrink:0}.review-phrase-meta{font-size:10px;color:#9aa8ba;margin:8px 0}.review-phrase-actions{display:flex;gap:5px;flex-wrap:wrap}.review-phrase-actions button{font-size:11px;padding:2px 3px}.review-empty{padding:45px 15px;text-align:center;font-size:12px;color:#a4adba}.review-batch-summary{padding:10px 16px;font-size:11px;color:#6e85a6;background:#f7faff}.content:has(.review-three){max-width:none}@media(min-width:1600px){.review-three{grid-template-columns:225px minmax(380px,1fr) minmax(460px,1.1fr);gap:14px}}@media(max-width:1150px){.content:has(.review-three){overflow:auto}.review-three{min-width:930px}}
dialog.chat-only-modal{width:min(760px,calc(100vw - 32px))}.review-chat-session{font-size:12px;color:#8d9bae;padding:0 0 17px}.review-chat-messages{background:#f6f8fb;padding:18px;border-radius:5px}.review-chat-message{margin:0 45px 18px 0}.review-chat-message:last-child{margin-bottom:0}.review-chat-message>span{display:block;font-size:11px;color:#91a0b4;margin-bottom:6px}.review-chat-message>.rich{background:white;border:1px solid #e7ecf3;border-radius:5px;padding:11px 14px}.review-chat-message.from-user{margin-right:0;margin-left:45px}.review-chat-message.from-user>span{text-align:right}.review-chat-message.from-user>.rich{background:#edf3ff;border-color:#e0e9fa}
#record-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(640px,100vw);height:100dvh;max-height:100dvh;border-radius:0;display:none;box-shadow:-12px 0 60px #142b5030}#record-drawer[open]{display:flex;flex-direction:column;animation:drawer-enter .2s ease-out}#record-drawer::backdrop{background:#0d1f3e38}.record-identity{font-size:13px;color:#536881;margin-bottom:13px}.record-ip{display:flex;gap:20px;font-size:12px;color:#97a3b5;margin-bottom:22px;flex-wrap:wrap}.record-classifications{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:20px}.record-classifications>div{display:flex;justify-content:space-between;align-items:center;font-size:12px}.record-classifications span{color:#8798ad}.record-classifications b{font-size:14px;font-weight:500}.record-messages{background:#f6f8fb;padding:17px;border-radius:5px}.message-knowledge-id{font-size:10px;color:#9aa8b9;display:block;margin-bottom:7px}.record-messages .rich img{max-width:100%}

/* 统一移除内容区重复菜单标题，操作保留。 */
.content .page-title{justify-content:flex-end}.content .page-title:empty{display:none}.metric-definitions{font-size:13px;line-height:1.8}.metric-definitions p{color:#7d889a;margin-bottom:16px}.metric-definitions dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px 20px;margin:0 0 20px}.metric-definitions dt{font-weight:600}.metric-definitions dd{margin:0}

.inline-page-actions{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}.card-action-toolbar{justify-content:flex-end}.toolbar>.inline-page-actions .btn{font-size:13px}.toolbar{flex-wrap:wrap}

/* 系统列表顶部操作区统一使用无底色、无边框的页面工具栏。 */
.system-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 20px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.system-page-actions .inline-page-actions{margin-left:auto}

.service-message .who{display:flex;align-items:center;gap:8px}.service-avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#eaf1ff;color:var(--theme);flex-shrink:0}.service-avatar svg{width:20px;height:20px}.human-avatar{background:#e7f5ef;color:#238369}.chat-logo svg{width:25px;height:25px}.message.user .who span{margin-left:8px}
/* Formal host: remove prototype-only chrome; reuse d01 knowledge layout. */
.shell{min-height:100vh}.side{top:0;height:100vh}.account-actions{margin-top:12px}.feedback{min-height:24px;color:#4b7b65;font-size:12px;margin:10px 0}.feedback.error,.error{color:#c54850}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-box{width:min(420px,100%);padding:34px}.login-box .brand{padding:0 0 24px}.login-box .brand h1{font-size:28px}.login-box h2{margin-bottom:26px}.login-box .btn.primary{width:100%}.login-box form{margin-top:24px}.category-add{margin-top:20px}.content:has(.editor-layout){padding-bottom:18px}.editor-area{overflow-wrap:anywhere}.editor-area:focus{outline:2px solid #b8d0ff}.editor-area img{max-width:100%}#toast{position:fixed;top:auto;left:50%;bottom:24px;transform:translateX(-50%);background:#20354b;color:white;border-radius:6px;padding:12px 20px;box-shadow:0 4px 20px #12233b22;z-index:200;max-width:80vw}#toast[hidden]{display:none}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}.modal-body{padding:22px 24px}.modal-foot{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--line)}.close{background:none;border:0;color:#8996aa;font-size:24px;line-height:1}.order-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}dialog{padding:0;border:0;border-radius:8px;width:min(520px,calc(100vw - 32px));max-height:90dvh;overflow:auto}dialog::backdrop{background:#0d1f3e38}.full-editor{min-height:320px}.editor-tools button{border:0;background:white;padding:8px 12px;color:#6d7e94;font-size:12px}.alias-chip{display:inline-flex;max-width:100%;align-items:center;background:#f2f6fc;border:1px solid #e4ebf6;border-radius:4px;padding:5px 7px;gap:7px}.alias-chip button{background:none;border:0;color:#667f9e;text-align:left;overflow-wrap:anywhere}.alias-tags{display:flex;flex-wrap:wrap;gap:10px}.inline-page-actions{margin-left:auto}#alias-feedback{font-size:12px;margin-top:15px;color:#637e9d}@media(max-width:800px){.shell{grid-template-columns:160px minmax(0,1fr)}.content{padding:18px 15px}.brand b{font-size:20px}.workspace-top{height:auto;min-height:74px;flex-wrap:wrap;gap:10px;padding:12px 16px}.toolbar input{max-width:none}.editor-savebar{flex-wrap:wrap}.side{padding:22px 8px}.brand{padding:0 7px 24px}.nav-label{padding-left:9px}}
/* QA020-K01-001: inherited rich-text controls, scoped to the answer editor. */
#answer-tools{display:flex;align-items:center;flex-wrap:wrap;gap:3px;padding:7px;background:#fafbfd}#answer-tools button{font-size:12px;padding:7px 9px;min-height:32px;border:1px solid transparent;border-radius:3px}#answer-tools button:hover:not(:disabled){background:#edf3ff;border-color:#d2e1ff;color:var(--blue)}#answer-tools button:disabled{opacity:.4}.tool-divider{height:20px;width:1px;background:var(--line);margin:0 4px}.text-color-tool{display:flex;align-items:center;gap:6px;font-size:12px;color:#6d7e94;margin:0 8px}.text-color-tool input[type=color]{width:30px;height:28px;min-height:0;padding:2px}.image-selection-status{font-size:12px;color:#8b98aa;padding:8px 12px;border:1px solid var(--line);border-top:0}.image-preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:16px}.image-preview-list figure{margin:0;min-width:0;border:1px solid var(--line);padding:8px;border-radius:4px}.image-preview-list img{width:100%;height:120px;object-fit:contain}.image-preview-list figcaption{font-size:11px;color:#8290a5;overflow-wrap:anywhere;margin-top:6px}#image-upload-progress{font-size:12px;color:#5e7c9d;margin-top:12px}.image-size-hint{margin-top:12px}.rich img{height:auto;max-width:100%;object-fit:contain}#knowledge-answer img{cursor:pointer}.image-lightbox{width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);background:#fff}.lightbox-head{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--line)}.lightbox-body{padding:20px;overflow:auto;max-height:calc(100dvh - 100px);text-align:center}.lightbox-body img{max-width:100%;height:auto;object-fit:contain}.editor-area.rich ul,.editor-area.rich ol{padding-left:28px}.editor-area.rich li{white-space:normal}
.config-tabs{display:flex;gap:24px;align-items:center;margin-bottom:22px;border-bottom:1px solid var(--line)}.config-tabs>button{background:none;border:0;padding:12px 2px;color:var(--muted)}.config-tabs>button.active{color:var(--blue);border-bottom:2px solid var(--blue)}.config-save{margin-top:22px;padding-bottom:28px}.recommendation-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.grow{flex:1}.selection-list{max-height:360px;overflow:auto;padding:15px 0}.selection-list label{padding:8px}.selection-list input{margin-right:10px}.appearance-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(360px,1.7fr);gap:24px}.device-preview{height:480px;position:relative;margin:20px auto;background:#f4f7fb;border:1px solid var(--line);border-radius:10px;overflow:hidden}.device-preview.mobile{max-width:320px}.preview-title{background:var(--theme);color:white;padding:16px}.preview-body{padding:24px}.preview-bubble{background:white;border:1px solid var(--line);padding:15px;border-radius:8px;width:80%}.entry-preview{position:absolute;border-radius:50%;min-width:52px;min-height:52px;color:white;display:grid;place-items:center;font-size:26px;overflow:hidden}.entry-preview img{max-width:120px;max-height:120px}.schedule-interval{margin:10px 0}.schedule-interval select{max-width:90px}.schedule-interval input{min-width:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.chat-page{background:#eef2f7}.chat-shell{max-width:1120px;height:100dvh;min-height:320px;margin:auto;background:white;display:flex;flex-direction:column;box-shadow:0 0 30px #1b355a0d}.chat-heading{display:flex;align-items:center;gap:12px;padding:16px 24px;background:var(--theme);color:white;flex-shrink:0}.chat-avatar{background:#fff3;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:22px}.chat-columns{display:flex;flex:1;min-height:0}.chat-main{display:flex;flex-direction:column;flex:1;min-width:0}.chat-history{flex:1;overflow:auto;padding:24px;background:#f7f9fc;overscroll-behavior:contain}.chat-message{display:flex;gap:10px;margin-bottom:22px;align-items:flex-start}.chat-message.user{flex-direction:row-reverse}.message-avatar{flex-shrink:0;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;background:#e2ebff;color:var(--theme)}.message-author{font-size:12px;color:#748197;margin-bottom:6px}.message-author time{margin-left:8px}.message-content{min-width:0;max-width:85%}.message-bubble{padding:12px 15px;background:white;border:1px solid var(--line);border-radius:2px 12px 12px;overflow-wrap:anywhere}.message-bubble img{max-width:100%;height:auto}.user .message-bubble{background:var(--theme);color:white;border:0;border-radius:12px 2px 12px 12px}.user .message-author{text-align:right}.chat-candidates{display:flex;flex-direction:column;gap:8px;margin-top:12px}.chat-candidates button,.chat-recommendations button{color:var(--theme);text-align:left;border:0;background:none;padding:7px 0}.chat-recommendations{width:255px;border-left:1px solid var(--line);padding:25px 22px}.chat-recommendations h2{margin-bottom:20px}.chat-recommendations button{display:block;width:100%;border-bottom:1px solid var(--line)}#chat-compose{padding:14px 20px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}#chat-question{border:0;resize:none;min-height:65px;max-height:160px;padding:0;box-shadow:none;outline:none}.chat-compose-foot{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.chat-compose-foot .primary{background:var(--theme);border-color:var(--theme)}.chat-notice{padding:5px 20px;min-height:12px;font-size:12px;color:#93652b}.chat-loading{padding:80px 24px;text-align:center}.chat-mobile-recommendations{display:none}@media(max-width:600px){.chat-shell{width:100%;box-shadow:none}.chat-recommendations{display:none}.chat-heading{padding:12px 16px}.chat-history{padding:16px}.message-content{max-width:85%}.appearance-layout{grid-template-columns:1fr}}
.review-layout{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(230px,1fr) minmax(320px,1.5fr);gap:18px;align-items:start}.review-groups{overflow:hidden}.review-groups>button{display:flex;text-align:left;justify-content:space-between;gap:12px;width:100%;padding:18px 16px;border:0;border-bottom:1px solid var(--line);background:white}.review-groups>button.active{color:var(--blue);background:#edf3ff;border-left:3px solid var(--blue)}.review-knowledge h2{margin-bottom:14px}.review-aliases{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.review-answer{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.review-answer summary{cursor:pointer;color:var(--blue)}.review-answer .rich{margin-top:16px}.pending-question{border-top:1px solid var(--line);padding:18px 0}.pending-question small{display:block;margin:8px 0 12px}.review-batch{padding-bottom:18px}.review-transcript{max-height:60vh;overflow:auto}.review-transcript article{padding:14px 0;border-bottom:1px solid var(--line)}@media(max-width:1100px){.review-layout{grid-template-columns:180px minmax(230px,1fr) minmax(300px,1.4fr);gap:12px}.review-pending .btn{padding:4px 6px}}
.record-table{min-width:1500px}.record-table th,.record-table td{white-space:nowrap}#record-filter input[type=date]{width:150px}.review-transcript img{max-width:100%;height:auto}@media(max-width:600px){.chat-mobile-recommendations{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.chat-mobile-recommendations button{background:white;border:1px solid var(--line);border-radius:18px;padding:8px 12px;color:var(--theme);text-align:left}}
.feedback.warning{color:#966219;background:#fff8e8;padding:9px 12px;border-radius:4px}.feedback.warning .btn{margin-left:8px}

.editor-savebar #save-feedback{flex:1;margin:0;min-width:0;overflow-wrap:anywhere}.editor-savebar #save-feedback:empty{display:none}@media(max-width:800px){.editor-savebar #save-feedback{flex-basis:100%;order:3}}

.entry-preview:has(img){min-width:0;min-height:0;border-radius:0;background:transparent!important;overflow:visible}.entry-preview img{display:block;max-width:none;max-height:none}

/* DES020-F01–06: preserve the approved preview, identity, and view-only actions. */
[hidden]{display:none!important}.mini-recommend>span,.mini-side-rec>span{display:block;margin-top:10px}.preview-natural-stage .device-mini.pc{min-height:360px}.preview-natural-stage .device-mini-body{display:flex}.preview-natural-stage .mini-chat{flex:1;min-width:0}.preview-natural-stage .mini-side-rec{border-left:1px solid var(--line)}.floating-preview{overflow:hidden}.schedule-group+.schedule-group{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.metric-definitions dt{font-weight:600;margin-top:14px}.metric-definitions dd{margin:4px 0 0;color:#728096;font-size:12px}.chat-avatar{display:inline-flex;align-items:center;justify-content:center}.chat-avatar svg{width:24px;height:24px}.chat-message{display:block;margin-bottom:22px}.chat-message.user{display:flex;justify-content:flex-end}.message-author{display:flex;align-items:center;gap:8px;font-size:11px;color:#91a0b4}.message-author time{margin-left:0}.user .message-author{justify-content:flex-end}.message-bubble{padding:12px 15px;background:white;border:1px solid #e9edf3;border-radius:2px 9px 9px 9px;font-size:13px;line-height:1.9;color:var(--ink)}.user .message-bubble{background:#edf3ff;border:1px solid #e1eaff;border-radius:9px 2px 9px 9px;color:var(--ink)}.message-bubble p{margin:5px 0}.message-bubble a{color:var(--theme)}

.chat-message.user{flex-direction:row;justify-content:flex-end}.chat-message .message-content{width:fit-content;max-width:85%}

/* Original aspect ratio, contained on both phone and desktop. */
#chat-history img,#snapshot-content img{cursor:zoom-in}
.chat-image-viewer{position:fixed;inset:0;width:min(96vw,1200px);max-width:96vw;max-height:94dvh;border:0;border-radius:12px;padding:48px 16px 16px;background:#fff;overflow:auto}
.chat-image-viewer::backdrop{background:rgba(15,23,42,.75)}
.chat-image-viewer>button{position:absolute;right:12px;top:8px}
.chat-image-viewer>img{display:block;max-width:100%;max-height:calc(94dvh - 80px);width:auto;height:auto;margin:auto;object-fit:contain}


/* INT-D01/D02: preserve the confirmed title/switch/preview arrangement. */
.human-setting-heading{margin-bottom:24px}
.form-title-inline h2{margin-right:8px}
.form-title-inline .switch{margin-right:auto}
.switch{display:inline-flex;gap:10px;align-items:center;font-size:13px;cursor:pointer;margin:0}
.switch input{position:absolute;opacity:0;width:0;height:0}
.switch i{display:block;width:34px;height:20px;background:#c9d1dc;border-radius:15px;position:relative;transition:.15s}
.switch i:before{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:white;transition:.15s}
.switch input:checked+i{background:var(--blue)}
.switch input:checked+i:before{transform:translateX(14px)}
.switch input:focus-visible+i{outline:3px solid #a7c5ff;outline-offset:2px}
.switch input:disabled+i{opacity:.5}

/* V0.3.0 d01: independent configuration navigation. */
.base-config-entry{margin-top:18px;border-top:1px solid #ffffff24!important;padding-top:17px!important}.base-config-entry.active{border-top-color:transparent!important}
@media(max-width:600px){.base-config-entry{margin-top:0;padding-top:9px!important}}

/* V0.3.0 d01: role assets and transfer tool row. */
.chat-compose-tools{display:flex;justify-content:flex-end;min-height:34px;margin-bottom:8px}.chat-compose-tools:empty{display:none}.chat-compose-tools #chat-handoff{margin-left:auto;font-size:11px;padding:4px 10px;min-height:28px}.service-avatar,.human-avatar,.chat-avatar{background:transparent;color:inherit;border:0;box-shadow:none;width:36px;height:36px;flex-shrink:0}.service-avatar img,.chat-avatar img{width:36px;height:36px;object-fit:contain}.message-author:has(.service-avatar){min-height:36px;gap:9px}
@media(max-width:600px){.service-avatar,.service-avatar img{width:34px;height:34px}.chat-compose-tools{min-height:32px}}

/* V0.3.0 default horizontal entry and complete schedule sets. */
.entry-preview{min-width:0;min-height:0;border-radius:0;background:transparent!important;overflow:visible}.entry-preview img{display:block;width:auto;height:auto;max-width:none;max-height:none}.schedule-display-group{display:grid;grid-template-columns:minmax(110px,170px) 1fr;gap:20px;line-height:1.9}.schedule-display-group+.schedule-display-group{margin-top:8px}

.entry-upload-preview{height:136px;display:flex;align-items:center;justify-content:center;background:#f4f7fb;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:12px}.entry-upload-preview img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.entry-upload-actions{margin-bottom:8px}.entry-upload-actions label{margin:0;cursor:pointer}.category-edit-row{gap:12px;min-height:52px}.category-edit-row input{flex:1;min-width:0}

/* User review: space category editing and keep complete schedule sets readable. */
.category-row{padding:14px 12px;min-height:58px;gap:16px}.category-row>.spacer{min-width:0;overflow-wrap:anywhere;line-height:1.8}.category-row>button{flex-shrink:0}.category-row.category-edit-row{padding:16px 12px;gap:12px 16px;min-height:76px;flex-wrap:wrap}.category-edit-row input{flex:1 1 220px;min-width:0;min-height:44px;padding:11px 14px}.category-edit-row .btn,.category-edit-row .text-btn{min-height:40px;padding:8px 12px}.category-add{padding:0 12px;margin-top:24px}
.schedule-table-wrap{overflow-x:auto}.schedule-table{width:100%;min-width:520px;table-layout:fixed}.schedule-table th:first-child{width:24%}.schedule-table th:last-child{width:84px}.schedule-table td{vertical-align:top;overflow-wrap:anywhere}.schedule-display-group{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 20px;line-height:1.9}.schedule-display-group>span:first-child{flex:1 1 150px;min-width:0;overflow-wrap:anywhere}.schedule-display-group>span:last-child{flex:1 1 160px;min-width:0;white-space:nowrap}.schedule-display-group+.schedule-display-group{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}

/* Schedule list must override the inherited global table nowrap rule. */
.schedule-table{white-space:normal}.schedule-display-group>span:first-child{white-space:normal}

/* Confirmed phone feedback: one recommendation per row; desktop unchanged. */
@media(max-width:600px){.chat-mobile-recommendations{flex-direction:column;flex-wrap:nowrap;align-items:stretch}.chat-mobile-recommendations button{width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}}

/* V040 N01: field-level phrase conflicts, preserving full knowledge titles. */
.phrase-conflict{color:#cf424b;font-size:12px;line-height:1.7;white-space:normal;overflow-wrap:anywhere;margin:5px 0 0}input[aria-invalid="true"]{border-color:#cf424b!important}.drawer-edit-row,.inline-alias-add{flex-wrap:wrap}.drawer-edit-row .phrase-conflict,.inline-alias-add .phrase-conflict{order:3;flex:0 0 100%;width:100%}

.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0}.stats-card{background:#fff;border:1px solid #e1e6ed;border-radius:6px;overflow:hidden}.stats-total{padding:22px;text-align:center;border-bottom:1px solid #e8ecf2;display:flex;flex-direction:column;gap:8px;color:#667085;font-size:16px}.stats-total strong{font-size:38px;font-weight:500;color:#3478f6;line-height:1.2}.stats-details{padding:14px 24px 20px;min-height:192px;background:#fcfdff}.stats-row{display:flex;justify-content:space-between;gap:20px;line-height:32px;color:#667085;font-size:14px}.stats-row strong{color:#27364b;font-weight:500;font-variant-numeric:tabular-nums}.stats-explanation{max-height:65vh;overflow:auto;padding-right:12px}.stats-explanation dt{font-weight:600;color:#27364b;margin-top:16px}.stats-explanation dd{margin:5px 0 12px;line-height:1.7;color:#667085}.stats-explanation p{line-height:1.7;color:#667085}@media(max-width:760px){.stats-grid{grid-template-columns:1fr;gap:16px}.stats-details{min-height:0}}
.metric-help{position:relative;display:inline-flex;vertical-align:middle;margin-left:7px;text-align:left;line-height:1.5}.metric-help-icon{border:1px solid #a4b0c2;border-radius:50%;width:15px;height:15px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:10px;color:#7e8da5;background:transparent;cursor:help;font-family:Arial;line-height:1}.metric-help-icon:focus-visible{outline:2px solid #3478f6;outline-offset:3px}.metric-tip{position:absolute;left:-12px;top:calc(100% + 9px);width:270px;padding:10px 12px;box-sizing:border-box;border-radius:6px;color:#fff;background:#27364b;font-size:12px;font-weight:400;line-height:1.7;box-shadow:0 4px 14px #172b4d26;z-index:80;visibility:hidden;opacity:0;pointer-events:none;white-space:normal}.metric-help:hover .metric-tip,.metric-help:focus-within .metric-tip{visibility:visible;opacity:1}.stats-card{overflow:visible}.metric-tip:before{content:"";position:absolute;top:-5px;left:14px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #27364b}.stats-total .metric-tip{left:50%;transform:translateX(-50%)}.stats-total .metric-tip:before{left:calc(50% - 5px)}

.metric-tip,.stats-total .metric-tip{position:fixed;transform:none;max-width:calc(100vw - 16px)}.metric-tip:before{display:none}
.nav-config-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:none;color:inherit}.base-config-entry{display:flex;align-items:center;gap:12px}
