.learning-hub{grid-column:1/-1;margin-block:20px;min-width:0;padding:24px}.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.hub-heading h2,.hub-heading h3{margin:0}.hub-heading p,.hub-note{font-size:13px;color:#64748b;line-height:1.7}.hub-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.hub-counts button{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid #dce6e7;border-radius:12px;background:#f7fbfa;color:#203438;text-align:left}.hub-counts strong{font-size:28px;color:#00695c}.hub-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #e2e8f0}.hub-item p{margin:6px 0}.hub-preserve{white-space:pre-wrap;overflow-wrap:anywhere}.hub-homework{padding:20px;margin-top:16px;border:1px solid #dde5e8;border-radius:14px}.hub-actions{display:flex;gap:10px;flex-wrap:wrap;margin-block:12px}.learning-hub button,.hub-dialog button{cursor:pointer;border:1px solid #cfdcdc;border-radius:8px;padding:9px 14px;background:#fff;color:#22534c}.learning-hub button.primary-action,.hub-dialog button.primary-action{background:#087e70;color:white}.learning-hub button:disabled,.hub-dialog button:disabled{opacity:.5;cursor:wait}.hub-dialog{width:min(700px,calc(100vw - 28px));max-height:88vh;border:1px solid #dce4e7;border-radius:16px;padding:25px;box-shadow:0 20px 80px #163a3a30}.hub-dialog::backdrop{background:#122b3f70}.hub-dialog label,.learning-hub label{display:flex;flex-direction:column;gap:7px;font-size:14px;margin-top:15px}.hub-dialog input,.hub-dialog textarea,.hub-dialog select,.learning-hub input,.learning-hub select{max-width:100%;width:100%;border:1px solid #bdcdd0;border-radius:7px;padding:10px;background:white;color:#1e293b;font:inherit;box-sizing:border-box}.hub-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hub-dialog [data-error]{color:#a02828}.hub-answer{padding:15px;background:#f0f7f5}.hub-roster>div{display:flex;align-items:center;gap:18px;padding:10px;border-bottom:1px solid #e2e8f0}.hub-roster>div span:first-child{flex:1}.learning-hub .hub-check{flex-direction:row;align-items:center}.learning-hub .hub-check input{width:auto}.hub-empty{padding:22px;text-align:center;color:#64748b;background:#f6f9fa;border-radius:10px}.hub-deadlines summary,.hub-homework summary{cursor:pointer;padding:12px 0}.learning-hub [data-schedule]{margin-top:28px}.learning-hub [data-month]{width:auto}.hub-homework p{overflow-wrap:anywhere}.hub-dialog button:focus-visible,.learning-hub button:focus-visible{outline:3px solid #1a8fbd;outline-offset:3px}@media(max-width:600px){.learning-hub{padding:16px;margin:12px 0}.hub-counts{grid-template-columns:repeat(2,1fr)}.hub-form-grid{grid-template-columns:1fr}.hub-homework{padding:14px}.hub-item{align-items:flex-start;flex-direction:column}.hub-dialog{padding:18px}.hub-roster>div{flex-wrap:wrap;gap:9px}}

.learning-statistics-off #metrics,.learning-statistics-off #learning-stats,.learning-statistics-off #source-mobile-profile-grid,.learning-statistics-off .hub-study-summary{display:none!important}.hub-study-summary[hidden]{display:none!important}.hub-ranking{margin-top:24px}.hub-ranking-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e8f0;padding:12px 0;font-size:14px}.hub-ranking-row span:last-child{color:#64748b}@media(max-width:600px){.hub-ranking-row{flex-wrap:wrap}}

.settings-audit{margin-top:28px;border-top:1px solid #dce5e7;padding-top:20px}.settings-audit .hub-counts>div{border:1px solid #dce6e7;padding:15px;border-radius:10px;display:flex;flex-direction:column;gap:10px}.settings-audit .hub-counts strong{font-size:20px}.settings-audit .hub-counts span{font-size:13px;color:#64748b}.settings-audit input{padding:8px;max-width:100%;border:1px solid #cbd5e1;border-radius:6px}.settings-audit-row{padding:14px 0;border-bottom:1px solid #e2e8f0}.settings-audit-row p,.settings-audit-row small{color:#64748b;font-size:13px;overflow-wrap:anywhere}.settings-audit-row summary{cursor:pointer;font-size:12px;color:#64748b}

.settings-audit button{cursor:pointer;border:1px solid #b9cbd8;border-radius:8px;padding:8px 14px;background:white;color:#245281;font:inherit}.settings-audit button:disabled{cursor:default;opacity:.45}

/* Full-page homework and reminder editors retain the existing form fields. */
.hub-editor-page{width:100%;max-width:none;max-height:none;box-shadow:none;margin:0;background:#fff;color:#25364b;box-sizing:border-box;}
.hub-editor-page .hub-check{flex-direction:row;align-items:center;gap:10px;}
.hub-editor-page .hub-check input{width:auto;flex:0 0 auto;}
.hub-editor-page .hub-actions{justify-content:flex-end;align-items:center;margin-top:28px;padding-top:20px;border-top:1px solid #e4e9ef;}
.hub-editor-page [data-error]:empty{display:none;}
@media(max-width:600px){.hub-editor-page{padding:20px 16px;}.hub-editor-page .hub-actions{justify-content:flex-start;}.hub-editor-page .hub-form-grid{grid-template-columns:minmax(0,1fr);}}

.hub-editor-page .hub-actions button{min-height:42px;margin:0;}
