.class-mastery-title{margin-bottom:14px}
.class-mastery-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.class-mastery-defaults{display:flex;gap:12px;align-items:flex-end}
.class-mastery-toolbar .tag-report-default-need input{height:40px;box-sizing:border-box}
.class-mastery-toolbar .tag-report-reshuffle-btn{align-self:flex-end;margin:0;height:40px}
.class-mastery-toolbar>.btn{height:40px}
.class-mastery-card .tag-report-tree-row{grid-template-columns:minmax(0,1fr) 120px 400px;align-items:center}
.class-mastery-card .tag-report-tree-badge-cell{width:400px;min-width:0;box-sizing:border-box}
.class-mastery-card .tag-report-tree-row.inactive{opacity:1;filter:none}
.class-mastery-card .tag-report-tree-main{min-height:66px;align-content:center}
.class-mastery-length-control input{width:90px}
.class-mastery-bar-track{height:16px;width:100%;min-width:0;overflow:hidden}
.class-mastery-bar-fill{height:100%;display:flex;overflow:hidden;border-radius:4px;transition:width .15s ease}
.class-mastery-segment{height:100%;flex-shrink:0}
.class-mastery-segment.gray{background:#78828c}
.class-mastery-segment.red{background:#e85858}
.class-mastery-segment.yellow{background:#e5bd40}
.class-mastery-segment.green{background:#35b86c}
.tag-analytics-card{min-width:0;display:grid;gap:14px}
.tag-analytics-toolbar,.tag-analytics-heading,.tag-analytics-breadcrumb,.tag-analytics-paging,.tag-analytics-filter{
 display:flex;align-items:center;gap:10px;flex-wrap:wrap
}
.tag-analytics-heading{justify-content:space-between}
.tag-analytics-heading h2,.tag-analytics-detail h3{margin:0}
.tag-analytics-filter{margin-inline-start:auto}
.tag-analytics-filter .input{min-width:118px}
.tag-analytics-plot{--tag-chart-height:224px;display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px}
.tag-analytics-axis{display:flex;flex-direction:column;justify-content:space-between;text-align:right;height:var(--tag-chart-height);font-size:12px;color:var(--muted)}
.tag-analytics-columns{display:flex;gap:8px;overflow-x:auto;align-items:flex-start;padding:0 4px 10px;
 background:repeating-linear-gradient(to bottom,var(--border,rgba(255,255,255,.15)) 0 1px,transparent 1px 25%) top/100% var(--tag-chart-height) no-repeat}
.tag-analytics-column{flex:1 0 90px;min-width:0;padding:0 6px;background:none;color:inherit;border:0;cursor:pointer;display:grid;gap:6px;justify-items:center;text-align:center}
.tag-analytics-column-bar{height:var(--tag-chart-height);width:min(82%,70px);display:flex;align-items:flex-end}
.tag-analytics-column .class-mastery-bar-track{height:100%;display:flex;align-items:flex-end}
.tag-analytics-column .class-mastery-bar-fill{width:100%;flex-direction:column-reverse}
.tag-analytics-column .class-mastery-segment{width:100%}
.tag-analytics-column-label{font-weight:700;overflow-wrap:anywhere}
.tag-analytics-column-count{font-size:12px;color:var(--muted)}
.tag-analytics-column:hover .tag-analytics-column-label{color:var(--panel-header-text)}
.tag-analytics-settings summary{cursor:pointer;margin-bottom:10px}
.tag-analytics-detail{min-width:0;display:grid;gap:12px}
.tag-analytics-detail[hidden],.assignment-tag-analytics[hidden]{display:none}
.tag-analytics-detail .tag-report-tree-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:12px}
.tag-analytics-detail .tag-report-tree-row.inactive{opacity:1;filter:none}
.tag-analytics-detail .tag-report-tree-badge-cell{grid-column:1/-1;justify-content:flex-start;min-width:0}
.tag-analytics-detail .tag-report-tree-badge-cell:empty{display:none}
.tag-analytics-student-scroll{overflow-x:auto}
.tag-analytics-students{width:100%;border-collapse:collapse;min-width:400px;text-align:left}
.tag-analytics-students th,.tag-analytics-students td{padding:10px;border-bottom:1px solid var(--border,rgba(255,255,255,.15))}
.tag-analytics-students td:nth-child(2){width:45%;min-width:120px}
.tag-analytics-students td:nth-child(3),.tag-analytics-students td:nth-child(4){white-space:nowrap}
.assignment-editor-card.has-tag-analytics > :not(.assignment-tag-analytics){display:none}
.assignment-tag-analytics{padding:12px;display:grid;align-content:start;gap:14px}
.assignment-tag-analytics .tag-analytics-students .class-mastery-bar-track{height:24px}
.assignment-tag-analytics-icon{padding:4px;min-width:30px;min-height:30px;display:grid;place-items:center;flex:0 0 auto}
.assignment-tag-analytics-icon img{width:20px;height:20px;object-fit:contain;pointer-events:none}
.assignment-tag-analytics-icon[aria-pressed="true"]{border-color:var(--panel-header-text);background:var(--panel,rgba(130,157,186,.18))}
#questionBankList .assignment-tag-analytics-icon + .question-tag-count-btn{
 box-sizing:border-box;inline-size:calc(4ch + 16px);padding-inline:0;font-variant-numeric:tabular-nums;white-space:nowrap
}
#questionBankList .assignment-tag-analytics-icon + .question-tag-count-btn + :is(.question-strand-chevron,.question-bank-explorer-chevron){
 flex:0 0 1rem;text-align:center
}
#questionBankList :is(.question-strand-header,.question-bank-explorer-row-tail):has(>.assignment-tag-analytics-icon){gap:6px}
#questionBankList .question-strand-block:has(>.question-strand-header>.assignment-tag-analytics-icon),
#questionBankList .question-bank-explorer-row:has(>.question-bank-explorer-row-actions>.question-bank-explorer-row-tail>.assignment-tag-analytics-icon){padding-inline-end:7px}
.class-mastery-tag-status{padding:0 12px 8px 34px;font-size:12px;color:var(--muted)}
.class-mastery-tag-status:empty{padding:0}
.class-mastery-settings-status{font-size:12px;margin:6px 0;color:var(--minor-font-2,var(--muted))}
.class-mastery-legend{display:flex;gap:15px;flex-wrap:wrap;margin:10px 0 14px;font-size:12px}
.class-mastery-legend span::before{content:'';display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px}
.class-mastery-legend .gray::before{background:#78828c}.class-mastery-legend .red::before{background:#e85858}
.class-mastery-legend .yellow::before{background:#e5bd40}.class-mastery-legend .green::before{background:#35b86c}
@media(max-width:1100px){.class-mastery-card .tag-report-tree-row{grid-template-columns:minmax(0,1fr) 110px}.class-mastery-card .tag-report-tree-badge-cell{grid-column:1/-1;width:100%;justify-content:flex-start}}
@media(max-width:600px){.class-mastery-toolbar{gap:10px}.class-mastery-card .tag-report-tree-row{padding-left:27px;gap:8px}.class-mastery-card .tag-report-mini-label select{width:115px}.class-mastery-toolbar .tag-report-default-need{font-size:11px}}
@media(max-width:700px){.tag-analytics-plot{--tag-chart-height:170px}.tag-analytics-filter{margin-inline-start:0}.tag-analytics-column{flex-basis:72px}}
