/* KDB editor interaction fixes: retain selections and keep every inserted block editable. */
body.sheet-open{overflow:hidden}
.counter-progress .progress-0{width:0}.counter-progress .progress-1{width:20%}.counter-progress .progress-2{width:40%}.counter-progress .progress-3{width:60%}.counter-progress .progress-4{width:80%}.counter-progress .progress-5{width:100%}
.kdb-solution-field{display:grid;gap:8px;min-width:0}
.kdb-field-label{font-size:.88rem;font-weight:600;color:var(--ink)}
.rich-prose strong{font-weight:800}
.rich-prose .tableWrapper{max-width:100%;margin:18px 0;overflow-x:auto;border-radius:7px}
.rich-prose .tableWrapper table{margin:0}
.rich-prose th,.rich-prose td{position:relative;cursor:text}
.rich-prose th>p,.rich-prose td>p{min-height:1.75em;margin:0}
.rich-prose .selectedCell:after{content:"";position:absolute;inset:0;pointer-events:none;background:rgba(90,196,170,.15)}
.rich-prose hr{cursor:text}
.rich-prose ul[data-type="taskList"]{margin:10px 0;padding:0;list-style:none}
.rich-prose ul[data-type="taskList"] li{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:9px;margin:6px 0}
.rich-prose ul[data-type="taskList"] li>label{display:flex!important;align-items:flex-start;justify-content:center;width:20px;height:27px;margin:0!important;padding:0!important}
.rich-prose ul[data-type="taskList"] li>label input[type="checkbox"]{display:block;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:4px 0 0!important;padding:0!important;flex:0 0 18px;accent-color:var(--green)}
.rich-prose ul[data-type="taskList"] li>div{min-width:0}
.rich-prose ul[data-type="taskList"] li>div>p{min-height:27px;margin:0}
