.teacher-experience{min-width:0;max-width:100%}
.teacher-workspace{min-width:0;max-width:100%}
.tw-navigation{margin-bottom:18px;padding:18px;background:#f5f8f5;border:1px solid #d8e4dc;border-radius:14px}
.tw-title{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}.tw-title h2{margin:4px 0;color:#264d3c}.tw-title p{margin:0;color:#52685c;font-size:13px}.tw-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:11px;color:#597666}
.tw-sections,.tw-subsections{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.tw-sections button,.tw-subsections button,.tw-return,.tw-title button,.tw-academy button{font:inherit;padding:9px 13px;min-height:42px;border:1px solid #c4d5ca;border-radius:9px;background:#fff;color:#315a44;cursor:pointer}.tw-sections button[aria-current=page],.tw-subsections button[aria-current=page]{background:#335e49;color:white;border-color:#335e49}.tw-subsections{padding-top:10px;border-top:1px solid #d8e4dc}.tw-subsections button{font-size:13px}.tw-return{margin-bottom:12px}
.tw-context{display:grid;grid-template-columns:1fr 2fr 1fr;gap:12px;padding:12px 0 20px}.tw-context label,.tw-section-select,.tw-academy label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#385344;min-width:0}.tw-context select,.tw-section-select select,.tw-academy select,.tw-academy input{width:100%;min-height:44px;border:1px solid #b9cdbf;border-radius:9px;padding:9px;background:white;color:#243f31;font:inherit;max-width:100%}.tw-section-select{display:none}.tw-academy{max-width:1200px;margin:auto;padding:16px}.tw-academy>label{max-width:650px;margin:16px 0}.tw-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px;margin-top:18px}.tw-cards article{border:1px solid #d8e4dc;border-radius:12px;padding:16px;background:white}.tw-scroll{overflow:auto;max-width:100%}.tw-scroll table{width:100%;border-collapse:collapse}.tw-scroll td,.tw-scroll th{text-align:left;padding:12px;border-bottom:1px solid #d8e4dc}
@media(max-width:1100px){.tw-sections{display:none}.tw-section-select{display:flex;margin-top:14px}.tw-context{grid-template-columns:1fr 1fr}.tw-context label:nth-child(2){grid-column:1/-1;grid-row:2}}
@media(max-width:600px){.tw-navigation,.tw-academy{padding:12px}.tw-context{grid-template-columns:1fr}.tw-context label:nth-child(2){grid-column:auto;grid-row:auto}.tw-context select,.tw-academy input,.tw-academy select,.tw-section-select select{font-size:16px}.tw-subsections button{flex:1 1 140px}}
.mw-chat-content__inner>.teacher-experience>.teacher-workspace,.mw-chat-content__inner>.teacher-experience>.teacher-workspace>div:last-child{display:flex;flex:1 1 0;flex-direction:column;min-height:0}
/* Chat workspaces need an uninterrupted flex-height chain through the help wrapper. */
.mw-chat-content__inner > .teacher-experience{display:flex;flex:1 1 0;flex-direction:column;min-height:0;padding-bottom:0}
.mw-chat-content__inner > .teacher-experience > .teacher-context-help{flex:0 0 auto}
/* DUA view selection and date filters must not overlap on tablet or clip on phones. */
@media(max-width:1199px){
  .teacher-experience .ant-row:has(.date-filter-button) > .ant-col{flex:0 0 100%;max-width:100%}
}
@media(max-width:599px){
  .teacher-experience .ant-row:has(.date-filter-button) .ant-segmented{width:100%;max-width:100%}
  .teacher-experience .ant-row:has(.date-filter-button) .ant-segmented-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .teacher-experience .ant-row:has(.date-filter-button) .ant-segmented-item{min-width:0}
  .teacher-experience .ant-row:has(.date-filter-button) .ant-segmented-item-label{min-height:40px;display:flex;align-items:center;justify-content:center;font-size:12px}
  .teacher-experience .ant-row:has(.date-filter-button) .ant-segmented-thumb{display:none}
  .teacher-experience .ant-row:has(.date-filter-button) .ant-segmented-item:has(input:checked){background:#fff;box-shadow:0 1px 3px #00000016}
}
.teacher-context-help{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;color:#3c6659;font-size:13px}
.teacher-context-help>span{min-width:0;overflow-wrap:anywhere}
.teacher-help-icon{display:inline-flex;width:19px;height:19px;align-items:center;justify-content:center;border:1.5px solid currentColor;border-radius:50%;font-weight:700;margin-right:4px}
.teacher-help-modal .ant-modal-body{max-height:65vh;overflow:auto;line-height:1.6}
.teacher-help-modal li{margin-bottom:8px}
.teacher-help-modal .ant-modal-footer{position:sticky;bottom:0;background:#fff;padding-top:12px}
.teacher-context-choice{max-width:720px;margin:16px auto;padding:20px;border:1px solid #dce8e0;border-radius:12px;background:white}
.teacher-experience button:focus-visible,.teacher-experience a:focus-visible{outline:3px solid #366d5a;outline-offset:3px}
.teacher-experience .ant-tabs-nav{max-width:100%}
.teacher-notebook-section{display:none}
@media(max-width:600px){.teacher-notebook-section{display:grid;gap:6px;margin-bottom:16px;font-size:13px;color:#365d4d}.teacher-notebook-section select{width:100%;min-height:44px;border:1px solid #bdcdc4;border-radius:8px;background:white;padding:10px;font-size:16px;color:#243e32}.teacher-experience .mw-gradebook-tabs>.ant-tabs-nav{display:none}}
@media(max-width:600px){.teacher-experience{padding-bottom:80px}.teacher-help-modal{max-width:calc(100vw - 24px);margin:0 auto}.teacher-help-modal .ant-modal-body{max-height:60vh}.teacher-context-choice{padding:12px}.teacher-context-help .ant-btn{min-height:40px}.teacher-experience .ant-select{max-width:100%}}
