.te-core{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.te-core>label:has(textarea),.te-core>.te-title{grid-column:1/-1}.te-core textarea{min-height:64px;max-height:150px;resize:vertical}.te-core .te-title input{font-weight:600}.te-extra{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.te-extra>summary{cursor:pointer;font-weight:600;padding:8px 0}.te-state{padding:10px 12px;background:#eef3f8;border-radius:6px;line-height:1.45;white-space:pre-line}.te-state small{display:block;color:var(--muted)}.te-state[data-state=saved]{background:#eaf5ee;color:#216b4b}.te-state[data-state=error],.te-state[data-state=conflict],.te-state[data-state=session],.te-state[data-state=uncertain]{background:#fff2e5;color:#794913}.te-state[data-state=saving]{background:#e7effc;color:#24548c}.te-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.te-conflict{border:1px solid #d2a169;padding:14px;border-radius:6px;margin:12px 0}.te-conflict table{font-size:.84rem;table-layout:fixed;min-width:600px}.te-conflict td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.te-auth{border:1px solid var(--line);padding:14px;border-radius:6px;margin-top:12px}.te-auth label{margin:8px 0}.te-auth[hidden],.te-conflict[hidden]{display:none}.te-core fieldset{min-width:0}#task-form>.modal-footer{position:sticky;bottom:0;background:white;z-index:3}.te-local-note{font-size:.76rem;color:var(--muted);margin:8px 0}.te-confirm-fields{padding:10px;background:#fff7ea}@media(max-width:580px){.te-core{gap:10px}.te-core textarea{min-height:56px}.te-core label{font-size:.85rem}.te-state{font-size:.85rem}#task-form>.modal-footer{flex-wrap:wrap}}

.te-reference-more{font-size:.76rem;color:var(--muted)}.te-reference-more>summary{cursor:pointer;margin:3px 0}.te-reference-more[open]{display:grid;gap:6px}.te-core .reference-note:empty{display:none}
