body.frost-dispatch.sheet-center .task-return-trigger{flex:none;min-height:28px;padding:4px 9px;border:1px solid var(--line,#c8b89c);border-radius:4px;background:var(--brand-soft,#eee4d2);color:var(--brand,#654322);font-size:12px;font-weight:400;white-space:nowrap}
body.frost-dispatch.sheet-center .task-return-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--line,#c8b89c);border-radius:10px;background:var(--panel,#fffaf2);color:var(--text,#2f281f);box-shadow:0 18px 60px #35281333}
body.frost-dispatch.sheet-center .task-return-dialog[open]{display:flex;flex-direction:column}
body.frost-dispatch.sheet-center .task-return-dialog::backdrop{background:#241b164d}
body.frost-dispatch.sheet-center .task-return-heading{display:flex;align-items:center;gap:10px;flex:none;padding:11px 16px;border-bottom:1px solid var(--line,#c8b89c);background:var(--brand-soft,#eee4d2)}
body.frost-dispatch.sheet-center .task-return-heading h2{margin:0;font-size:17px}
body.frost-dispatch.sheet-center .task-return-close{margin-left:auto;width:32px;min-height:32px;padding:0;border:0;background:transparent;color:inherit;font-size:22px}
body.frost-dispatch.sheet-center .task-return-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 16px}
body.frost-dispatch.sheet-center .task-return-label{display:block;margin-bottom:7px;font-size:13px}
body.frost-dispatch.sheet-center .task-return-body textarea{box-sizing:border-box;width:100%;min-height:120px;max-height:32vh;padding:10px;border:1px solid var(--line,#c8b89c);border-radius:5px;background:#fff!important;color:#2f281f!important;font-size:14px!important;line-height:1.6;resize:vertical;white-space:pre-wrap}
body.frost-dispatch.sheet-center .task-return-status{margin:9px 0;font-size:12px;line-height:1.6;color:var(--muted,#75694e)}
body.frost-dispatch.sheet-center .task-return-status.is-error{color:#a13527}
body.frost-dispatch.sheet-center .task-return-match{margin:9px 0;font-size:13px;overflow-wrap:anywhere}
body.frost-dispatch.sheet-center .task-return-choice{display:block;font-size:13px}
body.frost-dispatch.sheet-center .task-return-choice select{display:block;width:100%;margin-top:6px;min-height:36px}
body.frost-dispatch.sheet-center .task-return-changes{display:grid;gap:6px}
body.frost-dispatch.sheet-center .task-return-change{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(0,1.4fr);align-items:start;gap:10px;padding:8px;border-radius:5px;background:var(--brand-soft,#eee4d2);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
body.frost-dispatch.sheet-center .task-return-field{display:flex;align-items:center;gap:6px}
body.frost-dispatch.sheet-center .task-return-field input{flex:none;width:16px;height:16px;margin:0;accent-color:var(--brand,#654322)}
body.frost-dispatch.sheet-center .task-return-before{color:#7c705f;white-space:pre-wrap}
body.frost-dispatch.sheet-center .task-return-before::before{content:"原：";font-weight:400}
body.frost-dispatch.sheet-center .task-return-after{color:#2f281f;white-space:pre-wrap}
body.frost-dispatch.sheet-center .task-return-after::before{content:"回传：";font-weight:400}
body.frost-dispatch.sheet-center .task-return-footer{display:flex;justify-content:flex-end;flex:none;gap:8px;padding:10px 16px;border-top:1px solid var(--line,#c8b89c)}
body.frost-dispatch.sheet-center .task-return-footer button{min-height:36px;padding:7px 14px;border:1px solid var(--line,#c8b89c);border-radius:5px;background:transparent;color:inherit;font-size:13px;font-weight:400}
body.frost-dispatch.sheet-center .task-return-footer .task-return-save{border-color:var(--brand,#654322);background:var(--brand,#654322);color:#fff}
body.frost-dispatch.sheet-center .task-return-footer button:disabled{opacity:.5;cursor:not-allowed}
body.frost-dispatch.sheet-center .task-return-dialog :is(button,textarea,select):focus-visible{outline:2px solid var(--brand,#654322);outline-offset:2px}
@media(max-width:600px){
  body.frost-dispatch.sheet-center .task-return-body{padding:10px 12px}
  body.frost-dispatch.sheet-center .task-return-change{grid-template-columns:1fr 1fr;gap:5px}
  body.frost-dispatch.sheet-center .task-return-field{grid-column:1/-1}
  body.frost-dispatch.sheet-center .task-return-footer button{flex:1;min-height:40px}
  body.frost-dispatch.sheet-center .task-share-footer{flex-wrap:wrap}
}
