.kb{--ink:#16352e;--muted:#62716c;--line:#dae4de;--accent:#176c51;color:var(--ink);max-width:1400px;margin:auto;padding:24px}.kb *{box-sizing:border-box}.kb header{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:20px}.kb h1{font-size:27px;letter-spacing:-.7px;margin:3px 0 8px}.kb h2{font-size:20px;margin:0 0 12px}.kb p{line-height:1.55}.kb .intro{color:var(--muted);max-width:730px;margin:0}.kb .actions{display:flex;gap:7px;flex-wrap:wrap;align-items:start}.kb button,.kb select,.kb input,.kb textarea{font:inherit;border:1px solid var(--line);border-radius:9px;padding:10px;background:white;color:var(--ink)}.kb button{cursor:pointer}.kb button:hover{border-color:var(--accent)}.kb button.primary{background:var(--accent);color:white}.kb button:disabled{opacity:.5;cursor:wait}.kb .metrics{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.kb .metric{background:#edf4ee;border-radius:12px;padding:14px 20px}.kb .metric strong{font-size:22px;margin-right:7px}.kb .notice{background:#fff8e7;border:1px solid #ebdba4;border-radius:12px;padding:13px 16px;margin-bottom:18px;font-size:13px}.kb .grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:20px}.kb .search{width:100%;margin-bottom:8px}.kb .filters{display:flex;gap:6px;margin-bottom:10px}.kb .filters select{width:100%;min-width:0}.kb .list{max-height:65vh;overflow:auto;display:flex;flex-direction:column;gap:6px;padding-right:4px}.kb .item{text-align:left;padding:13px;border-radius:10px;background:#fff}.kb .item.on{background:#e6f1eb;border-color:#4c9178}.kb small,.kb .muted{color:var(--muted)}.kb .item small{display:block;margin-bottom:3px}.kb .article{border:1px solid var(--line);background:white;border-radius:15px;padding:24px;min-width:0}.kb .body{white-space:pre-wrap;line-height:1.65;font-size:15px;overflow-wrap:anywhere;margin-top:22px}.kb .limits{white-space:pre-wrap;background:#f7f4eb;border-radius:10px;padding:15px;line-height:1.5;margin:20px 0}.kb .sources{overflow-wrap:anywhere;font-size:13px;line-height:1.65}.kb a{color:var(--accent)}.kb .badge{display:inline-block;padding:4px 9px;border-radius:20px;background:#edf4ee;margin:0 5px 8px 0;font-size:12px}.kb .draft{background:#fff0cd}.kb label{display:block;margin:13px 0 5px;font-size:13px;font-weight:600}.kb .editor input,.kb .editor textarea,.kb .editor select{width:100%}.kb textarea{min-height:90px;resize:vertical}.kb textarea.content{min-height:300px;line-height:1.5}.kb .row{display:flex;gap:12px;flex-wrap:wrap}.kb .row>div{flex:1;min-width:140px}.kb .status{white-space:pre-wrap;color:#8d4217;margin:10px 0;min-height:20px}.kb .panel{margin-top:20px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff}.kb .panel code,.kb .panel pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;background:#edf4ee;padding:12px;display:block;border-radius:7px;font-size:12px}.kb [hidden]{display:none!important}@media(max-width:850px){.kb{padding:16px}.kb .grid{grid-template-columns:1fr}.kb .list{max-height:230px}.kb .article{padding:18px}.kb h1{font-size:23px}.kb .metric{padding:10px}.kb .actions{width:100%}.kb .row{display:block}}
/* Isolar os artigos dos estilos globais das telas antigas do CRM. */
.kb .item{display:block;width:100%}.kb .badge{color:#176c51;line-height:1.5}.kb h2{text-transform:none;letter-spacing:normal;color:var(--ink)}
