/* School and teacher mode. Sits inside the school sheet and uses its colours. */
.cl-form{display:grid;gap:8px;margin:8px 0}
.cl-form input,.cl-form select{width:100%;box-sizing:border-box;min-height:48px;padding:0 14px;border:1px solid var(--mp-divider);border-radius:12px;background:var(--mp-well);color:var(--mp-ink);font:500 16px/1.2 var(--mp-font)}
.cl-form .sd-primary,.cl-form .sd-ghost{width:100%;margin-top:0}
.sd-sheet .cl-form .sd-primary,.sd-sheet .cl-primary{background:var(--mp-ink);color:var(--mp-on-ink)}
.cl-msg{margin:8px 0;padding:10px 12px;border-radius:12px;background:var(--mp-well);font-size:14px;font-weight:600}
.cl-back{all:unset;cursor:pointer;display:inline-block;padding:8px 0;font-size:14px;font-weight:600}
.cl-code{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;padding:14px 16px;border-radius:14px;background:var(--mp-well)}
.cl-code small{font-size:13px}
.cl-code b{font:700 24px/1 ui-monospace,Menlo,monospace;letter-spacing:2px;user-select:all}
.cl-scroll{overflow-x:auto;margin:8px 0;-webkit-overflow-scrolling:touch}
.cl-table{width:100%;border-collapse:collapse;font-size:14px}
.cl-table th,.cl-table td{padding:10px 8px;border-bottom:1px solid var(--mp-divider);text-align:left;white-space:nowrap}
.cl-table th{max-width:130px;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:600}
.cl-table th:first-child,.cl-table td:first-child{position:sticky;left:0;background:var(--mp-sheet)}
.cl-name{all:unset;cursor:pointer;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.cl-name small{font-weight:500}
.cl-x{all:unset;cursor:pointer;display:inline-block;padding:4px 8px;margin-left:2px;font-size:16px;line-height:1}
.cl-sign{display:flex;justify-content:center;margin:10px 0}
.cl-sign svg{width:110px;height:110px}
.cl-opt{height:auto;min-height:52px;padding:10px 16px;line-height:1.3;text-align:left}
.cl-danger{margin-top:18px!important;color:#b3261e}
@media (prefers-color-scheme:dark){.cl-danger{color:#f2b8b5}}
