/* Product Knowledge Center: accordion (customer page + admin preview) and admin list. Tokens fall back to the store/admin variables. */
.kb-card{background:var(--sc-card,#fff);border:1px solid var(--sc-line,#e3e8e4);border-radius:16px;padding:6px 14px;margin:12px 0}
.kb-summary{margin:10px 0;color:var(--sc-ink,#1f2d27);line-height:1.8}
.kb-sec{border-top:1px solid var(--sc-line,#e3e8e4)}
.kb-sec:first-of-type{border-top:0}
.kb-sec>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 2px;min-height:48px;font-weight:700;color:var(--sc-ink,#1f2d27)}
.kb-sec>summary::-webkit-details-marker{display:none}
.kb-sec>summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--sc-brand,#147d68);flex:0 0 auto}
.kb-sec[open]>summary::after{content:"\2212"}
.kb-body{padding:0 2px 14px;line-height:1.9;color:var(--sc-ink,#1f2d27);overflow-wrap:anywhere}
.kb-st{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.78rem;background:#eef2ee;color:#4b6258}
.kb-st-published{background:#e6f4ec;color:#1f6b45}
.kb-st-review{background:#fff4db;color:#8b6b1f}
.kb-st-hidden{background:#f1eaea;color:#8a4a4a}
.kb-st-empty{background:#f3f3f3;color:#777}
.kb-row .kb-opts{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.kb-row .kb-pos{width:90px;display:inline-block}
.kb-item{display:grid;gap:6px}
.kb-ver{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #edf0eb}
.kb-copy{width:100%}
.kb-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
/* quadrupled class: also beats theme.css body.store:not([data-store-theme]) button: wins over the store/admin generic button and .button rules without !important */
body .kb-btn.kb-btn.kb-btn.kb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:12px;border:1px solid var(--sc-line,#d5ddd7);background:var(--sc-soft,#f2f6f3);color:var(--sc-ink,#1f2d27);font:inherit;font-size:.92rem;font-weight:700;text-decoration:none;cursor:pointer}
body .kb-btn.kb-btn.kb-btn.kb-btn:hover{background:#e7efe9;color:var(--sc-ink,#1f2d27);text-decoration:none}
body .kb-btn.kb-copy-sec.kb-copy-sec.kb-copy-sec{display:flex;width:fit-content;margin-top:8px;font-weight:600;font-size:.85rem;min-height:40px}
.kb-diff{border-inline-start:3px solid var(--line,#d9e2dc);padding:4px 8px;margin:6px 0}
.kb-diff div{overflow-wrap:anywhere}
.kb-bulkopts label{display:block;margin:6px 0}
