.teacher-view[data-view="gameTasks"]:has(.tgg)>.module-head{display:none}
body:has(.teacher-view[data-view="gameTasks"].active .tgg) .teacher-topbar .search,body:has(.teacher-view[data-view="gameTasks"].active .tgg) .api-status{display:none}
.tgg-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tgg-summary article{display:flex;gap:13px;align-items:center;background:white;border:1px solid #e3e9f4;border-radius:12px;padding:17px;min-width:0}.tgg-summary svg{width:35px;height:35px;color:#5967e9}.tgg-summary article:nth-child(even) svg{color:#269c86}.tgg-summary article>div{min-width:0}.tgg-summary span{color:#748099;font-size:12px}.tgg-summary strong{display:block;font-size:26px;color:#182b48;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.tgg-summary small{font-size:12px;font-weight:400}.tgg-scope-note{color:#7a869c;font-size:11px;text-align:right;margin-top:-12px!important}
.tgg select{min-height:44px;min-width:0;color:#263754;border:1px solid #e3e9f4;border-radius:9px;background:white;font:inherit;padding:0 10px;text-overflow:ellipsis}.tgg-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.tgg-tools select{flex:1;max-width:270px;width:0;min-width:150px}.tgg-tools .tcr-search{max-width:none}.tgg-filters{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.tgg-filters .tcr-filters{flex-wrap:wrap}.tgg-filters>select{font-size:12px}.tgg-count{font-size:12px;color:#6c778e;margin-bottom:12px!important}
.tgg-card{border:1px solid #e1e8f2;border-radius:13px;background:white;min-width:0;padding:16px;position:relative}.tgg-card.tgg-draft{border-top:3px solid #ded9fc;background:linear-gradient(#fbfaff,#fff 100px)}.tgg-card header{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.tgg-card h2{font-size:17px;line-height:1.6;overflow-wrap:anywhere;min-width:0}.tgg-status{border-radius:20px;padding:2px 9px;background:#e4f7ef;color:#16816a;font-size:11px;flex-shrink:0}.tgg-status-draft,.tgg-status-archived,.tgg-status-unknown{background:#efedfa;color:#737694}.tgg-status-ready{background:#e9f0ff;color:#466fb2}.tgg-course{color:#7a849a;font-size:12px;margin-top:3px!important;overflow-wrap:anywhere}.tgg-scheme{display:flex;gap:11px;margin:13px 0;align-items:center;min-width:0}.tgg-scheme>svg{width:42px;height:42px;padding:8px;border-radius:10px;background:#f2f0ff;color:#5967e9}.tgg-scheme>div{min-width:0}.tgg-scheme strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.tgg-scheme p{color:#8390a7;font-size:11px;overflow-wrap:anywhere}.tgg-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f3f6fc;border-radius:9px;padding:9px 0;text-align:center}.tgg-metrics>span{font-size:11px;color:#7b869b;min-width:0}.tgg-metrics>span+span{border-left:1px solid #dce4f1}.tgg-metrics strong{display:block;color:#263754;font-size:20px;line-height:1.4;overflow-wrap:anywhere}.tgg-metrics small{font-size:12px}
.tgg-credit{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;background:#ebf8f3;border-radius:9px;padding:10px 12px;margin-top:10px}.tgg-credit>div{min-width:0}.tgg-credit>div:last-child{text-align:right}.tgg-credit span,.tgg-credit p{font-size:11px;color:#6f8f88}.tgg-credit strong{display:block;font-size:20px;color:#16816a;line-height:1.3;overflow-wrap:anywhere}.tgg-credit small{font-size:11px;font-weight:400}.tgg-credit p{overflow-wrap:anywhere;min-width:0}.tgg-credit.tgg-pending{background:#fff6e8}.tgg-credit.tgg-pending>div:last-child strong{color:#aa731c}.tgg-rule{margin-top:4px;color:#6e7c94;font-size:12px}.tgg-rule>summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;cursor:pointer}.tgg-rule>summary::-webkit-details-marker,.tgg-more>summary::-webkit-details-marker{display:none}.tgg-rule>summary>span:first-child{color:#253653;font-weight:600}.tgg-rule>summary>span:last-child{margin-left:auto}.tgg-rule-rows{display:grid;gap:7px;background:#f7f9fc;padding:10px;border-radius:9px;margin-bottom:9px}.tgg-rule-rows>span{display:flex;gap:10px;justify-content:space-between;overflow-wrap:anywhere}.tgg-hint{color:#8a94a7;font-size:11px;margin-top:7px!important}.tgg-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tgg-main>button{font-size:13px;padding:8px}.tgg-settle{margin:0 0 8px}.tgg-settle>button{width:100%;background:#af771f!important;border-color:#af771f!important}.tgg-minor{display:flex;gap:7px;align-items:center;margin-top:9px;flex-wrap:wrap}.tgg-minor>button,.tgg-more>summary{font-size:12px;min-height:44px}.tgg-minor>span{margin-left:auto;font-size:10px;color:#8893a8}.tgg-more{position:relative}.tgg-more>summary{border:1px solid #e3e9f4;border-radius:9px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:8px 12px;color:#53617d;list-style:none}.tgg-more>div{position:absolute;left:0;bottom:calc(100% + 6px);width:190px;z-index:20;display:grid;gap:4px;background:white;padding:6px;border:1px solid #e3e9f4;border-radius:10px;box-shadow:0 8px 24px #24355322}.tgg-more>div button{border:0;justify-content:flex-start;font-size:12px}.tgg-more [data-tgg-action="delete"]{color:#b34a64;border-top:1px solid #edf0f6;border-radius:0}.tgg-card:has(.tgg-more[open]){z-index:4}.tgg-footnote{color:#7b879f;font-size:11px;padding:10px;background:#edf2fa;border-radius:9px}.tgg select:focus-visible,.tgg summary:focus-visible{outline:3px solid #9fa9f7;outline-offset:3px}
@media(max-width:750px){
 body:has(.teacher-view[data-view="gameTasks"].active .tgg) .teacher-topbar{flex-wrap:nowrap;padding:10px 14px;min-height:62px;gap:10px}body:has(.teacher-view[data-view="gameTasks"].active .tgg) .teacher-topbar>div:not(.topbar-actions){flex:1;min-width:0}body:has(.teacher-view[data-view="gameTasks"].active .tgg) [data-page-title]{font-size:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}body:has(.teacher-view[data-view="gameTasks"].active .tgg) [data-page-subtitle],body:has(.teacher-view[data-view="gameTasks"].active .tgg) .topbar-actions .ghost-button{display:none}body:has(.teacher-view[data-view="gameTasks"].active .tgg) .topbar-actions{flex:0 0 auto;width:auto;margin-left:auto}body:has(.teacher-view[data-view="gameTasks"].active .tgg) .teacher-content{padding:18px 14px 28px}
 .tgg .tcr-heading h1{font-size:22px}.tgg .tcr-heading p{font-size:11px}.tgg .tcr-heading>button{font-size:11px;max-width:92px;padding:8px}.tgg .tcr-heading>button svg{display:none}.tgg-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tgg-summary article{padding:12px;gap:10px}.tgg-summary svg{width:28px;height:28px}.tgg-summary strong{font-size:24px}.tgg-summary span{font-size:11px}.tgg-summary small{font-size:11px}.tgg-scope-note{font-size:10px;margin-top:-7px!important}.tgg-tools{gap:8px}.tgg-tools select{font-size:16px}.tgg-tools [data-tgg-course]{flex-basis:calc(100% - 52px);max-width:none;min-width:0;order:0}.tgg-tools .tcr-refresh{order:1;margin:0}.tgg-tools .tcr-search{order:2;flex-basis:calc(60% - 8px);min-width:0}.tgg-tools [data-tgg-scheme]{order:3;min-width:0;max-width:40%}.tgg-filters .tcr-filters{gap:6px}.tgg-filters .tcr-filters button{padding:7px 9px;font-size:11px}.tgg-filters>select{font-size:12px;margin-left:auto}.tgg-card{padding:13px 12px}.tgg-card h2{font-size:16px}.tgg-course{font-size:11px}.tgg-scheme{gap:9px;margin:12px 0}.tgg-scheme>svg{width:37px;height:37px;padding:7px}.tgg-scheme strong{font-size:12px}.tgg-scheme p{font-size:10px}.tgg-credit{flex-wrap:wrap;padding:9px;gap:7px}.tgg-credit>div:first-child{order:0}.tgg-credit>div:last-child{order:1;margin-left:auto}.tgg-credit>p{order:2;flex-basis:100%;font-size:11px}.tgg-credit strong{font-size:20px}.tgg-credit span{font-size:11px}.tgg-rule{font-size:11px}.tgg-main button{font-size:12px}.tgg-minor>button,.tgg-more>summary{font-size:11px;padding:8px 10px}.tgg-footnote{font-size:10px}
}
@media(max-width:360px){.tgg-summary article{padding:10px;gap:7px}.tgg-summary svg{width:23px;height:23px}.tgg-summary strong{font-size:22px}.tgg .tcr-heading h1{font-size:20px}.tgg .tcr-heading p{font-size:10px}.tgg .tcr-heading>button{max-width:80px}.tgg-minor>span{flex-basis:100%;text-align:right}}
.tgg-filters>select{width:auto}
@media(max-width:750px){.tgg-tools .tcr-search{flex:1 1 0}.tgg-tools [data-tgg-scheme]{flex:0 0 120px;width:120px;max-width:40%}}
