:root{--ink:#172b35;--muted:#62747c;--line:#dce5e4;--green:#176653;--paper:#fff;--bg:#f3f6f3}*{box-sizing:border-box}[hidden]{display:none!important}.student-site{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,sans-serif}.site-head{max-width:1180px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px}.brand{color:var(--green);font-weight:850;letter-spacing:.08em;text-decoration:none}.brand span{color:var(--ink);font-weight:500;letter-spacing:0;margin-left:8px}#student-root{max-width:1132px;margin:20px auto;padding:0 20px 60px}.student-site h1{font-size:clamp(30px,5vw,46px);line-height:1.12;letter-spacing:-.035em;margin:10px 0 20px}.student-site h2{line-height:1.25}.muted{color:var(--muted)}.eyebrow{color:var(--green);font-size:12px;font-weight:750;letter-spacing:.12em}.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:26px;margin-bottom:18px}.login-card{max-width:460px;margin:70px auto}.student-site label{display:block;font-size:14px;font-weight:650;margin:18px 0 8px}.student-site input,.student-site select,.student-site textarea,.course-panel input,.course-panel select,.course-panel textarea{display:block;width:100%;padding:12px;border:1px solid #cbd7d6;border-radius:8px;background:#fff;color:#172b35;font:inherit;min-width:0}.student-site input:focus,.student-site textarea:focus,.student-site select:focus{outline:3px solid #bee1d6;outline-offset:1px}.student-site button,.student-site .button,.course-panel button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 18px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);font:inherit;font-weight:650;cursor:pointer;text-decoration:none}.student-site button.primary{background:var(--green);color:white;border-color:var(--green)}.student-site button:disabled{opacity:.55;cursor:wait}#login-form button{width:100%;margin-top:22px}.toolbar,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar{justify-content:space-between;margin-bottom:24px}.nav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.nav button[aria-current=page]{background:#dcece4;border-color:#a0c3b3}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.action-card{text-align:left!important;display:block!important;padding:26px!important;min-height:180px!important;border-radius:18px!important}.action-card strong{font-size:22px;display:block;margin:10px 0}.action-card span{font-weight:400;color:var(--muted);display:block}.badge{display:inline-block;font-size:12px;font-weight:750;padding:5px 10px;border-radius:30px;background:#e8edee;white-space:nowrap}.badge.approved{background:#d9efe1;color:#236542}.badge.rejected{background:#fce2de;color:#94382e}.badge.pending{background:#fff0cb;color:#785718}.history-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.history-row h2{font-size:20px;margin:0 0 8px}.task-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;line-height:1.7}.file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:16px 0;overflow-wrap:anywhere}.file-row>div{min-width:0}.file-row small{display:block;color:var(--muted)}.reason{padding:18px;border-left:3px solid var(--green);background:#f2f7f4;white-space:pre-wrap;overflow-wrap:anywhere}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);background:#172b35;color:white;padding:12px 20px;border-radius:10px;z-index:1000}#notice:empty{display:none}#login-error{color:#a33428}.course-panel{margin:20px 0;padding:20px;background:#fff;border:1px solid #dce5e4;border-radius:12px;color:#172b35}.course-panel summary{font-size:20px;font-weight:700;cursor:pointer}.sheet-scroll{overflow:auto;max-height:65vh;margin:16px 0}.course-panel table{border-collapse:collapse;width:100%;min-width:1200px;font:14px system-ui}.course-panel th,.course-panel td{border:1px solid #dce5e4;padding:6px;text-align:left;min-width:140px}.course-panel th{position:sticky;top:0;background:#e6f0e9;z-index:1}.course-panel td:first-child{min-width:210px}.course-panel textarea{min-height:64px}.course-panel .actions{margin:12px 0}.course-panel .reason-editor{margin:15px 0}.course-panel label{display:block;margin-top:12px}.course-panel button{border-color:#cbd7d6}.course-panel .save-status{min-height:24px}.course-panel .task-editor{margin:16px 0;border-top:1px solid #dce5e4;padding-top:14px}@media(max-width:700px){.site-head{padding:18px;font-size:14px}#student-root{margin:10px auto;padding:0 14px 40px}.login-card{margin:30px auto}.card{padding:20px}.grid{grid-template-columns:1fr}.action-card{min-height:130px!important}.history-row{align-items:flex-start;flex-direction:column}.history-row .actions{width:100%;justify-content:space-between}.nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.nav button{padding:8px;font-size:13px}.file-row{align-items:flex-start;flex-direction:column}.course-panel{padding:12px}.toolbar{align-items:flex-start}.student-site input,.student-site select,.student-site textarea{font-size:16px}}

.grid{margin-bottom:18px}.action-card:hover{border-color:#8cab9f!important;background:#fafffc!important}.action-card:focus-visible{outline:3px solid #a0c3b3;outline-offset:3px}.student-site h1{overflow-wrap:anywhere}

.file-preview{width:min(1080px,94vw);max-width:94vw;height:90dvh;max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:white;overflow:hidden}.file-preview[open]{display:flex;flex-direction:column}.file-preview::backdrop{background:rgba(10,25,30,.65)}.preview-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid var(--line)}.preview-head h2{margin:0;font-size:17px;overflow-wrap:anywhere;min-width:0}.preview-head button{flex-shrink:0}.preview-body{flex:1;min-height:0;overflow:auto;padding:18px;background:#f5f7f6}.preview-body img{display:block;max-width:100%;height:auto;margin:auto}.preview-body iframe{width:100%;height:100%;border:0;background:white}.preview-body pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.6 Consolas,monospace;tab-size:4}.preview-footer{padding:12px 20px;border-top:1px solid var(--line)}@media(max-width:600px){.file-preview{width:96vw;max-width:96vw;height:94dvh;max-height:94dvh}.preview-head{padding:12px}.preview-body{padding:10px}.preview-footer{padding:10px 12px}}

.pdf-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:0;background:#f5f7f6;padding:0 0 12px}.pdf-controls span{font-size:13px;text-align:center}.pdf-controls button{font-size:13px;padding:8px}.pdf-page{display:block;max-width:100%;height:auto;margin:auto;background:white}
.instruction-card{margin:24px 0;border:1px solid #d6e2db;border-radius:12px;overflow:hidden;background:#fff}.instruction-card header{padding:20px 24px;background:#edf4ef;border-bottom:1px solid #d6e2db}.instruction-label{font-size:12px;font-weight:650;color:#476853}.student-site .instruction-card h3{font-size:21px;line-height:1.4;margin:6px 0 0;color:#203c2a}.instruction-copy{padding:8px 24px;max-width:850px;font-size:16px;line-height:1.85}.instruction-copy p{margin:18px 0;white-space:pre-wrap;overflow-wrap:anywhere}.instruction-card footer{padding:12px 24px;background:#fafcf9;border-top:1px solid #e5ebe5;font-size:12px;color:#607467}.instructions-editor{margin:30px 0 10px;border-top:1px solid #dce5e4;padding-top:22px}.instructions-heading h3{margin:0 0 8px;font-size:22px}.instructions-heading p{margin:0 0 20px;color:#66796b}.instruction-list{display:grid;gap:10px}.course-panel .task-editor{border:1px solid #d7e1d9;border-radius:10px;padding:0;margin:0;overflow:hidden}.course-panel .task-editor>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;background:#f5f8f4;font-size:16px;font-weight:650}.course-panel .task-editor>summary::-webkit-details-marker{display:none}.course-panel .task-editor>summary small{font-size:12px;white-space:nowrap;color:#176653;font-weight:500}.course-panel .task-editor[open]>summary{background:#eaf2eb;border-bottom:1px solid #d7e1d9}.task-editor-body{padding:20px}.task-editor-help{margin:0 0 16px;color:#66796b;font-size:13px}.course-panel .task-editor label{font-size:13px;font-weight:650}.course-panel .task-editor textarea{margin:8px 0 16px;min-height:230px;line-height:1.8;font-size:15px;resize:vertical;padding:18px;background:#fdfefd}.course-panel .task-editor button{background:#176653;color:#fff;border-color:#176653}.course-panel .task-editor>summary:focus-visible{outline:2px solid #21874e;outline-offset:-2px}@media(max-width:600px){.instruction-card header{padding:16px}.instruction-copy{padding:4px 16px}.instruction-card footer{padding:12px 16px}.course-panel .task-editor>summary{padding:15px;align-items:flex-start}.task-editor-body{padding:15px}.course-panel .task-editor>summary small{white-space:normal;text-align:right}}
.teacher-site .wrap.wide{max-width:1840px;padding-left:24px;padding-right:24px}.course-panel .sheet-scroll{border:1px solid #becbc3;max-height:65vh;background:white;scrollbar-gutter:stable}.course-panel table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font:13px/1.35 Calibri,Arial,sans-serif}.course-panel th,.course-panel td{min-width:0;border:0;border-right:1px solid #dce3de;border-bottom:1px solid #dce3de;padding:0;height:34px;background:white;vertical-align:middle}.course-panel thead th{font:600 12px/1.3 system-ui;text-transform:none;letter-spacing:0;padding:7px 8px;top:25px;background:#e5eee7;height:36px;color:#244834;z-index:4}.course-panel .sheet-letters th{top:0;height:25px;padding:3px 8px;text-align:center;background:#f0f3f0;color:#68736a;font-size:11px;font-weight:500}.course-panel table tr>:first-child{width:38px;min-width:38px;max-width:38px;position:sticky;left:0;text-align:center;background:#f0f3f0;color:#68736a;z-index:2;font-weight:400}.course-panel table tr>:nth-child(2){width:230px;min-width:230px;position:sticky;left:38px;z-index:2;background:#fff}.course-panel table tr>:nth-child(3){width:140px;min-width:140px;position:sticky;left:268px;z-index:2;background:#fff;box-shadow:2px 0 0 #bdcdc1;padding:0 8px;font-variant-numeric:tabular-nums}.course-panel table thead tr>:nth-child(-n+3){z-index:6;background:#e5eee7}.course-panel table .sheet-letters>:nth-child(-n+3){background:#f0f3f0}.course-panel table tr>:nth-child(n+4){width:132px;min-width:132px}.course-panel table tr>:nth-child(7),.course-panel table tr>:nth-child(9){width:190px;min-width:190px}.course-panel table tr>:last-child{width:150px;min-width:150px}.course-panel table input,.course-panel table select,.course-panel table textarea{height:34px;min-height:34px;margin:0;padding:7px 8px;border:0;border-radius:0;background:transparent;font:inherit;box-shadow:none;color:inherit}.course-panel table textarea{resize:none;overflow:hidden;white-space:nowrap}.course-panel table textarea:focus{height:76px;white-space:pre-wrap;overflow:auto}.course-panel table input:focus,.course-panel table select:focus,.course-panel table textarea:focus{outline:2px solid #21874e;outline-offset:-2px;background:#fff}.course-panel table td[data-mark="+"]{background:#e4f1e7;color:#21643a}.course-panel table td[data-mark="x"]{background:#fce8e3;color:#913c30}.course-panel table td[data-mark="pending"]{background:#fff3cf;color:#785d18}.course-panel table td:last-child{padding:4px 8px}.course-panel table td:last-child small{display:none}.course-panel table td:last-child button{min-height:26px;height:26px;padding:2px 7px;font-size:12px;border:0;background:transparent;text-decoration:underline}.course-panel .save-status{font-size:12px;color:#607467;margin:10px 0}.course-panel>summary{padding:6px 0}.course-panel label:has(#course-search){max-width:350px}.course-panel.sheet-expanded{position:fixed;inset:10px;z-index:200;margin:0;overflow:auto;border-radius:6px;box-shadow:0 0 0 100vmax #18362566}.course-panel.sheet-expanded .sheet-scroll{max-height:calc(100dvh - 290px)}@media(max-width:700px){.teacher-site .wrap.wide{padding-left:12px;padding-right:12px}.course-panel table tr>:nth-child(2){width:170px;min-width:170px}.course-panel table tr>:nth-child(3){position:static;box-shadow:none}.course-panel.sheet-expanded{inset:3px}.course-panel table input,.course-panel table select,.course-panel table textarea{font-size:16px}.course-panel .actions button{font-size:13px;padding:8px 10px}}

.course-panel tbody th.row-number{top:auto}.course-panel .task-editor textarea{font-weight:400}.task-editor-body{max-width:1100px}

.reason-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.reason-card{padding:18px;border:1px solid #d7e1d9;border-radius:10px;background:#fafcf9}.reason-card h4{font-size:16px;margin:0 0 14px}.course-panel .reason-card textarea{margin:8px 0 14px;font-weight:400;min-height:108px;line-height:1.6}.reason-saved{display:block;font-size:12px;color:#176653;margin-top:8px}.original-feedback{font-size:13px;color:#607467;margin:12px 0}.original-feedback p{white-space:pre-wrap}@media(max-width:700px){.reason-grid{grid-template-columns:1fr}}
.session-loading{max-width:460px;margin:90px auto;padding:32px;text-align:center;color:#607467;font:16px system-ui}.teacher-inbox-bar{display:flex;justify-content:flex-end;margin:0 0 14px}.inbox-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;position:relative}.inbox-actions button,.inbox-dialog button{font:600 14px system-ui;cursor:pointer}.inbox-actions .feedback-trigger{padding:10px 15px;min-height:42px;background:white;color:#244834;border:1px solid #cbd7d6;border-radius:8px}.inbox-actions .notification-trigger{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #d7e1d9;border-radius:50%;background:white;color:#35483d}.notification-count{position:absolute;right:-3px;top:-4px;min-width:19px;height:19px;padding:0 4px;border:2px solid white;border-radius:20px;background:#df5151;color:white;font:700 11px/15px system-ui;text-align:center}.notification-popover{position:absolute;right:0;top:54px;width:420px;max-width:calc(100vw - 28px);background:#fff;border:1px solid #d6e1d8;border-radius:13px;box-shadow:0 12px 40px #17322626;z-index:250;color:#172b35;overflow:hidden}.notification-heading{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #e2e8e3}.notification-heading h2{font:700 18px system-ui;margin:0}.inbox-actions .inbox-refresh{border:0;background:transparent;color:#176653;min-height:36px;padding:7px;font-size:12px}
.notification-heading-actions{display:flex;align-items:center;gap:4px}
.inbox-actions .inbox-mark-all{border:0;background:transparent;color:#176653;min-height:36px;padding:7px;font-size:12px;font-weight:700;white-space:nowrap}
.inbox-actions .inbox-mark-all:disabled{opacity:.6;cursor:default}
@media(max-width:600px){.notification-heading{padding:12px 14px}.notification-heading .inbox-refresh,.notification-heading .inbox-mark-all{min-height:44px;padding:8px 10px;font-size:13px}}.notification-items{max-height:min(540px,70dvh);overflow:auto}.inbox-actions .notification-item{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e7ece8;border-radius:0;background:white;padding:16px 18px;white-space:normal;color:#172b35;font:13px/1.45 system-ui}.inbox-actions .notification-item.unread{background:#f0f6f1}.inbox-actions .notification-item:hover,.inbox-actions .notification-item:focus-visible{background:#e8f1ea;outline:2px solid #21874e;outline-offset:-2px}.notification-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.notification-top strong{font-size:13px}.unread-dot{background:#d94c4c;width:7px;height:7px;border-radius:50%;flex-shrink:0}.notification-title,.notification-person,.notification-snippet{display:block;margin-top:5px}.notification-title{font-weight:650}.notification-person{color:#51695b}.notification-snippet{color:#62747c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.notification-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;font-size:10px;font-weight:400}.notification-status{background:#e8edef;padding:3px 7px;border-radius:5px;font-size:11px;font-weight:600}.notification-status[data-status=Approved],.notification-status[data-status=Answered]{background:#dceee1;color:#23603b}.notification-status[data-status=Rejected]{background:#fbe1de;color:#98392e}.notification-status[data-status="In review"],.notification-status[data-status="Awaiting reply"]{background:#fff0ce;color:#785b18}.inbox-empty{padding:24px;font:14px/1.6 system-ui;color:#62747c}.inbox-dialog{width:min(640px,94vw);max-width:94vw;max-height:90dvh;border:1px solid #d7e1d9;border-radius:14px;padding:0;color:#172b35;background:white;font:15px/1.5 system-ui}.inbox-dialog::backdrop{background:#10231dcc}.inbox-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid #dce5df;padding:16px 22px}.inbox-dialog h2{font-size:21px;line-height:1.2;margin:0}.inbox-dialog h3{font-size:19px;margin:0 0 8px;overflow-wrap:anywhere}.inbox-dialog button{min-height:42px;padding:9px 15px;border:1px solid #cbd7d6;border-radius:8px;background:white;color:#172b35}.inbox-dialog-body{padding:22px}.inbox-dialog label{display:block;font-size:13px;font-weight:650;margin:15px 0 8px}.inbox-dialog input,.inbox-dialog textarea,.inbox-dialog select{display:block;width:100%;border:1px solid #cbd7d6;border-radius:8px;padding:11px;margin-top:7px;min-width:0;background:white;color:#172b35;font:400 15px/1.5 system-ui}.inbox-dialog textarea{resize:vertical}.inbox-dialog .inbox-primary{background:#176653;color:white;border-color:#176653}.inbox-dialog button:disabled{opacity:.6;cursor:wait}.inbox-context{font-size:13px;color:#62747c;line-height:1.6;margin:0 0 15px}.inbox-error{color:#a2392d;font-size:13px;white-space:pre-wrap}.inbox-form-actions{display:flex;gap:10px;flex-wrap:wrap}.feedback-image{display:block;max-width:100%;max-height:300px;object-fit:contain;border:1px solid #dce5df;border-radius:8px;margin:16px auto}.feedback-messages{display:grid;gap:12px;margin:20px 0}.feedback-message{padding:14px 16px;background:#f0f4f1;border:1px solid #dfe8e1;border-radius:10px}.feedback-message.own{background:#f9faf8;margin-left:24px}.feedback-message>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.feedback-message time{color:#62747c;font-size:10px}.feedback-message p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.feedback-reply{border-top:1px solid #dce5df;padding-top:8px}@media(max-width:600px){.site-head{gap:12px;flex-wrap:wrap}.site-head .brand{font-size:13px}.inbox-actions{gap:8px}.inbox-actions .feedback-trigger{font-size:12px;padding:8px 10px}.notification-popover{position:fixed;top:78px;right:12px;left:12px;width:auto;max-width:none}.notification-items{max-height:65dvh}.inbox-dialog-body{padding:16px}.inbox-dialog>header{padding:14px 16px}.inbox-dialog input,.inbox-dialog textarea,.inbox-dialog select{font-size:16px}.feedback-message>div{flex-wrap:wrap;gap:4px}}

.activity-panel{padding:22px;border:1px solid #dce5e4;border-radius:12px;background:#fff;margin-bottom:20px}.activity-panel h2{font-size:21px;margin:0 0 6px}.activity-panel p{margin:0;font-size:13px;color:#62747c}.activity-list{max-height:350px;overflow:auto}.activity-item{display:grid;grid-template-columns:1.4fr 1.3fr auto auto;align-items:center;gap:18px;padding:16px 0;border-top:1px solid #e2e8e3;font-size:14px}.activity-item small{display:block;color:#62747c;margin-top:6px}.activity-item time{font-size:12px;white-space:nowrap}.activity-item strong{font-weight:650}.activity-item button,.activity-panel>div>button{min-height:40px;padding:8px 14px;border:1px solid #cbd7d6;border-radius:8px;background:white;cursor:pointer}.activity-item .badge{font-size:12px}@media(max-width:700px){.activity-panel{padding:16px}.activity-item{grid-template-columns:1fr;gap:10px}.activity-item button{justify-self:start}.activity-list{max-height:460px}}
.inbox-actions{flex-wrap:wrap}.inbox-actions .feedback-history-trigger{min-height:42px;padding:10px 15px;background:white;border:1px solid #cbd7d6;border-radius:8px;color:#244834}.feedback-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.feedback-history-heading p{margin:0}.feedback-history-list{max-height:55dvh;overflow:auto;overscroll-behavior:contain;border:1px solid #dce5df;border-radius:9px;margin-bottom:16px}.inbox-dialog .feedback-history-item{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e4eae6;border-radius:0;padding:16px;background:white;white-space:normal;overflow-wrap:anywhere}.feedback-history-item:hover,.feedback-history-item:focus-visible{background:#f0f6f2}.feedback-history-item>span{display:block;margin-top:5px;font-size:12px;font-weight:400;color:#62747c}.feedback-history-item .feedback-history-title{font-size:15px;font-weight:700;color:#172b35}.feedback-history-preview{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.feedback-history-item .feedback-history-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;font-size:11px}.chat-dialog[open]{display:flex;flex-direction:column;height:min(800px,90dvh);overflow:hidden}.chat-dialog>header{flex-shrink:0}.chat-dialog .inbox-dialog-body{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:0}.chat-heading{padding:16px 22px 0;flex-shrink:0}.chat-heading button{margin-bottom:12px}.chat-dialog .feedback-messages{display:flex;flex-direction:column;gap:12px;flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:18px 22px;margin:0;background:#f7f9f7}.chat-dialog .feedback-message{flex-shrink:0;align-self:flex-start;max-width:88%;background:white;border-radius:12px 12px 12px 3px;margin:0}.chat-dialog .feedback-message.own{align-self:flex-end;background:#e7f2eb;border-color:#cfe2d5;border-radius:12px 12px 3px 12px}.chat-dialog .feedback-reply{padding:10px 22px 16px;flex-shrink:0}.chat-dialog .feedback-reply label{margin:0}.chat-dialog textarea{max-height:120px}.chat-send-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.chat-connection{font-size:11px;color:#62747c}.chat-dialog .inbox-error:empty{display:none}@media(max-width:600px){.inbox-actions .feedback-history-trigger{font-size:12px;padding:8px 10px}.chat-dialog[open]{width:96vw;max-width:96vw;height:94dvh;max-height:94dvh}.chat-heading{padding:12px 14px 0}.chat-heading h3{font-size:16px}.chat-heading button{min-height:34px;padding:6px 10px;margin-bottom:8px}.chat-dialog .feedback-messages{padding:14px}.chat-dialog .feedback-message{max-width:94%;padding:10px 12px}.chat-dialog .feedback-reply{padding:10px 14px 12px}.chat-connection{max-width:55%}}
.chat-dialog .chat-closed{flex-shrink:0;margin:0;padding:18px 22px;background:#edf3ef;border-top:1px solid #dce5df;font-size:13px;color:#355244}.chat-dialog .chat-closed[hidden],.chat-dialog .feedback-reply[hidden]{display:none}.chat-heading [data-end-conversation]{float:right;margin-left:10px;color:#843e32}
.chat-loading{margin:auto;padding:28px;text-align:center;color:#62747c;font-size:14px}
.homework-history{margin-top:30px;padding-top:24px;border-top:1px solid #dce5df}.homework-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.homework-history-heading h3{margin:0}.homework-history-heading span{font-size:12px;color:#62747c}.homework-timeline{list-style:none;margin:22px 0 0;padding:0 0 0 20px;border-left:2px solid #dce5df}.homework-event{position:relative;padding:0 0 24px 4px;overflow-wrap:anywhere}.homework-event:before{content:'';position:absolute;left:-26px;top:6px;width:10px;height:10px;border-radius:50%;background:#78938a;border:2px solid white}.homework-event[data-status=x]:before{background:#c15a49}.homework-event[data-status="+"]:before{background:#21865b}.homework-event-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.homework-event-heading strong{font-size:14px}.homework-event-heading time,.homework-event-actor{font-size:12px;color:#62747c}.homework-event-actor{display:block;margin-top:4px}.homework-event p{font-size:14px;margin:9px 0 0;white-space:pre-wrap}.homework-event .history-reason{padding:12px 14px;background:#fff3f0;border-left:3px solid #c15a49;border-radius:0 6px 6px 0}.history-previous{color:#80665f;font-size:12px}.history-note{color:#52695e}.history-file{font-weight:600}@media(max-width:600px){.homework-event-heading{display:block}.homework-event-heading time{display:block;margin-top:4px}.homework-history{margin-top:24px}.homework-timeline{padding-left:16px}.homework-event:before{left:-22px}}
/* Attendance uses the same quiet classroom palette on mobile and desktop. */
.attendance-content{padding:20px}.attendance-content>label{display:block;margin:16px 0}.attendance-content select{width:100%}.attendance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.attendance-summary>div{padding:14px 16px;border:1px solid #d9e4df;border-radius:10px;background:#f8faf9}.attendance-summary strong{display:block;font-size:26px;line-height:1.3}.attendance-summary span{font-size:13px;color:#53675e}.attendance-weeks{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.attendance-week{border:1px solid #d9e4df;border-radius:10px;padding:16px;background:#fff}.attendance-week h3{margin:0 0 10px;font-size:15px}.attendance-status{font-size:13px}.attendance-week[data-status=present]{border-left:3px solid #19705a;background:#f2f8f4}.attendance-week[data-status=absent]{border-left:3px solid #b45343;background:#fdf6f4}.attendance-week[data-status=excused],.attendance-week[data-status=late]{border-left:3px solid #ae8738;background:#fcf9f1}.attendance-week[data-status=not-counted]{background:#f5f6f5;color:#6c7972}.attendance-updated{font-size:12px;color:#64756c;margin-top:18px}.attendance-register{margin-top:24px}.attendance-register>summary{font-weight:600;cursor:pointer;padding:12px 0}.attendance-register table{min-width:1500px;width:100%;border-collapse:collapse}.attendance-register td,.attendance-register th{padding:12px;text-align:left;border:1px solid #d9e4df;font-size:13px;white-space:nowrap}.attendance-register th small{display:block;font-weight:400;color:#64756c}.attendance-register td[data-status=present]{background:#eaf5ee}.attendance-register td[data-status=absent]{background:#fbece8}.attendance-register td[data-status=excused]{background:#fff5d9}.attendance-register td[data-status=not-counted]{color:#737f78;background:#f4f6f4}.attendance-register td[data-status=not-recorded]{color:#737f78}.attendance-register tbody th{position:sticky;left:0;background:#fff;z-index:1}.attendance-export-status:empty{display:none}@media(max-width:600px){.attendance-content{padding:14px}.attendance-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.attendance-weeks{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-week{padding:12px}.attendance-week h3{font-size:14px}.attendance-status{font-size:12px}.attendance-register tbody th{max-width:150px;white-space:normal}}
.attendance-mode{display:flex;gap:6px;margin:18px 0}.attendance-mode button[aria-pressed=true]{background:#176653;color:#fff;border-color:#176653}.attendance-filters{display:flex;gap:16px;align-items:end;margin:16px 0}.attendance-filters label{flex:1;min-width:0}.attendance-filters label:has([data-week-picker]){flex:0 0 150px}.attendance-save-status{font-size:13px;color:#53675e;min-height:22px}.attendance-save-status[data-error=true]{color:#a13c2f}.attendance-counts{display:flex;flex-wrap:wrap;gap:10px 20px;margin:16px 0;font-size:13px;color:#53675e}.attendance-counts strong{color:#163a30}.attendance-roster{border:1px solid #d9e4df;border-radius:12px;overflow:hidden}.attendance-roster-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 16px;border-bottom:1px solid #e5ece8;background:#fff}.attendance-roster-row:last-child{border-bottom:0}.attendance-roster-row small{display:block;color:#6b7972;font-size:12px;margin-top:3px}.attendance-roster-row select{width:180px;flex:0 0 180px;min-height:44px}.attendance-roster-row[data-status=present]{border-left:3px solid #19705a}.attendance-roster-row[data-status=absent]{border-left:3px solid #b45343}.attendance-roster-row[data-status=excused],.attendance-roster-row[data-status=late]{border-left:3px solid #ae8738}.attendance-week select{width:100%;min-height:44px;font-size:13px;padding:8px}.attendance-roster-row select:disabled,.attendance-week select:disabled{opacity:.6}@media(max-width:600px){.attendance-filters{flex-direction:column;align-items:stretch;gap:10px}.attendance-filters label:has([data-week-picker]){flex:auto}.attendance-roster-row{gap:8px;padding:12px}.attendance-roster-row strong{font-size:14px;overflow-wrap:anywhere}.attendance-roster-row select{width:145px;flex-basis:145px;font-size:12px;padding:8px}}@media(max-width:370px){.attendance-roster-row{align-items:stretch;flex-direction:column}.attendance-roster-row select{width:100%;flex:auto}}
.upload-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin-top:18px}.upload-progress[hidden]{display:none}.upload-progress p{grid-column:1/-1;margin:0;overflow-wrap:anywhere;font-size:14px}.upload-progress progress{appearance:none;width:100%;height:8px;margin:auto 0;border:0;border-radius:8px;overflow:hidden;background:#e4ece7;accent-color:#176653}.upload-progress progress::-webkit-progress-bar{background:#e4ece7;border-radius:8px}.upload-progress progress::-webkit-progress-value{background:#176653;border-radius:8px}.upload-progress progress::-moz-progress-bar{background:#176653;border-radius:8px}.upload-progress [data-upload-percent]{font-size:13px;font-variant-numeric:tabular-nums;color:#176653;font-weight:600}.upload-progress[data-state=error] p{color:#a13c2f}
.archive-dialog{width:min(1200px,96vw);max-width:96vw;height:min(840px,92dvh);max-height:92dvh;padding:0;border:1px solid #d9e4df;border-radius:16px;color:#172b35}.archive-dialog[open]{display:flex;flex-direction:column}.archive-dialog::backdrop{background:#172b35b3}.archive-dialog header{display:flex;justify-content:space-between;gap:16px;align-items:start;padding:18px 22px;border-bottom:1px solid #dce5df}.archive-dialog h2{font-size:19px;margin:0;overflow-wrap:anywhere}.archive-dialog header p{font-size:12px;color:#62747c;margin:6px 0 0}.archive-toolbar{display:flex;align-items:center;gap:14px;padding:12px 22px;border-bottom:1px solid #dce5df}.archive-toolbar input{flex:1;min-width:0}.archive-workspace{display:grid;grid-template-columns:minmax(220px,30%) minmax(0,1fr);flex:1;min-height:0}.archive-workspace aside{overflow:auto;border-right:1px solid #dce5df;background:#f7f9f7;padding:12px}.archive-path{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;font-size:12px;padding:4px 0 12px}.archive-entry{display:block;width:100%;text-align:left;padding:12px;border:0;border-bottom:1px solid #e1e8e3;border-radius:0;background:transparent;white-space:normal;overflow-wrap:anywhere}.archive-entry:hover,.archive-entry:focus-visible{background:#e7f0e9}.archive-entry strong{font-size:13px;display:block}.archive-entry small{display:block;font-size:11px;color:#62747c;margin-top:3px}.archive-folder strong{color:#176653}.archive-preview{overflow:auto;padding:20px;min-width:0}.archive-preview-head{display:flex;gap:12px;align-items:start;justify-content:space-between;margin-bottom:16px}.archive-preview h3{font-size:15px;margin:0;overflow-wrap:anywhere}.archive-preview .button,.archive-toolbar .button{white-space:nowrap;font-size:12px}.archive-preview pre{font:13px/1.6 Consolas,monospace;white-space:pre;overflow:auto;background:#f7f9f7;padding:16px;border-radius:8px;tab-size:4}.archive-preview img,.archive-preview canvas{max-width:100%;height:auto}.activity-error{color:#a13c2f}@media(max-width:700px){.archive-dialog{height:94dvh;max-height:94dvh}.archive-workspace{grid-template-columns:1fr;grid-template-rows:minmax(130px,32%) minmax(0,1fr)}.archive-workspace aside{border-right:0;border-bottom:1px solid #dce5df}.archive-dialog header,.archive-toolbar{padding:12px}.archive-preview{padding:12px}.archive-dialog h2{font-size:15px}.archive-toolbar{flex-wrap:wrap}.archive-toolbar input{width:100%}.archive-preview-head{flex-wrap:wrap}}
.submission-review{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;cursor:default}.submission-review button{font-size:12px;line-height:1.3;padding:7px 10px;border:1px solid #ccd9d2;border-radius:7px;background:#fff;cursor:pointer}.submission-review button:disabled{opacity:.5;cursor:default}.submission-review .review-approve{color:#176653;border-color:#9dc9b5}.submission-review .review-reject,.review-dialog .review-reject{color:#a13c2f;border:1px solid #dfb5ad;background:#fff6f4}.submission-review .review-reset{color:#62747c}.submission-review .badge{font-size:11px;white-space:nowrap}.review-inline-error{flex-basis:100%;color:#a13c2f;font-size:12px;white-space:normal}.review-inline-error:empty{display:none}.review-dialog{width:min(540px,94vw);max-width:94vw;padding:0;border:1px solid #d9e4df;border-radius:14px;color:#172b35}.review-dialog::backdrop{background:#172b3599}.review-dialog header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #dce5df}.review-dialog h2{font-size:20px;margin:0}.review-dialog form{padding:20px 22px}.review-dialog label{display:block;font-weight:600}.review-dialog textarea{display:block;width:100%;margin-top:8px;resize:vertical;min-height:110px}.review-dialog .review-context{font-size:14px;margin-top:0}.review-dialog .muted{font-size:12px}.review-dialog .review-error{color:#a13c2f}.review-dialog .actions{justify-content:flex-end}.teacher-site .g{flex-wrap:wrap}.teacher-site .g .rv{margin-left:auto;flex-shrink:0}@media(max-width:700px){.teacher-site .g .rv{width:100%;margin-left:0;padding-top:10px}.submission-review{justify-content:flex-start}.submission-review button{min-height:40px}.review-dialog form,.review-dialog header{padding:16px}}
.review-history-body{padding:20px 22px}.review-history-body .homework-timeline{padding-left:0;list-style:none;max-height:48vh;overflow:auto;margin:20px 0}.review-history-body .homework-event{padding:14px 0;border-top:1px solid #e2e8e3;overflow-wrap:anywhere}.review-history-body time{display:block;margin-top:5px;font-size:12px;color:#62747c}.review-history-body p{white-space:pre-wrap}.review-dialog{max-height:92dvh;overflow:auto}.review-dialog button,.homework-tools button{padding:9px 14px;border:1px solid #ccd9d2;border-radius:8px;background:white;cursor:pointer}.review-dialog textarea{box-sizing:border-box;padding:12px;border:1px solid #ccd9d2;border-radius:8px;font:inherit}.submission-review select{width:auto;max-width:130px;font:inherit;font-size:12px;padding:7px;border:1px solid #ccd9d2;border-radius:7px;background:white}.grade-review-details{font-size:11px!important;padding:4px 6px!important;margin-top:5px;color:#526b63}.activity-item{grid-template-columns:minmax(160px,1.2fr) minmax(170px,1.2fr) auto auto auto}.homework-tools{margin:14px 0;display:flex;gap:8px}@media(max-width:900px){.activity-item{grid-template-columns:1fr 1fr}.activity-item time{grid-column:1/-1}}@media(max-width:550px){.activity-item{grid-template-columns:1fr}.review-history-body{padding:16px}.submission-review select{min-height:40px}}

/* Teacher homework history: a compact decision area and readable activity timeline. */
.homework-review-dialog{width:min(640px,calc(100vw - 32px));box-sizing:border-box;border-radius:16px;box-shadow:0 24px 80px #152d3533;font-size:14px;line-height:1.5}
.homework-review-dialog>header{position:sticky;top:0;z-index:1;background:#fff;padding:20px 26px}.homework-review-dialog>header h2{font-size:18px;font-weight:650}.homework-review-dialog>header button{font-size:13px;padding:8px 14px}
.homework-review-dialog .review-history-body{padding:24px 26px 28px}.review-identity h3{font-size:21px;line-height:1.35;margin:0 0 6px;font-weight:650;overflow-wrap:anywhere}.review-identity p{margin:0;color:#62747c;font-size:13px;overflow-wrap:anywhere}
.review-current{margin:22px 0 28px;padding:16px;background:#f6f8f7;border:1px solid #e1e8e4;border-radius:10px}.review-section-label{display:block;font-size:12px;color:#62747c;margin-bottom:10px}.review-current .submission-review{display:flex;justify-content:flex-start;gap:8px}.review-current .submission-review .badge{margin-right:auto;font-size:12px;padding:5px 10px}.review-current .submission-review button,.review-current .submission-review select{min-height:36px;font-size:12px}.review-current .submission-review select{max-width:145px;color:#405650}.review-current .current-rejection{margin:12px 0 0;padding-top:12px;border-top:1px solid #e0e6e2;color:#943c30;font-size:13px;overflow-wrap:anywhere}
.review-timeline-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:20px}.review-timeline-heading h3{font-size:15px;margin:0;font-weight:650}.review-timeline-heading>span{font-size:12px;color:#7a898f}
.review-timeline{list-style:none;padding:0 0 0 20px;margin:0}.review-event{position:relative;padding:0 0 24px 20px;border-left:1px solid #dce5df;overflow-wrap:anywhere}.review-event:last-child{padding-bottom:4px;border-left-color:transparent}.review-event:before{content:'';position:absolute;left:-5px;top:6px;width:7px;height:7px;border:1px solid #73988a;border-radius:50%;background:#fff;box-shadow:0 0 0 4px #fff}.review-event[data-status="x"]:before{border-color:#b66555}.review-event[data-status="+"]:before{background:#22735c;border-color:#22735c}.review-event-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.review-event-heading strong{font-size:14px;font-weight:650}.review-history-body .review-event-heading time{font-size:11px;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums;color:#73848b}.review-event-author{display:block;font-size:12px;color:#73848b;margin:2px 0 12px}.review-event-file{display:flex;gap:10px;align-items:baseline;background:#f6f8f7;border-radius:6px;padding:10px 12px;font-size:13px;overflow-wrap:anywhere}.review-file-label{flex:none;font-size:9px;letter-spacing:.06em;font-weight:650;color:#6d8379}.review-event-details{margin:12px 0 0;font-size:13px}.review-event-details>div{display:grid;grid-template-columns:108px minmax(0,1fr);gap:12px;margin-top:8px}.review-event-details dt{color:#73848b}.review-event-details dd{margin:0;white-space:pre-wrap;color:#31494d}.review-history-message{color:#73848b;font-size:13px}.homework-review-dialog .review-error:empty{display:none}.homework-review-dialog [data-more]{margin:20px 0 0 40px;font-size:12px}.homework-review-dialog button:focus-visible,.homework-review-dialog select:focus-visible{outline:2px solid #22735c;outline-offset:3px}
@media(max-width:550px){.homework-review-dialog>header{padding:16px 18px}.homework-review-dialog .review-history-body{padding:20px 18px}.review-identity h3{font-size:19px}.review-current{padding:12px}.review-current .submission-review .badge{flex-basis:100%;width:fit-content;max-width:fit-content;margin-right:calc(100% - 100px);margin-bottom:3px}.review-current .submission-review button,.review-current .submission-review select{min-height:40px;flex:1}.review-event-heading{display:block}.review-history-body .review-event-heading time{margin-top:3px}.review-timeline{padding-left:5px}.review-event{padding-left:16px}.review-event-details>div{grid-template-columns:1fr;gap:2px}.review-event-file{align-items:start}.homework-review-dialog [data-more]{margin-left:20px}}

.archive-dialog button:not(.archive-entry),.archive-dialog .button{font:inherit;font-size:12px;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;box-sizing:border-box;border:1px solid #cbd8d2;border-radius:7px;background:#fff;color:#24483d;text-decoration:none;cursor:pointer;white-space:nowrap}.archive-dialog [hidden]{display:none!important}.archive-dialog .archive-path button{flex-shrink:0}.archive-dialog .archive-toolbar input{font:inherit;font-size:13px;min-height:38px;border:1px solid #cbd8d2;border-radius:7px;padding:8px 12px;box-sizing:border-box}.archive-dialog button:disabled{opacity:.45;cursor:default}.archive-preview-head h3{line-height:1.5}.archive-preview:has(.document-page),.document-viewer-body{background:#f1f4f2}.document-viewer-body{overflow:auto;flex:1;min-height:0;padding:20px}.document-page{box-sizing:border-box;max-width:820px;margin:0 auto;padding:36px 42px;background:#fff;border:1px solid #dfe5e1;border-radius:3px;box-shadow:0 2px 8px #233c3210;color:#23323b;font:15px/1.65 Georgia,serif;overflow-wrap:anywhere;overflow:auto}.document-page p{margin:0 0 1em}.document-page h1,.document-page h2,.document-page h3{font-family:inherit;line-height:1.35;margin:1.2em 0 .6em}.document-page img{max-width:100%;height:auto}.document-page table{width:100%;border-collapse:collapse;margin:16px 0;display:block;overflow-x:auto}.document-page td,.document-page th{border:1px solid #d7dfda;padding:8px 12px;white-space:normal}.document-page ul,.document-page ol{padding-left:26px}.document-page pre{white-space:pre-wrap}.document-preview-note{font-size:11px;color:#70827a;margin:0 auto 12px;max-width:820px}.document-viewer-body .pdf-page,.archive-preview .pdf-page{display:block;max-width:100%;height:auto;margin:12px auto;background:white}.pdf-controls{display:flex;justify-content:center;align-items:center;gap:16px;font-size:12px;margin-bottom:16px}.document-dialog{width:min(1040px,96vw)}
@media(max-width:600px){.document-page{padding:20px 16px;font-size:14px}.document-viewer-body{padding:12px}.archive-dialog header h2{font-size:16px}.archive-dialog .archive-path{gap:10px}.archive-preview-head{gap:8px}.pdf-controls{gap:10px}.review-current .submission-review{display:grid;grid-template-columns:auto auto minmax(0,1fr)}.review-current .submission-review .badge{grid-column:1/-1;max-width:fit-content;margin:0 0 4px}.review-current .review-inline-error{grid-column:1/-1}}
.assignment-dialog{width:min(1080px,96vw);max-width:1080px;padding:0;max-height:94dvh;color:#23383f}.assignment-editor-header{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid #dce5df}.assignment-editor-header h2{margin:0 0 6px;font-size:22px}.assignment-editor-header p{margin:0;color:#657c83;font-size:13px}.assignment-dialog form{margin:0}.assignment-editor-body{padding:22px 26px}.assignment-fields{display:grid;grid-template-columns:2fr 1fr;gap:18px}.assignment-dialog label{display:grid;gap:7px;font-size:13px;font-weight:600}.assignment-dialog input,.assignment-dialog select{box-sizing:border-box;width:100%;border:1px solid #cad8d2;border-radius:7px;background:#fff;color:inherit;padding:10px;font:inherit}.assignment-dialog button{font:inherit;border:1px solid #cad8d2;border-radius:7px;background:white;color:#24463b;padding:9px 13px;cursor:pointer}.assignment-dialog button:hover{background:#edf4ef}.assignment-dialog button:disabled{opacity:.5;cursor:default}.assignment-dialog button.primary{background:#176653;color:white;border-color:#176653}.assignment-editor-footer{position:sticky;bottom:0;border-top:1px solid #dce5df;background:white;padding:14px 26px;display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;z-index:3}.assignment-editor-footer p{margin:0;font-size:13px}.assignment-editor-footer [role=alert]{color:#a52a28}.writing-editor{border:1px solid #cbd8d1;border-radius:9px;margin:14px 0;overflow:hidden;background:white}.writing-toolbar{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;padding:10px;background:#f4f7f5;border-bottom:1px solid #d8e2dc}.writing-toolbar label{font-size:10px;font-weight:500;gap:4px;color:#587269}.writing-toolbar select{width:auto;max-width:140px;min-height:34px;padding:5px 7px;font-size:12px}.writing-buttons{display:flex;gap:2px;border-left:1px solid #d7e1da;padding-left:6px}.writing-toolbar button{padding:6px 8px;min-width:32px;height:34px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;background:transparent;border-color:transparent;border-radius:5px}.writing-toolbar button[aria-pressed=true]{background:#dceee3;border-color:#a5cdb6;color:#155b44}.writing-toolbar button:focus-visible,.assignment-dialog summary:focus-visible{outline:2px solid #176653;outline-offset:2px}.writing-editor .tiptap{min-height:210px;max-height:520px;overflow:auto;padding:20px 24px;outline:none;font:16px/1.5 system-ui,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}.writing-editor .tiptap p,.rich-instructions p{margin:0 0 12px}.writing-editor .tiptap h1,.rich-instructions h1{font-size:28px}.writing-editor .tiptap h2,.rich-instructions h2{font-size:24px}.writing-editor .tiptap h3,.rich-instructions h3{font-size:20px}.writing-editor pre,.rich-instructions pre{background:#f1f4f2;border:1px solid #e1e8e3;border-radius:6px;padding:16px;overflow:auto;white-space:pre-wrap}.writing-editor blockquote,.rich-instructions blockquote{border-left:3px solid #8dbba2;margin:14px 0;padding:0 18px;color:#506b60}.writing-editor ul,.writing-editor ol,.rich-instructions ul,.rich-instructions ol{padding-left:26px}.assignment-edit-part{border:1px solid #d8e2dc;border-radius:9px;margin:16px 0;background:#fafcfb}.assignment-edit-part>summary{padding:16px;cursor:pointer;font-weight:600}.assignment-part-form{padding:0 16px 6px}.assignment-part-title{display:flex;gap:16px;align-items:end}.assignment-part-title label{flex:1}.assignment-part-title button{white-space:nowrap;font-size:12px}.assignment-attachments{border-top:1px solid #e0e7e2;margin-top:24px;padding-top:8px}.assignment-attachments [data-assets]{list-style:none;margin:12px 0;padding:0}.assignment-attachments li{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e6ece8;padding:10px 0;font-size:13px}.assignment-attachments li span{overflow-wrap:anywhere;min-width:0}.assignment-attachments li button{font-size:12px}.assignment-preview{margin-top:24px}.assignment-preview>summary{cursor:pointer;font-weight:600;padding:12px 0}.assignment-preview [data-preview]{padding:18px;border:1px solid #e0e7e2;border-radius:8px}.rich-instructions{font:16px/1.5 system-ui,sans-serif;overflow-wrap:anywhere}.rich-instructions p{white-space:pre-wrap}.instruction-part{border:1px solid #d6e2db;border-radius:9px;background:#fff;margin:16px 0;overflow:hidden}.instruction-part>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;padding:18px 20px;font-size:16px;font-weight:650;background:#f5f8f6}.instruction-part>summary::-webkit-details-marker{display:none}.instruction-part .part-toggle{font-size:23px;font-weight:400;color:#3e6d56}.instruction-part[open] .part-toggle{transform:rotate(45deg)}.instruction-part-copy{padding:22px 20px 10px}.instruction-copy:has(.rich-instructions){padding-top:4px}
@media(max-width:600px){.assignment-dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;border-radius:0;margin:0}.assignment-editor-header,.assignment-editor-body{padding:16px}.assignment-editor-header h2{font-size:20px}.assignment-fields{grid-template-columns:1fr}.assignment-editor-footer{padding:12px 16px}.writing-toolbar{gap:6px;padding:8px}.writing-toolbar select{max-width:118px}.writing-editor .tiptap{padding:16px;min-height:180px}.assignment-part-form{padding:0 10px 4px}.assignment-part-title{align-items:stretch;flex-direction:column;gap:8px}.assignment-part-title button{align-self:flex-end}.instruction-part>summary{padding:15px}.instruction-part-copy{padding:16px 14px 6px}.writing-buttons{padding-left:3px}}
.assignment-dialog .writing-toolbar label{margin:0}.assignment-dialog .writing-toolbar button{font-size:13px;font-weight:500}.assignment-dialog .assignment-fields label{margin:0 0 8px}.assignment-dialog .assignment-part-title label{margin:0}
.login-activity{position:relative}.inbox-actions .login-activity-trigger{padding:10px 14px;min-height:42px;background:#fff;color:#244834;border:1px solid #cbd7d6;border-radius:8px;font-size:13px}.login-activity-panel{position:absolute;right:0;top:52px;width:580px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #d6e1d8;border-radius:12px;box-shadow:0 12px 40px #17322626;z-index:260;color:#23383f;text-align:left}.login-activity-panel[hidden]{display:none}.login-activity-panel header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e1e8e4}.login-activity-panel h2{font:650 18px system-ui;margin:0 0 5px}.login-updated{font-size:11px;color:#688078}.inbox-actions .login-activity-panel button{font:500 12px system-ui;background:transparent;border:1px solid #d6e1d8;border-radius:6px;padding:7px 10px;color:#245541;cursor:pointer;min-height:34px}.login-tabs{display:flex;align-items:center;gap:6px;padding:12px 16px 8px}.login-tabs [data-refresh]{margin-left:auto}.login-tabs [role=tab][aria-selected=true]{background:#e8f2ec;border-color:#a6c7b5;color:#15563d}.login-activity-list{overflow:auto;max-height:min(370px,48dvh);overscroll-behavior:contain}.login-entry{padding:15px 18px;border-bottom:1px solid #e8eeea}.login-entry-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.login-entry strong{font:600 13px system-ui;overflow-wrap:anywhere}.login-entry small{display:block;margin-top:3px;font-size:11px;color:#6e8079}.login-state{font:500 10px system-ui;white-space:nowrap;padding:4px 7px;border-radius:5px;background:#edf0ee;color:#5f7469}.login-state[data-state=recently-active]{background:#e0f1e6;color:#24663d}.login-state[data-state=idle]{background:#fff3d9;color:#855e16}.login-entry dl{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:12px 0 0;font-size:11px}.login-entry dt{color:#70867a;margin-bottom:4px}.login-entry dd{margin:0;color:#324b3f;font-variant-numeric:tabular-nums}.login-ip{overflow-wrap:anywhere;font-family:ui-monospace,monospace}.login-activity-panel footer{padding:10px 18px;background:#f8faf9;border-radius:0 0 12px 12px}.login-activity-panel footer p{font:11px/1.5 system-ui;color:#76877c;margin:6px 0}.login-empty{padding:20px;color:#738579;font-size:13px}.login-activity-error{margin:0 18px;color:#a33232;font-size:12px}.login-activity-error:empty{display:none}.login-activity-panel button:focus-visible{outline:2px solid #176653;outline-offset:2px}
@media(max-width:600px){.teacher-inbox-bar{flex-wrap:wrap}.login-activity{position:static}.login-activity-panel{right:0;width:min(580px,calc(100vw - 32px))}.login-tabs{padding:10px;gap:4px}.inbox-actions .login-tabs button{padding:7px;font-size:11px}.login-entry{padding:13px}.login-entry dl{grid-template-columns:1fr 1fr;gap:10px}.login-entry dl>div:first-child{grid-column:1/-1}.login-activity-list{max-height:42dvh}.login-state{font-size:9px}.inbox-actions .login-activity-trigger{padding:9px 10px;font-size:12px}}
.login-activity{position:static}
.login-activity-panel{display:flex;flex-direction:column;max-height:min(620px,calc(100dvh - 140px))}.login-activity-panel header,.login-tabs,.login-activity-panel footer{flex-shrink:0}.login-activity-list{min-height:0}.login-entry{font-family:system-ui,sans-serif}
.password-activity-search{display:block;padding:4px 16px 10px;font:11px system-ui;color:#657b70}.password-activity-search[hidden]{display:none}.password-activity-search input{display:block;box-sizing:border-box;width:100%;margin-top:6px;border:1px solid #cbd8d1;border-radius:6px;padding:9px 10px;font:13px system-ui;color:#23383f;background:white}.password-change-empty{font:11px/1.5 system-ui;color:#76877c;margin:10px 0 0}.login-entry dl.password-change-details{grid-template-columns:1fr 1fr}.login-tabs{flex-wrap:wrap}.password-activity-search{flex-shrink:0}@media(max-width:600px){.login-tabs [data-refresh]{margin-left:0}.login-tabs [role=tab]{flex:1;white-space:nowrap}.login-entry dl.password-change-details>div:first-child{grid-column:auto}}
.student-profile-link,.teacher-site .student-profile-link,.inbox-actions .student-profile-link{appearance:none;background:none;border:0;padding:0;color:#214f43;font:600 13px/1.45 system-ui;text-align:left;cursor:pointer;min-height:0;border-radius:2px;white-space:normal}.student-profile-link:hover,.teacher-site .student-profile-link:hover,.inbox-actions .student-profile-link:hover{text-decoration:underline;text-underline-offset:3px;background:none;color:#12644b}.student-profile-link:focus-visible{outline:2px solid #247b60;outline-offset:3px}.inbox-dialog.student-profile-dialog{width:min(880px,94vw);max-width:880px;max-height:90dvh;padding:0;color:#233d35;font-family:system-ui,sans-serif}.student-profile-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #e1e8e3;background:#fff;position:sticky;top:0;z-index:2}.student-profile-header>div:last-child{display:flex;gap:8px;flex-shrink:0}.student-profile-header span{font-size:11px;color:#74857d;text-transform:uppercase;letter-spacing:.07em}.student-profile-header h2{font-size:23px;font-weight:650;margin:6px 0;color:#203a32;overflow-wrap:anywhere}.student-profile-header small{font-size:12px;color:#6e8178}.student-profile-dialog button{border:1px solid #cddbd2;border-radius:7px;background:#fff;color:#285845;padding:8px 12px;font:500 12px system-ui;cursor:pointer}.student-profile-dialog button:hover{background:#edf5ef}.student-profile-dialog button:disabled{opacity:.5;cursor:wait}.student-profile-body{padding:24px 28px 28px}.profile-stats{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:12px;border:1px solid #e1e9e3;background:#f7faf8;border-radius:10px;padding:18px;margin-bottom:28px}.profile-stats strong{display:block;font-size:24px;font-weight:600;color:#205943}.profile-stats span{display:block;font-size:11px;color:#75867c;margin-top:6px}.profile-homework>h3{font-size:16px;margin:0 0 6px}.student-profile-dialog .muted{font-size:12px;line-height:1.55;color:#75867c;margin:6px 0 12px}.profile-homework-item{margin:10px 0;border:1px solid #dce6df;border-radius:9px;overflow:hidden}.profile-homework-item>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer;list-style:none;background:#fff}.profile-homework-item>summary::-webkit-details-marker{display:none}.profile-homework-item>summary>span:first-child{min-width:0;flex:1}.profile-homework-item>summary:before{content:'›';font-size:23px;color:#739380;line-height:1;transition:transform .15s}.profile-homework-item[open]>summary:before{transform:rotate(90deg)}.profile-homework-item>summary strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.profile-homework-item small{display:block;font-size:11px;color:#788c80;margin-top:5px}.profile-homework-item>summary .badge{font-size:10px;white-space:nowrap}.profile-homework-item[open]>summary{background:#f6f9f7;border-bottom:1px solid #e1e9e4}.profile-homework-body{padding:16px 18px}.profile-reason{font-size:12px;line-height:1.6;background:#fff5f2;border-left:3px solid #cc7662;padding:12px 14px;white-space:pre-wrap}.profile-submission-file{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #e9eeea;margin-bottom:12px}.profile-submission-file>div:first-child{min-width:0;flex:1}.profile-submission-file strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.profile-submission-file>div:last-child{display:flex;gap:6px;flex-shrink:0}.profile-section{border-top:1px solid #e0e8e2;margin-top:20px;padding-top:4px}.profile-section>summary{cursor:pointer;font-size:14px;font-weight:600;padding:16px 0}.profile-account{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 16px}.profile-account>div:last-child{grid-column:1/-1}.profile-account dt{font-size:11px;color:#718679;margin-bottom:5px}.profile-account dd{margin:0;font-size:13px}.profile-account small{display:block;font-size:11px;color:#718679;margin-top:5px;overflow-wrap:anywhere}.profile-error{font-size:12px;color:#a53530}.profile-file-content{overflow:auto;padding:20px;min-height:160px}.profile-file-content img{display:block;max-width:100%;height:auto;margin:auto}.profile-file-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 ui-monospace,monospace}.profile-file-dialog{width:min(1000px,94vw)}.profile-homework-item summary:focus-visible,.profile-section summary:focus-visible{outline:2px solid #247b60;outline-offset:-2px}
@media(max-width:600px){.inbox-dialog.student-profile-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:94dvh;margin:auto;border-radius:12px}.student-profile-header{padding:18px 16px;align-items:start;gap:12px}.student-profile-header h2{font-size:18px}.student-profile-header>div:last-child{flex-direction:column-reverse;gap:6px}.student-profile-header button{font-size:11px;padding:7px 10px}.student-profile-body{padding:18px 14px}.profile-stats{grid-template-columns:repeat(3,1fr);gap:16px 10px;padding:14px;margin-bottom:22px}.profile-stats>div:first-child{grid-column:span 2}.profile-stats strong{font-size:22px}.profile-homework-item>summary{padding:14px 12px;gap:10px;flex-wrap:wrap}.profile-homework-body{padding:12px}.profile-submission-file{display:block}.profile-submission-file>div:last-child{margin-top:12px}.profile-account{grid-template-columns:1fr}.profile-section .attendance-weeks{grid-template-columns:repeat(2,1fr)}}

.teacher-accounts-dialog{width:min(640px,94vw);max-height:90dvh}.teacher-accounts-body{padding:20px;overflow:auto}.teacher-accounts-body>p{margin-top:0;color:var(--muted,#607880)}.teacher-account-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #dbe5e5}.teacher-account-row small{display:block;margin-top:5px;color:#607880}.teacher-account-actions{display:flex;gap:8px;flex-wrap:wrap}.teacher-accounts-body [data-add]{margin:16px 0}.teacher-accounts-body form{border-top:1px solid #dbe5e5;padding-top:12px}.teacher-accounts-body form label{display:block;margin:12px 0}.teacher-accounts-body form input,.teacher-accounts-body form select{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #c5d5d8;border-radius:7px}.teacher-accounts-body [role=alert]{color:#a32424}@media(max-width:480px){.teacher-account-row{align-items:flex-start;flex-wrap:wrap}.teacher-accounts-body{padding:16px}}

.review-event-file .history-file-link{border:0;background:none;padding:0;color:#146d60;text-align:left;text-decoration:underline;text-underline-offset:3px;font-weight:600;overflow-wrap:anywhere;cursor:pointer}.review-event-file .history-file-link:hover{color:#0b433b}.review-event-file small{display:block;font-size:11px}

.compile-dialog{width:min(780px,94vw);max-height:90dvh}.compile-body{padding:20px;overflow:auto}.compile-body pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f7f6;border:1px solid #dbe5e5;border-radius:8px;padding:16px;max-height:50vh;overflow:auto;font:13px/1.6 monospace}.compile-filename{overflow-wrap:anywhere;font-weight:600}.archive-preview-head{flex-wrap:wrap}.compile-button{white-space:nowrap}

.source-code-view{background:#1e1e1e;color:#d4d4d4;border:1px solid #353535;border-radius:9px;overflow:hidden;width:100%;min-width:0}.source-code-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 14px;background:#252526;color:#b6b6b6;font-size:12px;border-bottom:1px solid #353535}.source-code-header button{background:transparent!important;border:1px solid #555!important;color:#ddd!important;padding:4px 9px!important;min-height:28px;font-size:12px}.source-code-scroll{display:flex;overflow:auto;max-height:65vh;align-items:stretch;tab-size:4}.source-code-view .source-code-content,.source-code-view .source-line-numbers{font:13px/1.65 Consolas,'Cascadia Code','Courier New',monospace!important;white-space:pre!important;margin:0!important;border:0!important;border-radius:0!important;background:#1e1e1e!important;max-height:none!important;overflow:visible!important;padding:16px 16px 20px!important;color:#d4d4d4}.source-code-view .source-line-numbers{position:sticky;left:0;z-index:1;min-width:44px;flex:none;text-align:right;color:#858585!important;user-select:none;border-right:1px solid #333!important;padding-right:12px!important}.source-code-content{flex:1;min-width:max-content}.source-code-content code{font:inherit;color:inherit;background:none;padding:0}.source-code-view .hljs-keyword,.source-code-view .hljs-type,.source-code-view .hljs-built_in{color:#569cd6}.source-code-view .hljs-string,.source-code-view .hljs-regexp{color:#ce9178}.source-code-view .hljs-comment,.source-code-view .hljs-quote{color:#6a9955}.source-code-view .hljs-number,.source-code-view .hljs-literal{color:#b5cea8}.source-code-view .hljs-title.class_,.source-code-view .hljs-title.class_.inherited__,.source-code-view .hljs-title{color:#4ec9b0}.source-code-view .hljs-title.function_,.source-code-view .hljs-function .hljs-title{color:#dcdcaa}.source-code-view .hljs-meta,.source-code-view .hljs-symbol{color:#c586c0}.source-code-view .hljs-attr,.source-code-view .hljs-variable,.source-code-view .hljs-params{color:#9cdcfe}.source-code-view .hljs-punctuation,.source-code-view .hljs-operator{color:#d4d4d4}@media(max-width:600px){.source-code-view .source-code-content,.source-code-view .source-line-numbers{font-size:12px!important}.source-code-header{padding:8px 10px}.source-code-scroll{max-height:60dvh}}
.hw-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.hw-part{min-width:0;border:1px solid #d9e3e1;border-radius:12px;padding:18px;background:#f8faf9}.hw-part header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.hw-part h3{margin:0 0 12px}.hw-part h3 small{font-weight:400;color:#647a82;font-size:13px}.hw-part input[type=file]{width:100%;min-width:0;box-sizing:border-box}.team-panel{margin:20px 0;padding:18px;border:1px solid #d9e3e1;border-radius:12px;max-width:640px}.team-panel input{width:100%;box-sizing:border-box}.team-members{list-style:none;padding:0}.team-members li{padding:8px 0}.team-members small,.teammate-result small{display:block;color:#647a82;margin-top:4px}.teammate-result{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;gap:12px;margin-top:6px;white-space:normal}.team-invite{padding:12px 0;border-bottom:1px solid #d9e3e1}.hw-part .submission-review{flex-wrap:wrap}.review-history-body>.hw-part{margin:12px 0}@media(max-width:640px){.hw-parts{grid-template-columns:1fr}.hw-part,.team-panel{padding:14px}.teammate-result strong{overflow-wrap:anywhere}.hw-part .submission-review{display:flex;gap:6px}}

.student-site .teammate-result{display:flex;justify-content:space-between;text-align:left}
.hw-upload-parts{align-items:start}.hw-upload-parts>.hw-part{background:#fff;padding:22px}.team-picker{margin-top:20px;border-top:1px solid #d9e3e1;padding-top:16px}.team-picker>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;color:#176657;font-size:14px;font-weight:650}.team-picker>summary::-webkit-details-marker{display:none}.team-picker>summary:before{content:'+';font-size:20px;font-weight:400;line-height:1}.team-picker[open]>summary:before{content:'−'}.team-picker>summary small{margin-left:auto;font-size:12px;font-weight:400;color:#657b80}.team-picker-body{padding-top:8px}.team-picker-body>.muted{font-size:13px;line-height:1.65;margin:8px 0 16px}.team-picker-body input{width:100%;box-sizing:border-box}.team-picker .team-members{font-size:14px}.team-picker .team-invite{font-size:13px}.team-picker .teammate-result{padding:10px 12px;font-size:13px}.team-picker summary:focus-visible{outline:2px solid #176657;outline-offset:5px;border-radius:3px}@media(max-width:640px){.hw-upload-parts>.hw-part{padding:16px}.team-picker>summary{flex-wrap:wrap}}

.team-suggestions-label{font-size:12px;color:#657b80;margin:14px 0 6px}.team-picker .teammate-result{width:100%;min-height:48px;gap:12px;text-align:left}.team-picker .teammate-result>span:first-child{min-width:0;overflow-wrap:anywhere}.team-picker .teammate-result:disabled{opacity:.65;cursor:default}.team-picker input[type=search]{font-size:16px}

.assignment-documents{padding:20px 24px;border-top:1px solid #d9e3e1;background:#fbfcfb}.assignment-documents h4{margin:0 0 12px;font-size:14px}.assignment-document{display:flex;align-items:center;gap:14px;padding:14px 0}.assignment-document+.assignment-document{border-top:1px solid #e1e8e6}.assignment-document-type{display:grid;place-items:center;flex:0 0 44px;height:48px;border:1px solid #cfded8;border-radius:8px;background:#edf4f0;color:#216653;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.assignment-document-name{flex:1;min-width:0}.assignment-document-name strong{display:block;font-size:14px;overflow-wrap:anywhere}.assignment-document-name small{display:block;margin-top:5px;color:#657b80;font-size:12px}.assignment-document-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}.assignment-document-actions button{padding:10px 18px;min-height:44px;border:1px solid #bbd1c9;border-radius:8px;background:white;color:#176657;font-weight:600}.assignment-document-actions a{font-size:13px;color:#47655c;text-underline-offset:3px}.assignment-document-actions a:focus-visible{outline:2px solid #176657;outline-offset:4px}@media(max-width:600px){.assignment-documents{padding:16px}.assignment-document{flex-wrap:wrap;gap:12px}.assignment-document-actions{width:100%;padding-left:56px;box-sizing:border-box}.assignment-document-actions a{padding:10px 0}}

.team-submission-notice{padding:14px;margin:0 0 18px;background:#edf5ef;border:1px solid #d1e4d7;border-radius:10px;font-size:14px}.team-submission-notice p{font-size:13px;line-height:1.6;margin:6px 0 10px}.team-submission-notice button{background:none;border:0;padding:4px 0;color:#176657;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.team-resubmit-dialog{width:min(480px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #d5e0dc;border-radius:18px;padding:24px;color:#1e343d}.team-resubmit-dialog::backdrop{background:#142b35a6}.team-resubmit-dialog h2{font-size:21px;margin:0 0 16px}.team-resubmit-dialog p{line-height:1.65}.team-resubmit-dialog .actions{justify-content:flex-end;gap:12px;margin-top:24px}.team-resubmit-dialog button{min-height:44px;padding:10px 18px;border:1px solid #c9d9d3;border-radius:8px;background:white;color:#1e343d}.team-resubmit-dialog button.primary{background:#176657;color:white;border-color:#176657}

.login-device{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:12px 0;color:#607870;font-size:12px}.login-device strong{font-size:12px;font-weight:600;border:1px solid #dce5e1;background:#f3f7f5;border-radius:5px;padding:3px 7px;color:#35594b}

.assignment-document-name .assignment-document-open{display:block;max-width:100%;padding:0;background:none;border:0;border-radius:0;color:#175f52;font:inherit;font-weight:650;text-align:left;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:#9ebfb3;text-underline-offset:4px;cursor:pointer}.assignment-document-name .assignment-document-open:hover{color:#0d4439;text-decoration-color:currentColor}.assignment-document-name .assignment-document-open:focus-visible{outline:2px solid #176657;outline-offset:4px}
.compile-output h3{margin:18px 0 8px;font-size:14px}.compile-output pre{margin:0;min-height:58px;max-height:230px;overflow:auto;background:#14242b;color:#e1eeea;border:0;border-radius:9px;font-size:12px;line-height:1.65}.compile-status{font-size:13px;padding:9px 12px;border-radius:7px;margin:8px 0 0;background:#f0f3f3}.compile-status[data-state=success]{background:#eaf5ed;color:#25613c}.compile-status[data-state=error]{background:#fff0ee;color:#943e32}.program-controls{margin-top:20px;border-top:1px solid #dbe4e0;padding-top:18px}.program-controls label{display:block;font-size:14px;font-weight:600}.program-controls label span{font-weight:400;color:#657b80}.program-controls textarea{display:block;width:100%;box-sizing:border-box;margin:8px 0 12px;padding:12px;border:1px solid #cbdad4;border-radius:8px;font:13px/1.6 monospace;resize:vertical}.program-controls button{padding:10px 16px;background:#176657;color:white;border:0;border-radius:8px;min-height:44px}.program-controls small{display:block;font-size:12px;color:#657b80;margin-top:10px}.compile-dialog{max-height:90dvh;overflow:auto}.compile-dialog>header{position:sticky;top:0;background:#fff;z-index:1}.compile-body .compile-filename{overflow-wrap:anywhere}@media(max-width:600px){.program-controls textarea{font-size:16px}.compile-output pre{max-height:200px}}

.program-input-help{font-size:12px;line-height:1.6;color:#657b80;margin:0 0 12px}.program-input-hint{font-size:13px;line-height:1.65;background:#fff5dc;color:#775716;padding:12px 14px;border-radius:8px;margin:0 0 14px}.compile-status[data-state=warning]{background:#fff5dc;color:#775716}.program-controls textarea[aria-invalid=true]{border-color:#bc9149}

.hw-part-heading{min-width:0}.hw-part-heading h3{margin:0 0 6px}.hw-part-mode{margin:0;color:#647a82;font-size:13px;line-height:1.5}.hw-part-mode span{padding:0 3px;color:#91a29f}.hw-part header:has(.hw-part-heading){align-items:flex-start;flex-wrap:nowrap}.hw-part-heading+.badge{flex-shrink:0;margin-top:2px}
.rich-instructions pre{white-space:pre;overflow-x:auto;max-width:100%;tab-size:4}.rich-instructions pre code{white-space:inherit;overflow-wrap:normal;word-break:normal}

.preview-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.preview-footer .compile-button{font:inherit;font-size:13px;min-height:40px;padding:9px 14px;border:1px solid #176657;border-radius:8px;background:#176657;color:#fff;cursor:pointer}.preview-footer .compile-button:disabled{opacity:.6}

.multi-file-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;align-self:start;width:fit-content;min-height:42px;box-sizing:border-box;padding:10px 16px;border:1px solid #b9cec6;border-radius:8px;background:#fff;color:#176657;font-size:13px;font-weight:600;overflow:hidden;cursor:pointer}.multi-file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0}.multi-file-picker:focus-within{outline:2px solid #176657;outline-offset:3px}.selected-upload-files{margin:8px 0 16px}.file-selection-help{font-size:12px;color:#647a82;line-height:1.5;margin:0 0 8px}.selected-upload-files ul{list-style:none;padding:0;margin:0;max-height:240px;overflow:auto}.selected-upload-files li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e0e8e4;font-size:13px}.selected-upload-files li>span{min-width:0;flex:1;overflow-wrap:anywhere}.selected-upload-files small{display:block;font-size:11px;color:#647a82;margin-top:3px}.selected-upload-files button{flex-shrink:0;font:inherit;font-size:12px;border:1px solid #cad8d2;border-radius:7px;padding:7px 10px;background:#fff;color:#526b61;cursor:pointer}

.selected-upload-files .selected-file-open{padding:0;border:0;background:transparent;color:#176657;text-align:left;font-size:13px;font-weight:600;text-decoration:underline;text-decoration-color:#a7c2b9;text-underline-offset:3px;white-space:normal;overflow-wrap:anywhere;max-width:100%}.selected-upload-files .selected-file-open:hover{color:#0d493e;text-decoration-color:currentColor}

.selected-upload-files .selected-file-remove{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;font-size:22px;line-height:1;border-color:transparent;background:transparent;color:#70857c;border-radius:7px}.selected-upload-files .selected-file-remove:hover{background:#fff0ee;color:#a13d32;border-color:#efcfc9}.selected-upload-files .selected-file-remove:focus-visible{outline:2px solid #176657;outline-offset:2px}

#upload-form .multi-file-label{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.selected-upload-files li:last-child{border-bottom:0}
.homework-file-picker{min-width:0;border:0;padding:0;margin:16px 0 8px}.homework-file-picker legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:700}.homework-file-picker-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px}.homework-file-picker-actions .multi-file-picker{margin:0;min-height:46px;background:#176657;color:#fff;border-color:#176657;font:inherit;font-size:14px;font-weight:650}.file-picker-hint{margin:8px 0 0;font-size:12px;line-height:1.5;color:#647a82}@media(max-width:420px){.homework-file-picker-actions>*{flex:1 1 100%;width:100%;box-sizing:border-box;text-align:center}}

.homework-incomplete{margin:16px 0 24px;padding:16px 18px;border:1px solid #e9d8ac;border-radius:10px;background:#fffaf0;color:#6c5021}.homework-incomplete strong{font-size:15px}.homework-incomplete p{font-size:13px;line-height:1.6;margin:6px 0 12px}.homework-incomplete button{font:inherit;font-size:13px;font-weight:600;padding:9px 14px;min-height:40px;border:1px solid #d8c398;border-radius:8px;background:#fff;color:#654b20;cursor:pointer}
.history-batch-files{margin-top:12px;border:1px solid #dce7e3;border-radius:10px;background:#f7faf9;overflow:hidden}.history-batch-files summary{padding:12px 14px;color:#176b5d;font-size:13px;font-weight:600;cursor:pointer;min-height:44px;box-sizing:border-box}.history-batch-files summary span{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:12px;background:#e6eeeb;font-size:11px;color:#365b51}.history-batch-files ul{list-style:none;margin:0;padding:0 14px 8px;max-height:240px;overflow:auto}.history-batch-files li{display:flex;gap:10px;padding:10px 0;border-top:1px solid #e0e8e5;font-size:13px;overflow-wrap:anywhere}.history-file-icon{color:#6d8c82;flex-shrink:0}.history-batch-files .muted{padding:0 14px 12px;font-size:12px}
.history-response{margin:0 0 14px;padding:14px;border-left:3px solid #91a39e;border-radius:0 8px 8px 0;background:#f4f7f6}.history-response[data-status="+"]{background:#edf6f1;border-color:#2c8070}.history-response[data-status=x]{background:#fff5f3;border-color:#c66b58}.history-response[data-status=pending]{background:#fff9e9;border-color:#c99d38}.history-response[data-status=x]>p{color:#943e32}.history-response[data-status="+"]>p{color:#23624e}.history-response>div{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.history-response strong{font-size:13px}.history-response time{font-size:11px;color:#62747c}.history-response p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.submitted-file-group{margin:12px 0;border:1px solid #d5e3dd;border-radius:12px;overflow:hidden;background:#fff}.submitted-file-group:last-of-type{margin-bottom:20px}.submitted-file-group>summary{display:flex;align-items:center;gap:12px;list-style:none;padding:18px 20px;cursor:pointer;background:#f4f8f6;min-height:64px;box-sizing:border-box}.submitted-file-group>summary::-webkit-details-marker{display:none}.submitted-group-title{font-weight:700;color:#19313b}.submitted-group-count{font-size:12px;color:#4f6c63;background:#e7efeb;border-radius:20px;padding:4px 10px;white-space:nowrap}.submitted-group-chevron{width:8px;height:8px;border-right:2px solid #51796b;border-bottom:2px solid #51796b;transform:rotate(45deg);margin-left:auto;margin-right:4px;transition:transform .15s}.submitted-file-group[open] .submitted-group-chevron{transform:rotate(225deg)}.submitted-file-group>summary:focus-visible{outline:2px solid #176b5d;outline-offset:-3px}.submitted-group-files{padding:0 20px}.submitted-group-files .file-row:first-child{border-top:0}.submitted-group-files .file-row>div:first-child{min-width:0;overflow-wrap:anywhere}.submitted-group-files .actions{flex-shrink:0}@media(max-width:600px){.submitted-file-group>summary{padding:16px}.submitted-group-files{padding:0 16px}.submitted-group-files .file-row{gap:12px}.submitted-group-files .actions{width:100%}.submitted-group-files .actions button{width:100%}}
.history-file-open{border:0;background:transparent;color:#146d60;text-align:left;text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:600;padding:3px 0;cursor:pointer;min-width:0;overflow-wrap:anywhere}.history-file-open:hover{color:#0b433b}.history-file-open:focus-visible{outline:2px solid #176b5d;outline-offset:3px;border-radius:3px}.history-file-unavailable{display:block;color:#62747c;font-size:11px;margin-top:3px}
.team-submission-badge{display:inline-block;background:#e6effb;color:#285c8a;border:1px solid #ccdfef;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:700;line-height:1.4;margin:0 8px 8px 0}.team-activity{border-left:3px solid #6c9ab9;padding-left:16px!important;background:linear-gradient(90deg,#f5f9fc,transparent)}.team-members-caption{display:block;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.65;color:#526b7a;margin-top:5px}.team-notification{border-left:3px solid #6c9ab9!important;background:#f5f9fc!important}.team-submission-row .g{border-left:3px solid #6c9ab9;padding-left:10px}.team-submission-row .team-members-caption{flex-basis:100%;order:2;padding-bottom:4px}
.homework-review-dialog .history-file-open{border:0;background:transparent;border-radius:0;padding:6px 0;min-height:32px;font-weight:600;text-align:left}.homework-review-dialog .history-file-open:hover{background:transparent;color:#0b433b}

.html-page-preview{border:1px solid #d5e2df;border-radius:10px;overflow:hidden;background:white;margin-bottom:20px;min-width:0}.html-preview-heading{padding:12px 16px;font-weight:700;border-bottom:1px solid #d5e2df;background:#f4f8f7}.html-page-preview iframe{display:block;width:100%;height:55vh;min-height:280px;border:0;background:white}.html-source-details{min-width:0}.html-source-details>summary{cursor:pointer;padding:12px 0;font-weight:700}.html-source-details .source-code-scroll{max-height:40vh}@media(max-width:600px){.html-page-preview iframe{height:50dvh}.html-preview-heading{padding:10px 12px}}

.review-notification{display:block!important;padding:18px!important}.review-notification-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.review-notification-heading>strong{font-size:15px;line-height:1.45;min-width:0;overflow-wrap:anywhere}.review-notification-heading .notification-status{flex-shrink:0;font-size:11px;border-radius:20px;padding:4px 9px}.review-notification-author{display:flex;align-items:center;gap:4px;margin-top:7px;font-size:12px;color:#63777d;font-weight:400}.review-notification-author strong{color:#294b43;font-weight:600}.review-notification-author .unread-dot{margin-left:auto}.review-notification-feedback{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:12px;padding:10px 12px;background:#f4f7f6;border-radius:7px;color:#455e58;font-size:13px;font-weight:400;line-height:1.55;white-space:pre-wrap}.review-notification-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px;font-size:11px;font-weight:400;color:#708187}.review-notification-footer>span{font-weight:600;color:#176b5b;font-size:12px}.file-row:has(.submission-note){align-items:flex-start}.file-row:has(.submission-note)>div:first-child{flex:1;width:100%}.submission-note{margin-top:12px;padding:12px 14px;border:1px solid #dce7e2;border-left:3px solid #8db6a8;border-radius:8px;background:#f5f9f7;max-width:680px;box-sizing:border-box}.submission-note>span{display:block;font-size:11px;font-weight:700;color:#55766b;letter-spacing:.025em}.submission-note>p{margin:5px 0 0;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#29443a}@media(max-width:600px){.review-notification{padding:16px!important}.submission-note{padding:11px 12px;max-width:100%}}
/* Team membership uses the full content width, separate from the part status cards. */
.team-manager{grid-column:1/-1;margin:20px 0;border:1px solid #d6e3de;border-radius:14px;background:#fff;padding:0;overflow:hidden}.team-picker>summary{padding:6px 0;gap:12px;flex-wrap:nowrap}.team-picker>summary:before{display:none}.team-manager>summary{padding:20px 22px;background:#f4f8f6}.team-heading-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none;border:1px solid #d5e6dc;border-radius:12px;background:#eaf3ee;color:#246d57}.team-heading-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.team-heading-copy>strong{font-size:17px;line-height:1.35;color:#183a30}.team-picker>summary .team-heading-copy>small{margin:0;font-size:12px;line-height:1.4;font-weight:400;color:#698078}.team-heading-chevron{width:8px;height:8px;border-right:2px solid #6f897e;border-bottom:2px solid #6f897e;transform:rotate(45deg);margin:0 4px 4px auto;flex:none}.team-picker[open] .team-heading-chevron{transform:rotate(225deg);margin-bottom:0}.team-picker-body{padding-top:18px}.team-manager>.team-picker-body{padding:22px}.team-help{margin:0 0 18px;color:#62766f;font-size:14px;line-height:1.6}.team-waiting{display:flex;gap:12px;align-items:flex-start;margin:0 0 22px;padding:14px 16px;border:1px solid #efddb5;border-radius:10px;background:#fffbf1;color:#78551e}.team-waiting-icon{font-size:24px;line-height:1;flex:none;margin-top:2px}.team-waiting strong{font-size:14px;line-height:1.5}.team-waiting p{font-size:13px;line-height:1.6;margin:3px 0 0;color:#7d6c4f}.team-members-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.team-members-heading>strong{font-size:14px;color:#294239}.team-members-heading>span{font-size:12px;color:#637c71;font-variant-numeric:tabular-nums}.team-picker .team-members{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px;margin:0;padding:0}.team-picker .team-members>.team-member-card{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:18px;border:1px solid #dce6e1;border-radius:12px;background:#fff;min-width:0;box-sizing:border-box}.team-member-identity{display:flex;gap:11px;align-items:center;min-width:0}.team-member-avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:none;border-radius:50%;background:#e9f2ed;color:#426d5b;font-size:12px;font-weight:700;letter-spacing:.03em}.is-pending .team-member-avatar{background:#f0f2f3;color:#687982}.team-member-name{min-width:0}.team-member-name>strong{display:block;font-size:16px;line-height:1.45;font-weight:650;color:#203b32;overflow-wrap:anywhere}.team-member-id{display:block;margin-top:5px;color:#657b72;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.5;overflow-wrap:anywhere}.team-member-id>span{color:#8a9a93;font-size:11px;margin-right:4px}.team-member-state{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.team-member-status{display:inline-block;font-size:11px;line-height:1.5;font-weight:600;padding:4px 9px;border-radius:20px}.team-member-status.pending{color:#886527;background:#fff4d9}.team-member-status.joined{color:#376851;background:#ecf5ef}.team-member-you{font-size:11px;color:#658073}.student-site .team-member-remove{width:100%;margin-top:auto;min-height:44px;padding:9px 12px;border-color:#e6dcd7;color:#815b4d;background:#fff;font-size:13px;font-weight:600;gap:7px;line-height:1.4;white-space:normal}.team-member-remove>span{font-size:19px;font-weight:400;line-height:1}.student-site .team-member-remove:hover{background:#fcf5f1;border-color:#d8bbb0}.team-search-area{margin-top:22px;max-width:680px}.team-search-area label{font-size:14px;margin:0}.team-search-area input{margin-top:8px;min-height:48px}.team-manager-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:22px;padding-top:18px;border-top:1px solid #e3eae6}.team-manager-footer>p{margin:0;color:#75867e;font-size:12px;line-height:1.6;max-width:480px}.student-site .team-cancel{flex-shrink:0;min-height:44px;padding:10px 16px;font-size:13px;font-weight:600;color:#7e5a4b;border-color:#e1d8d2;background:#fff}.team-invite{background:#f4f8f6;border:1px solid #d8e5df;border-radius:10px;padding:16px;margin-bottom:16px}.team-invite>strong{font-size:14px}.team-invite>p{font-size:13px;line-height:1.65;margin:8px 0 14px}.team-invite-actions{display:flex;gap:10px;flex-wrap:wrap}.team-picker .teammate-result{min-height:56px;padding:12px 14px;border-radius:9px}.team-picker .teammate-result strong{font-size:14px}.team-picker .teammate-result small{font-size:12px;font-variant-numeric:tabular-nums;font-weight:400}.team-picker .teammate-result>span:last-child{font-size:12px;color:#176657;flex-shrink:0}
@media(max-width:700px){.team-manager>summary{padding:16px}.team-manager>.team-picker-body{padding:16px}.team-heading-copy>strong{font-size:16px}.team-heading-icon{width:38px;height:38px}.team-picker .team-members{grid-template-columns:1fr;gap:12px}.team-picker .team-members>.team-member-card{padding:16px;gap:13px}.team-waiting{padding:12px;gap:10px;margin-bottom:18px}.team-manager-footer{flex-direction:column;align-items:stretch;gap:14px;margin-top:18px;padding-top:16px}.student-site .team-cancel{width:100%}.team-manager-footer>p{max-width:none}.team-search-area{margin-top:18px}.team-invite-actions>button{flex:1}}
.assignment-team-mode{border:1px solid #d8e4de;border-radius:12px;padding:16px;margin:20px 0}.assignment-team-mode legend{padding:0 6px;font-size:14px;font-weight:700}.assignment-team-mode label{display:flex!important;align-items:flex-start;gap:12px;margin:8px 0!important;padding:12px;border:1px solid #dce5df;border-radius:9px;cursor:pointer}.assignment-team-mode label:has(input:checked){border-color:#72a792;background:#f0f7f3}.assignment-team-mode input{width:18px!important;min-height:18px!important;height:18px;flex:none;margin:3px 0!important;accent-color:#176657}.assignment-team-mode strong{display:block;font-size:14px}.assignment-team-mode small{display:block;margin-top:4px;color:#63776c;font-weight:400;line-height:1.5}.assignment-team-mode>p{color:#6b7d72;font-size:12px;line-height:1.6;margin:12px 0 0}
.team-member-avatar{overflow:hidden}.team-member-avatar img{width:100%;height:100%;object-fit:cover}.profile-photo-settings{display:flex;align-items:center;gap:22px;margin:20px 0 28px;padding:20px;border:1px solid #dce7e1;border-radius:12px;background:#f6f9f7}.profile-photo-current{width:88px;height:88px;border-radius:50%;overflow:hidden;flex:none;background:#e4efe8;display:grid;place-items:center;font-size:25px;font-weight:600;color:#4a7661}.profile-photo-current img{width:100%;height:100%;object-fit:cover}.profile-photo-description h3{margin:0 0 6px}.profile-photo-description p{font-size:13px;color:#65786e;line-height:1.6;margin:0 0 12px}.profile-photo-actions{display:flex;gap:10px;flex-wrap:wrap}.profile-photo-settings .photo-choose{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;margin:0;border:1px solid #bdcfc5;border-radius:9px;cursor:pointer;background:#fff;font-size:13px;font-weight:600}.photo-choose input{position:absolute;width:1px!important;height:1px!important;opacity:0;overflow:hidden}.photo-choose:focus-within{outline:2px solid #176657;outline-offset:2px}.profile-photo-actions button{font-size:13px;padding:9px 14px}.profile-crop-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:0;border:1px solid #dce6df;border-radius:16px;color:#223c32;background:#fff}.profile-crop-dialog::backdrop{background:#142a35a6}.profile-crop-dialog header{display:flex;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #dce6df}.profile-crop-dialog h2{font-size:19px;margin:0 0 8px}.profile-crop-dialog header p{font-size:12px;line-height:1.5;color:#6a7d73;margin:0}.profile-crop-dialog button{font:inherit;font-size:13px;min-height:44px;padding:10px 16px;border:1px solid #d0ddd5;border-radius:8px;background:white;color:#284639;cursor:pointer}.profile-crop-dialog header button{align-self:flex-start}.profile-crop-body{padding:20px}.profile-crop-stage{position:relative;width:min(100%,288px);aspect-ratio:1;margin:0 auto;background:#eff3f0;border:1px solid #d1dfd5;border-radius:12px;overflow:hidden}.profile-crop-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.profile-crop-stage canvas:active{cursor:grabbing}.profile-crop-guide{position:absolute;inset:0;border:1px dashed #ffffffbd;border-radius:50%;pointer-events:none;box-shadow:0 0 0 70px #10271e35}.profile-crop-zoom{display:flex;gap:14px;align-items:center;font-size:13px;margin-top:22px}.profile-crop-dialog input[type=range]{accent-color:#176657;min-width:0;flex:1;min-height:32px;padding:0;border:0}.profile-crop-position{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}.profile-crop-position label{font-size:11px;color:#718276}.profile-crop-position input{display:block;width:100%}.profile-crop-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-top:1px solid #dce6df}.profile-crop-dialog footer>span{font-size:11px;color:#7a8a80}.profile-crop-dialog button.primary{background:#176657;color:#fff;border-color:#176657}.profile-crop-error{font-size:13px;color:#a43f32;line-height:1.5}.profile-crop-error:empty{display:none}@media(max-width:500px){.profile-photo-settings{align-items:flex-start;gap:14px;padding:16px}.profile-photo-current{width:60px;height:60px;font-size:20px}.profile-photo-actions{flex-direction:column;align-items:stretch}.profile-crop-dialog header{padding:16px}.profile-crop-body{padding:16px}}
.teacher-profile-dialog{width:min(560px,calc(100vw - 24px));font:15px/1.55 system-ui,sans-serif}.teacher-profile-body{padding:22px}.teacher-profile-identity{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.teacher-profile-identity h3{font-size:22px;margin:0}.teacher-profile-identity>span{background:#eaf1ed;color:#496b59;padding:4px 10px;border-radius:20px;font-size:12px}.teacher-profile-body [role=status]{color:#597565;font-size:13px}.teacher-profile-dialog .profile-photo-settings{margin-bottom:0}.teacher-profile-dialog .profile-photo-actions button{min-height:44px;border:1px solid #bdcfc5;border-radius:9px;background:#fff;cursor:pointer}.teacher-profile-dialog .profile-photo-description{min-width:0}.teacher-profile-dialog .profile-photo-current{font-size:25px}.profile-crop-dialog{font-family:system-ui,sans-serif}@media(max-width:500px){.teacher-profile-body{padding:16px}}
.student-welcome{align-items:center;gap:20px;margin-bottom:24px}.student-welcome-identity{display:flex;align-items:center;gap:22px;min-width:0;flex:1 1 340px}.student-welcome-avatar{display:grid;place-items:center;flex:none;width:96px;height:96px;overflow:hidden;border-radius:50%;background:#e4efe8;color:#3d6b57;border:3px solid #fff;box-shadow:0 0 0 1px #d5e2db;font-size:30px;font-weight:650}.student-welcome-avatar img{display:block;width:100%;height:100%;object-fit:cover}.student-welcome-copy{min-width:0}.student-welcome-copy .eyebrow{margin:0 0 8px}.student-site .student-welcome h1{margin:0;line-height:1.18}.student-welcome-id{margin:10px 0 0;color:var(--muted);font-size:14px;overflow-wrap:anywhere}.student-welcome>[data-action=logout]{flex:none;margin-left:auto}@media(max-width:700px){.student-welcome{gap:16px}.student-welcome-identity{flex-basis:100%;gap:16px}.student-welcome-avatar{width:72px;height:72px;font-size:25px}.student-site .student-welcome h1{font-size:clamp(25px,4.5vw,34px)}.student-welcome-copy .eyebrow{font-size:10px;letter-spacing:.1em;margin-bottom:6px}.student-welcome-id{font-size:12px;margin-top:8px}}@media(max-width:380px){.student-welcome-identity{gap:12px}.student-welcome-avatar{width:60px;height:60px;font-size:21px}.student-site .student-welcome h1{font-size:24px}}

.badge.waiting-team{background:#eef0fa;color:#515b87;white-space:normal}.homework-event[data-kind="team_joined"]:before{background:#4b8c77}.history-team-detail{display:block;margin:8px 0 0;color:#62747c;font-size:13px;line-height:1.55}.notification-status[data-status="Joined"]{background:#e3f1e9;color:#276650}.notification-status[data-status="Submitted for review"]{background:#fff0cb;color:#785718}

.team-member-actions{display:grid;gap:8px;margin-top:auto}.student-site .team-admin-toggle{width:100%;min-height:44px;padding:9px 12px;white-space:normal;font-size:13px;line-height:1.4;color:#225a4a;border-color:#cddfd6;background:#f4f9f6}.student-site .team-admin-toggle:hover{background:#e8f3ed}.team-member-actions .team-member-remove{margin-top:0}.review-notification-team{display:block;margin-top:9px;font-size:12px;color:#56766b;font-weight:500}

.approval-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto}.approval-dialog form{padding:22px}.approval-dialog .review-context{font-size:17px;font-weight:650;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}.approval-audience{padding:12px 14px;background:#f0f7f3;border:1px solid #dbe8e0;border-radius:9px;color:#446558;font-size:13px;line-height:1.6;margin-bottom:20px}.approval-dialog label{display:block;font-size:14px;font-weight:650;margin:0 0 8px}.approval-dialog label>span{font-weight:400;color:#6c7f77}.approval-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:112px;padding:12px;border:1px solid #cbd9d2;border-radius:9px;font:inherit;font-size:14px;line-height:1.6;resize:vertical}.approval-help{font-size:12px;color:#6c7f77;margin:8px 0 18px}.approval-actions{display:flex;justify-content:flex-end;gap:10px}.approval-actions button{min-height:44px}.approval-note{padding:12px 15px;background:#f1f8f4;border:1px solid #dceade;border-radius:9px;margin:14px 0;color:#2e5546}.approval-note>strong{font-size:12px}.approval-note>p{font-size:14px;line-height:1.6;margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.history-approval-note{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.approval-dialog form{padding:16px}.approval-actions{display:grid;grid-template-columns:1fr 1fr}.approval-dialog textarea{font-size:16px}}

.student-site label.remember-me,#gate .remember-me{display:flex;align-items:flex-start;gap:11px;margin:19px 0 4px;max-width:360px;cursor:pointer;font-weight:400;text-transform:none;letter-spacing:0}.student-site .remember-me input[type=checkbox],#gate .remember-me input[type=checkbox]{display:block;flex:none;width:18px;height:18px;min-height:0;padding:0;margin:3px 0 0;accent-color:#176653}.remember-me>span{display:block;min-width:0}.remember-me strong{display:block;font-size:14px;color:#203a32;line-height:1.5;font-weight:600}.remember-me small{display:block;font-size:12px;font-weight:400;line-height:1.5;color:#697c74;margin-top:3px}.student-site .remember-me input:focus-visible,#gate .remember-me input:focus-visible{outline:3px solid #b4dacc;outline-offset:3px}

.activity-list .team-project-card{display:block;padding:22px;border:1px solid #d9e5df;border-left:3px solid #4d8b77;border-radius:12px;background:linear-gradient(120deg,#f4f9f6,#fff);margin:14px 0}.team-project-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.team-project-card h3{font-size:18px;line-height:1.5;font-weight:700;letter-spacing:-.015em;margin:12px 0 18px;color:#203c32;overflow-wrap:anywhere}.team-project-members>strong{font-size:12px;font-weight:650;color:#61776b;display:flex;align-items:center;gap:8px}.team-project-members>strong>span{font-size:11px;padding:1px 7px;border-radius:20px;background:#e8f0eb;color:#4a6b5a}.team-project-members ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 18px;padding:0}.team-project-members li{min-width:0;flex:1 1 160px}.team-project-members .team-member-profile{box-sizing:border-box;width:100%;display:block!important;text-align:left;min-height:58px;padding:10px 12px!important;border:1px solid #dce7e0!important;border-radius:8px;background:#fff}.team-project-members .team-member-profile>strong{display:block;font-size:13px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.team-project-members .team-member-profile>small{display:block;font-size:11px!important;font-weight:400;margin-top:3px!important;color:#728378!important;line-height:1.4;font-variant-numeric:tabular-nums}.team-project-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding-top:16px;border-top:1px solid #dfE8e2}.team-project-meta{min-width:0}.team-project-meta p{font-size:12px;margin:0 0 6px;color:#6a7a71;line-height:1.7}.team-project-meta p>strong{color:#2e4f3e;font-weight:650}.team-project-file-count{display:inline-block;margin-left:9px;padding:1px 7px;font-size:11px;border-radius:5px;background:#eaf1ec;color:#40614d}.team-project-meta time{display:block;font-size:11px;color:#7d8b82;line-height:1.6}.team-project-meta>small{display:block;font-size:11px!important;margin-top:4px!important;color:#7d8b82!important}.team-project-actions{display:flex;gap:8px;flex:none}.team-project-actions button{min-height:44px;font-size:12px;padding:10px 14px;white-space:nowrap}.team-project-actions button:first-child{color:#fff;background:#246853;border-color:#246853}@media(max-width:700px){.activity-list .team-project-card{padding:16px}.team-project-card h3{font-size:16px;margin:12px 0 16px}.team-project-footer{display:block}.team-project-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:16px}.team-project-actions button{white-space:normal;padding:10px 8px}.team-project-members li{flex-basis:100%}}

/* Keep the current decision separate from its equally sized actions. */
.review-current{padding:18px;border-radius:12px;background:#f5f8f6}.review-section-label{font-weight:600;font-size:12px;margin-bottom:8px}.review-current .submission-review{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px}.review-current .submission-review .badge{grid-column:1/-1;justify-self:start;margin:0 0 6px;max-width:100%;width:auto;white-space:normal}.review-current .submission-review button,.review-current .submission-review select{box-sizing:border-box;width:100%;min-width:0;max-width:none;min-height:44px;padding:11px 14px;margin:0;font:600 13px/1.4 system-ui,sans-serif;border-radius:9px;transition:background .15s,border-color .15s}.review-current .submission-review .review-approve,.approval-dialog .approval-actions .review-approve{background:#216b56;border:1px solid #216b56;color:white}.review-current .review-approve:hover:not(:disabled),.approval-dialog .approval-actions .review-approve:hover:not(:disabled){background:#17533f}.review-current .submission-review .review-reject{background:#fff6f3;color:#a34436;border-color:#e7bdb4}.review-current .review-reject:hover{background:#fbe9e3}.review-current .submission-review select{appearance:none;color:#405b4e;border-color:#cbdcd2;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23597565' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:34px;cursor:pointer}.review-current .submission-review select:hover{border-color:#80a793;background-color:#fafffb}.review-current .submission-review :is(button,select):focus-visible{outline:3px solid #b5d8c6;outline-offset:2px}.review-current .review-inline-error{grid-column:1/-1}.approval-actions button{font-weight:600;line-height:1.4}.review-event[data-kind=team_joined]::before{background:#4b8c77}@media(max-width:480px){.review-current{padding:14px}.review-current .submission-review{grid-template-columns:1fr 1fr;gap:9px}.review-current .submission-review select{grid-column:1/-1}.review-current .submission-review button{padding:11px 8px}.approval-dialog .approval-actions button{padding:10px 8px}}

.person-avatar{position:relative;display:grid;place-items:center;width:40px;height:40px;flex:none;overflow:hidden;border-radius:50%;background:#e7f0eb;color:#416854;box-shadow:inset 0 0 0 1px #d6e3da;font:650 13px/1 system-ui,sans-serif;letter-spacing:.02em}.person-avatar>span{font:inherit;color:inherit;letter-spacing:inherit}.person-avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.person-avatar img[hidden]{display:none}.team-project-members .team-member-profile{display:flex!important;align-items:center;gap:12px;min-height:66px}.team-project-member-copy{display:block;min-width:0;flex:1}.team-project-member-copy>strong{display:block;font-size:13px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.team-project-member-copy>small{display:block;font-size:11px!important;font-weight:400;margin-top:3px!important;color:#728378!important;line-height:1.4;font-variant-numeric:tabular-nums}.teacher-site .activity-student-person{display:inline-flex;align-items:center;gap:10px;max-width:100%}.activity-student-person>span:last-child{min-width:0;overflow-wrap:anywhere}.student-profile-person{display:flex;align-items:center;gap:16px;min-width:0;flex:1}.student-profile-person>div:last-child{min-width:0}.student-profile-person .person-avatar{width:60px;height:60px;font-size:19px}.student-profile-person h2{overflow-wrap:anywhere}.student-profile-header .person-avatar>span{font:inherit;color:inherit;letter-spacing:inherit}@media(max-width:600px){.student-profile-person{gap:11px}.student-profile-person .person-avatar{width:44px;height:44px;font-size:15px}.student-profile-header .student-profile-person>div:last-child{display:block}.student-profile-person h2{font-size:18px;line-height:1.35}.team-project-members .team-member-profile{gap:11px;padding:11px 12px!important}}@media(max-width:380px){.student-profile-header:has(.student-profile-person){flex-wrap:wrap}.student-profile-header .student-profile-person{flex-basis:100%}.student-profile-header:has(.student-profile-person)>div:last-child{flex-direction:row;margin-left:auto}}

.person-avatar .avatar-initials[hidden]{display:none}.student-welcome-avatar>.person-avatar,.profile-photo-current>.person-avatar,.team-member-avatar>.person-avatar{width:100%;height:100%;font:inherit;box-shadow:none}
.history-review-transition{margin:12px 0 0;padding:13px 16px;border:1px solid #d7e7df;border-left:3px solid #5a947f;border-radius:9px;background:#f2f8f5;color:#34594a;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.homework-event[data-kind="team_ready"]:before,.review-event[data-kind="team_ready"]:before{background:#398268}.homework-event[data-kind="team_review_paused"]:before,.review-event[data-kind="team_review_paused"]:before{background:#c18e42}[data-kind="team_review_paused"] .history-review-transition{background:#fffbf2;border-color:#efe3c8;border-left-color:#c18e42;color:#755a2d}@media(max-width:480px){.history-review-transition{padding:11px 12px}}

/* Submission identities open the existing full student profile. */
.teacher-site .submission-person{display:inline-flex;align-items:center;gap:10px;min-height:44px;max-width:100%;text-align:left;white-space:normal}.submission-person>span:last-child{min-width:0;overflow-wrap:anywhere;line-height:1.5}.submission-person .person-avatar{width:34px;height:34px;font-size:11px}.teacher-site tr.team-submission-row>td{padding:18px 20px;background:#f5f9f7;border-left:3px solid #5d9a83}tr.team-submission-row .g{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:8px 12px;align-items:start}tr.team-submission-row .g>.caret{grid-column:1;grid-row:1;margin-top:7px}tr.team-submission-row .g>.new{display:none}tr.team-submission-row .g>.team-submission-badge{grid-column:2;grid-row:1;justify-self:start}tr.team-submission-row .g>.a{grid-column:2;grid-row:2;color:#213e36;font-size:15px;font-weight:650;line-height:1.5;white-space:normal;overflow-wrap:anywhere}tr.team-submission-row .g>.submission-person{grid-column:2;grid-row:3;font-size:12px}tr.team-submission-row .g>.last{grid-column:2;grid-row:4;white-space:normal;overflow-wrap:anywhere}tr.team-submission-row .g>.when{grid-column:2;grid-row:5;white-space:normal}tr.team-submission-row .g>.rv{grid-column:3;grid-row:1/6;margin:0;align-self:start}.submission-team-members{margin:16px 0 0 28px;padding-top:15px;border-top:1px solid #dbe7e0;cursor:default}.submission-team-members .team-project-members{max-width:1100px;margin:0}.submission-team-members .team-project-members>strong{font-size:12px;color:#526e60}.submission-team-members .team-project-members ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 0;padding:0;list-style:none}.submission-team-members .team-project-members .team-member-profile{width:100%;padding:11px 13px;background:#fff;border:1px solid #d7e6dd;border-radius:10px;text-align:left;color:#213f32;white-space:normal}.submission-team-members button:hover{background:#edf6f0;border-color:#94b6a2}.submission-team-members button:focus-visible,.submission-person:focus-visible{outline:3px solid #b5d8c6;outline-offset:2px}.profile-login-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 12px}.profile-login-heading h3{margin:0;font-size:14px}.profile-login-heading>span{font-size:11px;color:#6d8077}.profile-login-entry{padding:15px;border:1px solid #dce6e0;border-radius:10px;background:#fff;margin:10px 0}.profile-login-device{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}.profile-login-device>span{color:#688072;font-size:12px}.profile-login-entry dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 0}.profile-login-entry dt{font-size:11px;color:#718276}.profile-login-entry dd{margin:3px 0 0;font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.profile-login-error:empty{display:none}@media(max-width:1000px){tr.team-submission-row .g{grid-template-columns:16px minmax(0,1fr)}tr.team-submission-row .g>.rv{grid-column:2;grid-row:6;margin-top:5px;justify-self:start}.submission-team-members .team-project-members ul{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.teacher-site tr.team-submission-row>td{padding:14px 12px}.submission-team-members{margin-left:0}.submission-team-members .team-project-members ul{grid-template-columns:minmax(0,1fr)}tr.team-submission-row .g>.rv{grid-column:1/-1;width:100%}tr.team-submission-row .submission-review{flex-wrap:wrap;justify-content:flex-start}.profile-login-heading{align-items:flex-start;flex-direction:column;gap:5px}.profile-login-entry dl{grid-template-columns:1fr}.profile-login-entry{padding:12px}}

.teacher-site tr.team-submission-row .g{border-left:0;padding-left:0}.teacher-site tr.team-submission-row .submission-review{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:8px;min-width:280px}.teacher-site tr.team-submission-row .submission-review>.badge{grid-column:1/-1;justify-self:start;margin-bottom:4px}.teacher-site tr.team-submission-row .submission-review>button,.teacher-site tr.team-submission-row .submission-review>select{width:100%;min-width:0;min-height:40px;box-sizing:border-box;padding:9px 11px;margin:0;border-radius:8px;line-height:1.4}.teacher-site tr.team-submission-row .submission-review>.review-inline-error{grid-column:1/-1}@media(max-width:600px){.teacher-site tr.team-submission-row .submission-review{min-width:0;width:100%}.teacher-site tr.team-submission-row .submission-review>button,.teacher-site tr.team-submission-row .submission-review>select{min-height:44px;padding:9px 6px}}

.review-notification .review-notification-author{gap:10px;margin-top:13px;min-width:0}.review-notification-author .person-avatar{width:34px;height:34px;font-size:11px;box-shadow:0 0 0 1px #d6e4db;align-self:center}.review-notification-author-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;text-align:left;line-height:1.4}.review-notification-author-copy>span{font-size:11px;color:#6a7f76}.review-notification-author-copy>strong{font-size:13px;font-weight:650;overflow-wrap:anywhere}.review-notification-author .unread-dot{flex:none;margin-left:2px}@media(max-width:380px){.review-notification .review-notification-author{gap:9px}.review-notification-author .person-avatar{width:32px;height:32px}}

.assignment-part-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;max-width:100%}.badge.missing,.badge.incomplete{background:#fff0d9;color:#8c5e24}.assignment-part-badges .badge{white-space:normal;line-height:1.45;text-align:left}.part-reviewer{display:flex;align-items:center;gap:10px;margin:18px 0 14px;min-width:0}.part-reviewer .person-avatar{width:34px;height:34px;font-size:11px}.part-reviewer>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.part-reviewer small{font-size:11px;color:#6d8077}.part-reviewer strong{font-size:13px;color:#294b43;overflow-wrap:anywhere;font-weight:600}@media(max-width:600px){.assignment-part-badges{justify-content:flex-start}.toolbar:has(.assignment-part-badges){align-items:flex-start;flex-wrap:wrap}.toolbar>.assignment-part-badges{width:100%}}
.submission-files-dialog{width:min(820px,94vw);height:fit-content;max-height:90dvh}.submission-files-dialog .preview-head{align-items:flex-start}.submission-files-dialog .preview-head>div{min-width:0}.submission-files-dialog .preview-head p{font-size:12px;line-height:1.6;color:#667e75;overflow-wrap:anywhere;margin:7px 0 0}.submission-files-dialog .preview-body{flex:0 1 auto;background:#fff;padding:0 20px 12px}.submission-file-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #dce7e1}.submission-file-row:last-of-type{border-bottom:0}.submission-file-row>div:first-child{min-width:0}.submission-file-row .submission-file-name{display:block;background:transparent;border:0;padding:0;text-align:left;color:#176758;font-size:14px;font-weight:600;line-height:1.6;white-space:normal;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}.submission-file-row small{display:block;font-size:11px;line-height:1.5;color:#667e75;margin-top:5px}.submission-file-actions{display:flex;gap:8px;flex:none}.submission-file-actions button{min-height:40px;white-space:nowrap}.file-list-error{color:#a13c2f;font-size:13px}@media(max-width:600px){.submission-files-dialog .preview-body{padding:0 12px 10px}.submission-file-row{flex-direction:column;align-items:stretch;gap:12px}.submission-file-actions button{flex:1;min-height:44px}.submission-file-row{padding:15px 0}}

.submission-files-dialog button:not(.submission-file-name){font:600 13px/1.4 system-ui,sans-serif;color:#23493f;background:#fff;border:1px solid #cbded4;border-radius:8px;padding:10px 15px;min-height:40px;cursor:pointer}.submission-files-dialog button:not(.submission-file-name):hover{background:#edf6f1;border-color:#91b5a5}.submission-files-dialog button:focus-visible{outline:3px solid #acd0bd;outline-offset:3px}.submission-files-dialog button:disabled{opacity:.55;cursor:wait}.submission-files-dialog .submission-file-actions button:first-child{background:#eff6f2}.submission-files-dialog .preview-head{flex:none}@media(max-width:600px){.submission-files-dialog button:not(.submission-file-name){min-height:44px}}
.git-sync-avatar svg{display:block;width:100%;height:100%}.submission-reviewer{display:inline-flex;align-items:center;gap:7px;margin-right:10px;vertical-align:middle;max-width:100%;white-space:normal;line-height:1.5;color:#647b73}.submission-reviewer .person-avatar{width:25px;height:25px;font-size:9px}.submission-reviewer>span:last-child{min-width:0;overflow-wrap:anywhere}.submission-reviewer strong{font-weight:600;color:#2c5246}tr.grp .when:has(.submission-reviewer){display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}tr.grp .when>.submission-reviewer{margin-right:0}

.replace-file-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d5e0dc;border-radius:18px;padding:24px;color:#1e343d;box-sizing:border-box}.replace-file-dialog::backdrop{background:#142b35a6}.replace-file-dialog header{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:22px}.replace-file-dialog h2{margin:6px 0 0;font-size:23px}.replace-file-dialog p{line-height:1.6;font-size:14px}.replace-file-dialog button{min-height:42px;border:1px solid #c9d9d3;border-radius:9px;padding:10px 15px;background:#fff;color:#1e343d;font:inherit;cursor:pointer}.replace-file-dialog button.primary{background:#176657;border-color:#176657;color:white;font-weight:700}.replace-file-dialog button:disabled{opacity:.6;cursor:wait}.replace-current{display:grid;gap:6px;padding:15px;background:#f3f7f5;border:1px solid #dbe5e1;border-radius:10px;overflow-wrap:anywhere}.replace-current span{font-size:12px;color:#60767e}.replace-file-dialog label{display:grid;gap:9px;margin-top:20px;font-size:14px;font-weight:600}.replace-file-dialog input{max-width:100%;box-sizing:border-box;font:inherit}.replace-file-dialog textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid #c9d9d3;border-radius:9px;padding:12px;font:inherit}.replace-file-dialog footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:12px}.replacement-selection:not([hidden]){display:flex;gap:10px;align-items:start;margin-top:12px}.replacement-selection [data-preview]{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere;color:#176657}.replace-file-dialog progress{width:100%}.replacement-message:empty{display:none}.history-file-change{padding:10px 13px;background:#f3f7f5;border-radius:8px;font-size:13px;overflow-wrap:anywhere;line-height:1.6}.history-file-changes{padding:12px 14px;border-left:2px solid #c8d9d1;background:#f6f9f7;font-size:13px;overflow-wrap:anywhere}.history-file-changes ul{margin:8px 0 0;padding-left:18px}.history-file-changes li{margin:5px 0}

.grade-part-status{display:block;width:fit-content;padding:6px 10px;border-radius:7px;font-size:12px;font-weight:700;margin-bottom:8px;background:#eaf0ed;color:#526b65}.grade-part-status[data-mark="+"]{background:#ddf0e4;color:#146443}.grade-part-status[data-mark="x"]{background:#fce5e1;color:#a83227}.grade-part-status[data-mark="pending"]{background:#fff0c9;color:#855806}
.history-response>.history-response-heading{align-items:center;column-gap:16px;row-gap:6px}
.history-reviewer{display:inline-flex;align-items:center;gap:10px;min-width:0;max-width:100%;vertical-align:middle}
.history-reviewer>.person-avatar{width:32px;height:32px;flex:0 0 32px;font-size:11px}
.history-reviewer>strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.history-response-heading>time{margin:0;font-variant-numeric:tabular-nums;line-height:1.5}
.review-event-author:has(.history-reviewer),.homework-event-actor:has(.history-reviewer){margin-top:8px}
@media(max-width:560px){.history-response-heading>time{flex-basis:100%;padding-left:42px;box-sizing:border-box}}
button.person-avatar.person-avatar{appearance:none;padding:0;border:0;margin:0;min-width:0;min-height:0;background:#e7f0eb;color:#416854;border-radius:50%;cursor:zoom-in;box-sizing:border-box}
button.person-avatar:disabled{cursor:default}
button.person-avatar:focus-visible{outline:3px solid #448d73;outline-offset:3px}
.submission-person>.student-profile-link{min-width:0;overflow-wrap:anywhere;line-height:1.5;white-space:normal;text-align:left}
.team-member-profile>.student-profile-link{flex:1;min-width:0;min-height:44px;border:0;padding:0;background:transparent;color:inherit;text-align:left;white-space:normal}
.inbox-actions article.review-notification{box-sizing:border-box;cursor:pointer}
.inbox-actions .review-notification-open{padding:6px 0;border:0;background:transparent;color:#176b5b;font-size:12px;min-height:32px}
html.profile-photo-viewing,html.profile-photo-viewing body{overflow:hidden}
dialog.profile-photo-viewer{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box;border:0;border-radius:0;background:#111918;color:#f4faf7;overflow:hidden;font:15px/1.5 system-ui,sans-serif}
dialog.profile-photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr);gap:18px}
.profile-photo-viewer::backdrop{background:#111918}
.profile-photo-viewer>header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:transparent;padding:0;border:0}
.profile-photo-viewer>header>div{min-width:0}
.profile-photo-viewer header span:not([aria-hidden]){font-size:11px;color:#a9beb3}
.profile-photo-viewer h2{margin:2px 0 0;font-size:18px;line-height:1.4;color:inherit;overflow-wrap:anywhere}
.profile-photo-viewer button[data-close-profile-photo]{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-height:44px;padding:9px 16px;border:1px solid #70857b;border-radius:10px;background:#24362e;color:#fff;font:600 14px/1.5 system-ui;cursor:pointer}
.profile-photo-viewer button[data-close-profile-photo]:hover{background:#354c40}
.profile-photo-viewer button[data-close-profile-photo]:focus-visible{outline:3px solid #b1ddc4;outline-offset:3px}
/* An SVG cross centres exactly with the label; a text × sits below it. */
.profile-photo-viewer button[data-close-profile-photo]>svg{display:block;flex:none}
.profile-photo-viewer-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden}
.profile-photo-viewer-stage>img{display:block;width:100%;height:100%;object-fit:scale-down;border-radius:0;max-width:100%;max-height:100%}
.profile-photo-viewer-stage>img[hidden]{display:none}
.profile-photo-viewer-stage>p{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);box-sizing:border-box;width:max-content;max-width:calc(100% - 24px);margin:0;padding:8px 12px;border-radius:8px;background:#172722e8;text-align:center;font-size:12px;color:#e0ebe5}
.table-image-dialog{width:min(1080px,calc(100vw - 28px));max-width:none;max-height:92vh;max-height:92dvh;padding:0;border:1px solid #d9e5de;border-radius:20px;color:#203a30;background:#fff;box-shadow:0 24px 80px #14291f33}
.table-image-dialog[open]{display:flex;flex-direction:column}
.table-image-dialog::backdrop{background:#132c246b}
.table-image-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 26px;border-bottom:1px solid #e1eae5}
.table-image-dialog header span{font-size:10px;font-weight:750;letter-spacing:.12em;color:#377b60}
.table-image-dialog header h2{margin:4px 0;font-size:25px;line-height:1.25}
.table-image-dialog header p{margin:6px 0 0;color:#657b70;font-size:13px}
.table-image-dialog button{min-height:44px;border:1px solid #cfdfd5;border-radius:10px;padding:10px 15px;background:#fff;color:#28563f;font:650 13px/1.35 system-ui;cursor:pointer}
.table-image-dialog button:disabled{opacity:.5;cursor:default}
.table-image-dialog button.primary{background:#176653;color:white;border-color:#176653}
.table-image-options{padding:12px 26px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;color:#526c5f}
.table-image-options label{display:flex;align-items:center;gap:8px;margin:0}
.table-image-format{display:flex;flex-wrap:wrap;gap:18px}
.table-image-options input{width:17px;height:17px;margin:0;accent-color:#176653}
.table-image-preview{overflow:auto;min-height:100px;background:#edf3ef;padding:20px;flex:1}
.table-image-preview>img{display:block;max-width:100%;height:auto;margin:auto;box-shadow:0 3px 16px #193d2417}
.table-image-status{font-size:12px;color:#5c7466;margin:10px 26px}
.table-image-dialog>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 26px 20px;border-top:1px solid #e1eae5}
.table-image-downloads{display:flex;gap:8px;flex-wrap:wrap}
.table-image-dialog [hidden]{display:none!important}
.missing-homework-card{margin:0 0 26px;padding:26px;border:1px solid #b9d9c5;border-radius:20px;background:linear-gradient(125deg,#e7f5eb,#f2faf4);color:#174d35;box-shadow:0 8px 25px #15523306}
.missing-homework-card>header{display:flex;align-items:flex-start;gap:17px;margin-bottom:22px}
.missing-homework-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid #b8d8c1;border-radius:14px;background:#d4eadb;color:#236843}
.missing-homework-icon svg{width:27px;height:27px}
.missing-homework-eyebrow{font-size:10px;font-weight:750;letter-spacing:.11em;color:#40845c}
.missing-homework-card h2{margin:3px 0 7px;font-size:23px;line-height:1.25;color:#174d35}
.missing-homework-card header p{margin:0;color:#557461;font-size:13px;line-height:1.6}
.missing-homework-count{flex:none;margin-left:auto;border-radius:30px;padding:7px 11px;background:#d1e9d9;font-size:12px;font-weight:750;white-space:nowrap}
.missing-homework-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.missing-homework-card li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 18px;border-radius:13px;border:1px solid #d0e5d6;background:#ffffffd9}
.missing-homework-card li>div{min-width:0;display:grid;gap:5px}
.missing-homework-card li strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.missing-homework-state{font-size:12px;font-weight:650;color:#437856}
.missing-homework-card li small{color:#617b69;font-size:12px}
.missing-homework-card li button{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #236d4b;border-radius:10px;background:#236d4b;color:#fff;font:650 13px/1.4 system-ui;cursor:pointer}
.missing-homework-card li button:hover{background:#175637}
@media(max-width:600px){.missing-homework-card{padding:19px 16px}.missing-homework-card>header{flex-wrap:wrap;gap:12px}.missing-homework-card>header>div{flex:1;min-width:160px}.missing-homework-card h2{font-size:21px}.missing-homework-count{margin:0 0 0 60px}.missing-homework-card li{align-items:stretch;flex-direction:column;gap:14px;padding:16px}.missing-homework-card li button{width:100%}.table-image-dialog>header{padding:18px 16px}.table-image-dialog header h2{font-size:22px}.table-image-options{padding:10px 16px}.table-image-preview{padding:8px}.table-image-status{margin:10px 16px}.table-image-dialog>footer{padding:12px 16px;flex-wrap:wrap}.table-image-downloads{flex:1;justify-content:flex-end}.table-image-dialog>header>button{flex:none}}
/* Clear assignment hierarchy in grouped submissions, including narrow screens. */
.teacher-site tr.grp .g>.submission-assignment{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;min-width:0;max-width:100%;color:#203b34}
.submission-assignment-title{font-size:15px;font-weight:750;line-height:1.45;letter-spacing:-.01em;white-space:normal;overflow-wrap:anywhere;text-wrap:pretty}
.submission-assignment-part{display:inline-flex;align-items:center;flex:none;white-space:nowrap;border:1px solid #cbded5;border-radius:6px;padding:3px 8px;background:#eaf3ee;color:#316550;font-size:11px;font-weight:700;line-height:1.4}
@media(max-width:760px){
 .teacher-site tr.grp:not(.team-submission-row)>td{padding:18px 14px}
 .teacher-site tr.grp:not(.team-submission-row) .g{display:grid;grid-template-columns:10px minmax(0,1fr);align-items:start;gap:11px 10px}
 .teacher-site tr.grp:not(.team-submission-row) .g>.caret{grid-column:1;grid-row:1;margin-top:13px}
 .teacher-site tr.grp:not(.team-submission-row) .g>.submission-person{grid-column:2;grid-row:1;width:100%;font-size:13px}
 .teacher-site tr.grp:not(.team-submission-row) .g>.new{grid-column:2;justify-self:start}
 .teacher-site tr.grp:not(.team-submission-row) .g>.a,.teacher-site tr.grp:not(.team-submission-row) .g>.last,.teacher-site tr.grp:not(.team-submission-row) .g>.when{grid-column:2;width:100%}
 .teacher-site tr.grp .g>.submission-assignment{align-items:flex-start;flex-direction:column;gap:7px}
 .teacher-site .submission-assignment-title{font-size:16px;line-height:1.45}
 .teacher-site tr.grp:not(.team-submission-row) .g>.last{padding:2px 0;font-size:13px;line-height:1.55}
 .teacher-site tr.grp:not(.team-submission-row) .g>.when{font-size:11px;line-height:1.6;gap:4px 10px}
 .teacher-site tr.grp:not(.team-submission-row) .g>.rv{grid-column:2;width:100%;margin:2px 0 0;padding:12px 0 0;border-top:1px solid #dce5df}
 .teacher-site tr.grp:not(.team-submission-row) .submission-review{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
 .teacher-site tr.grp:not(.team-submission-row) .submission-review>.badge{grid-column:1/-1;justify-self:start;margin-bottom:2px}
 .teacher-site tr.grp:not(.team-submission-row) .submission-review>button,.teacher-site tr.grp:not(.team-submission-row) .submission-review>select{width:100%;min-width:0;min-height:40px;padding:8px 6px;box-sizing:border-box}
 .teacher-site tr.grp:not(.team-submission-row) .submission-review>.review-inline-error{grid-column:1/-1}
}

/* Compact, directly accessible files in each homework part. */
.profile-part-statuses{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.profile-homework-item>summary .profile-part-statuses .badge{white-space:normal;line-height:1.5;font-size:11px;padding:5px 9px}
.profile-homework-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px}
.profile-homework-part{min-width:0;padding:16px;border:1px solid #dce6df;border-radius:10px;background:#f8faf9}
.profile-part-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.profile-part-heading h4{margin:0;font-size:15px;font-weight:700}
.profile-part-heading .badge{font-size:11px;white-space:normal}
.profile-part-count{margin:8px 0 14px;color:#6c8075;font-size:12px}
.profile-homework-part .profile-submission-file{display:block}
.profile-homework-part .profile-submission-file>div:last-child{margin-top:12px;flex-wrap:wrap}
.profile-homework-part .part-reviewer{margin:14px 0}
.student-profile-dialog .profile-part-review{width:100%;margin-top:6px;min-height:40px;background:#fff;font-weight:600}
.profile-unassigned-files{margin-top:20px}
@media(max-width:700px){.profile-homework-parts{grid-template-columns:minmax(0,1fr)}.profile-homework-part{padding:14px}}
.hw-parts-summary{align-items:start}
.part-files{margin-top:20px;padding-top:16px;border-top:1px solid #dce6e2}
.part-files-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.part-files-heading h4{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:1.5;font-weight:700;color:#244b41}
.part-files-heading h4 span{display:inline-flex;align-items:center;justify-content:center;min-width:23px;min-height:23px;padding:0 6px;border-radius:20px;background:#e3efea;font-size:12px;box-sizing:border-box}
.part-files-heading>small{font-size:11px;color:#62776f}
.part-file-list{display:grid;gap:8px;list-style:none;margin:0;padding:0}
.part-file-list li{min-width:0}
.part-file-open{display:flex;align-items:center;gap:10px;width:100%;min-height:64px;padding:11px 12px;border:1px solid #dce6e2;border-radius:10px;background:#fff;text-align:left;box-sizing:border-box;color:#183d32;font:inherit;cursor:pointer}
.part-file-open:hover{border-color:#87b1a0;background:#f0f7f3}
.part-file-open:focus-visible,.part-files-more summary:focus-visible{outline:2px solid #176b54;outline-offset:3px}
.part-file-icon{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:38px;border-radius:7px;background:#edf4f0;color:#4b7c69}
.part-file-icon svg{width:22px;height:22px}
.part-file-copy{display:grid;gap:4px;flex:1;min-width:0}
.part-file-copy strong{font-size:13px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.part-file-copy small{font-size:11px;line-height:1.4;font-weight:400;color:#61796f}
.part-file-arrow{flex:0 0 16px;width:16px;height:16px;color:#678b7d}
.part-files-more{margin-top:8px}
.part-files-more summary{padding:10px 2px;color:#176b54;font-size:13px;font-weight:600;cursor:pointer}
.part-files-more .part-files-hide,.part-files-more[open] .part-files-show{display:none}
.part-files-more[open] .part-files-hide{display:inline}
.part-files-empty{display:flex;align-items:flex-start;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #dce6e2}
.part-files-empty>div{min-width:0}
.part-files-empty strong{font-size:13px;line-height:1.5;font-weight:600;color:#526b61}
.part-files-empty p{margin:5px 0 0;font-size:12px;line-height:1.7;color:#6c8178}
@media(max-width:400px){
 .hw-parts-summary .hw-part{padding:16px}
 .part-file-open{gap:8px;padding:10px}
 .part-file-icon{flex-basis:28px;width:28px;height:34px}
}

/* Role-specific team exit and ownership confirmations. */
.team-exit-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}.team-change-dialog{box-sizing:border-box;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:28px;border:1px solid #dce6e1;border-radius:20px;color:#203b32;background:#fff;box-shadow:0 24px 80px #092e3033;overflow:auto}.team-change-dialog::backdrop{background:#102f38a6;backdrop-filter:blur(3px)}.team-change-eyebrow{display:block;color:#6d8177;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px}.team-change-dialog h2{margin:0;font-size:24px;line-height:1.3;letter-spacing:-.02em}.team-change-dialog p{font-size:14px;line-height:1.65;color:#526c61;margin:16px 0}.team-successor-label{display:block;font-size:14px;font-weight:650;margin:22px 0}.team-successor-label select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:48px;margin-top:9px;padding:10px 12px;border:1px solid #bdcfc5;border-radius:10px;background:#fff;color:#203b32;font:inherit;font-size:13px}.team-successor-label small{display:block;font-size:12px;font-weight:400;color:#70857a;margin-top:8px}.team-change-impact{background:#f3f7f5;border:1px solid #e1eae5;border-radius:12px;padding:16px;margin:22px 0}.team-change-impact strong{font-size:14px}.team-change-impact p{font-size:13px;margin:8px 0 0}.team-change-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.team-change-actions button{min-height:46px;font-size:14px;font-weight:650;padding:10px 18px;border-radius:10px;white-space:normal}.team-change-dialog .team-destructive{background:#a53632;color:#fff;border-color:#a53632}.team-change-dialog .team-destructive:hover{background:#882b28}.team-membership-rule{font-weight:650}.team-member-actions{flex-wrap:wrap}.team-member-actions button{white-space:normal}
@media(max-width:540px){.team-change-dialog{padding:22px 18px}.team-change-dialog h2{font-size:22px}.team-change-actions{display:grid;grid-template-columns:1fr 1fr}.team-change-actions button{padding:10px}.team-exit-actions{display:grid;grid-template-columns:1fr 1fr}.team-manager-footer .team-cancel{width:auto;padding:10px}}
.team-review-lock{display:block;margin-top:7px;font-size:12px;color:#5b7067}.team-review-lock+span{display:block;margin-top:4px}.student-site .team-cancel:disabled{opacity:.5;cursor:not-allowed}

.team-close-request-summary h3{font-size:20px;line-height:1.4;margin:8px 0}.team-close-request-summary p{font-size:14px;line-height:1.6}.team-close-request-summary ul{list-style:none;padding:0;display:grid;gap:8px}.team-close-request-summary li{border:1px solid #dce6e1;border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:5px}.team-close-request-summary li strong{font-size:14px}.team-close-request-summary li span{font-size:12px;color:#6d8177}.team-close-decision-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.team-close-decision-actions button{min-height:46px;padding:11px 18px;font-size:14px;font-weight:650;border-radius:10px;white-space:normal}@media(max-width:540px){.team-close-decision-actions{display:grid;grid-template-columns:1fr}.team-exit-actions{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}

.team-resubmission-required{padding:16px 18px;border:1px solid #e9d2a0;border-radius:12px;background:#fffaf0;margin:18px 0;color:#654f26}.team-resubmission-required strong{font-size:15px}.team-resubmission-required p{font-size:14px;line-height:1.6;margin:8px 0 0}
.assignment-collection{margin:20px 0;padding:18px;border:1px solid #cdded6;border-radius:12px;background:#f3f8f5}
.assignment-collection legend{padding:0 6px;font-weight:700;color:#214f43}
.assignment-collection label{display:flex;gap:12px;align-items:flex-start;margin:0}
.assignment-collection input[type=checkbox]{width:20px;height:20px;margin:2px 0;flex-shrink:0;accent-color:#176657}
.assignment-collection strong,.assignment-collection small{display:block}
.assignment-collection strong{font-size:16px;margin-bottom:5px}
.assignment-collection small,.assignment-collection p{font-size:13px;line-height:1.6;color:#536d64}
.assignment-collection p{margin:12px 0 0;padding-top:12px;border-top:1px solid #dce8e1}
.submission-versions{margin:24px 0}.submission-versions:empty{display:none}.submission-versions-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}.submission-versions-heading h3{margin:0}.submission-version{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;margin:10px 0;border:1px solid #d7e4df;border-radius:14px;background:#f6faf8}.submission-version-copy{min-width:0;flex:1}.submission-version-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.submission-version small{display:block;color:#647b75;line-height:1.6;margin-top:5px}.submission-version-files{overflow-wrap:anywhere;margin:9px 0 0;font-size:13px;line-height:1.7}.submission-version button{flex-shrink:0;min-height:42px}.submission-undo{border-color:#79aa98!important;color:#185f4b!important;background:white!important;font-weight:700}.submission-version.is-deleted{opacity:.65;background:#f4f5f5}.submission-removal-body{padding:22px;line-height:1.65}.submission-removal-body .actions{justify-content:flex-end;margin-top:24px}@media(max-width:640px){.submission-versions-heading,.submission-version{align-items:stretch;flex-direction:column}.submission-versions-heading{gap:4px}.submission-version{gap:14px;padding:16px}.submission-version button{width:100%}.submission-removal-body .actions{flex-wrap:wrap}.submission-removal-body .actions button{flex:1}}

.submission-removal-reason{display:block;margin-top:20px}.submission-removal-reason strong{display:block;font-size:14px}.submission-removal-reason strong span{font-weight:400;color:#62747c}.submission-removal-reason textarea{display:block;box-sizing:border-box;width:100%;margin:8px 0;padding:12px;border:1px solid #bbcfc6;border-radius:10px;background:#fff;color:#203d34;font:inherit;resize:vertical;min-height:110px}.submission-removal-reason textarea:focus{outline:2px solid #287c65;outline-offset:2px}.submission-removal-reason small{display:block;font-size:12px;line-height:1.5;color:#60776e}.deletion-notification .review-notification-feedback{display:block;overflow-wrap:anywhere;background:#fff1ef;color:#7c392e}.deletion-notification .review-notification-feedback strong{display:block;margin-bottom:5px}.deletion-notification .notification-status{background:#fbe1de;color:#98392e}.deletion-submitted-at{display:block;margin-top:12px;font-size:12px;color:#62747c}
.site-address-notice{display:flex;align-items:center;justify-content:space-between;gap:24px;box-sizing:border-box;max-width:1280px;margin:18px auto;padding:20px 24px;border:1px solid #b8d8c9;border-radius:16px;background:#eaf5ee;color:#194f3d;font:14px/1.5 system-ui}.site-address-notice>div{min-width:0}.site-address-notice strong{font-size:19px;font-weight:750}.site-address-notice p{margin:6px 0;color:#385f51}.site-address-notice>div>span{font-size:12px;overflow-wrap:anywhere}.site-address-notice>a{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex-shrink:0;min-height:44px;padding:8px 18px;border-radius:10px;background:#176652;color:white;text-decoration:none;font-weight:700;box-sizing:border-box}.site-address-notice>a:hover{background:#104e3e}.site-address-notice>a:focus-visible{outline:3px solid #176652;outline-offset:3px}@media(max-width:1320px){.site-address-notice{margin:16px}}@media(max-width:600px){.site-address-notice{align-items:stretch;flex-direction:column;gap:16px;padding:18px}.site-address-notice strong{font-size:18px}}
.submission-removal-body .actions{align-items:stretch}
.share-notes{display:inline-flex;align-items:center;gap:6px;font-weight:600;white-space:nowrap}
.share-notes input{width:auto;margin:0}
.folder-file-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d5e0dc;border-radius:18px;color:#1e343d;background:#fff;overflow:hidden;box-sizing:border-box;font:15px/1.5 system-ui,sans-serif}.folder-file-dialog[open]{display:flex;flex-direction:column}.folder-file-dialog::backdrop{background:#142b35a6}.folder-file-dialog>header{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 20px 0}.folder-file-dialog>header>div{min-width:0}.folder-file-dialog .eyebrow{display:block;margin:0}.folder-file-dialog h2{margin:4px 0 0;font-size:20px;line-height:1.25;overflow-wrap:anywhere}.folder-file-dialog header p{margin:4px 0 0;font-size:13px;line-height:1.5;color:#62747c}.folder-file-dialog button{min-height:42px;border:1px solid #c9d9d3;border-radius:9px;padding:9px 15px;background:#fff;color:#1e343d;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.folder-file-dialog>input[type=search]{flex:none;box-sizing:border-box;width:calc(100% - 40px);min-width:0;margin:14px 20px 0;padding:10px 12px;border:1px solid #c9d9d3;border-radius:9px;font:inherit;color:inherit;background:#fff}.folder-file-dialog .folder-file-status{margin:8px 20px 0;font-size:12px;color:#62747c}.folder-file-dialog .folder-file-status:empty{display:none}.folder-file-dialog ul{flex:1;min-height:0;overflow:auto;list-style:none;margin:6px 0 0;padding:0 20px}.folder-file-dialog li{border-bottom:1px solid #e0e8e4}.folder-file-dialog li:last-child{border-bottom:0}.folder-file-dialog li>label,.folder-file-dialog li>button{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0;padding:10px 0;border:0;border-radius:0;background:transparent;color:#172b35;text-align:left;font-size:14px;font-weight:600;cursor:pointer}.folder-file-dialog li>button:disabled,.folder-file-dialog li>label:has(input:disabled){opacity:.55;cursor:not-allowed}.folder-file-dialog li input[type=checkbox]{flex:none;width:20px;height:20px;margin:0;accent-color:#176657}.folder-file-dialog li span{flex:1;min-width:0}.folder-file-dialog li strong{display:block;overflow-wrap:anywhere}.folder-file-dialog li small{display:block;margin-top:2px;font-size:12px;font-weight:400;color:#647a82;overflow-wrap:anywhere}.folder-file-dialog footer{flex:none;display:flex;justify-content:flex-end;padding:12px 20px 16px;border-top:1px solid #dce5df}.folder-file-dialog [data-add]{background:#176657;border-color:#176657;color:#fff;font-weight:700}.folder-file-dialog [data-add]:disabled{opacity:.5;cursor:not-allowed}
.teacher-password{margin-top:24px;padding-top:20px;border-top:1px solid #dce5df}.teacher-password h3{margin:0 0 4px;font-size:17px}.teacher-password p{margin:0;font-size:13px;color:#62747c}.teacher-password form{max-width:420px}.teacher-password button{margin-top:16px}
.inbox-actions .teacher-profile-trigger,.inbox-actions .teacher-accounts-trigger{padding:10px 14px;min-height:42px;background:#fff;color:#244834;border:1px solid #cbd7d6;border-radius:8px;font-size:13px}@media(max-width:600px){.inbox-actions .teacher-profile-trigger,.inbox-actions .teacher-accounts-trigger{padding:9px 10px;font-size:12px}}
.program-console{overflow:hidden;border-radius:9px;background:#14242b}.compile-output .program-console pre{border-radius:0}.review-dialog .program-stdin{display:flex;align-items:center;gap:8px;margin:0;padding:8px 10px 10px 16px;border-top:1px solid #2b4049}.program-stdin>span{flex:none;color:#8fe3bf;font:600 14px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.program-stdin input{flex:1;min-width:0;height:38px;box-sizing:border-box;margin:0;padding:0 10px;border:1px solid #37535d;border-radius:6px;background:#0e1b20;color:#e1eeea;font:13px ui-monospace,SFMono-Regular,Consolas,monospace;caret-color:#8fe3bf}.program-stdin input:focus{outline:none;border-color:#8fe3bf}.program-stdin input:disabled{opacity:.55}.review-dialog .program-stdin button{flex:none;height:38px;padding:0 14px;border:0;border-radius:6px;background:#1f7a66;color:#fff;font:600 13px system-ui,sans-serif}.review-dialog .program-stdin button:disabled{opacity:.5;cursor:wait}.compile-output pre .program-stdin-echo{color:#8fe3bf}@media(max-width:600px){.review-dialog .program-stdin{padding:8px 8px 8px 12px}.program-stdin input{height:44px;font-size:16px}.review-dialog .program-stdin button{height:44px;padding:0 16px}}
.team-ask-label{white-space:normal}.team-ask-label strong{font-weight:800}
/* Ask buttons: the label takes the button's size; only the account name is bold. */
.team-member-remove>span.team-ask-label,.team-picker .teammate-result .team-ask-label strong{font-size:inherit;line-height:inherit}.team-member-actions button>span.team-ask-label{font-weight:500}.team-picker .teammate-result>span:last-child .team-ask-label{font-size:13px;font-weight:600}
.team-manager-footer>p:empty{display:none}
