/* A teacher's register: quiet scope controls, actions on their own columns. */
.learning-toolbar{margin-bottom:28px}.learning-toolbar h1{margin:8px 0}.learning-toolbar p{margin:0;color:#6a5649}
.learning-toolbar .compact,.learning-pagination .compact{border:1px solid var(--line);border-radius:9px;box-shadow:none;background:var(--paper);transform:none}
.learning-toolbar .compact:hover,.learning-pagination .compact:hover{border-color:#ab9b87;background:#f7f1e6}
.learning-scope{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,1.5fr);gap:18px;max-width:760px;margin-bottom:28px}
.learning-scope label{display:grid;gap:6px;min-width:0;font-size:13px;color:#6a5649}
.learning-scope select{min-width:0;font-size:15px;padding:10px 12px;border-width:1px;border-radius:9px;background:var(--paper);height:44px}
.learning-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.learning-list-heading h2{margin:0;font-size:17px}.learning-list-heading h2 span{margin-left:10px;font-size:14px;color:#6a5649;font-weight:400}
.learning-result-note[role=status]{min-height:0;margin:0;font-size:13px;color:#6a5649}
.learning-applied{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:-2px 0 14px}
.learning-applied button{min-height:36px;padding:4px 10px;max-width:100%;border:1px solid #d1dcc7;border-radius:7px;background:#edf2e7;box-shadow:none;transform:none;font-size:13px;font-weight:500;color:#355824;gap:5px}
.learning-filter-chip span{overflow-wrap:anywhere;text-align:left}.learning-applied .learning-clear{background:none;border-color:transparent;color:#6a5649;text-decoration:underline;text-underline-offset:3px}.learning-applied .learning-icon{width:14px;height:14px}
.learning-table-wrap.panel{padding:0 18px;border:1px solid var(--line);border-radius:14px;box-shadow:none}
.learning-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:15px}
.learning-table th{font-size:13px;padding:8px 10px;border-bottom:1px solid #cec0ac;color:#6a5649;font-weight:600}
.learning-table td{padding:14px 10px;border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere}
.learning-table tr:last-child td{border-bottom:0}.learning-table th:first-child{width:36%}.learning-table th:nth-child(2){width:25%}.learning-table th:nth-child(3){width:17%}.learning-table th:last-child{width:22%}
.learning-table tbody tr:hover{background:#fbf8f0}
.learning-icon{width:17px;height:17px;flex-shrink:0}
.learning-column-action{min-height:44px;padding:6px 8px;margin-left:-8px;border:0;border-radius:6px;box-shadow:none;transform:none;background:transparent;color:#6a5649;font-size:13px;font-weight:600;gap:7px;white-space:nowrap}
.learning-column-action:hover{background:#f1ebdf;color:var(--ink)}.learning-column-action.is-filtered{color:#355824;background:#edf2e7}
.learning-sort .learning-icon{color:#8b7968}.learning-sort.stars-asc .sort-up,.learning-sort.stars-desc .sort-down{color:#355824;stroke-width:2.5}
.learning-table .student-number,.learning-table small{display:block;font-size:12px;line-height:1.7;color:#796759}.learning-table .student-number{margin-top:1px}
.learning-table .learning-student-link{display:inline;text-align:left;min-height:36px;padding:3px 0;border:0;border-radius:2px;box-shadow:none;background:none;line-height:1.5;font-size:16px;text-decoration:none;transform:none}
.learning-table .learning-student-link:hover{text-decoration:underline;text-underline-offset:4px}
.learning-state{display:inline-block;padding:3px 9px;border-radius:5px;font-size:13px;font-weight:600;white-space:nowrap}
.learning-state--not-started{background:#f1ece4;color:#6a5649}.learning-state--in-progress{background:#fff0ca;color:#795310}.learning-state--completed{background:#e6efd9;color:#355824}
.learning-stars{display:block;font-weight:700;font-size:18px;color:#65470c;font-variant-numeric:tabular-nums}.learning-stars+small{margin-bottom:6px}
.learning-time{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.6;color:#6a5649}.learning-time span{white-space:nowrap}.learning-time-empty{font-size:13px;color:#796759}
.learning-filter-popover{position:fixed;inset:auto;margin:0;width:280px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px;border:1px solid #cec0ac;border-radius:12px;background:var(--paper);color:var(--ink);box-shadow:0 8px 28px #4b34281f;overflow:auto}
.learning-filter-popover form{display:grid;gap:10px}.learning-filter-popover h2{font-size:16px;margin:0}.learning-filter-popover p{font-size:13px;color:#6a5649;margin:0}.learning-filter-popover label{font-size:13px}.learning-filter-popover input[type=search]{min-width:0;height:44px;border-width:1px;border-radius:7px;font-size:15px;padding:8px 10px}
.learning-status-options{display:grid;gap:3px;margin:0 -6px}.learning-status-options label{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px;cursor:pointer;border-radius:6px}.learning-status-options label:hover{background:#f7f1e6}
.learning-status-options input{width:18px;height:18px;flex-shrink:0;margin:0;padding:0;accent-color:var(--green)}
.learning-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:12px;margin-top:3px}
.learning-filter-actions button{min-height:40px;padding:7px 16px;border:1px solid var(--line);border-radius:7px;box-shadow:none;transform:none;font-size:14px}.learning-filter-actions .primary{border-color:var(--green)}
.learning-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:22px 0;font-size:14px}.learning-pagination button:disabled{cursor:default}
.learning-sync{font-size:12px;line-height:1.7;color:#796759;margin:18px 0}.learning-section-title{font-size:18px;margin:24px 0 14px}.learning-course-table td:first-child strong{display:block;margin-top:3px}
.learning-closed{margin-top:24px}.learning-closed summary{font-weight:700;cursor:pointer;padding:12px 0}.learning-closed .learning-table-wrap{margin-top:10px}
@media(max-width:760px){.learning-table-wrap.panel{padding:0 12px}.learning-table th,.learning-table td{padding-left:6px;padding-right:6px}.learning-table th:first-child{width:32%}.learning-table th:nth-child(2){width:26%}.learning-table th:nth-child(3){width:18%}.learning-table th:last-child{width:24%}}
@media(max-width:600px){
 .learning-toolbar{margin-bottom:22px;gap:12px}.learning-toolbar .actions{gap:8px}.learning-toolbar .compact{padding:6px 12px;font-size:13px}
 .learning-scope{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px;margin-bottom:22px}.learning-scope select{padding:8px;font-size:14px}
 .learning-table-wrap.panel{padding:0 10px;border-radius:12px}.learning-table thead,.learning-table tbody{display:block}
 .learning-table tr{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.05fr) minmax(0,.65fr);column-gap:5px}
 .learning-table thead tr{border-bottom:1px solid #cec0ac}.learning-table tbody tr{border-bottom:1px solid var(--line)}.learning-table tbody tr:last-child{border-bottom:0}
 .learning-table th,.learning-table th:first-child,.learning-table th:nth-child(2),.learning-table th:nth-child(3),.learning-table th:last-child{width:auto;border:0;padding:6px 3px}
 .learning-table td{border:0;padding:10px 3px 5px}.learning-table .learning-time-heading{display:none}
 .learning-table .learning-time-cell{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;padding:0 3px 12px}
 .learning-time-cell::before{content:'最近学习';font-size:11px;color:#796759;white-space:nowrap}.learning-time,.learning-time-empty{font-size:12px}
 .learning-column-action{font-size:12px;gap:3px;padding-left:3px;padding-right:3px;margin-left:-3px}.learning-icon{width:15px;height:15px}
 .learning-table .learning-student-link{font-size:15px;min-height:40px}.learning-table .student-number,.learning-table small{font-size:11px}.learning-state{font-size:12px;padding:3px 6px}.learning-stars{font-size:17px}
 .learning-pagination{gap:12px}.learning-pagination button{padding:6px 12px}.learning-table .muted{font-size:12px}
}
