.kbn-switch{display:inline-flex;gap:4px;margin:0 8px;vertical-align:middle}
.kbn-switch button{width:34px;height:34px;border:1px solid #cfd6dd;background:#fff;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;color:#555}
.kbn-switch button:hover{background:#f1f4f7}
.kbn-switch button.kbn-active{background:#e8590c;border-color:#e8590c;color:#fff}
.kbn-switch svg{width:18px;height:18px;fill:currentColor}
body.kbn-on scrm-table,body.kbn-on scrm-pagination{display:none!important}
.kbn-board{display:flex;gap:12px;overflow-x:auto;align-items:flex-start;padding:12px 4px 20px;min-height:300px}
.kbn-col{flex:0 0 290px;background:#f1f3f5;border-radius:8px;display:flex;flex-direction:column;max-height:calc(100vh - 260px)}
.kbn-head{padding:10px 12px;font-weight:600;display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid var(--kbn-c,#868e96);background:#fff;border-radius:8px 8px 0 0}
.kbn-count{background:#e9ecef;border-radius:10px;padding:1px 9px;font-size:12px}
.kbn-cards{overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:8px;flex:1}
.kbn-card{background:#fff;border:1px solid #e1e5ea;border-radius:6px;padding:9px 10px;font-size:13px;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.kbn-card a{font-weight:600;color:#1c4e80;text-decoration:none;display:block;margin-bottom:4px}
.kbn-card a:hover{text-decoration:underline}
.kbn-row{color:#555;line-height:1.5;word-break:break-word}
.kbn-row b{color:#868e96;font-weight:500}
.kbn-more{margin:0 8px 8px;padding:7px;border:1px dashed #adb5bd;background:#fff;border-radius:6px;cursor:pointer}
.kbn-more:hover{background:#f8f9fa}
.kbn-more[disabled]{opacity:.6;cursor:wait}
.kbn-empty,.kbn-msg{padding:14px;color:#868e96;text-align:center;font-size:13px}
.kbn-err{color:#c92a2a;white-space:pre-wrap;text-align:left;direction:ltr}

.kbn-switch.kbn-float{position:fixed;right:14px;bottom:14px;z-index:1000;margin:0;background:#fff;padding:4px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.25)}
@media (max-width:768px){
 .kbn-board{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:70px}
 .kbn-col{flex-basis:84vw;scroll-snap-align:start;max-height:calc(100vh - 190px)}
 .kbn-switch button{width:40px;height:40px}
}

.kbn-switch.kbn-bar{display:flex;justify-content:flex-end;gap:6px;margin:6px 10px}
