.wrong-page-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:16px 0 20px}
.wrong-page-tabs button{border:0;border-bottom:3px solid transparent;padding:12px 2px;min-height:48px;background:transparent;font:inherit;color:var(--muted);cursor:pointer}
.wrong-page-tabs button.active{border-bottom-color:var(--primary);color:var(--primary);font-weight:600}
.wrong-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.wrong-filter-summary>span{min-width:0;overflow-wrap:anywhere;line-height:1.8}
.wrong-filter-summary md-outlined-button{flex-shrink:0}
.wrong-record-list{max-width:1040px}.wrong-record-list .question-copy{min-width:0}.wrong-record-list .actions{flex-wrap:wrap}
.wrong-distribution-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:24px;align-items:start}
.wrong-distribution-grid>.card{min-width:0}.wrong-chart-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 8px}
.wrong-chart-controls md-outlined-select{width:100%;min-width:0}.wrong-trend-panel .chart-legend{flex-wrap:wrap;row-gap:10px}
.insight-demo-note{margin-top:16px;line-height:1.7}.insight-data{margin-top:16px}.insight-data summary{padding:12px 0;min-height:44px;color:var(--primary);cursor:pointer}
.wrong-share-list{display:grid;gap:24px;margin:24px 0}.wrong-share-item>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13px;line-height:1.6}.wrong-share-item strong{flex-shrink:0}
.weekly-toolbar{display:grid;grid-template-columns:200px minmax(240px,320px);gap:16px;margin-bottom:24px}.weekly-toolbar md-outlined-select{min-width:0;width:100%}
.weekly-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:24px;align-items:start}.weekly-grid>.card{min-width:0}
.weekly-summary h2{margin:12px 0 24px}.weekly-summary h3{margin:24px 0 12px}.weekly-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:24px 0;border-block:1px solid var(--line)}
.weekly-metrics strong{font-size:25px;font-weight:500;white-space:nowrap}.weekly-metrics small{font-size:12px}.weekly-metrics span{display:block;font-size:12px;color:var(--muted);margin-top:10px}
.weekly-note{background:var(--night-success-bg, #edf7f2);border-radius:16px;padding:20px;margin:24px 0;font-size:14px;line-height:1.8}.weekly-next .body-text{padding:16px 0;border-bottom:1px solid var(--line)}
.progress-detail-summary{display:flex;flex-wrap:wrap;gap:12px 24px;padding:16px 0;color:var(--muted);font-size:13px}.nudge-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.progress-trend>.card-title{flex-wrap:wrap;gap:12px}.progress-trend-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:16px 0}
.progress-trend-tabs button{padding:12px 0;min-height:48px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-size:14px;white-space:nowrap}
.progress-trend-tabs button.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}
.progress-trend-context{line-height:1.8;overflow-wrap:anywhere;margin:12px 0}.progress-distribution-controls{width:180px;max-width:100%;margin-top:20px}
.progress-trend .chart-legend{flex-wrap:wrap;row-gap:10px}.progress-trend .insight-data .data-table{font-variant-numeric:tabular-nums}
.progress-definitions{padding-left:20px;margin:12px 0;color:var(--muted);font-size:13px;line-height:1.9}.progress-definitions li+li{margin-top:10px}
.progress-empty{padding:40px 16px}.progress-empty h3{margin-bottom:12px}
.wrong-record-title{margin:16px 0 10px;line-height:1.8}
.wrong-member-records{display:grid;gap:16px;margin-top:24px}
.wrong-member-record{border:1px solid var(--line);border-radius:16px;padding:16px;min-width:0}
.wrong-member-record summary{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:40px;cursor:pointer;color:var(--primary);font-size:14px}
.wrong-member-record summary::after{content:'展开';font-size:11px;color:var(--muted)}
.wrong-member-record[open] summary::after{content:'收起'}
.wrong-record-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.wrong-record-meta dt{color:var(--muted);font-size:11px;margin-bottom:6px}
.wrong-record-meta dd{margin:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.wrong-history-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-top:24px}
.wrong-history-head h3{font-size:14px}
.wrong-history-list{list-style:none;padding:0;margin:12px 0 20px}
.wrong-history-list li{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8}
.wrong-history-list time,.wrong-history-list span{color:var(--muted)}
.wrong-history-list span{display:block}
.wrong-history-note{margin:16px 0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:599px){.wrong-member-record{padding:14px}.wrong-history-list li{grid-template-columns:minmax(0,1fr);gap:4px}.wrong-record-meta{gap:16px 12px}}
@media(max-width:359px){.progress-trend-tabs{gap:20px}.progress-trend-tabs button{font-size:13px}}
@media(max-width:1050px){.wrong-distribution-grid,.weekly-grid{grid-template-columns:minmax(0,1fr)}.wrong-share-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:599px){.wrong-chart-controls{gap:12px}.wrong-trend-panel.card,.wrong-share-panel.card{padding:18px}.wrong-share-list{grid-template-columns:minmax(0,1fr)}.wrong-trend-panel .card-title{flex-wrap:wrap;gap:12px}.weekly-toolbar{grid-template-columns:minmax(0,1fr);gap:12px}.weekly-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.weekly-grid>.card{padding:20px}.wrong-record-list.card{padding:16px}}
/* Collapsed context examples use the same reading rhythm as the learning chart. */
.mastery-evidence > .caption { margin: 16px 0; line-height: 1.8; }
.mastery-examples { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 12px; margin: 16px 0; }
.mastery-examples article { padding: 16px; border: 1px solid var(--line,#dce8ee); border-radius: 14px; min-width: 0; }
.mastery-examples h3 { font-size: 14px; margin: 0 0 8px; }
.mastery-examples p { font-size: 13px; line-height: 1.7; margin: 0 0 8px; }
.boundary-preview-note { margin-bottom: 20px; }
.wrong-chart-controls { grid-template-columns: minmax(0,220px); }
.distribution-category-list { display: grid; margin: 16px 0; }
.distribution-category-list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.distribution-category-list button > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.7; }
.distribution-category-list strong { flex-shrink: 0; color: var(--primary); font-weight: 500; }
.distribution-category-list button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.distribution-question-list { display: grid; gap: 16px; margin-top: 20px; }
.distribution-question-list summary { line-height: 1.8; }
.distribution-question-list .body-text,.distribution-question-list .caption { margin-top: 12px; }
.curve-tools { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 20px; }
.full-curve-panel,.full-curve-detail { min-width:0; margin-bottom:24px; }
.full-curve-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-bottom:20px; }
.full-curve-toolbar .body-text { margin-bottom:8px; }
.full-curve-controls { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.full-curve-controls md-outlined-select { width:180px; max-width:100%; }
.full-distribution-chart { width:100%; height:clamp(320px,52vh,540px); min-width:0; }
.curve-mode-note { margin:16px 0 10px; line-height:1.8; }
.full-curve-detail .distribution-category-list { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px; }
.curve-category-number { display:inline-flex; align-items:center; justify-content:center; min-width:24px; height:24px; border-radius:8px; background:var(--pc); color:var(--primary); margin-right:10px; font-size:11px; }
.curve-export-filename { margin-bottom:16px; overflow-wrap:anywhere; }
.curve-export-sheet { padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--night-panel, #fff); }
.curve-export-sheet h3 { margin:0 0 8px; }
.export-distribution-chart { width:100%; height:300px; }
.curve-export-labels { padding-left:24px; margin:16px 0; columns:2; column-gap:24px; font-size:12px; color:var(--muted); }
.curve-export-labels li { break-inside:avoid; padding:5px 0; line-height:1.7; overflow-wrap:anywhere; }
@media(max-width:599px){.full-curve-panel,.full-curve-detail{padding:18px}.full-curve-controls{width:100%;align-items:stretch;gap:12px}.full-curve-controls md-outlined-select{width:100%}.full-curve-detail .distribution-category-list{grid-template-columns:minmax(0,1fr)}.curve-export-sheet{padding:12px}.curve-export-labels{columns:1}.export-distribution-chart{height:250px}}
@media(min-width:480px) and (max-height:500px) and (orientation:landscape){.full-distribution-chart{height:240px}}
@media(max-width:599px){.full-distribution-chart{height:230px}.full-curve-toolbar{gap:12px;margin-bottom:12px}.full-curve-controls{gap:10px}}

.progress-scope-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.progress-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
}
.progress-person-picker {
  flex: 1;
  min-width: 0;
  width: 0;
  position: relative;
  --md-outlined-select-text-field-container-shape: 14px;
  --md-outlined-select-text-field-outline-color: var(--line);
  --md-outlined-select-text-field-focus-outline-color: var(--line);
  --md-outlined-select-text-field-focus-outline-width: 1px;
  --md-outlined-select-text-field-input-text-weight: 600;
  --md-menu-container-color: var(--md-sys-color-surface, white);
  --md-menu-container-shape: 14px;
  --md-menu-container-elevation: 2;
  --md-menu-item-one-line-container-height: 44px;
  --md-menu-item-selected-container-color: var(--md-sys-color-primary-container);
}
.progress-person-picker md-select-option { margin-inline: 5px; border-radius: 9px; overflow: hidden; }
.progress-person-picker [slot="headline"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress-person-picker [slot="end"], .progress-person-picker [slot="trailing-icon"] { display: grid; place-items: center; color: var(--primary); }
.progress-person-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}
.progress-person-picker:focus-visible::after {
  content: "";
  position: absolute;
  pointer-events: none;
  bottom: 8px;
  left: 52px;
  width: 20px;
  border-bottom: 2px solid var(--primary);
}
@media (max-width: 359px) {
  .progress-toolbar:has([data-action="member-remark-edit"]) { gap: 6px; }
  .progress-toolbar:has([data-action="member-remark-edit"]) .progress-person-icon { display: none; }
}
.progress-filter-button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--primary);
  background: transparent;
  font-size: 14px;
}
