.gt-panel{position:fixed;inset:auto 88px 84px auto;margin:0;width:min(440px,calc(100vw - 32px));height:min(690px,calc(100dvh - 150px));max-height:calc(100dvh - 150px);max-width:none;box-sizing:border-box;padding:0;border:1px solid #e2dff0;border-radius:18px;background:#fbfaff;color:#37334b;box-shadow:0 18px 64px #36305c25;z-index:150;overflow:hidden}
.gt-panel[open]{display:flex;flex-direction:column}.gt-panel:not([open]){display:none}.gt-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e9e6f2;background:#fff}.gt-head small{font-size:10px;color:#9a95ae;letter-spacing:2px}.gt-head h2{margin:4px 0 0;font-size:20px}.gt-icon-button{width:30px;height:30px;border:0;background:#f4f2fb;border-radius:8px;color:#827a98;font-size:22px;cursor:pointer}.gt-body{padding:16px 20px;overflow:auto;flex:1;min-height:0;scrollbar-width:thin}.gt-body h3{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.gt-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.gt-row>h3{flex:1}.gt-small{font-size:11px;line-height:1.65;color:#8b849b;margin:8px 0}.gt-description{font-size:12px;line-height:1.65;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.gt-groups{border-bottom:1px solid #e8e4f0;padding-bottom:10px}.gt-group-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.gt-group-chips>span{border-radius:6px;background:#edeafa;padding:6px 9px;color:#6c638d;font-size:12px}.gt-group-chips small{margin-left:8px;color:#9a91ae}.gt-toolbar{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.gt-tabs{display:flex;gap:4px;background:#f0edf8;padding:4px;border-radius:9px;margin:12px 0}.gt-tabs button{flex:1;border:0;padding:9px 4px;background:none;border-radius:6px;font:inherit;font-size:12px;cursor:pointer;color:#8a829a}.gt-tabs button[aria-selected=true]{color:#6658ca;background:white;box-shadow:0 1px 3px #51496b12}.gt-tabs small{margin-left:6px}.gt-list{display:grid;gap:10px}.gt-task{padding:14px;background:white;border:1px solid #e8e4f0;border-radius:11px}.gt-state{font-size:10px;color:#8b81a7;white-space:nowrap}.gt-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:12px}.gt-button,.gt-link{font:inherit;font-size:12px;cursor:pointer;color:#6b5ac7;border-radius:7px}.gt-button{border:1px solid #dfd9ef;background:#fff;padding:8px 12px}.gt-primary{background:#6b60d5;color:white;border-color:#6b60d5}.gt-link{border:0;padding:4px 0;background:none}.gt-link:hover{text-decoration:underline}.gt-panel button:disabled{opacity:.45;cursor:not-allowed}.gt-panel[aria-busy=true] .gt-body button{pointer-events:none;opacity:.55}.gt-progress-label{display:flex;justify-content:space-between;font-size:11px;margin-top:14px;color:#7a7094}.gt-body progress{appearance:none;width:100%;height:5px;border:0;border-radius:4px;overflow:hidden;background:#efecf7;margin:7px 0 0}.gt-body progress::-webkit-progress-bar{background:#efecf7}.gt-body progress::-webkit-progress-value{background:#8e80da;border-radius:4px}.gt-body progress::-moz-progress-bar{background:#8e80da}.gt-empty{padding:24px 6px;color:#9a92a9;text-align:center;font-size:13px}.gt-empty p{font-size:12px;line-height:1.7}.gt-status{padding:10px 20px;border-top:1px solid #e9e5f1;color:#81768f;font-size:11px;line-height:1.5;background:white;min-height:18px}.gt-notice{font-size:12px;color:#9a733f;background:#fff6e8;padding:10px;border-radius:7px}.gt-back{margin-bottom:12px}.gt-analysis{border-top:1px solid #e9e4f3;margin-top:18px;padding:16px 0}.gt-analysis .ct-analysis{margin:10px 0}.gt-analysis .ct-analysis summary{font-size:12px}.gt-analysis .ct-analysis-metrics{gap:12px}.gt-analysis .ct-analysis-metrics strong{font-size:17px}.gt-analysis .ct-analysis h4{font-size:12px}.gt-analysis .ct-analysis ul,.gt-analysis .ct-analysis p,.gt-analysis blockquote{font-size:12px;line-height:1.65}.gt-working{color:#7965d4;font-size:12px}.gt-citations{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.gt-capability{color:#aaa0b7;font-size:11px;line-height:1.6;margin-top:12px}.gt-results{display:grid;gap:10px}.gt-target,.gt-student{background:white;border:1px solid #e8e4f0;border-radius:10px;padding:12px;font-size:12px}.gt-target summary{display:flex;justify-content:space-between;cursor:pointer;gap:8px}.gt-target summary span{color:#91869f;font-size:10px}.gt-target-body{padding-top:8px}.gt-target pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;line-height:1.7;background:#f8f6fd;padding:10px;border-radius:6px}.gt-members>div{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:3px 0;color:#8e829b}.gt-feedback{display:grid;gap:6px;color:#8d829b;font-size:11px;margin-top:12px}.gt-feedback textarea{border:1px solid #e3dced;border-radius:6px;padding:8px;font:inherit;font-size:12px;resize:vertical}.gt-student>.gt-link{margin-right:16px}.gt-popover{position:fixed;inset:auto 88px 96px auto;margin:0;border:1px solid #e4def1;border-radius:14px;padding:18px;width:280px;max-width:calc(100vw - 64px);background:#fff;box-shadow:0 12px 40px #40345920;color:#4d455f;z-index:160}.gt-popover h3{margin:0;font-size:15px}.gt-popover p{font-size:11px;line-height:1.6;color:#9990a6}.gt-mode-option{display:flex;align-items:center;width:100%;text-align:left;border:0;background:#f7f5fc;padding:12px;margin-top:8px;border-radius:8px;font:inherit;font-size:13px;color:#73658a;cursor:pointer}.gt-mode-option[aria-checked=true]{color:#6653c4;background:#eeebfc}.gt-mode-option[aria-checked=true]::before{content:'●';margin-right:8px}.gt-mode-option[aria-checked=false]::before{content:'○';margin-right:8px}@media(max-width:600px){.gt-panel{right:12px;bottom:84px;width:calc(100vw - 24px)}.gt-popover{right:20px;bottom:90px}.gt-body{padding:14px 16px}}

.gt-notice,.gt-small{overflow-wrap:anywhere}.gt-mode-option:disabled{opacity:.5;cursor:not-allowed}

.gt-frame-guide{padding:12px 14px;margin:16px 0;background:#f3effb;border-radius:10px;color:#62488e;line-height:1.7}

.gt-panel.gt-history{inset:0;margin:auto;width:min(1040px,calc(100vw - 40px));height:min(820px,calc(100dvh - 48px));max-height:calc(100dvh - 48px)}
.gt-history::backdrop{background:#24203666}.gt-history .gt-head{padding:20px 26px}.gt-history .gt-body{padding:22px 26px}.gt-history .gt-list,.gt-history .gt-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.gt-history .gt-list>.gt-notice,.gt-history .gt-list>.gt-empty{grid-column:1/-1}.gt-history .gt-task,.gt-history .gt-target{margin:0}.gt-history .gt-target pre{font-size:14px;min-height:80px}.gt-history .gt-description{font-size:14px}.gt-history .gt-small{font-size:12px}
@media(max-width:700px){.gt-panel.gt-history{width:calc(100vw - 24px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}.gt-history .gt-list,.gt-history .gt-results{grid-template-columns:1fr}.gt-history .gt-body{padding:16px}}

/* A single task list, shared by every live classroom entry. */
.gt-panel:not(.gt-history){inset:0;margin:auto;width:min(840px,calc(100vw - 40px));height:min(720px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);background:#f8f8fc}
.gt-panel::backdrop{background:#24203666}.gt-panel .gt-head{padding:20px 24px}.gt-panel .gt-head h2{margin:0;font-size:21px}.gt-panel .gt-toolbar{display:flex;justify-content:flex-end;margin:0 0 16px}.gt-panel .gt-toolbar .gt-primary{display:inline-flex;align-items:center;gap:7px;padding:10px 15px;font-size:14px}.gt-panel .gt-toolbar svg{width:18px;height:18px}.gt-panel .gt-body{padding:20px 24px}.gt-panel:not(.gt-history) .gt-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.gt-panel .gt-task{margin:0;padding:17px;border-radius:12px;min-width:0}.gt-panel .gt-task h3{overflow-wrap:anywhere;font-size:15px}.gt-panel .gt-submission-count{font-size:12px;color:#81768f;margin:10px 0 0}.gt-panel .gt-status:empty{display:none}.gt-panel .gt-empty{grid-column:1/-1;padding:70px 12px;font-size:14px}.gt-panel .gt-card-actions{margin-top:14px}.gt-panel .gt-small{font-size:12px}.gt-panel .gt-state{font-size:11px}@media(max-width:600px){.gt-panel:not(.gt-history){width:calc(100vw - 24px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}.gt-panel:not(.gt-history) .gt-list{grid-template-columns:1fr}.gt-panel .gt-body{padding:16px}.gt-panel .gt-head{padding:18px}}

/* Historical tasks use compact rows; content determines the dialog height. */
.gt-panel.gt-history{inset:50% 0 auto;margin:0 auto;transform:translateY(-50%);width:min(900px,calc(100vw - 40px));height:auto;min-height:240px;max-height:calc(100dvh - 48px);background:#f8f8fc}
.gt-panel.gt-history .gt-head{padding:20px 24px;flex-shrink:0}
.gt-panel.gt-history .gt-body{padding:18px 24px 24px;flex:0 1 auto}
.gt-panel.gt-history .gt-history-toolbar{justify-content:space-between;gap:16px;margin:0 0 14px}
.gt-history-count{font-size:13px;color:#91899f}
.gt-panel.gt-history .gt-history-refresh{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;background:#fff;color:#75678c;font-size:12px}
.gt-history-refresh svg{width:15px;height:15px}
.gt-panel.gt-history .gt-list{grid-template-columns:minmax(0,1fr);gap:10px}
.gt-panel.gt-history .gt-history-task{display:grid;grid-template-columns:42px minmax(0,1fr) 110px auto;align-items:center;gap:16px;padding:16px 18px;border-radius:12px;min-height:84px;box-sizing:border-box}
.gt-history-kind{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#efecfb;color:#8070cf}
.gt-history-kind svg{width:22px;height:22px}
.gt-history-copy{min-width:0}
.gt-panel.gt-history .gt-history-copy h3{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gt-history-copy p{display:flex;gap:8px;flex-wrap:wrap;margin:5px 0 0;font-size:12px;color:#938b9f;line-height:1.5}
.gt-history-copy p>span{color:#c3bdcc}
.gt-history-submitted{display:flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums}
.gt-history-submitted strong{font-size:16px;color:#6a627a;font-weight:600}
.gt-history-submitted strong span{font-size:13px;color:#a49aaf;font-weight:400}
.gt-history-submitted small{font-size:11px;color:#9b92a6}
.gt-history-submitted.is-complete strong{color:#25876c}
.gt-panel.gt-history .gt-history-view{display:inline-flex;align-items:center;gap:6px;justify-content:center;white-space:nowrap;padding:9px 12px;background:#f5f2ff;color:#7862be;border-color:#e9e1f8;font-size:12px}
.gt-history-view svg{width:14px;height:14px}
.gt-panel.gt-history .gt-history-view:hover{background:#ece6fb;border-color:#ccbfeb}
.gt-panel.gt-history .gt-status{flex-shrink:0}
.gt-panel.gt-history.gt-detail{height:min(720px,calc(100dvh - 48px))}
.gt-panel.gt-history.gt-detail .gt-body{flex:1}
.gt-panel.gt-history .gt-results{gap:12px}
@media(max-width:600px){.gt-panel.gt-history{width:calc(100vw - 24px);min-height:220px;max-height:calc(100dvh - 32px)}.gt-panel.gt-history .gt-head{padding:18px}.gt-panel.gt-history .gt-body{padding:16px}.gt-panel.gt-history .gt-history-task{grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:14px;min-height:100px}.gt-history-kind{width:34px;height:34px;grid-row:1/3;align-self:start}.gt-history-kind svg{width:19px;height:19px}.gt-panel.gt-history .gt-history-copy h3{font-size:14px}.gt-history-copy{grid-column:2/4}.gt-history-submitted{grid-column:2;flex-direction:row;align-items:baseline;gap:6px}.gt-history-submitted strong{font-size:14px}.gt-panel.gt-history .gt-history-view{grid-column:3;padding:7px 9px;font-size:12px}.gt-history-copy p{font-size:11px}.gt-panel.gt-history.gt-detail{height:calc(100dvh - 32px)}}

/* Task details: compact roster, spacious answer; no result-mode navigation. */
.gt-panel.gt-detail{width:min(1040px,calc(100vw - 40px))}
.gt-detail-heading,.gt-detail-heading>div,.gt-detail-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.gt-detail-heading>div{justify-content:flex-start;min-width:0}
.gt-panel .gt-detail-heading h3{font-size:20px}
.gt-detail-heading .gt-state{padding:4px 9px;background:#eee9fa;color:#7760aa;border-radius:6px}
.gt-detail-summary{margin:16px 0;padding-bottom:18px;border-bottom:1px solid #e7e2ef;font-size:13px;color:#706780}
.gt-detail-summary strong{font-variant-numeric:tabular-nums;color:#4d435e;margin-left:5px}
.gt-pending{margin-left:22px;color:#91869e}
.gt-task-material{margin:0 0 18px;color:#82718e;font-size:12px}
.gt-task-material>summary{cursor:pointer;padding:4px 0}
.gt-answer-layout{display:grid;grid-template-columns:clamp(160px,22%,210px) minmax(0,1fr);gap:26px;align-items:start}
.gt-student-list{display:flex;flex-direction:column;gap:7px;min-width:0;max-height:min(420px,48dvh);overflow-y:auto;scrollbar-width:thin;padding:2px}
.gt-student-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;box-sizing:border-box;text-align:left;padding:13px 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#63586e;font:inherit;font-size:13px;cursor:pointer}
.gt-student-option strong{font-weight:500;min-width:0;overflow-wrap:anywhere}
.gt-student-option>span{font-size:11px;color:#92859f;flex-shrink:0;max-width:50%;overflow-wrap:anywhere}
.gt-student-option:hover{background:#f1edf8}
.gt-student-option[aria-pressed=true]{background:#eee8fc;border-color:#ddd1f4;color:#6e51b3}
.gt-student-option:focus-visible{outline:2px solid #8c73d0;outline-offset:2px}
.gt-answer-detail{min-width:0;border-left:1px solid #e6e0ef;padding:10px 0 24px 26px;min-height:300px}
.gt-answer-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:22px}
.gt-answer-heading h4{margin:0;font-size:17px;font-weight:600;overflow-wrap:anywhere}
.gt-answer-heading .gt-small{margin:0}
.gt-shared-note,.gt-draft-note{font-size:12px;color:#927944;line-height:1.7}
.gt-answer-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.9;margin:0 0 20px;color:#4f455f}
.gt-answer-content img{max-width:100%;height:auto}
.gt-answer-content a{overflow-wrap:anywhere}
.gt-answer-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:20px}
.gt-answer-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;padding:16px;color:#9b90a7;text-align:center;font-size:13px}
.gt-answer-empty strong{font-weight:500;color:#786b87}.gt-answer-empty p{font-size:12px;line-height:1.7}
@media(max-width:600px){.gt-panel.gt-detail{width:calc(100vw - 24px)}.gt-answer-layout{grid-template-columns:minmax(0,1fr);gap:18px}.gt-student-list{flex-direction:row;flex-wrap:wrap;gap:6px;max-height:160px}.gt-student-option{width:auto;max-width:100%;padding:11px 12px;gap:10px}.gt-student-option>span{max-width:none}.gt-answer-detail{border-left:0;border-top:1px solid #e6e0ef;padding:20px 0;min-height:220px}.gt-pending{margin-left:12px}.gt-detail-summary{gap:10px}.gt-panel .gt-detail-heading h3{font-size:18px}}

/* Publication states remain visible together in a compact single-column list. */
.gt-panel:not(.gt-history):not(.gt-detail){inset:50% 0 auto;margin:0 auto;transform:translateY(-50%);height:auto;min-height:280px}
.gt-panel:not(.gt-history):not(.gt-detail) .gt-body{flex:0 1 auto;padding-top:18px;padding-bottom:24px}
.gt-panel .gt-live-toolbar{justify-content:space-between;gap:16px;margin-bottom:24px}
.gt-task-total{font-size:12px;color:#92899f}
.gt-publication-group+.gt-publication-group{margin-top:24px}
.gt-section-heading{display:flex;align-items:center;gap:9px;margin:0 0 10px}
.gt-panel .gt-section-heading h3{font-size:13px;font-weight:600;color:#655a76}
.gt-section-heading>span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;box-sizing:border-box;border-radius:6px;background:#eeeaf7;color:#8c7ca7;font-size:11px;font-variant-numeric:tabular-nums}
.gt-panel:not(.gt-history) .gt-list{grid-template-columns:minmax(0,1fr);gap:9px}
.gt-panel .gt-live-task{display:grid;grid-template-columns:36px minmax(0,1fr) 60px 82px 140px;align-items:center;gap:14px;padding:16px;border-color:#e9e5f0;border-radius:11px;min-height:82px;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}
.gt-panel .gt-live-task:hover{border-color:#d9cdec;box-shadow:0 3px 12px #40365a06}
.gt-task-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#f1edfa;color:#8b76bb}
.gt-task-icon svg{width:20px;height:20px}
.gt-task-copy{min-width:0}
.gt-panel .gt-task-copy h3{font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.gt-task-copy p{display:flex;flex-wrap:wrap;gap:5px 8px;margin:5px 0 0;font-size:11px;color:#988ba3;line-height:1.6;overflow-wrap:anywhere}
.gt-task-copy p>span:not(.gt-ended){color:#c8bed1}
.gt-task-copy .gt-ended{color:#978fa0}
.gt-publication-badge{justify-self:start;white-space:nowrap;border-radius:5px;padding:4px 7px;font-size:11px;line-height:1.4}
.gt-publication-badge.is-unpublished{color:#a07a42;background:#fbf3e5}
.gt-publication-badge.is-published{color:#5b927b;background:#edf6f1}
.gt-task-progress{display:flex;flex-direction:column;gap:3px;min-width:0;color:#a095ac;font-size:11px;font-variant-numeric:tabular-nums}
.gt-task-progress strong{color:#766586;font-size:14px;font-weight:500}
.gt-task-progress strong>span{color:#a89bb4;font-size:12px;font-weight:400}
.gt-task-progress small{font-size:10px;color:#a095ac}
.gt-task-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.gt-task-actions .gt-button{padding:8px 10px;white-space:nowrap}
.gt-task-actions .gt-link{white-space:nowrap}
.gt-section-empty{margin:0;padding:16px 14px;font-size:12px;line-height:1.6;color:#a398ae;border:1px dashed #e5deed;border-radius:9px;text-align:center}
@media(max-width:700px){.gt-panel .gt-live-task{grid-template-columns:34px minmax(0,1fr) auto;gap:10px 12px;padding:14px}.gt-task-icon{width:34px;height:34px;grid-row:1/3;align-self:start}.gt-task-copy{grid-column:2;grid-row:1}.gt-publication-badge{grid-column:3;grid-row:1;justify-self:end}.gt-task-progress{grid-column:2;grid-row:2;flex-direction:row;align-items:baseline;gap:6px}.gt-task-actions{grid-column:3;grid-row:2;gap:10px}.gt-panel .gt-task-copy h3{font-size:14px}.gt-task-actions .gt-button{padding:7px 9px}}
@media(max-width:400px){.gt-panel .gt-live-task{grid-template-columns:28px minmax(0,1fr) auto;gap:8px}.gt-task-icon{width:28px;height:30px}.gt-task-icon svg{width:18px;height:18px}.gt-task-copy{grid-column:2/4;padding-right:62px}.gt-publication-badge{align-self:start}.gt-task-actions{grid-column:2/4;grid-row:3;justify-content:flex-end}.gt-task-progress{grid-column:2/4}.gt-panel .gt-live-toolbar .gt-primary{padding:9px 12px;font-size:13px}}

/* Compact classroom task overview; answer details keep their own layout. */
.gt-panel:not(.gt-history):not(.gt-detail){inset:50% 0 auto;margin:0 auto;transform:translateY(-50%);height:auto;max-height:calc(100dvh - 48px)}
.gt-panel:not(.gt-history):not(.gt-detail) .gt-body{flex:0 1 auto;padding:18px 24px 24px}
.gt-panel .gt-publication-group[hidden]{display:none}
.gt-panel .gt-publication-group+.gt-publication-group{margin-top:20px}
.gt-panel .gt-publication-group[hidden]+.gt-publication-group{margin-top:0}
.gt-panel .gt-live-toolbar{margin-bottom:18px}
.gt-panel .gt-live-task{grid-template-columns:36px minmax(0,1fr) 60px 72px 180px;gap:12px;min-height:84px;padding:14px 16px}
.gt-panel .gt-task-actions{flex-wrap:nowrap;gap:14px}
.gt-panel .gt-task-actions .gt-button{padding:8px 12px}
.gt-publication-badge.is-closed{color:#8b8396;background:#f1eff5}
@media(max-width:700px){
.gt-panel:not(.gt-history):not(.gt-detail){max-height:calc(100dvh - 32px)}
.gt-panel:not(.gt-history):not(.gt-detail) .gt-body{padding:16px}
.gt-panel .gt-live-task{grid-template-columns:34px minmax(0,1fr) auto;gap:10px 12px;padding:14px}
.gt-panel .gt-task-copy{grid-column:2;grid-row:1;padding-right:0}
.gt-panel .gt-task-progress{grid-column:2;grid-row:2}
.gt-panel .gt-task-actions{grid-column:2/4;grid-row:3;justify-content:flex-end;border-top:1px solid #f0edf5;padding-top:10px}
.gt-panel .gt-publication-badge{grid-column:3;grid-row:1}
}
.gt-list>[data-task-empty][hidden]{display:none}

/* Shared task dialog controls and fixed publication/action columns. */
.gt-panel .gt-toolbar .gt-button,
.gt-panel .gt-task-actions .gt-button,
.gt-panel .hw-task .ct-button {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  box-sizing:border-box;height:36px;min-height:36px;padding:0 12px;
  border-radius:8px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.3;
}
.gt-panel .gt-toolbar>.hw-actions { gap:8px;align-items:center; }
.gt-panel [data-refresh] { width:36px;min-width:36px;padding:0!important;flex:none; }
.gt-panel [data-refresh] svg { display:block;width:18px;height:18px;flex:none; }
.gt-panel .gt-icon-button { display:grid;place-items:center;width:36px;height:36px;padding:0;line-height:1; }
.gt-panel .hw-task { grid-template-columns:minmax(0,1fr) 72px 96px;gap:12px;min-height:84px;align-items:center; }
.gt-panel .hw-task>.hw-actions { grid-column:3;grid-row:1;justify-content:flex-end;flex-wrap:nowrap;margin:0;padding:0;border:0; }
.gt-panel .hw-task .ct-button { width:96px;min-width:96px;white-space:nowrap; }
.gt-panel .hw-task>.gt-publication-badge,
.gt-panel .hw-task>.hw-state { grid-column:2;grid-row:1;justify-self:center; }
.gt-panel .gt-publication-badge,
.gt-panel .hw-state { display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;min-height:26px;max-width:72px;padding:4px 8px;border-radius:7px;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;text-align:center; }
@media(max-width:520px) {
  .gt-panel .hw-task { grid-template-columns:minmax(0,1fr) 72px 96px;gap:10px; }
  .gt-panel .hw-task>div:first-child { grid-column:1 / -1;grid-row:1; }
  .gt-panel .hw-task>.gt-publication-badge,.gt-panel .hw-task>.hw-state { grid-row:2; }
  .gt-panel .hw-task>.hw-actions { grid-row:2; }
  .gt-panel .gt-toolbar>.hw-actions { width:100%;justify-content:flex-end; }
}
.gt-panel .hw-state{white-space:normal}.gt-panel .gt-primary,.gt-panel .hw-task .ct-primary{background:#6c5dd3;border:1px solid #6c5dd3;color:#fff}
.gt-panel .hw-task .ct-button:not(.ct-primary){border:1px solid #ded8ee;background:#fff;color:#66577d;box-shadow:none}
.gt-panel .hw-task .ct-button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* External and canvas/link tasks share the same overview columns. */
.gt-panel .gt-list>.hw-tasks>.hw-task{grid-template-columns:36px minmax(0,1fr) 60px 72px 180px;gap:12px;min-height:84px;padding:14px 16px;box-sizing:border-box}
.gt-panel .hw-task>.hw-task-icon{display:grid;grid-column:1;grid-row:1}
.gt-panel .hw-task>.hw-task-copy{grid-column:2;grid-row:1;min-width:0}
.gt-panel .hw-task-copy strong{font-size:14px;font-weight:600;line-height:1.5}
.gt-panel .hw-task-copy small{font-size:11px;line-height:1.6;margin-top:5px;color:#988ba3}
.gt-panel .hw-task>.gt-publication-badge,.gt-panel .hw-task>.hw-state{grid-column:3;grid-row:1}
.gt-panel .hw-task>.hw-task-progress{display:flex;grid-column:4;grid-row:1}
.gt-panel .hw-task>.hw-actions{grid-column:5;grid-row:1}
@media(max-width:700px){
 .gt-panel .gt-list>.hw-tasks>.hw-task{grid-template-columns:34px minmax(0,1fr) auto;gap:10px 12px;padding:14px}
 .gt-panel .hw-task>.hw-task-copy{grid-column:2;grid-row:1}
 .gt-panel .hw-task>.gt-publication-badge,.gt-panel .hw-task>.hw-state{grid-column:3;grid-row:1}
 .gt-panel .hw-task>.hw-task-progress{grid-column:2;grid-row:2}
 .gt-panel .hw-task>.hw-actions{grid-column:2/4;grid-row:3;border-top:1px solid #f0edf5;padding-top:10px}
}

.gt-panel .gt-task-actions .gt-button{min-width:96px}
