.draft-choices {display:grid;gap:6px;max-height:46vh;overflow:auto}
.draft-choices:empty {display:none}
.draft-choices .studio-btn {justify-content:space-between;text-align:left;white-space:normal;overflow-wrap:anywhere}
.draft-choices small {flex:none;color:var(--muted)}
.draft-list {
  --draft-columns:minmax(0,2.15fr) minmax(0,1.45fr) minmax(50px,.35fr) minmax(132px,.85fr) 48px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  align-self:start;
  max-height:100%;
  min-height:0;
  min-width:0;
  background:#fff;
  border:1px solid #d7e0ed;
  border-radius:11px;
  overflow:hidden;
}
.draft-list-head,.draft-list-head>div {display:flex;align-items:center;gap:10px}
.draft-list-head {justify-content:space-between;padding:16px var(--teacher-card-inset)}
.draft-list-head h2 {margin:0;color:#21314a;font-size:var(--teacher-section-title);line-height:1.4}
.draft-list-head>div>span,.draft-columns {color:var(--muted);font-size:13px}
.draft-create.studio-btn {gap:6px;min-height:36px;padding:6px 13px}
.draft-create>span {font-size:16px;line-height:1}
.draft-columns,.draft-record {
  display:grid;
  grid-template-columns:var(--draft-columns);
  column-gap:clamp(12px,1.5vw,25px);
  align-items:center;
  padding-inline:var(--teacher-card-inset);
}
.draft-table-scroll {min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding-top:42px;scrollbar-width:thin}
.draft-columns {position:sticky;top:0;z-index:1;background:#f4f6fa;padding-block:9px;border-block:1px solid #e2e7ef}
.draft-columns>span:last-child {text-align:right}
.draft-rows {list-style:none;margin:0;padding:0}
.draft-rows>li {border-bottom:1px solid #e6ebf2}
.draft-record {
  width:100%;min-height:65px;padding-block:13px;border:0;background:transparent;color:#36465e;
  font:inherit;font-size:14px;line-height:1.55;text-align:left;cursor:pointer;
}
.draft-record:hover,.draft-record:focus-visible {background:#f4f7ff}
body.teacher-workspace .draft-record:focus-visible {outline-offset:-3px}
.draft-name,.draft-target {min-width:0;overflow-wrap:anywhere}
.draft-name {font-size:15px;line-height:1.5;font-weight:600;color:#1e304b}
.draft-quantity,.draft-time {font-variant-numeric:tabular-nums}
.draft-time {color:var(--muted);font-size:13px}
.draft-enter {justify-self:end;display:inline-flex;align-items:center;gap:5px;font-weight:550;color:#2559b6}
.draft-enter>span {font:500 18px/1 "Segoe UI",sans-serif}
.draft-empty {display:grid;justify-items:center;align-content:safe center;gap:14px;min-height:0;padding:24px var(--teacher-card-inset);overflow:auto;border-top:1px solid #e5eaf2}
.draft-empty p {margin:0;color:var(--muted)}
.teacher-page-actions .draft-return {display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:4px 6px;border:0;border-radius:5px;background:transparent;color:#345788;font:inherit;font-size:13px;line-height:1.5;white-space:nowrap;cursor:pointer}
.draft-return:hover {text-decoration:underline}
.draft-return svg {width:14px;height:14px}
@media(max-width:480px) {
  .teacher-page-header:has(.draft-return) {display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:4px}
  .teacher-page-header:has(.draft-return) .teacher-page-heading {display:contents}
  .teacher-page-header:has(.draft-return) .teacher-page-tabs {grid-area:2 / 1 / 3 / -1;justify-self:start}
  .teacher-page-header:has(.draft-return) .teacher-page-actions {grid-area:1 / 2}
}
@media(max-width:720px) {
  .draft-table-scroll {scroll-padding-top:0}
  .draft-list-head {padding-block:12px}
  .draft-columns {display:none}
  .draft-rows {border-top:1px solid #e2e7ef}
  .draft-record {grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding-block:12px}
  .draft-name,.draft-target {grid-column:1}
  .draft-name {grid-row:1}
  .draft-target {grid-row:2;font-size:13px}
  .draft-quantity {grid-column:2;grid-row:2;justify-self:end;font-size:13px}
  .draft-time {grid-column:1/-1;grid-row:3;font-size:12px}
  .draft-time::before {content:"最后修改 ";margin-right:3px}
  .draft-enter {grid-column:2;grid-row:1;font-size:13px}
  .draft-create.studio-btn {min-height:32px;font-size:12px;padding:5px 9px}
}
