body.ui-update #app .knowledge-space{--k-bg:#fff;--k-raised:#f5f7fb;--k-text:#26364d;--k-muted:#526178;--k-border:#d5deea;--k-accent:#2459a4;--k-tint:#eaf1fd;--k-green:#176848;--k-green-bg:#e9f5ef;--k-warn:#865206;--k-warn-bg:#fff4de;--k-red:#9c303b;max-width:1180px;color:var(--k-text);font-size:13px}
html[data-theme="dark"] body.ui-update #app .knowledge-space{--k-bg:#303238;--k-raised:#383e49;--k-text:#eef0f3;--k-muted:#c0c8d5;--k-border:#596273;--k-accent:#bdd2fb;--k-tint:#35445c;--k-green:#a0e5c1;--k-green-bg:#233f34;--k-warn:#ffda96;--k-warn-bg:#473c29;--k-red:#ffbcc3;color-scheme:dark}
body.ui-update #app .knowledge-space *{box-sizing:border-box}
body.ui-update #app .knowledge-space :is(h2,h3,p){color:var(--k-text);margin:0}
body.ui-update #app .knowledge-space :is(input,textarea,select){width:100%;max-width:100%;min-width:0;border:1px solid var(--k-border);border-radius:7px;background-color:var(--k-bg);color:var(--k-text);font:inherit;box-shadow:none;margin:0}
body.ui-update #app .knowledge-space :is(input,select){height:39px;padding:8px 11px}
body.ui-update #app .knowledge-space textarea{padding:12px;line-height:1.7;resize:vertical;min-height:126px}
body.ui-update #app .knowledge-space :is(input,textarea)::placeholder{color:var(--k-muted);opacity:1}
body.ui-update #app .knowledge-space select{appearance:auto;background-image:none;padding-right:8px}
body.ui-update #app .knowledge-space :is(input,textarea,select,button):focus-visible{outline:2px solid var(--k-accent);outline-offset:3px}
body.ui-update #app .knowledge-space :is(button,input,select):disabled{opacity:.65;cursor:default}
body.ui-update #app .knowledge-space .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:7px 11px;max-width:100%;font-size:12px;font-weight:600;line-height:1.5;border:1px solid var(--k-border);border-radius:6px;color:var(--k-text);background:var(--k-bg);box-shadow:none;white-space:normal}
body.ui-update #app .knowledge-space .button:hover{background:var(--k-raised);border-color:var(--k-accent)}
body.ui-update #app .knowledge-space .button.primary{background:#365fa2;border-color:#365fa2;color:#fff}
body.ui-update #app .knowledge-space .button.primary:hover{background:#294e8a}
body.ui-update #app .knowledge-space .icon{width:18px;height:18px;flex:0 0 18px;stroke:currentColor}
body.ui-update #app .k-intro{display:flex;gap:13px;align-items:center;padding:15px 18px;margin-bottom:18px;background:var(--k-tint);border:1px solid var(--k-border);border-radius:9px;color:var(--k-accent)}
body.ui-update #app .knowledge-space .k-intro strong{font-size:14px;color:var(--k-text)}
body.ui-update #app .knowledge-space .k-intro p{margin-top:4px;color:var(--k-muted);line-height:1.6;font-size:12px}
body.ui-update #app .k-filters{padding:16px;background:var(--k-bg);border:1px solid var(--k-border);border-radius:9px}
body.ui-update #app .k-search{position:relative;display:flex;align-items:center;margin:0 0 13px}
body.ui-update #app .knowledge-space .k-search>.icon{position:absolute;left:12px;color:var(--k-muted);pointer-events:none}
body.ui-update #app .knowledge-space .k-search input{height:42px;padding-left:39px;background:var(--k-raised)}
body.ui-update #app .k-filter-row{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:13px}
body.ui-update #app .knowledge-space label{display:block;font-size:12px;font-weight:600;line-height:1.6;color:var(--k-text)}
body.ui-update #app .knowledge-space label>:is(input,select){display:block;margin-top:5px}
body.ui-update #app .knowledge-space .k-search input{margin:0}
body.ui-update #app .k-list-caption{display:flex;gap:12px;justify-content:space-between;padding:15px 2px 10px;font-size:12px;color:var(--k-muted)}
body.ui-update #app .k-topic-row{display:flex;gap:20px;padding:19px 20px;background:var(--k-bg);border:1px solid var(--k-border);border-bottom-width:0}
body.ui-update #app .k-topic-row:last-of-type{border-bottom-width:1px;border-radius:0 0 9px 9px}
body.ui-update #app .k-topic-row:first-of-type{border-radius:9px 9px 0 0}
body.ui-update #app .k-topic-row:only-of-type{border-radius:9px}
body.ui-update #app .k-topic-main{flex:1;min-width:0}
body.ui-update #app .k-topic-badges{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
body.ui-update #app .knowledge-space .k-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;border-radius:5px;padding:3px 7px;background:var(--k-warn-bg);color:var(--k-warn)}
body.ui-update #app .knowledge-space .k-status .icon{width:14px;height:14px;flex-basis:14px}
body.ui-update #app .knowledge-space .k-status.is-solved{background:var(--k-green-bg);color:var(--k-green)}
body.ui-update #app .knowledge-space .k-status.is-archived{background:var(--k-raised);color:var(--k-muted)}
body.ui-update #app .k-pinned{font-weight:600;font-size:11px;color:var(--k-accent)}
body.ui-update #app .knowledge-space .k-topic-row h2{line-height:1.4;font-size:16px;margin-bottom:7px}
body.ui-update #app .k-topic-row h2 button{padding:0;text-align:left;font:inherit;font-weight:650;background:none;border:0;color:var(--k-text);cursor:pointer;overflow-wrap:anywhere}
body.ui-update #app .k-topic-row h2 button:hover{color:var(--k-accent);text-decoration:underline;text-underline-offset:3px}
body.ui-update #app .knowledge-space .k-excerpt{font-size:12px;line-height:1.65;color:var(--k-muted);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ui-update #app .k-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}
body.ui-update #app .k-tag{background:var(--k-raised);border:1px solid var(--k-border);color:var(--k-muted);border-radius:4px;padding:3px 7px;font-size:11px}
body.ui-update #app .k-meta{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font-size:11px;color:var(--k-muted);margin-top:13px}
body.ui-update #app .k-author{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:7px;color:var(--k-text);font-weight:600;overflow-wrap:anywhere}
body.ui-update #app .k-author>span{color:var(--k-muted);font-weight:400;font-size:11px}
body.ui-update #app .k-topic-count{display:flex;flex:0 0 91px;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:var(--k-muted);font-size:11px}
body.ui-update #app .k-topic-count strong{font-size:21px;color:var(--k-text);font-weight:650}
body.ui-update #app .k-topic-count .button{margin-top:8px}
body.ui-update #app .knowledge-space .k-empty{padding:40px 20px;text-align:center;border:1px dashed var(--k-border);background:var(--k-bg);border-radius:9px;color:var(--k-muted)}
body.ui-update #app .knowledge-space .k-empty>.icon{width:26px;height:26px;margin-bottom:10px}
body.ui-update #app .knowledge-space .k-empty h2{font-size:17px;margin-bottom:8px}
body.ui-update #app .knowledge-space .k-empty p{color:var(--k-muted);line-height:1.7;max-width:460px;margin:0 auto 14px}
body.ui-update #app .knowledge-space .k-empty-small{padding:20px}
body.ui-update #app .k-pagination{display:flex;gap:14px;align-items:center;justify-content:center;margin-top:18px;color:var(--k-muted)}
body.ui-update #app .k-thread-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:15px;color:var(--k-muted);font-size:12px}
body.ui-update #app .k-thread-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}
body.ui-update #app .k-thread-toolbar>button .icon{transform:rotate(180deg)}
body.ui-update #app .k-thread-head{background:var(--k-bg);border:1px solid var(--k-border);border-radius:9px;padding:23px}
body.ui-update #app .knowledge-space .k-thread-head>h2{font-size:21px;line-height:1.4;overflow-wrap:anywhere;letter-spacing:-.02em}
body.ui-update #app .knowledge-space .k-post-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:13px;color:var(--k-text);margin:20px 0 0}
body.ui-update #app .knowledge-space :is(.k-thread-head,.k-post)>footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:13px;border-top:1px solid var(--k-border)}
body.ui-update #app .knowledge-space .k-edited{margin-top:12px;color:var(--k-muted);font-size:11px}
body.ui-update #app .k-solution-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 22px;padding:13px 17px;background:var(--k-green-bg);border:1px solid var(--k-green);border-radius:8px;color:var(--k-green)}
body.ui-update #app .k-solution-summary>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body.ui-update #app .k-reply-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 1px 12px;color:var(--k-muted);font-size:11px}
body.ui-update #app .knowledge-space .k-reply-heading h3{font-size:14px}
body.ui-update #app .k-posts{display:grid;gap:12px}
body.ui-update #app .k-post{background:var(--k-bg);border:1px solid var(--k-border);border-radius:9px;padding:19px 22px}
body.ui-update #app .k-post.is-solution{border-color:var(--k-green);border-left-width:4px;padding-left:19px}
body.ui-update #app .k-post>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
body.ui-update #app .k-post-identity{display:flex;gap:11px;align-items:center}
body.ui-update #app .k-post-identity>div{display:grid;gap:4px}
body.ui-update #app .k-post-identity time{font-size:11px;color:var(--k-muted)}
body.ui-update #app .k-avatar{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:8px;background:var(--k-tint);color:var(--k-accent);font-size:11px;font-weight:700}
body.ui-update #app .k-solution-label{display:flex;gap:5px;align-items:center;font-size:11px;font-weight:600;color:var(--k-green)}
body.ui-update #app .knowledge-space .k-solve{color:var(--k-green)}
body.ui-update #app :is(.k-compose-reply,.k-editor){background:var(--k-bg);border:1px solid var(--k-border);border-radius:9px;padding:22px;margin-top:20px}
body.ui-update #app .knowledge-space .k-compose-reply>label{font-size:14px}
body.ui-update #app .knowledge-space :is(.k-compose-reply,.k-editor)>p{font-size:12px;color:var(--k-muted);line-height:1.7;margin:5px 0 14px}
body.ui-update #app .k-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:15px}
body.ui-update #app .k-compose-actions small{color:var(--k-muted);font-size:11px}
body.ui-update #app .knowledge-space .k-editor h2{font-size:19px;line-height:1.4}
body.ui-update #app .k-editor-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px;margin:17px 0}
body.ui-update #app .knowledge-space .k-editor>textarea{margin-top:6px}
body.ui-update #app :is(.k-form-error,.k-error){color:var(--k-red);font-size:12px;line-height:1.7}
body.ui-update #app .k-form-error:not(:empty){margin-top:12px}
body.ui-update #app .k-error{padding:15px 18px;background:var(--k-bg);border:1px solid var(--k-border);border-radius:8px;margin-bottom:14px}
body.ui-update #app .knowledge-space .k-error p{color:var(--k-red);margin-bottom:10px}
body.ui-update #app .k-readonly{border:1px solid var(--k-border);border-radius:8px;padding:15px 18px;margin-top:18px;color:var(--k-muted);background:var(--k-raised);line-height:1.7;font-size:12px}
body.ui-update #app .k-loading{padding:28px;color:var(--k-muted)}
body.ui-update #app .k-conflict{margin-top:16px;padding:15px;background:var(--k-raised);border:1px solid var(--k-border);border-radius:8px}
body.ui-update #app .knowledge-space .k-conflict h3{font-size:14px;margin-bottom:10px}
body.ui-update #app .knowledge-space .k-conflict p{color:var(--k-muted);line-height:1.7;margin:12px 0}
@media(max-width:900px){body.ui-update #app .k-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}body.ui-update #app .k-editor-fields{grid-template-columns:1fr}}
@media(max-width:540px){body.ui-update #app .k-intro{padding:13px;align-items:flex-start}body.ui-update #app .k-topic-row{padding:16px 13px;gap:10px}body.ui-update #app .k-topic-count{flex-basis:64px}body.ui-update #app .k-topic-count .button{padding:5px 7px;font-size:11px}body.ui-update #app .k-topic-count .button .icon{display:none}body.ui-update #app .k-thread-head,body.ui-update #app .k-post,body.ui-update #app .k-editor,body.ui-update #app .k-compose-reply{padding:17px 14px}body.ui-update #app .k-post.is-solution{padding-left:11px}body.ui-update #app .knowledge-space .k-thread-head>h2{font-size:19px}body.ui-update #app .k-solution-summary{align-items:flex-start;flex-direction:column}body.ui-update #app .knowledge-space :is(input,select,textarea){font-size:16px}body.ui-update #app .k-list-caption{font-size:11px}body.ui-update #app .k-meta{gap:6px}body.ui-update #app .k-compose-actions{align-items:stretch;flex-direction:column}body.ui-update #app .k-compose-actions .button{width:100%}}
