.knowledge-autocomplete{position:relative;min-width:0;width:100%}.knowledge-autocomplete>input{width:100%;min-width:0}.knowledge-suggestions{position:absolute;top:calc(100% + 8px);left:0;z-index:30;width:min(640px,calc(100vw - 64px));min-width:100%;max-width:calc(100vw - 48px);border:1px solid #dce4f0;border-radius:14px;background:#fff;box-shadow:0 16px 48px #263d6226;overflow:hidden;color:#233753}.knowledge-suggestions[hidden]{display:none}.knowledge-suggest-status{padding:12px 16px;margin:0;font-size:12px;color:#7a879c;background:#f8faff;border-bottom:1px solid #edf0f6}.knowledge-suggestions [role=listbox]{max-height:min(400px,50dvh);overflow-y:auto;overscroll-behavior:contain}.knowledge-suggestions [role=option]{display:flex;align-items:center;gap:12px;width:100%;min-width:0;border:0;border-radius:0;background:#fff;text-align:left;padding:13px 16px;box-shadow:none;white-space:normal;border-bottom:1px solid #f0f3f8}.knowledge-suggestions [role=option]:last-child{border-bottom:0}.knowledge-suggestions [role=option]:hover,.knowledge-suggestions [aria-selected=true]{background:#eef4ff}.knowledge-suggestions [role=option]>span:nth-child(2){min-width:0;flex:1}.knowledge-suggestions strong{display:block;font-size:14px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}.knowledge-suggestions small{display:block;color:#8793a6;font-size:11px;margin-top:3px}.knowledge-suggest-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:9px;background:#eaf0ff;color:#4868c7;font-weight:600}.knowledge-suggest-arrow{flex:none;color:#8b9cc0}.knowledge-customer-page>article.card,.knowledge-page{border:1px solid #e2e8f1;border-radius:16px;box-shadow:0 4px 20px #253b5c05}.knowledge-page .section-heading{margin-bottom:16px}.knowledge-page .section-heading h2,.knowledge-customer-page [data-title]{font-size:22px;letter-spacing:-.4px}.knowledge-page .section-heading p,.knowledge-customer-page [data-description]{font-size:13px;color:#7b879c;line-height:1.7}.knowledge-stats{gap:0;border:1px solid #e5eaf2;border-radius:12px;overflow:hidden;margin:18px 0 22px}.knowledge-stats>div{border:0;border-radius:0;background:#f8faff;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:8px}.knowledge-stats>div+div{border-left:1px solid #e5eaf2}.knowledge-stats strong{font-size:23px;margin:0;font-variant-numeric:tabular-nums}.knowledge-filters,.knowledge-customer-page .customer-filters{padding:16px;background:#f8faff;border:1px solid #e7edf5;border-radius:12px;position:relative;overflow:visible}.knowledge-filters .knowledge-search{flex-basis:100%;font-weight:600;color:#3b4e6c}.knowledge-filters .knowledge-search input,.knowledge-customer-page .customer-keyword input{height:46px;border-radius:9px;background:#fff;padding:10px 13px;font-size:14px;border-color:#d9e2f0}.knowledge-filters label:not(.knowledge-search){flex:0 1 160px}.knowledge-filters input:focus,.knowledge-customer-page .customer-keyword input:focus{outline:3px solid #dce7ff;outline-offset:1px}.knowledge-page [data-k-list],.knowledge-customer-page [data-list]{overflow:visible}.knowledge-page .knowledge-list,.knowledge-customer-page .knowledge-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.knowledge-list-item{min-width:0;align-items:flex-start;flex-direction:column;gap:8px;border:1px solid #e5eaf2;border-radius:12px;padding:18px;background:#fff;transition:border-color .15s,box-shadow .15s}.knowledge-list-item:hover{border-color:#bfcfed;box-shadow:0 4px 15px #223b5c08}.knowledge-title-link{font-size:15px;line-height:1.65;color:#263d61}.knowledge-list-main{width:100%}.knowledge-list-item p{font-size:12px;line-height:1.8;margin:8px 0 12px;color:#7b879b}.knowledge-list-item small{font-size:11px}.knowledge-list-actions{margin-top:auto;justify-content:flex-end;width:100%;flex-wrap:wrap}.knowledge-list-actions button,.knowledge-customer-page .knowledge-list-item>button{font-size:12px;min-height:32px;padding:5px 11px}.knowledge-customer-page .knowledge-list-item>button{align-self:flex-end}.knowledge-badge.is-published{background:#e8f6ef;color:#277554}.knowledge-badge.is-draft{background:#fff4db;color:#9b6c11}.knowledge-badge.is-withdrawn{background:#f9ebed;color:#ae5365}.knowledge-customer-page .customer-keyword{flex:1;min-width:0}.knowledge-customer-page .customer-filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.knowledge-customer-page .customer-keyword{display:grid;gap:7px;font-size:12px}.knowledge-customer-page .self-service-pagination,.knowledge-pager{border-top:1px solid #edf0f6;margin-top:20px;padding-top:16px}.knowledge-page,.knowledge-customer-page{min-width:0}.knowledge-page .empty-state,.knowledge-customer-page .empty-state{grid-column:1/-1;padding:40px 16px;background:#f8faff;border-radius:12px;color:#8793a6}
@media(min-width:1100px){.knowledge-filters .knowledge-search{flex:2 1 330px}.knowledge-filters label:not(.knowledge-search){flex:1 1 100px}}
.knowledge-filters>label,.knowledge-customer-page .customer-filters>label{margin:0;gap:6px}
.knowledge-autocomplete>input{display:block}
.knowledge-filters .knowledge-search input[type=search],.knowledge-filters select,.knowledge-filters .ss-trigger,.knowledge-filters>button,.knowledge-customer-page .customer-filters .customer-keyword input[type=search],.knowledge-customer-page .customer-filters select,.knowledge-customer-page .customer-filters .ss-trigger,.knowledge-customer-page .customer-filters>button{height:44px;min-height:44px;box-sizing:border-box;margin:0;line-height:20px}
.knowledge-filters>button,.knowledge-customer-page .customer-filters>button{align-self:flex-end;flex-shrink:0;white-space:nowrap}
@media(max-width:700px){.knowledge-page .knowledge-list,.knowledge-customer-page .knowledge-list{grid-template-columns:minmax(0,1fr)}.knowledge-stats>div{padding:10px 12px}.knowledge-stats>div:nth-child(3){border-left:0;border-top:1px solid #e5eaf2}.knowledge-stats>div:nth-child(4){border-top:1px solid #e5eaf2}.knowledge-stats strong{font-size:21px}.knowledge-filters,.knowledge-customer-page .customer-filters{padding:12px;gap:10px}.knowledge-filters label:not(.knowledge-search){flex:1 1 40%}.knowledge-customer-page .customer-keyword{flex-basis:100%}.knowledge-page .section-heading{flex-wrap:wrap;gap:10px}.knowledge-page .section-heading p{font-size:12px}.knowledge-list-item{padding:15px}.knowledge-suggestions{width:100%;max-width:100%;min-width:0}.knowledge-suggestions [role=option]{padding:12px;gap:9px}.knowledge-suggestions strong{font-size:13px}.knowledge-suggest-arrow{display:none}.knowledge-page .section-heading h2,.knowledge-customer-page [data-title]{font-size:19px}.knowledge-pager,.self-service-pagination{flex-wrap:wrap}.knowledge-reader .knowledge-reader-layout:has(>aside:only-child){display:block}}

/* Customers start with a search entry; staff keep the management layout above. */
.knowledge-customer-search{box-sizing:border-box}
.knowledge-customer-search .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.knowledge-customer-search.knowledge-search-home{min-height:0;padding-top:0}
.knowledge-customer-search :is(.knowledge-filters,.customer-filters){display:flex;flex-wrap:nowrap;align-items:center;gap:6px;width:min(760px,100%);box-sizing:border-box;margin:0 auto;padding:6px;background:#fff;border:1px solid #d9e2f0;border-radius:16px;box-shadow:0 4px 20px #253b5c0a}
.knowledge-customer-search :is(.knowledge-filters,.customer-filters):focus-within{border-color:#8ba5e0;box-shadow:0 0 0 3px #e8efff}
.knowledge-customer-search :is(.knowledge-search,.customer-keyword){flex:1 1 0;min-width:0;margin:0;gap:0}
.knowledge-customer-search :is(.knowledge-search,.customer-keyword) input[type=search]{height:48px;min-height:48px;margin:0;border:0;border-radius:10px;padding:10px 14px;box-shadow:none;font-size:15px;background:transparent}
.knowledge-customer-search :is(.knowledge-search,.customer-keyword) input[type=search]:focus{outline:0}
.knowledge-customer-search :is(.knowledge-filters,.customer-filters)>button{align-self:center;border-radius:10px}
.knowledge-customer-search .knowledge-suggestions{width:100%;min-width:0;max-width:100%}
.knowledge-customer-search>.error-text:empty{display:none}
.knowledge-customer-search :is([data-k-list],[data-list],.knowledge-pager,.self-service-pagination){max-width:900px;margin-left:auto;margin-right:auto;width:100%;box-sizing:border-box}
.knowledge-customer-search .knowledge-list{grid-template-columns:minmax(0,1fr)}
@media(max-width:700px){.knowledge-customer-search.knowledge-search-home{padding-top:0}.knowledge-customer-search :is(.knowledge-filters,.customer-filters){gap:4px;padding:4px;border-radius:14px}.knowledge-customer-search :is(.knowledge-search,.customer-keyword) input[type=search]{padding:10px;font-size:14px}.knowledge-customer-search :is(.knowledge-filters,.customer-filters)>button{padding:6px 10px}.knowledge-customer-search.knowledge-search-home [type=search]::placeholder{font-size:12px}}

/* Business library: a sticky search dock, topic navigation and inline answers. */
.knowledge-search-dock{position:sticky;top:0;z-index:35;padding:10px 0 12px;background:#fffdf9}
.knowledge-location{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px 0;font-size:12px;color:#805722}
.knowledge-location button{flex:none;white-space:nowrap;border:0;background:transparent;color:#805722;padding:4px;min-height:28px;font-size:12px;box-shadow:none;text-decoration:underline}
body .knowledge-page{background:#fffdf9;border-color:#e8dfd1;box-shadow:none;padding:16px 24px 24px;min-height:0}
body .knowledge-page .section-heading h2{font-size:22px;font-weight:600;color:#171735;letter-spacing:0}
body .knowledge-page .section-heading p{color:#655e75;font-size:14px}
body .knowledge-page .knowledge-filters{width:100%;max-width:none;margin:0;background:#f9f6ef;border-color:#e8dfd1;box-shadow:none;border-radius:9px}
body .knowledge-customer-search .knowledge-filters{padding:6px;gap:8px}
body .knowledge-customer-search .knowledge-search input[type=search]{height:40px;min-height:40px;font-size:14px}
body .knowledge-customer-search .knowledge-filters>button{height:36px;min-height:36px}
.knowledge-library{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:start}
.knowledge-topics{position:sticky;top:var(--knowledge-search-height,78px);display:grid;gap:4px;padding:6px 16px 16px 0;border-right:1px solid #e8dfd1;min-width:0;max-height:calc(100dvh - var(--knowledge-search-height,78px) - 180px);overflow-y:auto;scrollbar-width:thin}
.knowledge-topic-label{font-size:12px;color:#817970;padding:4px 12px 10px}
body .knowledge-topics button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;padding:9px 12px;margin:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#605767;font-size:14px;font-weight:400;box-shadow:none;text-align:left;white-space:nowrap}
body .knowledge-topics button:hover{background:#f9f6ef}
body .knowledge-topics button[aria-pressed=true]{background:#f2eadd;color:#805722;border-color:#e8dac5;font-weight:600}
.knowledge-topics small{font-size:12px;font-variant-numeric:tabular-nums;color:#857c72}
.knowledge-results{min-width:0}
.knowledge-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e8dfd1}
.knowledge-results-heading h3{margin:0;font-size:16px;font-weight:600;color:#171735}
.knowledge-results-heading>span{font-size:12px;color:#817970}
body .knowledge-page .knowledge-list{display:block;max-width:none;margin:0;width:100%}
body .knowledge-page .knowledge-list-item{display:flex;flex-direction:row;align-items:stretch;gap:18px;margin:0;border:0;border-bottom:1px solid #ece6dd;border-radius:0;padding:17px 0;background:transparent;box-shadow:none;scroll-margin-top:calc(var(--knowledge-search-height,78px) + 10px)}
body .knowledge-page .knowledge-list-item:hover{box-shadow:none;background:transparent;border-color:#ece6dd}
body .knowledge-page .knowledge-list-main{flex:1;min-width:0;width:auto}
body .knowledge-page .knowledge-title-link{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;margin:0;padding:0;min-height:32px;border:0;background:transparent;text-align:left;color:#171735;font-size:16px;font-weight:600;line-height:1.65;white-space:normal;box-shadow:none}
body .knowledge-page .knowledge-title-link:hover{color:#8a602a;text-decoration:none}
.knowledge-title-link>span{min-width:0}
.knowledge-expand-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
[data-k-inline][aria-expanded=true] .knowledge-expand-icon{transform:rotate(180deg)}
body .knowledge-page .knowledge-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:5px 32px 9px 0;font-size:14px;line-height:1.7;color:#655e75}
.knowledge-list-main:has([data-k-inline][aria-expanded=true])>.knowledge-summary{display:none!important}
.knowledge-list-meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:12px;color:#817970}
.knowledge-list-meta>span:first-child{color:#8a602a}
body .knowledge-page .knowledge-list-meta small{font-size:12px;color:#817970}
body .knowledge-page .knowledge-list-actions{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;justify-content:flex-start;width:auto;margin:0;gap:7px}
body .knowledge-page .knowledge-list-actions button{margin:0;background:transparent;border-color:#e8dfd1;color:#8a602a;font-size:12px;min-height:32px;padding:5px 10px;box-shadow:none}
.knowledge-page .knowledge-tags{margin-top:10px}
.knowledge-page .knowledge-inline-answer{margin-top:14px;padding:18px 20px;background:#f9f6ef;border:1px solid #e8dfd1;border-radius:8px;white-space:normal;overflow-wrap:anywhere}
.knowledge-page .knowledge-answer-text{max-width:900px;white-space:pre-wrap;font-size:15px;line-height:1.9;color:#393449}
.knowledge-answer-toolbar{display:flex;justify-content:flex-end;margin-top:12px}
body .knowledge-answer-toolbar button{font-size:12px;min-height:30px;padding:4px 8px;background:transparent;border:0;color:#8a602a;box-shadow:none}
.knowledge-page .knowledge-inline-answer :is(p,.knowledge-feedback-comment){display:block;-webkit-line-clamp:unset;overflow:visible}
.knowledge-target .knowledge-title-link{color:#805722!important}
body .knowledge-page .knowledge-pager{max-width:none;margin:18px 0 0;width:100%;border:0;padding:0;font-size:12px}
body .knowledge-page .empty-state{background:#f9f6ef;font-size:14px;margin-top:18px}
@media(max-width:850px){.knowledge-library{grid-template-columns:160px minmax(0,1fr);gap:18px}body .knowledge-page{padding:12px 18px 18px}}
@media(max-width:600px){
 .knowledge-library{display:block}.knowledge-topics{position:sticky;top:var(--knowledge-search-height,78px);z-index:10;display:flex;overflow-x:auto;border:0;padding:4px 0 10px;margin-bottom:0;gap:6px;scrollbar-width:thin;max-height:none;background:#fffdf9}.knowledge-topic-label{display:none}
 body .knowledge-topics button{flex:0 0 auto;width:auto;min-height:36px;padding:6px 10px;font-size:13px}.knowledge-topics small{font-size:11px}
 body .knowledge-page{padding:8px 14px 14px}body .knowledge-page .section-heading h2{font-size:20px}body .knowledge-page .knowledge-list-item{flex-wrap:wrap;gap:10px;padding:14px 0;scroll-margin-top:calc(var(--knowledge-search-height,78px) + 68px)}body .knowledge-page .knowledge-list-main{flex-basis:100%}body .knowledge-page .knowledge-list-actions{flex-direction:row;align-items:center;flex-wrap:wrap}body .knowledge-page .knowledge-title-link{font-size:15px;gap:12px}body .knowledge-page .knowledge-summary{margin-right:0}.knowledge-list-meta{gap:10px}.knowledge-page .knowledge-inline-answer{padding:14px}.knowledge-page .knowledge-answer-text{font-size:14px}.knowledge-location{align-items:flex-start;gap:6px}.knowledge-location>span{padding-top:4px}
}
