.teacher-content{width:100%;max-width:none;color:#243f5d}.teacher-page{width:100%;max-width:1320px;margin:0 auto;min-width:0}.teacher-page h2{font-size:32px!important;line-height:1.25;letter-spacing:0!important}.teacher-page .screen-label{font-size:11px;color:#6085ad;letter-spacing:0}.teacher-page .intro{max-width:760px;color:#6c8096;line-height:1.65;font-size:15px}.teacher-page h3{font-size:19px;line-height:1.45;letter-spacing:0}.teacher-page button,.teacher-page a,.teacher-page input,.teacher-page select,.teacher-page textarea{font-family:inherit}.teacher-page .primary,.teacher-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:10px 16px;border-radius:6px;font-size:13px;font-weight:700;line-height:1.45;text-align:center;text-decoration:none;box-shadow:none}.teacher-page .primary{width:auto;margin:0;background:#2877d1;color:#fff}.teacher-button{background:#f5faff;border:1px solid #c7def3;color:#3979b8}.teacher-button:hover{background:#eaf4ff}.teacher-page button:disabled{opacity:.5;cursor:default;transform:none}.teacher-page :is(button,a,input,select,textarea):focus-visible{outline:3px solid #68a4e9;outline-offset:3px}.teacher-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.teacher-heading-actions{display:flex;flex-wrap:wrap;gap:8px;flex:none;margin-top:16px}.teacher-loading{margin-top:18px;color:#7290ad;font-size:14px}.teacher-alert{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;margin-bottom:18px;background:#fff3f2;border:1px solid #ebc1bf;border-radius:6px;color:#a64a49;font-size:13px;line-height:1.6}.teacher-alert .teacher-button{flex:none;background:#fff;color:#94504b;border-color:#e4c5c3}.teacher-success{margin-bottom:18px;padding:12px 16px;background:#ebf8f2;border:1px solid #bfdfd0;border-radius:6px;color:#36785f;font-size:13px;line-height:1.6}.teacher-note{font-size:12px;line-height:1.7;color:#8495a6;margin-top:14px}.teacher-empty{padding:34px 0;max-width:720px}.teacher-empty h3{margin-bottom:7px}.teacher-empty p{color:#70869e;font-size:14px;line-height:1.7;margin-bottom:16px}.teacher-count{margin:0 0 14px;font-size:12px;color:#8195aa}.teacher-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;padding:18px 0;margin-bottom:12px;border-block:1px solid #dde8f2}.teacher-filters label{display:grid;gap:7px;min-width:180px;flex:1;max-width:270px;font-size:12px;color:#70849b}.teacher-filters select,.teacher-field input,.teacher-field select,.teacher-field textarea,.teacher-invite-copy input{min-height:44px;width:100%;padding:10px 12px;border:1px solid #ccdeef;border-radius:6px;background:#fff;color:#284765;font-size:14px;line-height:1.5}.teacher-field textarea{resize:vertical;min-height:90px}.teacher-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.teacher-card{display:flex;flex-direction:column;min-width:0;padding:22px;border:1px solid #d9e6f1;background:#fff;border-radius:8px}.teacher-card-top{display:flex;align-items:flex-start;gap:14px;min-width:0}.teacher-card-top>div{min-width:0}.teacher-card-top h3{font-size:18px;overflow-wrap:anywhere}.teacher-card-top p{margin-top:4px;color:#71869b;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.teacher-photo{flex:none;width:64px;height:64px;object-fit:cover;border-radius:8px;background:#eaf4fd}.teacher-initial{display:grid;place-items:center;color:#5486b7;font-size:25px;font-weight:700}.teacher-photo-large{width:138px;height:150px}.teacher-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:13px}.teacher-badges span{background:#edf6ff;color:#5984ac;padding:4px 7px;font-size:10px;border-radius:4px;line-height:1.5}.teacher-badges .teacher-ad{background:#f1f1f1;color:#7a7a7a}.teacher-badges:empty{display:none}.teacher-card-meta{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:13px;color:#8195a9;font-size:12px;line-height:1.6}.teacher-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:20px}.teacher-card-bottom>span{font-size:11px;color:#8a9cae}.teacher-card-bottom strong{font-size:17px;color:#416d95}.teacher-card-bottom .teacher-button{min-height:38px;font-size:11px;padding:8px 10px}.teacher-profile-header{display:flex;align-items:center;gap:24px;padding:22px 0 26px;border-bottom:1px solid #dbe7f2}.teacher-profile-header>div{min-width:0}.teacher-profile-header h2{margin-top:4px}.teacher-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:48px;margin-top:24px}.teacher-profile-section{margin-bottom:24px;max-width:850px}.teacher-profile-section h3{margin-bottom:8px;color:#426787;font-size:17px}.teacher-profile-section p{color:#6e8298;font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.teacher-contact{align-self:start;border-left:1px solid #d6e5f2;padding:14px 0 18px 24px}.teacher-contact>strong{font-size:30px;line-height:1.3;color:#326899}.teacher-contact p{font-size:13px;color:#8298ae;margin-top:2px}.teacher-contact .primary{width:100%;margin-top:18px;font-size:12px}.teacher-contact small{display:block;color:#8fa1b3;font-size:12px;line-height:1.65;margin-top:14px}.teacher-tabs{display:flex;gap:8px;margin-bottom:22px;border-bottom:1px solid #d7e6f3;padding-bottom:11px}.teacher-tabs button{min-height:42px;padding:9px 17px;border-radius:6px;background:transparent;color:#6a85a0;font-size:13px}.teacher-tabs button[aria-selected=true]{background:#eaf4ff;color:#3375b6}.teacher-profile-status{margin-bottom:20px;font-size:13px;color:#62809d}.teacher-profile-status strong{display:inline-block;padding:5px 9px;background:#edf5fc;border-radius:4px;font-size:12px}.teacher-profile-status p{margin-top:6px;line-height:1.6;color:#8a9caf}.teacher-profile-form{max-width:1000px}.teacher-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}.teacher-field{display:grid;gap:7px;min-width:0;color:#63809b;font-size:12px;line-height:1.5}.teacher-wide{grid-column:1/-1}.teacher-field fieldset,fieldset.teacher-field{border:0;padding:0;margin:0}.teacher-level-checks{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}.teacher-level-checks legend{width:100%;margin-bottom:7px;font-size:12px}.teacher-level-checks label{display:flex;align-items:center;gap:6px;font-size:13px}.teacher-check{display:flex;align-items:flex-start;gap:10px;color:#728ba3;font-size:13px;line-height:1.7}.teacher-check input,.teacher-level-checks input{flex:none;appearance:auto;width:17px;height:17px;padding:0;margin-top:3px;accent-color:#357dc5;min-height:0}.teacher-public-consent{margin-top:22px;max-width:800px}.teacher-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}.teacher-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:8px 0 21px}.teacher-section-heading p{margin-top:5px;color:#8198ae;font-size:13px;line-height:1.6}.teacher-section-heading>.primary{flex:none}.teacher-invite-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:24px;max-width:850px}.teacher-invite-copy label{display:grid;gap:6px;color:#7190ac;font-size:12px;min-width:0}.teacher-invite-copy input{font-size:12px;color:#487295}.teacher-invite-copy small{grid-column:1/-1;color:#92a4b5;font-size:11px;line-height:1.6}.teacher-students,.teacher-assignments{display:grid;gap:18px;margin-top:21px}.teacher-student{border-top:1px solid #dce8f3;padding-top:20px}.teacher-student-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.teacher-student-heading>div{display:flex;flex-wrap:wrap;gap:8px}.teacher-student-heading .teacher-button{font-size:11px;min-height:36px;padding:8px 11px}.teacher-assignment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:18px 20px;border:1px solid #dce7f1;border-radius:8px;background:#fff;min-width:0}.teacher-assignment-main{min-width:0}.teacher-resource-type{color:#85a0b8;font-size:10px}.teacher-assignment h4{font-size:16px;line-height:1.5;margin-top:3px;color:#426887;overflow-wrap:anywhere}.teacher-assignment-main p{font-size:13px;line-height:1.65;white-space:pre-wrap;color:#7b91a5;margin-top:7px;overflow-wrap:anywhere}.teacher-assignment-main small{display:block;margin-top:6px;font-size:11px;color:#9aabbb}.teacher-assignment-author{display:block;font-size:12px;color:#88a0b6;margin-top:3px}.teacher-result-status{display:block;margin-top:8px;font-size:11px;color:#7295b3}.teacher-assignment-actions{display:flex;align-items:flex-start;flex-direction:column;gap:7px}.teacher-assignment-actions button{width:100%;font-size:11px;min-height:36px;padding:8px 12px}.teacher-result{grid-column:1/-1;padding-top:15px;border-top:1px solid #e2edf5;color:#6d87a0;font-size:13px;line-height:1.7}.teacher-result strong{color:#49799e}.teacher-result p{margin-top:6px}.teacher-result ul{margin:10px 0;padding-left:18px;display:grid;gap:4px}.teacher-result small{display:block;color:#91a4b6;font-size:11px;margin-top:10px}.teacher-connections{margin-top:30px;padding-top:24px;border-top:1px solid #d9e7f3}.teacher-connections h3{font-size:17px}.teacher-connections>p{max-width:760px;color:#7b93aa;font-size:13px;line-height:1.7;margin-top:7px}.teacher-connections>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;max-width:760px;color:#62829e;font-size:14px}.teacher-connections>small{display:block;margin-top:12px;color:#9aabbd;font-size:12px}.teacher-consent{max-width:800px;padding-top:20px}.teacher-consent h3{font-size:20px;margin-bottom:12px}.teacher-consent>p{color:#7089a3;font-size:15px;line-height:1.8;margin-top:10px}.teacher-consent .teacher-check{margin:24px 0 18px;color:#4f7597;font-size:14px}.teacher-consent>small{display:block;margin-top:15px;color:#8ca3ba;font-size:12px}.teacher-moderation-list{display:grid;gap:28px;margin-top:24px}.teacher-moderation-form{padding:22px 0;border-top:1px solid #d8e6f2;max-width:1000px}.teacher-moderation-form>p{color:#788ca2;font-size:13px;white-space:pre-wrap;line-height:1.8;margin-bottom:10px}.teacher-moderation-form .teacher-section-heading>span{color:#86a1b9;font-size:12px}.teacher-moderation-checks{padding:0;border:0;margin:22px 0 14px;display:grid;gap:10px}.teacher-moderation-checks legend{color:#5c7d9a;font-size:13px;margin-bottom:10px}.teacher-moderation-form>.teacher-check{margin-bottom:14px}.teacher-moderation-form>small{display:block;margin-top:15px;color:#8fa4b7;font-size:12px}.teacher-moderation-form>.teacher-button{font-size:12px;margin-top:8px}.teacher-presentation-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}.teacher-presentation-heading>span{flex:none;font-size:12px;color:#7f9db6;margin-top:25px}.teacher-presentation{text-align:center;padding:30px 20px;border-block:1px solid #dbe9f6;background:#f5faff}.teacher-presentation>p{font-size:14px;line-height:1.7;color:#6f8eaa}.teacher-large-hebrew{max-width:1050px;margin:18px auto 20px;white-space:pre-wrap;overflow-wrap:anywhere;font:400 52px/1.9 'Noto Sans Hebrew',Arial,sans-serif;color:#1f4d77}.teacher-presentation-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.teacher-presentation .teacher-presentation-hint{max-width:900px;margin:20px auto 0;padding:15px 0;border-top:1px solid #d9e9f5;font-size:15px;line-height:1.85;color:#477aa4;white-space:pre-wrap}.teacher-presentation-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.teacher-presentation-nav>span{font-size:12px;color:#8da7bd}.teacher-word-prompt{font-size:14px;color:#7794af;margin-top:18px}.teacher-word-hebrew{margin:18px 0 24px;text-align:center;overflow-wrap:anywhere;font:500 64px/1.8 'Noto Sans Hebrew',Arial,sans-serif;color:#2d689b}.teacher-word-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:780px;margin:0 auto}.teacher-word-options button{min-height:52px;border:1px solid #c9e0f3;border-radius:6px;background:#fff;padding:14px;color:#577e9f;font-size:15px;line-height:1.5}.teacher-word-options button.selected{background:#e7f3ff;border-color:#4c94d5;color:#286ca4}.teacher-word-options button:hover{background:#f1f8ff}.teacher-specialties{grid-column:1/-1}.home-teachers{padding-block:25px 32px;border-top:1px solid #dbe8f4;display:flex;align-items:center;justify-content:space-between;gap:24px}.home-teachers h2{font-size:23px;line-height:1.35}.home-teachers p{font-size:13px;color:#728ba2;line-height:1.6;margin-top:7px;max-width:670px}.home-teacher-actions{display:flex;gap:9px;flex-wrap:wrap;flex:none}.home-teacher-actions button{min-height:42px;padding:10px 15px;border-radius:6px;border:1px solid #bad6ef;background:#fff;color:#3274b4;font-size:12px;font-weight:700}.home-teacher-actions button:first-child{background:#eaf4ff}
@media(max-width:1080px){.teacher-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-heading{display:block}.teacher-heading-actions{margin-top:16px}.teacher-profile-layout{gap:28px}.home-teachers{align-items:flex-start}.home-teacher-actions{max-width:320px;justify-content:flex-end}.teacher-card{padding:18px}.teacher-card-bottom{flex-wrap:wrap}}
@media(max-width:680px){.teacher-page h2{font-size:26px!important}.teacher-page .intro{font-size:14px}.teacher-heading{margin-bottom:18px}.teacher-filters{gap:10px;padding-block:14px}.teacher-filters label{min-width:135px;max-width:none;font-size:11px}.teacher-filters select{font-size:13px}.teacher-directory{grid-template-columns:1fr;gap:13px}.teacher-card{padding:17px}.teacher-card-bottom{flex-wrap:nowrap;padding-top:17px}.teacher-card-top h3{font-size:17px}.teacher-card-top p{font-size:12px}.teacher-heading-actions{gap:7px}.teacher-heading-actions .teacher-button{flex:1;font-size:11px;padding-inline:11px}.teacher-alert{display:block;font-size:12px}.teacher-alert .teacher-button{display:block;margin-top:8px}.teacher-profile-header{gap:14px;align-items:flex-start;padding-block:18px}.teacher-photo-large{width:90px;height:102px}.teacher-profile-header h2{font-size:24px!important}.teacher-profile-header .intro{font-size:13px}.teacher-profile-header .teacher-card-meta{font-size:11px}.teacher-profile-layout{grid-template-columns:1fr;gap:20px}.teacher-contact{grid-row:1;border-left:0;border-bottom:1px solid #d6e5f2;padding:0 0 21px}.teacher-contact .primary{width:auto;margin-top:11px}.teacher-contact small{max-width:350px;font-size:11px;margin-top:10px}.teacher-contact>strong{font-size:25px}.teacher-profile-section p{font-size:14px}.teacher-tabs{gap:5px}.teacher-tabs button{flex:1;font-size:12px;padding-inline:8px}.teacher-form-grid{grid-template-columns:1fr;gap:16px}.teacher-wide{grid-column:auto}.teacher-field{font-size:12px}.teacher-public-consent{font-size:12px;line-height:1.7}.teacher-form-actions .primary,.teacher-form-actions .teacher-button{flex:1;font-size:12px}.teacher-section-heading{display:block}.teacher-section-heading>.primary{margin-top:12px}.teacher-invite-copy{grid-template-columns:1fr}.teacher-invite-copy small{grid-column:auto}.teacher-student-heading{display:block}.teacher-student-heading>div{margin-top:11px}.teacher-assignment{grid-template-columns:1fr;padding:16px;gap:12px}.teacher-assignment-actions{flex-direction:row;flex-wrap:wrap}.teacher-assignment-actions button{width:auto;flex:1}.teacher-assignment h4{font-size:15px}.teacher-result{font-size:12px}.teacher-connections>p{font-size:12px}.teacher-connections>div{font-size:13px}.teacher-connections .teacher-button{font-size:11px}.teacher-consent>p{font-size:14px}.teacher-consent .teacher-check{font-size:13px}.teacher-moderation-form .teacher-check{font-size:12px}.teacher-presentation-heading{display:block;margin-bottom:18px}.teacher-presentation-heading>span{display:block;margin-top:7px}.teacher-presentation{padding:22px 12px}.teacher-large-hebrew{font-size:34px;line-height:2}.teacher-presentation>p{font-size:13px}.teacher-presentation .teacher-presentation-hint{font-size:13px}.teacher-presentation-actions .teacher-button{font-size:12px;padding-inline:12px}.teacher-word-hebrew{font-size:48px;margin-block:14px 20px}.teacher-word-options{grid-template-columns:1fr;gap:9px}.teacher-word-options button{min-height:46px;font-size:14px;padding:11px}.teacher-specialties{grid-column:auto}.home-teachers{display:block;padding-block:22px 28px}.home-teachers h2{font-size:21px}.home-teacher-actions{justify-content:flex-start;max-width:none;margin-top:14px}.home-teacher-actions button{flex:1;min-width:130px}.keyboard-open .teacher-form-actions{position:sticky;bottom:0;padding-block:8px;background:#fff;z-index:2}.keyboard-open .teacher-page .teacher-note{display:none}}
.teacher-page :is(.intro,.teacher-note,.teacher-count,.teacher-loading,.teacher-filters label,.teacher-field,.teacher-check,.teacher-card-meta,.teacher-card-top p,.teacher-card-bottom>span,.teacher-profile-section p,.teacher-contact p,.teacher-contact small,.teacher-profile-status,.teacher-profile-status p,.teacher-section-heading p,.teacher-invite-copy label,.teacher-invite-copy small,.teacher-assignment-main p,.teacher-assignment-main small,.teacher-assignment-author,.teacher-resource-type,.teacher-result-status,.teacher-result,.teacher-result small,.teacher-connections>p,.teacher-connections>small,.teacher-consent>p,.teacher-consent>small,.teacher-moderation-form>p,.teacher-moderation-form>small,.teacher-moderation-form .teacher-section-heading>span,.teacher-presentation-heading>span,.teacher-presentation>p,.teacher-presentation-nav>span,.teacher-word-prompt){color:#60748a}.teacher-page .teacher-badges span{color:#315d87}.teacher-page .teacher-badges .teacher-ad{color:#666}.teacher-page .teacher-empty p{color:#60748a}.teacher-page input::placeholder,.teacher-page textarea::placeholder{color:#66798b}.teacher-page .teacher-card-bottom strong,.teacher-page .teacher-result strong{color:#36698f}.home-teachers p{color:#60748a}
@media(prefers-reduced-motion:reduce){.teacher-page *{scroll-behavior:auto}}

/* The private cabinet starts with daily work; editing opens on its own page. */
.teacher-cabinet{max-width:1120px;margin:0 auto;color:#243f5d;min-width:0}
.teacher-cabinet-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;min-width:0}
.teacher-cabinet-header>div{min-width:0}
.teacher-cabinet-header h2{font-size:28px!important;line-height:1.3;margin:5px 0 0}
.teacher-cabinet-header .screen-label{font-size:10px;font-weight:700;color:#567594}
.teacher-cabinet-header p,.teacher-cabinet-header .intro{font-size:13px;line-height:1.6;margin-top:6px;color:#60748a;max-width:710px}
.teacher-cabinet-header>.primary,.teacher-cabinet-header>.teacher-button{flex:none;min-height:44px;white-space:normal}
.teacher-cabinet-nav{display:flex;align-items:stretch;gap:4px;padding:0 0 10px;margin:0 0 14px;border-bottom:1px solid #d4e2ee;min-width:0}
.teacher-cabinet-nav :is(a,button){display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:6px;background:transparent;color:#516c86;font-size:13px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;min-width:0;box-shadow:none}
.teacher-cabinet-nav :is(a,button):hover{background:#eef5fc;color:#245f98}
.teacher-cabinet-nav :is([aria-current=page],[aria-selected=true],[aria-pressed=true]){background:#e8f2fe;border-color:#c5dcf3;color:#2166a6;font-weight:700}
.teacher-cabinet-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px;margin:23px 0 0;padding-top:12px;border-top:1px solid #d4e2ee;min-width:0}
.teacher-cabinet-tools :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:5px 0;border:0;background:transparent;color:#5a7794;font-size:12px;font-weight:500;line-height:1.6;text-decoration:none;box-shadow:none;overflow-wrap:anywhere}
.teacher-cabinet-tools :is(a,button):hover{color:#2166a6;text-decoration:underline;text-underline-offset:3px}
.teacher-cabinet-tools [aria-current=page]{color:#2166a6;font-weight:700}
.teacher-cabinet-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 22px}
.teacher-cabinet-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;min-height:99px;padding:17px 19px;border:1px solid #d2e1ee;border-radius:8px;background:#fff;color:#385975;text-align:left;min-width:0;box-shadow:none}
.teacher-cabinet-stat:hover{border-color:#8cb6df;background:#fafdff}
.teacher-cabinet-stat>span,.teacher-cabinet-stat>label{font-size:12px;font-weight:600;line-height:1.6;color:#526e88;overflow-wrap:anywhere}
.teacher-cabinet-stat>strong{font-size:29px;line-height:1.2;font-weight:700;color:#276aa8;grid-column:2;grid-row:1/3}
.teacher-cabinet-stat>small{font-size:11px;line-height:1.55;color:#60748a;overflow-wrap:anywhere}
.teacher-cabinet-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;align-items:start}
.teacher-cabinet-section{min-width:0;padding:21px;border:1px solid #d2e1ee;background:#fff;border-radius:8px}
.teacher-cabinet-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;min-width:0}
.teacher-cabinet-section-heading h3{font-size:16px;line-height:1.5;margin:0;color:#2c4e6d}
.teacher-cabinet-section-heading :is(a,button){flex:none;min-height:36px;padding:5px 0;border:0;background:transparent;color:#276aa8;font-size:11px;font-weight:600;line-height:1.6;text-decoration:none;box-shadow:none}
.teacher-cabinet-section-heading :is(a,button):hover{text-decoration:underline;text-underline-offset:3px}
.teacher-cabinet-list{display:grid;gap:0;min-width:0}
.teacher-cabinet-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px solid #e3ecf4;min-width:0}
.teacher-cabinet-row:first-child{border-top:0;padding-top:4px}
.teacher-cabinet-row:last-child{padding-bottom:0}
.teacher-cabinet-row-main,.teacher-cabinet-row>div:first-child{min-width:0;flex:1}
.teacher-cabinet-row h4,.teacher-cabinet-row h3,.teacher-cabinet-row-main>strong{display:block;font-size:14px;font-weight:700;line-height:1.6;margin:3px 0;color:#2d506f;overflow-wrap:anywhere}
.teacher-cabinet-row p,.teacher-cabinet-row small{font-size:11px;line-height:1.7;color:#60748a;margin-top:3px;overflow-wrap:anywhere}
.teacher-cabinet-row .studio-badge{font-size:10px;padding:4px 6px}
.teacher-cabinet-row-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;flex:none;max-width:45%}
.teacher-cabinet-row .teacher-button,.teacher-cabinet-row .primary{min-height:40px;padding:8px 11px;font-size:11px;line-height:1.5;gap:6px}
.teacher-cabinet-empty{padding:10px 0 3px;max-width:650px;min-width:0}
.teacher-cabinet-empty h3{font-size:16px;line-height:1.5;color:#2d506f;margin:0 0 6px}
.teacher-cabinet-empty p{font-size:13px;line-height:1.75;color:#60748a;margin:0 0 13px;overflow-wrap:anywhere}
.teacher-cabinet-empty>small{display:block;color:#60748a;font-size:11px;line-height:1.7;margin:0 0 12px;overflow-wrap:anywhere}
.teacher-cabinet-empty .teacher-button,.teacher-cabinet-empty .primary{min-height:42px;font-size:12px;margin:0}
.teacher-cabinet-setup{max-width:none;padding:22px;border:1px solid #d2e1ee;border-radius:8px;background:#fff}
.teacher-cabinet-setup>small{margin:13px 0 0;max-width:650px}
.teacher-cabinet .teacher-empty{padding:18px 0}
.teacher-cabinet .studio-empty{padding:22px!important;border:1px solid #d2e1ee;background:#fff;border-radius:8px}
.teacher-cabinet .studio-empty-icon{display:none}
.teacher-cabinet .studio-empty h3{font-size:19px!important;margin-top:0}
.teacher-cabinet .studio-empty p{font-size:13px!important;line-height:1.7;max-width:620px}
.teacher-cabinet .teacher-heading{margin-bottom:20px}
.teacher-cabinet .teacher-section-heading{margin:0 0 17px}
.teacher-cabinet .teacher-section-heading h3{font-size:18px}
.teacher-cabinet .teacher-section-heading p{font-size:12px;color:#60748a;max-width:660px}
.teacher-cabinet :is(.teacher-profile-form,.teacher-invite-copy){max-width:none}
.teacher-cabinet .teacher-invite-copy{padding:18px;border:1px solid #d2e1ee;background:#fff;border-radius:7px}
.teacher-cabinet .teacher-students{gap:12px;margin-top:18px}
.teacher-cabinet .teacher-student{padding:17px;border:1px solid #d2e1ee;background:#fff;border-radius:7px}
.teacher-cabinet .teacher-student-heading{margin-bottom:10px}
.teacher-cabinet .teacher-student-heading h3{font-size:16px}
.teacher-cabinet .teacher-student .teacher-assignments{margin-top:12px;gap:10px}
.teacher-cabinet .teacher-student .teacher-assignment{padding:13px 15px;background:#f8fbff}
.teacher-library-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.teacher-library-header h3{font-size:18px;margin:0}
.teacher-library-header p{font-size:12px;line-height:1.7;color:#60748a;margin-top:5px;max-width:700px}
.teacher-library-header>.teacher-library-levels{flex:none;margin:0}
.teacher-library-levels{display:flex;align-items:stretch;gap:7px;margin:0 0 19px;min-width:0}
.teacher-library-levels :is(a,button){display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:1px solid #c9deef;background:#fff;border-radius:6px;font-size:13px;font-weight:600;line-height:1.5;color:#587692;text-align:center;min-width:0}
.teacher-library-levels :is(a,button):hover{background:#f0f6fd;border-color:#8ab5df}
.teacher-library-levels :is([aria-pressed=true],[aria-selected=true],[aria-current=page]){background:#e7f1fe;border-color:#86b1dd;color:#2367a9}
.teacher-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}
.teacher-library-block{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;min-height:112px;padding:18px;border:1px solid #d1e1ee;border-radius:7px;background:#fff;text-align:left;color:#315572;box-shadow:none}
.teacher-library-block:hover{border-color:#80aed9;background:#f9fcff}
.teacher-library-block :is(strong,h3){display:block;font-size:15px;font-weight:700;line-height:1.6;color:#315572;margin:0;overflow-wrap:anywhere}
.teacher-library-block :is(span,small){font-size:11px;line-height:1.6;color:#60748a;overflow-wrap:anywhere}
.teacher-library-block>small{margin-top:auto;padding-top:2px}
.teacher-library-block :is(.teacher-resource-type,.screen-label){font-size:10px;color:#527697}
.teacher-library-block[aria-pressed=true]{background:#edf5ff;border-color:#7da9d6}
.teacher-library-detail{padding:22px;border:1px solid #c9deef;border-radius:8px;background:#fff;min-width:0}
.teacher-library-detail>h3{font-size:21px;line-height:1.5;margin:7px 0}
.teacher-library-detail>p{font-size:13px;line-height:1.75;color:#60748a;max-width:780px;margin-bottom:17px}
.teacher-library-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 15px;color:#60748a;font-size:12px;line-height:1.7}
.teacher-library-breadcrumb :is(a,button){min-height:36px;padding:5px 0;color:#276aa8;background:none;border:0;font-size:12px}
.teacher-library-lessons{display:grid;gap:0;min-width:0}
.teacher-library-lesson{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid #e2ecf5;min-width:0}
.teacher-library-lesson>div{min-width:0}
.teacher-library-lesson strong,.teacher-library-lesson h4{display:block;font-size:14px;line-height:1.6;color:#315572;overflow-wrap:anywhere;margin:0}
.teacher-library-lesson small,.teacher-library-lesson p{font-size:11px;line-height:1.7;color:#60748a;margin-top:3px;overflow-wrap:anywhere}
.teacher-library-lesson :is(button,a){flex:none;min-height:40px;font-size:12px;padding:8px 12px}
@media(max-width:980px){.teacher-cabinet-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.teacher-cabinet-section{padding:18px}.teacher-cabinet-row{align-items:flex-start;gap:12px}.teacher-cabinet-row-actions{max-width:42%}.teacher-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.teacher-cabinet-overview{grid-template-columns:1fr}.teacher-cabinet-header{align-items:flex-start;gap:14px;margin-bottom:18px}.teacher-cabinet-header h2{font-size:25px!important}.teacher-cabinet-header>.primary{padding:9px 12px;font-size:12px;max-width:190px}.teacher-cabinet-stats{gap:10px;margin-bottom:18px}.teacher-cabinet-stat{padding:14px;grid-template-columns:1fr;gap:5px;min-height:106px}.teacher-cabinet-stat>strong{grid-column:1;grid-row:2;font-size:27px}.teacher-cabinet-stat>span,.teacher-cabinet-stat>label{font-size:11px}.teacher-cabinet-stat>small{font-size:10px}.teacher-cabinet-nav{gap:3px}.teacher-cabinet-nav :is(a,button){flex:1;padding:9px 8px;font-size:12px}.teacher-cabinet-tools{gap:4px 16px;margin-top:19px}.teacher-cabinet-row{align-items:center}.teacher-cabinet-row-actions{max-width:45%}.teacher-library-header{display:block}.teacher-library-header>.teacher-library-levels{margin-top:13px}.teacher-library-levels :is(a,button){flex:1;padding-inline:10px;font-size:12px}.teacher-library-block{padding:15px;min-height:110px}.teacher-library-block :is(strong,h3){font-size:14px}.teacher-library-detail{padding:18px}}
@media(max-width:460px){.teacher-cabinet-header{display:block;margin-bottom:16px}.teacher-cabinet-header>.primary,.teacher-cabinet-header>.teacher-button{margin-top:13px;width:auto;max-width:none}.teacher-cabinet-header h2{font-size:24px!important}.teacher-cabinet-header p{font-size:12px}.teacher-cabinet-nav :is(a,button){font-size:11px;padding:8px 5px;min-height:46px;white-space:normal}.teacher-cabinet-stats{gap:7px}.teacher-cabinet-stat{padding:11px 10px;min-height:113px}.teacher-cabinet-stat>span,.teacher-cabinet-stat>label{font-size:10px}.teacher-cabinet-stat>strong{font-size:25px}.teacher-cabinet-stat>small{font-size:10px;line-height:1.5}.teacher-cabinet-section{padding:16px}.teacher-cabinet-section-heading h3{font-size:15px}.teacher-cabinet-row{align-items:flex-start;flex-wrap:wrap;gap:10px;padding-block:14px}.teacher-cabinet-row-main,.teacher-cabinet-row>div:first-child{flex-basis:100%}.teacher-cabinet-row-actions{justify-content:flex-start;max-width:none;width:100%}.teacher-cabinet-row-actions :is(.primary,.teacher-button){width:auto;min-height:42px}.teacher-cabinet-empty p{font-size:12px}.teacher-cabinet-tools{gap:4px 13px}.teacher-cabinet-tools :is(a,button){font-size:11px;min-height:40px}.teacher-library-grid{gap:9px}.teacher-library-block{min-height:116px;padding:13px 12px}.teacher-library-block :is(strong,h3){font-size:13px}.teacher-library-block :is(span,small){font-size:10px}.teacher-library-header{display:block}.teacher-library-header>.teacher-button{margin-top:12px}.teacher-library-detail{padding:16px}.teacher-library-detail>h3{font-size:19px}.teacher-library-detail>p{font-size:12px}.teacher-library-lesson{gap:10px;align-items:flex-start}.teacher-library-lesson strong,.teacher-library-lesson h4{font-size:13px}.teacher-library-lesson :is(button,a){font-size:11px;min-height:42px;padding:8px 10px;max-width:125px;white-space:normal}.teacher-cabinet .teacher-invite-copy{padding:15px}.teacher-cabinet .studio-empty{padding:18px!important}}
@media(prefers-reduced-motion:reduce){.teacher-cabinet *{transition:none!important}}
