.dt-panel{--dt-ink:#172238;--dt-accent:#3d5682;box-sizing:border-box;background:#fff;border:1px solid #e2e7ef;border-radius:8px;padding:24px;margin:16px 0 0;color:var(--dt-ink);font-family:inherit;min-width:0}.dt-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.dt-heading h2{margin:4px 0 6px;font-size:21px;letter-spacing:-.4px;font-weight:650;line-height:1.5}.dt-heading h2 small{font-size:12px;font-weight:600;padding:4px 8px;background:#eef2f8;color:#526b91;border-radius:5px;vertical-align:middle;margin-left:6px}.dt-eyebrow{font-size:11px;letter-spacing:0;color:#7c899c}.dt-heading p,.dt-help{color:#69768a;font-size:11px;line-height:1.8;margin:4px 0}.dt-actions{display:flex;gap:7px;flex-wrap:wrap}.dt-panel button,.dt-panel a.dt-link{box-sizing:border-box;border:1px solid #dce3ec;border-radius:5px;background:#fff;color:#3d5682;padding:8px 12px;font:600 12px/1.4 inherit;font-family:inherit;font-size:12px;line-height:1.4;cursor:pointer;text-decoration:none;display:inline-block;box-shadow:none;white-space:nowrap}.dt-panel button:hover,.dt-panel a.dt-link:hover{background:#eef2f8}.dt-panel :is(button,input,a):focus-visible{outline:2px solid #4e6fa7;outline-offset:3px}.dt-heading .dt-actions button:first-child{background:#3d5682;border-color:#3d5682;color:#fff}.dt-meter,.dt-column-meter{height:4px;background:#edf1f6;border-radius:3px;overflow:hidden}.dt-meter{margin:18px 0 0}.dt-meter span,.dt-column-meter span{display:block;height:100%;background:#4e6fa7;transition:width .2s}.dt-notice{font-size:11px;color:#748299;padding:12px 0}.dt-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch;margin-bottom:16px}.dt-column{background:#f7f9fc;border:1px solid #e5eaf1;border-radius:7px;padding:14px 12px;min-width:0}.dt-column-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.dt-column-head h3{font-size:14px;font-weight:650;margin:0;color:#263951}.dt-column-head>span{font-size:11px;color:#7a8aa1;font-variant-numeric:tabular-nums}.dt-column-meter{height:3px;margin-bottom:12px}.dt-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.dt-task{display:grid;grid-template-columns:17px minmax(0,1fr);gap:9px;background:#fff;border:1px solid #e2e7ef;border-radius:6px;padding:13px 11px;min-width:0}.dt-task-copy{min-width:0}.dt-task strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px;font-weight:600;line-height:1.65;color:#263951;overflow-wrap:anywhere}.dt-task small{display:block;color:#7c899a;font-size:10px;line-height:1.8;margin-top:7px}.dt-state{border:1px solid #ccd6e3;border-radius:4px;width:15px;height:15px;box-sizing:border-box;line-height:13px;text-align:center;color:#8a97a9;margin-top:3px;font-size:10px}.dt-task[data-done="true"] .dt-state{background:#4e6fa7;border-color:#4e6fa7;color:#fff}.dt-task[data-done="true"] strong{color:#7c899a}.dt-task[data-locked="true"]{background:#f4f6fa}.dt-task[data-locked="true"] strong{color:#8894a5}.dt-task .dt-actions{grid-column:2;gap:6px;margin-top:3px}.dt-task .dt-actions a,.dt-task .dt-actions button{font-size:10px;padding:5px 7px;font-weight:500}.dt-empty{font-size:11px;color:#8c98a9;padding:20px 0;text-align:center}.dt-exam{display:block;background:#fff8e9;color:#8a6829;border:1px solid #f0dfb5;border-radius:6px;padding:12px 14px;margin:14px 0 0;font-size:12px;text-decoration:none}.dt-error{color:#b34f49;font-size:12px;line-height:1.6}.dt-error:empty{display:none}
.dt-dialog{position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 32px));max-height:90dvh;padding:0;overflow:auto;box-shadow:0 22px 80px #17223833}.dt-dialog::backdrop{background:#17223866;backdrop-filter:blur(3px)}.dt-dialog-head{display:flex;justify-content:space-between;gap:16px;padding:22px 26px 17px;background:white;position:sticky;top:0;z-index:1;border-bottom:1px solid #e5eaf1}.dt-dialog-head h2{font-size:21px;margin:6px 0;color:#172238}.dt-dialog-head p{font-size:12px;color:#69768a;margin:0}.dt-dialog-head .dt-eyebrow{font-size:10px;letter-spacing:1.5px}.dt-dialog-head button{align-self:flex-start;font-size:20px;line-height:1;padding:7px 10px}.dt-form{padding:18px 26px 0;margin:0}.dt-settings-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:4px;background:#f1f4f8;border:1px solid #e4e9f0;border-radius:6px;gap:4px;margin-bottom:20px}.dt-settings-tabs button{border:0;background:transparent;color:#7a879a;padding:9px;font-size:13px}.dt-settings-tabs button[aria-selected="true"]{background:#fff;color:#3d5682;box-shadow:0 1px 4px #17223812}.dt-subjects fieldset{padding:0;margin:0;border:0;min-width:0}.dt-subjects fieldset[hidden]{display:none}.dt-subjects legend{font-size:13px;font-weight:600;color:#344d72;margin-bottom:5px}.dt-subjects label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf0f5;font-size:12px;color:#46566c}.dt-count{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#8a96a6;font-size:11px}.dt-form input{box-sizing:border-box;border:1px solid #dce3ec;border-radius:5px;padding:8px 10px;background:white;color:#263951;font:inherit;font-size:13px}.dt-count input{width:72px;text-align:center}.dt-exam-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#46566c;margin:20px 0 12px;padding:14px 0;border-top:1px solid #e5eaf1}.dt-exam-setting input{max-width:190px}.dt-dialog footer{position:sticky;bottom:0;padding:16px 0;background:white;justify-content:flex-end;border-top:1px solid #e5eaf1;margin-top:16px}.dt-panel button.dt-save{background:#3d5682;color:white;border-color:#3d5682}
.dt-column > .dt-list + :is(.dt-list, .dt-homework-completed),
.dt-column > .dt-homework-completed + .dt-list { margin-top: 10px; }
.dt-task-homework:not([data-done="true"]) {
  border-color: #edb744;
  border-inline-start: 4px solid #d77a0b;
  background: #fff0b8;
}
.dt-task-homework:not([data-done="true"]) strong { color: #422a09; }
.dt-task-homework:not([data-done="true"]) small { color: #70531c; }
.dt-task-homework:not([data-done="true"]) .dt-homework-tag {
  background: #ffc83d;
  color: #3d2400;
}
.dt-homework-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #dce8f7;
  color: #2f4b77;
  font-size: 10px;
  font-weight: 650;
}
.dt-homework-completed { color: #52627a; font-size: 11px; }
.dt-homework-completed summary { width: fit-content; padding: 4px 0; cursor: pointer; }
.dt-homework-completed summary:focus-visible { outline: 2px solid var(--dt-accent); outline-offset: 3px; }
.dt-homework-completed .dt-list { margin-top: 6px; }
@media(max-width:1050px){.dt-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dt-panel{padding:18px}.dt-heading{align-items:flex-start;flex-direction:column;gap:10px}.dt-heading h2{font-size:20px}.dt-board{grid-template-columns:1fr}.dt-column{padding:14px}.dt-dialog{padding:0;width:calc(100vw - 20px);max-height:94dvh}.dt-dialog-head{padding:18px}.dt-form{padding:16px 18px 0}.dt-dialog footer{flex-wrap:wrap;gap:6px}.dt-dialog footer button{font-size:11px;padding:9px 7px}.dt-settings-tabs{margin-bottom:16px}.dt-settings-tabs button{font-size:12px}}@media(prefers-reduced-motion:reduce){.dt-meter span,.dt-column-meter span{transition:none}}

.dt-overdue-board{margin:0 0 20px;padding:16px;border:1px solid #d96363;border-radius:14px;background:#fff3f2}.dt-overdue-board h3{margin:0 0 12px;color:#a12727}.dt-task[data-overdue="true"]{border-color:#d96363;background:#fff6f5}.dt-task[data-overdue="true"] .dt-task-copy strong,.dt-task[data-overdue="true"] .dt-homework-tag{color:#aa2525}.dt-task[data-overdue="true"] .dt-link{color:#a12727;border-color:#da9b9b}
