.teacher-view[data-view="taskPublications"]:has(.tpp)>.module-head{display:none}
body:has(.teacher-view[data-view="taskPublications"].active .tpp) .teacher-topbar .search,body:has(.teacher-view[data-view="taskPublications"].active .tpp) .api-status{display:none}
.tpp{gap:12px}.tpp .tcr-heading h1{font-size:27px}.tpp .tcr-heading p{font-size:12px}.tpp button,.tpp a,.tpp select,.tpp input{font:inherit}.tpp select,.tpp input:not([type="checkbox"]){min-height:44px;min-width:0;border:1px solid #e3e9f4;border-radius:8px;background:white;color:#253650;padding:0 10px;max-width:100%}.tpp select{width:auto}.tpp input{font-size:14px}.tpp svg{width:18px;height:18px}
.tpp-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tpp-searchbar{display:flex;align-items:center;gap:8px;flex:1;min-width:200px;order:1}.tpp-search{display:flex;align-items:center;gap:7px;flex:1;min-width:0;border:1px solid #e3e9f4;background:white;border-radius:8px;padding-left:10px;color:#7b88a1}.tpp .tpp-search input{border:0;background:transparent;width:100%;min-width:0;padding-left:0}.tpp-searchbar>button{flex-shrink:0}.tpp-quick{display:flex;gap:8px;min-width:0;order:0;flex:1 1 540px}.tpp-quick label{min-width:0;flex:1}.tpp-quick select{width:100%;max-width:230px}.tpp-quick label>span{display:none}.tpp-quick>button{font-size:12px}.tpp-filter-button{font-size:12px!important}.tpp-tabs{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.tpp-tabs button{font-size:12px;padding:8px 13px;white-space:nowrap}.tpp-tabs button.active{background:#505bd7;color:white;border-color:#505bd7}.tpp-tabs select{font-size:12px;max-width:115px}.tpp-sortbar{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7c88a0;font-size:11px}.tpp-sortbar>div{display:flex;gap:7px}.tpp-sortbar select{font-size:12px}.tpp-scope{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:8px 12px;background:#eaf0ff;border-radius:9px;font-size:12px;overflow-wrap:anywhere}
.tpp-table{border:1px solid #e3e9f4;border-radius:12px;overflow:hidden;background:white}.tpp table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.tpp th{background:#eef3fb;color:#455875;text-align:left;font-size:12px;font-weight:600;padding:12px 10px}.tpp td{padding:9px 10px;border-top:1px solid #e9edf6;vertical-align:middle;color:#263956;overflow-wrap:anywhere;line-height:1.55}.tpp tbody tr:hover{background:#fafbff}.tpp-col-title{width:25%}.tpp-col-class{width:12%}.tpp-col-time{width:18%}.tpp-col-status{width:10%}.tpp-col-progress{width:18%}.tpp-col-actions{width:17%}.tpp-title{display:block;color:#182c4d;line-height:1.55;overflow-wrap:anywhere}.tpp-title strong{font-size:13px;font-weight:650}.tpp-title small{display:inline-block;font-size:10px;font-weight:400;color:#6266c7;background:#efeeff;border-radius:4px;padding:1px 5px;margin-left:5px;vertical-align:middle}.tpp-course,.tpp-publish{display:block;font-size:11px;color:#8590a5;line-height:1.5;margin-top:3px}.tpp-badge{display:inline-block;border-radius:6px;background:#e8f7ef;color:#18896e;font-size:11px;white-space:nowrap;padding:3px 7px}.tpp-expired{background:#fcecef;color:#b54f6b}.tpp-scheduled{background:#edf0ff;color:#6978c4}.tpp-closed,.tpp-withdrawn,.tpp-draft,.tpp-unknown{background:#f1f3f8;color:#7e89a0}.tpp-pending{display:inline-block;font-size:10px;color:#a6751e;background:#fff4dd;padding:1px 5px;border-radius:5px;margin-left:5px;white-space:nowrap}.tpp-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.tpp-actions button,.tpp-actions a{min-height:44px;border:1px solid #e3e9f4;border-radius:7px;padding:7px;color:#505bd7;font-size:11px;text-decoration:none;background:white;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.tpp-actions>[data-tpp-more]{min-width:44px}.tpp-actions>button:first-child,.tpp-actions>a:first-child{flex:1}.tpp-actions>button:last-child{padding:6px}
.tpp-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;color:#7b879e;font-size:11px}.tpp-pagination>div{display:flex;gap:7px;align-items:center}.tpp-pagination button{font-size:12px;min-width:44px}.tpp-pagination [data-tpp-jump]{color:#263b5f;min-width:82px}.tpp-hint{font-size:10px;color:#8793a9;margin-top:8px!important;text-align:center}.tpp-dialog{width:min(520px,calc(100vw - 32px));max-height:85vh;overflow-y:auto;border:1px solid #e1e8f3;border-radius:15px;padding:18px;background:white;color:#233655;box-shadow:0 14px 60px #192f5a33;margin:auto}.tpp-dialog::backdrop{background:#10244055}.tpp-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.tpp-dialog h2{font-size:18px}.tpp-dialog header>button{font-size:23px;min-width:44px}.tpp-dialog footer{display:flex;gap:9px;justify-content:flex-end;margin-top:16px}.tpp-dialog label{display:grid;gap:5px;font-size:12px;color:#657692;min-width:0}.tpp-dialog input:not([type="checkbox"]),.tpp-dialog select{width:100%;font-size:16px}.tpp-dialog .tpp-check{display:flex;align-items:center;gap:9px;min-height:44px}.tpp-check input{width:20px;height:20px}.tpp-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tpp-filter-grid>label:nth-child(3),.tpp-check{grid-column:1/-1}.tpp-detail{font-size:13px;line-height:1.9;overflow-wrap:anywhere;padding:12px;background:#f5f8fd;border-radius:9px}.tpp-detail>p{margin-top:5px}.tpp-detail>small{font-size:11px;color:#8691a7}.tpp-menu-actions{display:grid;gap:7px;margin-top:12px}.tpp-menu-actions button,.tpp-menu-actions a{min-height:44px;text-align:left;justify-content:flex-start;padding:10px 12px;font-size:13px}.tpp-menu-actions a{border:1px solid #e3e9f4;border-radius:9px;color:#505bd7;text-decoration:none}.tpp-menu-actions .tpp-danger{color:#b04e66;margin-top:9px;border-top:1px solid #eee0e5}.tpp [data-tpp-filter-error]{color:#b54f6b;font-size:12px}.tpp button:focus-visible,.tpp a:focus-visible,.tpp select:focus-visible,.tpp input:focus-visible{outline:3px solid #a4adf3;outline-offset:2px}
@media(max-width:1100px) and (min-width:751px){.tpp td,.tpp th{padding:8px 6px}.tpp-col-title{width:23%}.tpp-col-time{width:20%}.tpp-col-actions{width:18%}.tpp-col-progress{width:17%}.tpp-actions{gap:3px}.tpp-actions>[data-tpp-more]{min-width:44px}.tpp-actions>button:first-child,.tpp-actions>a:first-child{flex-basis:100%}.tpp-actions>button:last-child{flex:1}}
@media(max-width:750px){
 body:has(.teacher-view[data-view="taskPublications"].active .tpp) .teacher-topbar{flex-wrap:nowrap;padding:10px 14px;min-height:62px;gap:10px}body:has(.teacher-view[data-view="taskPublications"].active .tpp) .teacher-topbar>div:not(.topbar-actions){flex:1;min-width:0}body:has(.teacher-view[data-view="taskPublications"].active .tpp) [data-page-title]{font-size:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}body:has(.teacher-view[data-view="taskPublications"].active .tpp) [data-page-subtitle],body:has(.teacher-view[data-view="taskPublications"].active .tpp) .topbar-actions .ghost-button{display:none}body:has(.teacher-view[data-view="taskPublications"].active .tpp) .topbar-actions{flex:0 0 auto;width:auto;margin-left:auto}body:has(.teacher-view[data-view="taskPublications"].active .tpp) .teacher-content{padding:16px 12px 24px}
 .tpp{gap:9px}.tpp .tcr-heading h1{font-size:22px}.tpp .tcr-heading p{display:none}.tpp-controls{display:block}.tpp-searchbar{min-width:0}.tpp .tpp-search input{font-size:16px}.tpp-searchbar>[data-tpp-refresh],.tpp-quick{display:none}.tpp-filter-button{min-width:76px;padding:8px!important}.tpp-tabs{gap:5px;flex-wrap:nowrap;justify-content:space-between}.tpp-tabs>button{padding:6px 8px;font-size:11px;min-width:0}.tpp-tabs>select{font-size:11px;padding:0 4px;max-width:65px;flex:1;min-width:44px}.tpp-sortbar{font-size:11px}.tpp-sortbar select{font-size:11px;min-height:44px;border:0;background:transparent;padding:0 3px}.tpp-list{background:white;border:1px solid #e1e8f3;border-radius:11px;overflow:hidden}.tpp-record{position:relative;height:112px;min-width:0}.tpp-record+.tpp-record{border-top:1px solid #e7edf5}.tpp .tpp-main{width:100%;height:112px;border:0;border-radius:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;text-align:left;padding:9px 58px 9px 11px;color:#243756;background:white;line-height:1.4}.tpp-main .tpp-title{padding-right:34px;max-height:39px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.tpp-main .tpp-title strong{font-size:14px;line-height:1.4}.tpp-title small{font-size:9px;padding:1px 4px;margin-left:4px}.tpp-main .tpp-course{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0}.tpp-bottom{display:flex;justify-content:space-between;gap:5px;font-size:10px;min-width:0;color:#76859e}.tpp-bottom>strong{font-weight:500;font-size:11px;color:#263b5d;white-space:nowrap}.tpp-record-status{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;align-items:flex-end;gap:3px;pointer-events:none}.tpp-record-status .tpp-badge{font-size:10px;padding:2px 6px}.tpp-record-status .tpp-pending{font-size:9px;margin:0}.tpp .tpp-more{position:absolute;right:8px;bottom:8px;min-width:44px;width:44px;height:44px;min-height:44px;padding:6px;border-radius:7px;color:#3e5276;font-size:19px}.tpp-pagination{margin-top:10px;justify-content:center;flex-wrap:wrap;gap:5px}.tpp-pagination>span{flex-basis:100%;text-align:center;font-size:10px}.tpp-pagination>div{width:100%;justify-content:space-between;gap:7px}.tpp-pagination button{font-size:12px;padding:8px 13px;min-height:44px}.tpp-hint{font-size:10px;margin-top:8px!important}.tpp-scope{font-size:11px;padding:7px 9px}.tpp-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:85dvh;border-radius:16px 16px 0 0;padding:16px 16px max(16px,env(safe-area-inset-bottom));margin:0}.tpp-dialog header{position:sticky;top:-16px;background:white;z-index:2;padding-top:3px;padding-bottom:4px}.tpp-filter-grid{gap:10px}.tpp-dialog>header h2{font-size:17px}
}
@media(max-width:360px){.tpp-tabs{gap:3px}.tpp-tabs>button{font-size:10px;padding:6px}.tpp-tabs>select{font-size:10px;max-width:56px}.tpp .tpp-main{padding-left:9px;padding-right:54px}.tpp-main .tpp-title{padding-right:22px}.tpp-bottom{font-size:9px;gap:3px}.tpp-bottom>strong{font-size:10px}.tpp-main .tpp-course{font-size:10px}.tpp .tpp-more{right:5px;width:44px}.tpp-filter-button{min-width:70px}}
