/* Checklists is self-contained to avoid changing existing KAVA styles. */
#kava-checklists-root{color:#171717}#kava-checklists-root *{box-sizing:border-box}
.cl-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
.cl-sidebar,.cl-main{background:#fff;border:1px solid #e8e8e8;border-radius:14px;min-width:0}
.cl-sidebar{padding:20px}.cl-main{padding:28px;min-height:540px}
.cl-sidebar-head,.cl-editor-head,.cl-paste-actions,.cl-items-head,.cl-head-actions,.cl-add{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cl-sidebar h2{font-size:18px;margin:0 0 4px}.cl-sidebar-head p,.cl-editor-head p,.cl-paste p,.cl-muted,.cl-save-note{color:#777;font-size:13px;margin:0}
.cl-btn{appearance:none;border:1px solid #dedede;border-radius:8px;padding:10px 13px;background:white;color:#222;cursor:pointer;font:inherit;font-size:13px;white-space:nowrap}
.cl-btn:hover{background:#f5f5f5}.cl-btn.cl-dark{background:#181818;color:white;border-color:#181818}.cl-btn.cl-dark:hover{background:#444}.cl-btn.cl-danger{color:#b33;border-color:#f0d9d9}
.cl-list{display:grid;gap:9px;margin-top:22px}.cl-list-card{width:100%;background:#fff;text-align:left;border:1px solid #e7e7e7;border-radius:10px;padding:13px;cursor:pointer;color:inherit}
.cl-list-card.selected{border-color:#222;background:#f9f9f9}.cl-list-card strong,.cl-list-card small{display:block;overflow-wrap:anywhere}.cl-list-card strong{font-size:14px}.cl-list-card small{color:#777;font-size:12px;margin:5px 0 10px}
.cl-track,.cl-progress{display:block;background:#ededed;border-radius:100px;overflow:hidden}.cl-track{height:4px}.cl-track span,.cl-progress span{display:block;height:100%;background:#262626;transition:width .2s}
.cl-kicker{font-size:11px;font-weight:700;letter-spacing:.14em;color:#999}.cl-editor-head h2{font-size:27px;margin:7px 0}.cl-head-actions{flex-wrap:wrap}.cl-progress{height:7px;margin:22px 0 28px}
.cl-paste{background:#fafafa;border:1px solid #ececec;border-radius:12px;padding:20px}.cl-paste label{font-size:16px;font-weight:700}.cl-paste p{margin:6px 0 14px}
.cl-paste textarea,.cl-add input{width:100%;border:1px solid #dedede;border-radius:8px;background:#fff;color:#222;font:inherit;font-size:14px;padding:12px;outline:none}.cl-paste textarea:focus,.cl-add input:focus{border-color:#777}.cl-paste textarea{resize:vertical;line-height:1.65;min-height:115px}.cl-paste-actions{margin-top:12px}.cl-paste-actions span{font-size:12px;color:#888}
.cl-items-head{margin:29px 0 13px}.cl-items-head h3{margin:0;font-size:17px}.cl-items-head h3 span{font-weight:400;color:#999}.cl-text-btn{border:0;background:none;color:#777;cursor:pointer;font-size:12px}
.cl-item{display:flex;align-items:center;gap:12px;padding:12px 5px;border-bottom:1px solid #eee;min-height:49px}.cl-item input{width:18px;height:18px;flex:0 0 18px;accent-color:#222;cursor:pointer}.cl-item-title{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.cl-item.done .cl-item-title{text-decoration:line-through;color:#999}.cl-item-actions{display:flex;gap:2px}.cl-item-actions button{border:0;background:transparent;color:#888;cursor:pointer;padding:5px 7px;font-size:16px}.cl-item-actions button:hover{color:#222;background:#f5f5f5}.cl-item-actions button:disabled{opacity:.2;cursor:default}
.cl-add{margin-top:17px}.cl-add input{flex:1}.cl-save-note{margin-top:25px}.cl-no-items{padding:18px 0}.cl-empty{text-align:center;padding:100px 16px}.cl-empty-icon{font-size:45px}.cl-empty h2{font-size:23px}.cl-empty p{max-width:430px;margin:10px auto 22px;color:#777;line-height:1.6}
@media(max-width:800px){.cl-layout{grid-template-columns:1fr}.cl-sidebar,.cl-main{padding:17px}.cl-sidebar-head,.cl-editor-head{align-items:flex-start}.cl-editor-head{flex-wrap:wrap}.cl-paste-actions{align-items:stretch;flex-direction:column}.cl-add{align-items:stretch;flex-direction:column}.cl-item-actions button{padding:5px}}

.cl-paste-trigger{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:4px 0 8px}
.cl-modal-backdrop{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:20px}
.cl-modal{background:#fff;color:#171717;width:min(100%,560px);max-height:calc(100vh - 40px);overflow:auto;padding:26px;border-radius:15px;box-shadow:0 18px 65px #0003}
.cl-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.cl-modal-header h2{margin:0;font-size:23px}
.cl-modal-close{border:0;background:transparent;font-size:27px;cursor:pointer;color:#777}.cl-modal p{color:#777;font-size:13px;line-height:1.5}
.cl-modal textarea{display:block;width:100%;min-height:200px;resize:vertical;border:1px solid #ddd;border-radius:9px;padding:13px;font:inherit;font-size:14px;line-height:1.6;color:#171717;background:white}
.cl-modal textarea:focus{outline:2px solid #888;outline-offset:1px}
.cl-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
