.task-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.task-banner h2{font-size:27px;margin:8px 0}.task-banner p{max-width:660px;line-height:1.7}.task-private{border:1px solid #bad9ce;background:#eef7f2;padding:10px 16px;border-radius:40px;white-space:nowrap;font-size:13px;color:#28674e}.task-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.task-toolbar button,.task-file-label{min-height:44px}.task-muted{color:#52677a;font-size:14px;line-height:1.7}.task-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px}.task-filters label{display:grid;gap:7px;font-size:14px}.task-filters input,.task-filters select,.task-form input,.task-form textarea,.task-form select{font:inherit;font-size:16px;min-width:0;max-width:100%;width:100%;padding:12px;border:1px solid #ccd8e4;border-radius:9px;background:#fff;color:#1c3557}.task-form label{display:block;font-weight:600;font-size:14px;margin:16px 0 8px}.task-form textarea{resize:vertical;line-height:1.6}.task-form input[type=date]{width:200px}.task-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.task-set-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.task-set-card h3{margin:4px 0}.task-set-card p{overflow-wrap:anywhere;margin:4px 0;line-height:1.6}.task-set-card button{margin-top:auto}.task-empty{grid-column:1/-1}.task-set-heading{margin:20px 0}.task-set-heading h2{margin:12px 0;overflow-wrap:anywhere}.task-text{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.task-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,220px));gap:16px;margin:18px 0}.task-images figure{margin:0;min-width:0}.task-images figcaption{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.task-photo{display:block;width:100%;background:#f2f5f8;border:1px solid #d7e1eb;border-radius:10px;padding:8px;text-align:left;color:#27405c}.task-photo img{width:100%;height:190px;object-fit:contain}.task-photo span{display:block;font-size:12px;padding-top:6px}.task-file-label{display:flex!important;align-items:center;gap:8px;margin:0!important;cursor:pointer}.task-file-label input{width:1px;height:1px;padding:0;border:0;position:absolute;clip-path:inset(50%)}.task-file-label:focus-within{outline:2px solid #3370c2}.task-edit-layout{display:grid;grid-template-columns:minmax(200px,.65fr) minmax(0,1.6fr);gap:20px;margin-top:20px;align-items:start}.task-edit-list{display:flex;flex-direction:column;gap:7px;margin:16px 0}.task-edit-list button{text-align:left;overflow-wrap:anywhere}.task-edit-list [aria-current=true],.task-pick[aria-current=true]{background:#eaf1ff;border-color:#6387bb}.task-practice-layout{display:grid;grid-template-columns:minmax(200px,.65fr) minmax(0,1.6fr);gap:20px;align-items:start}.task-picker{display:flex;flex-direction:column;gap:9px}.task-pick{display:flex;flex-direction:column;gap:6px;border:1px solid #d2dfeb;border-radius:10px;padding:14px;background:#fff;text-align:left;color:#223d5b;min-height:65px;overflow-wrap:anywhere}.task-pick small{color:#52677a;font-size:12px}.task-own-work{margin-top:28px;padding-top:12px;border-top:1px solid #d2dfeb}.task-own-work textarea{min-height:120px}.task-own-work button{margin-top:16px}#tasks-message{min-height:24px;font-size:14px;line-height:1.6}#tasks-view .card{min-width:0}#task-image-dialog{border:0;border-radius:16px;padding:18px;width:min(1000px,95vw);max-height:94vh;overflow:auto}#task-image-dialog::backdrop{background:#14253ad9}#task-image-dialog>button{position:sticky;top:0;display:block;margin-bottom:12px;background:white}#task-image-dialog>img{display:block;width:100%;height:auto}#tasks-view summary{cursor:pointer;min-height:44px;padding-top:12px}
#tasks-view .card{padding:24px}
.task-code{font:15px/1.7 ui-monospace,SFMono-Regular,monospace;white-space:pre;overflow-x:auto;max-width:100%;padding:16px;background:#f1f5fa;border:1px solid #d6e1ee;border-radius:10px;text-align:left}
.task-pick-item{min-width:0;border:1px solid #d2dfeb;border-radius:10px;background:#fff;overflow:hidden}.task-pick-item .task-pick{width:100%;border:0;border-radius:0;border-bottom:1px solid #e0e7ee}.task-pick-item:has([aria-current=true]){border-color:#6387bb}.task-categories{margin:14px 0 20px}.task-categories>span{display:block;color:#52677a;font-size:12px;margin-bottom:6px}.task-categories>div{display:flex;gap:6px;flex-wrap:wrap}.task-category-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #bcd0eb;border-radius:9px;background:#edf3ff;color:#254f88;font:inherit;font-size:14px;line-height:1.4;text-align:left;overflow-wrap:anywhere;cursor:pointer}.task-category-link:hover{background:#dfeaff;border-color:#6387bb}.task-category-link:focus-visible{outline:3px solid #245cdb;outline-offset:2px}.task-categories-compact{margin:0;padding:10px 12px}.task-categories-compact .task-category-link{font-size:12px;padding:7px 9px}.task-category-unset{font-size:12px;color:#52677a;margin:12px}.task-study-top{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#fff;padding:14px 24px;border-bottom:1px solid #d9e3ef;z-index:1}.task-study-top>span{font-size:11px;letter-spacing:1px;font-weight:700;color:#52677a}.task-study-top button{min-height:44px}.task-study-body{padding:28px}.task-study-body h2{font-size:30px;line-height:1.2;margin:12px 0 18px}.task-study-body h3{font-size:21px;margin:24px 0 16px}.task-study-body p,.task-study-body li{line-height:1.7}.task-study-intro{font-size:17px}.task-study-rules{display:grid;gap:12px}.task-study-rules article{border:1px solid #d6e2ef;border-radius:12px;padding:18px;background:#f6f9fe;min-width:0}.task-study-rules h4{margin:0 0 8px;font-size:16px}.task-study-rules p{margin:8px 0}.task-study-method li{padding:4px 0 8px 6px}.task-study-example{margin:26px 0;border-top:1px solid #d9e3ef;padding-top:24px}.task-study-example details>summary{padding:12px 16px!important;border:1px solid #bcd0eb;border-radius:9px;background:#edf3ff;color:#254f88;line-height:1.5}.task-study-example details[open]>summary{margin-bottom:18px}.task-study-body>.primary{min-height:44px}#task-category-dialog{width:min(820px,calc(100vw - 24px));max-height:90vh;max-height:90dvh;padding:0;border:1px solid #c4d4e6;border-radius:16px;overflow:auto;overscroll-behavior:contain;color:#22354e;background:#fff}#task-category-dialog::backdrop{background:#14253abd}#task-category-dialog .equation-output{max-width:100%;overflow-x:auto}#task-category-dialog .method-output{min-height:0}#task-category-dialog .method-diagram{max-width:100%}
@media(max-width:1050px){.task-practice-layout,.task-edit-layout{grid-template-columns:1fr}.task-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.task-edit-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.task-banner{display:block}.task-private{display:inline-block}.task-library,.task-filters{grid-template-columns:1fr}.task-toolbar button{flex:1 1 160px}.task-picker,.task-edit-list{grid-template-columns:repeat(2,minmax(0,1fr))}.task-practice-layout,.task-edit-layout{gap:14px}.task-images{grid-template-columns:repeat(2,minmax(0,1fr))}.task-photo img{height:150px}#tasks-view .card{padding:18px}.task-form textarea{min-height:110px}.task-banner h2{font-size:24px}}
@media(max-width:600px){.task-study-top{padding:10px 14px}.task-study-top>span{display:none}.task-study-top button{width:100%}.task-study-body{padding:20px 16px}.task-study-body h2{font-size:25px}.task-study-rules article{padding:14px}.task-picker{grid-template-columns:1fr}.task-pick-item .task-pick{flex-direction:row;justify-content:space-between;align-items:center;min-height:52px}.task-categories-compact{padding:10px 12px}.task-categories-compact .task-category-link{font-size:14px}#task-category-dialog{border-radius:12px;max-height:94dvh}}
