.cl-chapter-pane{min-height:300px;margin-top:16px;padding:16px;border:1px solid #dedede;background:#fff;color:#212529;font:300 14px/21px Lexend,sans-serif}
.cl-chapter-pane button{cursor:pointer;font:400 14px/21px Lexend,sans-serif}
.clc-topline{text-align:right}.clc-topline button,.clc-actions button,.clc-empty button,.clc-dialog-actions button,.clc-unit>button,.clc-upload [data-clc-validate]{padding:4px 8px;border:1px solid #005be8;border-radius:3px;background:#005be8;color:#fff}
.clc-crumb{margin:12px 0 20px}.clc-crumb button,.clc-link{padding:0;border:0;background:transparent;color:#005be8;text-decoration:underline}
.clc-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.clc-empty{margin:24px 0;text-align:center}.clc-empty button{display:block;margin:20px auto}
.clc-notice,.clc-error{margin:12px 0;color:#b42318}.clc-notice{color:#476079}
.clc-dialog{box-sizing:border-box;width:min(1140px,calc(100vw - 32px));max-height:calc(100vh - 56px);margin:28px auto;padding:0;border:1px solid rgba(0,0,0,.176);border-radius:5px;background:#fff;color:#212529;box-shadow:0 10px 30px rgba(0,0,0,.17);font:300 14px/21px Lexend,sans-serif}
.clc-dialog::backdrop{background:rgba(0,0,0,.35)}.clc-dialog>header{display:flex;align-items:center;justify-content:space-between;min-height:51px;padding:10px 16px;border-bottom:1px solid #dee2e6}
.clc-dialog h2{margin:0;font:500 18px/27px Lexend,sans-serif}.clc-dialog>header button{padding:4px 8px;border:0;background:transparent;color:#212529}
.clc-dialog-body{max-height:calc(100vh - 110px);overflow:auto;padding:20px 30px 30px}.clc-context{margin:0 0 16px}
.clc-unit{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin-bottom:16px}.clc-unit label{display:grid;gap:4px;font-weight:500}
.clc-dialog input[type=text],.clc-dialog select,.clc-dialog textarea{box-sizing:border-box;min-height:33px;padding:5px 8px;border:1px solid #c5c2c2;background:#fff;color:#212529;font:400 14px/21px Lexend,sans-serif}
.clc-unit input{min-width:220px}.clc-chapter-table,.clc-topics{width:100%;border-collapse:collapse}.clc-table-scroll{overflow-x:auto}
.clc-chapter-table th,.clc-chapter-table td,.clc-topics th,.clc-topics td{padding:8px;border:1px solid #ebebeb;text-align:left;vertical-align:top}
.clc-chapter-table th,.clc-topics th{background:#ededed;font-weight:700}.clc-chapter-table input,.clc-chapter-table textarea,.clc-topics input{width:100%}
.clc-topics td:first-child{width:150px}.clc-topics td:last-child{width:42px}.clc-topics button{border:1px solid #005be8;border-radius:3px;background:#fff;color:#005be8}
.clc-dialog-actions{margin-top:16px;text-align:right}.clc-upload .clc-dialog-body>p{margin:0 0 12px}.clc-upload [data-clc-pick]{padding:0;border:0;background:transparent;color:#005be8;text-decoration:underline}
.cl-chapter-pane button:focus-visible,.clc-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid #005be8;outline-offset:2px}
