/* Same task structure in both palettes; only existing semantic tokens vary. */
.t76-shell{display:grid;gap:18px;min-width:0;color:var(--ui-text)}
.t76-shell [hidden]{display:none!important}
.t76-pair>.t76-en{display:none}.t76-pair{display:inline-block}
html[data-language="en"] .t76-pair>.t76-zh{display:none}html[data-language="en"] .t76-pair>.t76-en{display:inline}
html:is([data-language="both"],[data-language="zh-en"],[data-language="bilingual"]) .t76-pair>span{display:block}
.t76-en{font-size:.9em}.t76-toolbar,.t76-list-heading,.t76-editor-heading,.t76-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.t76-toolbar{color:var(--ui-muted);border-bottom:1px solid var(--ui-border);padding-bottom:12px}.t76-toolbar>span{font-size:.9rem}
.t76-list-heading h2{margin:0 0 6px;font-size:1.3rem}.t76-list-heading p{margin:0;color:var(--ui-muted)}
.t76-create-menu{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px;border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-ai-bg)}
.t76-create-menu label{display:grid;gap:5px;min-width:220px;flex:1;max-width:460px}.t76-create-menu select{width:100%}
.t76-shell .v7-row{padding:16px 0;min-width:0;gap:14px;border-bottom:1px solid var(--ui-border)}.t76-shell .v7-row strong{display:block;overflow-wrap:anywhere}.t76-shell .v7-row small{display:block;color:var(--ui-muted);font-size:.875rem;margin-top:6px}
.t76-shell .v7-row>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.t76-shell button{min-height:44px}
.t76-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,300px);gap:18px;align-items:start}.t76-editor-grid>.t76-editor-main,.t76-editor-grid>aside{min-width:0}.t76-editor-grid>aside{position:sticky;top:16px;display:grid;gap:14px}
.t76-editor-grid .v7-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.t76-shell .v7-full{grid-column:1/-1;min-width:0}.t76-shell .v7-trip-line{border:1px solid var(--ui-border);background:var(--ui-surface);padding:16px;border-radius:10px;margin:10px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.t76-shell .v7-trip-line>label,.t76-shell .v7-trip-line>textarea{min-width:0}
.t76-shell .v7-day{background:var(--ui-display-bg);padding:16px;border:1px solid var(--ui-border);border-radius:12px;margin:14px 0}.t76-shell .v7-day h3{margin:0 0 12px!important}
.t76-shell .t76-danger{color:var(--ui-danger)!important;border-color:var(--ui-danger)!important;grid-column:1/-1;justify-self:start;margin-top:8px}
.t76-shell .ui73-form-actions{padding-top:16px;border-top:1px solid var(--ui-border);margin-top:18px}.t76-shell [data-v7-action="publish"]{margin-top:10px}
.t76-shell form[data-v7-form="document"] button[type="submit"]{background:var(--ui-surface)!important;color:var(--ui-info)!important;border:1px solid var(--ui-control-border)!important}
.t76-context-note,.t76-note{padding:14px 16px;background:var(--ui-display-bg);border:1px solid var(--ui-border);border-radius:12px;color:var(--ui-muted);font-size:.875rem;line-height:1.65}
.t76-shell .t76-legacy{border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);padding:12px 16px}.t76-legacy>summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;font-weight:600}
.t76-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.t76-facts>div{background:var(--ui-display-bg);padding:14px;border-radius:10px}.t76-facts dt{font-size:.875rem;color:var(--ui-muted)}.t76-facts dd{margin:6px 0 0;overflow-wrap:anywhere;font-weight:600}
.t76-table-wrap{overflow:auto;max-width:100%;min-width:0}.t76-shell table{border-collapse:collapse;width:100%;font-size:.9rem}.t76-shell th,.t76-shell td{padding:12px;text-align:start;border-bottom:1px solid var(--ui-border);vertical-align:top;overflow-wrap:anywhere}.t76-shell th{background:var(--ui-display-bg);font-weight:600}.t76-candidates>tbody>tr>th{min-width:110px}.t76-candidates>tbody>tr>td:last-child{min-width:135px}.t76-lines-preview{min-width:430px}.t76-review-table{min-width:560px}.t76-review>.t76-actions{justify-content:flex-end;margin-top:20px}
.t76-file-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;grid-column:1/-1;padding:12px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-display-bg)}.t76-file-status>span{overflow-wrap:anywhere;max-width:100%}.t76-file-status>small{color:var(--ui-muted);font-size:.875rem}
.t76-empty{padding:24px;border-radius:12px;background:var(--ui-display-bg);color:var(--ui-muted)}
.t76-resume{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.t76-resume p{margin:5px 0 0;overflow-wrap:anywhere}
.t76-stale{padding:16px;border:1px solid var(--ui-wait-fg);border-radius:12px;background:var(--ui-wait-bg);color:var(--ui-wait-fg)}.t76-stale>p{margin:8px 0 14px}.t76-stale .t76-actions{justify-content:flex-start}
@media(max-width:1100px){.t76-editor-grid{grid-template-columns:1fr}.t76-editor-grid>aside{position:static}.t76-facts{grid-template-columns:1fr}}
@media(max-width:600px){.t76-editor-grid .v7-fields,.t76-shell .v7-trip-line{grid-template-columns:1fr}.t76-create-menu{display:grid}.t76-create-menu label{min-width:0}.t76-create-menu>*{max-width:100%;width:100%}.t76-toolbar{align-items:stretch}.t76-toolbar>button{width:100%}.t76-shell .v7-row{display:block}.t76-shell .v7-row>div:last-child{margin-top:12px}.t76-shell .v7-row>div:last-child button{flex:1}.t76-shell .t76-actions{display:grid;grid-template-columns:1fr;width:100%}.t76-shell .t76-actions button{width:100%}.t76-shell .v7-day{padding:12px}.t76-editor-heading>p{margin:0}.t76-table-wrap{margin-right:-2px}}
